Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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:59:03.590333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_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
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086832","1402086901","1402086795","1402086866","1402086749","1402086973"],"photo_ids_order":["1402086749","1402086795","1402086832","1402086866","1402086901","1402086973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66ad67b56dec8c7638c56d286e574a58.jpg","text":"TemporaryFile(/tmp/multipartBody8744879536070906432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308404990,"filename":"image_30122025_23_10_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/2/d7176f4ead9fff6595ad7dbba8a6804a.jpg","text":"TemporaryFile(/tmp/multipartBody3008984329208764399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308404990,"filename":"image_30122025_23_10_24_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/2/8fb1e7bef802151b80ecb12ae490fb72.jpg","text":"TemporaryFile(/tmp/multipartBody1628201994794418934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308404990,"filename":"image_30122025_23_09_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/2/8c84b0d47c8051570553ec7da67476cf.jpg","text":"TemporaryFile(/tmp/multipartBody3712534247667743676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308404990,"filename":"image_30122025_23_10_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/2/ae5e9e92be98092b0734cf35fd69ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody3437047037902982167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308404990,"filename":"image_30122025_23_09_44_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/2/b073eadf939174be8399e0864db0b0cd.jpg","text":"TemporaryFile(/tmp/multipartBody6318256846192150763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308404990,"filename":"image_30122025_23_10_34_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086832","file1":"1402086795","file0":"1402086749","file4":"1402086901","file5":"1402086973","file3":"1402086866"},"map_files_photo_id_array":[{"photo_id":"1402086973","filename":"file5"},{"photo_id":"1402086832","filename":"file2"},{"photo_id":"1402086901","filename":"file4"},{"photo_id":"1402086795","filename":"file1"},{"photo_id":"1402086749","filename":"file0"},{"photo_id":"1402086866","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1402086832":["hashtag1","hashtag2"]},{"1402086901":["hashtag1","hashtag2"]},{"1402086795":["hashtag1","hashtag2"]},{"1402086866":["hashtag1","hashtag2"]},{"1402086749":["hashtag1","hashtag2"]},{"1402086973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1402086832, 1402086901, 1402086795, 1402086866, 1402086749, 1402086973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1042160987854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --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:59:42.479776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/28/image_04112025_20_28_10_1561.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_12_1637.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_13_1655.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_15_1717.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_19_1887.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_22_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/28/image_04112025_20_28_10_1561.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_12_1637.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_13_1655.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_15_1717.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_19_1887.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_22_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":["1402087266","1402087190","1402087232","1402087354","1402087156","1402087300"],"photo_ids_order":["1402087156","1402087190","1402087232","1402087266","1402087300","1402087354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ad0971b1b4bdb835e79775c285178bcf.jpg","text":"TemporaryFile(/tmp/multipartBody64633662853113337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308444193,"filename":"image_04112025_20_28_15_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/2/dba3b2d72d0f996c019c50327a53c540.jpg","text":"TemporaryFile(/tmp/multipartBody1790625054360776479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308444193,"filename":"image_04112025_20_28_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/2/535bd7bd7561d461f2ac0fe24852d7da.jpg","text":"TemporaryFile(/tmp/multipartBody5700558244429371552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308444193,"filename":"image_04112025_20_28_13_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/2/9a31b9c17eff27b0a6b7b357956195e0.jpg","text":"TemporaryFile(/tmp/multipartBody2968507759365158923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308444193,"filename":"image_04112025_20_28_22_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/2/9d66987d40f1cd821dda7479684af6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6935893127722154535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308444193,"filename":"image_04112025_20_28_10_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/2/abf50995b949cdbdd9a7819caa2cef2e.jpg","text":"TemporaryFile(/tmp/multipartBody6875197404101343205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308444193,"filename":"image_04112025_20_28_19_1887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087232","file1":"1402087190","file0":"1402087156","file4":"1402087300","file5":"1402087354","file3":"1402087266"},"map_files_photo_id_array":[{"photo_id":"1402087354","filename":"file5"},{"photo_id":"1402087232","filename":"file2"},{"photo_id":"1402087300","filename":"file4"},{"photo_id":"1402087190","filename":"file1"},{"photo_id":"1402087156","filename":"file0"},{"photo_id":"1402087266","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402087266":["hashtag1","hashtag2"]},{"1402087190":["hashtag1","hashtag2"]},{"1402087232":["hashtag1","hashtag2"]},{"1402087354":["hashtag1","hashtag2"]},{"1402087156":["hashtag1","hashtag2"]},{"1402087300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402087266, 1402087190, 1402087232, 1402087354, 1402087156, 1402087300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31666040420532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:00:22.739805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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_02012026
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29874590, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1767308483000}
4219
4300614
4219
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/59/image_02012026_00_00_05_10677.jpg', '/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_15_9582.jpg', '/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_25_10007.jpg', '/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_34_9788.jpg', '/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/01012026/23/59/image_02012026_00_00_05_10677.jpg
/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_15_9582.jpg
/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_25_10007.jpg
/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_34_9788.jpg
/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_45_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":["1402087714","1402087620","1402087679","1402087727","1402087660"],"photo_ids_order":["1402087620","1402087660","1402087679","1402087714","1402087727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6783854c851a5968fd14d29000ebfd6.jpg","text":"TemporaryFile(/tmp/multipartBody6325805718616908825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308484269,"filename":"image_02012026_00_00_34_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/2/35eb1f227b2c53eab21f24a262bedfc0.jpg","text":"TemporaryFile(/tmp/multipartBody4704312853685773679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308484269,"filename":"image_02012026_00_00_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/2/8e0dba64f6b1e5b5c5ab41effdce6580.jpg","text":"TemporaryFile(/tmp/multipartBody7334813439122567701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308484269,"filename":"image_02012026_00_00_25_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f1b151f2845596f5fb211d8c81b739a4.jpg","text":"TemporaryFile(/tmp/multipartBody6025130311046933512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308484269,"filename":"image_02012026_00_00_45_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/2/30127f0dbbe5b13f9fb86afedc0bcc33.jpg","text":"TemporaryFile(/tmp/multipartBody4170351128950170207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308484269,"filename":"image_02012026_00_00_15_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087679","file1":"1402087660","file0":"1402087620","file4":"1402087727","file3":"1402087714"},"map_files_photo_id_array":[{"photo_id":"1402087679","filename":"file2"},{"photo_id":"1402087727","filename":"file4"},{"photo_id":"1402087660","filename":"file1"},{"photo_id":"1402087620","filename":"file0"},{"photo_id":"1402087714","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087714":["hashtag1","hashtag2"]},{"1402087620":["hashtag1","hashtag2"]},{"1402087679":["hashtag1","hashtag2"]},{"1402087727":["hashtag1","hashtag2"]},{"1402087660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087714, 1402087620, 1402087679, 1402087727, 1402087660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.11623573303223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:01:02.656810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_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/10/image_30122025_23_10_44_10523.jpg', '/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_54_9677.jpg', '/home/pi/Desktop/images/30122025/23/10/image_30122025_23_11_05_10643.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_14_9721.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_24_9547.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_35_10616.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/10/image_30122025_23_10_44_10523.jpg
/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_54_9677.jpg
/home/pi/Desktop/images/30122025/23/10/image_30122025_23_11_05_10643.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_14_9721.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_24_9547.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_35_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087884","1402087887","1402087889","1402087883","1402087885","1402087855"],"photo_ids_order":["1402087855","1402087883","1402087884","1402087885","1402087887","1402087889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8256b9afab394f3b49fc13ef80228ebf.jpg","text":"TemporaryFile(/tmp/multipartBody9029559577049718936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308523739,"filename":"image_30122025_23_11_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ece292c9dd7019d92bc3a17f1ff87c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3171981083020282855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308523739,"filename":"image_30122025_23_11_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/2/66bf1a2b000c103ca3f19bc9b3cee25a.jpg","text":"TemporaryFile(/tmp/multipartBody2764436404219542694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308523739,"filename":"image_30122025_23_11_35_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/2/5273cbbb3e445d4343c4fe3ca0698c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2928906582822453619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308523739,"filename":"image_30122025_23_10_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/2/e21e8811d990949ed72f84a7a39f7b03.jpg","text":"TemporaryFile(/tmp/multipartBody7632401834102536288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308523739,"filename":"image_30122025_23_11_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/2/401e2a46e068ee127332bd96fe05c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody7491930861756029719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308523739,"filename":"image_30122025_23_10_44_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087884","file1":"1402087883","file0":"1402087855","file4":"1402087887","file5":"1402087889","file3":"1402087885"},"map_files_photo_id_array":[{"photo_id":"1402087889","filename":"file5"},{"photo_id":"1402087884","filename":"file2"},{"photo_id":"1402087887","filename":"file4"},{"photo_id":"1402087883","filename":"file1"},{"photo_id":"1402087855","filename":"file0"},{"photo_id":"1402087885","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1402087884":["hashtag1","hashtag2"]},{"1402087887":["hashtag1","hashtag2"]},{"1402087889":["hashtag1","hashtag2"]},{"1402087883":["hashtag1","hashtag2"]},{"1402087885":["hashtag1","hashtag2"]},{"1402087855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1402087884, 1402087887, 1402087889, 1402087883, 1402087885, 1402087855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50790023803711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:01:42.060017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/28/image_04112025_20_28_26_1651.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_27_1751.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_29_1780.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_35_1566.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_37_1630.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_40_1750.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/28/image_04112025_20_28_26_1651.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_27_1751.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_29_1780.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_35_1566.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_37_1630.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_40_1750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087896","1402087900","1402087895","1402087898","1402087897","1402087894"],"photo_ids_order":["1402087894","1402087895","1402087896","1402087897","1402087898","1402087900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3539245a59db62887b35c2ecbf15dc8e.jpg","text":"TemporaryFile(/tmp/multipartBody3721031416529775752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308563920,"filename":"image_04112025_20_28_29_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/2/3d8dcb787d9654d61f43f78f812bfe13.jpg","text":"TemporaryFile(/tmp/multipartBody2305724505268591126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308563920,"filename":"image_04112025_20_28_40_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/2/69e39a03ee7107e129fa4707d6b56b16.jpg","text":"TemporaryFile(/tmp/multipartBody4169347793571797280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308563920,"filename":"image_04112025_20_28_27_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/2/b39423b9be0ec9f60eb69394e6d0b1eb.jpg","text":"TemporaryFile(/tmp/multipartBody6073033719813326628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308563920,"filename":"image_04112025_20_28_37_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/2/c6d1f32f586b2a457f5a1d634516f331.jpg","text":"TemporaryFile(/tmp/multipartBody738137621988856634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308563920,"filename":"image_04112025_20_28_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/2/fd952c1f246952b8332edf78db9c7504.jpg","text":"TemporaryFile(/tmp/multipartBody4009268556347350920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308563920,"filename":"image_04112025_20_28_26_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087896","file1":"1402087895","file0":"1402087894","file4":"1402087898","file5":"1402087900","file3":"1402087897"},"map_files_photo_id_array":[{"photo_id":"1402087900","filename":"file5"},{"photo_id":"1402087896","filename":"file2"},{"photo_id":"1402087898","filename":"file4"},{"photo_id":"1402087895","filename":"file1"},{"photo_id":"1402087894","filename":"file0"},{"photo_id":"1402087897","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402087896":["hashtag1","hashtag2"]},{"1402087900":["hashtag1","hashtag2"]},{"1402087895":["hashtag1","hashtag2"]},{"1402087898":["hashtag1","hashtag2"]},{"1402087897":["hashtag1","hashtag2"]},{"1402087894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402087896, 1402087900, 1402087895, 1402087898, 1402087897, 1402087894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.627984046936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:02:22.382200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_55_9616.jpg', '/home/pi/Desktop/images/02012026/00/00/image_02012026_00_01_05_9838.jpg', '/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_15_10626.jpg', '/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_25_9638.jpg', '/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_34_9608.jpg', '/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_45_10904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/00/image_02012026_00_00_55_9616.jpg
/home/pi/Desktop/images/02012026/00/00/image_02012026_00_01_05_9838.jpg
/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_15_10626.jpg
/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_25_9638.jpg
/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_34_9608.jpg
/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_45_10904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087909","1402087911","1402087905","1402087913","1402087907","1402087903"],"photo_ids_order":["1402087903","1402087905","1402087907","1402087909","1402087911","1402087913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/27c692bc25697fddf282cad72ca87885.jpg","text":"TemporaryFile(/tmp/multipartBody7319479820948981160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308602981,"filename":"image_02012026_00_01_25_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/2/5e40ee77de4cbd961537f934abab9ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5188198829452971733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308602981,"filename":"image_02012026_00_01_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/2/60aef866d83fd7a9dc6496a682d91cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2021133270871692785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308602981,"filename":"image_02012026_00_01_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/2/f2c2e0695d7b54f609d276924396e271.jpg","text":"TemporaryFile(/tmp/multipartBody2412979346566274379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308602981,"filename":"image_02012026_00_01_45_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/2/48c5876fadd61e7639478f87512607d5.jpg","text":"TemporaryFile(/tmp/multipartBody5175651948932252531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308602981,"filename":"image_02012026_00_01_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/2/c63c7293b998e0c2257478a24b21f21a.jpg","text":"TemporaryFile(/tmp/multipartBody1762623029989363991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308602981,"filename":"image_02012026_00_00_55_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087907","file1":"1402087905","file0":"1402087903","file4":"1402087911","file5":"1402087913","file3":"1402087909"},"map_files_photo_id_array":[{"photo_id":"1402087913","filename":"file5"},{"photo_id":"1402087907","filename":"file2"},{"photo_id":"1402087911","filename":"file4"},{"photo_id":"1402087905","filename":"file1"},{"photo_id":"1402087903","filename":"file0"},{"photo_id":"1402087909","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087909":["hashtag1","hashtag2"]},{"1402087911":["hashtag1","hashtag2"]},{"1402087905":["hashtag1","hashtag2"]},{"1402087913":["hashtag1","hashtag2"]},{"1402087907":["hashtag1","hashtag2"]},{"1402087903":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087909, 1402087911, 1402087905, 1402087913, 1402087907, 1402087903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.558873891830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:03:03.234415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_55_9605.jpg', '/home/pi/Desktop/images/02012026/00/01/image_02012026_00_02_04_9589.jpg', '/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_15_10595.jpg', '/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_35_10600.jpg', '/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_45_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/01/image_02012026_00_01_55_9605.jpg
/home/pi/Desktop/images/02012026/00/01/image_02012026_00_02_04_9589.jpg
/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_15_10595.jpg
/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_35_10600.jpg
/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_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":["1402087914","1402087917","1402087916","1402087915","1402087918"],"photo_ids_order":["1402087914","1402087915","1402087916","1402087917","1402087918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9eefb6763fe294566dd163678e75b0b2.jpg","text":"TemporaryFile(/tmp/multipartBody877468086336759572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308643852,"filename":"image_02012026_00_01_55_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/2/3a01f1d3c094bba291e120e7aec3db1c.jpg","text":"TemporaryFile(/tmp/multipartBody6841872096376592589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308643852,"filename":"image_02012026_00_02_35_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/2/20ee2ecafbbc34a0bfcb035168ba3423.jpg","text":"TemporaryFile(/tmp/multipartBody2316414607315611607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308643852,"filename":"image_02012026_00_02_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/2/95783f88a93a4aca112457c351639c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5020578322806671095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308643852,"filename":"image_02012026_00_02_04_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/2/bc572734c78a9f16c2b2824ae3ba2804.jpg","text":"TemporaryFile(/tmp/multipartBody3659704742839384628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308643852,"filename":"image_02012026_00_02_45_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087916","file1":"1402087915","file0":"1402087914","file4":"1402087918","file3":"1402087917"},"map_files_photo_id_array":[{"photo_id":"1402087916","filename":"file2"},{"photo_id":"1402087918","filename":"file4"},{"photo_id":"1402087915","filename":"file1"},{"photo_id":"1402087914","filename":"file0"},{"photo_id":"1402087917","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087914":["hashtag1","hashtag2"]},{"1402087917":["hashtag1","hashtag2"]},{"1402087916":["hashtag1","hashtag2"]},{"1402087915":["hashtag1","hashtag2"]},{"1402087918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087914, 1402087917, 1402087916, 1402087915, 1402087918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.466044425964355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:03:42.510134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/28/image_04112025_20_28_44_1771.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_46_1691.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_48_1644.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_49_1574.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_52_3045.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_54_1673.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/28/image_04112025_20_28_44_1771.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_46_1691.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_48_1644.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_49_1574.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_52_3045.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_54_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087927","1402087926","1402087929","1402087928","1402087930","1402087924"],"photo_ids_order":["1402087924","1402087926","1402087927","1402087928","1402087929","1402087930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d74348aac0d3a1390da29050593534f.jpg","text":"TemporaryFile(/tmp/multipartBody4030450372459261679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308684327,"filename":"image_04112025_20_28_48_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/2/c982214d85b5e633e134b161e2cbe85c.jpg","text":"TemporaryFile(/tmp/multipartBody136927054821553589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308684327,"filename":"image_04112025_20_28_46_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/2/db322c688484acb1ef1d2731b372905e.jpg","text":"TemporaryFile(/tmp/multipartBody1022103052572400208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308684327,"filename":"image_04112025_20_28_52_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/2/3f272fe86f25ccbdaeda32301a896c6f.jpg","text":"TemporaryFile(/tmp/multipartBody2338140584506447691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308684327,"filename":"image_04112025_20_28_49_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/2/dd112fdaaea7c115af27c8d4df835ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7441060230514082099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308684327,"filename":"image_04112025_20_28_54_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/2/65078a74be2a91071c32c5f3b698f06d.jpg","text":"TemporaryFile(/tmp/multipartBody1581134377641785814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308684327,"filename":"image_04112025_20_28_44_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087927","file1":"1402087926","file0":"1402087924","file4":"1402087929","file5":"1402087930","file3":"1402087928"},"map_files_photo_id_array":[{"photo_id":"1402087930","filename":"file5"},{"photo_id":"1402087927","filename":"file2"},{"photo_id":"1402087929","filename":"file4"},{"photo_id":"1402087926","filename":"file1"},{"photo_id":"1402087924","filename":"file0"},{"photo_id":"1402087928","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402087927":["hashtag1","hashtag2"]},{"1402087926":["hashtag1","hashtag2"]},{"1402087929":["hashtag1","hashtag2"]},{"1402087928":["hashtag1","hashtag2"]},{"1402087930":["hashtag1","hashtag2"]},{"1402087924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402087927, 1402087926, 1402087929, 1402087928, 1402087930, 1402087924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04334831237793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:04:22.748767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_55_9706.jpg', '/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_15_10634.jpg', '/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_25_9622.jpg', '/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_34_9587.jpg', '/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_45_10778.jpg', '/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_55_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/02/image_02012026_00_02_55_9706.jpg
/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_15_10634.jpg
/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_25_9622.jpg
/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_34_9587.jpg
/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_45_10778.jpg
/home/pi/Desktop/images/02012026/00/03/image_02012026_00_03_55_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":["1402087938","1402087932","1402087940","1402087934","1402087942","1402087936"],"photo_ids_order":["1402087932","1402087934","1402087936","1402087938","1402087940","1402087942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d802f5ad8abe2fecad365afd561160f.jpg","text":"TemporaryFile(/tmp/multipartBody7624691636423192755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308723345,"filename":"image_02012026_00_03_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/2/4a7bc4c41d4911e1e7129847d69f7913.jpg","text":"TemporaryFile(/tmp/multipartBody8846436471483444013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308723345,"filename":"image_02012026_00_02_55_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/2/65f1217643154ec546540a8bd08056a9.jpg","text":"TemporaryFile(/tmp/multipartBody7328752051213487923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308723345,"filename":"image_02012026_00_03_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/2/7e2ab3b257932d493976c62b440b9a80.jpg","text":"TemporaryFile(/tmp/multipartBody6495029826020906996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308723345,"filename":"image_02012026_00_03_15_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/2/6a62eab2511d93e3f8794f9d29975537.jpg","text":"TemporaryFile(/tmp/multipartBody3677845652127279522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308723345,"filename":"image_02012026_00_03_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/2/4e5559d7d24cbd65d4bc98b4e527b6bd.jpg","text":"TemporaryFile(/tmp/multipartBody2927289859258969579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308723345,"filename":"image_02012026_00_03_25_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087936","file1":"1402087934","file0":"1402087932","file4":"1402087940","file5":"1402087942","file3":"1402087938"},"map_files_photo_id_array":[{"photo_id":"1402087942","filename":"file5"},{"photo_id":"1402087936","filename":"file2"},{"photo_id":"1402087940","filename":"file4"},{"photo_id":"1402087934","filename":"file1"},{"photo_id":"1402087932","filename":"file0"},{"photo_id":"1402087938","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087938":["hashtag1","hashtag2"]},{"1402087932":["hashtag1","hashtag2"]},{"1402087940":["hashtag1","hashtag2"]},{"1402087934":["hashtag1","hashtag2"]},{"1402087942":["hashtag1","hashtag2"]},{"1402087936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087938, 1402087932, 1402087940, 1402087934, 1402087942, 1402087936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7557327747345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:05:02.634630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/03/image_02012026_00_04_05_9623.jpg', '/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_15_10716.jpg', '/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_25_9841.jpg', '/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_35_9694.jpg', '/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_44_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/03/image_02012026_00_04_05_9623.jpg
/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_15_10716.jpg
/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_25_9841.jpg
/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_35_9694.jpg
/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_44_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087944","1402087947","1402087943","1402087946","1402087945"],"photo_ids_order":["1402087943","1402087944","1402087945","1402087946","1402087947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/620ba2a36c7fec7b5f58ae979f9d2cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5537383633314579338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308763355,"filename":"image_02012026_00_04_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/2/d717b19e25c5f4c9b802abe0e2261616.jpg","text":"TemporaryFile(/tmp/multipartBody2301109309633414417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308763355,"filename":"image_02012026_00_04_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/2/975f7ccc0d498747fa4e7bd14842ace4.jpg","text":"TemporaryFile(/tmp/multipartBody6752401462785663123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308763355,"filename":"image_02012026_00_04_05_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/2/2e4596301f1617bf955f31d2ff997487.jpg","text":"TemporaryFile(/tmp/multipartBody2341350098974025707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308763355,"filename":"image_02012026_00_04_35_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/2/d20ff541ec214a465225f46a853e83fc.jpg","text":"TemporaryFile(/tmp/multipartBody4147493968181778611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308763355,"filename":"image_02012026_00_04_25_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087945","file1":"1402087944","file0":"1402087943","file4":"1402087947","file3":"1402087946"},"map_files_photo_id_array":[{"photo_id":"1402087945","filename":"file2"},{"photo_id":"1402087947","filename":"file4"},{"photo_id":"1402087944","filename":"file1"},{"photo_id":"1402087943","filename":"file0"},{"photo_id":"1402087946","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087944":["hashtag1","hashtag2"]},{"1402087947":["hashtag1","hashtag2"]},{"1402087943":["hashtag1","hashtag2"]},{"1402087946":["hashtag1","hashtag2"]},{"1402087945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087944, 1402087947, 1402087943, 1402087946, 1402087945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.95561909675598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:05:41.882429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/28/image_04112025_20_28_56_1621.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_29_00_1710.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_09_54847.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_11_1699.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_12_1719.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_14_2061.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/28/image_04112025_20_28_56_1621.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_29_00_1710.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_09_54847.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_11_1699.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_12_1719.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_14_2061.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087956","1402087959","1402087953","1402087961","1402087958","1402087957"],"photo_ids_order":["1402087953","1402087956","1402087957","1402087958","1402087959","1402087961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4f21cd60b456368bdd23e5cfaef95c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1401211895201010193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308803720,"filename":"image_04112025_20_29_00_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/2/703a529642e7a0d5c6829ea71a4f32a1.jpg","text":"TemporaryFile(/tmp/multipartBody8507614844063083655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308803720,"filename":"image_04112025_20_30_12_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/2/3c2112b0eb5fad6c5f550254d962c67e.jpg","text":"TemporaryFile(/tmp/multipartBody896382419626232823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308803720,"filename":"image_04112025_20_28_56_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/2/3bac7e988b5f368c56c018b7485dec1a.jpg","text":"TemporaryFile(/tmp/multipartBody8627130585084375712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308803720,"filename":"image_04112025_20_30_14_2061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd8c8d79dc95ae3f0e39c3de580d3409.jpg","text":"TemporaryFile(/tmp/multipartBody3913031326251323710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308803720,"filename":"image_04112025_20_30_11_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/2/fe4d0b658a619197bfdbf9b0944738db.jpg","text":"TemporaryFile(/tmp/multipartBody973351921890726521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308803720,"filename":"image_04112025_20_30_09_54847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087957","file1":"1402087956","file0":"1402087953","file4":"1402087959","file5":"1402087961","file3":"1402087958"},"map_files_photo_id_array":[{"photo_id":"1402087961","filename":"file5"},{"photo_id":"1402087957","filename":"file2"},{"photo_id":"1402087959","filename":"file4"},{"photo_id":"1402087956","filename":"file1"},{"photo_id":"1402087953","filename":"file0"},{"photo_id":"1402087958","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402087956":["hashtag1","hashtag2"]},{"1402087959":["hashtag1","hashtag2"]},{"1402087953":["hashtag1","hashtag2"]},{"1402087961":["hashtag1","hashtag2"]},{"1402087958":["hashtag1","hashtag2"]},{"1402087957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402087956, 1402087959, 1402087953, 1402087961, 1402087958, 1402087957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04440450668335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:06:22.031619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_55_10658.jpg', '/home/pi/Desktop/images/02012026/00/04/image_02012026_00_05_05_9705.jpg', '/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_15_9856.jpg', '/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_24_9751.jpg', '/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_45_9667.jpg', '/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_55_10523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/04/image_02012026_00_04_55_10658.jpg
/home/pi/Desktop/images/02012026/00/04/image_02012026_00_05_05_9705.jpg
/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_15_9856.jpg
/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_24_9751.jpg
/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_45_9667.jpg
/home/pi/Desktop/images/02012026/00/05/image_02012026_00_05_55_10523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087962","1402087965","1402087973","1402087967","1402087970","1402087963"],"photo_ids_order":["1402087962","1402087963","1402087965","1402087967","1402087970","1402087973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b7ca11f308abb02e254b3e6c3b6907f.jpg","text":"TemporaryFile(/tmp/multipartBody8578730875207950056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308842668,"filename":"image_02012026_00_04_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/2/f38dbda2fd5fab7e44e6c7147b6236f8.jpg","text":"TemporaryFile(/tmp/multipartBody7145422324672399519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308842668,"filename":"image_02012026_00_05_15_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/2/de8c4483f618e7aeb3d079ab0309756f.jpg","text":"TemporaryFile(/tmp/multipartBody3271509989379085157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308842668,"filename":"image_02012026_00_05_55_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/2/f8c1ba68f4fac6b9be105cd60fe06d30.jpg","text":"TemporaryFile(/tmp/multipartBody2762717899191962881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308842668,"filename":"image_02012026_00_05_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/2/f3ad36b33eef38d39c98327a3556b960.jpg","text":"TemporaryFile(/tmp/multipartBody2572650119740005542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308842668,"filename":"image_02012026_00_05_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/153d77b164049df835bf3834c66fe692.jpg","text":"TemporaryFile(/tmp/multipartBody1322618498998645029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308842668,"filename":"image_02012026_00_05_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087965","file1":"1402087963","file0":"1402087962","file4":"1402087970","file5":"1402087973","file3":"1402087967"},"map_files_photo_id_array":[{"photo_id":"1402087973","filename":"file5"},{"photo_id":"1402087965","filename":"file2"},{"photo_id":"1402087970","filename":"file4"},{"photo_id":"1402087963","filename":"file1"},{"photo_id":"1402087962","filename":"file0"},{"photo_id":"1402087967","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087962":["hashtag1","hashtag2"]},{"1402087965":["hashtag1","hashtag2"]},{"1402087973":["hashtag1","hashtag2"]},{"1402087967":["hashtag1","hashtag2"]},{"1402087970":["hashtag1","hashtag2"]},{"1402087963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087962, 1402087965, 1402087973, 1402087967, 1402087970, 1402087963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.701014041900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:07:02.821419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/05/image_02012026_00_06_05_9585.jpg', '/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_15_9785.jpg', '/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_25_10584.jpg', '/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_35_9532.jpg', '/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/05/image_02012026_00_06_05_9585.jpg
/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_15_9785.jpg
/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_25_10584.jpg
/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_35_9532.jpg
/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_44_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":["1402087980","1402087983","1402087982","1402087978","1402087981"],"photo_ids_order":["1402087978","1402087980","1402087981","1402087982","1402087983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/357038a9bd80dd357f772e6e097ac195.jpg","text":"TemporaryFile(/tmp/multipartBody2479003800926189464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308883465,"filename":"image_02012026_00_06_15_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/2/d1f8dfbb99f5949a8b94166f60e4f8ef.jpg","text":"TemporaryFile(/tmp/multipartBody4395648644995600255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308883465,"filename":"image_02012026_00_06_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/2/114918bf3008aac9a339b173866a5169.jpg","text":"TemporaryFile(/tmp/multipartBody7989792436157186383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308883465,"filename":"image_02012026_00_06_35_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c680d0305b8297f792885039ab13e70e.jpg","text":"TemporaryFile(/tmp/multipartBody228836295598328327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308883465,"filename":"image_02012026_00_06_05_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/2/56451a01252da4e38c9bb5ca0e526a31.jpg","text":"TemporaryFile(/tmp/multipartBody5419066641683758476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308883465,"filename":"image_02012026_00_06_25_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087981","file1":"1402087980","file0":"1402087978","file4":"1402087983","file3":"1402087982"},"map_files_photo_id_array":[{"photo_id":"1402087981","filename":"file2"},{"photo_id":"1402087983","filename":"file4"},{"photo_id":"1402087980","filename":"file1"},{"photo_id":"1402087978","filename":"file0"},{"photo_id":"1402087982","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087980":["hashtag1","hashtag2"]},{"1402087983":["hashtag1","hashtag2"]},{"1402087982":["hashtag1","hashtag2"]},{"1402087978":["hashtag1","hashtag2"]},{"1402087981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087980, 1402087983, 1402087982, 1402087978, 1402087981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.856404066085815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:07:42.264780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/30/image_04112025_20_30_16_1888.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_18_1594.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_20_1604.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_21_1875.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_02_40449.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_04_1672.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/30/image_04112025_20_30_16_1888.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_18_1594.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_20_1604.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_21_1875.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_02_40449.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_04_1672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.713465690612793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:08:02.918059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_55_10574.jpg', '/home/pi/Desktop/images/02012026/00/06/image_02012026_00_07_05_9710.jpg', '/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_15_10699.jpg', '/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_25_9804.jpg', '/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_35_9736.jpg', '/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/06/image_02012026_00_06_55_10574.jpg
/home/pi/Desktop/images/02012026/00/06/image_02012026_00_07_05_9710.jpg
/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_15_10699.jpg
/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_25_9804.jpg
/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_35_9736.jpg
/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402087995","1402088001","1402087994","1402087997","1402087996","1402087999"],"photo_ids_order":["1402087994","1402087995","1402087996","1402087997","1402087999","1402088001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aacd3f47098605fc7d76469058e81e30.jpg","text":"TemporaryFile(/tmp/multipartBody1473023996100459184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308943550,"filename":"image_02012026_00_07_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/2/bb96baf6ba40f72e9ecba135d50a1a65.jpg","text":"TemporaryFile(/tmp/multipartBody8036362012434397103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308943550,"filename":"image_02012026_00_07_45_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/2/df7a0a751c9acfe613055cd6327af4a4.jpg","text":"TemporaryFile(/tmp/multipartBody8794403673555697648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308943550,"filename":"image_02012026_00_06_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/2/fcd37e3ab171ada3f50233b3ec50e147.jpg","text":"TemporaryFile(/tmp/multipartBody6683543568825713192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308943550,"filename":"image_02012026_00_07_25_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/2/b776db89132aa5fea5f2ed46bb4fe2c3.jpg","text":"TemporaryFile(/tmp/multipartBody2434554385755110921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308943550,"filename":"image_02012026_00_07_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/2/bb5d0b664154919115741aa6606c0c1c.jpg","text":"TemporaryFile(/tmp/multipartBody1810091181935572163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308943550,"filename":"image_02012026_00_07_35_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402087996","file1":"1402087995","file0":"1402087994","file4":"1402087999","file5":"1402088001","file3":"1402087997"},"map_files_photo_id_array":[{"photo_id":"1402088001","filename":"file5"},{"photo_id":"1402087996","filename":"file2"},{"photo_id":"1402087999","filename":"file4"},{"photo_id":"1402087995","filename":"file1"},{"photo_id":"1402087994","filename":"file0"},{"photo_id":"1402087997","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402087995":["hashtag1","hashtag2"]},{"1402088001":["hashtag1","hashtag2"]},{"1402087994":["hashtag1","hashtag2"]},{"1402087997":["hashtag1","hashtag2"]},{"1402087996":["hashtag1","hashtag2"]},{"1402087999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402087995, 1402088001, 1402087994, 1402087997, 1402087996, 1402087999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01612901687622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:08:42.425520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/30/image_04112025_20_30_16_1888.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_18_1594.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_20_1604.jpg', '/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_21_1875.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_02_40449.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_04_1672.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/30/image_04112025_20_30_16_1888.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_18_1594.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_20_1604.jpg
/home/pi/Desktop/images/04112025/20/30/image_04112025_20_30_21_1875.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_02_40449.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_04_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":["1402088010","1402088012","1402088006","1402088009","1402088011","1402088008"],"photo_ids_order":["1402088006","1402088008","1402088009","1402088010","1402088011","1402088012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87ece36f0bb4cc4c81e64b52272079b8.jpg","text":"TemporaryFile(/tmp/multipartBody6626017095027410263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308984118,"filename":"image_04112025_20_30_21_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/2/0c28d7dbee5e9c7032bff102fe92e6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8075274175560614607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308984118,"filename":"image_04112025_20_31_04_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/2/8b3c4d969ca6e091520fafb50c2e1f28.jpg","text":"TemporaryFile(/tmp/multipartBody1709133125342335933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308984118,"filename":"image_04112025_20_30_16_1888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9162cbcf45b8f52f832a5bd66c03f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5503872638680363692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308984118,"filename":"image_04112025_20_30_20_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/2/c893755bf2e8a3e4655e3e797066d08f.jpg","text":"TemporaryFile(/tmp/multipartBody2140114583167898672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308984118,"filename":"image_04112025_20_31_02_40449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c61c88f679fa8557c65c2159d8d77b41.jpg","text":"TemporaryFile(/tmp/multipartBody2327095415155267897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308984118,"filename":"image_04112025_20_30_18_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088009","file1":"1402088008","file0":"1402088006","file4":"1402088011","file5":"1402088012","file3":"1402088010"},"map_files_photo_id_array":[{"photo_id":"1402088012","filename":"file5"},{"photo_id":"1402088009","filename":"file2"},{"photo_id":"1402088011","filename":"file4"},{"photo_id":"1402088008","filename":"file1"},{"photo_id":"1402088006","filename":"file0"},{"photo_id":"1402088010","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088010":["hashtag1","hashtag2"]},{"1402088012":["hashtag1","hashtag2"]},{"1402088006":["hashtag1","hashtag2"]},{"1402088009":["hashtag1","hashtag2"]},{"1402088011":["hashtag1","hashtag2"]},{"1402088008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088010, 1402088012, 1402088006, 1402088009, 1402088011, 1402088008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02633500099182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:09:22.764556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_55_10581.jpg', '/home/pi/Desktop/images/02012026/00/07/image_02012026_00_08_05_9752.jpg', '/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_15_9627.jpg', '/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_25_10578.jpg', '/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_35_9674.jpg', '/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/07/image_02012026_00_07_55_10581.jpg
/home/pi/Desktop/images/02012026/00/07/image_02012026_00_08_05_9752.jpg
/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_15_9627.jpg
/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_25_10578.jpg
/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_35_9674.jpg
/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_44_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":["1402088025","1402088019","1402088021","1402088014","1402088023","1402088017"],"photo_ids_order":["1402088014","1402088017","1402088019","1402088021","1402088023","1402088025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e7e4387af2ea99bd8c82b15ded502f4.jpg","text":"TemporaryFile(/tmp/multipartBody6533023390257863948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309023359,"filename":"image_02012026_00_08_44_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/2/20523de4e7d90a3d51d27158e57dfe3f.jpg","text":"TemporaryFile(/tmp/multipartBody8057211737334813733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309023359,"filename":"image_02012026_00_08_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/2/b8cb678204241ccba4087d56bf7148d5.jpg","text":"TemporaryFile(/tmp/multipartBody220817645842171764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309023359,"filename":"image_02012026_00_08_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/2/6cabf585f0dd50051fc3611560dc77b2.jpg","text":"TemporaryFile(/tmp/multipartBody1541795146206005306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309023359,"filename":"image_02012026_00_07_55_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/2/14cc895e4515ed54c35c1faabc095c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6884087741625666570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309023359,"filename":"image_02012026_00_08_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/2/f90e8525f660a651bd1019d088b159d8.jpg","text":"TemporaryFile(/tmp/multipartBody277199677476965071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309023359,"filename":"image_02012026_00_08_05_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088019","file1":"1402088017","file0":"1402088014","file4":"1402088023","file5":"1402088025","file3":"1402088021"},"map_files_photo_id_array":[{"photo_id":"1402088025","filename":"file5"},{"photo_id":"1402088019","filename":"file2"},{"photo_id":"1402088023","filename":"file4"},{"photo_id":"1402088017","filename":"file1"},{"photo_id":"1402088014","filename":"file0"},{"photo_id":"1402088021","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088025":["hashtag1","hashtag2"]},{"1402088019":["hashtag1","hashtag2"]},{"1402088021":["hashtag1","hashtag2"]},{"1402088014":["hashtag1","hashtag2"]},{"1402088023":["hashtag1","hashtag2"]},{"1402088017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088025, 1402088019, 1402088021, 1402088014, 1402088023, 1402088017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20334529876709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:10:02.220106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_55_10662.jpg', '/home/pi/Desktop/images/02012026/00/08/image_02012026_00_09_05_9671.jpg', '/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_14_9722.jpg', '/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_25_10690.jpg', '/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_35_9806.jpg', '/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_44_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/08/image_02012026_00_08_55_10662.jpg
/home/pi/Desktop/images/02012026/00/08/image_02012026_00_09_05_9671.jpg
/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_14_9722.jpg
/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_25_10690.jpg
/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_35_9806.jpg
/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_44_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088031","1402088028","1402088033","1402088027","1402088029","1402088026"],"photo_ids_order":["1402088026","1402088027","1402088028","1402088029","1402088031","1402088033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7fccddea31f554fecaa0b2dbc5834674.jpg","text":"TemporaryFile(/tmp/multipartBody7140668040395984349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309062872,"filename":"image_02012026_00_09_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/2/a2598b42e2318cee93fea6e689a4593b.jpg","text":"TemporaryFile(/tmp/multipartBody4618907464069539368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309062872,"filename":"image_02012026_00_09_14_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/2/a9c0a7716ec39ce7cdc4a191ffa8e97c.jpg","text":"TemporaryFile(/tmp/multipartBody6900859154831619759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309062872,"filename":"image_02012026_00_09_44_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/2/1f4e6623c7454946e6c5f0defef31740.jpg","text":"TemporaryFile(/tmp/multipartBody5003153381278906075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309062872,"filename":"image_02012026_00_09_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/2/3124942de4d205b02a24e845a3f0ef85.jpg","text":"TemporaryFile(/tmp/multipartBody1721598681824964172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309062872,"filename":"image_02012026_00_09_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/2/64756c92214f2d48f02d7561bdb88955.jpg","text":"TemporaryFile(/tmp/multipartBody1540345870318394589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309062872,"filename":"image_02012026_00_08_55_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088028","file1":"1402088027","file0":"1402088026","file4":"1402088031","file5":"1402088033","file3":"1402088029"},"map_files_photo_id_array":[{"photo_id":"1402088033","filename":"file5"},{"photo_id":"1402088028","filename":"file2"},{"photo_id":"1402088031","filename":"file4"},{"photo_id":"1402088027","filename":"file1"},{"photo_id":"1402088026","filename":"file0"},{"photo_id":"1402088029","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088031":["hashtag1","hashtag2"]},{"1402088028":["hashtag1","hashtag2"]},{"1402088033":["hashtag1","hashtag2"]},{"1402088027":["hashtag1","hashtag2"]},{"1402088029":["hashtag1","hashtag2"]},{"1402088026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088031, 1402088028, 1402088033, 1402088027, 1402088029, 1402088026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46360635757446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:10:41.870554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/31/image_04112025_20_31_05_1740.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_07_1672.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_10_1636.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_17_5005.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_29_11694.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_30_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/20/31/image_04112025_20_31_05_1740.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_07_1672.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_10_1636.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_17_5005.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_29_11694.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_30_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":["1402088043","1402088040","1402088042","1402088041","1402088044","1402088038"],"photo_ids_order":["1402088038","1402088040","1402088041","1402088042","1402088043","1402088044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7df74e747e6f52e494ae576f007be590.jpg","text":"TemporaryFile(/tmp/multipartBody810311013195843167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309103736,"filename":"image_04112025_20_31_29_11694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e96dc60c0dd59bd4f02a867d3f0092bb.jpg","text":"TemporaryFile(/tmp/multipartBody6343120655571343799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309103736,"filename":"image_04112025_20_31_07_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/2/32ecefc5304352d4f4f9aa5b830c8666.jpg","text":"TemporaryFile(/tmp/multipartBody3923036266781478500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309103736,"filename":"image_04112025_20_31_17_5005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6e6bcca47e4373fc0862e3024369d46.jpg","text":"TemporaryFile(/tmp/multipartBody5341216592656616501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309103736,"filename":"image_04112025_20_31_10_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/2/edbb8a12709af4fdf94ad5bfc0bc33ba.jpg","text":"TemporaryFile(/tmp/multipartBody5039564184177603890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309103736,"filename":"image_04112025_20_31_30_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/2/47a8f4a354a68b823a806bdfd168f0de.jpg","text":"TemporaryFile(/tmp/multipartBody6971896466499679969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309103736,"filename":"image_04112025_20_31_05_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088041","file1":"1402088040","file0":"1402088038","file4":"1402088043","file5":"1402088044","file3":"1402088042"},"map_files_photo_id_array":[{"photo_id":"1402088044","filename":"file5"},{"photo_id":"1402088041","filename":"file2"},{"photo_id":"1402088043","filename":"file4"},{"photo_id":"1402088040","filename":"file1"},{"photo_id":"1402088038","filename":"file0"},{"photo_id":"1402088042","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088043":["hashtag1","hashtag2"]},{"1402088040":["hashtag1","hashtag2"]},{"1402088042":["hashtag1","hashtag2"]},{"1402088041":["hashtag1","hashtag2"]},{"1402088044":["hashtag1","hashtag2"]},{"1402088038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088043, 1402088040, 1402088042, 1402088041, 1402088044, 1402088038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.470691204071045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:11:22.054008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_55_10607.jpg', '/home/pi/Desktop/images/02012026/00/09/image_02012026_00_10_05_9788.jpg', '/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_14_9567.jpg', '/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_25_10700.jpg', '/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_35_9713.jpg', '/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_44_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/09/image_02012026_00_09_55_10607.jpg
/home/pi/Desktop/images/02012026/00/09/image_02012026_00_10_05_9788.jpg
/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_14_9567.jpg
/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_25_10700.jpg
/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_35_9713.jpg
/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_44_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":["1402088046","1402088054","1402088048","1402088057","1402088051","1402088050"],"photo_ids_order":["1402088046","1402088048","1402088050","1402088051","1402088054","1402088057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea97a1bc37fea5747297b6673d43427f.jpg","text":"TemporaryFile(/tmp/multipartBody3567270437949218301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309142651,"filename":"image_02012026_00_09_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/2/ea41d2ef0ad00cd602f0374eed42c20f.jpg","text":"TemporaryFile(/tmp/multipartBody8299036468540684169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309142651,"filename":"image_02012026_00_10_35_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/2/3ae580f9f08fe813541ccebcb92da204.jpg","text":"TemporaryFile(/tmp/multipartBody5261923997287506283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309142651,"filename":"image_02012026_00_10_05_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/2/20fc99c57fa796cff04265cab27e1e44.jpg","text":"TemporaryFile(/tmp/multipartBody1884438558500664370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309142651,"filename":"image_02012026_00_10_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/2/13922c7f6abf8e354b9a0943485620f5.jpg","text":"TemporaryFile(/tmp/multipartBody1413710633283206148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309142651,"filename":"image_02012026_00_10_25_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/2/c4202b713e1e1d6a441e3e7ef69e7a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3501890963434929689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309142651,"filename":"image_02012026_00_10_14_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088050","file1":"1402088048","file0":"1402088046","file4":"1402088054","file5":"1402088057","file3":"1402088051"},"map_files_photo_id_array":[{"photo_id":"1402088057","filename":"file5"},{"photo_id":"1402088050","filename":"file2"},{"photo_id":"1402088054","filename":"file4"},{"photo_id":"1402088048","filename":"file1"},{"photo_id":"1402088046","filename":"file0"},{"photo_id":"1402088051","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088046":["hashtag1","hashtag2"]},{"1402088054":["hashtag1","hashtag2"]},{"1402088048":["hashtag1","hashtag2"]},{"1402088057":["hashtag1","hashtag2"]},{"1402088051":["hashtag1","hashtag2"]},{"1402088050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088046, 1402088054, 1402088048, 1402088057, 1402088051, 1402088050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53571343421936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:12:02.779495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_55_10677.jpg', '/home/pi/Desktop/images/02012026/00/10/image_02012026_00_11_05_9548.jpg', '/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_15_9850.jpg', '/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_25_10693.jpg', '/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_35_9701.jpg', '/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_45_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/10/image_02012026_00_10_55_10677.jpg
/home/pi/Desktop/images/02012026/00/10/image_02012026_00_11_05_9548.jpg
/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_15_9850.jpg
/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_25_10693.jpg
/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_35_9701.jpg
/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_45_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088064","1402088058","1402088060","1402088059","1402088062","1402088061"],"photo_ids_order":["1402088058","1402088059","1402088060","1402088061","1402088062","1402088064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/baf525ef16ea0e1ee69db7c19851720d.jpg","text":"TemporaryFile(/tmp/multipartBody1295516127829835376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309183405,"filename":"image_02012026_00_11_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/2/9de921ef5942a654a6236bbf620760c5.jpg","text":"TemporaryFile(/tmp/multipartBody2847836224509029523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309183405,"filename":"image_02012026_00_10_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/2/7031f15c41a03e6612ad43985cd2c239.jpg","text":"TemporaryFile(/tmp/multipartBody2791448568057772811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309183405,"filename":"image_02012026_00_11_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/2/21de49c1a3b3ae643ee6c85af82be8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7441734360859426296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309183405,"filename":"image_02012026_00_11_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/2/2dc6534472bbda5b17c3def337f294d5.jpg","text":"TemporaryFile(/tmp/multipartBody4655021154371722011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309183405,"filename":"image_02012026_00_11_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/2/ad13fe05340c44db09b533c221d7a9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3260245118446088138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309183405,"filename":"image_02012026_00_11_25_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088060","file1":"1402088059","file0":"1402088058","file4":"1402088062","file5":"1402088064","file3":"1402088061"},"map_files_photo_id_array":[{"photo_id":"1402088064","filename":"file5"},{"photo_id":"1402088060","filename":"file2"},{"photo_id":"1402088062","filename":"file4"},{"photo_id":"1402088059","filename":"file1"},{"photo_id":"1402088058","filename":"file0"},{"photo_id":"1402088061","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088064":["hashtag1","hashtag2"]},{"1402088058":["hashtag1","hashtag2"]},{"1402088060":["hashtag1","hashtag2"]},{"1402088059":["hashtag1","hashtag2"]},{"1402088062":["hashtag1","hashtag2"]},{"1402088061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088064, 1402088058, 1402088060, 1402088059, 1402088062, 1402088061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64585494995117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:12:42.567898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/31/image_04112025_20_31_32_1687.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_34_1589.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_35_1724.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_37_1688.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_39_1610.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_40_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/20/31/image_04112025_20_31_32_1687.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_34_1589.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_35_1724.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_37_1688.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_39_1610.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_40_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402088072","1402088075","1402088069","1402088071","1402088074","1402088073"],"photo_ids_order":["1402088069","1402088071","1402088072","1402088073","1402088074","1402088075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8fd5aed062175a424eeb73bcfd4927a1.jpg","text":"TemporaryFile(/tmp/multipartBody514007744417537264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309224425,"filename":"image_04112025_20_31_35_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/2/9f2bd13400cfedbebfb3a6134af0d1db.jpg","text":"TemporaryFile(/tmp/multipartBody3140010819549195696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309224425,"filename":"image_04112025_20_31_40_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/2/995133a862b725807127ec8d302d4564.jpg","text":"TemporaryFile(/tmp/multipartBody8189317404479960278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309224425,"filename":"image_04112025_20_31_32_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/2/a0017952cc6a619eb3bdfb0486b71679.jpg","text":"TemporaryFile(/tmp/multipartBody1247472279196317676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309224425,"filename":"image_04112025_20_31_34_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/2/72153e29e335a23bcc52e6fc259a4c58.jpg","text":"TemporaryFile(/tmp/multipartBody1594020931334133585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309224425,"filename":"image_04112025_20_31_39_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/2/475e4151fe9c2fe12b34775a94b34324.jpg","text":"TemporaryFile(/tmp/multipartBody3969902716534115229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309224425,"filename":"image_04112025_20_31_37_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088072","file1":"1402088071","file0":"1402088069","file4":"1402088074","file5":"1402088075","file3":"1402088073"},"map_files_photo_id_array":[{"photo_id":"1402088075","filename":"file5"},{"photo_id":"1402088072","filename":"file2"},{"photo_id":"1402088074","filename":"file4"},{"photo_id":"1402088071","filename":"file1"},{"photo_id":"1402088069","filename":"file0"},{"photo_id":"1402088073","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088072":["hashtag1","hashtag2"]},{"1402088075":["hashtag1","hashtag2"]},{"1402088069":["hashtag1","hashtag2"]},{"1402088071":["hashtag1","hashtag2"]},{"1402088074":["hashtag1","hashtag2"]},{"1402088073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088072, 1402088075, 1402088069, 1402088071, 1402088074, 1402088073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.442509174346924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:13:32.729001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/31/image_04112025_20_31_42_1610.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_44_1846.jpg', '/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_45_1696.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_16_28981.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_25_8790.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_27_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/31/image_04112025_20_31_42_1610.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_44_1846.jpg
/home/pi/Desktop/images/04112025/20/31/image_04112025_20_31_45_1696.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_16_28981.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_25_8790.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_27_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":["1402088085","1402088079","1402088087","1402088081","1402088083","1402088086"],"photo_ids_order":["1402088079","1402088081","1402088083","1402088085","1402088086","1402088087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/733b5d63c6f3c16ff738049c406b9934.jpg","text":"TemporaryFile(/tmp/multipartBody3452744190682855717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309274573,"filename":"image_04112025_20_32_16_28981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/04f2a6bb1a3d2c030dc8bbeeaa69a23c.jpg","text":"TemporaryFile(/tmp/multipartBody3124634008549384593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309274573,"filename":"image_04112025_20_31_42_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/2/0bba4abff34ffcd41437f497d7a8dc7b.jpg","text":"TemporaryFile(/tmp/multipartBody1951700470331665836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309274573,"filename":"image_04112025_20_32_27_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/2/75c5b3a519a457504e5d9f475448f503.jpg","text":"TemporaryFile(/tmp/multipartBody8793621065436047924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309274573,"filename":"image_04112025_20_31_44_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/2/d09c06f6440b23e93adfa411f2b748e0.jpg","text":"TemporaryFile(/tmp/multipartBody3565165171921333516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309274573,"filename":"image_04112025_20_31_45_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/2/0f0a37f4f7a6e54b47d47c54f52dcbeb.jpg","text":"TemporaryFile(/tmp/multipartBody3574145570812453284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309274573,"filename":"image_04112025_20_32_25_8790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088083","file1":"1402088081","file0":"1402088079","file4":"1402088086","file5":"1402088087","file3":"1402088085"},"map_files_photo_id_array":[{"photo_id":"1402088087","filename":"file5"},{"photo_id":"1402088083","filename":"file2"},{"photo_id":"1402088086","filename":"file4"},{"photo_id":"1402088081","filename":"file1"},{"photo_id":"1402088079","filename":"file0"},{"photo_id":"1402088085","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088085":["hashtag1","hashtag2"]},{"1402088079":["hashtag1","hashtag2"]},{"1402088087":["hashtag1","hashtag2"]},{"1402088081":["hashtag1","hashtag2"]},{"1402088083":["hashtag1","hashtag2"]},{"1402088086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088085, 1402088079, 1402088087, 1402088081, 1402088083, 1402088086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57392477989197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:14:11.808950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/32/image_04112025_20_32_32_1603.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_33_1764.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_35_1676.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_38_1705.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_40_1533.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_42_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/20/32/image_04112025_20_32_32_1603.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_33_1764.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_35_1676.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_38_1705.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_40_1533.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_42_1743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088090","1402088093","1402088089","1402088098","1402088091","1402088097"],"photo_ids_order":["1402088089","1402088090","1402088091","1402088093","1402088097","1402088098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb9bcc1cbb6cd40bd0c4cd76dfbe1035.jpg","text":"TemporaryFile(/tmp/multipartBody787295013906411652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309313516,"filename":"image_04112025_20_32_33_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/2/517d5d3efba65fe5d492a4a536de3496.jpg","text":"TemporaryFile(/tmp/multipartBody6061754567294407556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309313516,"filename":"image_04112025_20_32_38_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/2/023b6fd44e4ac6325a1a2aba287a72c3.jpg","text":"TemporaryFile(/tmp/multipartBody96399880913467572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309313516,"filename":"image_04112025_20_32_32_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/2/9d05a05bfb8bb24c7cdcd543873bee8f.jpg","text":"TemporaryFile(/tmp/multipartBody358178667057140351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309313516,"filename":"image_04112025_20_32_42_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/2/0e993a8acb73914631729555009e29b9.jpg","text":"TemporaryFile(/tmp/multipartBody4113268080109203558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309313516,"filename":"image_04112025_20_32_35_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/2/797045d6a7483a324f9b5e1f6c3775ff.jpg","text":"TemporaryFile(/tmp/multipartBody6902391419208907896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309313516,"filename":"image_04112025_20_32_40_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088091","file1":"1402088090","file0":"1402088089","file4":"1402088097","file5":"1402088098","file3":"1402088093"},"map_files_photo_id_array":[{"photo_id":"1402088098","filename":"file5"},{"photo_id":"1402088091","filename":"file2"},{"photo_id":"1402088097","filename":"file4"},{"photo_id":"1402088090","filename":"file1"},{"photo_id":"1402088089","filename":"file0"},{"photo_id":"1402088093","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088090":["hashtag1","hashtag2"]},{"1402088093":["hashtag1","hashtag2"]},{"1402088089":["hashtag1","hashtag2"]},{"1402088098":["hashtag1","hashtag2"]},{"1402088091":["hashtag1","hashtag2"]},{"1402088097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088090, 1402088093, 1402088089, 1402088098, 1402088091, 1402088097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8854033946991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:15:02.641304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_54_9836.jpg', '/home/pi/Desktop/images/02012026/00/11/image_02012026_00_12_05_10786.jpg', '/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_15_9613.jpg', '/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_25_10000.jpg', '/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_35_9771.jpg', '/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_44_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/11/image_02012026_00_11_54_9836.jpg
/home/pi/Desktop/images/02012026/00/11/image_02012026_00_12_05_10786.jpg
/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_15_9613.jpg
/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_25_10000.jpg
/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_35_9771.jpg
/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_44_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":["1402088106","1402088109","1402088111","1402088105","1402088108","1402088107"],"photo_ids_order":["1402088105","1402088106","1402088107","1402088108","1402088109","1402088111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f733b6665b47c8ae33363fffae1bc387.jpg","text":"TemporaryFile(/tmp/multipartBody4163636554118673431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309363348,"filename":"image_02012026_00_12_05_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/2/1879379c1027424366f421d3daf682c2.jpg","text":"TemporaryFile(/tmp/multipartBody4780283967980101764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309363348,"filename":"image_02012026_00_12_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/2/ac68a747677e0cf676896be2a925656d.jpg","text":"TemporaryFile(/tmp/multipartBody6562604384775645865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309363348,"filename":"image_02012026_00_12_44_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/2/0bd2431bcac3d41e87e83c73b7d32022.jpg","text":"TemporaryFile(/tmp/multipartBody768019400878179132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309363348,"filename":"image_02012026_00_11_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/2/ee16c8209470c8c211787d24d69d149a.jpg","text":"TemporaryFile(/tmp/multipartBody6919443958183037639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309363348,"filename":"image_02012026_00_12_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/2/d8baa61373057594d56c6d65a71ecc70.jpg","text":"TemporaryFile(/tmp/multipartBody5242401452661607432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309363348,"filename":"image_02012026_00_12_15_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088107","file1":"1402088106","file0":"1402088105","file4":"1402088109","file5":"1402088111","file3":"1402088108"},"map_files_photo_id_array":[{"photo_id":"1402088111","filename":"file5"},{"photo_id":"1402088107","filename":"file2"},{"photo_id":"1402088109","filename":"file4"},{"photo_id":"1402088106","filename":"file1"},{"photo_id":"1402088105","filename":"file0"},{"photo_id":"1402088108","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088106":["hashtag1","hashtag2"]},{"1402088109":["hashtag1","hashtag2"]},{"1402088111":["hashtag1","hashtag2"]},{"1402088105":["hashtag1","hashtag2"]},{"1402088108":["hashtag1","hashtag2"]},{"1402088107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088106, 1402088109, 1402088111, 1402088105, 1402088108, 1402088107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87603521347046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:15:42.079879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/32/image_04112025_20_32_43_1692.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_45_1728.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_47_1643.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_49_1720.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_50_1625.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_52_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/20/32/image_04112025_20_32_43_1692.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_45_1728.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_47_1643.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_49_1720.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_50_1625.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_52_1657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088118","1402088121","1402088120","1402088122","1402088116","1402088119"],"photo_ids_order":["1402088116","1402088118","1402088119","1402088120","1402088121","1402088122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6df1144ee51dcbf457e8fbfb8fe2be6d.jpg","text":"TemporaryFile(/tmp/multipartBody8287754936836308386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309403937,"filename":"image_04112025_20_32_45_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/2/ae2da6f958b6b0cbe8ce74e2ce2d8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8025814189588488364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309403937,"filename":"image_04112025_20_32_50_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/2/0ca999e4f72f27982c74326c5cdeb060.jpg","text":"TemporaryFile(/tmp/multipartBody2632138501509381764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309403937,"filename":"image_04112025_20_32_49_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/2/97470051fcec780ad4c72998e5616839.jpg","text":"TemporaryFile(/tmp/multipartBody8302058645851925756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309403937,"filename":"image_04112025_20_32_52_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/2/d87a5f4f55ab3f6c774126f5e7b37d45.jpg","text":"TemporaryFile(/tmp/multipartBody3362449143541500914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309403937,"filename":"image_04112025_20_32_43_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/2/da3a8afe1c1eff5e34f8035217d0f037.jpg","text":"TemporaryFile(/tmp/multipartBody1488904970096049556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309403937,"filename":"image_04112025_20_32_47_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088119","file1":"1402088118","file0":"1402088116","file4":"1402088121","file5":"1402088122","file3":"1402088120"},"map_files_photo_id_array":[{"photo_id":"1402088122","filename":"file5"},{"photo_id":"1402088119","filename":"file2"},{"photo_id":"1402088121","filename":"file4"},{"photo_id":"1402088118","filename":"file1"},{"photo_id":"1402088116","filename":"file0"},{"photo_id":"1402088120","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088118":["hashtag1","hashtag2"]},{"1402088121":["hashtag1","hashtag2"]},{"1402088120":["hashtag1","hashtag2"]},{"1402088122":["hashtag1","hashtag2"]},{"1402088116":["hashtag1","hashtag2"]},{"1402088119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088118, 1402088121, 1402088120, 1402088122, 1402088116, 1402088119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21272277832031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:16:32.233622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/32/image_04112025_20_32_54_1773.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_57_1570.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_58_1645.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_33_00_1637.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_02_1798.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_06_2457.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/32/image_04112025_20_32_54_1773.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_57_1570.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_58_1645.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_33_00_1637.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_02_1798.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_06_2457.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.713606834411621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:16:42.392805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/32/image_04112025_20_32_54_1773.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_57_1570.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_58_1645.jpg', '/home/pi/Desktop/images/04112025/20/32/image_04112025_20_33_00_1637.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_02_1798.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_06_2457.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/32/image_04112025_20_32_54_1773.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_57_1570.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_32_58_1645.jpg
/home/pi/Desktop/images/04112025/20/32/image_04112025_20_33_00_1637.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_02_1798.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_06_2457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088139","1402088135","1402088129","1402088138","1402088132","1402088137"],"photo_ids_order":["1402088129","1402088132","1402088135","1402088137","1402088138","1402088139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e5710af1367d37c5555f76d88a4d8b82.jpg","text":"TemporaryFile(/tmp/multipartBody3488962150453655252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309464227,"filename":"image_04112025_20_33_06_2457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/539e89d719be4e16ee5b9d1aa278cc85.jpg","text":"TemporaryFile(/tmp/multipartBody7973046387668277771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309464227,"filename":"image_04112025_20_32_58_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/2/ba604cf8cc413ada3fb31021b1ad3ad7.jpg","text":"TemporaryFile(/tmp/multipartBody1078101703957544766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309464227,"filename":"image_04112025_20_32_54_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/2/04564acb9e83420cc81301108c4f986b.jpg","text":"TemporaryFile(/tmp/multipartBody7598675887605802524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309464227,"filename":"image_04112025_20_33_02_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/2/ab349c8a08012e167e95b7e341f4d070.jpg","text":"TemporaryFile(/tmp/multipartBody1780616728345268450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309464227,"filename":"image_04112025_20_32_57_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/2/59d4cd5f68ec378c49b73a956bf061a4.jpg","text":"TemporaryFile(/tmp/multipartBody8443335249217831354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309464227,"filename":"image_04112025_20_33_00_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088135","file1":"1402088132","file0":"1402088129","file4":"1402088138","file5":"1402088139","file3":"1402088137"},"map_files_photo_id_array":[{"photo_id":"1402088139","filename":"file5"},{"photo_id":"1402088135","filename":"file2"},{"photo_id":"1402088138","filename":"file4"},{"photo_id":"1402088132","filename":"file1"},{"photo_id":"1402088129","filename":"file0"},{"photo_id":"1402088137","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088139":["hashtag1","hashtag2"]},{"1402088135":["hashtag1","hashtag2"]},{"1402088129":["hashtag1","hashtag2"]},{"1402088138":["hashtag1","hashtag2"]},{"1402088132":["hashtag1","hashtag2"]},{"1402088137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088139, 1402088135, 1402088129, 1402088138, 1402088132, 1402088137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20146107673645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:17:22.627086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_55_10685.jpg', '/home/pi/Desktop/images/02012026/00/12/image_02012026_00_13_05_9686.jpg', '/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_14_9582.jpg', '/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_25_10768.jpg', '/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_35_9637.jpg', '/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_45_10540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/12/image_02012026_00_12_55_10685.jpg
/home/pi/Desktop/images/02012026/00/12/image_02012026_00_13_05_9686.jpg
/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_14_9582.jpg
/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_25_10768.jpg
/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_35_9637.jpg
/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_45_10540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088142","1402088151","1402088148","1402088141","1402088144","1402088146"],"photo_ids_order":["1402088141","1402088142","1402088144","1402088146","1402088148","1402088151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/24df565b7b7a779f2ca4178d25263dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8074142589244273636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309503253,"filename":"image_02012026_00_13_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/2/4d645759e8f78e2c55c2c4608c4c850b.jpg","text":"TemporaryFile(/tmp/multipartBody8782747969116977960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309503253,"filename":"image_02012026_00_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/2/881421f3ceffbbace9b8cdcf836f1919.jpg","text":"TemporaryFile(/tmp/multipartBody3524032258613370017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309503253,"filename":"image_02012026_00_13_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/2/159d35c6165b115d55d23eba990c58bd.jpg","text":"TemporaryFile(/tmp/multipartBody8967341343766378713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309503253,"filename":"image_02012026_00_12_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/2/fafd48637c41329c4e59edde3c9b7411.jpg","text":"TemporaryFile(/tmp/multipartBody5256004274956716330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309503253,"filename":"image_02012026_00_13_14_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/2/c5cb474b50be0266a20fc42a52d38c61.jpg","text":"TemporaryFile(/tmp/multipartBody4530857863768282966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309503253,"filename":"image_02012026_00_13_25_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088144","file1":"1402088142","file0":"1402088141","file4":"1402088148","file5":"1402088151","file3":"1402088146"},"map_files_photo_id_array":[{"photo_id":"1402088151","filename":"file5"},{"photo_id":"1402088144","filename":"file2"},{"photo_id":"1402088148","filename":"file4"},{"photo_id":"1402088142","filename":"file1"},{"photo_id":"1402088141","filename":"file0"},{"photo_id":"1402088146","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088142":["hashtag1","hashtag2"]},{"1402088151":["hashtag1","hashtag2"]},{"1402088148":["hashtag1","hashtag2"]},{"1402088141":["hashtag1","hashtag2"]},{"1402088144":["hashtag1","hashtag2"]},{"1402088146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088142, 1402088151, 1402088148, 1402088141, 1402088144, 1402088146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40440654754639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:18:03.284165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_55_9563.jpg', '/home/pi/Desktop/images/02012026/00/13/image_02012026_00_14_05_9846.jpg', '/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_14_9701.jpg', '/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_25_10905.jpg', '/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_35_9728.jpg', '/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_45_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/13/image_02012026_00_13_55_9563.jpg
/home/pi/Desktop/images/02012026/00/13/image_02012026_00_14_05_9846.jpg
/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_14_9701.jpg
/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_25_10905.jpg
/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_35_9728.jpg
/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_45_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":["1402088153","1402088156","1402088158","1402088152","1402088155","1402088154"],"photo_ids_order":["1402088152","1402088153","1402088154","1402088155","1402088156","1402088158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba0a7fa74b732bd78d37809ee5ec3ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6769794197348208636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309543909,"filename":"image_02012026_00_14_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/2/8ef5566d90a40ddab2be23add7bea87e.jpg","text":"TemporaryFile(/tmp/multipartBody3963034596742858537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309543909,"filename":"image_02012026_00_14_35_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/2/a94fbdbf5457feeeb3f8219c3431cf42.jpg","text":"TemporaryFile(/tmp/multipartBody1809169082306307637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309543909,"filename":"image_02012026_00_14_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/2/465f10ba1aeb8cc71fada3c7bd74598c.jpg","text":"TemporaryFile(/tmp/multipartBody7271597813081284110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309543909,"filename":"image_02012026_00_13_55_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/2/7f9b42efee3f8fe8488462c100ab1973.jpg","text":"TemporaryFile(/tmp/multipartBody8975585076855556850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309543909,"filename":"image_02012026_00_14_25_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/2/ba6cdd53972c44ddc9cade119d77414c.jpg","text":"TemporaryFile(/tmp/multipartBody682613055815070452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309543909,"filename":"image_02012026_00_14_14_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088154","file1":"1402088153","file0":"1402088152","file4":"1402088156","file5":"1402088158","file3":"1402088155"},"map_files_photo_id_array":[{"photo_id":"1402088158","filename":"file5"},{"photo_id":"1402088154","filename":"file2"},{"photo_id":"1402088156","filename":"file4"},{"photo_id":"1402088153","filename":"file1"},{"photo_id":"1402088152","filename":"file0"},{"photo_id":"1402088155","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088153":["hashtag1","hashtag2"]},{"1402088156":["hashtag1","hashtag2"]},{"1402088158":["hashtag1","hashtag2"]},{"1402088152":["hashtag1","hashtag2"]},{"1402088155":["hashtag1","hashtag2"]},{"1402088154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088153, 1402088156, 1402088158, 1402088152, 1402088155, 1402088154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29318714141846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:18:42.795189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_33_09_1622.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_11_1584.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_16_1557.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_19_3555.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_21_1591.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_25_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/20/33/image_04112025_20_33_09_1622.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_11_1584.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_16_1557.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_19_3555.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_21_1591.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_25_1780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088163","1402088166","1402088165","1402088168","1402088170","1402088167"],"photo_ids_order":["1402088163","1402088165","1402088166","1402088167","1402088168","1402088170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a348cfec65129845b0decc28db4b570.jpg","text":"TemporaryFile(/tmp/multipartBody2926684723638645881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309584599,"filename":"image_04112025_20_33_09_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/2/03a88d8c53245d405d9fb4b7d6f8ae30.jpg","text":"TemporaryFile(/tmp/multipartBody6095596791702303644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309584599,"filename":"image_04112025_20_33_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/2/cd618e62764a273d16f5a131c257c79f.jpg","text":"TemporaryFile(/tmp/multipartBody5825969840725589653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309584599,"filename":"image_04112025_20_33_11_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/2/94caa2b6977e2f41901ef78597db853d.jpg","text":"TemporaryFile(/tmp/multipartBody8080470997471977447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309584599,"filename":"image_04112025_20_33_21_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/2/1361531cd1a8f3205cf217f5aeb874cf.jpg","text":"TemporaryFile(/tmp/multipartBody2993878738683759549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309584599,"filename":"image_04112025_20_33_25_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/2/5ee7572c2516fd83944c523719924a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3174892904211739034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309584599,"filename":"image_04112025_20_33_19_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088166","file1":"1402088165","file0":"1402088163","file4":"1402088168","file5":"1402088170","file3":"1402088167"},"map_files_photo_id_array":[{"photo_id":"1402088170","filename":"file5"},{"photo_id":"1402088166","filename":"file2"},{"photo_id":"1402088168","filename":"file4"},{"photo_id":"1402088165","filename":"file1"},{"photo_id":"1402088163","filename":"file0"},{"photo_id":"1402088167","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402088163":["hashtag1","hashtag2"]},{"1402088166":["hashtag1","hashtag2"]},{"1402088165":["hashtag1","hashtag2"]},{"1402088168":["hashtag1","hashtag2"]},{"1402088170":["hashtag1","hashtag2"]},{"1402088167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402088163, 1402088166, 1402088165, 1402088168, 1402088170, 1402088167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19015979766846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:19:22.062555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_55_9868.jpg', '/home/pi/Desktop/images/02012026/00/14/image_02012026_00_15_04_9797.jpg', '/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_15_10625.jpg', '/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_25_9734.jpg', '/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_34_9706.jpg', '/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_45_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/14/image_02012026_00_14_55_9868.jpg
/home/pi/Desktop/images/02012026/00/14/image_02012026_00_15_04_9797.jpg
/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_15_10625.jpg
/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_25_9734.jpg
/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_34_9706.jpg
/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_45_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402088981","1402088709","1402088980","1402088926","1402088503","1402088608"],"photo_ids_order":["1402088503","1402088608","1402088709","1402088926","1402088980","1402088981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c6247d7199235b49ef56974ea490304.jpg","text":"TemporaryFile(/tmp/multipartBody7775493451894498129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309622691,"filename":"image_02012026_00_15_45_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/2/1db1a628f0eba14f89480f8ac8e15af5.jpg","text":"TemporaryFile(/tmp/multipartBody9044073866651780756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309622691,"filename":"image_02012026_00_15_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/2/6d7c2a393123fb617695e6fe24fac934.jpg","text":"TemporaryFile(/tmp/multipartBody3875802124022072509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309622691,"filename":"image_02012026_00_15_34_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/2/2d0df1ad4005b82a6c8b3b4e08c7c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4398458116428561371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309622691,"filename":"image_02012026_00_15_25_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/2/f01954885775e60e5d95a94f8009b8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3982650053518143168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309622691,"filename":"image_02012026_00_14_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/2/7df60097f5fc3e26d414f8d97b58e7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1862481692635402568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309622691,"filename":"image_02012026_00_15_04_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402088709","file1":"1402088608","file0":"1402088503","file4":"1402088980","file5":"1402088981","file3":"1402088926"},"map_files_photo_id_array":[{"photo_id":"1402088981","filename":"file5"},{"photo_id":"1402088709","filename":"file2"},{"photo_id":"1402088980","filename":"file4"},{"photo_id":"1402088608","filename":"file1"},{"photo_id":"1402088503","filename":"file0"},{"photo_id":"1402088926","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402088981":["hashtag1","hashtag2"]},{"1402088709":["hashtag1","hashtag2"]},{"1402088980":["hashtag1","hashtag2"]},{"1402088926":["hashtag1","hashtag2"]},{"1402088503":["hashtag1","hashtag2"]},{"1402088608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402088981, 1402088709, 1402088980, 1402088926, 1402088503, 1402088608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25434422492981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:20:12.056226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_33_28_1705.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_30_1856.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_31_1625.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_35_1716.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_37_1809.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_38_1650.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/33/image_04112025_20_33_28_1705.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_30_1856.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_31_1625.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_35_1716.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_37_1809.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_38_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.596423864364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:20:22.135232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_55_9695.jpg', '/home/pi/Desktop/images/02012026/00/15/image_02012026_00_16_05_9637.jpg', '/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_14_9790.jpg', '/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_25_10717.jpg', '/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_35_9640.jpg', '/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_44_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/15/image_02012026_00_15_55_9695.jpg
/home/pi/Desktop/images/02012026/00/15/image_02012026_00_16_05_9637.jpg
/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_14_9790.jpg
/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_25_10717.jpg
/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_35_9640.jpg
/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_44_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":["1402089230","1402089224","1402089149","1402089183","1402089186","1402089144"],"photo_ids_order":["1402089144","1402089149","1402089183","1402089186","1402089224","1402089230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/27c4f7f3dc6551c20ab633d809059506.jpg","text":"TemporaryFile(/tmp/multipartBody2615707366027398350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309682734,"filename":"image_02012026_00_16_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/2/f71aa93e38573f457ba0433eb0478d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8600028037802684622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309682734,"filename":"image_02012026_00_16_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/2/204eafa1244319a73d70185045315d3d.jpg","text":"TemporaryFile(/tmp/multipartBody1127725337306521856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309682734,"filename":"image_02012026_00_16_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/2/00900edabc590a7b58694d2fef70ba50.jpg","text":"TemporaryFile(/tmp/multipartBody3166831498990435264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309682734,"filename":"image_02012026_00_16_14_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/2/e5eb503427e996fe48f6231aa8fad88e.jpg","text":"TemporaryFile(/tmp/multipartBody2614176232673871026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309682734,"filename":"image_02012026_00_16_25_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/2/03bbaf4d8539628da1bb5b9953c7cabe.jpg","text":"TemporaryFile(/tmp/multipartBody5796847857089972262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309682734,"filename":"image_02012026_00_15_55_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089183","file1":"1402089149","file0":"1402089144","file4":"1402089224","file5":"1402089230","file3":"1402089186"},"map_files_photo_id_array":[{"photo_id":"1402089230","filename":"file5"},{"photo_id":"1402089183","filename":"file2"},{"photo_id":"1402089224","filename":"file4"},{"photo_id":"1402089149","filename":"file1"},{"photo_id":"1402089144","filename":"file0"},{"photo_id":"1402089186","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089230":["hashtag1","hashtag2"]},{"1402089224":["hashtag1","hashtag2"]},{"1402089149":["hashtag1","hashtag2"]},{"1402089183":["hashtag1","hashtag2"]},{"1402089186":["hashtag1","hashtag2"]},{"1402089144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089230, 1402089224, 1402089149, 1402089183, 1402089186, 1402089144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03854584693909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:21:02.915764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_55_10767.jpg', '/home/pi/Desktop/images/02012026/00/16/image_02012026_00_17_05_9538.jpg', '/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_14_9665.jpg', '/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_25_10860.jpg', '/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_35_9561.jpg', '/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/16/image_02012026_00_16_55_10767.jpg
/home/pi/Desktop/images/02012026/00/16/image_02012026_00_17_05_9538.jpg
/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_14_9665.jpg
/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_25_10860.jpg
/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_35_9561.jpg
/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_44_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402089231","1402089233","1402089236","1402089235","1402089232","1402089234"],"photo_ids_order":["1402089231","1402089232","1402089233","1402089234","1402089235","1402089236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7343da12b9002d622fa27a22c32ef9d8.jpg","text":"TemporaryFile(/tmp/multipartBody5599682924493018627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309723618,"filename":"image_02012026_00_16_55_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/2/af87fd42f6d67c9119899e12db6bf314.jpg","text":"TemporaryFile(/tmp/multipartBody89229330857977040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309723618,"filename":"image_02012026_00_17_14_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/2/176c0c30ba32c8962009470002dad214.jpg","text":"TemporaryFile(/tmp/multipartBody7842547451238390171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309723618,"filename":"image_02012026_00_17_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/2/a7285a14b633f63291e5d8557b01b358.jpg","text":"TemporaryFile(/tmp/multipartBody5579693512550854173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309723618,"filename":"image_02012026_00_17_35_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/2/684d30ebae343c07b5d0ea78c61586d1.jpg","text":"TemporaryFile(/tmp/multipartBody1351696087836500388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309723618,"filename":"image_02012026_00_17_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/2/887fedd4cf2244da4aac4eba48a853f0.jpg","text":"TemporaryFile(/tmp/multipartBody4477176799347994601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309723618,"filename":"image_02012026_00_17_25_10860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089233","file1":"1402089232","file0":"1402089231","file4":"1402089235","file5":"1402089236","file3":"1402089234"},"map_files_photo_id_array":[{"photo_id":"1402089236","filename":"file5"},{"photo_id":"1402089233","filename":"file2"},{"photo_id":"1402089235","filename":"file4"},{"photo_id":"1402089232","filename":"file1"},{"photo_id":"1402089231","filename":"file0"},{"photo_id":"1402089234","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089231":["hashtag1","hashtag2"]},{"1402089233":["hashtag1","hashtag2"]},{"1402089236":["hashtag1","hashtag2"]},{"1402089235":["hashtag1","hashtag2"]},{"1402089232":["hashtag1","hashtag2"]},{"1402089234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089231, 1402089233, 1402089236, 1402089235, 1402089232, 1402089234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.976799964904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:22:03.206286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_55_10681.jpg', '/home/pi/Desktop/images/02012026/00/17/image_02012026_00_18_05_9858.jpg', '/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_15_9678.jpg', '/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_24_9790.jpg', '/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_35_10704.jpg', '/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_45_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/17/image_02012026_00_17_55_10681.jpg
/home/pi/Desktop/images/02012026/00/17/image_02012026_00_18_05_9858.jpg
/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_15_9678.jpg
/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_24_9790.jpg
/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_35_10704.jpg
/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_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":["1402089253","1402089250","1402089247","1402089252","1402089255","1402089249"],"photo_ids_order":["1402089247","1402089249","1402089250","1402089252","1402089253","1402089255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d75ba89db739c8c7eff1de5eed8d2802.jpg","text":"TemporaryFile(/tmp/multipartBody2960900004322366609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309783830,"filename":"image_02012026_00_18_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/2/e1a7e4ccedbb87950695d07db56354bb.jpg","text":"TemporaryFile(/tmp/multipartBody7760849892939788792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309783830,"filename":"image_02012026_00_18_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/2/d0187415e331b7960ad67a2989356e23.jpg","text":"TemporaryFile(/tmp/multipartBody8324249195530922068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309783830,"filename":"image_02012026_00_17_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/2/65e633ee1cf444a892bdb0a69df3b7de.jpg","text":"TemporaryFile(/tmp/multipartBody8874674419588627333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309783830,"filename":"image_02012026_00_18_24_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/2/21b15aedad1862d13c37e6f491d9527c.jpg","text":"TemporaryFile(/tmp/multipartBody8246690259960146479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309783830,"filename":"image_02012026_00_18_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/2/4e1153a6c928a4987cfda1b2c197b163.jpg","text":"TemporaryFile(/tmp/multipartBody6364252254828691418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309783830,"filename":"image_02012026_00_18_05_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089250","file1":"1402089249","file0":"1402089247","file4":"1402089253","file5":"1402089255","file3":"1402089252"},"map_files_photo_id_array":[{"photo_id":"1402089255","filename":"file5"},{"photo_id":"1402089250","filename":"file2"},{"photo_id":"1402089253","filename":"file4"},{"photo_id":"1402089249","filename":"file1"},{"photo_id":"1402089247","filename":"file0"},{"photo_id":"1402089252","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089253":["hashtag1","hashtag2"]},{"1402089250":["hashtag1","hashtag2"]},{"1402089247":["hashtag1","hashtag2"]},{"1402089252":["hashtag1","hashtag2"]},{"1402089255":["hashtag1","hashtag2"]},{"1402089249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089253, 1402089250, 1402089247, 1402089252, 1402089255, 1402089249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5351665019989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:22:42.796846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_33_28_1705.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_30_1856.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_31_1625.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_35_1716.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_37_1809.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_38_1650.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/33/image_04112025_20_33_28_1705.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_30_1856.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_31_1625.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_35_1716.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_37_1809.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_38_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.6805524826049805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:23:02.658527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_54_9622.jpg', '/home/pi/Desktop/images/02012026/00/18/image_02012026_00_19_05_10663.jpg', '/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_15_9872.jpg', '/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_25_9833.jpg', '/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_35_9823.jpg', '/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_44_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/18/image_02012026_00_18_54_9622.jpg
/home/pi/Desktop/images/02012026/00/18/image_02012026_00_19_05_10663.jpg
/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_15_9872.jpg
/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_25_9833.jpg
/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_35_9823.jpg
/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_44_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":["1402089269","1402089272","1402089266","1402089265","1402089270","1402089267"],"photo_ids_order":["1402089265","1402089266","1402089267","1402089269","1402089270","1402089272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f8b46203672f727d9b15355adda1045.jpg","text":"TemporaryFile(/tmp/multipartBody1510532047058785105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309843309,"filename":"image_02012026_00_19_25_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/2/2008ddd3fe4b9736a6d27c28f09a81be.jpg","text":"TemporaryFile(/tmp/multipartBody6954890810961348482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309843309,"filename":"image_02012026_00_19_44_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/2/ec4b7c1899b928a8fa8443d182811870.jpg","text":"TemporaryFile(/tmp/multipartBody3257265540351156983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309843309,"filename":"image_02012026_00_19_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/2/31f5fa89378f3ce178d71cc17ef537bc.jpg","text":"TemporaryFile(/tmp/multipartBody1415795767343160926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309843309,"filename":"image_02012026_00_18_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/2/27742c157383a59a111b3b4836c1c06a.jpg","text":"TemporaryFile(/tmp/multipartBody2600140054034247547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309843309,"filename":"image_02012026_00_19_35_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/2/a8a16d7ac8738ddadb454c3d401d6399.jpg","text":"TemporaryFile(/tmp/multipartBody2698434224344255461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309843309,"filename":"image_02012026_00_19_15_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089267","file1":"1402089266","file0":"1402089265","file4":"1402089270","file5":"1402089272","file3":"1402089269"},"map_files_photo_id_array":[{"photo_id":"1402089272","filename":"file5"},{"photo_id":"1402089267","filename":"file2"},{"photo_id":"1402089270","filename":"file4"},{"photo_id":"1402089266","filename":"file1"},{"photo_id":"1402089265","filename":"file0"},{"photo_id":"1402089269","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089269":["hashtag1","hashtag2"]},{"1402089272":["hashtag1","hashtag2"]},{"1402089266":["hashtag1","hashtag2"]},{"1402089265":["hashtag1","hashtag2"]},{"1402089270":["hashtag1","hashtag2"]},{"1402089267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089269, 1402089272, 1402089266, 1402089265, 1402089270, 1402089267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32882380485535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:23:42.088744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_33_28_1705.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_30_1856.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_31_1625.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_35_1716.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_37_1809.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_38_1650.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/33/image_04112025_20_33_28_1705.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_30_1856.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_31_1625.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_35_1716.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_37_1809.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_38_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":["1402089284","1402089286","1402089283","1402089277","1402089282","1402089285"],"photo_ids_order":["1402089277","1402089282","1402089283","1402089284","1402089285","1402089286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbe77d48dcf46a044366d4ad41994b2f.jpg","text":"TemporaryFile(/tmp/multipartBody6737253856649061673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309883768,"filename":"image_04112025_20_33_35_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/2/acfc803da02a6065ccda6ed75fc69477.jpg","text":"TemporaryFile(/tmp/multipartBody291464125160961117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309883768,"filename":"image_04112025_20_33_38_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/2/69d95409afbd14b7f61d938ea2d551f6.jpg","text":"TemporaryFile(/tmp/multipartBody7928175486422060093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309883768,"filename":"image_04112025_20_33_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/2/bd967931374669bf0806906253e3ca51.jpg","text":"TemporaryFile(/tmp/multipartBody8691133352802905934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309883768,"filename":"image_04112025_20_33_28_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/2/1397e9fbb260897cd8dc0f6f15aa469a.jpg","text":"TemporaryFile(/tmp/multipartBody3486773924528950760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309883768,"filename":"image_04112025_20_33_30_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a2d1d54e907bdd187127065162b3ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4037565896184874280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309883768,"filename":"image_04112025_20_33_37_1809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089283","file1":"1402089282","file0":"1402089277","file4":"1402089285","file5":"1402089286","file3":"1402089284"},"map_files_photo_id_array":[{"photo_id":"1402089286","filename":"file5"},{"photo_id":"1402089283","filename":"file2"},{"photo_id":"1402089285","filename":"file4"},{"photo_id":"1402089282","filename":"file1"},{"photo_id":"1402089277","filename":"file0"},{"photo_id":"1402089284","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089284":["hashtag1","hashtag2"]},{"1402089286":["hashtag1","hashtag2"]},{"1402089283":["hashtag1","hashtag2"]},{"1402089277":["hashtag1","hashtag2"]},{"1402089282":["hashtag1","hashtag2"]},{"1402089285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089284, 1402089286, 1402089283, 1402089277, 1402089282, 1402089285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52385997772217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:24:22.288876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_55_10766.jpg', '/home/pi/Desktop/images/02012026/00/19/image_02012026_00_20_05_9679.jpg', '/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_14_9718.jpg', '/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_25_10597.jpg', '/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_35_9663.jpg', '/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_45_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/19/image_02012026_00_19_55_10766.jpg
/home/pi/Desktop/images/02012026/00/19/image_02012026_00_20_05_9679.jpg
/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_14_9718.jpg
/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_25_10597.jpg
/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_35_9663.jpg
/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_45_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089296","1402089290","1402089298","1402089292","1402089289","1402089294"],"photo_ids_order":["1402089289","1402089290","1402089292","1402089294","1402089296","1402089298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e5e7e8ada6d8fe2ec71f136027721fc.jpg","text":"TemporaryFile(/tmp/multipartBody2437626243887704277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309922880,"filename":"image_02012026_00_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/2/e43ba3fb734fc097d8392c2d47619969.jpg","text":"TemporaryFile(/tmp/multipartBody5374887717761191314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309922880,"filename":"image_02012026_00_20_05_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/2/78965ce20b83da7dcb1f643c60fe74da.jpg","text":"TemporaryFile(/tmp/multipartBody2568203127408236757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309922880,"filename":"image_02012026_00_20_45_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/2/7253191dd6162627251899f399aa2c61.jpg","text":"TemporaryFile(/tmp/multipartBody8688828324806412387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309922880,"filename":"image_02012026_00_20_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/2/73da55a4af4165f46ae7481c7fae70a2.jpg","text":"TemporaryFile(/tmp/multipartBody1062025794296751164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309922880,"filename":"image_02012026_00_19_55_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/2/2634e08d1b81ac4a596470d9838c7134.jpg","text":"TemporaryFile(/tmp/multipartBody426008129592352301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309922880,"filename":"image_02012026_00_20_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089292","file1":"1402089290","file0":"1402089289","file4":"1402089296","file5":"1402089298","file3":"1402089294"},"map_files_photo_id_array":[{"photo_id":"1402089298","filename":"file5"},{"photo_id":"1402089292","filename":"file2"},{"photo_id":"1402089296","filename":"file4"},{"photo_id":"1402089290","filename":"file1"},{"photo_id":"1402089289","filename":"file0"},{"photo_id":"1402089294","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089296":["hashtag1","hashtag2"]},{"1402089290":["hashtag1","hashtag2"]},{"1402089298":["hashtag1","hashtag2"]},{"1402089292":["hashtag1","hashtag2"]},{"1402089289":["hashtag1","hashtag2"]},{"1402089294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089296, 1402089290, 1402089298, 1402089292, 1402089289, 1402089294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65198826789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:25:03.186019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_55_10545.jpg', '/home/pi/Desktop/images/02012026/00/20/image_02012026_00_21_05_9542.jpg', '/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_14_9713.jpg', '/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_25_10707.jpg', '/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_35_9636.jpg', '/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_45_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/20/image_02012026_00_20_55_10545.jpg
/home/pi/Desktop/images/02012026/00/20/image_02012026_00_21_05_9542.jpg
/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_14_9713.jpg
/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_25_10707.jpg
/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_35_9636.jpg
/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_45_10623.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":["1402089306","1402089299","1402089302","1402089304","1402089301","1402089300"],"photo_ids_order":["1402089299","1402089300","1402089301","1402089302","1402089304","1402089306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4c61da9d031a5b01a5b8773b87eeefc.jpg","text":"TemporaryFile(/tmp/multipartBody3923183738788049117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309963893,"filename":"image_02012026_00_21_45_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/2/8d8cf0749aa6488e2582fc0cc7de4680.jpg","text":"TemporaryFile(/tmp/multipartBody7377373310704299449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309963893,"filename":"image_02012026_00_20_55_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/2/dbed8128928d2c7c79fb33cef10d3a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8287319212955909011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309963893,"filename":"image_02012026_00_21_25_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/2/99ad322a3fc240e9f11123c16fe2ca23.jpg","text":"TemporaryFile(/tmp/multipartBody2088502873385767439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309963893,"filename":"image_02012026_00_21_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/2/e653f087ac35e399320ea85fe7005efc.jpg","text":"TemporaryFile(/tmp/multipartBody3909439992291166880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309963893,"filename":"image_02012026_00_21_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/2/b873dbfa6bff66c8a75d1fb102b71988.jpg","text":"TemporaryFile(/tmp/multipartBody6761133003689736581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767309963893,"filename":"image_02012026_00_21_05_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089301","file1":"1402089300","file0":"1402089299","file4":"1402089304","file5":"1402089306","file3":"1402089302"},"map_files_photo_id_array":[{"photo_id":"1402089306","filename":"file5"},{"photo_id":"1402089301","filename":"file2"},{"photo_id":"1402089304","filename":"file4"},{"photo_id":"1402089300","filename":"file1"},{"photo_id":"1402089299","filename":"file0"},{"photo_id":"1402089302","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089306":["hashtag1","hashtag2"]},{"1402089299":["hashtag1","hashtag2"]},{"1402089302":["hashtag1","hashtag2"]},{"1402089304":["hashtag1","hashtag2"]},{"1402089301":["hashtag1","hashtag2"]},{"1402089300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089306, 1402089299, 1402089302, 1402089304, 1402089301, 1402089300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.010986328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:26:03.063314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_55_9705.jpg', '/home/pi/Desktop/images/02012026/00/21/image_02012026_00_22_05_9959.jpg', '/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_15_9825.jpg', '/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_25_9748.jpg', '/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_34_9872.jpg', '/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_45_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/21/image_02012026_00_21_55_9705.jpg
/home/pi/Desktop/images/02012026/00/21/image_02012026_00_22_05_9959.jpg
/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_15_9825.jpg
/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_25_9748.jpg
/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_34_9872.jpg
/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_45_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":["1402089312","1402089311","1402089314","1402089317","1402089313","1402089315"],"photo_ids_order":["1402089311","1402089312","1402089313","1402089314","1402089315","1402089317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa9f5844c9c68d24116e946cbbd2c858.jpg","text":"TemporaryFile(/tmp/multipartBody4959379916796180547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310023682,"filename":"image_02012026_00_22_05_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/2/7735f3f89560f783214de8456aa26152.jpg","text":"TemporaryFile(/tmp/multipartBody2844645950108870084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310023682,"filename":"image_02012026_00_21_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/2/bcde2efd93f9f30195db9ecd55e6e94a.jpg","text":"TemporaryFile(/tmp/multipartBody5249444985883370800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310023682,"filename":"image_02012026_00_22_25_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/2/b46d937c7d81eabe63fe9bce9f2a40e1.jpg","text":"TemporaryFile(/tmp/multipartBody4156937998483869995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310023682,"filename":"image_02012026_00_22_45_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/2/c30606680d3a1fc4cd504b384d252c91.jpg","text":"TemporaryFile(/tmp/multipartBody6947625337341954742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310023682,"filename":"image_02012026_00_22_15_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/2/5fe10acecf69ab34bd22d70f7319920c.jpg","text":"TemporaryFile(/tmp/multipartBody2953861597051290742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310023682,"filename":"image_02012026_00_22_34_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089313","file1":"1402089312","file0":"1402089311","file4":"1402089315","file5":"1402089317","file3":"1402089314"},"map_files_photo_id_array":[{"photo_id":"1402089317","filename":"file5"},{"photo_id":"1402089313","filename":"file2"},{"photo_id":"1402089315","filename":"file4"},{"photo_id":"1402089312","filename":"file1"},{"photo_id":"1402089311","filename":"file0"},{"photo_id":"1402089314","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089312":["hashtag1","hashtag2"]},{"1402089311":["hashtag1","hashtag2"]},{"1402089314":["hashtag1","hashtag2"]},{"1402089317":["hashtag1","hashtag2"]},{"1402089313":["hashtag1","hashtag2"]},{"1402089315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089312, 1402089311, 1402089314, 1402089317, 1402089313, 1402089315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23161554336548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:26:42.727466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_33_40_1684.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_42_1734.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_48_3986.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_53_1842.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_54_1809.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_58_4083.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/33/image_04112025_20_33_40_1684.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_42_1734.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_48_3986.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_53_1842.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_54_1809.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_58_4083.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7080330848693848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:27:02.572862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_55_9780.jpg', '/home/pi/Desktop/images/02012026/00/22/image_02012026_00_23_05_9732.jpg', '/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_14_9850.jpg', '/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_25_10696.jpg', '/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_35_9694.jpg', '/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/22/image_02012026_00_22_55_9780.jpg
/home/pi/Desktop/images/02012026/00/22/image_02012026_00_23_05_9732.jpg
/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_14_9850.jpg
/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_25_10696.jpg
/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_35_9694.jpg
/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_44_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089332","1402089334","1402089337","1402089339","1402089333","1402089336"],"photo_ids_order":["1402089332","1402089333","1402089334","1402089336","1402089337","1402089339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/afb4254c9786722876ff7555198d3874.jpg","text":"TemporaryFile(/tmp/multipartBody8964921497356588407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310083274,"filename":"image_02012026_00_22_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/2/92391f1e264f1dfed8bb593778c9c32f.jpg","text":"TemporaryFile(/tmp/multipartBody3703336081228385360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310083274,"filename":"image_02012026_00_23_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/2/1845ad8ad6aa8e91bf76266ee0b57804.jpg","text":"TemporaryFile(/tmp/multipartBody6033626860444665902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310083274,"filename":"image_02012026_00_23_35_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/2/486a119a357f9a37eb60ca6b67bd635e.jpg","text":"TemporaryFile(/tmp/multipartBody6331678783916790039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310083274,"filename":"image_02012026_00_23_44_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/2/9b40f094daf3aef74eaddd80f0f9cdcf.jpg","text":"TemporaryFile(/tmp/multipartBody5652493587408741999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310083274,"filename":"image_02012026_00_23_05_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/2/b20aa1949b13ae48c2a5b9225d1a6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody665161075380695109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310083274,"filename":"image_02012026_00_23_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089334","file1":"1402089333","file0":"1402089332","file4":"1402089337","file5":"1402089339","file3":"1402089336"},"map_files_photo_id_array":[{"photo_id":"1402089339","filename":"file5"},{"photo_id":"1402089334","filename":"file2"},{"photo_id":"1402089337","filename":"file4"},{"photo_id":"1402089333","filename":"file1"},{"photo_id":"1402089332","filename":"file0"},{"photo_id":"1402089336","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089332":["hashtag1","hashtag2"]},{"1402089334":["hashtag1","hashtag2"]},{"1402089337":["hashtag1","hashtag2"]},{"1402089339":["hashtag1","hashtag2"]},{"1402089333":["hashtag1","hashtag2"]},{"1402089336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089332, 1402089334, 1402089337, 1402089339, 1402089333, 1402089336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62941026687622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:27:41.920555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_33_40_1684.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_42_1734.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_48_3986.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_53_1842.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_54_1809.jpg', '/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_58_4083.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/33/image_04112025_20_33_40_1684.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_42_1734.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_48_3986.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_53_1842.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_54_1809.jpg
/home/pi/Desktop/images/04112025/20/33/image_04112025_20_33_58_4083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089350","1402089344","1402089347","1402089349","1402089346","1402089348"],"photo_ids_order":["1402089344","1402089346","1402089347","1402089348","1402089349","1402089350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a3cf68dd7f2623d75c663e68dae2bf53.jpg","text":"TemporaryFile(/tmp/multipartBody844934640554716163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310123613,"filename":"image_04112025_20_33_58_4083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bafcf6279244bd78638b94d515fc52da.jpg","text":"TemporaryFile(/tmp/multipartBody3392466717603611235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310123613,"filename":"image_04112025_20_33_40_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/2/f5f0b392f7a4eda38bc10ed8a1febbbf.jpg","text":"TemporaryFile(/tmp/multipartBody7913809302596377113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310123613,"filename":"image_04112025_20_33_48_3986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2327d4a968d2892864cfe5138afb879e.jpg","text":"TemporaryFile(/tmp/multipartBody5899984509203710370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310123613,"filename":"image_04112025_20_33_54_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/2/70ceaad634c041bd0893471aadb02623.jpg","text":"TemporaryFile(/tmp/multipartBody3916423726975475776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310123613,"filename":"image_04112025_20_33_42_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/2/f1f16a98facc781e094d38a26732f400.jpg","text":"TemporaryFile(/tmp/multipartBody5139145567334439577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310123613,"filename":"image_04112025_20_33_53_1842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089347","file1":"1402089346","file0":"1402089344","file4":"1402089349","file5":"1402089350","file3":"1402089348"},"map_files_photo_id_array":[{"photo_id":"1402089350","filename":"file5"},{"photo_id":"1402089347","filename":"file2"},{"photo_id":"1402089349","filename":"file4"},{"photo_id":"1402089346","filename":"file1"},{"photo_id":"1402089344","filename":"file0"},{"photo_id":"1402089348","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089350":["hashtag1","hashtag2"]},{"1402089344":["hashtag1","hashtag2"]},{"1402089347":["hashtag1","hashtag2"]},{"1402089349":["hashtag1","hashtag2"]},{"1402089346":["hashtag1","hashtag2"]},{"1402089348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089350, 1402089344, 1402089347, 1402089349, 1402089346, 1402089348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92960047721863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:28:22.133336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_55_10684.jpg', '/home/pi/Desktop/images/02012026/00/23/image_02012026_00_24_05_9642.jpg', '/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_14_9753.jpg', '/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_25_10764.jpg', '/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_35_9691.jpg', '/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_45_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/23/image_02012026_00_23_55_10684.jpg
/home/pi/Desktop/images/02012026/00/23/image_02012026_00_24_05_9642.jpg
/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_14_9753.jpg
/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_25_10764.jpg
/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_35_9691.jpg
/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_45_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":["1402089356","1402089359","1402089361","1402089358","1402089351","1402089354"],"photo_ids_order":["1402089351","1402089354","1402089356","1402089358","1402089359","1402089361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/373da0f393e0b61d5ebba917507bda53.jpg","text":"TemporaryFile(/tmp/multipartBody2390345669465500720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310162729,"filename":"image_02012026_00_24_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/2/5bc830bde17ded5c8365a653577e8317.jpg","text":"TemporaryFile(/tmp/multipartBody413373019967597801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310162729,"filename":"image_02012026_00_24_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/2/683efac3167515d6b99e6a874fc2c1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4488215422193305220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310162729,"filename":"image_02012026_00_24_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/2/56a38ff7fdbd0b819987cdb06488f812.jpg","text":"TemporaryFile(/tmp/multipartBody6246648362242290792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310162729,"filename":"image_02012026_00_24_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/2/da541fdc2e92a97fb81c3c13aa19bdec.jpg","text":"TemporaryFile(/tmp/multipartBody2732533328240672625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310162729,"filename":"image_02012026_00_23_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/2/6c8a87ad23d6cf1f5984998a07442b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2873647864426629933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310162729,"filename":"image_02012026_00_24_05_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089356","file1":"1402089354","file0":"1402089351","file4":"1402089359","file5":"1402089361","file3":"1402089358"},"map_files_photo_id_array":[{"photo_id":"1402089361","filename":"file5"},{"photo_id":"1402089356","filename":"file2"},{"photo_id":"1402089359","filename":"file4"},{"photo_id":"1402089354","filename":"file1"},{"photo_id":"1402089351","filename":"file0"},{"photo_id":"1402089358","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089356":["hashtag1","hashtag2"]},{"1402089359":["hashtag1","hashtag2"]},{"1402089361":["hashtag1","hashtag2"]},{"1402089358":["hashtag1","hashtag2"]},{"1402089351":["hashtag1","hashtag2"]},{"1402089354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089356, 1402089359, 1402089361, 1402089358, 1402089351, 1402089354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2714467048645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:29:03.182218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_54_9695.jpg', '/home/pi/Desktop/images/02012026/00/24/image_02012026_00_25_05_10767.jpg', '/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_15_9706.jpg', '/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_25_9708.jpg', '/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_34_9824.jpg', '/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_45_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/24/image_02012026_00_24_54_9695.jpg
/home/pi/Desktop/images/02012026/00/24/image_02012026_00_25_05_10767.jpg
/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_15_9706.jpg
/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_25_9708.jpg
/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_34_9824.jpg
/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402089373","1402089367","1402089364","1402089363","1402089366","1402089369"],"photo_ids_order":["1402089363","1402089364","1402089366","1402089367","1402089369","1402089373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a1af635fff4320181c126c2e5cb7117.jpg","text":"TemporaryFile(/tmp/multipartBody7442141147950282545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310204075,"filename":"image_02012026_00_25_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/2/bec03858214fae2b1a3afa88e867f03b.jpg","text":"TemporaryFile(/tmp/multipartBody8016695334112890516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310204075,"filename":"image_02012026_00_25_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/2/e37bf41c5e33e0ac704abe4b92f2844b.jpg","text":"TemporaryFile(/tmp/multipartBody4837316778132313065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310204075,"filename":"image_02012026_00_25_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/2/dc8a2ec48a47c105441c857242bb6027.jpg","text":"TemporaryFile(/tmp/multipartBody1503544719514025970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310204075,"filename":"image_02012026_00_24_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/2/7917f7f69ab8f10686e23685e11060a2.jpg","text":"TemporaryFile(/tmp/multipartBody1959913929993807120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310204075,"filename":"image_02012026_00_25_15_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/2/5ffc756f655734bb366bdc7c2ce7a76f.jpg","text":"TemporaryFile(/tmp/multipartBody5401768193595424770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310204075,"filename":"image_02012026_00_25_34_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089366","file1":"1402089364","file0":"1402089363","file4":"1402089369","file5":"1402089373","file3":"1402089367"},"map_files_photo_id_array":[{"photo_id":"1402089373","filename":"file5"},{"photo_id":"1402089366","filename":"file2"},{"photo_id":"1402089369","filename":"file4"},{"photo_id":"1402089364","filename":"file1"},{"photo_id":"1402089363","filename":"file0"},{"photo_id":"1402089367","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089373":["hashtag1","hashtag2"]},{"1402089367":["hashtag1","hashtag2"]},{"1402089364":["hashtag1","hashtag2"]},{"1402089363":["hashtag1","hashtag2"]},{"1402089366":["hashtag1","hashtag2"]},{"1402089369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089373, 1402089367, 1402089364, 1402089363, 1402089366, 1402089369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.992228746414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:30:02.339583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_55_9589.jpg', '/home/pi/Desktop/images/02012026/00/25/image_02012026_00_26_05_10555.jpg', '/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_15_9656.jpg', '/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_25_9670.jpg', '/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_34_9947.jpg', '/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_45_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/25/image_02012026_00_25_55_9589.jpg
/home/pi/Desktop/images/02012026/00/25/image_02012026_00_26_05_10555.jpg
/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_15_9656.jpg
/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_25_9670.jpg
/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_34_9947.jpg
/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_45_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":["1402089386","1402089383","1402089385","1402089382","1402089381","1402089384"],"photo_ids_order":["1402089381","1402089382","1402089383","1402089384","1402089385","1402089386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83631a25727a888515759ada9420dc05.jpg","text":"TemporaryFile(/tmp/multipartBody7069055365207251113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310262948,"filename":"image_02012026_00_26_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/2/cfc7c1dfdd859ff0b74cda3b5402ee89.jpg","text":"TemporaryFile(/tmp/multipartBody3335380916618364868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310262948,"filename":"image_02012026_00_26_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/2/9591faf7e8266df7333c14729ae7b4e3.jpg","text":"TemporaryFile(/tmp/multipartBody3937465487568718732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310262948,"filename":"image_02012026_00_26_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/2/66cf3b6bc4801d51a3b05daf5c4c4d7d.jpg","text":"TemporaryFile(/tmp/multipartBody4966221040419045400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310262948,"filename":"image_02012026_00_26_05_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/2/4598e4e1fbd3c8926b62a95008c83b76.jpg","text":"TemporaryFile(/tmp/multipartBody4191010589014535053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310262948,"filename":"image_02012026_00_25_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/2/caa373c85e2d5ec0e2e3663d08955df2.jpg","text":"TemporaryFile(/tmp/multipartBody2636529433441125697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310262948,"filename":"image_02012026_00_26_25_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089383","file1":"1402089382","file0":"1402089381","file4":"1402089385","file5":"1402089386","file3":"1402089384"},"map_files_photo_id_array":[{"photo_id":"1402089386","filename":"file5"},{"photo_id":"1402089383","filename":"file2"},{"photo_id":"1402089385","filename":"file4"},{"photo_id":"1402089382","filename":"file1"},{"photo_id":"1402089381","filename":"file0"},{"photo_id":"1402089384","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089386":["hashtag1","hashtag2"]},{"1402089383":["hashtag1","hashtag2"]},{"1402089385":["hashtag1","hashtag2"]},{"1402089382":["hashtag1","hashtag2"]},{"1402089381":["hashtag1","hashtag2"]},{"1402089384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089386, 1402089383, 1402089385, 1402089382, 1402089381, 1402089384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28435754776001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:30:41.977857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/33/image_04112025_20_34_00_1761.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_04_4044.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_19_13268.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_21_1752.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_23_1729.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_24_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/20/33/image_04112025_20_34_00_1761.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_04_4044.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_19_13268.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_21_1752.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_23_1729.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_24_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":["1402089392","1402089395","1402089397","1402089401","1402089403","1402089399"],"photo_ids_order":["1402089392","1402089395","1402089397","1402089399","1402089401","1402089403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2e49a41db766c7d7b6e78c1b510c03a2.jpg","text":"TemporaryFile(/tmp/multipartBody8026558589788940424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310303792,"filename":"image_04112025_20_34_00_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/2/d6aa680f5d8397a9a9c08842a31c94e3.jpg","text":"TemporaryFile(/tmp/multipartBody2251606597704827445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310303792,"filename":"image_04112025_20_34_04_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/2/ffad9fd3031deb40451f078edca9898c.jpg","text":"TemporaryFile(/tmp/multipartBody5944693679855649271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310303792,"filename":"image_04112025_20_34_19_13268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d63219e25943e7215095387572cec7f0.jpg","text":"TemporaryFile(/tmp/multipartBody8613256064055606378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310303792,"filename":"image_04112025_20_34_23_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/2/70f06e75f9ef923b41c01cc2866fbce5.jpg","text":"TemporaryFile(/tmp/multipartBody6036485878880580431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310303792,"filename":"image_04112025_20_34_24_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/2/09d35783317638cb40e9d1261bc8748e.jpg","text":"TemporaryFile(/tmp/multipartBody1657848557004770851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310303792,"filename":"image_04112025_20_34_21_1752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089397","file1":"1402089395","file0":"1402089392","file4":"1402089401","file5":"1402089403","file3":"1402089399"},"map_files_photo_id_array":[{"photo_id":"1402089403","filename":"file5"},{"photo_id":"1402089397","filename":"file2"},{"photo_id":"1402089401","filename":"file4"},{"photo_id":"1402089395","filename":"file1"},{"photo_id":"1402089392","filename":"file0"},{"photo_id":"1402089399","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089392":["hashtag1","hashtag2"]},{"1402089395":["hashtag1","hashtag2"]},{"1402089397":["hashtag1","hashtag2"]},{"1402089401":["hashtag1","hashtag2"]},{"1402089403":["hashtag1","hashtag2"]},{"1402089399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089392, 1402089395, 1402089397, 1402089401, 1402089403, 1402089399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.397730112075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:31:32.198070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/34/image_04112025_20_34_28_1688.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_30_1805.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_31_1745.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_38_1551.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_40_1645.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_41_1740.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/34/image_04112025_20_34_28_1688.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_30_1805.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_31_1745.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_38_1551.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_40_1645.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_41_1740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7028777599334717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:31:42.191617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/34/image_04112025_20_34_28_1688.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_30_1805.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_31_1745.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_38_1551.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_40_1645.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_41_1740.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/34/image_04112025_20_34_28_1688.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_30_1805.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_31_1745.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_38_1551.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_40_1645.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_41_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":["1402089417","1402089419","1402089416","1402089418","1402089412","1402089414"],"photo_ids_order":["1402089412","1402089414","1402089416","1402089417","1402089418","1402089419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ffde477a0e029ed220beafdee7f88293.jpg","text":"TemporaryFile(/tmp/multipartBody5006089969083934880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310363870,"filename":"image_04112025_20_34_38_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/2/2ea58d45bc344c762221e0f2da446758.jpg","text":"TemporaryFile(/tmp/multipartBody3668852090608026510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310363870,"filename":"image_04112025_20_34_41_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/2/ec69506666921e111ac2e83a35cb1931.jpg","text":"TemporaryFile(/tmp/multipartBody1436355113255194267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310363870,"filename":"image_04112025_20_34_31_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/2/47bda5cd41c4420460b4c5719a1637ad.jpg","text":"TemporaryFile(/tmp/multipartBody6386362623970158668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310363870,"filename":"image_04112025_20_34_40_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/2/4957f52745394278b6d8250e32fbd5a5.jpg","text":"TemporaryFile(/tmp/multipartBody2385555844945517168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310363870,"filename":"image_04112025_20_34_28_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/2/f5600dc8d7429fa8889e812031fe3f93.jpg","text":"TemporaryFile(/tmp/multipartBody8987390829460730291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310363870,"filename":"image_04112025_20_34_30_1805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089416","file1":"1402089414","file0":"1402089412","file4":"1402089418","file5":"1402089419","file3":"1402089417"},"map_files_photo_id_array":[{"photo_id":"1402089419","filename":"file5"},{"photo_id":"1402089416","filename":"file2"},{"photo_id":"1402089418","filename":"file4"},{"photo_id":"1402089414","filename":"file1"},{"photo_id":"1402089412","filename":"file0"},{"photo_id":"1402089417","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089417":["hashtag1","hashtag2"]},{"1402089419":["hashtag1","hashtag2"]},{"1402089416":["hashtag1","hashtag2"]},{"1402089418":["hashtag1","hashtag2"]},{"1402089412":["hashtag1","hashtag2"]},{"1402089414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089417, 1402089419, 1402089416, 1402089418, 1402089412, 1402089414)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.727168798446655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:32:32.414217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/34/image_04112025_20_34_43_1674.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_46_1549.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_48_1651.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_51_1599.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_53_1589.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_54_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/20/34/image_04112025_20_34_43_1674.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_46_1549.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_48_1651.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_51_1599.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_53_1589.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_54_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":["1402089423","1402089431","1402089425","1402089433","1402089427","1402089432"],"photo_ids_order":["1402089423","1402089425","1402089427","1402089431","1402089432","1402089433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b1d3898f2f9699dfa9b77cc9b857680.jpg","text":"TemporaryFile(/tmp/multipartBody863017781815375587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310414222,"filename":"image_04112025_20_34_43_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/2/311c198a038d1d7406e2ac1951c382ea.jpg","text":"TemporaryFile(/tmp/multipartBody9111660725934405814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310414222,"filename":"image_04112025_20_34_51_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/2/cb816b6b3540de9a89eded566961a818.jpg","text":"TemporaryFile(/tmp/multipartBody8461750322035211968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310414222,"filename":"image_04112025_20_34_46_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/2/56329c4ea767b70e4976d472efb29729.jpg","text":"TemporaryFile(/tmp/multipartBody5651335552664419775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310414222,"filename":"image_04112025_20_34_54_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/2/ebd73c8ea442a8bc37bec06beadb5209.jpg","text":"TemporaryFile(/tmp/multipartBody4606165688610666389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310414222,"filename":"image_04112025_20_34_48_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/2/cbb2b50f81479cd7a21eff7230eb59b5.jpg","text":"TemporaryFile(/tmp/multipartBody1243355292318160421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310414222,"filename":"image_04112025_20_34_53_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089427","file1":"1402089425","file0":"1402089423","file4":"1402089432","file5":"1402089433","file3":"1402089431"},"map_files_photo_id_array":[{"photo_id":"1402089433","filename":"file5"},{"photo_id":"1402089427","filename":"file2"},{"photo_id":"1402089432","filename":"file4"},{"photo_id":"1402089425","filename":"file1"},{"photo_id":"1402089423","filename":"file0"},{"photo_id":"1402089431","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089423":["hashtag1","hashtag2"]},{"1402089431":["hashtag1","hashtag2"]},{"1402089425":["hashtag1","hashtag2"]},{"1402089433":["hashtag1","hashtag2"]},{"1402089427":["hashtag1","hashtag2"]},{"1402089432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089423, 1402089431, 1402089425, 1402089433, 1402089427, 1402089432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53630089759827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:33:12.460728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/34/image_04112025_20_34_56_1641.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_58_1850.jpg', '/home/pi/Desktop/images/04112025/20/34/image_04112025_20_35_00_1897.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_03_1728.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_16_12910.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_18_1773.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/34/image_04112025_20_34_56_1641.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_34_58_1850.jpg
/home/pi/Desktop/images/04112025/20/34/image_04112025_20_35_00_1897.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_03_1728.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_16_12910.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_18_1773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089440","1402089434","1402089442","1402089436","1402089438","1402089435"],"photo_ids_order":["1402089434","1402089435","1402089436","1402089438","1402089440","1402089442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ce7abdccb0a3cb458125cf0308cade3.jpg","text":"TemporaryFile(/tmp/multipartBody1889448974958321238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310454159,"filename":"image_04112025_20_35_16_12910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa7fd7c4ed99b11a1aa43d663df8ff22.jpg","text":"TemporaryFile(/tmp/multipartBody955379088889910721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310454159,"filename":"image_04112025_20_34_56_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/2/3cfc81b9ce17fc6a430e1895024569f9.jpg","text":"TemporaryFile(/tmp/multipartBody7564129488190554755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310454159,"filename":"image_04112025_20_35_18_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/2/2f3d95ddaaa924c139e91af743e933d4.jpg","text":"TemporaryFile(/tmp/multipartBody4683081876211405756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310454159,"filename":"image_04112025_20_35_00_1897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8301aea5410146ab3e039f6637f80be6.jpg","text":"TemporaryFile(/tmp/multipartBody4779519121609913596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310454159,"filename":"image_04112025_20_35_03_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/2/83f9973d85587ef0c148be570598fb75.jpg","text":"TemporaryFile(/tmp/multipartBody7401460590269110329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310454159,"filename":"image_04112025_20_34_58_1850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089436","file1":"1402089435","file0":"1402089434","file4":"1402089440","file5":"1402089442","file3":"1402089438"},"map_files_photo_id_array":[{"photo_id":"1402089442","filename":"file5"},{"photo_id":"1402089436","filename":"file2"},{"photo_id":"1402089440","filename":"file4"},{"photo_id":"1402089435","filename":"file1"},{"photo_id":"1402089434","filename":"file0"},{"photo_id":"1402089438","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089440":["hashtag1","hashtag2"]},{"1402089434":["hashtag1","hashtag2"]},{"1402089442":["hashtag1","hashtag2"]},{"1402089436":["hashtag1","hashtag2"]},{"1402089438":["hashtag1","hashtag2"]},{"1402089435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089440, 1402089434, 1402089442, 1402089436, 1402089438, 1402089435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88975119590759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:34:03.128044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_55_9722.jpg', '/home/pi/Desktop/images/02012026/00/26/image_02012026_00_27_04_9729.jpg', '/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_15_10755.jpg', '/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_35_9620.jpg', '/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_45_10653.jpg', '/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/26/image_02012026_00_26_55_9722.jpg
/home/pi/Desktop/images/02012026/00/26/image_02012026_00_27_04_9729.jpg
/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_15_10755.jpg
/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_35_9620.jpg
/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_45_10653.jpg
/home/pi/Desktop/images/02012026/00/27/image_02012026_00_27_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":["1402089449","1402089446","1402089451","1402089445","1402089448","1402089447"],"photo_ids_order":["1402089445","1402089446","1402089447","1402089448","1402089449","1402089451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be1105cf26419fbb62b15d4fa0eff972.jpg","text":"TemporaryFile(/tmp/multipartBody7134148833649094394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310503846,"filename":"image_02012026_00_27_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/2/08302508dbbbee69a19429cff4ec374e.jpg","text":"TemporaryFile(/tmp/multipartBody8844180637712052852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310503846,"filename":"image_02012026_00_27_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/2/60d6a6426fd4af1f32c4515432c12a07.jpg","text":"TemporaryFile(/tmp/multipartBody5621948584250988403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310503846,"filename":"image_02012026_00_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/2/1a50a0f8715f8d37e715b7d27c804616.jpg","text":"TemporaryFile(/tmp/multipartBody332989713595230415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310503846,"filename":"image_02012026_00_26_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/2/5abf341b1fadff15a261a8fe43c95e91.jpg","text":"TemporaryFile(/tmp/multipartBody776929637790622424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310503846,"filename":"image_02012026_00_27_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/2/8043d3ae62b68b13a01aa192370d6217.jpg","text":"TemporaryFile(/tmp/multipartBody5735110950049969129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310503846,"filename":"image_02012026_00_27_15_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089447","file1":"1402089446","file0":"1402089445","file4":"1402089449","file5":"1402089451","file3":"1402089448"},"map_files_photo_id_array":[{"photo_id":"1402089451","filename":"file5"},{"photo_id":"1402089447","filename":"file2"},{"photo_id":"1402089449","filename":"file4"},{"photo_id":"1402089446","filename":"file1"},{"photo_id":"1402089445","filename":"file0"},{"photo_id":"1402089448","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089449":["hashtag1","hashtag2"]},{"1402089446":["hashtag1","hashtag2"]},{"1402089451":["hashtag1","hashtag2"]},{"1402089445":["hashtag1","hashtag2"]},{"1402089448":["hashtag1","hashtag2"]},{"1402089447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089449, 1402089446, 1402089451, 1402089445, 1402089448, 1402089447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21767711639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:34:42.654874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/35/image_04112025_20_35_22_4559.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_24_1579.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_29_1738.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_32_1631.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_38_5424.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_41_2987.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/35/image_04112025_20_35_22_4559.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_24_1579.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_29_1738.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_32_1631.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_38_5424.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_41_2987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089461","1402089458","1402089460","1402089462","1402089456","1402089459"],"photo_ids_order":["1402089456","1402089458","1402089459","1402089460","1402089461","1402089462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb6e2c6153fa3d100876e3a86c9c6a89.jpg","text":"TemporaryFile(/tmp/multipartBody992098448820500751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310544466,"filename":"image_04112025_20_35_38_5424.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1103a5c2a206ed3d25c1ffaab273c905.jpg","text":"TemporaryFile(/tmp/multipartBody5145031095006075627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310544466,"filename":"image_04112025_20_35_24_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/2/42f5b406be3995e5082f329e04495aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6966362727703659761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310544466,"filename":"image_04112025_20_35_32_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/2/1db84e4c61f49887d85d5cde7d638aa1.jpg","text":"TemporaryFile(/tmp/multipartBody818535381695912162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310544466,"filename":"image_04112025_20_35_41_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed5e2a96d1e71c0fe43f414f344325d1.jpg","text":"TemporaryFile(/tmp/multipartBody1982047184938705826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310544466,"filename":"image_04112025_20_35_22_4559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/efe9371cd78a7589e19bb35c93dfe10d.jpg","text":"TemporaryFile(/tmp/multipartBody613440579587246767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310544466,"filename":"image_04112025_20_35_29_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089459","file1":"1402089458","file0":"1402089456","file4":"1402089461","file5":"1402089462","file3":"1402089460"},"map_files_photo_id_array":[{"photo_id":"1402089462","filename":"file5"},{"photo_id":"1402089459","filename":"file2"},{"photo_id":"1402089461","filename":"file4"},{"photo_id":"1402089458","filename":"file1"},{"photo_id":"1402089456","filename":"file0"},{"photo_id":"1402089460","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089461":["hashtag1","hashtag2"]},{"1402089458":["hashtag1","hashtag2"]},{"1402089460":["hashtag1","hashtag2"]},{"1402089462":["hashtag1","hashtag2"]},{"1402089456":["hashtag1","hashtag2"]},{"1402089459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089461, 1402089458, 1402089460, 1402089462, 1402089456, 1402089459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05905365943909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:35:22.802593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/27/image_02012026_00_28_05_9686.jpg', '/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_14_9739.jpg', '/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_25_10694.jpg', '/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_35_9597.jpg', '/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_44_9697.jpg', '/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_55_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/27/image_02012026_00_28_05_9686.jpg
/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_14_9739.jpg
/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_25_10694.jpg
/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_35_9597.jpg
/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_44_9697.jpg
/home/pi/Desktop/images/02012026/00/28/image_02012026_00_28_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":["1402089470","1402089464","1402089472","1402089466","1402089474","1402089468"],"photo_ids_order":["1402089464","1402089466","1402089468","1402089470","1402089472","1402089474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/849c66d16ea9fa8f5e3d4a5041bfd25d.jpg","text":"TemporaryFile(/tmp/multipartBody477412871443525389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310583460,"filename":"image_02012026_00_28_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/2/232bae3b46ee98b3826682fdbf800d97.jpg","text":"TemporaryFile(/tmp/multipartBody780807435124730848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310583460,"filename":"image_02012026_00_28_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/2/321af158115e8c406ecb3323a32cb01b.jpg","text":"TemporaryFile(/tmp/multipartBody5580768013890584613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310583460,"filename":"image_02012026_00_28_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/2/c076e1374a79a1592ddc87b01b6feefe.jpg","text":"TemporaryFile(/tmp/multipartBody5767626288933194345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310583460,"filename":"image_02012026_00_28_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/2/acbdf8556c103cd3b3e17232093b3d4f.jpg","text":"TemporaryFile(/tmp/multipartBody639141767272054859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310583460,"filename":"image_02012026_00_28_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/2/6a3b8ad44884f881a495bd1ba2c53925.jpg","text":"TemporaryFile(/tmp/multipartBody5615083154187804832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310583460,"filename":"image_02012026_00_28_25_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089468","file1":"1402089466","file0":"1402089464","file4":"1402089472","file5":"1402089474","file3":"1402089470"},"map_files_photo_id_array":[{"photo_id":"1402089474","filename":"file5"},{"photo_id":"1402089468","filename":"file2"},{"photo_id":"1402089472","filename":"file4"},{"photo_id":"1402089466","filename":"file1"},{"photo_id":"1402089464","filename":"file0"},{"photo_id":"1402089470","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089470":["hashtag1","hashtag2"]},{"1402089464":["hashtag1","hashtag2"]},{"1402089472":["hashtag1","hashtag2"]},{"1402089466":["hashtag1","hashtag2"]},{"1402089474":["hashtag1","hashtag2"]},{"1402089468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089470, 1402089464, 1402089472, 1402089466, 1402089474, 1402089468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.400514125823975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:36:02.480669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/28/image_02012026_00_29_05_9692.jpg', '/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_14_9760.jpg', '/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_25_10710.jpg', '/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_35_9679.jpg', '/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_44_9677.jpg', '/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_55_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/28/image_02012026_00_29_05_9692.jpg
/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_14_9760.jpg
/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_25_10710.jpg
/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_35_9679.jpg
/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_44_9677.jpg
/home/pi/Desktop/images/02012026/00/29/image_02012026_00_29_55_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089482","1402089476","1402089479","1402089475","1402089480","1402089477"],"photo_ids_order":["1402089475","1402089476","1402089477","1402089479","1402089480","1402089482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cce7efbc494c675bf404565796a00f90.jpg","text":"TemporaryFile(/tmp/multipartBody3611093517410659562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310623111,"filename":"image_02012026_00_29_55_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/2/ceeef8057dffb6a61c4e17726ce03dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6526137465850579818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310623111,"filename":"image_02012026_00_29_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/2/13c6dd5321126ffab37899fe377b7f3b.jpg","text":"TemporaryFile(/tmp/multipartBody2033887023106148306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310623111,"filename":"image_02012026_00_29_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/2/fc918d8fb99ec9a84879c66fae33d789.jpg","text":"TemporaryFile(/tmp/multipartBody436129269395771813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310623111,"filename":"image_02012026_00_29_05_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/2/bff63e9d79f9bf1dacea9dc6b6596d95.jpg","text":"TemporaryFile(/tmp/multipartBody1158967831873253668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310623111,"filename":"image_02012026_00_29_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/2/c03b7576c50614f615ad71b4fe440e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7573115421351948894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310623111,"filename":"image_02012026_00_29_25_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089477","file1":"1402089476","file0":"1402089475","file4":"1402089480","file5":"1402089482","file3":"1402089479"},"map_files_photo_id_array":[{"photo_id":"1402089482","filename":"file5"},{"photo_id":"1402089477","filename":"file2"},{"photo_id":"1402089480","filename":"file4"},{"photo_id":"1402089476","filename":"file1"},{"photo_id":"1402089475","filename":"file0"},{"photo_id":"1402089479","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089482":["hashtag1","hashtag2"]},{"1402089476":["hashtag1","hashtag2"]},{"1402089479":["hashtag1","hashtag2"]},{"1402089475":["hashtag1","hashtag2"]},{"1402089480":["hashtag1","hashtag2"]},{"1402089477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089482, 1402089476, 1402089479, 1402089475, 1402089480, 1402089477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.234087228775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:36:42.105017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/35/image_04112025_20_35_48_1742.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_49_1689.jpg', '/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_59_1876.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_01_1789.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_03_1847.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_08_4836.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/35/image_04112025_20_35_48_1742.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_49_1689.jpg
/home/pi/Desktop/images/04112025/20/35/image_04112025_20_35_59_1876.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_01_1789.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_03_1847.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_08_4836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089491","1402089490","1402089493","1402089487","1402089492","1402089489"],"photo_ids_order":["1402089487","1402089489","1402089490","1402089491","1402089492","1402089493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/02b7ec54625811af10aa30d13d3f45c5.jpg","text":"TemporaryFile(/tmp/multipartBody8412751094096606980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310663928,"filename":"image_04112025_20_36_01_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/2/a4492828af184adf0db622da11e8216a.jpg","text":"TemporaryFile(/tmp/multipartBody2259925050490030543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310663928,"filename":"image_04112025_20_35_59_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/2/1a31b8bd93d6de9e74ee93665ae8d394.jpg","text":"TemporaryFile(/tmp/multipartBody1744012783033187872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310663928,"filename":"image_04112025_20_36_08_4836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75ca242c5a3c0e6ca7bf02eb39420b04.jpg","text":"TemporaryFile(/tmp/multipartBody4380852651520501148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310663928,"filename":"image_04112025_20_35_48_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/2/faf3422d4d1147c444a1156e3fae9d17.jpg","text":"TemporaryFile(/tmp/multipartBody2652921360291495777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310663928,"filename":"image_04112025_20_36_03_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/2/99d48c031861c33f9de37a08789bd192.jpg","text":"TemporaryFile(/tmp/multipartBody3958772783658598949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310663928,"filename":"image_04112025_20_35_49_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089490","file1":"1402089489","file0":"1402089487","file4":"1402089492","file5":"1402089493","file3":"1402089491"},"map_files_photo_id_array":[{"photo_id":"1402089493","filename":"file5"},{"photo_id":"1402089490","filename":"file2"},{"photo_id":"1402089492","filename":"file4"},{"photo_id":"1402089489","filename":"file1"},{"photo_id":"1402089487","filename":"file0"},{"photo_id":"1402089491","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089491":["hashtag1","hashtag2"]},{"1402089490":["hashtag1","hashtag2"]},{"1402089493":["hashtag1","hashtag2"]},{"1402089487":["hashtag1","hashtag2"]},{"1402089492":["hashtag1","hashtag2"]},{"1402089489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089491, 1402089490, 1402089493, 1402089487, 1402089492, 1402089489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74997043609619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:37:22.283230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_05_9908.jpg', '/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_15_9816.jpg', '/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_24_9630.jpg', '/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_35_10755.jpg', '/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_55_19424.jpg', '/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_56_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_05_9908.jpg
/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_15_9816.jpg
/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_24_9630.jpg
/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_35_10755.jpg
/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_55_19424.jpg
/home/pi/Desktop/images/02012026/00/30/image_02012026_00_30_56_1574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089501","1402089494","1402089497","1402089503","1402089499","1402089505"],"photo_ids_order":["1402089494","1402089497","1402089499","1402089501","1402089503","1402089505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1a88e51718310f2852231ac3ad4d701b.jpg","text":"TemporaryFile(/tmp/multipartBody5877437731383622464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310702880,"filename":"image_02012026_00_30_35_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/2/4615dfd0b4466a959c9e7930a1a54205.jpg","text":"TemporaryFile(/tmp/multipartBody934368150091879046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310702880,"filename":"image_02012026_00_30_05_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/2/c45dc211baf7a9fbf437c1bad5bcbf27.jpg","text":"TemporaryFile(/tmp/multipartBody6241904489308083932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310702880,"filename":"image_02012026_00_30_15_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/2/dd054df5eeed47f565e03631ad796c75.jpg","text":"TemporaryFile(/tmp/multipartBody5826611521032454082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310702880,"filename":"image_02012026_00_30_55_19424.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/823b659961f6d52862c927ae24b423bd.jpg","text":"TemporaryFile(/tmp/multipartBody472260571301694142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310702880,"filename":"image_02012026_00_30_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/2/8c286c17a01b53824ed73488605452cb.jpg","text":"TemporaryFile(/tmp/multipartBody7950596808410487889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310702880,"filename":"image_02012026_00_30_56_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089499","file1":"1402089497","file0":"1402089494","file4":"1402089503","file5":"1402089505","file3":"1402089501"},"map_files_photo_id_array":[{"photo_id":"1402089505","filename":"file5"},{"photo_id":"1402089499","filename":"file2"},{"photo_id":"1402089503","filename":"file4"},{"photo_id":"1402089497","filename":"file1"},{"photo_id":"1402089494","filename":"file0"},{"photo_id":"1402089501","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089501":["hashtag1","hashtag2"]},{"1402089494":["hashtag1","hashtag2"]},{"1402089497":["hashtag1","hashtag2"]},{"1402089503":["hashtag1","hashtag2"]},{"1402089499":["hashtag1","hashtag2"]},{"1402089505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089501, 1402089494, 1402089497, 1402089503, 1402089499, 1402089505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.291609048843384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:38:03.080391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_15_9818.jpg', '/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_24_9868.jpg', '/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_35_10699.jpg', '/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_45_9690.jpg', '/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_54_9671.jpg', '/home/pi/Desktop/images/02012026/00/31/image_02012026_00_32_05_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_15_9818.jpg
/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_24_9868.jpg
/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_35_10699.jpg
/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_45_9690.jpg
/home/pi/Desktop/images/02012026/00/31/image_02012026_00_31_54_9671.jpg
/home/pi/Desktop/images/02012026/00/31/image_02012026_00_32_05_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":["1402089506","1402089509","1402089508","1402089511","1402089510","1402089507"],"photo_ids_order":["1402089506","1402089507","1402089508","1402089509","1402089510","1402089511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1271e37990c4ec387455bd66463909f8.jpg","text":"TemporaryFile(/tmp/multipartBody817222320888277321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310743704,"filename":"image_02012026_00_31_15_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/2/02bc7477651bfbd5c92ff88c0a077572.jpg","text":"TemporaryFile(/tmp/multipartBody3115317594957189459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310743704,"filename":"image_02012026_00_31_45_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/2/08239a61109497c060d58eb03b002991.jpg","text":"TemporaryFile(/tmp/multipartBody8437793307605632374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310743704,"filename":"image_02012026_00_31_35_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/2/93017b4eca18e1641b8634d68ba70f26.jpg","text":"TemporaryFile(/tmp/multipartBody7310896244827579263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310743704,"filename":"image_02012026_00_32_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/2/5edaf1f0f18a4e2e9f3053000b4dfef6.jpg","text":"TemporaryFile(/tmp/multipartBody1951480716877794327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310743704,"filename":"image_02012026_00_31_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/2/6a07ece83c67988062bf4f724403c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3592981557676674921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310743704,"filename":"image_02012026_00_31_24_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089508","file1":"1402089507","file0":"1402089506","file4":"1402089510","file5":"1402089511","file3":"1402089509"},"map_files_photo_id_array":[{"photo_id":"1402089511","filename":"file5"},{"photo_id":"1402089508","filename":"file2"},{"photo_id":"1402089510","filename":"file4"},{"photo_id":"1402089507","filename":"file1"},{"photo_id":"1402089506","filename":"file0"},{"photo_id":"1402089509","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089506":["hashtag1","hashtag2"]},{"1402089509":["hashtag1","hashtag2"]},{"1402089508":["hashtag1","hashtag2"]},{"1402089511":["hashtag1","hashtag2"]},{"1402089510":["hashtag1","hashtag2"]},{"1402089507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089506, 1402089509, 1402089508, 1402089511, 1402089510, 1402089507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07461380958557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:38:42.579341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/36/image_04112025_20_36_09_1585.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_13_1624.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_15_1902.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_16_1778.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_18_1597.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_20_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/20/36/image_04112025_20_36_09_1585.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_13_1624.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_15_1902.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_16_1778.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_18_1597.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_20_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":["1402089522","1402089524","1402089526","1402089520","1402089517","1402089528"],"photo_ids_order":["1402089517","1402089520","1402089522","1402089524","1402089526","1402089528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bedbdc49f9a3e46fa9645be0f61c7898.jpg","text":"TemporaryFile(/tmp/multipartBody466803322608526289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310784402,"filename":"image_04112025_20_36_15_1902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53749bc496d43124558d6c106b783495.jpg","text":"TemporaryFile(/tmp/multipartBody5783402727477820905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310784402,"filename":"image_04112025_20_36_16_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/2/b96627a208914286606dbd495386aad9.jpg","text":"TemporaryFile(/tmp/multipartBody6350450504760177518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310784402,"filename":"image_04112025_20_36_18_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/2/f24575ca66a4aa8eec0d0e641c42c035.jpg","text":"TemporaryFile(/tmp/multipartBody93278291153235434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310784402,"filename":"image_04112025_20_36_13_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/2/6e535cec992c06baf7c6c31edcd199a2.jpg","text":"TemporaryFile(/tmp/multipartBody6669751651922851835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310784402,"filename":"image_04112025_20_36_09_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/2/476c9ede70ba7228e78c22ad941d4592.jpg","text":"TemporaryFile(/tmp/multipartBody1936154041564606464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310784402,"filename":"image_04112025_20_36_20_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089522","file1":"1402089520","file0":"1402089517","file4":"1402089526","file5":"1402089528","file3":"1402089524"},"map_files_photo_id_array":[{"photo_id":"1402089528","filename":"file5"},{"photo_id":"1402089522","filename":"file2"},{"photo_id":"1402089526","filename":"file4"},{"photo_id":"1402089520","filename":"file1"},{"photo_id":"1402089517","filename":"file0"},{"photo_id":"1402089524","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089522":["hashtag1","hashtag2"]},{"1402089524":["hashtag1","hashtag2"]},{"1402089526":["hashtag1","hashtag2"]},{"1402089520":["hashtag1","hashtag2"]},{"1402089517":["hashtag1","hashtag2"]},{"1402089528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089522, 1402089524, 1402089526, 1402089520, 1402089517, 1402089528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71101784706116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:39:22.763678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_15_9581.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_24_9677.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_35_10787.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_45_9764.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_55_9570.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_33_05_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_15_9581.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_24_9677.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_35_10787.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_45_9764.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_55_9570.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_33_05_10599.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4825317859649658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:39:32.758756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/36/image_04112025_20_36_21_1683.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_25_1913.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_26_1633.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_28_1753.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_30_1723.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_32_1763.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/36/image_04112025_20_36_21_1683.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_25_1913.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_26_1633.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_28_1753.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_30_1723.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_32_1763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089545","1402089544","1402089541","1402089535","1402089538","1402089543"],"photo_ids_order":["1402089535","1402089538","1402089541","1402089543","1402089544","1402089545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f0b78bda82bc89c17c1ed77940aeaf9f.jpg","text":"TemporaryFile(/tmp/multipartBody6069570340748527888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310834627,"filename":"image_04112025_20_36_32_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/2/eb14af43e49b505a5b0bf5083e914f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7443488587346801159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310834627,"filename":"image_04112025_20_36_30_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/2/8afa504162df6ef479ffa650fb280a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8813535965557088591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310834627,"filename":"image_04112025_20_36_26_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/2/70ba468c48493b71dc85c149679a48d8.jpg","text":"TemporaryFile(/tmp/multipartBody4802974808104921406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310834627,"filename":"image_04112025_20_36_21_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/2/377e50860547f54e39b18168572a5b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1732504163267815489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310834627,"filename":"image_04112025_20_36_25_1913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e61e6b9086056ce2ef5181bc8d55ac37.jpg","text":"TemporaryFile(/tmp/multipartBody4727949580581540982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310834627,"filename":"image_04112025_20_36_28_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089541","file1":"1402089538","file0":"1402089535","file4":"1402089544","file5":"1402089545","file3":"1402089543"},"map_files_photo_id_array":[{"photo_id":"1402089545","filename":"file5"},{"photo_id":"1402089541","filename":"file2"},{"photo_id":"1402089544","filename":"file4"},{"photo_id":"1402089538","filename":"file1"},{"photo_id":"1402089535","filename":"file0"},{"photo_id":"1402089543","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089545":["hashtag1","hashtag2"]},{"1402089544":["hashtag1","hashtag2"]},{"1402089541":["hashtag1","hashtag2"]},{"1402089535":["hashtag1","hashtag2"]},{"1402089538":["hashtag1","hashtag2"]},{"1402089543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089545, 1402089544, 1402089541, 1402089535, 1402089538, 1402089543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97071671485901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:40:11.903068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/36/image_04112025_20_36_33_1729.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_35_1722.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_37_1681.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_39_1689.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_43_4739.jpg', '/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_45_1805.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/36/image_04112025_20_36_33_1729.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_35_1722.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_37_1681.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_39_1689.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_43_4739.jpg
/home/pi/Desktop/images/04112025/20/36/image_04112025_20_36_45_1805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089548","1402089551","1402089553","1402089555","1402089546","1402089549"],"photo_ids_order":["1402089546","1402089548","1402089549","1402089551","1402089553","1402089555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba81a265423c52101cf0463230b3a751.jpg","text":"TemporaryFile(/tmp/multipartBody7734344063967575000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310873645,"filename":"image_04112025_20_36_35_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/2/b6116703a4dc97fb994b0b54baa8e85c.jpg","text":"TemporaryFile(/tmp/multipartBody1709433103443505737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310873645,"filename":"image_04112025_20_36_39_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/2/d78043d443b5e605c6f793e2177d910f.jpg","text":"TemporaryFile(/tmp/multipartBody4758326780961140758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310873645,"filename":"image_04112025_20_36_43_4739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f998c8c4b8046180745c3a87ee8fa28.jpg","text":"TemporaryFile(/tmp/multipartBody3466488108556414726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310873645,"filename":"image_04112025_20_36_45_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/2/209425b9f4686e77f4db21b3b092a879.jpg","text":"TemporaryFile(/tmp/multipartBody9116028821817564951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310873645,"filename":"image_04112025_20_36_33_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/2/a2d250852ecb864c88522d952ebb4231.jpg","text":"TemporaryFile(/tmp/multipartBody3761629078452175318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310873645,"filename":"image_04112025_20_36_37_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089549","file1":"1402089548","file0":"1402089546","file4":"1402089553","file5":"1402089555","file3":"1402089551"},"map_files_photo_id_array":[{"photo_id":"1402089555","filename":"file5"},{"photo_id":"1402089549","filename":"file2"},{"photo_id":"1402089553","filename":"file4"},{"photo_id":"1402089548","filename":"file1"},{"photo_id":"1402089546","filename":"file0"},{"photo_id":"1402089551","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089548":["hashtag1","hashtag2"]},{"1402089551":["hashtag1","hashtag2"]},{"1402089553":["hashtag1","hashtag2"]},{"1402089555":["hashtag1","hashtag2"]},{"1402089546":["hashtag1","hashtag2"]},{"1402089549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089548, 1402089551, 1402089553, 1402089555, 1402089546, 1402089549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90929102897644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:41:02.716523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_15_9581.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_24_9677.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_35_10787.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_45_9764.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_55_9570.jpg', '/home/pi/Desktop/images/02012026/00/32/image_02012026_00_33_05_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_15_9581.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_24_9677.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_35_10787.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_45_9764.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_32_55_9570.jpg
/home/pi/Desktop/images/02012026/00/32/image_02012026_00_33_05_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089566","1402089560","1402089563","1402089559","1402089561","1402089558"],"photo_ids_order":["1402089558","1402089559","1402089560","1402089561","1402089563","1402089566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e931f7da3c479fbb6e0351c50f6e9a0.jpg","text":"TemporaryFile(/tmp/multipartBody1142279975335241555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310923415,"filename":"image_02012026_00_33_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/2/afae8c7dc235b8ad3d70c0f0ffac88e4.jpg","text":"TemporaryFile(/tmp/multipartBody1912442365544675666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310923415,"filename":"image_02012026_00_32_35_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/2/12113c7022ef0a5f98ef618a9c4adc29.jpg","text":"TemporaryFile(/tmp/multipartBody2447693629400655996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310923415,"filename":"image_02012026_00_32_55_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/2/3eb714b14d12395db87290477f2e1caf.jpg","text":"TemporaryFile(/tmp/multipartBody173990990314132585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310923415,"filename":"image_02012026_00_32_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/2/3247e3150e52d2169e7eefea65e45f60.jpg","text":"TemporaryFile(/tmp/multipartBody1091577849795788700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310923415,"filename":"image_02012026_00_32_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/2/7b8cbf2dc683ce21cabfd6f7ccba95a4.jpg","text":"TemporaryFile(/tmp/multipartBody5967802794418275479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310923415,"filename":"image_02012026_00_32_15_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089560","file1":"1402089559","file0":"1402089558","file4":"1402089563","file5":"1402089566","file3":"1402089561"},"map_files_photo_id_array":[{"photo_id":"1402089566","filename":"file5"},{"photo_id":"1402089560","filename":"file2"},{"photo_id":"1402089563","filename":"file4"},{"photo_id":"1402089559","filename":"file1"},{"photo_id":"1402089558","filename":"file0"},{"photo_id":"1402089561","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089566":["hashtag1","hashtag2"]},{"1402089560":["hashtag1","hashtag2"]},{"1402089563":["hashtag1","hashtag2"]},{"1402089559":["hashtag1","hashtag2"]},{"1402089561":["hashtag1","hashtag2"]},{"1402089558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089566, 1402089560, 1402089563, 1402089559, 1402089561, 1402089558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1871292591095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:41:42.109703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/37/image_04112025_20_37_07_21684.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_08_1678.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_10_1689.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_24_1770.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_25_1707.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_27_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/37/image_04112025_20_37_07_21684.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_08_1678.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_10_1689.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_24_1770.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_25_1707.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_27_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":["1402089578","1402089575","1402089577","1402089573","1402089576","1402089579"],"photo_ids_order":["1402089573","1402089575","1402089576","1402089577","1402089578","1402089579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e47ad605e94c7cc20cb87fba6878f78.jpg","text":"TemporaryFile(/tmp/multipartBody4256422393253401941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310963950,"filename":"image_04112025_20_37_25_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/2/4b39f5799106877ff92883dc76207a53.jpg","text":"TemporaryFile(/tmp/multipartBody2159941261184356795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310963950,"filename":"image_04112025_20_37_08_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/2/ab33e5b0c47ed9fedef32f5761d095c3.jpg","text":"TemporaryFile(/tmp/multipartBody3492578561970226561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310963950,"filename":"image_04112025_20_37_24_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/2/621e816100837efee2a62235b280a307.jpg","text":"TemporaryFile(/tmp/multipartBody8031204456231712473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310963950,"filename":"image_04112025_20_37_07_21684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4297887c15e63eab57eaf2fdce890977.jpg","text":"TemporaryFile(/tmp/multipartBody230071262515930475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310963950,"filename":"image_04112025_20_37_10_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/2/047dcdce898a55325c9620dea93fa47d.jpg","text":"TemporaryFile(/tmp/multipartBody7823329562608486684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767310963950,"filename":"image_04112025_20_37_27_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089576","file1":"1402089575","file0":"1402089573","file4":"1402089578","file5":"1402089579","file3":"1402089577"},"map_files_photo_id_array":[{"photo_id":"1402089579","filename":"file5"},{"photo_id":"1402089576","filename":"file2"},{"photo_id":"1402089578","filename":"file4"},{"photo_id":"1402089575","filename":"file1"},{"photo_id":"1402089573","filename":"file0"},{"photo_id":"1402089577","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089578":["hashtag1","hashtag2"]},{"1402089575":["hashtag1","hashtag2"]},{"1402089577":["hashtag1","hashtag2"]},{"1402089573":["hashtag1","hashtag2"]},{"1402089576":["hashtag1","hashtag2"]},{"1402089579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089578, 1402089575, 1402089577, 1402089573, 1402089576, 1402089579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83068633079529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:42:22.345272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_15_9631.jpg', '/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_25_9801.jpg', '/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_34_9747.jpg', '/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_45_10613.jpg', '/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_55_9714.jpg', '/home/pi/Desktop/images/02012026/00/33/image_02012026_00_34_05_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_15_9631.jpg
/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_25_9801.jpg
/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_34_9747.jpg
/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_45_10613.jpg
/home/pi/Desktop/images/02012026/00/33/image_02012026_00_33_55_9714.jpg
/home/pi/Desktop/images/02012026/00/33/image_02012026_00_34_05_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089590","1402089593","1402089587","1402089588","1402089582","1402089585"],"photo_ids_order":["1402089582","1402089585","1402089587","1402089588","1402089590","1402089593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46968a009efbd8286a52439cfe2594df.jpg","text":"TemporaryFile(/tmp/multipartBody3892037210511056397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311002947,"filename":"image_02012026_00_33_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/2/956bbceded8c6f712baea7f71d1c9c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1322508029164129430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311002947,"filename":"image_02012026_00_34_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/2/ca90049749678a0286da50f746ae4d58.jpg","text":"TemporaryFile(/tmp/multipartBody2162098602351001361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311002947,"filename":"image_02012026_00_33_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/afc77d52493e88fa9c38daa554a1271b.jpg","text":"TemporaryFile(/tmp/multipartBody8366726242744218260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311002947,"filename":"image_02012026_00_33_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/2/130232227f2e110cc7b3881461f0db4a.jpg","text":"TemporaryFile(/tmp/multipartBody5110435113929018580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311002947,"filename":"image_02012026_00_33_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/2/ac3da07714e123f6128b8c7af97e8a18.jpg","text":"TemporaryFile(/tmp/multipartBody4913291256382364329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311002947,"filename":"image_02012026_00_33_25_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089587","file1":"1402089585","file0":"1402089582","file4":"1402089590","file5":"1402089593","file3":"1402089588"},"map_files_photo_id_array":[{"photo_id":"1402089593","filename":"file5"},{"photo_id":"1402089587","filename":"file2"},{"photo_id":"1402089590","filename":"file4"},{"photo_id":"1402089585","filename":"file1"},{"photo_id":"1402089582","filename":"file0"},{"photo_id":"1402089588","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089590":["hashtag1","hashtag2"]},{"1402089593":["hashtag1","hashtag2"]},{"1402089587":["hashtag1","hashtag2"]},{"1402089588":["hashtag1","hashtag2"]},{"1402089582":["hashtag1","hashtag2"]},{"1402089585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089590, 1402089593, 1402089587, 1402089588, 1402089582, 1402089585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88295865058899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:43:03.077538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_15_9738.jpg', '/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_25_9650.jpg', '/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_34_9721.jpg', '/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_45_10633.jpg', '/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_55_9613.jpg', '/home/pi/Desktop/images/02012026/00/34/image_02012026_00_35_05_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_15_9738.jpg
/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_25_9650.jpg
/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_34_9721.jpg
/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_45_10633.jpg
/home/pi/Desktop/images/02012026/00/34/image_02012026_00_34_55_9613.jpg
/home/pi/Desktop/images/02012026/00/34/image_02012026_00_35_05_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089600","1402089595","1402089598","1402089594","1402089597","1402089596"],"photo_ids_order":["1402089594","1402089595","1402089596","1402089597","1402089598","1402089600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/85c497f4a8082c7cd982cb4c83cd28d5.jpg","text":"TemporaryFile(/tmp/multipartBody5359250015843480451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311043726,"filename":"image_02012026_00_35_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/2/1c83a4344b9cf90fac8201a12194802f.jpg","text":"TemporaryFile(/tmp/multipartBody3332656619231297253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311043726,"filename":"image_02012026_00_34_25_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/2/379fbc28394d6232345b789017b301f5.jpg","text":"TemporaryFile(/tmp/multipartBody7721134098402232744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311043726,"filename":"image_02012026_00_34_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/2/f77a43a187bdededb7566570b6d18cee.jpg","text":"TemporaryFile(/tmp/multipartBody3117104497529989099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311043726,"filename":"image_02012026_00_34_15_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/2/e3ad2a521f6023cacdff2ea13a686bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8320998692201722211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311043726,"filename":"image_02012026_00_34_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/2/77473276ab34373b0c36e8eabea1fbe6.jpg","text":"TemporaryFile(/tmp/multipartBody1150680202113920954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311043726,"filename":"image_02012026_00_34_34_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089596","file1":"1402089595","file0":"1402089594","file4":"1402089598","file5":"1402089600","file3":"1402089597"},"map_files_photo_id_array":[{"photo_id":"1402089600","filename":"file5"},{"photo_id":"1402089596","filename":"file2"},{"photo_id":"1402089598","filename":"file4"},{"photo_id":"1402089595","filename":"file1"},{"photo_id":"1402089594","filename":"file0"},{"photo_id":"1402089597","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089600":["hashtag1","hashtag2"]},{"1402089595":["hashtag1","hashtag2"]},{"1402089598":["hashtag1","hashtag2"]},{"1402089594":["hashtag1","hashtag2"]},{"1402089597":["hashtag1","hashtag2"]},{"1402089596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089600, 1402089595, 1402089598, 1402089594, 1402089597, 1402089596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.281684160232544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:43:42.441090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/37/image_04112025_20_37_29_1699.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_30_1560.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_32_1756.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_34_1966.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_36_1718.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_37_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/20/37/image_04112025_20_37_29_1699.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_30_1560.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_32_1756.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_34_1966.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_36_1718.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_37_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":["1402089605","1402089608","1402089613","1402089607","1402089610","1402089612"],"photo_ids_order":["1402089605","1402089607","1402089608","1402089610","1402089612","1402089613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1012db136272a9f70dcb127634b69a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8735693134136375323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311084309,"filename":"image_04112025_20_37_29_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/2/17b3b6b65f1f5925eea92ce694d13711.jpg","text":"TemporaryFile(/tmp/multipartBody6619527904494424138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311084309,"filename":"image_04112025_20_37_32_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/2/cce227146a2dcb45a11edbe9e8569c41.jpg","text":"TemporaryFile(/tmp/multipartBody7791364392039784138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311084309,"filename":"image_04112025_20_37_37_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/2/516d6f0fadbc7b3ff6dcda912bb4a74f.jpg","text":"TemporaryFile(/tmp/multipartBody3594091227711823897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311084309,"filename":"image_04112025_20_37_30_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/2/19a715d220d8831c94f294366e8cabc6.jpg","text":"TemporaryFile(/tmp/multipartBody126427384344332917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311084309,"filename":"image_04112025_20_37_34_1966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c38f8cf4742d2454f411fb2723cd0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2664899468153761405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311084309,"filename":"image_04112025_20_37_36_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089608","file1":"1402089607","file0":"1402089605","file4":"1402089612","file5":"1402089613","file3":"1402089610"},"map_files_photo_id_array":[{"photo_id":"1402089613","filename":"file5"},{"photo_id":"1402089608","filename":"file2"},{"photo_id":"1402089612","filename":"file4"},{"photo_id":"1402089607","filename":"file1"},{"photo_id":"1402089605","filename":"file0"},{"photo_id":"1402089610","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089605":["hashtag1","hashtag2"]},{"1402089608":["hashtag1","hashtag2"]},{"1402089613":["hashtag1","hashtag2"]},{"1402089607":["hashtag1","hashtag2"]},{"1402089610":["hashtag1","hashtag2"]},{"1402089612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089605, 1402089608, 1402089613, 1402089607, 1402089610, 1402089612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.628071784973145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:44:22.604644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_15_9793.jpg', '/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_25_9572.jpg', '/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_34_9727.jpg', '/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_45_10688.jpg', '/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_55_9603.jpg', '/home/pi/Desktop/images/02012026/00/35/image_02012026_00_36_05_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_15_9793.jpg
/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_25_9572.jpg
/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_34_9727.jpg
/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_45_10688.jpg
/home/pi/Desktop/images/02012026/00/35/image_02012026_00_35_55_9603.jpg
/home/pi/Desktop/images/02012026/00/35/image_02012026_00_36_05_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089621","1402089626","1402089616","1402089624","1402089618","1402089627"],"photo_ids_order":["1402089616","1402089618","1402089621","1402089624","1402089626","1402089627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7af922ff6f33b3fede736b3473d8eade.jpg","text":"TemporaryFile(/tmp/multipartBody8333622015857642581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311123240,"filename":"image_02012026_00_35_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/2/77029975cfb38227a85feadaa6b265ac.jpg","text":"TemporaryFile(/tmp/multipartBody3379500722967382219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311123240,"filename":"image_02012026_00_35_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/2/a957457141c1d1fd0bb251334a4bb75c.jpg","text":"TemporaryFile(/tmp/multipartBody8445517689268517531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311123240,"filename":"image_02012026_00_35_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/2/931ef5d29ec0f09ba7a34d34c6f5770d.jpg","text":"TemporaryFile(/tmp/multipartBody2483271528303370219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311123240,"filename":"image_02012026_00_35_45_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/2/a433be17b241829a5e69440ff3a28472.jpg","text":"TemporaryFile(/tmp/multipartBody1116158451667701761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311123240,"filename":"image_02012026_00_35_25_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/2/87e8b5e33bfcc8116ef478df6798d60f.jpg","text":"TemporaryFile(/tmp/multipartBody2117399230205627789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311123240,"filename":"image_02012026_00_36_05_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089621","file1":"1402089618","file0":"1402089616","file4":"1402089626","file5":"1402089627","file3":"1402089624"},"map_files_photo_id_array":[{"photo_id":"1402089627","filename":"file5"},{"photo_id":"1402089621","filename":"file2"},{"photo_id":"1402089626","filename":"file4"},{"photo_id":"1402089618","filename":"file1"},{"photo_id":"1402089616","filename":"file0"},{"photo_id":"1402089624","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089621":["hashtag1","hashtag2"]},{"1402089626":["hashtag1","hashtag2"]},{"1402089616":["hashtag1","hashtag2"]},{"1402089624":["hashtag1","hashtag2"]},{"1402089618":["hashtag1","hashtag2"]},{"1402089627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089621, 1402089626, 1402089616, 1402089624, 1402089618, 1402089627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34143257141113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:45:02.441620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_15_9626.jpg', '/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_25_9667.jpg', '/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_34_9772.jpg', '/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_55_9835.jpg', '/home/pi/Desktop/images/02012026/00/36/image_02012026_00_37_05_9819.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_14_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_15_9626.jpg
/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_25_9667.jpg
/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_34_9772.jpg
/home/pi/Desktop/images/02012026/00/36/image_02012026_00_36_55_9835.jpg
/home/pi/Desktop/images/02012026/00/36/image_02012026_00_37_05_9819.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_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":["1402089629","1402089632","1402089631","1402089634","1402089637","1402089630"],"photo_ids_order":["1402089629","1402089630","1402089631","1402089632","1402089634","1402089637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/798488d4c253cba5edd3e769849561d9.jpg","text":"TemporaryFile(/tmp/multipartBody3413147874810059071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311163136,"filename":"image_02012026_00_36_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/2/3bab6d37f76143798b132bc880b75f47.jpg","text":"TemporaryFile(/tmp/multipartBody8867564203172685242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311163136,"filename":"image_02012026_00_36_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/2/a12c85d4a6e58f6b9635dbd735bc6111.jpg","text":"TemporaryFile(/tmp/multipartBody8590466020059481853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311163136,"filename":"image_02012026_00_36_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/2/5fff8264667287e07b9a961d68a55380.jpg","text":"TemporaryFile(/tmp/multipartBody1118793808372602137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311163136,"filename":"image_02012026_00_37_05_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/2/b9a4eb473618b552818d2b24d5acf444.jpg","text":"TemporaryFile(/tmp/multipartBody7145580302718891604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311163136,"filename":"image_02012026_00_37_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/2/9a121dde5fa3599ad00dabb0c2cb673c.jpg","text":"TemporaryFile(/tmp/multipartBody7790035440888522915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311163136,"filename":"image_02012026_00_36_25_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089631","file1":"1402089630","file0":"1402089629","file4":"1402089634","file5":"1402089637","file3":"1402089632"},"map_files_photo_id_array":[{"photo_id":"1402089637","filename":"file5"},{"photo_id":"1402089631","filename":"file2"},{"photo_id":"1402089634","filename":"file4"},{"photo_id":"1402089630","filename":"file1"},{"photo_id":"1402089629","filename":"file0"},{"photo_id":"1402089632","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089629":["hashtag1","hashtag2"]},{"1402089632":["hashtag1","hashtag2"]},{"1402089631":["hashtag1","hashtag2"]},{"1402089634":["hashtag1","hashtag2"]},{"1402089637":["hashtag1","hashtag2"]},{"1402089630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089629, 1402089632, 1402089631, 1402089634, 1402089637, 1402089630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88014817237854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:45:41.811793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/37/image_04112025_20_37_39_1651.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_43_2137.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_44_1635.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_46_1661.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_48_1644.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_49_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/20/37/image_04112025_20_37_39_1651.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_43_2137.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_44_1635.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_46_1661.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_48_1644.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_49_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":["1402089647","1402089644","1402089643","1402089646","1402089642","1402089645"],"photo_ids_order":["1402089642","1402089643","1402089644","1402089645","1402089646","1402089647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5e6d0ce8c5c628d5542ce1b2f0feae57.jpg","text":"TemporaryFile(/tmp/multipartBody6173993574749915141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311203655,"filename":"image_04112025_20_37_49_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/2/9f8cf8e67e29f7d1af3d6729784fb099.jpg","text":"TemporaryFile(/tmp/multipartBody3156920342389861919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311203655,"filename":"image_04112025_20_37_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/2/348851b25b968c0faa742e8a5684b335.jpg","text":"TemporaryFile(/tmp/multipartBody980154642599707287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311203655,"filename":"image_04112025_20_37_43_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/2/9e6dbc25fa937195703be9223631b76d.jpg","text":"TemporaryFile(/tmp/multipartBody8100458079965360674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311203655,"filename":"image_04112025_20_37_48_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/2/d5ed3467f53410b9f874b53941d53a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8681224807744571809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311203655,"filename":"image_04112025_20_37_39_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/2/2192bf2a6e1ae4768c87df17411b4635.jpg","text":"TemporaryFile(/tmp/multipartBody5422408287280977862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311203655,"filename":"image_04112025_20_37_46_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089644","file1":"1402089643","file0":"1402089642","file4":"1402089646","file5":"1402089647","file3":"1402089645"},"map_files_photo_id_array":[{"photo_id":"1402089647","filename":"file5"},{"photo_id":"1402089644","filename":"file2"},{"photo_id":"1402089646","filename":"file4"},{"photo_id":"1402089643","filename":"file1"},{"photo_id":"1402089642","filename":"file0"},{"photo_id":"1402089645","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089647":["hashtag1","hashtag2"]},{"1402089644":["hashtag1","hashtag2"]},{"1402089643":["hashtag1","hashtag2"]},{"1402089646":["hashtag1","hashtag2"]},{"1402089642":["hashtag1","hashtag2"]},{"1402089645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089647, 1402089644, 1402089643, 1402089646, 1402089642, 1402089645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.181081771850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:46:21.975590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_25_10694.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_35_9584.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_45_10666.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_55_9536.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_38_04_9621.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_15_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_25_10694.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_35_9584.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_45_10666.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_55_9536.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_38_04_9621.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_15_10607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4907674789428711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:46:31.948222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/37/image_04112025_20_37_51_1840.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_53_1858.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_55_1522.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_58_1761.jpg', '/home/pi/Desktop/images/04112025/20/37/image_04112025_20_38_00_1607.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_02_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/20/37/image_04112025_20_37_51_1840.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_53_1858.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_55_1522.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_37_58_1761.jpg
/home/pi/Desktop/images/04112025/20/37/image_04112025_20_38_00_1607.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_02_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":["1402089665","1402089661","1402089664","1402089658","1402089655","1402089663"],"photo_ids_order":["1402089655","1402089658","1402089661","1402089663","1402089664","1402089665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5297317e82d22af07c3b0c40dc7b6867.jpg","text":"TemporaryFile(/tmp/multipartBody7992570976481373194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311253797,"filename":"image_04112025_20_38_02_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/2/63022a97d75ef93ebf78882c143aa095.jpg","text":"TemporaryFile(/tmp/multipartBody3095746075334477172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311253797,"filename":"image_04112025_20_37_55_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/2/cf6f26c3b1d738f6189d674f49173224.jpg","text":"TemporaryFile(/tmp/multipartBody7496560956895450587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311253797,"filename":"image_04112025_20_38_00_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/2/2be867aaa701903781b24cdf15d6b0bc.jpg","text":"TemporaryFile(/tmp/multipartBody6347318619553930607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311253797,"filename":"image_04112025_20_37_53_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef596af19c816a6a710f622a790275ed.jpg","text":"TemporaryFile(/tmp/multipartBody2055936862162851358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311253797,"filename":"image_04112025_20_37_51_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/2/88fb144e9cad00d1667cb3d4f10e40c6.jpg","text":"TemporaryFile(/tmp/multipartBody9120316577571448066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311253797,"filename":"image_04112025_20_37_58_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089661","file1":"1402089658","file0":"1402089655","file4":"1402089664","file5":"1402089665","file3":"1402089663"},"map_files_photo_id_array":[{"photo_id":"1402089665","filename":"file5"},{"photo_id":"1402089661","filename":"file2"},{"photo_id":"1402089664","filename":"file4"},{"photo_id":"1402089658","filename":"file1"},{"photo_id":"1402089655","filename":"file0"},{"photo_id":"1402089663","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089665":["hashtag1","hashtag2"]},{"1402089661":["hashtag1","hashtag2"]},{"1402089664":["hashtag1","hashtag2"]},{"1402089658":["hashtag1","hashtag2"]},{"1402089655":["hashtag1","hashtag2"]},{"1402089663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089665, 1402089661, 1402089664, 1402089658, 1402089655, 1402089663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17622137069702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:47:12.082224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/38/image_04112025_20_38_03_1665.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_07_1626.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_08_1591.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_10_1705.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_12_2653.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_16_3709.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/38/image_04112025_20_38_03_1665.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_07_1626.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_08_1591.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_10_1705.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_12_2653.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_16_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089671","1402089668","1402089676","1402089673","1402089675","1402089666"],"photo_ids_order":["1402089666","1402089668","1402089671","1402089673","1402089675","1402089676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bb501ba2a60549e9f96e2c03681bda93.jpg","text":"TemporaryFile(/tmp/multipartBody4061518491201518279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311293705,"filename":"image_04112025_20_38_08_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/2/6f333be6eab31a1f407ec042e973d1ea.jpg","text":"TemporaryFile(/tmp/multipartBody5732892457978052100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311293705,"filename":"image_04112025_20_38_07_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/2/24947178bd8673954fe386721200cc3b.jpg","text":"TemporaryFile(/tmp/multipartBody920609783980699763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311293705,"filename":"image_04112025_20_38_16_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/2/3d0c971ebe142143e2668d49c263fe2c.jpg","text":"TemporaryFile(/tmp/multipartBody4470403734330243633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311293705,"filename":"image_04112025_20_38_10_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/2/aabe89d46a2c3affb2c6a59b30e80fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1986051026209564787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311293705,"filename":"image_04112025_20_38_12_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/2/17e1f1dbae5396ede0d05b1222259155.jpg","text":"TemporaryFile(/tmp/multipartBody8193800394901888569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311293705,"filename":"image_04112025_20_38_03_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089671","file1":"1402089668","file0":"1402089666","file4":"1402089675","file5":"1402089676","file3":"1402089673"},"map_files_photo_id_array":[{"photo_id":"1402089676","filename":"file5"},{"photo_id":"1402089671","filename":"file2"},{"photo_id":"1402089675","filename":"file4"},{"photo_id":"1402089668","filename":"file1"},{"photo_id":"1402089666","filename":"file0"},{"photo_id":"1402089673","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089671":["hashtag1","hashtag2"]},{"1402089668":["hashtag1","hashtag2"]},{"1402089676":["hashtag1","hashtag2"]},{"1402089673":["hashtag1","hashtag2"]},{"1402089675":["hashtag1","hashtag2"]},{"1402089666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089671, 1402089668, 1402089676, 1402089673, 1402089675, 1402089666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5425181388855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:48:02.723484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_25_10694.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_35_9584.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_45_10666.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_55_9536.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_38_04_9621.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_15_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_25_10694.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_35_9584.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_45_10666.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_55_9536.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_38_04_9621.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_15_10607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5349247455596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:48:12.338014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/38/image_04112025_20_38_35_19073.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_37_1627.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_39_1687.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_40_1688.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_43_2849.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_45_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/38/image_04112025_20_38_35_19073.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_37_1627.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_39_1687.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_40_1688.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_43_2849.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_45_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089683","1402089689","1402089694","1402089697","1402089691","1402089685"],"photo_ids_order":["1402089683","1402089685","1402089689","1402089691","1402089694","1402089697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ad9cc3491388057ab9a89829bb9eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody6459071290192850087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311354008,"filename":"image_04112025_20_38_35_19073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98a3ce4c694dc9810a49d40575aa4648.jpg","text":"TemporaryFile(/tmp/multipartBody6816597009890898835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311354008,"filename":"image_04112025_20_38_39_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/2/e33e8f7017936883413dae8732ce2f95.jpg","text":"TemporaryFile(/tmp/multipartBody7514053373470647129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311354008,"filename":"image_04112025_20_38_43_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d29c70e9a62c703c581da870a4bd866.jpg","text":"TemporaryFile(/tmp/multipartBody1360643499954900108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311354008,"filename":"image_04112025_20_38_45_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/2/e0e47f416c12ab52b53ce59f80896914.jpg","text":"TemporaryFile(/tmp/multipartBody5952396761502380049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311354008,"filename":"image_04112025_20_38_40_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/2/9aa1d90a32307c711d22c253106cb6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8443044147634703150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311354008,"filename":"image_04112025_20_38_37_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089689","file1":"1402089685","file0":"1402089683","file4":"1402089694","file5":"1402089697","file3":"1402089691"},"map_files_photo_id_array":[{"photo_id":"1402089697","filename":"file5"},{"photo_id":"1402089689","filename":"file2"},{"photo_id":"1402089694","filename":"file4"},{"photo_id":"1402089685","filename":"file1"},{"photo_id":"1402089683","filename":"file0"},{"photo_id":"1402089691","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089683":["hashtag1","hashtag2"]},{"1402089689":["hashtag1","hashtag2"]},{"1402089694":["hashtag1","hashtag2"]},{"1402089697":["hashtag1","hashtag2"]},{"1402089691":["hashtag1","hashtag2"]},{"1402089685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089683, 1402089689, 1402089694, 1402089697, 1402089691, 1402089685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.47357130050659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:49:03.486918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_25_10694.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_35_9584.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_45_10666.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_55_9536.jpg', '/home/pi/Desktop/images/02012026/00/37/image_02012026_00_38_04_9621.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_15_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_25_10694.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_35_9584.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_45_10666.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_37_55_9536.jpg
/home/pi/Desktop/images/02012026/00/37/image_02012026_00_38_04_9621.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_15_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":["1402089702","1402089701","1402089704","1402089707","1402089700","1402089703"],"photo_ids_order":["1402089700","1402089701","1402089702","1402089703","1402089704","1402089707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2813848cda0be7346473ccb7a6327b3.jpg","text":"TemporaryFile(/tmp/multipartBody6275510569978521848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311404242,"filename":"image_02012026_00_37_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/2/d5efbee71f8a309e904cc5719832b95f.jpg","text":"TemporaryFile(/tmp/multipartBody8803445218004516206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311404242,"filename":"image_02012026_00_37_35_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/2/9dff34638c576a8b2f5fbde394bd89dd.jpg","text":"TemporaryFile(/tmp/multipartBody1991402709826239618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311404242,"filename":"image_02012026_00_38_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/2/b3c680f885b531b498994f72b430905f.jpg","text":"TemporaryFile(/tmp/multipartBody6510070001946926060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311404242,"filename":"image_02012026_00_38_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/2/1dd44107ddf390062a6ef76c76827dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4603146676710138335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311404242,"filename":"image_02012026_00_37_25_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/2/8104c492117e19d12246bc4f1e535911.jpg","text":"TemporaryFile(/tmp/multipartBody6709498504621543561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311404242,"filename":"image_02012026_00_37_55_9536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089702","file1":"1402089701","file0":"1402089700","file4":"1402089704","file5":"1402089707","file3":"1402089703"},"map_files_photo_id_array":[{"photo_id":"1402089707","filename":"file5"},{"photo_id":"1402089702","filename":"file2"},{"photo_id":"1402089704","filename":"file4"},{"photo_id":"1402089701","filename":"file1"},{"photo_id":"1402089700","filename":"file0"},{"photo_id":"1402089703","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089702":["hashtag1","hashtag2"]},{"1402089701":["hashtag1","hashtag2"]},{"1402089704":["hashtag1","hashtag2"]},{"1402089707":["hashtag1","hashtag2"]},{"1402089700":["hashtag1","hashtag2"]},{"1402089703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089702, 1402089701, 1402089704, 1402089707, 1402089700, 1402089703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.583725452423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:49:42.553733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/38/image_04112025_20_38_47_1703.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_51_4791.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_55_3449.jpg', '/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_57_1775.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_02_1728.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_04_1851.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/38/image_04112025_20_38_47_1703.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_51_4791.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_55_3449.jpg
/home/pi/Desktop/images/04112025/20/38/image_04112025_20_38_57_1775.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_02_1728.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_04_1851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089714","1402089713","1402089716","1402089715","1402089718","1402089717"],"photo_ids_order":["1402089713","1402089714","1402089715","1402089716","1402089717","1402089718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cafd1af1c915ce979959e9a735368624.jpg","text":"TemporaryFile(/tmp/multipartBody4854424349918978385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311444300,"filename":"image_04112025_20_38_51_4791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da0b271c13b5b70e06f0b741f94f9600.jpg","text":"TemporaryFile(/tmp/multipartBody7095753784620059250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311444300,"filename":"image_04112025_20_38_47_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/2/0fef157d4c2cade3ccb935954b25b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody1257019686688973134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311444300,"filename":"image_04112025_20_38_57_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/2/4c56c9f58b86308feebd62309f668109.jpg","text":"TemporaryFile(/tmp/multipartBody3806819781603333559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311444300,"filename":"image_04112025_20_38_55_3449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f60ce3cc5fe71d48fc244551d2f36468.jpg","text":"TemporaryFile(/tmp/multipartBody383998318675750966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311444300,"filename":"image_04112025_20_39_04_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/2/18a505d4e133afc892ab2200c6997b96.jpg","text":"TemporaryFile(/tmp/multipartBody2662968042487097571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311444300,"filename":"image_04112025_20_39_02_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089715","file1":"1402089714","file0":"1402089713","file4":"1402089717","file5":"1402089718","file3":"1402089716"},"map_files_photo_id_array":[{"photo_id":"1402089718","filename":"file5"},{"photo_id":"1402089715","filename":"file2"},{"photo_id":"1402089717","filename":"file4"},{"photo_id":"1402089714","filename":"file1"},{"photo_id":"1402089713","filename":"file0"},{"photo_id":"1402089716","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089714":["hashtag1","hashtag2"]},{"1402089713":["hashtag1","hashtag2"]},{"1402089716":["hashtag1","hashtag2"]},{"1402089715":["hashtag1","hashtag2"]},{"1402089718":["hashtag1","hashtag2"]},{"1402089717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089714, 1402089713, 1402089716, 1402089715, 1402089718, 1402089717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65639281272888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:50:22.792767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_25_9744.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_34_9649.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_45_10792.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_55_9621.jpg', '/home/pi/Desktop/images/02012026/00/38/image_02012026_00_39_05_9682.jpg', '/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_25_9744.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_34_9649.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_45_10792.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_38_55_9621.jpg
/home/pi/Desktop/images/02012026/00/38/image_02012026_00_39_05_9682.jpg
/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_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":["1402089729","1402089731","1402089725","1402089727","1402089721","1402089723"],"photo_ids_order":["1402089721","1402089723","1402089725","1402089727","1402089729","1402089731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/56b75db13f44ff75aba1add53a567a48.jpg","text":"TemporaryFile(/tmp/multipartBody6112824749785511966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311483357,"filename":"image_02012026_00_39_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/2/484b230eb1a06cc2fc69ae2fda1b89d7.jpg","text":"TemporaryFile(/tmp/multipartBody9091090122426380447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311483357,"filename":"image_02012026_00_39_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/2/57f11a914995239451a54c63dfccc46f.jpg","text":"TemporaryFile(/tmp/multipartBody6249847564884261642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311483357,"filename":"image_02012026_00_38_45_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/2/54da9e26e6ae31c35ffb2e421362ddcf.jpg","text":"TemporaryFile(/tmp/multipartBody7968249638182203458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311483357,"filename":"image_02012026_00_38_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/2/85c94a269a0897e6ed134193aca2de7c.jpg","text":"TemporaryFile(/tmp/multipartBody2460808649148663167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311483357,"filename":"image_02012026_00_38_25_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/2/9803f7a58c2683747804501f19b5dd59.jpg","text":"TemporaryFile(/tmp/multipartBody5004570271013943607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311483357,"filename":"image_02012026_00_38_34_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089725","file1":"1402089723","file0":"1402089721","file4":"1402089729","file5":"1402089731","file3":"1402089727"},"map_files_photo_id_array":[{"photo_id":"1402089731","filename":"file5"},{"photo_id":"1402089725","filename":"file2"},{"photo_id":"1402089729","filename":"file4"},{"photo_id":"1402089723","filename":"file1"},{"photo_id":"1402089721","filename":"file0"},{"photo_id":"1402089727","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089729":["hashtag1","hashtag2"]},{"1402089731":["hashtag1","hashtag2"]},{"1402089725":["hashtag1","hashtag2"]},{"1402089727":["hashtag1","hashtag2"]},{"1402089721":["hashtag1","hashtag2"]},{"1402089723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089729, 1402089731, 1402089725, 1402089727, 1402089721, 1402089723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51251745223999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:51:02.597289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_25_9729.jpg', '/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_35_9658.jpg', '/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_45_10626.jpg', '/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_55_9530.jpg', '/home/pi/Desktop/images/02012026/00/39/image_02012026_00_40_05_9724.jpg', '/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_15_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_25_9729.jpg
/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_35_9658.jpg
/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_45_10626.jpg
/home/pi/Desktop/images/02012026/00/39/image_02012026_00_39_55_9530.jpg
/home/pi/Desktop/images/02012026/00/39/image_02012026_00_40_05_9724.jpg
/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_15_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089734","1402089737","1402089739","1402089733","1402089736","1402089735"],"photo_ids_order":["1402089733","1402089734","1402089735","1402089736","1402089737","1402089739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/60d37b6c257d62c1874ba71c1ff70e92.jpg","text":"TemporaryFile(/tmp/multipartBody6591010436603694556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311523272,"filename":"image_02012026_00_39_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/2/dfc32640db8b5327d43a72c0687880fd.jpg","text":"TemporaryFile(/tmp/multipartBody1900998011861208803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311523272,"filename":"image_02012026_00_40_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/2/8f59369eb38e74e96c3a34ec3bbc1959.jpg","text":"TemporaryFile(/tmp/multipartBody3154607633350820403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311523272,"filename":"image_02012026_00_40_15_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/2/b2af6ce32734cd4a996459f7b42547af.jpg","text":"TemporaryFile(/tmp/multipartBody8603880419784981360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311523272,"filename":"image_02012026_00_39_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/2/f26ae221a29a0b6b7168df07bc009d20.jpg","text":"TemporaryFile(/tmp/multipartBody4728357284038652168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311523272,"filename":"image_02012026_00_39_55_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/2/6e2324c576901b697e82aa6bcb0bcaa9.jpg","text":"TemporaryFile(/tmp/multipartBody8555016546843489614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311523272,"filename":"image_02012026_00_39_45_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089735","file1":"1402089734","file0":"1402089733","file4":"1402089737","file5":"1402089739","file3":"1402089736"},"map_files_photo_id_array":[{"photo_id":"1402089739","filename":"file5"},{"photo_id":"1402089735","filename":"file2"},{"photo_id":"1402089737","filename":"file4"},{"photo_id":"1402089734","filename":"file1"},{"photo_id":"1402089733","filename":"file0"},{"photo_id":"1402089736","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089734":["hashtag1","hashtag2"]},{"1402089737":["hashtag1","hashtag2"]},{"1402089739":["hashtag1","hashtag2"]},{"1402089733":["hashtag1","hashtag2"]},{"1402089736":["hashtag1","hashtag2"]},{"1402089735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089734, 1402089737, 1402089739, 1402089733, 1402089736, 1402089735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01401209831238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:51:41.959113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/39/image_04112025_20_39_05_1750.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_07_1662.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_29_21750.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_30_1604.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_37_7012.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_39_1633.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/39/image_04112025_20_39_05_1750.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_07_1662.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_29_21750.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_30_1604.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_37_7012.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_39_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089746","1402089749","1402089748","1402089750","1402089744","1402089747"],"photo_ids_order":["1402089744","1402089746","1402089747","1402089748","1402089749","1402089750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/40d713538e6802b36bec9c2179ff3c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7693378367588300320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311563719,"filename":"image_04112025_20_39_07_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/2/73606243c98fa7066bb6f64393c38095.jpg","text":"TemporaryFile(/tmp/multipartBody7295129771621074933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311563719,"filename":"image_04112025_20_39_37_7012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/244f77ab3aa6bc7b342b73e3a46fd605.jpg","text":"TemporaryFile(/tmp/multipartBody7381307217482374715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311563719,"filename":"image_04112025_20_39_30_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/2/bd32d4b105ca6ae622feb14c35b7c5d2.jpg","text":"TemporaryFile(/tmp/multipartBody3158207995974309961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311563719,"filename":"image_04112025_20_39_39_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/2/e505b7916a03917126fa4c53faffa334.jpg","text":"TemporaryFile(/tmp/multipartBody6412586317316246053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311563719,"filename":"image_04112025_20_39_05_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/2/2b5453c2bc9e32881c6287cc0c32cb27.jpg","text":"TemporaryFile(/tmp/multipartBody213593656280142505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311563719,"filename":"image_04112025_20_39_29_21750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089747","file1":"1402089746","file0":"1402089744","file4":"1402089749","file5":"1402089750","file3":"1402089748"},"map_files_photo_id_array":[{"photo_id":"1402089750","filename":"file5"},{"photo_id":"1402089747","filename":"file2"},{"photo_id":"1402089749","filename":"file4"},{"photo_id":"1402089746","filename":"file1"},{"photo_id":"1402089744","filename":"file0"},{"photo_id":"1402089748","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089746":["hashtag1","hashtag2"]},{"1402089749":["hashtag1","hashtag2"]},{"1402089748":["hashtag1","hashtag2"]},{"1402089750":["hashtag1","hashtag2"]},{"1402089744":["hashtag1","hashtag2"]},{"1402089747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089746, 1402089749, 1402089748, 1402089750, 1402089744, 1402089747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32059192657471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:52:22.276142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_25_9563.jpg', '/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_34_9682.jpg', '/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_45_10583.jpg', '/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_55_9560.jpg', '/home/pi/Desktop/images/02012026/00/40/image_02012026_00_41_04_9786.jpg', '/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_15_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_25_9563.jpg
/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_34_9682.jpg
/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_45_10583.jpg
/home/pi/Desktop/images/02012026/00/40/image_02012026_00_40_55_9560.jpg
/home/pi/Desktop/images/02012026/00/40/image_02012026_00_41_04_9786.jpg
/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_15_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089758","1402089760","1402089754","1402089753","1402089762","1402089756"],"photo_ids_order":["1402089753","1402089754","1402089756","1402089758","1402089760","1402089762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f9db8aea45412320c5cd6b8817fd8a05.jpg","text":"TemporaryFile(/tmp/multipartBody1545516503550916220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311602876,"filename":"image_02012026_00_40_55_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/2/aaa8d88e0e79b87860de228b8a9f0c76.jpg","text":"TemporaryFile(/tmp/multipartBody7047099470301480860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311602876,"filename":"image_02012026_00_41_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/2/2239c0d7487627e416f6a36a9c777c78.jpg","text":"TemporaryFile(/tmp/multipartBody6303052143603454989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311602876,"filename":"image_02012026_00_40_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/2/475367c8c2a9e096b5e764b228d97a26.jpg","text":"TemporaryFile(/tmp/multipartBody4849517830750994360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311602876,"filename":"image_02012026_00_40_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/2/91401a9ab21733a174b81409949ec09f.jpg","text":"TemporaryFile(/tmp/multipartBody6140826783347450349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311602876,"filename":"image_02012026_00_41_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/2/a91b1e8e3927c4b1eeb56ddf1d3a304c.jpg","text":"TemporaryFile(/tmp/multipartBody2339851850634573014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311602876,"filename":"image_02012026_00_40_45_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089756","file1":"1402089754","file0":"1402089753","file4":"1402089760","file5":"1402089762","file3":"1402089758"},"map_files_photo_id_array":[{"photo_id":"1402089762","filename":"file5"},{"photo_id":"1402089756","filename":"file2"},{"photo_id":"1402089760","filename":"file4"},{"photo_id":"1402089754","filename":"file1"},{"photo_id":"1402089753","filename":"file0"},{"photo_id":"1402089758","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089758":["hashtag1","hashtag2"]},{"1402089760":["hashtag1","hashtag2"]},{"1402089754":["hashtag1","hashtag2"]},{"1402089753":["hashtag1","hashtag2"]},{"1402089762":["hashtag1","hashtag2"]},{"1402089756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089758, 1402089760, 1402089754, 1402089753, 1402089762, 1402089756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66873741149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:53:03.136046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_24_9548.jpg', '/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_35_10675.jpg', '/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_45_9812.jpg', '/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_55_9734.jpg', '/home/pi/Desktop/images/02012026/00/41/image_02012026_00_42_04_9684.jpg', '/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_15_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_24_9548.jpg
/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_35_10675.jpg
/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_45_9812.jpg
/home/pi/Desktop/images/02012026/00/41/image_02012026_00_41_55_9734.jpg
/home/pi/Desktop/images/02012026/00/41/image_02012026_00_42_04_9684.jpg
/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_15_10784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089770","1402089764","1402089767","1402089766","1402089768","1402089765"],"photo_ids_order":["1402089764","1402089765","1402089766","1402089767","1402089768","1402089770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bc84c51654a91fe504072e25202ef1e0.jpg","text":"TemporaryFile(/tmp/multipartBody6343423762371436878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311643792,"filename":"image_02012026_00_42_15_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/2/9cd0424bd1ac9560cbad0725da4d3ca5.jpg","text":"TemporaryFile(/tmp/multipartBody2801471154648345135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311643792,"filename":"image_02012026_00_41_24_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/2/50a31bf0a9c75a4548c88fa3e128b708.jpg","text":"TemporaryFile(/tmp/multipartBody5157932036934146154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311643792,"filename":"image_02012026_00_41_55_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/2/d0ce801a16367b1aff1489dd9855b3ce.jpg","text":"TemporaryFile(/tmp/multipartBody681270644416139573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311643792,"filename":"image_02012026_00_41_45_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/2/74a38c28a7af611da8b7e8aa6ab2c096.jpg","text":"TemporaryFile(/tmp/multipartBody6778737671633134557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311643792,"filename":"image_02012026_00_42_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/2/f5d6cfb619489362f6e8f0f29b9f8ca4.jpg","text":"TemporaryFile(/tmp/multipartBody2916165097085829856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311643792,"filename":"image_02012026_00_41_35_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089766","file1":"1402089765","file0":"1402089764","file4":"1402089768","file5":"1402089770","file3":"1402089767"},"map_files_photo_id_array":[{"photo_id":"1402089770","filename":"file5"},{"photo_id":"1402089766","filename":"file2"},{"photo_id":"1402089768","filename":"file4"},{"photo_id":"1402089765","filename":"file1"},{"photo_id":"1402089764","filename":"file0"},{"photo_id":"1402089767","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089770":["hashtag1","hashtag2"]},{"1402089764":["hashtag1","hashtag2"]},{"1402089767":["hashtag1","hashtag2"]},{"1402089766":["hashtag1","hashtag2"]},{"1402089768":["hashtag1","hashtag2"]},{"1402089765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089770, 1402089764, 1402089767, 1402089766, 1402089768, 1402089765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.684996366500854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:53:42.429032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/39/image_04112025_20_39_41_1733.jpg', '/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_42_1720.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_07_24098.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_08_1818.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_10_1740.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_14_2037.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/39/image_04112025_20_39_41_1733.jpg
/home/pi/Desktop/images/04112025/20/39/image_04112025_20_39_42_1720.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_07_24098.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_08_1818.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_10_1740.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_14_2037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089782","1402089779","1402089781","1402089775","1402089780","1402089783"],"photo_ids_order":["1402089775","1402089779","1402089780","1402089781","1402089782","1402089783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d4deb56ab4e0bb945ed9b3925a957ce.jpg","text":"TemporaryFile(/tmp/multipartBody8535464875364787609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311684360,"filename":"image_04112025_20_40_10_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/2/5205c9568c5d554faae02ea6efa24904.jpg","text":"TemporaryFile(/tmp/multipartBody2484948441122895024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311684360,"filename":"image_04112025_20_39_42_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/2/ab9e2850eeb96d2944a9102cacf33016.jpg","text":"TemporaryFile(/tmp/multipartBody646794951576479588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311684360,"filename":"image_04112025_20_40_08_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99aa34da64725a65fe0b6a2cb9e29dce.jpg","text":"TemporaryFile(/tmp/multipartBody4664150712465699991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311684360,"filename":"image_04112025_20_39_41_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/2/11a51dd4dfdaee0477a9d7df09965117.jpg","text":"TemporaryFile(/tmp/multipartBody7380857283297750466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311684360,"filename":"image_04112025_20_40_07_24098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c8215fd99379c15cafc868efc488ad97.jpg","text":"TemporaryFile(/tmp/multipartBody269372727467258857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311684360,"filename":"image_04112025_20_40_14_2037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089780","file1":"1402089779","file0":"1402089775","file4":"1402089782","file5":"1402089783","file3":"1402089781"},"map_files_photo_id_array":[{"photo_id":"1402089783","filename":"file5"},{"photo_id":"1402089780","filename":"file2"},{"photo_id":"1402089782","filename":"file4"},{"photo_id":"1402089779","filename":"file1"},{"photo_id":"1402089775","filename":"file0"},{"photo_id":"1402089781","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089782":["hashtag1","hashtag2"]},{"1402089779":["hashtag1","hashtag2"]},{"1402089781":["hashtag1","hashtag2"]},{"1402089775":["hashtag1","hashtag2"]},{"1402089780":["hashtag1","hashtag2"]},{"1402089783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089782, 1402089779, 1402089781, 1402089775, 1402089780, 1402089783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.333247900009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 00:54:22.621344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_25_9617.jpg', '/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_34_9653.jpg', '/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_45_10741.jpg', '/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_55_9612.jpg', '/home/pi/Desktop/images/02012026/00/42/image_02012026_00_43_04_9665.jpg', '/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_14_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_25_9617.jpg
/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_34_9653.jpg
/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_45_10741.jpg
/home/pi/Desktop/images/02012026/00/42/image_02012026_00_42_55_9612.jpg
/home/pi/Desktop/images/02012026/00/42/image_02012026_00_43_04_9665.jpg
/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_14_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089791","1402089785","1402089792","1402089786","1402089789","1402089794"],"photo_ids_order":["1402089785","1402089786","1402089789","1402089791","1402089792","1402089794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4195ba495b4d17e02c12621dd7dd04b9.jpg","text":"TemporaryFile(/tmp/multipartBody5902711787990012457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311723224,"filename":"image_02012026_00_42_55_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/2/3af74ef800de9ff3846a29116e65d788.jpg","text":"TemporaryFile(/tmp/multipartBody8424915601378767031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311723224,"filename":"image_02012026_00_42_25_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/2/0c5e3b516440815d92d9f0d1b9d64e3e.jpg","text":"TemporaryFile(/tmp/multipartBody1209322017899877694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311723224,"filename":"image_02012026_00_43_04_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/2/ba7583966b877a536e79675697f3df85.jpg","text":"TemporaryFile(/tmp/multipartBody628122084792128544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311723224,"filename":"image_02012026_00_42_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/2/af98c80c8deed6a3bf2bd366fc4957cc.jpg","text":"TemporaryFile(/tmp/multipartBody8671522476765831378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311723224,"filename":"image_02012026_00_42_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/2/c2f68f0a4a0f74591d5b56ff5e0c8555.jpg","text":"TemporaryFile(/tmp/multipartBody57951420838713701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311723224,"filename":"image_02012026_00_43_14_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089789","file1":"1402089786","file0":"1402089785","file4":"1402089792","file5":"1402089794","file3":"1402089791"},"map_files_photo_id_array":[{"photo_id":"1402089794","filename":"file5"},{"photo_id":"1402089789","filename":"file2"},{"photo_id":"1402089792","filename":"file4"},{"photo_id":"1402089786","filename":"file1"},{"photo_id":"1402089785","filename":"file0"},{"photo_id":"1402089791","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089791":["hashtag1","hashtag2"]},{"1402089785":["hashtag1","hashtag2"]},{"1402089792":["hashtag1","hashtag2"]},{"1402089786":["hashtag1","hashtag2"]},{"1402089789":["hashtag1","hashtag2"]},{"1402089794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089791, 1402089785, 1402089792, 1402089786, 1402089789, 1402089794)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.13389849662781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:55:13.644541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/40/image_04112025_20_40_15_1653.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_17_1805.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_19_1667.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_21_1682.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_24_1643.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_26_1809.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/40/image_04112025_20_40_15_1653.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_17_1805.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_19_1667.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_21_1682.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_24_1643.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_26_1809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089797","1402089801","1402089806","1402089798","1402089802","1402089804"],"photo_ids_order":["1402089797","1402089798","1402089801","1402089802","1402089804","1402089806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/07ed5a8168afa1cc211e9a10aa601e92.jpg","text":"TemporaryFile(/tmp/multipartBody8621189558100022487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311778069,"filename":"image_04112025_20_40_15_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/2/5c78c8dd2c0ba4743e5e56283004514e.jpg","text":"TemporaryFile(/tmp/multipartBody1809675345382194216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311778069,"filename":"image_04112025_20_40_19_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/2/b311ed730220cd57902faa9b5b375993.jpg","text":"TemporaryFile(/tmp/multipartBody3074112236307639790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311778069,"filename":"image_04112025_20_40_26_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/2/12010f6b963458085878acde996aa538.jpg","text":"TemporaryFile(/tmp/multipartBody6262208310016011445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311778069,"filename":"image_04112025_20_40_17_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/2/ec00f500b673b58d7da6ed95cece7344.jpg","text":"TemporaryFile(/tmp/multipartBody574709736413898414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311778069,"filename":"image_04112025_20_40_21_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/2/40b43d79f48f417c18cbafb55a93a656.jpg","text":"TemporaryFile(/tmp/multipartBody3972871998701490298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311778069,"filename":"image_04112025_20_40_24_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089801","file1":"1402089798","file0":"1402089797","file4":"1402089804","file5":"1402089806","file3":"1402089802"},"map_files_photo_id_array":[{"photo_id":"1402089806","filename":"file5"},{"photo_id":"1402089801","filename":"file2"},{"photo_id":"1402089804","filename":"file4"},{"photo_id":"1402089798","filename":"file1"},{"photo_id":"1402089797","filename":"file0"},{"photo_id":"1402089802","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089797":["hashtag1","hashtag2"]},{"1402089801":["hashtag1","hashtag2"]},{"1402089806":["hashtag1","hashtag2"]},{"1402089798":["hashtag1","hashtag2"]},{"1402089802":["hashtag1","hashtag2"]},{"1402089804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089797, 1402089801, 1402089806, 1402089798, 1402089802, 1402089804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24862337112427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:56:03.908723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 00:56:14.921351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/40/image_04112025_20_40_29_1670.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_31_1680.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_32_1767.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_34_1611.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_36_1660.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_37_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/20/40/image_04112025_20_40_29_1670.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_31_1680.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_32_1767.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_34_1611.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_36_1660.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_37_1708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089812","1402089809","1402089814","1402089816","1402089819","1402089810"],"photo_ids_order":["1402089809","1402089810","1402089812","1402089814","1402089816","1402089819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d6336aca2dd827e5a9e8776b9572b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4743583268263240602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311840027,"filename":"image_04112025_20_40_32_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/2/3c2f3efbe61761f603edf97100136e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5620090875957243444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311840027,"filename":"image_04112025_20_40_29_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/2/3367bc7a198fceb02bdd6e05900b2b6a.jpg","text":"TemporaryFile(/tmp/multipartBody231464374674474645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311840027,"filename":"image_04112025_20_40_34_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/2/eb46f42218f0b542d0a2b862ce51ff53.jpg","text":"TemporaryFile(/tmp/multipartBody5463611012428002196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311840027,"filename":"image_04112025_20_40_36_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/2/fbea556401f197a9865b07097c4352b5.jpg","text":"TemporaryFile(/tmp/multipartBody8974261077441920536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311840027,"filename":"image_04112025_20_40_37_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/2/dbac19ca9b6a7822454f37b79039722d.jpg","text":"TemporaryFile(/tmp/multipartBody8667660417271478736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311840027,"filename":"image_04112025_20_40_31_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089812","file1":"1402089810","file0":"1402089809","file4":"1402089816","file5":"1402089819","file3":"1402089814"},"map_files_photo_id_array":[{"photo_id":"1402089819","filename":"file5"},{"photo_id":"1402089812","filename":"file2"},{"photo_id":"1402089816","filename":"file4"},{"photo_id":"1402089810","filename":"file1"},{"photo_id":"1402089809","filename":"file0"},{"photo_id":"1402089814","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089812":["hashtag1","hashtag2"]},{"1402089809":["hashtag1","hashtag2"]},{"1402089814":["hashtag1","hashtag2"]},{"1402089816":["hashtag1","hashtag2"]},{"1402089819":["hashtag1","hashtag2"]},{"1402089810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089812, 1402089809, 1402089814, 1402089816, 1402089819, 1402089810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35136294364929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:57:03.370594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_25_10633.jpg', '/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_35_9810.jpg', '/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_44_9541.jpg', '/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_55_10669.jpg', '/home/pi/Desktop/images/02012026/00/43/image_02012026_00_44_05_9686.jpg', '/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_14_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_25_10633.jpg
/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_35_9810.jpg
/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_44_9541.jpg
/home/pi/Desktop/images/02012026/00/43/image_02012026_00_43_55_10669.jpg
/home/pi/Desktop/images/02012026/00/43/image_02012026_00_44_05_9686.jpg
/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_14_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":["1402089833","1402089827","1402089832","1402089835","1402089829","1402089837"],"photo_ids_order":["1402089827","1402089829","1402089832","1402089833","1402089835","1402089837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/102320c609504e81279960a07ad850fc.jpg","text":"TemporaryFile(/tmp/multipartBody8724048386575320142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311884093,"filename":"image_02012026_00_43_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/2/3b1935aea78956487c7661932b737026.jpg","text":"TemporaryFile(/tmp/multipartBody3163494271999195202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311884093,"filename":"image_02012026_00_43_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/2/61be1712109fe12e8a6f5fbfed5d024e.jpg","text":"TemporaryFile(/tmp/multipartBody383991675839129739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311884093,"filename":"image_02012026_00_43_44_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/2/20ae8665c990f60854a814dee7e512bd.jpg","text":"TemporaryFile(/tmp/multipartBody4802092186526366857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311884093,"filename":"image_02012026_00_44_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/2/15b0c53c5ee98469e6437ae01793a0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6461685496973727051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311884093,"filename":"image_02012026_00_43_35_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/2/5bc385b174fa425eabc7f62159e92219.jpg","text":"TemporaryFile(/tmp/multipartBody6311080902524893543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767311884093,"filename":"image_02012026_00_44_14_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089832","file1":"1402089829","file0":"1402089827","file4":"1402089835","file5":"1402089837","file3":"1402089833"},"map_files_photo_id_array":[{"photo_id":"1402089837","filename":"file5"},{"photo_id":"1402089832","filename":"file2"},{"photo_id":"1402089835","filename":"file4"},{"photo_id":"1402089829","filename":"file1"},{"photo_id":"1402089827","filename":"file0"},{"photo_id":"1402089833","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089833":["hashtag1","hashtag2"]},{"1402089827":["hashtag1","hashtag2"]},{"1402089832":["hashtag1","hashtag2"]},{"1402089835":["hashtag1","hashtag2"]},{"1402089829":["hashtag1","hashtag2"]},{"1402089837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089833, 1402089827, 1402089832, 1402089835, 1402089829, 1402089837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97446346282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:57:42.769672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/40/image_04112025_20_40_39_1995.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_41_1792.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_49_1829.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_51_1798.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_56_1802.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_06_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/40/image_04112025_20_40_39_1995.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_41_1792.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_49_1829.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_51_1798.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_56_1802.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_06_1829.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7406766414642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 00:59:03.226852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_25_10689.jpg', '/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_35_9677.jpg', '/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_45_10600.jpg', '/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_55_9684.jpg', '/home/pi/Desktop/images/02012026/00/44/image_02012026_00_45_05_9738.jpg', '/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_14_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_25_10689.jpg
/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_35_9677.jpg
/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_45_10600.jpg
/home/pi/Desktop/images/02012026/00/44/image_02012026_00_44_55_9684.jpg
/home/pi/Desktop/images/02012026/00/44/image_02012026_00_45_05_9738.jpg
/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_14_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":["1402089863","1402089851","1402089856","1402089859","1402089853","1402089861"],"photo_ids_order":["1402089851","1402089853","1402089856","1402089859","1402089861","1402089863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f278602f731caca705ed9a38ef810830.jpg","text":"TemporaryFile(/tmp/multipartBody8275498272093743611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312004063,"filename":"image_02012026_00_45_14_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/2/9ad33f05f43c6b6826b473aedad8aa6a.jpg","text":"TemporaryFile(/tmp/multipartBody3803103495132866578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312004063,"filename":"image_02012026_00_44_25_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/2/7f128b7051542149d5b8e1b793d330ff.jpg","text":"TemporaryFile(/tmp/multipartBody6608818839881481332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312004063,"filename":"image_02012026_00_44_45_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/2/9f1802a229f5ce1e695b401b0a849006.jpg","text":"TemporaryFile(/tmp/multipartBody4937330749849871333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312004063,"filename":"image_02012026_00_44_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/2/7e063210d9c8896c46b0b5e78cfe4fb3.jpg","text":"TemporaryFile(/tmp/multipartBody755456877326721585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312004063,"filename":"image_02012026_00_44_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/2/a4b9df3b070993d679869b5a32b8cb06.jpg","text":"TemporaryFile(/tmp/multipartBody7801775825912974951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312004063,"filename":"image_02012026_00_45_05_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089856","file1":"1402089853","file0":"1402089851","file4":"1402089861","file5":"1402089863","file3":"1402089859"},"map_files_photo_id_array":[{"photo_id":"1402089863","filename":"file5"},{"photo_id":"1402089856","filename":"file2"},{"photo_id":"1402089861","filename":"file4"},{"photo_id":"1402089853","filename":"file1"},{"photo_id":"1402089851","filename":"file0"},{"photo_id":"1402089859","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089863":["hashtag1","hashtag2"]},{"1402089851":["hashtag1","hashtag2"]},{"1402089856":["hashtag1","hashtag2"]},{"1402089859":["hashtag1","hashtag2"]},{"1402089853":["hashtag1","hashtag2"]},{"1402089861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089863, 1402089851, 1402089856, 1402089859, 1402089853, 1402089861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.578227281570435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 00:59:42.402242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/40/image_04112025_20_40_39_1995.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_41_1792.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_49_1829.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_51_1798.jpg', '/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_56_1802.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_06_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/40/image_04112025_20_40_39_1995.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_41_1792.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_49_1829.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_51_1798.jpg
/home/pi/Desktop/images/04112025/20/40/image_04112025_20_40_56_1802.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_06_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":["1402089875","1402089869","1402089877","1402089871","1402089873","1402089867"],"photo_ids_order":["1402089867","1402089869","1402089871","1402089873","1402089875","1402089877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8438c87d2651cf4f0e8c8b81a18fcc64.jpg","text":"TemporaryFile(/tmp/multipartBody4187040876888929429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312044111,"filename":"image_04112025_20_40_56_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/2/85407c955206c251c98175c74395183f.jpg","text":"TemporaryFile(/tmp/multipartBody4560709034356081612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312044111,"filename":"image_04112025_20_40_41_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5df0c62133ac553804a9b94063b975dd.jpg","text":"TemporaryFile(/tmp/multipartBody6534877797678610713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312044111,"filename":"image_04112025_20_41_06_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/2/0f65849571cb53010a007784649218ba.jpg","text":"TemporaryFile(/tmp/multipartBody5658552783495632203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312044111,"filename":"image_04112025_20_40_49_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/2/5081fe28331ca2d12441a6e009682ece.jpg","text":"TemporaryFile(/tmp/multipartBody2102316333909322225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312044111,"filename":"image_04112025_20_40_51_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/2/c4f7f74fa68af854a8941386435ebdc0.jpg","text":"TemporaryFile(/tmp/multipartBody7800616063375853926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312044111,"filename":"image_04112025_20_40_39_1995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089871","file1":"1402089869","file0":"1402089867","file4":"1402089875","file5":"1402089877","file3":"1402089873"},"map_files_photo_id_array":[{"photo_id":"1402089877","filename":"file5"},{"photo_id":"1402089871","filename":"file2"},{"photo_id":"1402089875","filename":"file4"},{"photo_id":"1402089869","filename":"file1"},{"photo_id":"1402089867","filename":"file0"},{"photo_id":"1402089873","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089875":["hashtag1","hashtag2"]},{"1402089869":["hashtag1","hashtag2"]},{"1402089877":["hashtag1","hashtag2"]},{"1402089871":["hashtag1","hashtag2"]},{"1402089873":["hashtag1","hashtag2"]},{"1402089867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089875, 1402089869, 1402089877, 1402089871, 1402089873, 1402089867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77541637420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:00:22.570894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_25_10721.jpg', '/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_35_9847.jpg', '/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_44_9550.jpg', '/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_55_10774.jpg', '/home/pi/Desktop/images/02012026/00/45/image_02012026_00_46_05_9777.jpg', '/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_15_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_25_10721.jpg
/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_35_9847.jpg
/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_44_9550.jpg
/home/pi/Desktop/images/02012026/00/45/image_02012026_00_45_55_10774.jpg
/home/pi/Desktop/images/02012026/00/45/image_02012026_00_46_05_9777.jpg
/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_15_9947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089890","1402089884","1402089886","1402089889","1402089880","1402089882"],"photo_ids_order":["1402089880","1402089882","1402089884","1402089886","1402089889","1402089890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c9ddecaf550c1b828dc69db9b6be026.jpg","text":"TemporaryFile(/tmp/multipartBody7764653749660569522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312083169,"filename":"image_02012026_00_46_15_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/2/3bd7788db72e1b478790d20f8601e4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2422476444821882805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312083169,"filename":"image_02012026_00_45_44_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/2/e96fdbecef18da9da79b0e98db28721e.jpg","text":"TemporaryFile(/tmp/multipartBody3604912839843516619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312083169,"filename":"image_02012026_00_45_55_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/2/eb5c0291d26d78597a4202577b61ce5f.jpg","text":"TemporaryFile(/tmp/multipartBody1789545973213248384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312083169,"filename":"image_02012026_00_46_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/2/158665df59a0319444ef034fd2e345ca.jpg","text":"TemporaryFile(/tmp/multipartBody1399759841324740803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312083169,"filename":"image_02012026_00_45_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/2/6e3ed1b4eea0bd8dcd1d27cfb5e63fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3431228087991554136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312083169,"filename":"image_02012026_00_45_35_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089884","file1":"1402089882","file0":"1402089880","file4":"1402089889","file5":"1402089890","file3":"1402089886"},"map_files_photo_id_array":[{"photo_id":"1402089890","filename":"file5"},{"photo_id":"1402089884","filename":"file2"},{"photo_id":"1402089889","filename":"file4"},{"photo_id":"1402089882","filename":"file1"},{"photo_id":"1402089880","filename":"file0"},{"photo_id":"1402089886","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089890":["hashtag1","hashtag2"]},{"1402089884":["hashtag1","hashtag2"]},{"1402089886":["hashtag1","hashtag2"]},{"1402089889":["hashtag1","hashtag2"]},{"1402089880":["hashtag1","hashtag2"]},{"1402089882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089890, 1402089884, 1402089886, 1402089889, 1402089880, 1402089882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00855541229248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:01:03.414355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_25_9838.jpg', '/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_35_9704.jpg', '/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_44_9831.jpg', '/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_55_10657.jpg', '/home/pi/Desktop/images/02012026/00/46/image_02012026_00_47_05_9620.jpg', '/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_25_9838.jpg
/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_35_9704.jpg
/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_44_9831.jpg
/home/pi/Desktop/images/02012026/00/46/image_02012026_00_46_55_10657.jpg
/home/pi/Desktop/images/02012026/00/46/image_02012026_00_47_05_9620.jpg
/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_15_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":["1402089896","1402089899","1402089892","1402089897","1402089894","1402089893"],"photo_ids_order":["1402089892","1402089893","1402089894","1402089896","1402089897","1402089899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3fb1a958a6ccec805d058ccb18686ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2195492362457171764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312124074,"filename":"image_02012026_00_46_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/2/6f9a3e196973931de5e974ffd0fed1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5950218968137791949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312124074,"filename":"image_02012026_00_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/2/68d232e0be8e5435e4b03cfea674dda5.jpg","text":"TemporaryFile(/tmp/multipartBody8367059172941825872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312124074,"filename":"image_02012026_00_46_25_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/2/463973c882acaca85d68cae2748d0326.jpg","text":"TemporaryFile(/tmp/multipartBody8846869036000317251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312124074,"filename":"image_02012026_00_47_05_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/2/78f2bf36bd8b803fd36976bdf522f8d2.jpg","text":"TemporaryFile(/tmp/multipartBody5332201185121206157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312124074,"filename":"image_02012026_00_46_44_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/2/6908d203eaf27c09479590f37aacc2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4559683519295300281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312124074,"filename":"image_02012026_00_46_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089894","file1":"1402089893","file0":"1402089892","file4":"1402089897","file5":"1402089899","file3":"1402089896"},"map_files_photo_id_array":[{"photo_id":"1402089899","filename":"file5"},{"photo_id":"1402089894","filename":"file2"},{"photo_id":"1402089897","filename":"file4"},{"photo_id":"1402089893","filename":"file1"},{"photo_id":"1402089892","filename":"file0"},{"photo_id":"1402089896","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089896":["hashtag1","hashtag2"]},{"1402089899":["hashtag1","hashtag2"]},{"1402089892":["hashtag1","hashtag2"]},{"1402089897":["hashtag1","hashtag2"]},{"1402089894":["hashtag1","hashtag2"]},{"1402089893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089896, 1402089899, 1402089892, 1402089897, 1402089894, 1402089893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.398348569869995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:01:42.750788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/41/image_04112025_20_41_22_15785.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_24_1655.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_26_1788.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_27_1742.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_29_1648.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_31_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/20/41/image_04112025_20_41_22_15785.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_24_1655.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_26_1788.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_27_1742.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_29_1648.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_31_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":["1402089906","1402089908","1402089910","1402089904","1402089907","1402089909"],"photo_ids_order":["1402089904","1402089906","1402089907","1402089908","1402089909","1402089910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/feea590bddfe8dc86a8bab3f0b85fe78.jpg","text":"TemporaryFile(/tmp/multipartBody2344612653529133922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312164640,"filename":"image_04112025_20_41_24_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/2/995b2bccff2a5128811d40d78a545854.jpg","text":"TemporaryFile(/tmp/multipartBody6441735884017067263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312164640,"filename":"image_04112025_20_41_27_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/2/b69ec89bdfa70736dc4397c672c04826.jpg","text":"TemporaryFile(/tmp/multipartBody8196133657214344723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312164640,"filename":"image_04112025_20_41_31_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/2/ee51ccc22c277f453ba12b6ac036fb62.jpg","text":"TemporaryFile(/tmp/multipartBody8631487039866020484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312164640,"filename":"image_04112025_20_41_22_15785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0758d5ceb8b80536abeceb310cd49510.jpg","text":"TemporaryFile(/tmp/multipartBody7898060881843124024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312164640,"filename":"image_04112025_20_41_26_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/2/fb69e1925aa0e5c18cd9e882e6ab26ff.jpg","text":"TemporaryFile(/tmp/multipartBody4322451694302050957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312164640,"filename":"image_04112025_20_41_29_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089907","file1":"1402089906","file0":"1402089904","file4":"1402089909","file5":"1402089910","file3":"1402089908"},"map_files_photo_id_array":[{"photo_id":"1402089910","filename":"file5"},{"photo_id":"1402089907","filename":"file2"},{"photo_id":"1402089909","filename":"file4"},{"photo_id":"1402089906","filename":"file1"},{"photo_id":"1402089904","filename":"file0"},{"photo_id":"1402089908","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089906":["hashtag1","hashtag2"]},{"1402089908":["hashtag1","hashtag2"]},{"1402089910":["hashtag1","hashtag2"]},{"1402089904":["hashtag1","hashtag2"]},{"1402089907":["hashtag1","hashtag2"]},{"1402089909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089906, 1402089908, 1402089910, 1402089904, 1402089907, 1402089909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42265319824219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:02:21.982876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_25_9718.jpg', '/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_35_9600.jpg', '/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_44_9730.jpg', '/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_55_10571.jpg', '/home/pi/Desktop/images/02012026/00/47/image_02012026_00_48_05_9646.jpg', '/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_15_10542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_25_9718.jpg
/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_35_9600.jpg
/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_44_9730.jpg
/home/pi/Desktop/images/02012026/00/47/image_02012026_00_47_55_10571.jpg
/home/pi/Desktop/images/02012026/00/47/image_02012026_00_48_05_9646.jpg
/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_15_10542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089914","1402089917","1402089919","1402089913","1402089927","1402089921"],"photo_ids_order":["1402089913","1402089914","1402089917","1402089919","1402089921","1402089927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88c279ba268f421e92f9e3a46c11e194.jpg","text":"TemporaryFile(/tmp/multipartBody8000957293308706097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312202576,"filename":"image_02012026_00_47_35_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/2/6b8b9fe21a3b08fe216e1ecebeafd472.jpg","text":"TemporaryFile(/tmp/multipartBody2635557387316624172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312202576,"filename":"image_02012026_00_47_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/2/474789e5039556d9e53ec82488192207.jpg","text":"TemporaryFile(/tmp/multipartBody7729922424691183036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312202576,"filename":"image_02012026_00_47_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/2/57f0370ee34855279340cff3760723bf.jpg","text":"TemporaryFile(/tmp/multipartBody6236403208479310055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312202576,"filename":"image_02012026_00_47_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/2/66ecab264136d398d1d38c663746c1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7346601984898677091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312202576,"filename":"image_02012026_00_48_15_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/2/58f12f72ec59852f2f3d8fd4c189759d.jpg","text":"TemporaryFile(/tmp/multipartBody258784751246434775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312202576,"filename":"image_02012026_00_48_05_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089917","file1":"1402089914","file0":"1402089913","file4":"1402089921","file5":"1402089927","file3":"1402089919"},"map_files_photo_id_array":[{"photo_id":"1402089927","filename":"file5"},{"photo_id":"1402089917","filename":"file2"},{"photo_id":"1402089921","filename":"file4"},{"photo_id":"1402089914","filename":"file1"},{"photo_id":"1402089913","filename":"file0"},{"photo_id":"1402089919","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089914":["hashtag1","hashtag2"]},{"1402089917":["hashtag1","hashtag2"]},{"1402089919":["hashtag1","hashtag2"]},{"1402089913":["hashtag1","hashtag2"]},{"1402089927":["hashtag1","hashtag2"]},{"1402089921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089914, 1402089917, 1402089919, 1402089913, 1402089927, 1402089921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.790931224823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:03:02.901144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_25_9696.jpg', '/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_35_9742.jpg', '/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_45_10648.jpg', '/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_55_9638.jpg', '/home/pi/Desktop/images/02012026/00/48/image_02012026_00_49_04_9535.jpg', '/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_25_9696.jpg
/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_35_9742.jpg
/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_45_10648.jpg
/home/pi/Desktop/images/02012026/00/48/image_02012026_00_48_55_9638.jpg
/home/pi/Desktop/images/02012026/00/48/image_02012026_00_49_04_9535.jpg
/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_25_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402089932","1402089929","1402089934","1402089928","1402089936","1402089930"],"photo_ids_order":["1402089928","1402089929","1402089930","1402089932","1402089934","1402089936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/23b336f3c89be48aa1851622f2bb9084.jpg","text":"TemporaryFile(/tmp/multipartBody6456711282567434485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312243567,"filename":"image_02012026_00_48_55_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/2/fe7fe62d188f579fe5e06dd9a27de10a.jpg","text":"TemporaryFile(/tmp/multipartBody7237310573362734392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312243567,"filename":"image_02012026_00_48_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/2/614b9d641d69ee723dee5c269cb4b1af.jpg","text":"TemporaryFile(/tmp/multipartBody635503268317962128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312243567,"filename":"image_02012026_00_49_04_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/2/593b5e89d8dbb0894a57a882cd9ee894.jpg","text":"TemporaryFile(/tmp/multipartBody8463052781252396282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312243567,"filename":"image_02012026_00_48_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/2/b067a075f0c95f1f77e3c2fef03ab7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4220178221191962170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312243567,"filename":"image_02012026_00_49_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/2/7fdc925672ec18ba014c3bcf5302de16.jpg","text":"TemporaryFile(/tmp/multipartBody6851501093245201025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312243567,"filename":"image_02012026_00_48_45_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089930","file1":"1402089929","file0":"1402089928","file4":"1402089934","file5":"1402089936","file3":"1402089932"},"map_files_photo_id_array":[{"photo_id":"1402089936","filename":"file5"},{"photo_id":"1402089930","filename":"file2"},{"photo_id":"1402089934","filename":"file4"},{"photo_id":"1402089929","filename":"file1"},{"photo_id":"1402089928","filename":"file0"},{"photo_id":"1402089932","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089932":["hashtag1","hashtag2"]},{"1402089929":["hashtag1","hashtag2"]},{"1402089934":["hashtag1","hashtag2"]},{"1402089928":["hashtag1","hashtag2"]},{"1402089936":["hashtag1","hashtag2"]},{"1402089930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089932, 1402089929, 1402089934, 1402089928, 1402089936, 1402089930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.38917541503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:04:02.528205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 01:04:12.019870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/41/image_04112025_20_41_36_5455.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_47_1707.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_51_1819.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_56_1701.jpg', '/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_58_1572.jpg', '/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_03_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/20/41/image_04112025_20_41_36_5455.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_47_1707.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_51_1819.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_56_1701.jpg
/home/pi/Desktop/images/04112025/20/41/image_04112025_20_41_58_1572.jpg
/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_03_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089944","1402089941","1402089949","1402089940","1402089952","1402089946"],"photo_ids_order":["1402089940","1402089941","1402089944","1402089946","1402089949","1402089952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfb863796650e490a1121267933a33b5.jpg","text":"TemporaryFile(/tmp/multipartBody8996477717143511701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312314956,"filename":"image_04112025_20_41_51_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/08c6fa0a4fc98f4844ac9e564be04063.jpg","text":"TemporaryFile(/tmp/multipartBody3193043038152933751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312314956,"filename":"image_04112025_20_41_47_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/2/2931764845e3249d1f4b5169935f1784.jpg","text":"TemporaryFile(/tmp/multipartBody6154778149753724712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312314956,"filename":"image_04112025_20_41_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/2/05f8ba9533f8bc0118f610ea84db95e1.jpg","text":"TemporaryFile(/tmp/multipartBody7778400808501776700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312314956,"filename":"image_04112025_20_41_36_5455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4455a4d0597410e028cd220b0dcc8a1.jpg","text":"TemporaryFile(/tmp/multipartBody6101692540643207415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312314956,"filename":"image_04112025_20_42_03_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/2/5fce69a74cfbc8cb3d1fe0ee38976f68.jpg","text":"TemporaryFile(/tmp/multipartBody7563061423938067592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312314956,"filename":"image_04112025_20_41_56_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089944","file1":"1402089941","file0":"1402089940","file4":"1402089949","file5":"1402089952","file3":"1402089946"},"map_files_photo_id_array":[{"photo_id":"1402089952","filename":"file5"},{"photo_id":"1402089944","filename":"file2"},{"photo_id":"1402089949","filename":"file4"},{"photo_id":"1402089941","filename":"file1"},{"photo_id":"1402089940","filename":"file0"},{"photo_id":"1402089946","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089944":["hashtag1","hashtag2"]},{"1402089941":["hashtag1","hashtag2"]},{"1402089949":["hashtag1","hashtag2"]},{"1402089940":["hashtag1","hashtag2"]},{"1402089952":["hashtag1","hashtag2"]},{"1402089946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089944, 1402089941, 1402089949, 1402089940, 1402089952, 1402089946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4648060798645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:05:02.785912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 01:05:12.136681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/42/image_04112025_20_42_09_2729.jpg', '/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_12_2684.jpg', '/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_20_5200.jpg', '/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_40_1542.jpg', '/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_41_1636.jpg', '/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_49_5716.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/42/image_04112025_20_42_09_2729.jpg
/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_12_2684.jpg
/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_20_5200.jpg
/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_40_1542.jpg
/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_41_1636.jpg
/home/pi/Desktop/images/04112025/20/42/image_04112025_20_42_49_5716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402089965","1402089967","1402089961","1402089955","1402089958","1402089963"],"photo_ids_order":["1402089955","1402089958","1402089961","1402089963","1402089965","1402089967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/34c071e1c6500b3001003cf830d2fc0f.jpg","text":"TemporaryFile(/tmp/multipartBody1951503860677353536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312378539,"filename":"image_04112025_20_42_41_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/2/3636b22c038ce54af0a1f6c98d45be21.jpg","text":"TemporaryFile(/tmp/multipartBody8055987709587504562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312378539,"filename":"image_04112025_20_42_49_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/2/d8f21e9be25a1ccda768be0197ce9167.jpg","text":"TemporaryFile(/tmp/multipartBody6739658406324484784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312378539,"filename":"image_04112025_20_42_20_5200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0fa2e3abd8b9ad9914c199586e0eebe8.jpg","text":"TemporaryFile(/tmp/multipartBody3486920503949560318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312378539,"filename":"image_04112025_20_42_09_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/2/dac62516de05326e15486c267773b9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8057529941583724556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312378539,"filename":"image_04112025_20_42_12_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/2/e7b0842689fba9e4284946267245aef9.jpg","text":"TemporaryFile(/tmp/multipartBody8665022280312443066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312378539,"filename":"image_04112025_20_42_40_1542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089961","file1":"1402089958","file0":"1402089955","file4":"1402089965","file5":"1402089967","file3":"1402089963"},"map_files_photo_id_array":[{"photo_id":"1402089967","filename":"file5"},{"photo_id":"1402089961","filename":"file2"},{"photo_id":"1402089965","filename":"file4"},{"photo_id":"1402089958","filename":"file1"},{"photo_id":"1402089955","filename":"file0"},{"photo_id":"1402089963","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089965":["hashtag1","hashtag2"]},{"1402089967":["hashtag1","hashtag2"]},{"1402089961":["hashtag1","hashtag2"]},{"1402089955":["hashtag1","hashtag2"]},{"1402089958":["hashtag1","hashtag2"]},{"1402089963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089965, 1402089967, 1402089961, 1402089955, 1402089958, 1402089963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.91818690299988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:06:02.704268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 01:06:12.364613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/43/image_04112025_20_43_03_1579.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_05_1634.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_11_1765.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_13_1696.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_15_1583.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_37_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/20/43/image_04112025_20_43_03_1579.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_05_1634.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_11_1765.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_13_1696.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_15_1583.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_37_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":["1402089977","1402089979","1402089970","1402089981","1402089972","1402089975"],"photo_ids_order":["1402089970","1402089972","1402089975","1402089977","1402089979","1402089981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26227606dc22cb63124c0c34be046ea6.jpg","text":"TemporaryFile(/tmp/multipartBody945055922284692928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312436159,"filename":"image_04112025_20_43_13_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/2/8b872278f70b82749e7f8e954c64ef28.jpg","text":"TemporaryFile(/tmp/multipartBody1911251778170402435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312436159,"filename":"image_04112025_20_43_15_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/2/5af05069677b03e4e8902d52564d2b70.jpg","text":"TemporaryFile(/tmp/multipartBody7214165818876909252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312436159,"filename":"image_04112025_20_43_03_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/2/ed4452a9f7bfcf64655915ca533e95ca.jpg","text":"TemporaryFile(/tmp/multipartBody6921008213268409810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312436159,"filename":"image_04112025_20_43_37_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/2/72d544398c08155c0709d0fb42d0a6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1570687003068933664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312436159,"filename":"image_04112025_20_43_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/2/b51811a0154c805219a20b9d3530ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody4849923370602440218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312436159,"filename":"image_04112025_20_43_11_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089975","file1":"1402089972","file0":"1402089970","file4":"1402089979","file5":"1402089981","file3":"1402089977"},"map_files_photo_id_array":[{"photo_id":"1402089981","filename":"file5"},{"photo_id":"1402089975","filename":"file2"},{"photo_id":"1402089979","filename":"file4"},{"photo_id":"1402089972","filename":"file1"},{"photo_id":"1402089970","filename":"file0"},{"photo_id":"1402089977","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402089977":["hashtag1","hashtag2"]},{"1402089979":["hashtag1","hashtag2"]},{"1402089970":["hashtag1","hashtag2"]},{"1402089981":["hashtag1","hashtag2"]},{"1402089972":["hashtag1","hashtag2"]},{"1402089975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402089977, 1402089979, 1402089970, 1402089981, 1402089972, 1402089975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.522321939468384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:07:03.300091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_34_9636.jpg', '/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_45_10612.jpg', '/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_55_9828.jpg', '/home/pi/Desktop/images/02012026/00/49/image_02012026_00_50_04_9554.jpg', '/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_25_9764.jpg', '/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_35_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_34_9636.jpg
/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_45_10612.jpg
/home/pi/Desktop/images/02012026/00/49/image_02012026_00_49_55_9828.jpg
/home/pi/Desktop/images/02012026/00/49/image_02012026_00_50_04_9554.jpg
/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_25_9764.jpg
/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_35_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":["1402089986","1402089985","1402089988","1402089990","1402089984","1402089992"],"photo_ids_order":["1402089984","1402089985","1402089986","1402089988","1402089990","1402089992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bc332582314e12e65ce3c1ab1016de53.jpg","text":"TemporaryFile(/tmp/multipartBody913074006715333204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312483978,"filename":"image_02012026_00_49_55_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8ec5e4ae1bfc467ac4b688e201b9e52.jpg","text":"TemporaryFile(/tmp/multipartBody4970645637680662538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312483978,"filename":"image_02012026_00_49_45_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/2/58e18d52ee61af5ca2969f5da4e78d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7376487986327071895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312483978,"filename":"image_02012026_00_50_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/2/981a997ad8ea38dd20716783cb3e26a6.jpg","text":"TemporaryFile(/tmp/multipartBody6300602655574032288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312483978,"filename":"image_02012026_00_50_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/2/7a8d75757e9c2d81f4ec4bb4b0071712.jpg","text":"TemporaryFile(/tmp/multipartBody7743017473836430884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312483978,"filename":"image_02012026_00_49_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/2/1366f9e98211175998a76844102aff2c.jpg","text":"TemporaryFile(/tmp/multipartBody9074584022592672724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312483978,"filename":"image_02012026_00_50_35_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402089986","file1":"1402089985","file0":"1402089984","file4":"1402089990","file5":"1402089992","file3":"1402089988"},"map_files_photo_id_array":[{"photo_id":"1402089992","filename":"file5"},{"photo_id":"1402089986","filename":"file2"},{"photo_id":"1402089990","filename":"file4"},{"photo_id":"1402089985","filename":"file1"},{"photo_id":"1402089984","filename":"file0"},{"photo_id":"1402089988","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402089986":["hashtag1","hashtag2"]},{"1402089985":["hashtag1","hashtag2"]},{"1402089988":["hashtag1","hashtag2"]},{"1402089990":["hashtag1","hashtag2"]},{"1402089984":["hashtag1","hashtag2"]},{"1402089992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402089986, 1402089985, 1402089988, 1402089990, 1402089984, 1402089992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80451488494873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:07:42.556411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/43/image_04112025_20_43_38_1698.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_53_11727.jpg', '/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_55_1629.jpg', '/home/pi/Desktop/images/04112025/20/44/image_04112025_20_44_05_1651.jpg', '/home/pi/Desktop/images/04112025/20/44/image_04112025_20_44_07_1693.jpg', '/home/pi/Desktop/images/04112025/20/44/image_04112025_20_44_18_2759.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/43/image_04112025_20_43_38_1698.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_53_11727.jpg
/home/pi/Desktop/images/04112025/20/43/image_04112025_20_43_55_1629.jpg
/home/pi/Desktop/images/04112025/20/44/image_04112025_20_44_05_1651.jpg
/home/pi/Desktop/images/04112025/20/44/image_04112025_20_44_07_1693.jpg
/home/pi/Desktop/images/04112025/20/44/image_04112025_20_44_18_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090002","1402089997","1402090001","1402089999","1402090000","1402090003"],"photo_ids_order":["1402089997","1402089999","1402090000","1402090001","1402090002","1402090003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2dd2f055953bc427bdca9ba3e068db0.jpg","text":"TemporaryFile(/tmp/multipartBody5569637171479568536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312524423,"filename":"image_04112025_20_44_07_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/2/43b264ddea84c1ec902e6ac2efe205cc.jpg","text":"TemporaryFile(/tmp/multipartBody7027322042419064337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312524423,"filename":"image_04112025_20_43_38_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/2/3327775278dee8f78beada5a073d08a5.jpg","text":"TemporaryFile(/tmp/multipartBody6367968253997106628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312524423,"filename":"image_04112025_20_44_05_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/2/d6df9e2369b61a473ac72428bc844324.jpg","text":"TemporaryFile(/tmp/multipartBody7073538115374201656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312524423,"filename":"image_04112025_20_43_53_11727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17603a3c54fb55806fa22da8664db9a7.jpg","text":"TemporaryFile(/tmp/multipartBody1341313510381892881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312524423,"filename":"image_04112025_20_43_55_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/2/6b002d6378aa53d70b2423ba3d2b1f68.jpg","text":"TemporaryFile(/tmp/multipartBody9187365477368299649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312524423,"filename":"image_04112025_20_44_18_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090000","file1":"1402089999","file0":"1402089997","file4":"1402090002","file5":"1402090003","file3":"1402090001"},"map_files_photo_id_array":[{"photo_id":"1402090003","filename":"file5"},{"photo_id":"1402090000","filename":"file2"},{"photo_id":"1402090002","filename":"file4"},{"photo_id":"1402089999","filename":"file1"},{"photo_id":"1402089997","filename":"file0"},{"photo_id":"1402090001","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090002":["hashtag1","hashtag2"]},{"1402089997":["hashtag1","hashtag2"]},{"1402090001":["hashtag1","hashtag2"]},{"1402089999":["hashtag1","hashtag2"]},{"1402090000":["hashtag1","hashtag2"]},{"1402090003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090002, 1402089997, 1402090001, 1402089999, 1402090000, 1402090003)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.34691667556763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:08:32.761090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/44/image_04112025_20_44_51_1749.jpg', '/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_08_4356.jpg', '/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_10_1692.jpg', '/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_12_2657.jpg', '/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_15_2681.jpg', '/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_21_2946.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/44/image_04112025_20_44_51_1749.jpg
/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_08_4356.jpg
/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_10_1692.jpg
/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_12_2657.jpg
/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_15_2681.jpg
/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_21_2946.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090014","1402090017","1402090011","1402090019","1402090018","1402090009"],"photo_ids_order":["1402090009","1402090011","1402090014","1402090017","1402090018","1402090019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2bfe8c80f67d49301a400bf5af1853b0.jpg","text":"TemporaryFile(/tmp/multipartBody4930977600558177033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312574614,"filename":"image_04112025_20_45_10_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/2/5df160651b6b16c7cc06e8477b17f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody754989576280787919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312574614,"filename":"image_04112025_20_45_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/2/11c1b90a9a73fe238febea0ab4ea691d.jpg","text":"TemporaryFile(/tmp/multipartBody5595094488111351418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312574614,"filename":"image_04112025_20_45_08_4356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aff3845b6e204d66a4508938d7102ace.jpg","text":"TemporaryFile(/tmp/multipartBody1970732499703073949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312574614,"filename":"image_04112025_20_45_21_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/2/41749acfc8ceb6237500b6e90887cd38.jpg","text":"TemporaryFile(/tmp/multipartBody8228631876606160441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312574614,"filename":"image_04112025_20_45_15_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/2/ef96d964ee2c8502b6d4871ad7dca2f3.jpg","text":"TemporaryFile(/tmp/multipartBody1832912872078745553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312574614,"filename":"image_04112025_20_44_51_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090014","file1":"1402090011","file0":"1402090009","file4":"1402090018","file5":"1402090019","file3":"1402090017"},"map_files_photo_id_array":[{"photo_id":"1402090019","filename":"file5"},{"photo_id":"1402090014","filename":"file2"},{"photo_id":"1402090018","filename":"file4"},{"photo_id":"1402090011","filename":"file1"},{"photo_id":"1402090009","filename":"file0"},{"photo_id":"1402090017","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090014":["hashtag1","hashtag2"]},{"1402090017":["hashtag1","hashtag2"]},{"1402090011":["hashtag1","hashtag2"]},{"1402090019":["hashtag1","hashtag2"]},{"1402090018":["hashtag1","hashtag2"]},{"1402090009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090014, 1402090017, 1402090011, 1402090019, 1402090018, 1402090009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36712718009949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:09:11.808047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/45/image_04112025_20_45_54_2752.jpg', '/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_57_3028.jpg', '/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_09_3770.jpg', '/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_12_2788.jpg', '/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_41_12396.jpg', '/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_44_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/20/45/image_04112025_20_45_54_2752.jpg
/home/pi/Desktop/images/04112025/20/45/image_04112025_20_45_57_3028.jpg
/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_09_3770.jpg
/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_12_2788.jpg
/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_41_12396.jpg
/home/pi/Desktop/images/04112025/20/46/image_04112025_20_46_44_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090029","1402090020","1402090022","1402090024","1402090027","1402090021"],"photo_ids_order":["1402090020","1402090021","1402090022","1402090024","1402090027","1402090029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/81a982cb06f88784538687283259b236.jpg","text":"TemporaryFile(/tmp/multipartBody7713650920420985857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312613545,"filename":"image_04112025_20_46_44_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/2/fb631858422ed27ed28259661087556f.jpg","text":"TemporaryFile(/tmp/multipartBody93270708551523729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312613545,"filename":"image_04112025_20_45_54_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/2/d72c037ad53c75739e808fda779c8251.jpg","text":"TemporaryFile(/tmp/multipartBody3624002446092281790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312613545,"filename":"image_04112025_20_46_09_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/2/75fb9b5f5d35c168d4aacb8b754a63ae.jpg","text":"TemporaryFile(/tmp/multipartBody373571693697913982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312613545,"filename":"image_04112025_20_46_12_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/2/59cf9585f4b93294dde1d60674ecff69.jpg","text":"TemporaryFile(/tmp/multipartBody5900504413187497846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312613545,"filename":"image_04112025_20_46_41_12396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/342ed427374abef9240fc98601a86d9c.jpg","text":"TemporaryFile(/tmp/multipartBody1197219299897442286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312613545,"filename":"image_04112025_20_45_57_3028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090022","file1":"1402090021","file0":"1402090020","file4":"1402090027","file5":"1402090029","file3":"1402090024"},"map_files_photo_id_array":[{"photo_id":"1402090029","filename":"file5"},{"photo_id":"1402090022","filename":"file2"},{"photo_id":"1402090027","filename":"file4"},{"photo_id":"1402090021","filename":"file1"},{"photo_id":"1402090020","filename":"file0"},{"photo_id":"1402090024","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090029":["hashtag1","hashtag2"]},{"1402090020":["hashtag1","hashtag2"]},{"1402090022":["hashtag1","hashtag2"]},{"1402090024":["hashtag1","hashtag2"]},{"1402090027":["hashtag1","hashtag2"]},{"1402090021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090029, 1402090020, 1402090022, 1402090024, 1402090027, 1402090021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.929059743881226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:10:02.396357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_45_9840.jpg', '/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_55_10578.jpg', '/home/pi/Desktop/images/02012026/00/50/image_02012026_00_51_05_9664.jpg', '/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_24_9589.jpg', '/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_34_9902.jpg', '/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_45_9840.jpg
/home/pi/Desktop/images/02012026/00/50/image_02012026_00_50_55_10578.jpg
/home/pi/Desktop/images/02012026/00/50/image_02012026_00_51_05_9664.jpg
/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_24_9589.jpg
/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_34_9902.jpg
/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_45_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090032","1402090035","1402090034","1402090037","1402090036","1402090033"],"photo_ids_order":["1402090032","1402090033","1402090034","1402090035","1402090036","1402090037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/582d23d26667da687b90916153d6f868.jpg","text":"TemporaryFile(/tmp/multipartBody9135118092732744942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312663047,"filename":"image_02012026_00_50_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/2/345791bf2017469ca8fee0d3ba7659b5.jpg","text":"TemporaryFile(/tmp/multipartBody8356085513380805909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312663047,"filename":"image_02012026_00_51_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/2/4ae999861a5617864f6c68b7b5723c24.jpg","text":"TemporaryFile(/tmp/multipartBody3541575562759431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312663047,"filename":"image_02012026_00_51_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/2/6a52f8a69c81bdeb8d3609c0403e22c5.jpg","text":"TemporaryFile(/tmp/multipartBody1008496982965757635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312663047,"filename":"image_02012026_00_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/2/da39f8cf22361f50eb2aad9530f2f75c.jpg","text":"TemporaryFile(/tmp/multipartBody1398027662822353359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312663047,"filename":"image_02012026_00_51_34_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc5ebb8ce6216e13e5f93b6c80b74317.jpg","text":"TemporaryFile(/tmp/multipartBody1206023380462076720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312663047,"filename":"image_02012026_00_50_55_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090034","file1":"1402090033","file0":"1402090032","file4":"1402090036","file5":"1402090037","file3":"1402090035"},"map_files_photo_id_array":[{"photo_id":"1402090037","filename":"file5"},{"photo_id":"1402090034","filename":"file2"},{"photo_id":"1402090036","filename":"file4"},{"photo_id":"1402090033","filename":"file1"},{"photo_id":"1402090032","filename":"file0"},{"photo_id":"1402090035","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090032":["hashtag1","hashtag2"]},{"1402090035":["hashtag1","hashtag2"]},{"1402090034":["hashtag1","hashtag2"]},{"1402090037":["hashtag1","hashtag2"]},{"1402090036":["hashtag1","hashtag2"]},{"1402090033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090032, 1402090035, 1402090034, 1402090037, 1402090036, 1402090033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08813142776489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:10:42.080391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/46/image_04112025_20_46_54_1770.jpg', '/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_03_2688.jpg', '/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_11_2709.jpg', '/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_21_3674.jpg', '/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_24_2740.jpg', '/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_33_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/20/46/image_04112025_20_46_54_1770.jpg
/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_03_2688.jpg
/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_11_2709.jpg
/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_21_3674.jpg
/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_24_2740.jpg
/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_33_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":["1402090043","1402090052","1402090046","1402090054","1402090048","1402090050"],"photo_ids_order":["1402090043","1402090046","1402090048","1402090050","1402090052","1402090054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32aa945bb7da93a21c3b8f36a05b930f.jpg","text":"TemporaryFile(/tmp/multipartBody3310265876256525041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312704026,"filename":"image_04112025_20_46_54_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/2/2091626a0d5b23c09eb995f8255ade5f.jpg","text":"TemporaryFile(/tmp/multipartBody2145152988026129120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312704026,"filename":"image_04112025_20_47_24_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/2/89aebc5eed1a1887ee2c6b478fcae33e.jpg","text":"TemporaryFile(/tmp/multipartBody4971724392580923412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312704026,"filename":"image_04112025_20_47_03_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/2/2bc4bf2ff6e1f7313451f6f32e560a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2524085326044183749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312704026,"filename":"image_04112025_20_47_33_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/2/f7cbd5a96565b5a5ffd0d744351342a8.jpg","text":"TemporaryFile(/tmp/multipartBody2024829093920831424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312704026,"filename":"image_04112025_20_47_11_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/2/51b15585e5d42ad0b1d9f24be5e827e2.jpg","text":"TemporaryFile(/tmp/multipartBody5161294213235055777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312704026,"filename":"image_04112025_20_47_21_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090048","file1":"1402090046","file0":"1402090043","file4":"1402090052","file5":"1402090054","file3":"1402090050"},"map_files_photo_id_array":[{"photo_id":"1402090054","filename":"file5"},{"photo_id":"1402090048","filename":"file2"},{"photo_id":"1402090052","filename":"file4"},{"photo_id":"1402090046","filename":"file1"},{"photo_id":"1402090043","filename":"file0"},{"photo_id":"1402090050","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090043":["hashtag1","hashtag2"]},{"1402090052":["hashtag1","hashtag2"]},{"1402090046":["hashtag1","hashtag2"]},{"1402090054":["hashtag1","hashtag2"]},{"1402090048":["hashtag1","hashtag2"]},{"1402090050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090043, 1402090052, 1402090046, 1402090054, 1402090048, 1402090050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7651948928833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:11:22.236692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_55_9923.jpg', '/home/pi/Desktop/images/02012026/00/51/image_02012026_00_52_05_9741.jpg', '/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_14_9643.jpg', '/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_25_10621.jpg', '/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_35_9683.jpg', '/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_44_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/51/image_02012026_00_51_55_9923.jpg
/home/pi/Desktop/images/02012026/00/51/image_02012026_00_52_05_9741.jpg
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_14_9643.jpg
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_25_10621.jpg
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_35_9683.jpg
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_44_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":["1402090068","1402090070","1402090064","1402090075","1402090060","1402090057"],"photo_ids_order":["1402090057","1402090060","1402090064","1402090068","1402090070","1402090075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a33964000b847359999105ac86c1c50.jpg","text":"TemporaryFile(/tmp/multipartBody1234195489880135072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312742851,"filename":"image_02012026_00_52_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/2/eecc9922f7478f9ed7e3fd4444f71d38.jpg","text":"TemporaryFile(/tmp/multipartBody7149094696577720111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312742851,"filename":"image_02012026_00_52_35_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/2/f1db24dc0293a1ae767a5b9f1fc0584f.jpg","text":"TemporaryFile(/tmp/multipartBody6121645091911069160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312742851,"filename":"image_02012026_00_52_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/2/aeb57b99ff248ea526d15c6badda0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6960133468595002689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312742851,"filename":"image_02012026_00_52_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/2/1307b9f4249a931a9d3d5242a2c14e30.jpg","text":"TemporaryFile(/tmp/multipartBody7583311883289772775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312742851,"filename":"image_02012026_00_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/2/e7f85fc922c8aa56e38178e987b612f3.jpg","text":"TemporaryFile(/tmp/multipartBody516814654804296991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312742851,"filename":"image_02012026_00_51_55_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090064","file1":"1402090060","file0":"1402090057","file4":"1402090070","file5":"1402090075","file3":"1402090068"},"map_files_photo_id_array":[{"photo_id":"1402090075","filename":"file5"},{"photo_id":"1402090064","filename":"file2"},{"photo_id":"1402090070","filename":"file4"},{"photo_id":"1402090060","filename":"file1"},{"photo_id":"1402090057","filename":"file0"},{"photo_id":"1402090068","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090068":["hashtag1","hashtag2"]},{"1402090070":["hashtag1","hashtag2"]},{"1402090064":["hashtag1","hashtag2"]},{"1402090075":["hashtag1","hashtag2"]},{"1402090060":["hashtag1","hashtag2"]},{"1402090057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090068, 1402090070, 1402090064, 1402090075, 1402090060, 1402090057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.505621671676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:12:02.867225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_55_10676.jpg', '/home/pi/Desktop/images/02012026/00/52/image_02012026_00_53_05_9670.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_14_9713.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_25_10679.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_35_9631.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_45_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_55_10676.jpg
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_53_05_9670.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_14_9713.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_25_10679.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_35_9631.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_45_9854.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.49830198287963867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:12:12.464096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/47/image_04112025_20_47_36_2725.jpg', '/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_46_6551.jpg', '/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_24_8864.jpg', '/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_42_1660.jpg', '/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_50_1837.jpg', '/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_57_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/47/image_04112025_20_47_36_2725.jpg
/home/pi/Desktop/images/04112025/20/47/image_04112025_20_47_46_6551.jpg
/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_24_8864.jpg
/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_42_1660.jpg
/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_50_1837.jpg
/home/pi/Desktop/images/04112025/20/48/image_04112025_20_48_57_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":["1402090089","1402090088","1402090079","1402090084","1402090081","1402090086"],"photo_ids_order":["1402090079","1402090081","1402090084","1402090086","1402090088","1402090089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d33ae43ae5b5fae69b1fc1ec37844fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5255979226938744571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312794234,"filename":"image_04112025_20_48_57_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/2/6934bbdd037829873e699363442fef80.jpg","text":"TemporaryFile(/tmp/multipartBody7794579182448302806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312794234,"filename":"image_04112025_20_48_50_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/2/f1158e7a86ffec1b252f78a40d2cd70b.jpg","text":"TemporaryFile(/tmp/multipartBody7905541907066048516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312794234,"filename":"image_04112025_20_47_36_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/2/4259b4d0f5bad3148bdd5cdcb244bc2f.jpg","text":"TemporaryFile(/tmp/multipartBody2181080184335473728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312794234,"filename":"image_04112025_20_48_24_8864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfc89788845afb03be89e4222887ece3.jpg","text":"TemporaryFile(/tmp/multipartBody8041445592827500497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312794234,"filename":"image_04112025_20_47_46_6551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0c4cf374fa83641bcb4915f082d87857.jpg","text":"TemporaryFile(/tmp/multipartBody6994681255428820846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312794234,"filename":"image_04112025_20_48_42_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090084","file1":"1402090081","file0":"1402090079","file4":"1402090088","file5":"1402090089","file3":"1402090086"},"map_files_photo_id_array":[{"photo_id":"1402090089","filename":"file5"},{"photo_id":"1402090084","filename":"file2"},{"photo_id":"1402090088","filename":"file4"},{"photo_id":"1402090081","filename":"file1"},{"photo_id":"1402090079","filename":"file0"},{"photo_id":"1402090086","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090089":["hashtag1","hashtag2"]},{"1402090088":["hashtag1","hashtag2"]},{"1402090079":["hashtag1","hashtag2"]},{"1402090084":["hashtag1","hashtag2"]},{"1402090081":["hashtag1","hashtag2"]},{"1402090086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090089, 1402090088, 1402090079, 1402090084, 1402090081, 1402090086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98865604400635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:13:11.129052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 01:13:18.347344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/49/image_04112025_20_49_05_1652.jpg', '/home/pi/Desktop/images/04112025/20/49/image_04112025_20_49_07_1752.jpg', '/home/pi/Desktop/images/04112025/20/49/image_04112025_20_49_10_1534.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_27_18756.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_31_1677.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_33_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/20/49/image_04112025_20_49_05_1652.jpg
/home/pi/Desktop/images/04112025/20/49/image_04112025_20_49_07_1752.jpg
/home/pi/Desktop/images/04112025/20/49/image_04112025_20_49_10_1534.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_27_18756.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_31_1677.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_33_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":["1402090101","1402090094","1402090103","1402090096","1402090105","1402090098"],"photo_ids_order":["1402090094","1402090096","1402090098","1402090101","1402090103","1402090105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1608fda00e04f8163979df8b6173b798.jpg","text":"TemporaryFile(/tmp/multipartBody9066508637657485363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312865172,"filename":"image_04112025_20_50_27_18756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/237fafa902b2b95853e99d1974117fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7858132668947204348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312865172,"filename":"image_04112025_20_49_05_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/2/318270d353dec9d49ecb88671adeb4cb.jpg","text":"TemporaryFile(/tmp/multipartBody4862440099055456920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312865172,"filename":"image_04112025_20_50_31_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/2/ce297e7ca4ed24d9e24679e8b2094e35.jpg","text":"TemporaryFile(/tmp/multipartBody6909723090168276494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312865172,"filename":"image_04112025_20_49_07_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/2/f810d080aa9b0b9d89b84566fc721833.jpg","text":"TemporaryFile(/tmp/multipartBody601045984913310557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312865172,"filename":"image_04112025_20_50_33_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/2/78cdec20d93acb87bdbb167e6a0e4f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3974167588245181127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312865172,"filename":"image_04112025_20_49_10_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090098","file1":"1402090096","file0":"1402090094","file4":"1402090103","file5":"1402090105","file3":"1402090101"},"map_files_photo_id_array":[{"photo_id":"1402090105","filename":"file5"},{"photo_id":"1402090098","filename":"file2"},{"photo_id":"1402090103","filename":"file4"},{"photo_id":"1402090096","filename":"file1"},{"photo_id":"1402090094","filename":"file0"},{"photo_id":"1402090101","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090101":["hashtag1","hashtag2"]},{"1402090094":["hashtag1","hashtag2"]},{"1402090103":["hashtag1","hashtag2"]},{"1402090096":["hashtag1","hashtag2"]},{"1402090105":["hashtag1","hashtag2"]},{"1402090098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090101, 1402090094, 1402090103, 1402090096, 1402090105, 1402090098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.420323610305786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:14:03.166228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 01:14:12.642743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/50/image_04112025_20_50_43_6841.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_46_1557.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_48_1615.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_50_1874.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_53_1544.jpg', '/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_55_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/50/image_04112025_20_50_43_6841.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_46_1557.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_48_1615.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_50_1874.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_53_1544.jpg
/home/pi/Desktop/images/04112025/20/50/image_04112025_20_50_55_1693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090113","1402090122","1402090115","1402090118","1402090111","1402090120"],"photo_ids_order":["1402090111","1402090113","1402090115","1402090118","1402090120","1402090122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb626793afb1200758cc5162475aa8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4421026749966887425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312918998,"filename":"image_04112025_20_50_46_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/2/c9026507367d4b1f7fe3b574703473cc.jpg","text":"TemporaryFile(/tmp/multipartBody8796996180540152448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312918998,"filename":"image_04112025_20_50_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/2/95f6d31b1581d5e1a89735b5cf783f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8176105959199610427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312918998,"filename":"image_04112025_20_50_48_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/2/110e44af160dc1c477d3ab376317a345.jpg","text":"TemporaryFile(/tmp/multipartBody7952686173561083782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312918998,"filename":"image_04112025_20_50_50_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d386729d8b563bca7c74ddb70d81ff24.jpg","text":"TemporaryFile(/tmp/multipartBody329626506562412232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312918998,"filename":"image_04112025_20_50_43_6841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/702193a2b0710080b67c749b58759567.jpg","text":"TemporaryFile(/tmp/multipartBody4889716606072123934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312918998,"filename":"image_04112025_20_50_53_1544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090115","file1":"1402090113","file0":"1402090111","file4":"1402090120","file5":"1402090122","file3":"1402090118"},"map_files_photo_id_array":[{"photo_id":"1402090122","filename":"file5"},{"photo_id":"1402090115","filename":"file2"},{"photo_id":"1402090120","filename":"file4"},{"photo_id":"1402090113","filename":"file1"},{"photo_id":"1402090111","filename":"file0"},{"photo_id":"1402090118","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090113":["hashtag1","hashtag2"]},{"1402090122":["hashtag1","hashtag2"]},{"1402090115":["hashtag1","hashtag2"]},{"1402090118":["hashtag1","hashtag2"]},{"1402090111":["hashtag1","hashtag2"]},{"1402090120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090113, 1402090122, 1402090115, 1402090118, 1402090111, 1402090120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.892868757247925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:15:05.510505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_55_10676.jpg', '/home/pi/Desktop/images/02012026/00/52/image_02012026_00_53_05_9670.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_14_9713.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_25_10679.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_35_9631.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_45_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_52_55_10676.jpg
/home/pi/Desktop/images/02012026/00/52/image_02012026_00_53_05_9670.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_14_9713.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_25_10679.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_35_9631.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_45_9854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090131","1402090128","1402090133","1402090127","1402090129","1402090126"],"photo_ids_order":["1402090126","1402090127","1402090128","1402090129","1402090131","1402090133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/054cbee1dee720e59aaea5536c74ab8a.jpg","text":"TemporaryFile(/tmp/multipartBody5784246880796034678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312967954,"filename":"image_02012026_00_53_35_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/2/1ca27958feff6cd23f1f43fd52464a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1822791864758596689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312967954,"filename":"image_02012026_00_53_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/2/6877e6cea6671d7689088f19db71dea8.jpg","text":"TemporaryFile(/tmp/multipartBody1846413645688648125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312967954,"filename":"image_02012026_00_53_45_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/2/dbaba297dd5b1795c65183851d2eb564.jpg","text":"TemporaryFile(/tmp/multipartBody8599413136376260328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312967954,"filename":"image_02012026_00_53_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/2/269d3d197f95f05f81547a98e47227c2.jpg","text":"TemporaryFile(/tmp/multipartBody4304404361304946741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312967954,"filename":"image_02012026_00_53_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/2/4832a97234d8561404a6db69ba3b074e.jpg","text":"TemporaryFile(/tmp/multipartBody5441028874260018313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767312967954,"filename":"image_02012026_00_52_55_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090128","file1":"1402090127","file0":"1402090126","file4":"1402090131","file5":"1402090133","file3":"1402090129"},"map_files_photo_id_array":[{"photo_id":"1402090133","filename":"file5"},{"photo_id":"1402090128","filename":"file2"},{"photo_id":"1402090131","filename":"file4"},{"photo_id":"1402090127","filename":"file1"},{"photo_id":"1402090126","filename":"file0"},{"photo_id":"1402090129","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090131":["hashtag1","hashtag2"]},{"1402090128":["hashtag1","hashtag2"]},{"1402090133":["hashtag1","hashtag2"]},{"1402090127":["hashtag1","hashtag2"]},{"1402090129":["hashtag1","hashtag2"]},{"1402090126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090131, 1402090128, 1402090133, 1402090127, 1402090129, 1402090126)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.95371723175049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:16:02.640352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 01:16:12.349497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/50/image_04112025_20_50_58_1669.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_04_1594.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_06_1768.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_14_1679.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_21_1682.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_24_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/20/50/image_04112025_20_50_58_1669.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_04_1594.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_06_1768.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_14_1679.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_21_1682.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_24_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":["1402090146","1402090140","1402090142","1402090148","1402090141","1402090144"],"photo_ids_order":["1402090140","1402090141","1402090142","1402090144","1402090146","1402090148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/297e226612b3aeab563b91bd05ec3827.jpg","text":"TemporaryFile(/tmp/multipartBody1918046499683712048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313034163,"filename":"image_04112025_20_51_21_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/2/bb289e7394758b393b38349af1a77160.jpg","text":"TemporaryFile(/tmp/multipartBody7168584936283355383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313034163,"filename":"image_04112025_20_50_58_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/2/8a9772a2a369ea6fee821115185b5562.jpg","text":"TemporaryFile(/tmp/multipartBody1960623817376810909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313034163,"filename":"image_04112025_20_51_06_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e71301c39e264055a7f1c6f338fd4b0.jpg","text":"TemporaryFile(/tmp/multipartBody3995178411209908217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313034163,"filename":"image_04112025_20_51_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/2/378cc8796065a36400fde6d7b8349fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8772605452391898005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313034163,"filename":"image_04112025_20_51_04_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/2/31ff193b22ce2e7aeffb1d2783385b90.jpg","text":"TemporaryFile(/tmp/multipartBody7036106708901632056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313034163,"filename":"image_04112025_20_51_14_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090142","file1":"1402090141","file0":"1402090140","file4":"1402090146","file5":"1402090148","file3":"1402090144"},"map_files_photo_id_array":[{"photo_id":"1402090148","filename":"file5"},{"photo_id":"1402090142","filename":"file2"},{"photo_id":"1402090146","filename":"file4"},{"photo_id":"1402090141","filename":"file1"},{"photo_id":"1402090140","filename":"file0"},{"photo_id":"1402090144","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090146":["hashtag1","hashtag2"]},{"1402090140":["hashtag1","hashtag2"]},{"1402090142":["hashtag1","hashtag2"]},{"1402090148":["hashtag1","hashtag2"]},{"1402090141":["hashtag1","hashtag2"]},{"1402090144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090146, 1402090140, 1402090142, 1402090148, 1402090141, 1402090144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17771077156067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:17:03.300529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_55_10708.jpg', '/home/pi/Desktop/images/02012026/00/53/image_02012026_00_54_05_9670.jpg', '/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_15_9693.jpg', '/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_25_9840.jpg', '/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_34_9861.jpg', '/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_45_10838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_53_55_10708.jpg
/home/pi/Desktop/images/02012026/00/53/image_02012026_00_54_05_9670.jpg
/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_15_9693.jpg
/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_25_9840.jpg
/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_34_9861.jpg
/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_45_10838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090161","1402090160","1402090163","1402090156","1402090159","1402090158"],"photo_ids_order":["1402090156","1402090158","1402090159","1402090160","1402090161","1402090163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e7127520e1cbfc809c2251e9bbf356e9.jpg","text":"TemporaryFile(/tmp/multipartBody7531534960108095538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313083985,"filename":"image_02012026_00_54_34_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/2/e810306dbea1a493e5fff6a1c42cc3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8905245575393816621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313083985,"filename":"image_02012026_00_54_25_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/2/0341986f79796f32a54396032c6cfa83.jpg","text":"TemporaryFile(/tmp/multipartBody4136118166193980883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313083985,"filename":"image_02012026_00_54_45_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/2/34d5cc279e42ccad04e2ac4748c0c4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2568573143597751209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313083985,"filename":"image_02012026_00_53_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/2/64b6a6cdb6ef3ffcbd5f5ae1c5d09ae8.jpg","text":"TemporaryFile(/tmp/multipartBody254108531052329010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313083985,"filename":"image_02012026_00_54_15_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/2/5a0d2f023338abab6240f29b36f0650a.jpg","text":"TemporaryFile(/tmp/multipartBody8482182992067731030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313083985,"filename":"image_02012026_00_54_05_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090159","file1":"1402090158","file0":"1402090156","file4":"1402090161","file5":"1402090163","file3":"1402090160"},"map_files_photo_id_array":[{"photo_id":"1402090163","filename":"file5"},{"photo_id":"1402090159","filename":"file2"},{"photo_id":"1402090161","filename":"file4"},{"photo_id":"1402090158","filename":"file1"},{"photo_id":"1402090156","filename":"file0"},{"photo_id":"1402090160","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090161":["hashtag1","hashtag2"]},{"1402090160":["hashtag1","hashtag2"]},{"1402090163":["hashtag1","hashtag2"]},{"1402090156":["hashtag1","hashtag2"]},{"1402090159":["hashtag1","hashtag2"]},{"1402090158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090161, 1402090160, 1402090163, 1402090156, 1402090159, 1402090158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67032313346863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:17:42.480345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/51/image_04112025_20_51_38_4751.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_39_1636.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_57_1586.jpg', '/home/pi/Desktop/images/04112025/20/56/image_04112025_20_56_13_2711.jpg', '/home/pi/Desktop/images/04112025/20/57/image_04112025_20_57_35_1638.jpg', '/home/pi/Desktop/images/04112025/20/58/image_04112025_20_58_53_1824.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/51/image_04112025_20_51_38_4751.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_39_1636.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_57_1586.jpg
/home/pi/Desktop/images/04112025/20/56/image_04112025_20_56_13_2711.jpg
/home/pi/Desktop/images/04112025/20/57/image_04112025_20_57_35_1638.jpg
/home/pi/Desktop/images/04112025/20/58/image_04112025_20_58_53_1824.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8142197132110596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:18:03.100479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_55_9629.jpg', '/home/pi/Desktop/images/02012026/00/54/image_02012026_00_55_05_9866.jpg', '/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_14_9648.jpg', '/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_25_10861.jpg', '/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_35_9629.jpg', '/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_45_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/54/image_02012026_00_54_55_9629.jpg
/home/pi/Desktop/images/02012026/00/54/image_02012026_00_55_05_9866.jpg
/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_14_9648.jpg
/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_25_10861.jpg
/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_35_9629.jpg
/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090181","1402090178","1402090183","1402090180","1402090177","1402090179"],"photo_ids_order":["1402090177","1402090178","1402090179","1402090180","1402090181","1402090183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8fd3e65b8f54d77c51c178be84e8778.jpg","text":"TemporaryFile(/tmp/multipartBody8696827351594885796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313143764,"filename":"image_02012026_00_55_35_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/2/183295e060814b489e6b806cf4335720.jpg","text":"TemporaryFile(/tmp/multipartBody6769107289289170643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313143764,"filename":"image_02012026_00_55_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/2/52e4c1d671aa49371f0e3a50b918eb29.jpg","text":"TemporaryFile(/tmp/multipartBody4672660702179237273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313143764,"filename":"image_02012026_00_55_45_10336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/076b7b3b3ff1c2b73ff87969978f2f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7550014297990700575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313143764,"filename":"image_02012026_00_55_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/2/cd6e3a63277d32842f338299f87e4cac.jpg","text":"TemporaryFile(/tmp/multipartBody35402877894254289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313143764,"filename":"image_02012026_00_54_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/2/3f9a8aae445d25d63c3dd30b68e22b30.jpg","text":"TemporaryFile(/tmp/multipartBody4399495009561355226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313143764,"filename":"image_02012026_00_55_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090179","file1":"1402090178","file0":"1402090177","file4":"1402090181","file5":"1402090183","file3":"1402090180"},"map_files_photo_id_array":[{"photo_id":"1402090183","filename":"file5"},{"photo_id":"1402090179","filename":"file2"},{"photo_id":"1402090181","filename":"file4"},{"photo_id":"1402090178","filename":"file1"},{"photo_id":"1402090177","filename":"file0"},{"photo_id":"1402090180","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090181":["hashtag1","hashtag2"]},{"1402090178":["hashtag1","hashtag2"]},{"1402090183":["hashtag1","hashtag2"]},{"1402090180":["hashtag1","hashtag2"]},{"1402090177":["hashtag1","hashtag2"]},{"1402090179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090181, 1402090178, 1402090183, 1402090180, 1402090177, 1402090179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97490406036377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:18:42.638922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/51/image_04112025_20_51_38_4751.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_39_1636.jpg', '/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_57_1586.jpg', '/home/pi/Desktop/images/04112025/20/56/image_04112025_20_56_13_2711.jpg', '/home/pi/Desktop/images/04112025/20/57/image_04112025_20_57_35_1638.jpg', '/home/pi/Desktop/images/04112025/20/58/image_04112025_20_58_53_1824.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/51/image_04112025_20_51_38_4751.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_39_1636.jpg
/home/pi/Desktop/images/04112025/20/51/image_04112025_20_51_57_1586.jpg
/home/pi/Desktop/images/04112025/20/56/image_04112025_20_56_13_2711.jpg
/home/pi/Desktop/images/04112025/20/57/image_04112025_20_57_35_1638.jpg
/home/pi/Desktop/images/04112025/20/58/image_04112025_20_58_53_1824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090188","1402090193","1402090190","1402090192","1402090194","1402090191"],"photo_ids_order":["1402090188","1402090190","1402090191","1402090192","1402090193","1402090194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8cf2ab0a9a963fd7a3e43264496e97c.jpg","text":"TemporaryFile(/tmp/multipartBody168228040859465409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313184332,"filename":"image_04112025_20_51_38_4751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ba154c00418032c3cbad3cbbb10643b.jpg","text":"TemporaryFile(/tmp/multipartBody1524485246186682877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313184332,"filename":"image_04112025_20_57_35_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/2/009c8b0fab5818089a6b6298e9eba567.jpg","text":"TemporaryFile(/tmp/multipartBody79198042989216718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313184332,"filename":"image_04112025_20_51_39_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/2/e462479f238cafbeb70ab85b03dc9ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1977340171876349322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313184332,"filename":"image_04112025_20_56_13_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/2/114f017c818a162920d84c86b37d8770.jpg","text":"TemporaryFile(/tmp/multipartBody1381916591557390586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313184332,"filename":"image_04112025_20_58_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/2/13a703e85936521cdcbca7dd68c30909.jpg","text":"TemporaryFile(/tmp/multipartBody8699846070905551421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313184332,"filename":"image_04112025_20_51_57_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090191","file1":"1402090190","file0":"1402090188","file4":"1402090193","file5":"1402090194","file3":"1402090192"},"map_files_photo_id_array":[{"photo_id":"1402090194","filename":"file5"},{"photo_id":"1402090191","filename":"file2"},{"photo_id":"1402090193","filename":"file4"},{"photo_id":"1402090190","filename":"file1"},{"photo_id":"1402090188","filename":"file0"},{"photo_id":"1402090192","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090188":["hashtag1","hashtag2"]},{"1402090193":["hashtag1","hashtag2"]},{"1402090190":["hashtag1","hashtag2"]},{"1402090192":["hashtag1","hashtag2"]},{"1402090194":["hashtag1","hashtag2"]},{"1402090191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090188, 1402090193, 1402090190, 1402090192, 1402090194, 1402090191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69797921180725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:19:22.918361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_55_9689.jpg', '/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_05_10446.jpg', '/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_15_9828.jpg', '/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_25_9714.jpg', '/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_35_9709.jpg', '/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_45_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/55/image_02012026_00_55_55_9689.jpg
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_05_10446.jpg
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_15_9828.jpg
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_25_9714.jpg
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_35_9709.jpg
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_45_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":["1402090199","1402090203","1402090205","1402090201","1402090207","1402090197"],"photo_ids_order":["1402090197","1402090199","1402090201","1402090203","1402090205","1402090207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ad8637aad9ce19b24c715b69cb69aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6652870502790102347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313223515,"filename":"image_02012026_00_56_05_10446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e87fe7f794f3b60bb8fb44008fcfe822.jpg","text":"TemporaryFile(/tmp/multipartBody1537697747834877196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313223515,"filename":"image_02012026_00_56_25_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/2/daf190d1ea38d61f92241326598ffa56.jpg","text":"TemporaryFile(/tmp/multipartBody2980227840034710197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313223515,"filename":"image_02012026_00_56_35_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/2/06b3f97bed07ab126a98a221014f76f8.jpg","text":"TemporaryFile(/tmp/multipartBody9206968462622859094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313223515,"filename":"image_02012026_00_56_15_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/2/366a658059f9367deb09ea004cdfb89e.jpg","text":"TemporaryFile(/tmp/multipartBody6648391267447211090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313223515,"filename":"image_02012026_00_56_45_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/2/54f511dbb32536e81dc4785c1cbb5212.jpg","text":"TemporaryFile(/tmp/multipartBody609787956110185364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313223515,"filename":"image_02012026_00_55_55_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090201","file1":"1402090199","file0":"1402090197","file4":"1402090205","file5":"1402090207","file3":"1402090203"},"map_files_photo_id_array":[{"photo_id":"1402090207","filename":"file5"},{"photo_id":"1402090201","filename":"file2"},{"photo_id":"1402090205","filename":"file4"},{"photo_id":"1402090199","filename":"file1"},{"photo_id":"1402090197","filename":"file0"},{"photo_id":"1402090203","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090199":["hashtag1","hashtag2"]},{"1402090203":["hashtag1","hashtag2"]},{"1402090205":["hashtag1","hashtag2"]},{"1402090201":["hashtag1","hashtag2"]},{"1402090207":["hashtag1","hashtag2"]},{"1402090197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090199, 1402090203, 1402090205, 1402090201, 1402090207, 1402090197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5928213596344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:20:02.411641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_55_9896.jpg', '/home/pi/Desktop/images/02012026/00/56/image_02012026_00_57_05_9603.jpg', '/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_14_9785.jpg', '/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_25_10649.jpg', '/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_35_9591.jpg', '/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_45_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_56_55_9896.jpg
/home/pi/Desktop/images/02012026/00/56/image_02012026_00_57_05_9603.jpg
/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_14_9785.jpg
/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_25_10649.jpg
/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_35_9591.jpg
/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_45_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090212","1402090215","1402090209","1402090208","1402090210","1402090213"],"photo_ids_order":["1402090208","1402090209","1402090210","1402090212","1402090213","1402090215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/217179faccb79e5ac524377e8eabfd36.jpg","text":"TemporaryFile(/tmp/multipartBody6330426794905253933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313263016,"filename":"image_02012026_00_57_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/2/6c10af4083e91ebb4e1f7484de7b1799.jpg","text":"TemporaryFile(/tmp/multipartBody4141799375897994797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313263016,"filename":"image_02012026_00_57_45_10398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b90e03b5e85baf44515b4b9f0fbfd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7945472382896085315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313263016,"filename":"image_02012026_00_57_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/2/00e5d8223c5593e8319a041f2431c2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1325101591739211319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313263016,"filename":"image_02012026_00_56_55_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/2/0821547f870e424be627f99ad14b9d3d.jpg","text":"TemporaryFile(/tmp/multipartBody6356581769861613553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313263016,"filename":"image_02012026_00_57_14_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/2/341416aaa10f79007554c5fec6770197.jpg","text":"TemporaryFile(/tmp/multipartBody3882098483046250146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313263016,"filename":"image_02012026_00_57_35_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090210","file1":"1402090209","file0":"1402090208","file4":"1402090213","file5":"1402090215","file3":"1402090212"},"map_files_photo_id_array":[{"photo_id":"1402090215","filename":"file5"},{"photo_id":"1402090210","filename":"file2"},{"photo_id":"1402090213","filename":"file4"},{"photo_id":"1402090209","filename":"file1"},{"photo_id":"1402090208","filename":"file0"},{"photo_id":"1402090212","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090212":["hashtag1","hashtag2"]},{"1402090215":["hashtag1","hashtag2"]},{"1402090209":["hashtag1","hashtag2"]},{"1402090208":["hashtag1","hashtag2"]},{"1402090210":["hashtag1","hashtag2"]},{"1402090213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090212, 1402090215, 1402090209, 1402090208, 1402090210, 1402090213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.065754413604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:20:41.950595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_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/59/image_04112025_20_59_11_1658.jpg', '/home/pi/Desktop/images/04112025/20/59/image_04112025_20_59_55_35165.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_07_3015.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_14_3734.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_20_2723.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_22_2573.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/59/image_04112025_20_59_11_1658.jpg
/home/pi/Desktop/images/04112025/20/59/image_04112025_20_59_55_35165.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_07_3015.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_14_3734.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_20_2723.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_22_2573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090230","1402090227","1402090229","1402090220","1402090228","1402090231"],"photo_ids_order":["1402090220","1402090227","1402090228","1402090229","1402090230","1402090231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2087877cf0a102b402624cb79c2cf2f.jpg","text":"TemporaryFile(/tmp/multipartBody389223361202692085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313303811,"filename":"image_04112025_21_00_20_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/2/244a6acad9781f5b3381034f28c491af.jpg","text":"TemporaryFile(/tmp/multipartBody4626489033221544993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313303811,"filename":"image_04112025_20_59_55_35165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/abb300288f5f1826dbf99f62931ba902.jpg","text":"TemporaryFile(/tmp/multipartBody945433336888144367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313303811,"filename":"image_04112025_21_00_14_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/2/3317000d9efce66f5a6e017723b8af49.jpg","text":"TemporaryFile(/tmp/multipartBody382772242823243653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313303811,"filename":"image_04112025_20_59_11_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/2/7bb85b89265e0ee0cf81e1174a651e65.jpg","text":"TemporaryFile(/tmp/multipartBody3398410276512804608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313303811,"filename":"image_04112025_21_00_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/2/6dcf01b024febe849e0efd1783e3bf20.jpg","text":"TemporaryFile(/tmp/multipartBody5243771732135941455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313303811,"filename":"image_04112025_21_00_22_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090228","file1":"1402090227","file0":"1402090220","file4":"1402090230","file5":"1402090231","file3":"1402090229"},"map_files_photo_id_array":[{"photo_id":"1402090231","filename":"file5"},{"photo_id":"1402090228","filename":"file2"},{"photo_id":"1402090230","filename":"file4"},{"photo_id":"1402090227","filename":"file1"},{"photo_id":"1402090220","filename":"file0"},{"photo_id":"1402090229","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090230":["hashtag1","hashtag2"]},{"1402090227":["hashtag1","hashtag2"]},{"1402090229":["hashtag1","hashtag2"]},{"1402090220":["hashtag1","hashtag2"]},{"1402090228":["hashtag1","hashtag2"]},{"1402090231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090230, 1402090227, 1402090229, 1402090220, 1402090228, 1402090231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33181953430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:21:22.090471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_55_9643.jpg', '/home/pi/Desktop/images/02012026/00/57/image_02012026_00_58_04_9707.jpg', '/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_15_10711.jpg', '/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_25_9704.jpg', '/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_35_9856.jpg', '/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_44_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/57/image_02012026_00_57_55_9643.jpg
/home/pi/Desktop/images/02012026/00/57/image_02012026_00_58_04_9707.jpg
/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_15_10711.jpg
/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_25_9704.jpg
/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_35_9856.jpg
/home/pi/Desktop/images/02012026/00/58/image_02012026_00_58_44_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":["1402090242","1402090236","1402090238","1402090232","1402090240","1402090234"],"photo_ids_order":["1402090232","1402090234","1402090236","1402090238","1402090240","1402090242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c74e975ddadc3b1abaa768d39c4ed671.jpg","text":"TemporaryFile(/tmp/multipartBody1997412144705899524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313342683,"filename":"image_02012026_00_58_44_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/2/12265d599257ee550c4367318c1bebbe.jpg","text":"TemporaryFile(/tmp/multipartBody8224425533397593253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313342683,"filename":"image_02012026_00_58_15_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/2/38a20d6c459b2cfa9a338bd56a4735b2.jpg","text":"TemporaryFile(/tmp/multipartBody2722643130630312461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313342683,"filename":"image_02012026_00_58_25_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/2/06951c778ff2452c826dc973c1d63a64.jpg","text":"TemporaryFile(/tmp/multipartBody7256874767805429449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313342683,"filename":"image_02012026_00_57_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/2/f2da4192413f00ae0f0a8a680b0bdb1a.jpg","text":"TemporaryFile(/tmp/multipartBody1862547011764438341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313342683,"filename":"image_02012026_00_58_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/2/701545c69e37d4dbcd4226bc93d72417.jpg","text":"TemporaryFile(/tmp/multipartBody3665868174345611786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313342683,"filename":"image_02012026_00_58_04_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090236","file1":"1402090234","file0":"1402090232","file4":"1402090240","file5":"1402090242","file3":"1402090238"},"map_files_photo_id_array":[{"photo_id":"1402090242","filename":"file5"},{"photo_id":"1402090236","filename":"file2"},{"photo_id":"1402090240","filename":"file4"},{"photo_id":"1402090234","filename":"file1"},{"photo_id":"1402090232","filename":"file0"},{"photo_id":"1402090238","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090242":["hashtag1","hashtag2"]},{"1402090236":["hashtag1","hashtag2"]},{"1402090238":["hashtag1","hashtag2"]},{"1402090232":["hashtag1","hashtag2"]},{"1402090240":["hashtag1","hashtag2"]},{"1402090234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090242, 1402090236, 1402090238, 1402090232, 1402090240, 1402090234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1480438709259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:22:02.721984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/58/image_02012026_00_59_05_9729.jpg', '/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_15_9740.jpg', '/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_25_10701.jpg', '/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_35_9668.jpg', '/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_44_9557.jpg', '/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_55_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/58/image_02012026_00_59_05_9729.jpg
/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_15_9740.jpg
/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_25_10701.jpg
/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_35_9668.jpg
/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_44_9557.jpg
/home/pi/Desktop/images/02012026/00/59/image_02012026_00_59_55_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":["1402090245","1402090248","1402090250","1402090244","1402090247","1402090246"],"photo_ids_order":["1402090244","1402090245","1402090246","1402090247","1402090248","1402090250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/21b24495d7ec6dd15efda4ebaee31445.jpg","text":"TemporaryFile(/tmp/multipartBody5355056881529406962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313383341,"filename":"image_02012026_00_59_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/2/147af47f9612642a9c21aef5f9e24a94.jpg","text":"TemporaryFile(/tmp/multipartBody3705678983503950234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313383341,"filename":"image_02012026_00_59_44_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/2/c2783e6a60686cdf6c26209b1fd845d3.jpg","text":"TemporaryFile(/tmp/multipartBody7981469742133637853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313383341,"filename":"image_02012026_00_59_55_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/2/c51ce33d3e95236fa7685ba5ebbcabf2.jpg","text":"TemporaryFile(/tmp/multipartBody471711048196667628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313383341,"filename":"image_02012026_00_59_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/2/a7052968d32f9ae530921128af1bb353.jpg","text":"TemporaryFile(/tmp/multipartBody2483093526222520577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313383341,"filename":"image_02012026_00_59_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/2/762a1c049cc147b8880f39ed1fe2f26b.jpg","text":"TemporaryFile(/tmp/multipartBody2747733010204106211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313383341,"filename":"image_02012026_00_59_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090246","file1":"1402090245","file0":"1402090244","file4":"1402090248","file5":"1402090250","file3":"1402090247"},"map_files_photo_id_array":[{"photo_id":"1402090250","filename":"file5"},{"photo_id":"1402090246","filename":"file2"},{"photo_id":"1402090248","filename":"file4"},{"photo_id":"1402090245","filename":"file1"},{"photo_id":"1402090244","filename":"file0"},{"photo_id":"1402090247","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090245":["hashtag1","hashtag2"]},{"1402090248":["hashtag1","hashtag2"]},{"1402090250":["hashtag1","hashtag2"]},{"1402090244":["hashtag1","hashtag2"]},{"1402090247":["hashtag1","hashtag2"]},{"1402090246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090245, 1402090248, 1402090250, 1402090244, 1402090247, 1402090246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.914742946624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:22:42.204342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_26_3725.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_37_11152.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_39_1896.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_41_1823.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_49_7516.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_53_4148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_26_3725.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_37_11152.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_39_1896.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_41_1823.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_49_7516.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_53_4148.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090260","1402090259","1402090261","1402090255","1402090258","1402090257"],"photo_ids_order":["1402090255","1402090257","1402090258","1402090259","1402090260","1402090261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4c256b3a6096bac7b8d00b331cdd77b.jpg","text":"TemporaryFile(/tmp/multipartBody351130236638101813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313424052,"filename":"image_04112025_21_00_49_7516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5bb334e85cf7e2f032559384345e8ca.jpg","text":"TemporaryFile(/tmp/multipartBody2486491557942351365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313424052,"filename":"image_04112025_21_00_41_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/2/d1f5e04e4e1d2ae3b18ff468a064f047.jpg","text":"TemporaryFile(/tmp/multipartBody4237001805508844752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313424052,"filename":"image_04112025_21_00_53_4148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6cdea5e1fe6c652ca028a78780379f35.jpg","text":"TemporaryFile(/tmp/multipartBody1693734039357317559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313424052,"filename":"image_04112025_21_00_26_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/2/65722a89df401d6174bf96905f5fbb73.jpg","text":"TemporaryFile(/tmp/multipartBody3903550534905432682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313424052,"filename":"image_04112025_21_00_39_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/2/f6a7c6d826e4ca9232e2bcc6cdce5834.jpg","text":"TemporaryFile(/tmp/multipartBody1431692804166102013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313424052,"filename":"image_04112025_21_00_37_11152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090258","file1":"1402090257","file0":"1402090255","file4":"1402090260","file5":"1402090261","file3":"1402090259"},"map_files_photo_id_array":[{"photo_id":"1402090261","filename":"file5"},{"photo_id":"1402090258","filename":"file2"},{"photo_id":"1402090260","filename":"file4"},{"photo_id":"1402090257","filename":"file1"},{"photo_id":"1402090255","filename":"file0"},{"photo_id":"1402090259","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090260":["hashtag1","hashtag2"]},{"1402090259":["hashtag1","hashtag2"]},{"1402090261":["hashtag1","hashtag2"]},{"1402090255":["hashtag1","hashtag2"]},{"1402090258":["hashtag1","hashtag2"]},{"1402090257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090260, 1402090259, 1402090261, 1402090255, 1402090258, 1402090257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16273379325867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:23:22.395469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/00/59/image_02012026_01_00_05_9805.jpg', '/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_15_9655.jpg', '/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_24_9731.jpg', '/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_38_13922.jpg', '/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_45_6617.jpg', '/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_54_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/00/59/image_02012026_01_00_05_9805.jpg
/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_15_9655.jpg
/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_24_9731.jpg
/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_38_13922.jpg
/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_45_6617.jpg
/home/pi/Desktop/images/02012026/01/00/image_02012026_01_00_54_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090272","1402090266","1402090269","1402090268","1402090264","1402090273"],"photo_ids_order":["1402090264","1402090266","1402090268","1402090269","1402090272","1402090273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fbdef18685ce066ee21c1a029cffec46.jpg","text":"TemporaryFile(/tmp/multipartBody5909233368031097119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313462998,"filename":"image_02012026_01_00_45_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/2/53a567d3c1e30107786d0287f71e4cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3629608657064366093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313462998,"filename":"image_02012026_01_00_15_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/2/137838a1ba365e545bcb7ab112c9a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody4134811429436424938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313462998,"filename":"image_02012026_01_00_38_13922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ed692e55847c30038a9882ac4f3af93.jpg","text":"TemporaryFile(/tmp/multipartBody619185353927171725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313462998,"filename":"image_02012026_01_00_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/2/52437549c0cec93e2dec05bb4d6a5695.jpg","text":"TemporaryFile(/tmp/multipartBody3667833760291439248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313462998,"filename":"image_02012026_01_00_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/2/af35b10e9429f15a3b989b04e48c7fa6.jpg","text":"TemporaryFile(/tmp/multipartBody664875583209620968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313462998,"filename":"image_02012026_01_00_54_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090268","file1":"1402090266","file0":"1402090264","file4":"1402090272","file5":"1402090273","file3":"1402090269"},"map_files_photo_id_array":[{"photo_id":"1402090273","filename":"file5"},{"photo_id":"1402090268","filename":"file2"},{"photo_id":"1402090272","filename":"file4"},{"photo_id":"1402090266","filename":"file1"},{"photo_id":"1402090264","filename":"file0"},{"photo_id":"1402090269","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090272":["hashtag1","hashtag2"]},{"1402090266":["hashtag1","hashtag2"]},{"1402090269":["hashtag1","hashtag2"]},{"1402090268":["hashtag1","hashtag2"]},{"1402090264":["hashtag1","hashtag2"]},{"1402090273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090272, 1402090266, 1402090269, 1402090268, 1402090264, 1402090273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.446672677993774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:24:03.249002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/00/image_02012026_01_01_05_10578.jpg', '/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_15_9697.jpg', '/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_25_10378.jpg', '/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_35_10067.jpg', '/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_45_9698.jpg', '/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_54_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/00/image_02012026_01_01_05_10578.jpg
/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_15_9697.jpg
/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_25_10378.jpg
/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_35_10067.jpg
/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_45_9698.jpg
/home/pi/Desktop/images/02012026/01/01/image_02012026_01_01_54_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090280","1402090283","1402090282","1402090285","1402090279","1402090281"],"photo_ids_order":["1402090279","1402090280","1402090281","1402090282","1402090283","1402090285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/481dafe675c6e9353a25f175cbdd4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2596949572897248050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313503956,"filename":"image_02012026_01_01_15_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/2/bc919f0f9deceaac0b47076c1501068a.jpg","text":"TemporaryFile(/tmp/multipartBody3575839977185925561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313503956,"filename":"image_02012026_01_01_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/2/531fcaaabd2a9f270f8468371b4c0eae.jpg","text":"TemporaryFile(/tmp/multipartBody7163316297385833277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313503956,"filename":"image_02012026_01_01_35_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7f24cf106c24f157d42f336d04a3359e.jpg","text":"TemporaryFile(/tmp/multipartBody7405265610958742736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313503956,"filename":"image_02012026_01_01_54_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/2/3d7fcc487305cc4337161f6e4efd02e5.jpg","text":"TemporaryFile(/tmp/multipartBody1233116896032646851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313503956,"filename":"image_02012026_01_01_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/2/069c38b41a4ab543f785ac9b56c35706.jpg","text":"TemporaryFile(/tmp/multipartBody7646380320555252509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313503956,"filename":"image_02012026_01_01_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090281","file1":"1402090280","file0":"1402090279","file4":"1402090283","file5":"1402090285","file3":"1402090282"},"map_files_photo_id_array":[{"photo_id":"1402090285","filename":"file5"},{"photo_id":"1402090281","filename":"file2"},{"photo_id":"1402090283","filename":"file4"},{"photo_id":"1402090280","filename":"file1"},{"photo_id":"1402090279","filename":"file0"},{"photo_id":"1402090282","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090280":["hashtag1","hashtag2"]},{"1402090283":["hashtag1","hashtag2"]},{"1402090282":["hashtag1","hashtag2"]},{"1402090285":["hashtag1","hashtag2"]},{"1402090279":["hashtag1","hashtag2"]},{"1402090281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090280, 1402090283, 1402090282, 1402090285, 1402090279, 1402090281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38388776779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:24:42.683240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_57_4730.jpg', '/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_59_1690.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_01_1618.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_02_1706.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_04_1735.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_06_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_57_4730.jpg
/home/pi/Desktop/images/04112025/21/00/image_04112025_21_00_59_1690.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_01_1618.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_02_1706.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_04_1735.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_06_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090292","1402090295","1402090291","1402090294","1402090293","1402090290"],"photo_ids_order":["1402090290","1402090291","1402090292","1402090293","1402090294","1402090295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b542ab1265a306e1f6bc452c0eee07c.jpg","text":"TemporaryFile(/tmp/multipartBody6629849903192033963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313544577,"filename":"image_04112025_21_01_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/2/a5c8ff55a861d593b79cfbe374606e80.jpg","text":"TemporaryFile(/tmp/multipartBody870096435648331008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313544577,"filename":"image_04112025_21_01_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/2/b2b9365885d9f55b03ed58e01e58f290.jpg","text":"TemporaryFile(/tmp/multipartBody7722848985933891232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313544577,"filename":"image_04112025_21_00_59_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/2/69dd59ed69453cf896b1b44511714c1b.jpg","text":"TemporaryFile(/tmp/multipartBody2444277699260114411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313544577,"filename":"image_04112025_21_01_04_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/2/522f63270badd51dcf05c05011f67a11.jpg","text":"TemporaryFile(/tmp/multipartBody3849055477410971328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313544577,"filename":"image_04112025_21_01_02_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/2/3f862640766f65dc9b1e50a5e2d54c15.jpg","text":"TemporaryFile(/tmp/multipartBody2793300144932105753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313544577,"filename":"image_04112025_21_00_57_4730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090292","file1":"1402090291","file0":"1402090290","file4":"1402090294","file5":"1402090295","file3":"1402090293"},"map_files_photo_id_array":[{"photo_id":"1402090295","filename":"file5"},{"photo_id":"1402090292","filename":"file2"},{"photo_id":"1402090294","filename":"file4"},{"photo_id":"1402090291","filename":"file1"},{"photo_id":"1402090290","filename":"file0"},{"photo_id":"1402090293","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090292":["hashtag1","hashtag2"]},{"1402090295":["hashtag1","hashtag2"]},{"1402090291":["hashtag1","hashtag2"]},{"1402090294":["hashtag1","hashtag2"]},{"1402090293":["hashtag1","hashtag2"]},{"1402090290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090292, 1402090295, 1402090291, 1402090294, 1402090293, 1402090290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.391488790512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:25:31.856568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_15_7000.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_16_1739.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_18_1652.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_20_1668.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_21_1701.jpg', '/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_26_4408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_15_7000.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_16_1739.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_18_1652.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_20_1668.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_21_1701.jpg
/home/pi/Desktop/images/04112025/21/01/image_04112025_21_01_26_4408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090305","1402090307","1402090301","1402090303","1402090306","1402090299"],"photo_ids_order":["1402090299","1402090301","1402090303","1402090305","1402090306","1402090307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2c755bd14f3d45c1d4e1d099fee00fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2326752979130926921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313593715,"filename":"image_04112025_21_01_20_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/2/8ad7cac1658bcac17631d2a8c9824002.jpg","text":"TemporaryFile(/tmp/multipartBody1401642740871376529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313593715,"filename":"image_04112025_21_01_26_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/2/4a00b12e33ae5422e0224432aaa5b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3163648375348579686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313593715,"filename":"image_04112025_21_01_16_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/2/cab7920689a286a2633e138e193c8120.jpg","text":"TemporaryFile(/tmp/multipartBody7797234867138381285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313593715,"filename":"image_04112025_21_01_18_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/2/ee36d35d7eabbc9357f703ddfe498c54.jpg","text":"TemporaryFile(/tmp/multipartBody7860440519020274728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313593715,"filename":"image_04112025_21_01_21_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/2/cfc10b63e5cb65b63c19e34cd9807630.jpg","text":"TemporaryFile(/tmp/multipartBody7158376588311924366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313593715,"filename":"image_04112025_21_01_15_7000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090303","file1":"1402090301","file0":"1402090299","file4":"1402090306","file5":"1402090307","file3":"1402090305"},"map_files_photo_id_array":[{"photo_id":"1402090307","filename":"file5"},{"photo_id":"1402090303","filename":"file2"},{"photo_id":"1402090306","filename":"file4"},{"photo_id":"1402090301","filename":"file1"},{"photo_id":"1402090299","filename":"file0"},{"photo_id":"1402090305","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090305":["hashtag1","hashtag2"]},{"1402090307":["hashtag1","hashtag2"]},{"1402090301":["hashtag1","hashtag2"]},{"1402090303":["hashtag1","hashtag2"]},{"1402090306":["hashtag1","hashtag2"]},{"1402090299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090305, 1402090307, 1402090301, 1402090303, 1402090306, 1402090299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18316960334778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:26:12.017782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/02/image_04112025_21_02_06_32972.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_07_3017.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_16_2612.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_20_3663.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_50_15308.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_53_1762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/02/image_04112025_21_02_06_32972.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_07_3017.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_16_2612.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_20_3663.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_50_15308.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_53_1762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090311","1402090308","1402090310","1402090313","1402090315","1402090309"],"photo_ids_order":["1402090308","1402090309","1402090310","1402090311","1402090313","1402090315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71cb3bbf0199d1508642873fbf48e23f.jpg","text":"TemporaryFile(/tmp/multipartBody5717072647167233838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313633747,"filename":"image_04112025_21_04_20_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/2/f8f7617d675445fdd235c3d643492606.jpg","text":"TemporaryFile(/tmp/multipartBody7092638801496083711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313633747,"filename":"image_04112025_21_02_06_32972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1626fd84cc9cf36a36a81e7fbd804eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7515971785430558855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313633747,"filename":"image_04112025_21_04_16_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/2/82ced33774bd667423d3566478ada0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2794940045203596996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313633747,"filename":"image_04112025_21_04_50_15308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d89d66c8d9ea2c2eb2257a5e21eb60c1.jpg","text":"TemporaryFile(/tmp/multipartBody1963169293506237279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313633747,"filename":"image_04112025_21_04_53_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/2/4849c315f183291ff1660913cd23bbdd.jpg","text":"TemporaryFile(/tmp/multipartBody8088070650015469336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313633747,"filename":"image_04112025_21_04_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090310","file1":"1402090309","file0":"1402090308","file4":"1402090313","file5":"1402090315","file3":"1402090311"},"map_files_photo_id_array":[{"photo_id":"1402090315","filename":"file5"},{"photo_id":"1402090310","filename":"file2"},{"photo_id":"1402090313","filename":"file4"},{"photo_id":"1402090309","filename":"file1"},{"photo_id":"1402090308","filename":"file0"},{"photo_id":"1402090311","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090311":["hashtag1","hashtag2"]},{"1402090308":["hashtag1","hashtag2"]},{"1402090310":["hashtag1","hashtag2"]},{"1402090313":["hashtag1","hashtag2"]},{"1402090315":["hashtag1","hashtag2"]},{"1402090309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090311, 1402090308, 1402090310, 1402090313, 1402090315, 1402090309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51895999908447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:27:03.054836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/01/image_02012026_01_02_05_10729.jpg', '/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_15_9820.jpg', '/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_25_9573.jpg', '/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_35_10581.jpg', '/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_45_9576.jpg', '/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_54_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/01/image_02012026_01_02_05_10729.jpg
/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_15_9820.jpg
/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_25_9573.jpg
/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_35_10581.jpg
/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_45_9576.jpg
/home/pi/Desktop/images/02012026/01/02/image_02012026_01_02_54_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":["1402090334","1402090331","1402090328","1402090333","1402090336","1402090330"],"photo_ids_order":["1402090328","1402090330","1402090331","1402090333","1402090334","1402090336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/60829e9b2c5c8470f7ef918ba576531a.jpg","text":"TemporaryFile(/tmp/multipartBody8280816846381598406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313683713,"filename":"image_02012026_01_02_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/2/b5db9a7379f6aa20b3b999aeff67c702.jpg","text":"TemporaryFile(/tmp/multipartBody486928176665227231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313683713,"filename":"image_02012026_01_02_25_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/2/93daa794fe3df920542de608ad250560.jpg","text":"TemporaryFile(/tmp/multipartBody863699423403842369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313683713,"filename":"image_02012026_01_02_05_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/2/a6ac62729f8b7e0753d357721de87a75.jpg","text":"TemporaryFile(/tmp/multipartBody337683528302161804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313683713,"filename":"image_02012026_01_02_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/2/75ae0ff5c401e70c5f1985f470e44e72.jpg","text":"TemporaryFile(/tmp/multipartBody2341634542748645689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313683713,"filename":"image_02012026_01_02_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/2/38d278a8c3993dd53ce8d2f6b792d090.jpg","text":"TemporaryFile(/tmp/multipartBody1243982667495707138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313683713,"filename":"image_02012026_01_02_15_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090331","file1":"1402090330","file0":"1402090328","file4":"1402090334","file5":"1402090336","file3":"1402090333"},"map_files_photo_id_array":[{"photo_id":"1402090336","filename":"file5"},{"photo_id":"1402090331","filename":"file2"},{"photo_id":"1402090334","filename":"file4"},{"photo_id":"1402090330","filename":"file1"},{"photo_id":"1402090328","filename":"file0"},{"photo_id":"1402090333","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090334":["hashtag1","hashtag2"]},{"1402090331":["hashtag1","hashtag2"]},{"1402090328":["hashtag1","hashtag2"]},{"1402090333":["hashtag1","hashtag2"]},{"1402090336":["hashtag1","hashtag2"]},{"1402090330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090334, 1402090331, 1402090328, 1402090333, 1402090336, 1402090330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05350732803345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:27:42.240218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_55_1695.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_56_1611.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_58_1625.jpg', '/home/pi/Desktop/images/04112025/21/04/image_04112025_21_05_00_1706.jpg', '/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_04_2915.jpg', '/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_08_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/21/04/image_04112025_21_04_55_1695.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_56_1611.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_04_58_1625.jpg
/home/pi/Desktop/images/04112025/21/04/image_04112025_21_05_00_1706.jpg
/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_04_2915.jpg
/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_08_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":["1402090344","1402090341","1402090343","1402090346","1402090345","1402090342"],"photo_ids_order":["1402090341","1402090342","1402090343","1402090344","1402090345","1402090346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cd64eae65badde835e6b2921d60c37d.jpg","text":"TemporaryFile(/tmp/multipartBody7535920389450353784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313724103,"filename":"image_04112025_21_05_00_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/2/44a54f6f97534b42a98c63fbecb07fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3092483720761212779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313724103,"filename":"image_04112025_21_04_55_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/2/baf32fa41b8f3a19ed9d66c32915abc5.jpg","text":"TemporaryFile(/tmp/multipartBody5376671996049048353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313724103,"filename":"image_04112025_21_04_58_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/2/df56a881acbfa8c6e361e00535e0fe50.jpg","text":"TemporaryFile(/tmp/multipartBody2220068434434549789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313724103,"filename":"image_04112025_21_05_08_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/2/eecd81002491067ecc0969244eff43a7.jpg","text":"TemporaryFile(/tmp/multipartBody8061211671706903981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313724103,"filename":"image_04112025_21_05_04_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/2/b3264da0c1910b9630d583bd04ed8c89.jpg","text":"TemporaryFile(/tmp/multipartBody1299160996371414296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313724103,"filename":"image_04112025_21_04_56_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090343","file1":"1402090342","file0":"1402090341","file4":"1402090345","file5":"1402090346","file3":"1402090344"},"map_files_photo_id_array":[{"photo_id":"1402090346","filename":"file5"},{"photo_id":"1402090343","filename":"file2"},{"photo_id":"1402090345","filename":"file4"},{"photo_id":"1402090342","filename":"file1"},{"photo_id":"1402090341","filename":"file0"},{"photo_id":"1402090344","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090344":["hashtag1","hashtag2"]},{"1402090341":["hashtag1","hashtag2"]},{"1402090343":["hashtag1","hashtag2"]},{"1402090346":["hashtag1","hashtag2"]},{"1402090345":["hashtag1","hashtag2"]},{"1402090342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090344, 1402090341, 1402090343, 1402090346, 1402090345, 1402090342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91818857192993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:28:22.394258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/02/image_02012026_01_03_05_10797.jpg', '/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_15_9713.jpg', '/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_25_9686.jpg', '/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_35_10581.jpg', '/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_45_9930.jpg', '/home/pi/Desktop/images/02012026/01/03/image_02012026_01_04_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/02/image_02012026_01_03_05_10797.jpg
/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_15_9713.jpg
/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_25_9686.jpg
/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_35_10581.jpg
/home/pi/Desktop/images/02012026/01/03/image_02012026_01_03_45_9930.jpg
/home/pi/Desktop/images/02012026/01/03/image_02012026_01_04_04_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":["1402090353","1402090347","1402090355","1402090349","1402090351","1402090357"],"photo_ids_order":["1402090347","1402090349","1402090351","1402090353","1402090355","1402090357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/18883036345c92a6a2682b36f9de8dbd.jpg","text":"TemporaryFile(/tmp/multipartBody3752983968888250059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313763025,"filename":"image_02012026_01_03_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/2/f42e64a43563f28e6e045747a391fcc7.jpg","text":"TemporaryFile(/tmp/multipartBody2610474928883280577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313763025,"filename":"image_02012026_01_03_05_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/2/b17f6558fafe48ffd6fa8c31cda7b7cb.jpg","text":"TemporaryFile(/tmp/multipartBody9071292772965379318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313763025,"filename":"image_02012026_01_03_45_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f413c213f04d2c28a6f435f0d1639c66.jpg","text":"TemporaryFile(/tmp/multipartBody8919994471927162148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313763025,"filename":"image_02012026_01_03_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/2/bf93a15bad41efe1f0950570453d6dba.jpg","text":"TemporaryFile(/tmp/multipartBody4980257805860877773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313763025,"filename":"image_02012026_01_03_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/2/2037d535caf78e2871501a9e34a4be58.jpg","text":"TemporaryFile(/tmp/multipartBody6976934623030992837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313763025,"filename":"image_02012026_01_04_04_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090351","file1":"1402090349","file0":"1402090347","file4":"1402090355","file5":"1402090357","file3":"1402090353"},"map_files_photo_id_array":[{"photo_id":"1402090357","filename":"file5"},{"photo_id":"1402090351","filename":"file2"},{"photo_id":"1402090355","filename":"file4"},{"photo_id":"1402090349","filename":"file1"},{"photo_id":"1402090347","filename":"file0"},{"photo_id":"1402090353","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090353":["hashtag1","hashtag2"]},{"1402090347":["hashtag1","hashtag2"]},{"1402090355":["hashtag1","hashtag2"]},{"1402090349":["hashtag1","hashtag2"]},{"1402090351":["hashtag1","hashtag2"]},{"1402090357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090353, 1402090347, 1402090355, 1402090349, 1402090351, 1402090357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53271818161011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:29:03.521384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_15_10680.jpg', '/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_25_9678.jpg', '/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_35_9754.jpg', '/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_45_9995.jpg', '/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_55_10216.jpg', '/home/pi/Desktop/images/02012026/01/04/image_02012026_01_05_04_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_15_10680.jpg
/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_25_9678.jpg
/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_35_9754.jpg
/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_45_9995.jpg
/home/pi/Desktop/images/02012026/01/04/image_02012026_01_04_55_10216.jpg
/home/pi/Desktop/images/02012026/01/04/image_02012026_01_05_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":["1402090365","1402090359","1402090367","1402090361","1402090363","1402090360"],"photo_ids_order":["1402090359","1402090360","1402090361","1402090363","1402090365","1402090367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c3ec5abb4123b52649ea3fe5db415377.jpg","text":"TemporaryFile(/tmp/multipartBody2217358207176455844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313804340,"filename":"image_02012026_01_04_55_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/2/e9da2bdcc7a6e3b94b50d046205a4400.jpg","text":"TemporaryFile(/tmp/multipartBody7178654502567267614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313804340,"filename":"image_02012026_01_04_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/2/cec6dfdce209b15d6d79b92b9ef6db2b.jpg","text":"TemporaryFile(/tmp/multipartBody2394144159572579389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313804340,"filename":"image_02012026_01_05_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/2/a1ab2a77055f5b528bc9e8aee7bcd676.jpg","text":"TemporaryFile(/tmp/multipartBody7504370751725853059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313804340,"filename":"image_02012026_01_04_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/2/123e13c65bb65672444924864d554cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6693007357128358631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313804340,"filename":"image_02012026_01_04_45_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46780a054e819e0f1eb91fe48805521e.jpg","text":"TemporaryFile(/tmp/multipartBody8801951271034794722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313804340,"filename":"image_02012026_01_04_25_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090361","file1":"1402090360","file0":"1402090359","file4":"1402090365","file5":"1402090367","file3":"1402090363"},"map_files_photo_id_array":[{"photo_id":"1402090367","filename":"file5"},{"photo_id":"1402090361","filename":"file2"},{"photo_id":"1402090365","filename":"file4"},{"photo_id":"1402090360","filename":"file1"},{"photo_id":"1402090359","filename":"file0"},{"photo_id":"1402090363","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090365":["hashtag1","hashtag2"]},{"1402090359":["hashtag1","hashtag2"]},{"1402090367":["hashtag1","hashtag2"]},{"1402090361":["hashtag1","hashtag2"]},{"1402090363":["hashtag1","hashtag2"]},{"1402090360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090365, 1402090359, 1402090367, 1402090361, 1402090363, 1402090360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8160674571991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:29:42.759860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_10_1724.jpg', '/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_13_1571.jpg', '/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_16_2665.jpg', '/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_20_3649.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_03_43823.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_07_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_10_1724.jpg
/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_13_1571.jpg
/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_16_2665.jpg
/home/pi/Desktop/images/04112025/21/05/image_04112025_21_05_20_3649.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_03_43823.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_07_1563.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":["1402090385","1402090381","1402090378","1402090387","1402090380","1402090383"],"photo_ids_order":["1402090378","1402090380","1402090381","1402090383","1402090385","1402090387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/35be0865d50eca57357bd549f6315081.jpg","text":"TemporaryFile(/tmp/multipartBody4314146171366630743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313844631,"filename":"image_04112025_21_06_03_43823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d67e14adc5ad33b9a0662b73d949e58c.jpg","text":"TemporaryFile(/tmp/multipartBody1771438325359588288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313844631,"filename":"image_04112025_21_05_16_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/2/adb2416ad318132da6d5cfbd566a3b02.jpg","text":"TemporaryFile(/tmp/multipartBody6241192451619663259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313844631,"filename":"image_04112025_21_05_10_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/2/4bdf7b4dbba57e7525564112eb247d48.jpg","text":"TemporaryFile(/tmp/multipartBody4400882658191538973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313844631,"filename":"image_04112025_21_06_07_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/2/bb658f9747de58edcd13394caa050576.jpg","text":"TemporaryFile(/tmp/multipartBody4887438762478665973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313844631,"filename":"image_04112025_21_05_13_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/2/24d32d10ec83eeed93e7581421505edf.jpg","text":"TemporaryFile(/tmp/multipartBody3826583060485470907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313844631,"filename":"image_04112025_21_05_20_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090381","file1":"1402090380","file0":"1402090378","file4":"1402090385","file5":"1402090387","file3":"1402090383"},"map_files_photo_id_array":[{"photo_id":"1402090387","filename":"file5"},{"photo_id":"1402090381","filename":"file2"},{"photo_id":"1402090385","filename":"file4"},{"photo_id":"1402090380","filename":"file1"},{"photo_id":"1402090378","filename":"file0"},{"photo_id":"1402090383","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090385":["hashtag1","hashtag2"]},{"1402090381":["hashtag1","hashtag2"]},{"1402090378":["hashtag1","hashtag2"]},{"1402090387":["hashtag1","hashtag2"]},{"1402090380":["hashtag1","hashtag2"]},{"1402090383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090385, 1402090381, 1402090378, 1402090387, 1402090380, 1402090383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.99706697463989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:31:02.839291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_15_10806.jpg', '/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_25_9731.jpg', '/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_35_9579.jpg', '/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_45_10711.jpg', '/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_55_9666.jpg', '/home/pi/Desktop/images/02012026/01/05/image_02012026_01_06_05_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_15_10806.jpg
/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_25_9731.jpg
/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_35_9579.jpg
/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_45_10711.jpg
/home/pi/Desktop/images/02012026/01/05/image_02012026_01_05_55_9666.jpg
/home/pi/Desktop/images/02012026/01/05/image_02012026_01_06_05_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090397","1402090391","1402090394","1402090393","1402090392","1402090395"],"photo_ids_order":["1402090391","1402090392","1402090393","1402090394","1402090395","1402090397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d0c7486e59ab7e69617713ac32b4d87c.jpg","text":"TemporaryFile(/tmp/multipartBody8103085066063204872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313923511,"filename":"image_02012026_01_06_05_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/2/0b3841ea6c7f5960e87c026853abfc2d.jpg","text":"TemporaryFile(/tmp/multipartBody5206102767891652730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313923511,"filename":"image_02012026_01_05_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/2/02b334d9cba5d4078db2d552da948cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3104269589254664014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313923511,"filename":"image_02012026_01_05_45_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/2/cc5bca6da9b7086ce72b8b6816c255fc.jpg","text":"TemporaryFile(/tmp/multipartBody39282817357654732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313923511,"filename":"image_02012026_01_05_35_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/2/734935b2c8ccb30f43bd878aac80d8ca.jpg","text":"TemporaryFile(/tmp/multipartBody7932916113810276976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313923511,"filename":"image_02012026_01_05_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/2/b688a1b321d1151753cbac7e311871c0.jpg","text":"TemporaryFile(/tmp/multipartBody6636580555183226415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313923511,"filename":"image_02012026_01_05_55_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090393","file1":"1402090392","file0":"1402090391","file4":"1402090395","file5":"1402090397","file3":"1402090394"},"map_files_photo_id_array":[{"photo_id":"1402090397","filename":"file5"},{"photo_id":"1402090393","filename":"file2"},{"photo_id":"1402090395","filename":"file4"},{"photo_id":"1402090392","filename":"file1"},{"photo_id":"1402090391","filename":"file0"},{"photo_id":"1402090394","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090397":["hashtag1","hashtag2"]},{"1402090391":["hashtag1","hashtag2"]},{"1402090394":["hashtag1","hashtag2"]},{"1402090393":["hashtag1","hashtag2"]},{"1402090392":["hashtag1","hashtag2"]},{"1402090395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090397, 1402090391, 1402090394, 1402090393, 1402090392, 1402090395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48964262008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:31:42.276558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_13_1657.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_15_1772.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_17_1838.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_20_1635.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_22_1694.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_24_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_13_1657.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_15_1772.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_17_1838.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_20_1635.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_22_1694.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_24_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090407","1402090404","1402090406","1402090409","1402090402","1402090405"],"photo_ids_order":["1402090402","1402090404","1402090405","1402090406","1402090407","1402090409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba4a8d90a358494b5bcacafef01f2069.jpg","text":"TemporaryFile(/tmp/multipartBody4111006047677424255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313964113,"filename":"image_04112025_21_06_22_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/2/004bc72bba244336112ec06571b5d19f.jpg","text":"TemporaryFile(/tmp/multipartBody5770104346337673070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313964113,"filename":"image_04112025_21_06_15_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b93323d3ea428684ac5e77cb97c3a02.jpg","text":"TemporaryFile(/tmp/multipartBody72688826870778791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313964113,"filename":"image_04112025_21_06_20_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/2/7a2290a38535dd3de219a3566f01a38d.jpg","text":"TemporaryFile(/tmp/multipartBody3829255467977600200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313964113,"filename":"image_04112025_21_06_24_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/2/bfe4a76065403bea6098da0a7850e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1769531790256513160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313964113,"filename":"image_04112025_21_06_13_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/2/932f6a350f4c2cf6b0d45fee60ecec8c.jpg","text":"TemporaryFile(/tmp/multipartBody7468767467898637336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767313964113,"filename":"image_04112025_21_06_17_1838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090405","file1":"1402090404","file0":"1402090402","file4":"1402090407","file5":"1402090409","file3":"1402090406"},"map_files_photo_id_array":[{"photo_id":"1402090409","filename":"file5"},{"photo_id":"1402090405","filename":"file2"},{"photo_id":"1402090407","filename":"file4"},{"photo_id":"1402090404","filename":"file1"},{"photo_id":"1402090402","filename":"file0"},{"photo_id":"1402090406","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090407":["hashtag1","hashtag2"]},{"1402090404":["hashtag1","hashtag2"]},{"1402090406":["hashtag1","hashtag2"]},{"1402090409":["hashtag1","hashtag2"]},{"1402090402":["hashtag1","hashtag2"]},{"1402090405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090407, 1402090404, 1402090406, 1402090409, 1402090402, 1402090405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.881001472473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:32:22.588365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_14_9326.jpg', '/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_25_10754.jpg', '/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_35_9595.jpg', '/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_45_9807.jpg', '/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_55_10755.jpg', '/home/pi/Desktop/images/02012026/01/06/image_02012026_01_07_05_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_14_9326.jpg
/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_25_10754.jpg
/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_35_9595.jpg
/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_45_9807.jpg
/home/pi/Desktop/images/02012026/01/06/image_02012026_01_06_55_10755.jpg
/home/pi/Desktop/images/02012026/01/06/image_02012026_01_07_05_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090416","1402090418","1402090412","1402090426","1402090420","1402090414"],"photo_ids_order":["1402090412","1402090414","1402090416","1402090418","1402090420","1402090426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c2547e566832d75cf869633df41de896.jpg","text":"TemporaryFile(/tmp/multipartBody8945452359047151084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314003191,"filename":"image_02012026_01_06_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/2/3bf45508e99a0bd9086e239df27fe26f.jpg","text":"TemporaryFile(/tmp/multipartBody3640325911864632380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314003191,"filename":"image_02012026_01_06_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/2/538821a03b388f7e0d8864a53e5524cf.jpg","text":"TemporaryFile(/tmp/multipartBody2848483426139924661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314003191,"filename":"image_02012026_01_06_14_9326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71c059a41ee91294443377dfeb60d953.jpg","text":"TemporaryFile(/tmp/multipartBody2398336045681269573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314003191,"filename":"image_02012026_01_07_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/2/e7e76631654d1c656b457e1c66e3b544.jpg","text":"TemporaryFile(/tmp/multipartBody2623296584094091012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314003191,"filename":"image_02012026_01_06_55_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/2/e11f225806ff000e609e5a33245ae699.jpg","text":"TemporaryFile(/tmp/multipartBody8752333246384463498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314003191,"filename":"image_02012026_01_06_25_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090416","file1":"1402090414","file0":"1402090412","file4":"1402090420","file5":"1402090426","file3":"1402090418"},"map_files_photo_id_array":[{"photo_id":"1402090426","filename":"file5"},{"photo_id":"1402090416","filename":"file2"},{"photo_id":"1402090420","filename":"file4"},{"photo_id":"1402090414","filename":"file1"},{"photo_id":"1402090412","filename":"file0"},{"photo_id":"1402090418","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090416":["hashtag1","hashtag2"]},{"1402090418":["hashtag1","hashtag2"]},{"1402090412":["hashtag1","hashtag2"]},{"1402090426":["hashtag1","hashtag2"]},{"1402090420":["hashtag1","hashtag2"]},{"1402090414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090416, 1402090418, 1402090412, 1402090426, 1402090420, 1402090414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.749544858932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:33:03.568503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_14_9621.jpg', '/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_25_10677.jpg', '/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_35_9543.jpg', '/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_45_9941.jpg', '/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_55_10650.jpg', '/home/pi/Desktop/images/02012026/01/07/image_02012026_01_08_05_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_14_9621.jpg
/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_25_10677.jpg
/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_35_9543.jpg
/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_45_9941.jpg
/home/pi/Desktop/images/02012026/01/07/image_02012026_01_07_55_10650.jpg
/home/pi/Desktop/images/02012026/01/07/image_02012026_01_08_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":["1402090431","1402090428","1402090433","1402090430","1402090427","1402090429"],"photo_ids_order":["1402090427","1402090428","1402090429","1402090430","1402090431","1402090433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6fcb44cdd666228b9d408f9ce50f3caa.jpg","text":"TemporaryFile(/tmp/multipartBody4264285186774988412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314044221,"filename":"image_02012026_01_07_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/2/a1d6a20bd2b8356ecc1f096153276634.jpg","text":"TemporaryFile(/tmp/multipartBody5611714682883099836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314044221,"filename":"image_02012026_01_07_25_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/2/04fc58946c3012a441d1d60e4da16c87.jpg","text":"TemporaryFile(/tmp/multipartBody1214492431665550255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314044221,"filename":"image_02012026_01_08_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/2/365bbd771186b5ade9fc2cfaff4cb811.jpg","text":"TemporaryFile(/tmp/multipartBody5368441289809369603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314044221,"filename":"image_02012026_01_07_45_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/2/f056d1b5dfd2f2b211321e26247a73dd.jpg","text":"TemporaryFile(/tmp/multipartBody7350832798691071779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314044221,"filename":"image_02012026_01_07_14_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/2/b6bfb56763a18384856bcdd88d616597.jpg","text":"TemporaryFile(/tmp/multipartBody4881446287413093252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314044221,"filename":"image_02012026_01_07_35_9543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090429","file1":"1402090428","file0":"1402090427","file4":"1402090431","file5":"1402090433","file3":"1402090430"},"map_files_photo_id_array":[{"photo_id":"1402090433","filename":"file5"},{"photo_id":"1402090429","filename":"file2"},{"photo_id":"1402090431","filename":"file4"},{"photo_id":"1402090428","filename":"file1"},{"photo_id":"1402090427","filename":"file0"},{"photo_id":"1402090430","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090431":["hashtag1","hashtag2"]},{"1402090428":["hashtag1","hashtag2"]},{"1402090433":["hashtag1","hashtag2"]},{"1402090430":["hashtag1","hashtag2"]},{"1402090427":["hashtag1","hashtag2"]},{"1402090429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090431, 1402090428, 1402090433, 1402090430, 1402090427, 1402090429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73818564414978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:33:42.828333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_27_1769.jpg', '/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_31_2625.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_13_2803.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_16_2684.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_20_3597.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_29_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/21/06/image_04112025_21_06_27_1769.jpg
/home/pi/Desktop/images/04112025/21/06/image_04112025_21_06_31_2625.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_13_2803.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_16_2684.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_20_3597.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_29_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":["1402090443","1402090440","1402090442","1402090444","1402090441","1402090438"],"photo_ids_order":["1402090438","1402090440","1402090441","1402090442","1402090443","1402090444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93b2265dc958fbb5bccadeae53fb4b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5081623195218538132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314084650,"filename":"image_04112025_21_08_20_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/2/5e1d4d2eafdc0e9cb40ad2b672f41e88.jpg","text":"TemporaryFile(/tmp/multipartBody6647695237183566463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314084650,"filename":"image_04112025_21_06_31_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/2/7b2464bed7400e238fcda871432f88d5.jpg","text":"TemporaryFile(/tmp/multipartBody7277220431101281393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314084650,"filename":"image_04112025_21_08_16_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/2/d9a5168b0f1af9cd8d5fd5929e43d37c.jpg","text":"TemporaryFile(/tmp/multipartBody3955683978974460395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314084650,"filename":"image_04112025_21_08_29_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/2/0ddf196cc8cefe5ec1bb8b9fbc3b8263.jpg","text":"TemporaryFile(/tmp/multipartBody6200534337655370478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314084650,"filename":"image_04112025_21_08_13_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/2/fd49f29972b172a48f9cc6556d501bc7.jpg","text":"TemporaryFile(/tmp/multipartBody9201913270523492367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314084650,"filename":"image_04112025_21_06_27_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090441","file1":"1402090440","file0":"1402090438","file4":"1402090443","file5":"1402090444","file3":"1402090442"},"map_files_photo_id_array":[{"photo_id":"1402090444","filename":"file5"},{"photo_id":"1402090441","filename":"file2"},{"photo_id":"1402090443","filename":"file4"},{"photo_id":"1402090440","filename":"file1"},{"photo_id":"1402090438","filename":"file0"},{"photo_id":"1402090442","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090443":["hashtag1","hashtag2"]},{"1402090440":["hashtag1","hashtag2"]},{"1402090442":["hashtag1","hashtag2"]},{"1402090444":["hashtag1","hashtag2"]},{"1402090441":["hashtag1","hashtag2"]},{"1402090438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090443, 1402090440, 1402090442, 1402090444, 1402090441, 1402090438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10827016830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:34:22.051782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_15_9828.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_45_9600.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_54_9581.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_09_05_10858.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_15_9660.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_15_9828.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_45_9600.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_54_9581.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_09_05_10858.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_15_9660.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_25_9642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48514533042907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:34:32.011476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_31_2752.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_37_2994.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_41_3642.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_43_2608.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_46_2850.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_49_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/21/08/image_04112025_21_08_31_2752.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_37_2994.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_41_3642.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_43_2608.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_46_2850.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_49_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090451","1402090460","1402090454","1402090457","1402090459","1402090461"],"photo_ids_order":["1402090451","1402090454","1402090457","1402090459","1402090460","1402090461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6291d7e1c307dd7b66ed10a7b0d6d10c.jpg","text":"TemporaryFile(/tmp/multipartBody106395234034200536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314133891,"filename":"image_04112025_21_08_31_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/2/49715a15bcfecbef4b29a59b261ee8e4.jpg","text":"TemporaryFile(/tmp/multipartBody6592235951132369154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314133891,"filename":"image_04112025_21_08_46_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/2/4f42ca6565dc8e4244dd9dc7d5afa615.jpg","text":"TemporaryFile(/tmp/multipartBody8413329727312358116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314133891,"filename":"image_04112025_21_08_37_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/2/3ad059ae074ebdec4a6793d3e6b233f3.jpg","text":"TemporaryFile(/tmp/multipartBody5788624459205389702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314133891,"filename":"image_04112025_21_08_41_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/2/3a4cd62a9913428e09674411df617123.jpg","text":"TemporaryFile(/tmp/multipartBody4122344204103142889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314133891,"filename":"image_04112025_21_08_43_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/2/6dc1221e4b90b303612fa1388f804b30.jpg","text":"TemporaryFile(/tmp/multipartBody6349956445781070277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314133891,"filename":"image_04112025_21_08_49_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090457","file1":"1402090454","file0":"1402090451","file4":"1402090460","file5":"1402090461","file3":"1402090459"},"map_files_photo_id_array":[{"photo_id":"1402090461","filename":"file5"},{"photo_id":"1402090457","filename":"file2"},{"photo_id":"1402090460","filename":"file4"},{"photo_id":"1402090454","filename":"file1"},{"photo_id":"1402090451","filename":"file0"},{"photo_id":"1402090459","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090451":["hashtag1","hashtag2"]},{"1402090460":["hashtag1","hashtag2"]},{"1402090454":["hashtag1","hashtag2"]},{"1402090457":["hashtag1","hashtag2"]},{"1402090459":["hashtag1","hashtag2"]},{"1402090461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090451, 1402090460, 1402090454, 1402090457, 1402090459, 1402090461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05998134613037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:35:12.245940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_56_2771.jpg', '/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_58_2655.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_01_2941.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_04_2734.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_15_10851.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_18_1864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_56_2771.jpg
/home/pi/Desktop/images/04112025/21/08/image_04112025_21_08_58_2655.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_01_2941.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_04_2734.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_15_10851.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_18_1864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090469","1402090463","1402090462","1402090471","1402090465","1402090467"],"photo_ids_order":["1402090462","1402090463","1402090465","1402090467","1402090469","1402090471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6fa5b6d69ebbe957bc51fa0f7c9ba93f.jpg","text":"TemporaryFile(/tmp/multipartBody5120987015652075573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314173959,"filename":"image_04112025_21_09_15_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/2/9611dcc457704aaa3040e65cc53d7d5c.jpg","text":"TemporaryFile(/tmp/multipartBody506641721396908106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314173959,"filename":"image_04112025_21_08_58_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a1ccdae06a50d9acce4b44da5be87f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6105161607919850775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314173959,"filename":"image_04112025_21_08_56_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/2/96ccf6a948d1fe1bd52c46506bf4ce2b.jpg","text":"TemporaryFile(/tmp/multipartBody2699368684446145318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314173959,"filename":"image_04112025_21_09_18_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cd8c76f5f2c8b90eef118a4a064b114.jpg","text":"TemporaryFile(/tmp/multipartBody1999225140317383622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314173959,"filename":"image_04112025_21_09_01_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e1d4315cb47a72cbb12f0ab00a546fa.jpg","text":"TemporaryFile(/tmp/multipartBody902884350741989600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314173959,"filename":"image_04112025_21_09_04_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090465","file1":"1402090463","file0":"1402090462","file4":"1402090469","file5":"1402090471","file3":"1402090467"},"map_files_photo_id_array":[{"photo_id":"1402090471","filename":"file5"},{"photo_id":"1402090465","filename":"file2"},{"photo_id":"1402090469","filename":"file4"},{"photo_id":"1402090463","filename":"file1"},{"photo_id":"1402090462","filename":"file0"},{"photo_id":"1402090467","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090469":["hashtag1","hashtag2"]},{"1402090463":["hashtag1","hashtag2"]},{"1402090462":["hashtag1","hashtag2"]},{"1402090471":["hashtag1","hashtag2"]},{"1402090465":["hashtag1","hashtag2"]},{"1402090467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090469, 1402090463, 1402090462, 1402090471, 1402090465, 1402090467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.619998931884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:36:02.741864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_15_9828.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_45_9600.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_54_9581.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_09_05_10858.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_15_9660.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_15_9828.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_45_9600.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_54_9581.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_09_05_10858.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_15_9660.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_25_9642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5178680419921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:36:12.313801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_23_1604.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_42_16234.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_45_3459.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_47_1691.jpg', '/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_51_1678.jpg', '/home/pi/Desktop/images/04112025/21/10/image_04112025_21_10_06_15168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_23_1604.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_42_16234.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_45_3459.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_47_1691.jpg
/home/pi/Desktop/images/04112025/21/09/image_04112025_21_09_51_1678.jpg
/home/pi/Desktop/images/04112025/21/10/image_04112025_21_10_06_15168.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090493","1402090487","1402090489","1402090483","1402090491","1402090485"],"photo_ids_order":["1402090483","1402090485","1402090487","1402090489","1402090491","1402090493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4f365b25f379a9d58b310404261495d8.jpg","text":"TemporaryFile(/tmp/multipartBody4402529155233120862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314233995,"filename":"image_04112025_21_10_06_15168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c325b43fa299cad764e57a79449ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody851649231839458200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314233995,"filename":"image_04112025_21_09_45_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/2/d6f07953fe75c9ee84afd0b290e1629f.jpg","text":"TemporaryFile(/tmp/multipartBody7300252273298518491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314233995,"filename":"image_04112025_21_09_47_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/2/7f69ca22f8effca178f3c99c13d3189c.jpg","text":"TemporaryFile(/tmp/multipartBody4314840717186617046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314233995,"filename":"image_04112025_21_09_23_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/2/b0b97ab9b03bab63f714b7bfad5ce1a4.jpg","text":"TemporaryFile(/tmp/multipartBody6535705494413949151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314233995,"filename":"image_04112025_21_09_51_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/2/df51da591c31f18688e64ed847c4b6c1.jpg","text":"TemporaryFile(/tmp/multipartBody323123000788326934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314233995,"filename":"image_04112025_21_09_42_16234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090487","file1":"1402090485","file0":"1402090483","file4":"1402090491","file5":"1402090493","file3":"1402090489"},"map_files_photo_id_array":[{"photo_id":"1402090493","filename":"file5"},{"photo_id":"1402090487","filename":"file2"},{"photo_id":"1402090491","filename":"file4"},{"photo_id":"1402090485","filename":"file1"},{"photo_id":"1402090483","filename":"file0"},{"photo_id":"1402090489","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090493":["hashtag1","hashtag2"]},{"1402090487":["hashtag1","hashtag2"]},{"1402090489":["hashtag1","hashtag2"]},{"1402090483":["hashtag1","hashtag2"]},{"1402090491":["hashtag1","hashtag2"]},{"1402090485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090493, 1402090487, 1402090489, 1402090483, 1402090491, 1402090485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03019952774048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:37:03.186911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_15_9828.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_45_9600.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_54_9581.jpg', '/home/pi/Desktop/images/02012026/01/08/image_02012026_01_09_05_10858.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_15_9660.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_15_9828.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_45_9600.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_08_54_9581.jpg
/home/pi/Desktop/images/02012026/01/08/image_02012026_01_09_05_10858.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_15_9660.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_25_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090503","1402090500","1402090499","1402090498","1402090501","1402090497"],"photo_ids_order":["1402090497","1402090498","1402090499","1402090500","1402090501","1402090503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf76a21f6a61cbb5894e837d151a1795.jpg","text":"TemporaryFile(/tmp/multipartBody2129591169798275407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314283844,"filename":"image_02012026_01_09_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/2/b7900a4391fdd96720dba239a1742da3.jpg","text":"TemporaryFile(/tmp/multipartBody6743327040374608282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314283844,"filename":"image_02012026_01_09_05_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/2/3fba00b404c7d8be75a3cb4395967e07.jpg","text":"TemporaryFile(/tmp/multipartBody847994729957313913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314283844,"filename":"image_02012026_01_08_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/2/f819cdaa904bdb58078b5cc18a4366a2.jpg","text":"TemporaryFile(/tmp/multipartBody1643154899615678165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314283844,"filename":"image_02012026_01_08_45_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/2/19e23545e2eb06bfb769fe11e6105ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6312413219102012345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314283844,"filename":"image_02012026_01_09_15_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/2/2b62f38736c9a3006fe45fc7744cea41.jpg","text":"TemporaryFile(/tmp/multipartBody5738462560705180618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314283844,"filename":"image_02012026_01_08_15_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090499","file1":"1402090498","file0":"1402090497","file4":"1402090501","file5":"1402090503","file3":"1402090500"},"map_files_photo_id_array":[{"photo_id":"1402090503","filename":"file5"},{"photo_id":"1402090499","filename":"file2"},{"photo_id":"1402090501","filename":"file4"},{"photo_id":"1402090498","filename":"file1"},{"photo_id":"1402090497","filename":"file0"},{"photo_id":"1402090500","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090503":["hashtag1","hashtag2"]},{"1402090500":["hashtag1","hashtag2"]},{"1402090499":["hashtag1","hashtag2"]},{"1402090498":["hashtag1","hashtag2"]},{"1402090501":["hashtag1","hashtag2"]},{"1402090497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090503, 1402090500, 1402090499, 1402090498, 1402090501, 1402090497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.163554191589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:37:42.605269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_07_3015.jpg', '/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_10_3467.jpg', '/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_13_2879.jpg', '/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_31_1531.jpg', '/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_35_1982.jpg', '/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_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/21/12/image_04112025_21_12_07_3015.jpg
/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_10_3467.jpg
/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_13_2879.jpg
/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_31_1531.jpg
/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_35_1982.jpg
/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_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":["1402090512","1402090509","1402090511","1402090508","1402090513","1402090510"],"photo_ids_order":["1402090508","1402090509","1402090510","1402090511","1402090512","1402090513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09bacd5eb976843be991a1a4affda3b2.jpg","text":"TemporaryFile(/tmp/multipartBody7052651017442013339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314324425,"filename":"image_04112025_21_12_35_1982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bec02d49a5e135a1b87ffac6881a9e6a.jpg","text":"TemporaryFile(/tmp/multipartBody7340568566214680929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314324425,"filename":"image_04112025_21_12_10_3467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d87af04dd2879c6a8bf828b6a764bec2.jpg","text":"TemporaryFile(/tmp/multipartBody8106714390018182683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314324425,"filename":"image_04112025_21_12_31_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/2/6dbbfce3e11fa40aadfdf6b87980ef23.jpg","text":"TemporaryFile(/tmp/multipartBody2976672235303257553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314324425,"filename":"image_04112025_21_12_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/2/dc29e513a0c8de38ee8bfef3b5cb0f99.jpg","text":"TemporaryFile(/tmp/multipartBody3128133413697400812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314324425,"filename":"image_04112025_21_12_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/2/5ef5d0a2f3727f399fbbdd8796adf62d.jpg","text":"TemporaryFile(/tmp/multipartBody4458251963029533476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314324425,"filename":"image_04112025_21_12_13_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090510","file1":"1402090509","file0":"1402090508","file4":"1402090512","file5":"1402090513","file3":"1402090511"},"map_files_photo_id_array":[{"photo_id":"1402090513","filename":"file5"},{"photo_id":"1402090510","filename":"file2"},{"photo_id":"1402090512","filename":"file4"},{"photo_id":"1402090509","filename":"file1"},{"photo_id":"1402090508","filename":"file0"},{"photo_id":"1402090511","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090512":["hashtag1","hashtag2"]},{"1402090509":["hashtag1","hashtag2"]},{"1402090511":["hashtag1","hashtag2"]},{"1402090508":["hashtag1","hashtag2"]},{"1402090513":["hashtag1","hashtag2"]},{"1402090510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090512, 1402090509, 1402090511, 1402090508, 1402090513, 1402090510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30038833618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:38:22.865379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_35_10136.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_45_10552.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_56_11081.jpg', '/home/pi/Desktop/images/02012026/01/09/image_02012026_01_10_05_8753.jpg', '/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_15_10017.jpg', '/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_35_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_35_10136.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_45_10552.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_09_56_11081.jpg
/home/pi/Desktop/images/02012026/01/09/image_02012026_01_10_05_8753.jpg
/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_15_10017.jpg
/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_35_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090524","1402090518","1402090515","1402090520","1402090522","1402090516"],"photo_ids_order":["1402090515","1402090516","1402090518","1402090520","1402090522","1402090524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc0a1fb1fdfe7b30d23ec66e70d14d50.jpg","text":"TemporaryFile(/tmp/multipartBody2770777161570298611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314363461,"filename":"image_02012026_01_10_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/2/7913ecaba22aa25e73ff4f64e0711116.jpg","text":"TemporaryFile(/tmp/multipartBody8365135144676967574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314363461,"filename":"image_02012026_01_09_56_11081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/278fb599fc3ed062556a28106edf2870.jpg","text":"TemporaryFile(/tmp/multipartBody2645650926950813549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314363461,"filename":"image_02012026_01_09_35_10136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fea988f51343af4cfd2aa7f06218eaec.jpg","text":"TemporaryFile(/tmp/multipartBody895286900762173900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314363461,"filename":"image_02012026_01_10_05_8753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6b4304399f92f3f3ada08c8eb9c825b.jpg","text":"TemporaryFile(/tmp/multipartBody1228869380198409525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314363461,"filename":"image_02012026_01_10_15_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/2/d3c93e46acb67118db0ef70a361d91e0.jpg","text":"TemporaryFile(/tmp/multipartBody3323926922378212070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314363461,"filename":"image_02012026_01_09_45_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090518","file1":"1402090516","file0":"1402090515","file4":"1402090522","file5":"1402090524","file3":"1402090520"},"map_files_photo_id_array":[{"photo_id":"1402090524","filename":"file5"},{"photo_id":"1402090518","filename":"file2"},{"photo_id":"1402090522","filename":"file4"},{"photo_id":"1402090516","filename":"file1"},{"photo_id":"1402090515","filename":"file0"},{"photo_id":"1402090520","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090524":["hashtag1","hashtag2"]},{"1402090518":["hashtag1","hashtag2"]},{"1402090515":["hashtag1","hashtag2"]},{"1402090520":["hashtag1","hashtag2"]},{"1402090522":["hashtag1","hashtag2"]},{"1402090516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090524, 1402090518, 1402090515, 1402090520, 1402090522, 1402090516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.285972356796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:39:02.967799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_45_10661.jpg', '/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_55_9566.jpg', '/home/pi/Desktop/images/02012026/01/10/image_02012026_01_11_04_9682.jpg', '/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_15_10599.jpg', '/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_25_9582.jpg', '/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_35_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_45_10661.jpg
/home/pi/Desktop/images/02012026/01/10/image_02012026_01_10_55_9566.jpg
/home/pi/Desktop/images/02012026/01/10/image_02012026_01_11_04_9682.jpg
/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_15_10599.jpg
/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_25_9582.jpg
/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_35_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":["1402090536","1402090539","1402090533","1402090535","1402090534","1402090537"],"photo_ids_order":["1402090533","1402090534","1402090535","1402090536","1402090537","1402090539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d2ffd1208f0339951d9f7b0106e0dde2.jpg","text":"TemporaryFile(/tmp/multipartBody713418285434671684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314403725,"filename":"image_02012026_01_11_15_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/2/84656d637a161e5c21fb2706d1aa6be8.jpg","text":"TemporaryFile(/tmp/multipartBody2369264690964007164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314403725,"filename":"image_02012026_01_11_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/2/5a704c0c1754a710876262af3c890e5d.jpg","text":"TemporaryFile(/tmp/multipartBody150986776601077599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314403725,"filename":"image_02012026_01_10_45_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/2/438a09324f9e1233d996a2ae42ad8ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8780865126091515720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314403725,"filename":"image_02012026_01_11_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/2/aeba97c73aa2b052ec1481768e272167.jpg","text":"TemporaryFile(/tmp/multipartBody4400752898635924580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314403725,"filename":"image_02012026_01_10_55_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/2/e4a60db1a7a79bbd3b0bae14134b5e84.jpg","text":"TemporaryFile(/tmp/multipartBody1977017309742781650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314403725,"filename":"image_02012026_01_11_25_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090535","file1":"1402090534","file0":"1402090533","file4":"1402090537","file5":"1402090539","file3":"1402090536"},"map_files_photo_id_array":[{"photo_id":"1402090539","filename":"file5"},{"photo_id":"1402090535","filename":"file2"},{"photo_id":"1402090537","filename":"file4"},{"photo_id":"1402090534","filename":"file1"},{"photo_id":"1402090533","filename":"file0"},{"photo_id":"1402090536","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090536":["hashtag1","hashtag2"]},{"1402090539":["hashtag1","hashtag2"]},{"1402090533":["hashtag1","hashtag2"]},{"1402090535":["hashtag1","hashtag2"]},{"1402090534":["hashtag1","hashtag2"]},{"1402090537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090536, 1402090539, 1402090533, 1402090535, 1402090534, 1402090537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75152850151062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:39:41.964517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/12/image_04112025_21_12_42_3696.jpg', '/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_14_24119.jpg', '/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_17_1584.jpg', '/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_19_1643.jpg', '/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_43_1584.jpg', '/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_47_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/21/12/image_04112025_21_12_42_3696.jpg
/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_14_24119.jpg
/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_17_1584.jpg
/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_19_1643.jpg
/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_43_1584.jpg
/home/pi/Desktop/images/04112025/21/13/image_04112025_21_13_47_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":["1402090550","1402090547","1402090544","1402090546","1402090549","1402090548"],"photo_ids_order":["1402090544","1402090546","1402090547","1402090548","1402090549","1402090550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/11df7b57aec8621fd2b44aa3bf8abeaa.jpg","text":"TemporaryFile(/tmp/multipartBody3713093956829417225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314443778,"filename":"image_04112025_21_13_47_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/2/e4848c07bf64494f2098a5a139763e40.jpg","text":"TemporaryFile(/tmp/multipartBody1975765994642597830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314443778,"filename":"image_04112025_21_13_17_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/2/5619ff6cab086b2894a73970cd8228e8.jpg","text":"TemporaryFile(/tmp/multipartBody7639996917469202668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314443778,"filename":"image_04112025_21_12_42_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c0b97af58b2977ae444c3c884f9ed194.jpg","text":"TemporaryFile(/tmp/multipartBody2567636919573124782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314443778,"filename":"image_04112025_21_13_14_24119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/320f8b7f257f6020fe18ce1b992ccbd1.jpg","text":"TemporaryFile(/tmp/multipartBody9222504569628357199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314443778,"filename":"image_04112025_21_13_43_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/2/eeb9a62e12c31edf66e07df459686f43.jpg","text":"TemporaryFile(/tmp/multipartBody4333054172700808156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314443778,"filename":"image_04112025_21_13_19_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090547","file1":"1402090546","file0":"1402090544","file4":"1402090549","file5":"1402090550","file3":"1402090548"},"map_files_photo_id_array":[{"photo_id":"1402090550","filename":"file5"},{"photo_id":"1402090547","filename":"file2"},{"photo_id":"1402090549","filename":"file4"},{"photo_id":"1402090546","filename":"file1"},{"photo_id":"1402090544","filename":"file0"},{"photo_id":"1402090548","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090550":["hashtag1","hashtag2"]},{"1402090547":["hashtag1","hashtag2"]},{"1402090544":["hashtag1","hashtag2"]},{"1402090546":["hashtag1","hashtag2"]},{"1402090549":["hashtag1","hashtag2"]},{"1402090548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090550, 1402090547, 1402090544, 1402090546, 1402090549, 1402090548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63141655921936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:40:22.173027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_45_9577.jpg', '/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_55_9832.jpg', '/home/pi/Desktop/images/02012026/01/11/image_02012026_01_12_04_9660.jpg', '/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_15_10667.jpg', '/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_25_9710.jpg', '/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_35_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_45_9577.jpg
/home/pi/Desktop/images/02012026/01/11/image_02012026_01_11_55_9832.jpg
/home/pi/Desktop/images/02012026/01/11/image_02012026_01_12_04_9660.jpg
/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_15_10667.jpg
/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_25_9710.jpg
/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_35_9902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090557","1402090559","1402090553","1402090561","1402090552","1402090555"],"photo_ids_order":["1402090552","1402090553","1402090555","1402090557","1402090559","1402090561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcd561276c5a2e21744fb2e76948740b.jpg","text":"TemporaryFile(/tmp/multipartBody5045583282023245608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314482811,"filename":"image_02012026_01_12_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bfa13a5f96748f10c8f91ad90a031bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3776261602390241667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314482811,"filename":"image_02012026_01_12_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/2/1782e3ba1a3e8dffd3d8ae3db5ddcfb0.jpg","text":"TemporaryFile(/tmp/multipartBody5337340055950740546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314482811,"filename":"image_02012026_01_11_55_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/2/0d73c56be09e2ed2777af3d7d19a179a.jpg","text":"TemporaryFile(/tmp/multipartBody1408013320447361297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314482811,"filename":"image_02012026_01_12_35_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e311f765b4301912ee4e72f352258f19.jpg","text":"TemporaryFile(/tmp/multipartBody2431465374864417173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314482811,"filename":"image_02012026_01_11_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/2/ba804369ca0c8b57de7f24ebda057896.jpg","text":"TemporaryFile(/tmp/multipartBody7641356724493139223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314482811,"filename":"image_02012026_01_12_04_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090555","file1":"1402090553","file0":"1402090552","file4":"1402090559","file5":"1402090561","file3":"1402090557"},"map_files_photo_id_array":[{"photo_id":"1402090561","filename":"file5"},{"photo_id":"1402090555","filename":"file2"},{"photo_id":"1402090559","filename":"file4"},{"photo_id":"1402090553","filename":"file1"},{"photo_id":"1402090552","filename":"file0"},{"photo_id":"1402090557","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090557":["hashtag1","hashtag2"]},{"1402090559":["hashtag1","hashtag2"]},{"1402090553":["hashtag1","hashtag2"]},{"1402090561":["hashtag1","hashtag2"]},{"1402090552":["hashtag1","hashtag2"]},{"1402090555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090557, 1402090559, 1402090553, 1402090561, 1402090552, 1402090555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75506520271301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:41:03.045662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_44_9860.jpg', '/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_55_10583.jpg', '/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_15_9871.jpg', '/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_35_10629.jpg', '/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_45_10245.jpg', '/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_55_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_44_9860.jpg
/home/pi/Desktop/images/02012026/01/12/image_02012026_01_12_55_10583.jpg
/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_15_9871.jpg
/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_35_10629.jpg
/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_45_10245.jpg
/home/pi/Desktop/images/02012026/01/13/image_02012026_01_13_55_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":["1402090565","1402090568","1402090570","1402090564","1402090567","1402090566"],"photo_ids_order":["1402090564","1402090565","1402090566","1402090567","1402090568","1402090570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ab1db99972633ed2a03878712dfff76.jpg","text":"TemporaryFile(/tmp/multipartBody7215053563012768339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314523686,"filename":"image_02012026_01_12_55_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/2/d0c57cdef6dcccc7f80b572be1d3f536.jpg","text":"TemporaryFile(/tmp/multipartBody3385278240761110823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314523686,"filename":"image_02012026_01_13_45_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/34233f104f454eeb8046ae761cd6ba0b.jpg","text":"TemporaryFile(/tmp/multipartBody7814530831474689200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314523686,"filename":"image_02012026_01_13_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/2/e5e8b99e96026ba6986848d2b912183c.jpg","text":"TemporaryFile(/tmp/multipartBody5868517555115153043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314523686,"filename":"image_02012026_01_12_44_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/2/1d5e56ca110baf233ffd052169327f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4539318365250327689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314523686,"filename":"image_02012026_01_13_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/2/17e5ead41baa7e088d0a1778ada061d4.jpg","text":"TemporaryFile(/tmp/multipartBody3610632363912872351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314523686,"filename":"image_02012026_01_13_15_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090566","file1":"1402090565","file0":"1402090564","file4":"1402090568","file5":"1402090570","file3":"1402090567"},"map_files_photo_id_array":[{"photo_id":"1402090570","filename":"file5"},{"photo_id":"1402090566","filename":"file2"},{"photo_id":"1402090568","filename":"file4"},{"photo_id":"1402090565","filename":"file1"},{"photo_id":"1402090564","filename":"file0"},{"photo_id":"1402090567","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090565":["hashtag1","hashtag2"]},{"1402090568":["hashtag1","hashtag2"]},{"1402090570":["hashtag1","hashtag2"]},{"1402090564":["hashtag1","hashtag2"]},{"1402090567":["hashtag1","hashtag2"]},{"1402090566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090565, 1402090568, 1402090570, 1402090564, 1402090567, 1402090566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.890777826309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:41:42.425671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_51_59901.jpg', '/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_54_1830.jpg', '/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_58_1633.jpg', '/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_59_1653.jpg', '/home/pi/Desktop/images/04112025/21/15/image_04112025_21_15_28_1763.jpg', '/home/pi/Desktop/images/04112025/21/15/image_04112025_21_15_54_25625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_51_59901.jpg
/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_54_1830.jpg
/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_58_1633.jpg
/home/pi/Desktop/images/04112025/21/14/image_04112025_21_14_59_1653.jpg
/home/pi/Desktop/images/04112025/21/15/image_04112025_21_15_28_1763.jpg
/home/pi/Desktop/images/04112025/21/15/image_04112025_21_15_54_25625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090586","1402090588","1402090585","1402090584","1402090587","1402090575"],"photo_ids_order":["1402090575","1402090584","1402090585","1402090586","1402090587","1402090588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f19a28a65b60f691be00bf39c6087747.jpg","text":"TemporaryFile(/tmp/multipartBody2202371687652130503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314564245,"filename":"image_04112025_21_14_59_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/2/cfc4a41695e8d6b38816b5979620d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2371195312083191916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314564245,"filename":"image_04112025_21_15_54_25625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/35c7276ccb389a2cacb86aa904da5b41.jpg","text":"TemporaryFile(/tmp/multipartBody8850226108774194562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314564245,"filename":"image_04112025_21_14_58_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/2/2c598ce0ba8e9d108dc4ae25dc4df510.jpg","text":"TemporaryFile(/tmp/multipartBody7156346638575929448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314564245,"filename":"image_04112025_21_14_54_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05ab7f41bca268d8d35ac9e57a434184.jpg","text":"TemporaryFile(/tmp/multipartBody2731506729248054901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314564245,"filename":"image_04112025_21_15_28_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/2/17d8ca6453c59f4f1b434c7789c83712.jpg","text":"TemporaryFile(/tmp/multipartBody4053691538860248857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314564245,"filename":"image_04112025_21_14_51_59901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090585","file1":"1402090584","file0":"1402090575","file4":"1402090587","file5":"1402090588","file3":"1402090586"},"map_files_photo_id_array":[{"photo_id":"1402090588","filename":"file5"},{"photo_id":"1402090585","filename":"file2"},{"photo_id":"1402090587","filename":"file4"},{"photo_id":"1402090584","filename":"file1"},{"photo_id":"1402090575","filename":"file0"},{"photo_id":"1402090586","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090586":["hashtag1","hashtag2"]},{"1402090588":["hashtag1","hashtag2"]},{"1402090585":["hashtag1","hashtag2"]},{"1402090584":["hashtag1","hashtag2"]},{"1402090587":["hashtag1","hashtag2"]},{"1402090575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090586, 1402090588, 1402090585, 1402090584, 1402090587, 1402090575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.268349170684814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:42:22.575851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/13/image_02012026_01_14_05_9940.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_17_11771.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_24_7663.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_35_10632.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_45_9849.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/13/image_02012026_01_14_05_9940.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_17_11771.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_24_7663.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_35_10632.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_45_9849.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_55_9647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4862327575683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:42:32.614743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_06_3012.jpg', '/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_10_3728.jpg', '/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_22_2809.jpg', '/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_25_2827.jpg', '/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_34_2574.jpg', '/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_36_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_06_3012.jpg
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_10_3728.jpg
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_22_2809.jpg
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_25_2827.jpg
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_34_2574.jpg
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_36_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":["1402090605","1402090595","1402090598","1402090601","1402090604","1402090603"],"photo_ids_order":["1402090595","1402090598","1402090601","1402090603","1402090604","1402090605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20d448e8b7bbc89ed5b76a4b65cce6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2062020975257583689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314614436,"filename":"image_04112025_21_17_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/2/8ae05412cb6886fb9c27b683783f541c.jpg","text":"TemporaryFile(/tmp/multipartBody3382441609694876261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314614436,"filename":"image_04112025_21_17_06_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/2/24aa7b9e2628f5b2eb69b858c7caa391.jpg","text":"TemporaryFile(/tmp/multipartBody4037983164412541497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314614436,"filename":"image_04112025_21_17_10_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/2/3871abed27382d6ab50ba75c8bf6a57e.jpg","text":"TemporaryFile(/tmp/multipartBody6552024814929275947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314614436,"filename":"image_04112025_21_17_22_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/2/a0158922ebbddddd70f8f46364f366a6.jpg","text":"TemporaryFile(/tmp/multipartBody7442331222938049745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314614436,"filename":"image_04112025_21_17_34_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/2/d8b2f40daa4966691230145e2fe22b72.jpg","text":"TemporaryFile(/tmp/multipartBody8633128275368552289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314614436,"filename":"image_04112025_21_17_25_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090601","file1":"1402090598","file0":"1402090595","file4":"1402090604","file5":"1402090605","file3":"1402090603"},"map_files_photo_id_array":[{"photo_id":"1402090605","filename":"file5"},{"photo_id":"1402090601","filename":"file2"},{"photo_id":"1402090604","filename":"file4"},{"photo_id":"1402090598","filename":"file1"},{"photo_id":"1402090595","filename":"file0"},{"photo_id":"1402090603","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090605":["hashtag1","hashtag2"]},{"1402090595":["hashtag1","hashtag2"]},{"1402090598":["hashtag1","hashtag2"]},{"1402090601":["hashtag1","hashtag2"]},{"1402090604":["hashtag1","hashtag2"]},{"1402090603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090605, 1402090595, 1402090598, 1402090601, 1402090604, 1402090603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32219982147217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:43:12.777332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_43_2571.jpg', '/home/pi/Desktop/images/04112025/21/18/image_04112025_21_18_03_20665.jpg', '/home/pi/Desktop/images/04112025/21/18/image_04112025_21_18_06_1602.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_02_11703.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_06_1617.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_09_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/17/image_04112025_21_17_43_2571.jpg
/home/pi/Desktop/images/04112025/21/18/image_04112025_21_18_03_20665.jpg
/home/pi/Desktop/images/04112025/21/18/image_04112025_21_18_06_1602.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_02_11703.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_06_1617.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_09_1688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090611","1402090613","1402090607","1402090606","1402090615","1402090609"],"photo_ids_order":["1402090606","1402090607","1402090609","1402090611","1402090613","1402090615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/654f878069ba03553f140137bc9dc86d.jpg","text":"TemporaryFile(/tmp/multipartBody1079517009973391616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314654506,"filename":"image_04112025_21_19_02_11703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c24a244d9856ce133683f80da3d4330a.jpg","text":"TemporaryFile(/tmp/multipartBody8747183292401313894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314654506,"filename":"image_04112025_21_19_06_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/2/ff642e847c03826a9486cd4d12b15618.jpg","text":"TemporaryFile(/tmp/multipartBody4678852968637241905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314654506,"filename":"image_04112025_21_18_03_20665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef374024cc64b193061b47588efefd01.jpg","text":"TemporaryFile(/tmp/multipartBody4291402550764210841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314654506,"filename":"image_04112025_21_17_43_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/2/a8b8b4182a1ad1f3908c17d36abb1862.jpg","text":"TemporaryFile(/tmp/multipartBody8856669125984254950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314654506,"filename":"image_04112025_21_19_09_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/2/847f1eb17819f2f30ff94f913a98351c.jpg","text":"TemporaryFile(/tmp/multipartBody3536826158383376672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314654506,"filename":"image_04112025_21_18_06_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090609","file1":"1402090607","file0":"1402090606","file4":"1402090613","file5":"1402090615","file3":"1402090611"},"map_files_photo_id_array":[{"photo_id":"1402090615","filename":"file5"},{"photo_id":"1402090609","filename":"file2"},{"photo_id":"1402090613","filename":"file4"},{"photo_id":"1402090607","filename":"file1"},{"photo_id":"1402090606","filename":"file0"},{"photo_id":"1402090611","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090611":["hashtag1","hashtag2"]},{"1402090613":["hashtag1","hashtag2"]},{"1402090607":["hashtag1","hashtag2"]},{"1402090606":["hashtag1","hashtag2"]},{"1402090615":["hashtag1","hashtag2"]},{"1402090609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090611, 1402090613, 1402090607, 1402090606, 1402090615, 1402090609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3862829208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:44:02.731668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/13/image_02012026_01_14_05_9940.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_17_11771.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_24_7663.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_35_10632.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_45_9849.jpg', '/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/13/image_02012026_01_14_05_9940.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_17_11771.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_24_7663.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_35_10632.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_45_9849.jpg
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_14_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":["1402090620","1402090623","1402090622","1402090625","1402090619","1402090618"],"photo_ids_order":["1402090618","1402090619","1402090620","1402090622","1402090623","1402090625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5fb41370bf346e48a19a706b8d129f18.jpg","text":"TemporaryFile(/tmp/multipartBody8707162372403898775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314703380,"filename":"image_02012026_01_14_24_7663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94f2024cac3f345f0770e509c5d72f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8666060810374825564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314703380,"filename":"image_02012026_01_14_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/2/dfc630fe851069754271d464ae3a9e39.jpg","text":"TemporaryFile(/tmp/multipartBody3612795591268237702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314703380,"filename":"image_02012026_01_14_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/2/73fb02b1dee945a29d9c08f6d92583c4.jpg","text":"TemporaryFile(/tmp/multipartBody354977074697648886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314703380,"filename":"image_02012026_01_14_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/2/0ede3e3b07839491697ccc3044f22749.jpg","text":"TemporaryFile(/tmp/multipartBody5821287418798662104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314703380,"filename":"image_02012026_01_14_17_11771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9bda10ce975d287de97f372c816a5996.jpg","text":"TemporaryFile(/tmp/multipartBody863414328270413027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314703380,"filename":"image_02012026_01_14_05_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090620","file1":"1402090619","file0":"1402090618","file4":"1402090623","file5":"1402090625","file3":"1402090622"},"map_files_photo_id_array":[{"photo_id":"1402090625","filename":"file5"},{"photo_id":"1402090620","filename":"file2"},{"photo_id":"1402090623","filename":"file4"},{"photo_id":"1402090619","filename":"file1"},{"photo_id":"1402090618","filename":"file0"},{"photo_id":"1402090622","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090620":["hashtag1","hashtag2"]},{"1402090623":["hashtag1","hashtag2"]},{"1402090622":["hashtag1","hashtag2"]},{"1402090625":["hashtag1","hashtag2"]},{"1402090619":["hashtag1","hashtag2"]},{"1402090618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090620, 1402090623, 1402090622, 1402090625, 1402090619, 1402090618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.836124420166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:44:41.925304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_11_1598.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_19_1618.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_23_1682.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_24_1697.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_28_1761.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_33_5662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_11_1598.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_19_1618.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_23_1682.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_24_1697.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_28_1761.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_33_5662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090641","1402090644","1402090631","1402090640","1402090643","1402090642"],"photo_ids_order":["1402090631","1402090640","1402090641","1402090642","1402090643","1402090644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b12c5545c567983ac39022aac29a635.jpg","text":"TemporaryFile(/tmp/multipartBody7517885825350349109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314743753,"filename":"image_04112025_21_19_23_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/2/75e8809e1d2e17f0b5eb1bc1bd715c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6745842768060002369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314743753,"filename":"image_04112025_21_19_33_5662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5fef44dd6fcc53c8240687cda885e7b3.jpg","text":"TemporaryFile(/tmp/multipartBody4307259708326553411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314743753,"filename":"image_04112025_21_19_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/2/acfc5c2ee0af431111a77044ef147276.jpg","text":"TemporaryFile(/tmp/multipartBody404835359849423771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314743753,"filename":"image_04112025_21_19_19_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/2/010c977d01dbc0e5da29018a410dad86.jpg","text":"TemporaryFile(/tmp/multipartBody306917887915408622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314743753,"filename":"image_04112025_21_19_28_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/2/d83dfe2dcd9fcc10bcac29a3cc364ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7081517215713175184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314743753,"filename":"image_04112025_21_19_24_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090641","file1":"1402090640","file0":"1402090631","file4":"1402090643","file5":"1402090644","file3":"1402090642"},"map_files_photo_id_array":[{"photo_id":"1402090644","filename":"file5"},{"photo_id":"1402090641","filename":"file2"},{"photo_id":"1402090643","filename":"file4"},{"photo_id":"1402090640","filename":"file1"},{"photo_id":"1402090631","filename":"file0"},{"photo_id":"1402090642","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090641":["hashtag1","hashtag2"]},{"1402090644":["hashtag1","hashtag2"]},{"1402090631":["hashtag1","hashtag2"]},{"1402090640":["hashtag1","hashtag2"]},{"1402090643":["hashtag1","hashtag2"]},{"1402090642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090641, 1402090644, 1402090631, 1402090640, 1402090643, 1402090642)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.91920304298401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:45:42.140373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_35_1651.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_38_1635.jpg', '/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_58_19532.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_11_3716.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_16_2789.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_20_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_35_1651.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_38_1635.jpg
/home/pi/Desktop/images/04112025/21/19/image_04112025_21_19_58_19532.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_11_3716.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_16_2789.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_20_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090656","1402090650","1402090652","1402090655","1402090654","1402090653"],"photo_ids_order":["1402090650","1402090652","1402090653","1402090654","1402090655","1402090656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d596f9fb053658e8b431e8b679c930b9.jpg","text":"TemporaryFile(/tmp/multipartBody7919880556911179419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314803966,"filename":"image_04112025_21_22_20_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/2/f87084f4bd1fb86339e1fced875c13a0.jpg","text":"TemporaryFile(/tmp/multipartBody8524708549456696759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314803966,"filename":"image_04112025_21_19_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/2/781a1b55753b9699f1d10d7667c94f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7056760946640518035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314803966,"filename":"image_04112025_21_19_38_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/2/544974512c4826ad1b40b9ca6445a276.jpg","text":"TemporaryFile(/tmp/multipartBody6433856195298622446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314803966,"filename":"image_04112025_21_22_16_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/2/f2e0dca8cd04adc9d82262b71fd3fc7f.jpg","text":"TemporaryFile(/tmp/multipartBody3716861202376348601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314803966,"filename":"image_04112025_21_22_11_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/2/d1dd35559a97d7ae1b78ba1e7ad18be0.jpg","text":"TemporaryFile(/tmp/multipartBody1275274159874530925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314803966,"filename":"image_04112025_21_19_58_19532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090653","file1":"1402090652","file0":"1402090650","file4":"1402090655","file5":"1402090656","file3":"1402090654"},"map_files_photo_id_array":[{"photo_id":"1402090656","filename":"file5"},{"photo_id":"1402090653","filename":"file2"},{"photo_id":"1402090655","filename":"file4"},{"photo_id":"1402090652","filename":"file1"},{"photo_id":"1402090650","filename":"file0"},{"photo_id":"1402090654","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090656":["hashtag1","hashtag2"]},{"1402090650":["hashtag1","hashtag2"]},{"1402090652":["hashtag1","hashtag2"]},{"1402090655":["hashtag1","hashtag2"]},{"1402090654":["hashtag1","hashtag2"]},{"1402090653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090656, 1402090650, 1402090652, 1402090655, 1402090654, 1402090653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02747631072998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:46:23.263040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/14/image_02012026_01_15_05_10641.jpg', '/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_15_9785.jpg', '/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_25_9882.jpg', '/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_35_9642.jpg', '/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_45_10665.jpg', '/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_55_10102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/14/image_02012026_01_15_05_10641.jpg
/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_15_9785.jpg
/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_25_9882.jpg
/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_35_9642.jpg
/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_45_10665.jpg
/home/pi/Desktop/images/02012026/01/15/image_02012026_01_15_55_10102.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090664","1402090658","1402090661","1402090660","1402090665","1402090668"],"photo_ids_order":["1402090658","1402090660","1402090661","1402090664","1402090665","1402090668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/af2b590ed48b628b9408e004124c165d.jpg","text":"TemporaryFile(/tmp/multipartBody3379280511760576574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314843830,"filename":"image_02012026_01_15_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/2/d88e16c40c3981ef8360125f76a735c8.jpg","text":"TemporaryFile(/tmp/multipartBody5047448475852570056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314843830,"filename":"image_02012026_01_15_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/2/d25d112404e4d758877510d30352a229.jpg","text":"TemporaryFile(/tmp/multipartBody1621764462317450621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314843830,"filename":"image_02012026_01_15_25_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/2/fcf19500a29cbc6b28cd4617295cced1.jpg","text":"TemporaryFile(/tmp/multipartBody3421870975882967730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314843830,"filename":"image_02012026_01_15_15_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/2/7210b25eb83b8a87f82d4559b8afc743.jpg","text":"TemporaryFile(/tmp/multipartBody6996039254059303848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314843830,"filename":"image_02012026_01_15_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/2/f03fb4a3b6b28e2ca8a17df52dc6d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody6553923534283128242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314843830,"filename":"image_02012026_01_15_55_10102.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090661","file1":"1402090660","file0":"1402090658","file4":"1402090665","file5":"1402090668","file3":"1402090664"},"map_files_photo_id_array":[{"photo_id":"1402090668","filename":"file5"},{"photo_id":"1402090661","filename":"file2"},{"photo_id":"1402090665","filename":"file4"},{"photo_id":"1402090660","filename":"file1"},{"photo_id":"1402090658","filename":"file0"},{"photo_id":"1402090664","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090664":["hashtag1","hashtag2"]},{"1402090658":["hashtag1","hashtag2"]},{"1402090661":["hashtag1","hashtag2"]},{"1402090660":["hashtag1","hashtag2"]},{"1402090665":["hashtag1","hashtag2"]},{"1402090668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090664, 1402090658, 1402090661, 1402090660, 1402090665, 1402090668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70216226577759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:47:03.247983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/16/image_02012026_01_16_15_9634.jpg', '/home/pi/Desktop/images/02012026/01/16/image_02012026_01_16_25_10366.jpg', '/home/pi/Desktop/images/02012026/01/16/image_02012026_01_16_35_9891.jpg', '/home/pi/Desktop/images/02012026/01/16/image_02012026_01_17_05_10596.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_15_9912.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_25_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/16/image_02012026_01_16_15_9634.jpg
/home/pi/Desktop/images/02012026/01/16/image_02012026_01_16_25_10366.jpg
/home/pi/Desktop/images/02012026/01/16/image_02012026_01_16_35_9891.jpg
/home/pi/Desktop/images/02012026/01/16/image_02012026_01_17_05_10596.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_15_9912.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_25_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":["1402090676","1402090670","1402090673","1402090672","1402090669","1402090674"],"photo_ids_order":["1402090669","1402090670","1402090672","1402090673","1402090674","1402090676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fed236d56858a121a33e902f64724b20.jpg","text":"TemporaryFile(/tmp/multipartBody7740561298715659955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314883915,"filename":"image_02012026_01_17_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/2/e65ebe3b433f59c31b12432029467ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4938953467606402074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314883915,"filename":"image_02012026_01_16_25_10366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12455ff7cf868bd9682cae3e49aa4ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3838471626035541673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314883915,"filename":"image_02012026_01_17_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/2/bd7e41d28a6c19e4fba869319103275e.jpg","text":"TemporaryFile(/tmp/multipartBody832142786567967916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314883915,"filename":"image_02012026_01_16_35_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/2/36e7703323d15cf2163a38d17e79859a.jpg","text":"TemporaryFile(/tmp/multipartBody5292541848841658588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314883915,"filename":"image_02012026_01_16_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/2/c9183d1647d5b1f02eb23e830de52e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3651235683047834754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314883915,"filename":"image_02012026_01_17_15_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090672","file1":"1402090670","file0":"1402090669","file4":"1402090674","file5":"1402090676","file3":"1402090673"},"map_files_photo_id_array":[{"photo_id":"1402090676","filename":"file5"},{"photo_id":"1402090672","filename":"file2"},{"photo_id":"1402090674","filename":"file4"},{"photo_id":"1402090670","filename":"file1"},{"photo_id":"1402090669","filename":"file0"},{"photo_id":"1402090673","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090676":["hashtag1","hashtag2"]},{"1402090670":["hashtag1","hashtag2"]},{"1402090673":["hashtag1","hashtag2"]},{"1402090672":["hashtag1","hashtag2"]},{"1402090669":["hashtag1","hashtag2"]},{"1402090674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090676, 1402090670, 1402090673, 1402090672, 1402090669, 1402090674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.954614877700806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:47:42.521564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_22_2668.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_25_2705.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_30_4592.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_38_3552.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_40_2626.jpg', '/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_47_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_22_2668.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_25_2705.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_30_4592.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_38_3552.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_40_2626.jpg
/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_47_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":["1402090688","1402090691","1402090685","1402090690","1402090687","1402090689"],"photo_ids_order":["1402090685","1402090687","1402090688","1402090689","1402090690","1402090691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80184e3a9788e9323762d62a0e499055.jpg","text":"TemporaryFile(/tmp/multipartBody1569756927651058985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314924334,"filename":"image_04112025_21_22_30_4592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfac4d1e69d2b116e5bfc50ae9d06383.jpg","text":"TemporaryFile(/tmp/multipartBody4626201187220769663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314924334,"filename":"image_04112025_21_22_47_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/2/738f148d4873c5769bff9fa7e0005010.jpg","text":"TemporaryFile(/tmp/multipartBody3134117622661786911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314924334,"filename":"image_04112025_21_22_22_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/2/5971746e70ce65c1524b63674bb0c245.jpg","text":"TemporaryFile(/tmp/multipartBody717354335527227994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314924334,"filename":"image_04112025_21_22_40_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/2/7b1c6ebc2f2e42ff3f301b0b80794776.jpg","text":"TemporaryFile(/tmp/multipartBody7795351762054643498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314924334,"filename":"image_04112025_21_22_25_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/2/dc6773ed95ab639f82c9c6de861f716a.jpg","text":"TemporaryFile(/tmp/multipartBody4892342524428115579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314924334,"filename":"image_04112025_21_22_38_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090688","file1":"1402090687","file0":"1402090685","file4":"1402090690","file5":"1402090691","file3":"1402090689"},"map_files_photo_id_array":[{"photo_id":"1402090691","filename":"file5"},{"photo_id":"1402090688","filename":"file2"},{"photo_id":"1402090690","filename":"file4"},{"photo_id":"1402090687","filename":"file1"},{"photo_id":"1402090685","filename":"file0"},{"photo_id":"1402090689","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090688":["hashtag1","hashtag2"]},{"1402090691":["hashtag1","hashtag2"]},{"1402090685":["hashtag1","hashtag2"]},{"1402090690":["hashtag1","hashtag2"]},{"1402090687":["hashtag1","hashtag2"]},{"1402090689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090688, 1402090691, 1402090685, 1402090690, 1402090687, 1402090689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.297609090805054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:48:22.675482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_35_10700.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_45_9780.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_55_9739.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_18_04_9674.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_15_10620.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_25_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_35_10700.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_45_9780.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_55_9739.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_18_04_9674.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_15_10620.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_25_9694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4887845516204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:48:32.708193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/22/image_04112025_21_22_57_10659.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_17_2901.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_20_2882.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_31_2623.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_35_3589.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_37_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/21/22/image_04112025_21_22_57_10659.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_17_2901.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_20_2882.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_31_2623.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_35_3589.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_37_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090701","1402090704","1402090707","1402090706","1402090708","1402090698"],"photo_ids_order":["1402090698","1402090701","1402090704","1402090706","1402090707","1402090708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/024b35ff2243cbca036881922b5cc3e1.jpg","text":"TemporaryFile(/tmp/multipartBody6685600722308407447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314974543,"filename":"image_04112025_21_23_17_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9800a06778188ff2f98aba9b6f261260.jpg","text":"TemporaryFile(/tmp/multipartBody5005866007632808622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314974543,"filename":"image_04112025_21_23_20_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d556186e552403c610f29f6356d0bae.jpg","text":"TemporaryFile(/tmp/multipartBody2376455050965114376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314974543,"filename":"image_04112025_21_23_35_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/2/c614b59d287ca9f1e25ef9dacbfbe961.jpg","text":"TemporaryFile(/tmp/multipartBody798531372746141268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314974543,"filename":"image_04112025_21_23_31_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/2/8d483641c4ba93ddc04d213992167558.jpg","text":"TemporaryFile(/tmp/multipartBody7806792702303497578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314974543,"filename":"image_04112025_21_23_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/2/10d543be38098d6a922d392e3d39a363.jpg","text":"TemporaryFile(/tmp/multipartBody3737731696130145877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767314974543,"filename":"image_04112025_21_22_57_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090704","file1":"1402090701","file0":"1402090698","file4":"1402090707","file5":"1402090708","file3":"1402090706"},"map_files_photo_id_array":[{"photo_id":"1402090708","filename":"file5"},{"photo_id":"1402090704","filename":"file2"},{"photo_id":"1402090707","filename":"file4"},{"photo_id":"1402090701","filename":"file1"},{"photo_id":"1402090698","filename":"file0"},{"photo_id":"1402090706","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090701":["hashtag1","hashtag2"]},{"1402090704":["hashtag1","hashtag2"]},{"1402090707":["hashtag1","hashtag2"]},{"1402090706":["hashtag1","hashtag2"]},{"1402090708":["hashtag1","hashtag2"]},{"1402090698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090701, 1402090704, 1402090707, 1402090706, 1402090708, 1402090698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76973509788513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:49:11.876785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_44_3666.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_49_2670.jpg', '/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_59_3585.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_04_2635.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_07_2976.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_13_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/21/23/image_04112025_21_23_44_3666.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_49_2670.jpg
/home/pi/Desktop/images/04112025/21/23/image_04112025_21_23_59_3585.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_04_2635.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_07_2976.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_13_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":["1402090716","1402090712","1402090709","1402090718","1402090711","1402090714"],"photo_ids_order":["1402090709","1402090711","1402090712","1402090714","1402090716","1402090718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e7ab7ae4ff6461631586428f6bff1ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4936087186679178583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315013580,"filename":"image_04112025_21_24_07_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f27a2767880f2f16dfd54054a90a170e.jpg","text":"TemporaryFile(/tmp/multipartBody6987458828594060116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315013580,"filename":"image_04112025_21_23_59_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/2/a8716fe4cd04f59131e0d0c82082034a.jpg","text":"TemporaryFile(/tmp/multipartBody3139331712322336525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315013580,"filename":"image_04112025_21_23_44_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/2/f7069dbae46ba8e8627a19cae5674c00.jpg","text":"TemporaryFile(/tmp/multipartBody3676727915174960840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315013580,"filename":"image_04112025_21_24_13_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/2/a215afe6845300cf13fe21e04b6849c6.jpg","text":"TemporaryFile(/tmp/multipartBody4847566777145268225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315013580,"filename":"image_04112025_21_23_49_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/2/1a848619326929c2a35c3891a60b6849.jpg","text":"TemporaryFile(/tmp/multipartBody168176666936854874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315013580,"filename":"image_04112025_21_24_04_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090712","file1":"1402090711","file0":"1402090709","file4":"1402090716","file5":"1402090718","file3":"1402090714"},"map_files_photo_id_array":[{"photo_id":"1402090718","filename":"file5"},{"photo_id":"1402090712","filename":"file2"},{"photo_id":"1402090716","filename":"file4"},{"photo_id":"1402090711","filename":"file1"},{"photo_id":"1402090709","filename":"file0"},{"photo_id":"1402090714","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090716":["hashtag1","hashtag2"]},{"1402090712":["hashtag1","hashtag2"]},{"1402090709":["hashtag1","hashtag2"]},{"1402090718":["hashtag1","hashtag2"]},{"1402090711":["hashtag1","hashtag2"]},{"1402090714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090716, 1402090712, 1402090709, 1402090718, 1402090711, 1402090714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24152088165283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:50:02.529478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_35_10700.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_45_9780.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_55_9739.jpg', '/home/pi/Desktop/images/02012026/01/17/image_02012026_01_18_04_9674.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_15_10620.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_25_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_35_10700.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_45_9780.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_17_55_9739.jpg
/home/pi/Desktop/images/02012026/01/17/image_02012026_01_18_04_9674.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_15_10620.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_25_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":["1402090722","1402090725","1402090727","1402090724","1402090723","1402090729"],"photo_ids_order":["1402090722","1402090723","1402090724","1402090725","1402090727","1402090729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b9374c9ff46f6b4e6d375cc6cfce3e3.jpg","text":"TemporaryFile(/tmp/multipartBody7935449709624709467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315063152,"filename":"image_02012026_01_17_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/2/2130e3bb5a6a879f91f70913ddda61dd.jpg","text":"TemporaryFile(/tmp/multipartBody4180307917438259261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315063152,"filename":"image_02012026_01_18_04_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/2/9dbee345c46b7b7f34c08c3be840abdd.jpg","text":"TemporaryFile(/tmp/multipartBody6604444712708938353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315063152,"filename":"image_02012026_01_18_15_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/2/f5daa31cbe56eedc975f24eccb96c942.jpg","text":"TemporaryFile(/tmp/multipartBody5666368509191437938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315063152,"filename":"image_02012026_01_17_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/2/c311663db5752da070fa7cc5986428ca.jpg","text":"TemporaryFile(/tmp/multipartBody75811247465051326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315063152,"filename":"image_02012026_01_17_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/2/27cd5a511e2e979f0d138ddddc6c6fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2908442607384314586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315063152,"filename":"image_02012026_01_18_25_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090724","file1":"1402090723","file0":"1402090722","file4":"1402090727","file5":"1402090729","file3":"1402090725"},"map_files_photo_id_array":[{"photo_id":"1402090729","filename":"file5"},{"photo_id":"1402090724","filename":"file2"},{"photo_id":"1402090727","filename":"file4"},{"photo_id":"1402090723","filename":"file1"},{"photo_id":"1402090722","filename":"file0"},{"photo_id":"1402090725","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090722":["hashtag1","hashtag2"]},{"1402090725":["hashtag1","hashtag2"]},{"1402090727":["hashtag1","hashtag2"]},{"1402090724":["hashtag1","hashtag2"]},{"1402090723":["hashtag1","hashtag2"]},{"1402090729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090722, 1402090725, 1402090727, 1402090724, 1402090723, 1402090729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14621686935425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:50:42.065477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_19_1667.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_25_2613.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_34_2803.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_52_2559.jpg', '/home/pi/Desktop/images/04112025/21/24/image_04112025_21_25_01_3610.jpg', '/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_09_4499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_19_1667.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_25_2613.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_34_2803.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_24_52_2559.jpg
/home/pi/Desktop/images/04112025/21/24/image_04112025_21_25_01_3610.jpg
/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_09_4499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090743","1402090745","1402090739","1402090742","1402090741","1402090744"],"photo_ids_order":["1402090739","1402090741","1402090742","1402090743","1402090744","1402090745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2eb254d5694367c7506ebc6b89922dc.jpg","text":"TemporaryFile(/tmp/multipartBody280676378735850685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315103935,"filename":"image_04112025_21_24_52_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/2/a77d4c3421adc699a07ea4772ddd6e7e.jpg","text":"TemporaryFile(/tmp/multipartBody6637701749855756601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315103935,"filename":"image_04112025_21_25_09_4499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2fb7c8ce34724b29273b7663bd620c00.jpg","text":"TemporaryFile(/tmp/multipartBody2816937190822448362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315103935,"filename":"image_04112025_21_24_19_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/2/ca1975a1eb1c3e319c3999abc60b73c9.jpg","text":"TemporaryFile(/tmp/multipartBody2371453405706185059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315103935,"filename":"image_04112025_21_24_34_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/2/8a35a27e94ccc04d5220b54708aa6efb.jpg","text":"TemporaryFile(/tmp/multipartBody5253699834418560948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315103935,"filename":"image_04112025_21_24_25_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/2/c0eab68403fb5e4c18b50ab9980c365e.jpg","text":"TemporaryFile(/tmp/multipartBody4307698793308290343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315103935,"filename":"image_04112025_21_25_01_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090742","file1":"1402090741","file0":"1402090739","file4":"1402090744","file5":"1402090745","file3":"1402090743"},"map_files_photo_id_array":[{"photo_id":"1402090745","filename":"file5"},{"photo_id":"1402090742","filename":"file2"},{"photo_id":"1402090744","filename":"file4"},{"photo_id":"1402090741","filename":"file1"},{"photo_id":"1402090739","filename":"file0"},{"photo_id":"1402090743","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090743":["hashtag1","hashtag2"]},{"1402090745":["hashtag1","hashtag2"]},{"1402090739":["hashtag1","hashtag2"]},{"1402090742":["hashtag1","hashtag2"]},{"1402090741":["hashtag1","hashtag2"]},{"1402090744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090743, 1402090745, 1402090739, 1402090742, 1402090741, 1402090744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92387890815735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:51:22.196941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_34_9743.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_45_10754.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_55_9722.jpg', '/home/pi/Desktop/images/02012026/01/18/image_02012026_01_19_05_9602.jpg', '/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_25_9666.jpg', '/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_35_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_34_9743.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_45_10754.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_18_55_9722.jpg
/home/pi/Desktop/images/02012026/01/18/image_02012026_01_19_05_9602.jpg
/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_25_9666.jpg
/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_35_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090754","1402090748","1402090756","1402090750","1402090747","1402090752"],"photo_ids_order":["1402090747","1402090748","1402090750","1402090752","1402090754","1402090756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f28b1a1fe08612b040c9a6a0d8f9980c.jpg","text":"TemporaryFile(/tmp/multipartBody4335420751397824668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315142787,"filename":"image_02012026_01_19_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/2/263b837fe10d0bcb22768742084b03a3.jpg","text":"TemporaryFile(/tmp/multipartBody5035409321489993983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315142787,"filename":"image_02012026_01_18_45_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/2/a4172c1b49a8172e7c45e87534410912.jpg","text":"TemporaryFile(/tmp/multipartBody262190567037111827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315142787,"filename":"image_02012026_01_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/2/a58d4ef071131e1593a91752cf6e1cef.jpg","text":"TemporaryFile(/tmp/multipartBody7056745573268565041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315142787,"filename":"image_02012026_01_18_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/2/40bc0ad2bb538f71f196518cc8fbf5c7.jpg","text":"TemporaryFile(/tmp/multipartBody844770936698663779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315142787,"filename":"image_02012026_01_18_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/2/b90e3db3e063eb313f9b831c641d4f12.jpg","text":"TemporaryFile(/tmp/multipartBody8746433135543396818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315142787,"filename":"image_02012026_01_19_05_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090750","file1":"1402090748","file0":"1402090747","file4":"1402090754","file5":"1402090756","file3":"1402090752"},"map_files_photo_id_array":[{"photo_id":"1402090756","filename":"file5"},{"photo_id":"1402090750","filename":"file2"},{"photo_id":"1402090754","filename":"file4"},{"photo_id":"1402090748","filename":"file1"},{"photo_id":"1402090747","filename":"file0"},{"photo_id":"1402090752","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090754":["hashtag1","hashtag2"]},{"1402090748":["hashtag1","hashtag2"]},{"1402090756":["hashtag1","hashtag2"]},{"1402090750":["hashtag1","hashtag2"]},{"1402090747":["hashtag1","hashtag2"]},{"1402090752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090754, 1402090748, 1402090756, 1402090750, 1402090747, 1402090752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.377028465270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:52:02.813626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_44_9793.jpg', '/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_55_10663.jpg', '/home/pi/Desktop/images/02012026/01/19/image_02012026_01_20_05_9620.jpg', '/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_14_9698.jpg', '/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_25_10640.jpg', '/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_35_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_44_9793.jpg
/home/pi/Desktop/images/02012026/01/19/image_02012026_01_19_55_10663.jpg
/home/pi/Desktop/images/02012026/01/19/image_02012026_01_20_05_9620.jpg
/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_14_9698.jpg
/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_25_10640.jpg
/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_35_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090761","1402090758","1402090760","1402090762","1402090759","1402090764"],"photo_ids_order":["1402090758","1402090759","1402090760","1402090761","1402090762","1402090764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3c1f44686eb1db4279da2381c0357bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7635904637841914611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315183435,"filename":"image_02012026_01_20_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/2/b7521bec10bda5f047d7ad0ba579393d.jpg","text":"TemporaryFile(/tmp/multipartBody8317672161727034222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315183435,"filename":"image_02012026_01_19_44_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/2/a32f6038ee6f4dc6cce1fb342a0bbfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1871105743178786125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315183435,"filename":"image_02012026_01_20_05_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/2/0e0f8efbfb56fa9d96ae0881af63cbb5.jpg","text":"TemporaryFile(/tmp/multipartBody3001421326548938423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315183435,"filename":"image_02012026_01_20_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/2/817bf773ef2be1edaa7985fe9f97d454.jpg","text":"TemporaryFile(/tmp/multipartBody3529395532544264233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315183435,"filename":"image_02012026_01_19_55_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/2/b734defb0cdadbd32f57bea7bc189eb9.jpg","text":"TemporaryFile(/tmp/multipartBody4970708645903372913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315183435,"filename":"image_02012026_01_20_35_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090760","file1":"1402090759","file0":"1402090758","file4":"1402090762","file5":"1402090764","file3":"1402090761"},"map_files_photo_id_array":[{"photo_id":"1402090764","filename":"file5"},{"photo_id":"1402090760","filename":"file2"},{"photo_id":"1402090762","filename":"file4"},{"photo_id":"1402090759","filename":"file1"},{"photo_id":"1402090758","filename":"file0"},{"photo_id":"1402090761","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090761":["hashtag1","hashtag2"]},{"1402090758":["hashtag1","hashtag2"]},{"1402090760":["hashtag1","hashtag2"]},{"1402090762":["hashtag1","hashtag2"]},{"1402090759":["hashtag1","hashtag2"]},{"1402090764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090761, 1402090758, 1402090760, 1402090762, 1402090759, 1402090764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13931202888489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:52:42.492207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_10_1740.jpg', '/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_13_2634.jpg', '/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_45_1743.jpg', '/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_54_1683.jpg', '/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_56_1828.jpg', '/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_04_6732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_10_1740.jpg
/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_13_2634.jpg
/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_45_1743.jpg
/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_54_1683.jpg
/home/pi/Desktop/images/04112025/21/25/image_04112025_21_25_56_1828.jpg
/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_04_6732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090769","1402090772","1402090771","1402090774","1402090770","1402090773"],"photo_ids_order":["1402090769","1402090770","1402090771","1402090772","1402090773","1402090774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99da04ea3040d2f41f2db0db6541870d.jpg","text":"TemporaryFile(/tmp/multipartBody2579924808861807770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315224325,"filename":"image_04112025_21_25_10_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/2/4b318dff35438acac70303df61001979.jpg","text":"TemporaryFile(/tmp/multipartBody551744905229980777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315224325,"filename":"image_04112025_21_25_54_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/2/d0e6d7af8d21b681d4aa931708b974db.jpg","text":"TemporaryFile(/tmp/multipartBody8997085535835070355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315224325,"filename":"image_04112025_21_25_45_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/2/6e7ab8ddc871caa27792942b599da2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6889292825233982016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315224325,"filename":"image_04112025_21_26_04_6732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c81e85906db4579568502d78f2f3d25b.jpg","text":"TemporaryFile(/tmp/multipartBody3158321508323041427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315224325,"filename":"image_04112025_21_25_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/2/c1a4b7595cc302ae4fb7d3ff3d0d71d4.jpg","text":"TemporaryFile(/tmp/multipartBody1329490843366510427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315224325,"filename":"image_04112025_21_25_56_1828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090771","file1":"1402090770","file0":"1402090769","file4":"1402090773","file5":"1402090774","file3":"1402090772"},"map_files_photo_id_array":[{"photo_id":"1402090774","filename":"file5"},{"photo_id":"1402090771","filename":"file2"},{"photo_id":"1402090773","filename":"file4"},{"photo_id":"1402090770","filename":"file1"},{"photo_id":"1402090769","filename":"file0"},{"photo_id":"1402090772","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090769":["hashtag1","hashtag2"]},{"1402090772":["hashtag1","hashtag2"]},{"1402090771":["hashtag1","hashtag2"]},{"1402090774":["hashtag1","hashtag2"]},{"1402090770":["hashtag1","hashtag2"]},{"1402090773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090769, 1402090772, 1402090771, 1402090774, 1402090770, 1402090773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36216115951538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:53:22.689958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_45_9722.jpg', '/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_55_10529.jpg', '/home/pi/Desktop/images/02012026/01/20/image_02012026_01_21_05_9795.jpg', '/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_15_9714.jpg', '/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_24_9786.jpg', '/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_35_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_45_9722.jpg
/home/pi/Desktop/images/02012026/01/20/image_02012026_01_20_55_10529.jpg
/home/pi/Desktop/images/02012026/01/20/image_02012026_01_21_05_9795.jpg
/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_15_9714.jpg
/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_24_9786.jpg
/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_35_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090776","1402090781","1402090784","1402090778","1402090789","1402090780"],"photo_ids_order":["1402090776","1402090778","1402090780","1402090781","1402090784","1402090789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1b8b6cec20cc5456f644882b6fe2f835.jpg","text":"TemporaryFile(/tmp/multipartBody8675271812474531988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315263291,"filename":"image_02012026_01_20_45_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/2/52a9b317ca0019961096707361e07682.jpg","text":"TemporaryFile(/tmp/multipartBody8635863119490866824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315263291,"filename":"image_02012026_01_21_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/2/9516e1d162b69693dd5926a77e6bbe02.jpg","text":"TemporaryFile(/tmp/multipartBody3710693916910613435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315263291,"filename":"image_02012026_01_21_24_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/2/908dd444e8562ac7eeb28d7aa9c8a1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8440819699085475382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315263291,"filename":"image_02012026_01_20_55_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/35f5b21da84b708c544ca81721743938.jpg","text":"TemporaryFile(/tmp/multipartBody272146489153348131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315263291,"filename":"image_02012026_01_21_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/2/f4983af293fd8aea1293899ee0a28a44.jpg","text":"TemporaryFile(/tmp/multipartBody63584258281313724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315263291,"filename":"image_02012026_01_21_05_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090780","file1":"1402090778","file0":"1402090776","file4":"1402090784","file5":"1402090789","file3":"1402090781"},"map_files_photo_id_array":[{"photo_id":"1402090789","filename":"file5"},{"photo_id":"1402090780","filename":"file2"},{"photo_id":"1402090784","filename":"file4"},{"photo_id":"1402090778","filename":"file1"},{"photo_id":"1402090776","filename":"file0"},{"photo_id":"1402090781","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090776":["hashtag1","hashtag2"]},{"1402090781":["hashtag1","hashtag2"]},{"1402090784":["hashtag1","hashtag2"]},{"1402090778":["hashtag1","hashtag2"]},{"1402090789":["hashtag1","hashtag2"]},{"1402090780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090776, 1402090781, 1402090784, 1402090778, 1402090789, 1402090780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.889042139053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:54:02.635545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_45_9710.jpg', '/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_54_9729.jpg', '/home/pi/Desktop/images/02012026/01/21/image_02012026_01_22_05_10643.jpg', '/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_15_9599.jpg', '/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_24_9712.jpg', '/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_34_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_45_9710.jpg
/home/pi/Desktop/images/02012026/01/21/image_02012026_01_21_54_9729.jpg
/home/pi/Desktop/images/02012026/01/21/image_02012026_01_22_05_10643.jpg
/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_15_9599.jpg
/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_24_9712.jpg
/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_34_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":["1402090793","1402090796","1402090790","1402090792","1402090791","1402090794"],"photo_ids_order":["1402090790","1402090791","1402090792","1402090793","1402090794","1402090796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6c37756eca4cbb5f3bd8f2b62bc31c66.jpg","text":"TemporaryFile(/tmp/multipartBody870927645485338562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315303298,"filename":"image_02012026_01_22_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/2/ecc221a7f412e8b3a42145f584ce4240.jpg","text":"TemporaryFile(/tmp/multipartBody6018386723583003132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315303298,"filename":"image_02012026_01_22_34_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/2/d5221b99ea161b8feec026a73abe90b7.jpg","text":"TemporaryFile(/tmp/multipartBody450926385014801002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315303298,"filename":"image_02012026_01_21_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/2/d72fe56a860dbcdf715288cc366e8b40.jpg","text":"TemporaryFile(/tmp/multipartBody3088376092429388503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315303298,"filename":"image_02012026_01_22_05_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/2/dbc9bbf1c9566c150aa55e46c6168054.jpg","text":"TemporaryFile(/tmp/multipartBody5197380527428611843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315303298,"filename":"image_02012026_01_21_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/2/2b4204e686ce9f4a5de2b4fdea33e745.jpg","text":"TemporaryFile(/tmp/multipartBody5898854159344185584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315303298,"filename":"image_02012026_01_22_24_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090792","file1":"1402090791","file0":"1402090790","file4":"1402090794","file5":"1402090796","file3":"1402090793"},"map_files_photo_id_array":[{"photo_id":"1402090796","filename":"file5"},{"photo_id":"1402090792","filename":"file2"},{"photo_id":"1402090794","filename":"file4"},{"photo_id":"1402090791","filename":"file1"},{"photo_id":"1402090790","filename":"file0"},{"photo_id":"1402090793","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090793":["hashtag1","hashtag2"]},{"1402090796":["hashtag1","hashtag2"]},{"1402090790":["hashtag1","hashtag2"]},{"1402090792":["hashtag1","hashtag2"]},{"1402090791":["hashtag1","hashtag2"]},{"1402090794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090793, 1402090796, 1402090790, 1402090792, 1402090791, 1402090794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40468168258667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:54:42.106742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_06_1607.jpg', '/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_07_1735.jpg', '/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_18_1921.jpg', '/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_19_1623.jpg', '/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_23_1825.jpg', '/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_36_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/21/26/image_04112025_21_26_06_1607.jpg
/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_07_1735.jpg
/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_18_1921.jpg
/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_19_1623.jpg
/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_23_1825.jpg
/home/pi/Desktop/images/04112025/21/26/image_04112025_21_26_36_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":["1402090803","1402090806","1402090805","1402090804","1402090807","1402090801"],"photo_ids_order":["1402090801","1402090803","1402090804","1402090805","1402090806","1402090807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4a4b30600a8ad18899ffcafb8c8958c9.jpg","text":"TemporaryFile(/tmp/multipartBody3476773820646040645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315343959,"filename":"image_04112025_21_26_07_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/2/48d3f0318942674cb0a977d344eb5c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4333821196680495205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315343959,"filename":"image_04112025_21_26_23_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ebfe1b44664b79902be82e4ad6a34ab9.jpg","text":"TemporaryFile(/tmp/multipartBody6261140126784924377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315343959,"filename":"image_04112025_21_26_19_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/2/9c54826b43d0e5ff6a9f058d65154f54.jpg","text":"TemporaryFile(/tmp/multipartBody1559019364514006036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315343959,"filename":"image_04112025_21_26_18_1921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b7c6744311f69ea15035d0d7ad2f27d6.jpg","text":"TemporaryFile(/tmp/multipartBody2276634422059978113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315343959,"filename":"image_04112025_21_26_36_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/2/ca4627d8fb76bed9b795e5cda7388012.jpg","text":"TemporaryFile(/tmp/multipartBody1863304425342848936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315343959,"filename":"image_04112025_21_26_06_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090804","file1":"1402090803","file0":"1402090801","file4":"1402090806","file5":"1402090807","file3":"1402090805"},"map_files_photo_id_array":[{"photo_id":"1402090807","filename":"file5"},{"photo_id":"1402090804","filename":"file2"},{"photo_id":"1402090806","filename":"file4"},{"photo_id":"1402090803","filename":"file1"},{"photo_id":"1402090801","filename":"file0"},{"photo_id":"1402090805","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090803":["hashtag1","hashtag2"]},{"1402090806":["hashtag1","hashtag2"]},{"1402090805":["hashtag1","hashtag2"]},{"1402090804":["hashtag1","hashtag2"]},{"1402090807":["hashtag1","hashtag2"]},{"1402090801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090803, 1402090806, 1402090805, 1402090804, 1402090807, 1402090801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0133376121521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:55:22.272360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_45_10655.jpg', '/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_55_9707.jpg', '/home/pi/Desktop/images/02012026/01/22/image_02012026_01_23_04_9780.jpg', '/home/pi/Desktop/images/02012026/01/23/image_02012026_01_23_25_9648.jpg', '/home/pi/Desktop/images/02012026/01/23/image_02012026_01_23_34_9626.jpg', '/home/pi/Desktop/images/02012026/01/23/image_02012026_01_23_55_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_45_10655.jpg
/home/pi/Desktop/images/02012026/01/22/image_02012026_01_22_55_9707.jpg
/home/pi/Desktop/images/02012026/01/22/image_02012026_01_23_04_9780.jpg
/home/pi/Desktop/images/02012026/01/23/image_02012026_01_23_25_9648.jpg
/home/pi/Desktop/images/02012026/01/23/image_02012026_01_23_34_9626.jpg
/home/pi/Desktop/images/02012026/01/23/image_02012026_01_23_55_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":["1402090818","1402090812","1402090814","1402090808","1402090816","1402090810"],"photo_ids_order":["1402090808","1402090810","1402090812","1402090814","1402090816","1402090818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54e6c266e39b888f7adcaebee7316142.jpg","text":"TemporaryFile(/tmp/multipartBody4151023638550559247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315382860,"filename":"image_02012026_01_23_55_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/2/39dd4d24c70b853b0e873c7bb96a3ad6.jpg","text":"TemporaryFile(/tmp/multipartBody973063275620882277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315382860,"filename":"image_02012026_01_23_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/2/f8e701dc2875b3677b97aaf6dc522776.jpg","text":"TemporaryFile(/tmp/multipartBody5397990378509202194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315382860,"filename":"image_02012026_01_23_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/2/1f8cc1599e22ff6a8add3f1417e67c36.jpg","text":"TemporaryFile(/tmp/multipartBody7490185764992096095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315382860,"filename":"image_02012026_01_22_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/2/1ac1bda3faa585d156bfa10e671c697a.jpg","text":"TemporaryFile(/tmp/multipartBody5911761821601092440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315382860,"filename":"image_02012026_01_23_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/2/21217378f73b80ef3fc528ecacf93d41.jpg","text":"TemporaryFile(/tmp/multipartBody7437506494196954864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315382860,"filename":"image_02012026_01_22_55_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090812","file1":"1402090810","file0":"1402090808","file4":"1402090816","file5":"1402090818","file3":"1402090814"},"map_files_photo_id_array":[{"photo_id":"1402090818","filename":"file5"},{"photo_id":"1402090812","filename":"file2"},{"photo_id":"1402090816","filename":"file4"},{"photo_id":"1402090810","filename":"file1"},{"photo_id":"1402090808","filename":"file0"},{"photo_id":"1402090814","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090818":["hashtag1","hashtag2"]},{"1402090812":["hashtag1","hashtag2"]},{"1402090814":["hashtag1","hashtag2"]},{"1402090808":["hashtag1","hashtag2"]},{"1402090816":["hashtag1","hashtag2"]},{"1402090810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090818, 1402090812, 1402090814, 1402090808, 1402090816, 1402090810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80376362800598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:56:02.904868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/23/image_02012026_01_24_04_9641.jpg', '/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_15_10741.jpg', '/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_25_9582.jpg', '/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_34_9693.jpg', '/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_45_10834.jpg', '/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_55_9533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/23/image_02012026_01_24_04_9641.jpg
/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_15_10741.jpg
/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_25_9582.jpg
/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_34_9693.jpg
/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_45_10834.jpg
/home/pi/Desktop/images/02012026/01/24/image_02012026_01_24_55_9533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090827","1402090824","1402090820","1402090823","1402090822","1402090825"],"photo_ids_order":["1402090820","1402090822","1402090823","1402090824","1402090825","1402090827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba625e6f0630c0e94800eecb9f1e9020.jpg","text":"TemporaryFile(/tmp/multipartBody7860112085436914533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315423547,"filename":"image_02012026_01_24_55_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/2/7c5e16bc7db27d8725ad89d7d94a413d.jpg","text":"TemporaryFile(/tmp/multipartBody8120753582721769590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315423547,"filename":"image_02012026_01_24_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/2/1fc01d7b4dafc4a8680f00c965ae3941.jpg","text":"TemporaryFile(/tmp/multipartBody3884571550283261005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315423547,"filename":"image_02012026_01_24_04_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/2/55dea4a8b7b2c93f35f860c0e7617f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2229612219095339456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315423547,"filename":"image_02012026_01_24_25_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/2/4409c4af9ab4acd53f08c55aae9c3748.jpg","text":"TemporaryFile(/tmp/multipartBody7029413094485732480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315423547,"filename":"image_02012026_01_24_15_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/2/f08f21663be445ca12fcc033583353cf.jpg","text":"TemporaryFile(/tmp/multipartBody3911847438476661881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315423547,"filename":"image_02012026_01_24_45_10834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090823","file1":"1402090822","file0":"1402090820","file4":"1402090825","file5":"1402090827","file3":"1402090824"},"map_files_photo_id_array":[{"photo_id":"1402090827","filename":"file5"},{"photo_id":"1402090823","filename":"file2"},{"photo_id":"1402090825","filename":"file4"},{"photo_id":"1402090822","filename":"file1"},{"photo_id":"1402090820","filename":"file0"},{"photo_id":"1402090824","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090827":["hashtag1","hashtag2"]},{"1402090824":["hashtag1","hashtag2"]},{"1402090820":["hashtag1","hashtag2"]},{"1402090823":["hashtag1","hashtag2"]},{"1402090822":["hashtag1","hashtag2"]},{"1402090825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090827, 1402090824, 1402090820, 1402090823, 1402090822, 1402090825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.757734060287476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:56:42.551863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/26/image_04112025_21_27_00_11737.jpg', '/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_28_1838.jpg', '/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_35_3238.jpg', '/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_38_1839.jpg', '/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_51_1725.jpg', '/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_54_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/21/26/image_04112025_21_27_00_11737.jpg
/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_28_1838.jpg
/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_35_3238.jpg
/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_38_1839.jpg
/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_51_1725.jpg
/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_54_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":["1402090833","1402090836","1402090839","1402090838","1402090835","1402090837"],"photo_ids_order":["1402090833","1402090835","1402090836","1402090837","1402090838","1402090839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9313e09f7478c37526ffadeb3b70453a.jpg","text":"TemporaryFile(/tmp/multipartBody7357381092952296500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315464376,"filename":"image_04112025_21_27_00_11737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3cc7d75436a9583906ff119e09440916.jpg","text":"TemporaryFile(/tmp/multipartBody2620944958299966600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315464376,"filename":"image_04112025_21_27_35_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/265b1e49e07d0d051dd841d9806394ba.jpg","text":"TemporaryFile(/tmp/multipartBody463525196787572049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315464376,"filename":"image_04112025_21_27_54_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/2/7eba00287fba6734936818ddadbe2a59.jpg","text":"TemporaryFile(/tmp/multipartBody822754197808243816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315464376,"filename":"image_04112025_21_27_51_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/2/faac26634d47637990ca805e21724718.jpg","text":"TemporaryFile(/tmp/multipartBody7830245858913371149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315464376,"filename":"image_04112025_21_27_28_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/2/390734fd17e1cf7541eca9041ce7058e.jpg","text":"TemporaryFile(/tmp/multipartBody6951781288617719740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315464376,"filename":"image_04112025_21_27_38_1839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090836","file1":"1402090835","file0":"1402090833","file4":"1402090838","file5":"1402090839","file3":"1402090837"},"map_files_photo_id_array":[{"photo_id":"1402090839","filename":"file5"},{"photo_id":"1402090836","filename":"file2"},{"photo_id":"1402090838","filename":"file4"},{"photo_id":"1402090835","filename":"file1"},{"photo_id":"1402090833","filename":"file0"},{"photo_id":"1402090837","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402090833":["hashtag1","hashtag2"]},{"1402090836":["hashtag1","hashtag2"]},{"1402090839":["hashtag1","hashtag2"]},{"1402090838":["hashtag1","hashtag2"]},{"1402090835":["hashtag1","hashtag2"]},{"1402090837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402090833, 1402090836, 1402090839, 1402090838, 1402090835, 1402090837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45501899719238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 01:57:22.640403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/24/image_02012026_01_25_05_9746.jpg', '/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_15_10590.jpg', '/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_25_9652.jpg', '/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_34_9744.jpg', '/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_45_10537.jpg', '/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_55_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/24/image_02012026_01_25_05_9746.jpg
/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_15_10590.jpg
/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_25_9652.jpg
/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_34_9744.jpg
/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_45_10537.jpg
/home/pi/Desktop/images/02012026/01/25/image_02012026_01_25_55_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402090898","1402090847","1402090861","1402090840","1402090843","1402090845"],"photo_ids_order":["1402090840","1402090843","1402090845","1402090847","1402090861","1402090898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e069aff71b337d2d027fd49530393b8b.jpg","text":"TemporaryFile(/tmp/multipartBody7090846796896389709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315503232,"filename":"image_02012026_01_25_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/2/af1f6f2d2f54ae86cc15c5ef52773f14.jpg","text":"TemporaryFile(/tmp/multipartBody8538020913334794586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315503232,"filename":"image_02012026_01_25_34_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/2/803fc190a914d391ea1688f32a431eee.jpg","text":"TemporaryFile(/tmp/multipartBody2228117927696152395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315503232,"filename":"image_02012026_01_25_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/2/285394edfcd702df31e72429bbf92c0e.jpg","text":"TemporaryFile(/tmp/multipartBody563402816292819293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315503232,"filename":"image_02012026_01_25_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/2/540a009cdb994e1e2a8539942c8b07e3.jpg","text":"TemporaryFile(/tmp/multipartBody8018546521171402921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315503232,"filename":"image_02012026_01_25_15_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/2/12b9de333ea22f58cb3a8c486a042290.jpg","text":"TemporaryFile(/tmp/multipartBody4360170133295711081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315503232,"filename":"image_02012026_01_25_25_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402090845","file1":"1402090843","file0":"1402090840","file4":"1402090861","file5":"1402090898","file3":"1402090847"},"map_files_photo_id_array":[{"photo_id":"1402090898","filename":"file5"},{"photo_id":"1402090845","filename":"file2"},{"photo_id":"1402090861","filename":"file4"},{"photo_id":"1402090843","filename":"file1"},{"photo_id":"1402090840","filename":"file0"},{"photo_id":"1402090847","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402090898":["hashtag1","hashtag2"]},{"1402090847":["hashtag1","hashtag2"]},{"1402090861":["hashtag1","hashtag2"]},{"1402090840":["hashtag1","hashtag2"]},{"1402090843":["hashtag1","hashtag2"]},{"1402090845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402090898, 1402090847, 1402090861, 1402090840, 1402090843, 1402090845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.353965759277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 01:59:02.853358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/25/image_02012026_01_26_04_9786.jpg', '/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_15_10619.jpg', '/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_25_9792.jpg', '/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_35_9730.jpg', '/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_45_10627.jpg', '/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/25/image_02012026_01_26_04_9786.jpg
/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_15_10619.jpg
/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_25_9792.jpg
/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_35_9730.jpg
/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_45_10627.jpg
/home/pi/Desktop/images/02012026/01/26/image_02012026_01_26_55_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402091396","1402091486","1402091420","1402091461","1402091394","1402091469"],"photo_ids_order":["1402091394","1402091396","1402091420","1402091461","1402091469","1402091486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/732574cdbee50d25d6a9c44a3b2dc049.jpg","text":"TemporaryFile(/tmp/multipartBody1429549087034954238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315603708,"filename":"image_02012026_01_26_15_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/2/f3e69ba1b8d7b55e8d0dc3d29b4a1569.jpg","text":"TemporaryFile(/tmp/multipartBody3335088136050048762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315603708,"filename":"image_02012026_01_26_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/2/2ebe7e74136d47d696dad65e732844d8.jpg","text":"TemporaryFile(/tmp/multipartBody758773036736037105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315603708,"filename":"image_02012026_01_26_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/2/7b1142d38f45e9ca9f8a08cb7728f827.jpg","text":"TemporaryFile(/tmp/multipartBody7901115770440733470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315603708,"filename":"image_02012026_01_26_35_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/2/9bb3fc9b66f497928e4dd7d0a83b92ab.jpg","text":"TemporaryFile(/tmp/multipartBody2129021335369828872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315603708,"filename":"image_02012026_01_26_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/2/4991fd7dfb0a15de7296330a6089346e.jpg","text":"TemporaryFile(/tmp/multipartBody8191701628716238121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315603708,"filename":"image_02012026_01_26_45_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402091420","file1":"1402091396","file0":"1402091394","file4":"1402091469","file5":"1402091486","file3":"1402091461"},"map_files_photo_id_array":[{"photo_id":"1402091486","filename":"file5"},{"photo_id":"1402091420","filename":"file2"},{"photo_id":"1402091469","filename":"file4"},{"photo_id":"1402091396","filename":"file1"},{"photo_id":"1402091394","filename":"file0"},{"photo_id":"1402091461","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402091396":["hashtag1","hashtag2"]},{"1402091486":["hashtag1","hashtag2"]},{"1402091420":["hashtag1","hashtag2"]},{"1402091461":["hashtag1","hashtag2"]},{"1402091394":["hashtag1","hashtag2"]},{"1402091469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402091396, 1402091486, 1402091420, 1402091461, 1402091394, 1402091469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74398112297058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 01:59:42.160111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/27/image_04112025_21_27_59_4442.jpg', '/home/pi/Desktop/images/04112025/21/27/image_04112025_21_28_00_1666.jpg', '/home/pi/Desktop/images/04112025/21/28/image_04112025_21_28_15_14148.jpg', '/home/pi/Desktop/images/04112025/21/28/image_04112025_21_28_20_1574.jpg', '/home/pi/Desktop/images/04112025/21/28/image_04112025_21_28_41_12826.jpg', '/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_17_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/21/27/image_04112025_21_27_59_4442.jpg
/home/pi/Desktop/images/04112025/21/27/image_04112025_21_28_00_1666.jpg
/home/pi/Desktop/images/04112025/21/28/image_04112025_21_28_15_14148.jpg
/home/pi/Desktop/images/04112025/21/28/image_04112025_21_28_20_1574.jpg
/home/pi/Desktop/images/04112025/21/28/image_04112025_21_28_41_12826.jpg
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_17_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":["1402091537","1402091531","1402091533","1402091535","1402091529","1402091538"],"photo_ids_order":["1402091529","1402091531","1402091533","1402091535","1402091537","1402091538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12584ee55cf9abee315b48e00b902e66.jpg","text":"TemporaryFile(/tmp/multipartBody6018899055147056462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315643981,"filename":"image_04112025_21_28_41_12826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09b15cb9780d77dc469170e76447d987.jpg","text":"TemporaryFile(/tmp/multipartBody765950408446686555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315643981,"filename":"image_04112025_21_28_00_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/2/7fef474c230f1763b5a2d50d1b9353fc.jpg","text":"TemporaryFile(/tmp/multipartBody8011764827810613078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315643981,"filename":"image_04112025_21_28_15_14148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e66aae7382f24c4d8ca5c06ea6ce52f.jpg","text":"TemporaryFile(/tmp/multipartBody1841809575925382436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315643981,"filename":"image_04112025_21_28_20_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/2/3d0eaf2849a3e53d20bea288386f29b0.jpg","text":"TemporaryFile(/tmp/multipartBody2938922504815176531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315643981,"filename":"image_04112025_21_27_59_4442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f3fc6393509def9f46bbeb73d38f78f.jpg","text":"TemporaryFile(/tmp/multipartBody687678407763121365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315643981,"filename":"image_04112025_21_29_17_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402091533","file1":"1402091531","file0":"1402091529","file4":"1402091537","file5":"1402091538","file3":"1402091535"},"map_files_photo_id_array":[{"photo_id":"1402091538","filename":"file5"},{"photo_id":"1402091533","filename":"file2"},{"photo_id":"1402091537","filename":"file4"},{"photo_id":"1402091531","filename":"file1"},{"photo_id":"1402091529","filename":"file0"},{"photo_id":"1402091535","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402091537":["hashtag1","hashtag2"]},{"1402091531":["hashtag1","hashtag2"]},{"1402091533":["hashtag1","hashtag2"]},{"1402091535":["hashtag1","hashtag2"]},{"1402091529":["hashtag1","hashtag2"]},{"1402091538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402091537, 1402091531, 1402091533, 1402091535, 1402091529, 1402091538)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.4920597076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:00:32.399115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_31_14149.jpg', '/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_40_8859.jpg', '/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_41_1548.jpg', '/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_44_1634.jpg', '/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_46_1735.jpg', '/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_54_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_31_14149.jpg
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_40_8859.jpg
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_41_1548.jpg
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_44_1634.jpg
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_46_1735.jpg
/home/pi/Desktop/images/04112025/21/29/image_04112025_21_29_54_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402091759","1402091939","1402091903","1402091720","1402091859","1402091798"],"photo_ids_order":["1402091720","1402091759","1402091798","1402091859","1402091903","1402091939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bdf7e190912ec178aaa728e61034f834.jpg","text":"TemporaryFile(/tmp/multipartBody8134351714554514963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315694336,"filename":"image_04112025_21_29_40_8859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c35d0debc465610729e46c66a3a69bbb.jpg","text":"TemporaryFile(/tmp/multipartBody600900513370065031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315694336,"filename":"image_04112025_21_29_54_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/2/b24db2114da43409c261eca5d25a59f6.jpg","text":"TemporaryFile(/tmp/multipartBody8970253530031971358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315694336,"filename":"image_04112025_21_29_46_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/2/a8379bc18d35c23db0e036ffb1639c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3961576460370517832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315694336,"filename":"image_04112025_21_29_31_14149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7865828c2db2f3f19e350bed82948070.jpg","text":"TemporaryFile(/tmp/multipartBody2508277868354131750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315694336,"filename":"image_04112025_21_29_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/2/54ffb1027972a5829e9aa8a3486c4ffe.jpg","text":"TemporaryFile(/tmp/multipartBody369070492271852007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315694336,"filename":"image_04112025_21_29_41_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402091798","file1":"1402091759","file0":"1402091720","file4":"1402091903","file5":"1402091939","file3":"1402091859"},"map_files_photo_id_array":[{"photo_id":"1402091939","filename":"file5"},{"photo_id":"1402091798","filename":"file2"},{"photo_id":"1402091903","filename":"file4"},{"photo_id":"1402091759","filename":"file1"},{"photo_id":"1402091720","filename":"file0"},{"photo_id":"1402091859","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402091759":["hashtag1","hashtag2"]},{"1402091939":["hashtag1","hashtag2"]},{"1402091903":["hashtag1","hashtag2"]},{"1402091720":["hashtag1","hashtag2"]},{"1402091859":["hashtag1","hashtag2"]},{"1402091798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402091759, 1402091939, 1402091903, 1402091720, 1402091859, 1402091798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.342700481414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:01:22.560578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/26/image_02012026_01_27_05_9708.jpg', '/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_15_10680.jpg', '/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_25_9714.jpg', '/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_35_9665.jpg', '/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_45_10618.jpg', '/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_55_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/26/image_02012026_01_27_05_9708.jpg
/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_15_10680.jpg
/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_25_9714.jpg
/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_35_9665.jpg
/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_45_10618.jpg
/home/pi/Desktop/images/02012026/01/27/image_02012026_01_27_55_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402092155","1402092157","1402092151","1402092153","1402092159","1402092111"],"photo_ids_order":["1402092111","1402092151","1402092153","1402092155","1402092157","1402092159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55f469aad797abdd27dad379b865bde2.jpg","text":"TemporaryFile(/tmp/multipartBody2790312936659410987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315743168,"filename":"image_02012026_01_27_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/2/b301150c6101b0a055c4e01475eb72b0.jpg","text":"TemporaryFile(/tmp/multipartBody2313545175990139237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315743168,"filename":"image_02012026_01_27_45_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/2/53f264742e6b06185385be23acbe0c71.jpg","text":"TemporaryFile(/tmp/multipartBody8696911296057727292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315743168,"filename":"image_02012026_01_27_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/2/6b5527ba6141847609bdc4e60d11ea30.jpg","text":"TemporaryFile(/tmp/multipartBody4269186541304667222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315743168,"filename":"image_02012026_01_27_25_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/2/ca18bfe437f78324fdf01de9ec82a048.jpg","text":"TemporaryFile(/tmp/multipartBody7110550679086494832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315743168,"filename":"image_02012026_01_27_55_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/2/bd6afa40b8d7a491faa41ba805f58cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4358888732147421882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315743168,"filename":"image_02012026_01_27_05_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402092153","file1":"1402092151","file0":"1402092111","file4":"1402092157","file5":"1402092159","file3":"1402092155"},"map_files_photo_id_array":[{"photo_id":"1402092159","filename":"file5"},{"photo_id":"1402092153","filename":"file2"},{"photo_id":"1402092157","filename":"file4"},{"photo_id":"1402092151","filename":"file1"},{"photo_id":"1402092111","filename":"file0"},{"photo_id":"1402092155","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402092155":["hashtag1","hashtag2"]},{"1402092157":["hashtag1","hashtag2"]},{"1402092151":["hashtag1","hashtag2"]},{"1402092153":["hashtag1","hashtag2"]},{"1402092159":["hashtag1","hashtag2"]},{"1402092111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402092155, 1402092157, 1402092151, 1402092153, 1402092159, 1402092111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79138112068176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:02:03.219828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/27/image_02012026_01_28_04_9664.jpg', '/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_15_10661.jpg', '/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_25_9692.jpg', '/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_34_9706.jpg', '/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_45_10688.jpg', '/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_55_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/27/image_02012026_01_28_04_9664.jpg
/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_15_10661.jpg
/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_25_9692.jpg
/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_34_9706.jpg
/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_45_10688.jpg
/home/pi/Desktop/images/02012026/01/28/image_02012026_01_28_55_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":["1402092371","1402092280","1402092322","1402092229","1402092279","1402092264"],"photo_ids_order":["1402092229","1402092264","1402092279","1402092280","1402092322","1402092371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5ccde06b620a1c341a288f77fba3020c.jpg","text":"TemporaryFile(/tmp/multipartBody474592984449288801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315783865,"filename":"image_02012026_01_28_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/2/ba7864df71e02a708ad64b8627c5d3bf.jpg","text":"TemporaryFile(/tmp/multipartBody5383942983464417479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315783865,"filename":"image_02012026_01_28_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcd7e80fa74f168671e2246c9b78cd12.jpg","text":"TemporaryFile(/tmp/multipartBody99915659863509128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315783865,"filename":"image_02012026_01_28_45_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/2/1d3fed1075388db4a27c73b93badbcf4.jpg","text":"TemporaryFile(/tmp/multipartBody8041455387539028815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315783865,"filename":"image_02012026_01_28_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/2/e13b307abba79e7e2d6965f411aa3506.jpg","text":"TemporaryFile(/tmp/multipartBody6682921060225024603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315783865,"filename":"image_02012026_01_28_25_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/2/d2f16fc56492b62f6dd6b5ac3b1e2c06.jpg","text":"TemporaryFile(/tmp/multipartBody7924962063597458463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315783865,"filename":"image_02012026_01_28_15_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402092279","file1":"1402092264","file0":"1402092229","file4":"1402092322","file5":"1402092371","file3":"1402092280"},"map_files_photo_id_array":[{"photo_id":"1402092371","filename":"file5"},{"photo_id":"1402092279","filename":"file2"},{"photo_id":"1402092322","filename":"file4"},{"photo_id":"1402092264","filename":"file1"},{"photo_id":"1402092229","filename":"file0"},{"photo_id":"1402092280","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402092371":["hashtag1","hashtag2"]},{"1402092280":["hashtag1","hashtag2"]},{"1402092322":["hashtag1","hashtag2"]},{"1402092229":["hashtag1","hashtag2"]},{"1402092279":["hashtag1","hashtag2"]},{"1402092264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402092371, 1402092280, 1402092322, 1402092229, 1402092279, 1402092264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.364575147628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:02:42.769163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_07_3011.jpg', '/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_11_3759.jpg', '/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_20_3563.jpg', '/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_22_2659.jpg', '/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_29_3718.jpg', '/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_32_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/21/30/image_04112025_21_30_07_3011.jpg
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_11_3759.jpg
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_20_3563.jpg
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_22_2659.jpg
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_29_3718.jpg
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_32_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":["1402092644","1402092682","1402092565","1402092607","1402092756","1402092717"],"photo_ids_order":["1402092565","1402092607","1402092644","1402092682","1402092717","1402092756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e2df731018993f6a7c6be5f8e032ed7a.jpg","text":"TemporaryFile(/tmp/multipartBody5102735829832091351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315824599,"filename":"image_04112025_21_30_20_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/2/95e72c4b634f63e41f132bd9bc275655.jpg","text":"TemporaryFile(/tmp/multipartBody6288573128436037422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315824599,"filename":"image_04112025_21_30_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/2/cc0b32974a72bc38a7b60abcdcf4c4ae.jpg","text":"TemporaryFile(/tmp/multipartBody4968243760072903517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315824599,"filename":"image_04112025_21_30_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/2/e35b22175cd56a188d56e034cbcc54c5.jpg","text":"TemporaryFile(/tmp/multipartBody1271646604582216975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315824599,"filename":"image_04112025_21_30_11_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/2/5914d0f75c35b5babb9411d57933a078.jpg","text":"TemporaryFile(/tmp/multipartBody3346074861632576016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315824599,"filename":"image_04112025_21_30_32_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/2/d137e70518a52d5fd5d258a4f66cea3f.jpg","text":"TemporaryFile(/tmp/multipartBody2071465664145103891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315824599,"filename":"image_04112025_21_30_29_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402092644","file1":"1402092607","file0":"1402092565","file4":"1402092717","file5":"1402092756","file3":"1402092682"},"map_files_photo_id_array":[{"photo_id":"1402092756","filename":"file5"},{"photo_id":"1402092644","filename":"file2"},{"photo_id":"1402092717","filename":"file4"},{"photo_id":"1402092607","filename":"file1"},{"photo_id":"1402092565","filename":"file0"},{"photo_id":"1402092682","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402092644":["hashtag1","hashtag2"]},{"1402092682":["hashtag1","hashtag2"]},{"1402092565":["hashtag1","hashtag2"]},{"1402092607":["hashtag1","hashtag2"]},{"1402092756":["hashtag1","hashtag2"]},{"1402092717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402092644, 1402092682, 1402092565, 1402092607, 1402092756, 1402092717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3084135055542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:03:21.995015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/28/image_02012026_01_29_05_9884.jpg', '/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_14_9670.jpg', '/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_25_10649.jpg', '/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_35_9549.jpg', '/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_45_10615.jpg', '/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_55_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/28/image_02012026_01_29_05_9884.jpg
/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_14_9670.jpg
/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_25_10649.jpg
/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_35_9549.jpg
/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_45_10615.jpg
/home/pi/Desktop/images/02012026/01/29/image_02012026_01_29_55_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":["1402093381","1402093022","1402093264","1402093471","1402093135","1402092925"],"photo_ids_order":["1402092925","1402093022","1402093135","1402093264","1402093381","1402093471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a54733c09b506bbd04e59b0c989d4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4687199618531517281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315862583,"filename":"image_02012026_01_29_45_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/2/8b11bcaded7eeaaa74979c08481a5dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2034187287159142980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315862583,"filename":"image_02012026_01_29_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/2/c87a4100c44222a5704bb2ecddc40d59.jpg","text":"TemporaryFile(/tmp/multipartBody6618062693946492049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315862583,"filename":"image_02012026_01_29_35_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/2/3824b38d80a5c929357fdf7037c8b66c.jpg","text":"TemporaryFile(/tmp/multipartBody6254342553563820734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315862583,"filename":"image_02012026_01_29_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/2/eb45de4eac0b282fdb04bf1f996d71a5.jpg","text":"TemporaryFile(/tmp/multipartBody6039021794737418514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315862583,"filename":"image_02012026_01_29_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/2/e7394849cd736d9d77d14fbb7c858af7.jpg","text":"TemporaryFile(/tmp/multipartBody307903844258428460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315862583,"filename":"image_02012026_01_29_05_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402093135","file1":"1402093022","file0":"1402092925","file4":"1402093381","file5":"1402093471","file3":"1402093264"},"map_files_photo_id_array":[{"photo_id":"1402093471","filename":"file5"},{"photo_id":"1402093135","filename":"file2"},{"photo_id":"1402093381","filename":"file4"},{"photo_id":"1402093022","filename":"file1"},{"photo_id":"1402092925","filename":"file0"},{"photo_id":"1402093264","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402093381":["hashtag1","hashtag2"]},{"1402093022":["hashtag1","hashtag2"]},{"1402093264":["hashtag1","hashtag2"]},{"1402093471":["hashtag1","hashtag2"]},{"1402093135":["hashtag1","hashtag2"]},{"1402092925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402093381, 1402093022, 1402093264, 1402093471, 1402093135, 1402092925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.560898780822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:04:02.729716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/29/image_02012026_01_30_05_9732.jpg', '/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_15_10702.jpg', '/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_35_9742.jpg', '/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_45_9810.jpg', '/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_54_9763.jpg', '/home/pi/Desktop/images/02012026/01/30/image_02012026_01_31_05_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/29/image_02012026_01_30_05_9732.jpg
/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_15_10702.jpg
/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_35_9742.jpg
/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_45_9810.jpg
/home/pi/Desktop/images/02012026/01/30/image_02012026_01_30_54_9763.jpg
/home/pi/Desktop/images/02012026/01/30/image_02012026_01_31_05_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":["1402093585","1402093744","1402093584","1402093647","1402093583","1402093586"],"photo_ids_order":["1402093583","1402093584","1402093585","1402093586","1402093647","1402093744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1c85aaf9d0c4eae961fc0bec0c9ca4aa.jpg","text":"TemporaryFile(/tmp/multipartBody1258316462379929195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315903420,"filename":"image_02012026_01_30_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/2/5deb69b75f5d050ccf2810e42c739946.jpg","text":"TemporaryFile(/tmp/multipartBody674155921999507010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315903420,"filename":"image_02012026_01_31_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/2/2982836bdc781e3c63728f2305527316.jpg","text":"TemporaryFile(/tmp/multipartBody6551993737794680304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315903420,"filename":"image_02012026_01_30_15_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/2/6749d52305d898f0b48a7784e03d8f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1991969777937101293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315903420,"filename":"image_02012026_01_30_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/2/97243fea7955a409747de810d618b47c.jpg","text":"TemporaryFile(/tmp/multipartBody2298983960183293341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315903420,"filename":"image_02012026_01_30_05_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/2/51e98d1db6ad99222ac9190fefac3437.jpg","text":"TemporaryFile(/tmp/multipartBody2635713217198172560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315903420,"filename":"image_02012026_01_30_45_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402093585","file1":"1402093584","file0":"1402093583","file4":"1402093647","file5":"1402093744","file3":"1402093586"},"map_files_photo_id_array":[{"photo_id":"1402093744","filename":"file5"},{"photo_id":"1402093585","filename":"file2"},{"photo_id":"1402093647","filename":"file4"},{"photo_id":"1402093584","filename":"file1"},{"photo_id":"1402093583","filename":"file0"},{"photo_id":"1402093586","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402093585":["hashtag1","hashtag2"]},{"1402093744":["hashtag1","hashtag2"]},{"1402093584":["hashtag1","hashtag2"]},{"1402093647":["hashtag1","hashtag2"]},{"1402093583":["hashtag1","hashtag2"]},{"1402093586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402093585, 1402093744, 1402093584, 1402093647, 1402093583, 1402093586)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.662402391433716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:05:02.577312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_15_9688.jpg', '/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_25_10630.jpg', '/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_35_9779.jpg', '/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_45_9603.jpg', '/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_54_9779.jpg', '/home/pi/Desktop/images/02012026/01/31/image_02012026_01_32_05_10863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_15_9688.jpg
/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_25_10630.jpg
/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_35_9779.jpg
/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_45_9603.jpg
/home/pi/Desktop/images/02012026/01/31/image_02012026_01_31_54_9779.jpg
/home/pi/Desktop/images/02012026/01/31/image_02012026_01_32_05_10863.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":["1402093840","1402093837","1402093842","1402093836","1402093838","1402093835"],"photo_ids_order":["1402093835","1402093836","1402093837","1402093838","1402093840","1402093842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/391133c70c5c3f5cd410b209f4d499d9.jpg","text":"TemporaryFile(/tmp/multipartBody2233883355293112965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315965822,"filename":"image_02012026_01_31_54_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/2/af9b923c599ad68279eb9f69a358a059.jpg","text":"TemporaryFile(/tmp/multipartBody2839300490088539674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315965822,"filename":"image_02012026_01_31_35_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/2/a73df8d67664c380fb5ced04b19bbb74.jpg","text":"TemporaryFile(/tmp/multipartBody1015415723530990219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315965822,"filename":"image_02012026_01_32_05_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eed947997935fcf9f8730a4dc04da00e.jpg","text":"TemporaryFile(/tmp/multipartBody8806310091625884272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315965822,"filename":"image_02012026_01_31_25_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/2/99cc6ca3fa84815b5ad7a090641082b2.jpg","text":"TemporaryFile(/tmp/multipartBody2912324188737124757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315965822,"filename":"image_02012026_01_31_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/2/59c85656a327649f7b53297052513890.jpg","text":"TemporaryFile(/tmp/multipartBody4911470889748726641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767315965822,"filename":"image_02012026_01_31_15_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402093837","file1":"1402093836","file0":"1402093835","file4":"1402093840","file5":"1402093842","file3":"1402093838"},"map_files_photo_id_array":[{"photo_id":"1402093842","filename":"file5"},{"photo_id":"1402093837","filename":"file2"},{"photo_id":"1402093840","filename":"file4"},{"photo_id":"1402093836","filename":"file1"},{"photo_id":"1402093835","filename":"file0"},{"photo_id":"1402093838","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402093840":["hashtag1","hashtag2"]},{"1402093837":["hashtag1","hashtag2"]},{"1402093842":["hashtag1","hashtag2"]},{"1402093836":["hashtag1","hashtag2"]},{"1402093838":["hashtag1","hashtag2"]},{"1402093835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402093840, 1402093837, 1402093842, 1402093836, 1402093838, 1402093835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28324270248413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:06:02.847597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_15_9792.jpg', '/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_25_9717.jpg', '/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_34_9702.jpg', '/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_55_9572.jpg', '/home/pi/Desktop/images/02012026/01/32/image_02012026_01_33_05_9896.jpg', '/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_15_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_15_9792.jpg
/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_25_9717.jpg
/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_34_9702.jpg
/home/pi/Desktop/images/02012026/01/32/image_02012026_01_32_55_9572.jpg
/home/pi/Desktop/images/02012026/01/32/image_02012026_01_33_05_9896.jpg
/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_15_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":["1402093867","1402093849","1402093939","1402093851","1402093902","1402093850"],"photo_ids_order":["1402093849","1402093850","1402093851","1402093867","1402093902","1402093939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f741e43dd27f9f60228e45cb2dd9b8dc.jpg","text":"TemporaryFile(/tmp/multipartBody2533100116277672431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316023506,"filename":"image_02012026_01_32_55_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/2/9b1f81b597f16f2c9748fd7b1b9b2d34.jpg","text":"TemporaryFile(/tmp/multipartBody5304838332297207735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316023506,"filename":"image_02012026_01_32_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/2/0d1fb7678cca2957a916bbad0667acfe.jpg","text":"TemporaryFile(/tmp/multipartBody3461643567308195220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316023506,"filename":"image_02012026_01_33_15_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/2/8e5fc408ff3e67648b9037302393d6df.jpg","text":"TemporaryFile(/tmp/multipartBody2460189184584718665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316023506,"filename":"image_02012026_01_32_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/2/f1772c86034ae36cb4fd2440bf523b5a.jpg","text":"TemporaryFile(/tmp/multipartBody7518570878294519064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316023506,"filename":"image_02012026_01_33_05_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/2/6ee0d18cc1de40decb374605a26cd3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7854670318396975616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316023506,"filename":"image_02012026_01_32_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402093851","file1":"1402093850","file0":"1402093849","file4":"1402093902","file5":"1402093939","file3":"1402093867"},"map_files_photo_id_array":[{"photo_id":"1402093939","filename":"file5"},{"photo_id":"1402093851","filename":"file2"},{"photo_id":"1402093902","filename":"file4"},{"photo_id":"1402093850","filename":"file1"},{"photo_id":"1402093849","filename":"file0"},{"photo_id":"1402093867","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402093867":["hashtag1","hashtag2"]},{"1402093849":["hashtag1","hashtag2"]},{"1402093939":["hashtag1","hashtag2"]},{"1402093851":["hashtag1","hashtag2"]},{"1402093902":["hashtag1","hashtag2"]},{"1402093850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402093867, 1402093849, 1402093939, 1402093851, 1402093902, 1402093850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85247468948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:06:42.394339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_52_20535.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_10_6040.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_21_1546.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_25_1640.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_35_1772.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_43_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_52_20535.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_10_6040.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_21_1546.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_25_1640.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_35_1772.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_43_1673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7331597805023193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:07:03.161843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_25_9743.jpg', '/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_35_9588.jpg', '/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_45_10727.jpg', '/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_55_9575.jpg', '/home/pi/Desktop/images/02012026/01/33/image_02012026_01_34_05_9652.jpg', '/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_15_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_25_9743.jpg
/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_35_9588.jpg
/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_45_10727.jpg
/home/pi/Desktop/images/02012026/01/33/image_02012026_01_33_55_9575.jpg
/home/pi/Desktop/images/02012026/01/33/image_02012026_01_34_05_9652.jpg
/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_15_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094274","1402094375","1402094307","1402094411","1402094234","1402094341"],"photo_ids_order":["1402094234","1402094274","1402094307","1402094341","1402094375","1402094411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfe56acc25648998a9e7af5332d6c096.jpg","text":"TemporaryFile(/tmp/multipartBody4496730030235871779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316083798,"filename":"image_02012026_01_33_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/2/3fae0ffa218feb59cb58bb634ba7d08e.jpg","text":"TemporaryFile(/tmp/multipartBody6439932068362464798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316083798,"filename":"image_02012026_01_34_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/2/5f075521fd03b61b9aa5c3a263e87be9.jpg","text":"TemporaryFile(/tmp/multipartBody1034702232813088260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316083798,"filename":"image_02012026_01_33_45_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/2/90587c039d81fed9985b78b18de34347.jpg","text":"TemporaryFile(/tmp/multipartBody7252416128101442079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316083798,"filename":"image_02012026_01_34_15_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/2/ce53edde65cc0c8c34c3cd7240dde925.jpg","text":"TemporaryFile(/tmp/multipartBody1658160765040672460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316083798,"filename":"image_02012026_01_33_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/2/87658e0314e46c671e03d41f9bac2546.jpg","text":"TemporaryFile(/tmp/multipartBody8278006015801134740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316083798,"filename":"image_02012026_01_33_55_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094307","file1":"1402094274","file0":"1402094234","file4":"1402094375","file5":"1402094411","file3":"1402094341"},"map_files_photo_id_array":[{"photo_id":"1402094411","filename":"file5"},{"photo_id":"1402094307","filename":"file2"},{"photo_id":"1402094375","filename":"file4"},{"photo_id":"1402094274","filename":"file1"},{"photo_id":"1402094234","filename":"file0"},{"photo_id":"1402094341","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094274":["hashtag1","hashtag2"]},{"1402094375":["hashtag1","hashtag2"]},{"1402094307":["hashtag1","hashtag2"]},{"1402094411":["hashtag1","hashtag2"]},{"1402094234":["hashtag1","hashtag2"]},{"1402094341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094274, 1402094375, 1402094307, 1402094411, 1402094234, 1402094341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13313889503479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:07:42.707420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_52_20535.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_10_6040.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_21_1546.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_25_1640.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_35_1772.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_43_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/30/image_04112025_21_30_52_20535.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_10_6040.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_21_1546.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_25_1640.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_35_1772.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_43_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094490","1402094493","1402094492","1402094491","1402094494","1402094488"],"photo_ids_order":["1402094488","1402094490","1402094491","1402094492","1402094493","1402094494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55fbb39f8910e1ab7d6c5f4ccc8f50bc.jpg","text":"TemporaryFile(/tmp/multipartBody1304830925013032067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316124373,"filename":"image_04112025_21_31_10_6040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/927876b5fb2c3ea16b3832ecee1958aa.jpg","text":"TemporaryFile(/tmp/multipartBody7664282997959706345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316124373,"filename":"image_04112025_21_31_35_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1acee81b849a699f299db53c88b0b866.jpg","text":"TemporaryFile(/tmp/multipartBody4352911695637616140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316124373,"filename":"image_04112025_21_31_25_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/2/7a99d49460867f1c9bece3f179f2464b.jpg","text":"TemporaryFile(/tmp/multipartBody4138500675861037572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316124373,"filename":"image_04112025_21_31_21_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/2/5aeb7bd44dddd2f603eddf8c4ee141c9.jpg","text":"TemporaryFile(/tmp/multipartBody8890266200721992204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316124373,"filename":"image_04112025_21_31_43_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/2/c5b49d9cbb205a61b704a6d494c7d950.jpg","text":"TemporaryFile(/tmp/multipartBody7331666133872280579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316124373,"filename":"image_04112025_21_30_52_20535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094491","file1":"1402094490","file0":"1402094488","file4":"1402094493","file5":"1402094494","file3":"1402094492"},"map_files_photo_id_array":[{"photo_id":"1402094494","filename":"file5"},{"photo_id":"1402094491","filename":"file2"},{"photo_id":"1402094493","filename":"file4"},{"photo_id":"1402094490","filename":"file1"},{"photo_id":"1402094488","filename":"file0"},{"photo_id":"1402094492","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094490":["hashtag1","hashtag2"]},{"1402094493":["hashtag1","hashtag2"]},{"1402094492":["hashtag1","hashtag2"]},{"1402094491":["hashtag1","hashtag2"]},{"1402094494":["hashtag1","hashtag2"]},{"1402094488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094490, 1402094493, 1402094492, 1402094491, 1402094494, 1402094488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.655478715896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:08:21.860911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_25_9762.jpg', '/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_35_9631.jpg', '/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_44_9748.jpg', '/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_55_10702.jpg', '/home/pi/Desktop/images/02012026/01/34/image_02012026_01_35_05_9749.jpg', '/home/pi/Desktop/images/02012026/01/35/image_02012026_01_35_25_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_25_9762.jpg
/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_35_9631.jpg
/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_44_9748.jpg
/home/pi/Desktop/images/02012026/01/34/image_02012026_01_34_55_10702.jpg
/home/pi/Desktop/images/02012026/01/34/image_02012026_01_35_05_9749.jpg
/home/pi/Desktop/images/02012026/01/35/image_02012026_01_35_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":["1402094710","1402094608","1402094666","1402094681","1402094651","1402094668"],"photo_ids_order":["1402094608","1402094651","1402094666","1402094668","1402094681","1402094710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aabe1cb9caa67035458ef1168177dc23.jpg","text":"TemporaryFile(/tmp/multipartBody310218769208273478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316162424,"filename":"image_02012026_01_35_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/2/82d5246bd095fceba53d50948a64855f.jpg","text":"TemporaryFile(/tmp/multipartBody5470743446937717015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316162424,"filename":"image_02012026_01_34_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/2/8ce30fab71b33c69cab3f10266070130.jpg","text":"TemporaryFile(/tmp/multipartBody8721880325334985924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316162424,"filename":"image_02012026_01_34_44_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/2/b3580635f83279c732cbc5867b63d2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5354802992819466377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316162424,"filename":"image_02012026_01_35_05_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/2/ba40f629b71c3dd2dc8c5e72e3af23d0.jpg","text":"TemporaryFile(/tmp/multipartBody5405570721097017459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316162424,"filename":"image_02012026_01_34_35_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/2/37b43a26e06a120d668a814818c5b98e.jpg","text":"TemporaryFile(/tmp/multipartBody125290450063298738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316162424,"filename":"image_02012026_01_34_55_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094666","file1":"1402094651","file0":"1402094608","file4":"1402094681","file5":"1402094710","file3":"1402094668"},"map_files_photo_id_array":[{"photo_id":"1402094710","filename":"file5"},{"photo_id":"1402094666","filename":"file2"},{"photo_id":"1402094681","filename":"file4"},{"photo_id":"1402094651","filename":"file1"},{"photo_id":"1402094608","filename":"file0"},{"photo_id":"1402094668","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094710":["hashtag1","hashtag2"]},{"1402094608":["hashtag1","hashtag2"]},{"1402094666":["hashtag1","hashtag2"]},{"1402094681":["hashtag1","hashtag2"]},{"1402094651":["hashtag1","hashtag2"]},{"1402094668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094710, 1402094608, 1402094666, 1402094681, 1402094651, 1402094668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.614248514175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:09:02.981757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/35/image_02012026_01_35_45_9663.jpg', '/home/pi/Desktop/images/02012026/01/35/image_02012026_01_35_55_10708.jpg', '/home/pi/Desktop/images/02012026/01/35/image_02012026_01_36_05_9647.jpg', '/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_14_9622.jpg', '/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_25_10693.jpg', '/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_35_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/35/image_02012026_01_35_45_9663.jpg
/home/pi/Desktop/images/02012026/01/35/image_02012026_01_35_55_10708.jpg
/home/pi/Desktop/images/02012026/01/35/image_02012026_01_36_05_9647.jpg
/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_14_9622.jpg
/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_25_10693.jpg
/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_35_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":["1402094749","1402094751","1402094748","1402094753","1402094747","1402094750"],"photo_ids_order":["1402094747","1402094748","1402094749","1402094750","1402094751","1402094753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7eaff8d5fcbd4c62e7e85235fb316eee.jpg","text":"TemporaryFile(/tmp/multipartBody8043224557888559382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316203646,"filename":"image_02012026_01_36_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/2/006932b3e989a65110e93999584ad378.jpg","text":"TemporaryFile(/tmp/multipartBody143231301740226398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316203646,"filename":"image_02012026_01_36_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/2/bc7c4098e7fb46e27c5de969a5ec2e56.jpg","text":"TemporaryFile(/tmp/multipartBody5382696785302489235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316203646,"filename":"image_02012026_01_35_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/2/1c1612fa975e9bdd412d2bb2ef5e421e.jpg","text":"TemporaryFile(/tmp/multipartBody1401852738800201101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316203646,"filename":"image_02012026_01_36_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/2/c0f3610951b038b764c409d50846a516.jpg","text":"TemporaryFile(/tmp/multipartBody3136806590973083006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316203646,"filename":"image_02012026_01_35_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/2/788e4fe16cea4cce2a23bb2f049b88ea.jpg","text":"TemporaryFile(/tmp/multipartBody5413090208376028894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316203646,"filename":"image_02012026_01_36_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094749","file1":"1402094748","file0":"1402094747","file4":"1402094751","file5":"1402094753","file3":"1402094750"},"map_files_photo_id_array":[{"photo_id":"1402094753","filename":"file5"},{"photo_id":"1402094749","filename":"file2"},{"photo_id":"1402094751","filename":"file4"},{"photo_id":"1402094748","filename":"file1"},{"photo_id":"1402094747","filename":"file0"},{"photo_id":"1402094750","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094749":["hashtag1","hashtag2"]},{"1402094751":["hashtag1","hashtag2"]},{"1402094748":["hashtag1","hashtag2"]},{"1402094753":["hashtag1","hashtag2"]},{"1402094747":["hashtag1","hashtag2"]},{"1402094750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094749, 1402094751, 1402094748, 1402094753, 1402094747, 1402094750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54678535461426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:09:42.066346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_46_2744.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_52_3670.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_55_2810.jpg', '/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_58_2671.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_22_2689.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_28_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/21/31/image_04112025_21_31_46_2744.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_52_3670.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_55_2810.jpg
/home/pi/Desktop/images/04112025/21/31/image_04112025_21_31_58_2671.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_22_2689.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_28_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":["1402094761","1402094760","1402094763","1402094762","1402094764","1402094758"],"photo_ids_order":["1402094758","1402094760","1402094761","1402094762","1402094763","1402094764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1add76dd8eeadfada33ce9a03b358bac.jpg","text":"TemporaryFile(/tmp/multipartBody5750799622235277950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316243770,"filename":"image_04112025_21_31_55_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/2/83aca9ba88fe61a2b655102f75680726.jpg","text":"TemporaryFile(/tmp/multipartBody6978084570690839985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316243770,"filename":"image_04112025_21_31_52_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/2/1548d23d613f8ee0a4fbdc362caab685.jpg","text":"TemporaryFile(/tmp/multipartBody2482824034464578713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316243770,"filename":"image_04112025_21_32_22_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/2/2369195ee72dddd18207db0d1a7e39f3.jpg","text":"TemporaryFile(/tmp/multipartBody3030627086007506871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316243770,"filename":"image_04112025_21_31_58_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/2/0fb354467a372c9204c73021b41540ba.jpg","text":"TemporaryFile(/tmp/multipartBody1637297525968766497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316243770,"filename":"image_04112025_21_32_28_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/2/47d7ef742037f6a94793968d7bc8f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody8553854911569283724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316243770,"filename":"image_04112025_21_31_46_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094761","file1":"1402094760","file0":"1402094758","file4":"1402094763","file5":"1402094764","file3":"1402094762"},"map_files_photo_id_array":[{"photo_id":"1402094764","filename":"file5"},{"photo_id":"1402094761","filename":"file2"},{"photo_id":"1402094763","filename":"file4"},{"photo_id":"1402094760","filename":"file1"},{"photo_id":"1402094758","filename":"file0"},{"photo_id":"1402094762","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094761":["hashtag1","hashtag2"]},{"1402094760":["hashtag1","hashtag2"]},{"1402094763":["hashtag1","hashtag2"]},{"1402094762":["hashtag1","hashtag2"]},{"1402094764":["hashtag1","hashtag2"]},{"1402094758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094761, 1402094760, 1402094763, 1402094762, 1402094764, 1402094758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21309041976929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:10:22.332649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_44_9538.jpg', '/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_55_10755.jpg', '/home/pi/Desktop/images/02012026/01/36/image_02012026_01_37_05_9769.jpg', '/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_15_9742.jpg', '/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_24_9781.jpg', '/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_44_9538.jpg
/home/pi/Desktop/images/02012026/01/36/image_02012026_01_36_55_10755.jpg
/home/pi/Desktop/images/02012026/01/36/image_02012026_01_37_05_9769.jpg
/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_15_9742.jpg
/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_24_9781.jpg
/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_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":["1402094772","1402094766","1402094774","1402094768","1402094776","1402094770"],"photo_ids_order":["1402094766","1402094768","1402094770","1402094772","1402094774","1402094776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9acb5c2b8c5a09668a1899f15e2d5aec.jpg","text":"TemporaryFile(/tmp/multipartBody2310436643618784634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316282934,"filename":"image_02012026_01_37_15_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/2/b35560b0d862b8e5dda0c76567775aab.jpg","text":"TemporaryFile(/tmp/multipartBody8168634197680090389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316282934,"filename":"image_02012026_01_36_44_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/2/eb078a70dea1da3bb2548659bc6706ca.jpg","text":"TemporaryFile(/tmp/multipartBody5275297407732187044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316282934,"filename":"image_02012026_01_37_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/2/fd93f35918ec6362900f0ad5d6a62090.jpg","text":"TemporaryFile(/tmp/multipartBody5190771363392603084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316282934,"filename":"image_02012026_01_36_55_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/2/b5951c4a6991372ed605f11a3c36a974.jpg","text":"TemporaryFile(/tmp/multipartBody2111956710874702229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316282934,"filename":"image_02012026_01_37_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/2/a1a7251339c5dda30311d9e76838a27c.jpg","text":"TemporaryFile(/tmp/multipartBody1175338683901635794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316282934,"filename":"image_02012026_01_37_05_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094770","file1":"1402094768","file0":"1402094766","file4":"1402094774","file5":"1402094776","file3":"1402094772"},"map_files_photo_id_array":[{"photo_id":"1402094776","filename":"file5"},{"photo_id":"1402094770","filename":"file2"},{"photo_id":"1402094774","filename":"file4"},{"photo_id":"1402094768","filename":"file1"},{"photo_id":"1402094766","filename":"file0"},{"photo_id":"1402094772","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094772":["hashtag1","hashtag2"]},{"1402094766":["hashtag1","hashtag2"]},{"1402094774":["hashtag1","hashtag2"]},{"1402094768":["hashtag1","hashtag2"]},{"1402094776":["hashtag1","hashtag2"]},{"1402094770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094772, 1402094766, 1402094774, 1402094768, 1402094776, 1402094770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81982159614563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:11:03.324912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_45_9636.jpg', '/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_55_9859.jpg', '/home/pi/Desktop/images/02012026/01/37/image_02012026_01_38_04_9748.jpg', '/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_15_10768.jpg', '/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_25_9587.jpg', '/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_34_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_45_9636.jpg
/home/pi/Desktop/images/02012026/01/37/image_02012026_01_37_55_9859.jpg
/home/pi/Desktop/images/02012026/01/37/image_02012026_01_38_04_9748.jpg
/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_15_10768.jpg
/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_25_9587.jpg
/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_34_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402094781","1402094778","1402094783","1402094780","1402094777","1402094779"],"photo_ids_order":["1402094777","1402094778","1402094779","1402094780","1402094781","1402094783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73fdbc47bb128aa7b5aa1cd0eaea4f4f.jpg","text":"TemporaryFile(/tmp/multipartBody4349796444194064498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316324019,"filename":"image_02012026_01_38_25_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/2/10b7f12306b1876e33431dc4928e05bd.jpg","text":"TemporaryFile(/tmp/multipartBody1639697683889412808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316324019,"filename":"image_02012026_01_37_55_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/2/bc98547e1b696970d34b4e1610819f11.jpg","text":"TemporaryFile(/tmp/multipartBody5877441460405977095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316324019,"filename":"image_02012026_01_38_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/2/671a9b07c04845cd020ea05abf467d76.jpg","text":"TemporaryFile(/tmp/multipartBody8440764068897776807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316324019,"filename":"image_02012026_01_38_15_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/2/bec7d4162b2c6c88924b47fe7c3520d1.jpg","text":"TemporaryFile(/tmp/multipartBody3422115072628752613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316324019,"filename":"image_02012026_01_37_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/2/a646f857e6ce3d230170c19ca8af8c56.jpg","text":"TemporaryFile(/tmp/multipartBody6266883356399868793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316324019,"filename":"image_02012026_01_38_04_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094779","file1":"1402094778","file0":"1402094777","file4":"1402094781","file5":"1402094783","file3":"1402094780"},"map_files_photo_id_array":[{"photo_id":"1402094783","filename":"file5"},{"photo_id":"1402094779","filename":"file2"},{"photo_id":"1402094781","filename":"file4"},{"photo_id":"1402094778","filename":"file1"},{"photo_id":"1402094777","filename":"file0"},{"photo_id":"1402094780","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094781":["hashtag1","hashtag2"]},{"1402094778":["hashtag1","hashtag2"]},{"1402094783":["hashtag1","hashtag2"]},{"1402094780":["hashtag1","hashtag2"]},{"1402094777":["hashtag1","hashtag2"]},{"1402094779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094781, 1402094778, 1402094783, 1402094780, 1402094777, 1402094779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.461260080337524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:12:02.921052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_45_10718.jpg', '/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_55_9683.jpg', '/home/pi/Desktop/images/02012026/01/38/image_02012026_01_39_04_9671.jpg', '/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_15_10660.jpg', '/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_25_9679.jpg', '/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_45_10718.jpg
/home/pi/Desktop/images/02012026/01/38/image_02012026_01_38_55_9683.jpg
/home/pi/Desktop/images/02012026/01/38/image_02012026_01_39_04_9671.jpg
/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_15_10660.jpg
/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_25_9679.jpg
/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_34_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094793","1402094796","1402094790","1402094792","1402094794","1402094791"],"photo_ids_order":["1402094790","1402094791","1402094792","1402094793","1402094794","1402094796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9d7634ea16f90b259e956bafda2df3da.jpg","text":"TemporaryFile(/tmp/multipartBody8852287847415132089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316383542,"filename":"image_02012026_01_39_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/2/d64b938a4baea692dff03eb0d29aa668.jpg","text":"TemporaryFile(/tmp/multipartBody2959092206195739208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316383542,"filename":"image_02012026_01_39_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/2/4c82e67742c9c381c11ce9073a0563de.jpg","text":"TemporaryFile(/tmp/multipartBody5803600403147098774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316383542,"filename":"image_02012026_01_38_45_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/2/8a673a75173f82b5118a0b64f89293f2.jpg","text":"TemporaryFile(/tmp/multipartBody5605079634192079539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316383542,"filename":"image_02012026_01_39_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/2/a18a31ddd3884ba884af0128e0f44104.jpg","text":"TemporaryFile(/tmp/multipartBody194711709755875478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316383542,"filename":"image_02012026_01_39_25_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/2/8ce8ff0f67e955a91c52b23b96abecc5.jpg","text":"TemporaryFile(/tmp/multipartBody7495410216192808518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316383542,"filename":"image_02012026_01_38_55_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094792","file1":"1402094791","file0":"1402094790","file4":"1402094794","file5":"1402094796","file3":"1402094793"},"map_files_photo_id_array":[{"photo_id":"1402094796","filename":"file5"},{"photo_id":"1402094792","filename":"file2"},{"photo_id":"1402094794","filename":"file4"},{"photo_id":"1402094791","filename":"file1"},{"photo_id":"1402094790","filename":"file0"},{"photo_id":"1402094793","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094793":["hashtag1","hashtag2"]},{"1402094796":["hashtag1","hashtag2"]},{"1402094790":["hashtag1","hashtag2"]},{"1402094792":["hashtag1","hashtag2"]},{"1402094794":["hashtag1","hashtag2"]},{"1402094791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094793, 1402094796, 1402094790, 1402094792, 1402094794, 1402094791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63481330871582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:12:42.382170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_31_2694.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_34_2716.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_48_1874.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_55_3606.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_59_3853.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_18_5323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_31_2694.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_34_2716.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_48_1874.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_55_3606.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_59_3853.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_18_5323.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.719787359237671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:13:03.236999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_45_10631.jpg', '/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_55_9800.jpg', '/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_15_10605.jpg', '/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_25_9637.jpg', '/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_35_9704.jpg', '/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_44_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_45_10631.jpg
/home/pi/Desktop/images/02012026/01/39/image_02012026_01_39_55_9800.jpg
/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_15_10605.jpg
/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_25_9637.jpg
/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_35_9704.jpg
/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_44_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094809","1402094811","1402094808","1402094810","1402094813","1402094807"],"photo_ids_order":["1402094807","1402094808","1402094809","1402094810","1402094811","1402094813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcae27a1c215f60f5f8f8e6c8cbe6b17.jpg","text":"TemporaryFile(/tmp/multipartBody8319962694782373102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316443909,"filename":"image_02012026_01_40_15_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/2/be0b432ab23b63d52c5621a4b4894691.jpg","text":"TemporaryFile(/tmp/multipartBody6651333077832822710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316443909,"filename":"image_02012026_01_40_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/2/2417d3d6673f9161744ae781bb137ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4532832529968602688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316443909,"filename":"image_02012026_01_39_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/2/1a8114a2300611f4742379fe4886c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2510826847155178626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316443909,"filename":"image_02012026_01_40_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/2/ec3a79d859d82d8fd1922b2b6b94be13.jpg","text":"TemporaryFile(/tmp/multipartBody8255377729667762619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316443909,"filename":"image_02012026_01_40_44_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/2/71ace7ba4fd96a56fad477b3314fdca5.jpg","text":"TemporaryFile(/tmp/multipartBody371323770289490973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316443909,"filename":"image_02012026_01_39_45_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094809","file1":"1402094808","file0":"1402094807","file4":"1402094811","file5":"1402094813","file3":"1402094810"},"map_files_photo_id_array":[{"photo_id":"1402094813","filename":"file5"},{"photo_id":"1402094809","filename":"file2"},{"photo_id":"1402094811","filename":"file4"},{"photo_id":"1402094808","filename":"file1"},{"photo_id":"1402094807","filename":"file0"},{"photo_id":"1402094810","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094809":["hashtag1","hashtag2"]},{"1402094811":["hashtag1","hashtag2"]},{"1402094808":["hashtag1","hashtag2"]},{"1402094810":["hashtag1","hashtag2"]},{"1402094813":["hashtag1","hashtag2"]},{"1402094807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094809, 1402094811, 1402094808, 1402094810, 1402094813, 1402094807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67828702926636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:13:42.559771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_31_2694.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_34_2716.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_48_1874.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_55_3606.jpg', '/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_59_3853.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_18_5323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_31_2694.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_34_2716.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_48_1874.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_55_3606.jpg
/home/pi/Desktop/images/04112025/21/32/image_04112025_21_32_59_3853.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_18_5323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094821","1402094824","1402094818","1402094823","1402094820","1402094822"],"photo_ids_order":["1402094818","1402094820","1402094821","1402094822","1402094823","1402094824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ced5d4090626ac57707a289d19426a34.jpg","text":"TemporaryFile(/tmp/multipartBody8039962112102374000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316484221,"filename":"image_04112025_21_32_48_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73021b48bdaba81010dd044429061900.jpg","text":"TemporaryFile(/tmp/multipartBody4225263405069206849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316484221,"filename":"image_04112025_21_33_18_5323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5d08834ecb2901d9a8c7ff293e889413.jpg","text":"TemporaryFile(/tmp/multipartBody6961708106822105123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316484221,"filename":"image_04112025_21_32_31_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/2/0d9962c5b744e9925ab3c8ac30d8e8a6.jpg","text":"TemporaryFile(/tmp/multipartBody353945491083727334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316484221,"filename":"image_04112025_21_32_59_3853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f43e97feb7b3ccd31256bc44ff399fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5616972087129997441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316484221,"filename":"image_04112025_21_32_34_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/2/8ff555b6383919a6f918499844ac12d7.jpg","text":"TemporaryFile(/tmp/multipartBody5298002074824559133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316484221,"filename":"image_04112025_21_32_55_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094821","file1":"1402094820","file0":"1402094818","file4":"1402094823","file5":"1402094824","file3":"1402094822"},"map_files_photo_id_array":[{"photo_id":"1402094824","filename":"file5"},{"photo_id":"1402094821","filename":"file2"},{"photo_id":"1402094823","filename":"file4"},{"photo_id":"1402094820","filename":"file1"},{"photo_id":"1402094818","filename":"file0"},{"photo_id":"1402094822","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094821":["hashtag1","hashtag2"]},{"1402094824":["hashtag1","hashtag2"]},{"1402094818":["hashtag1","hashtag2"]},{"1402094823":["hashtag1","hashtag2"]},{"1402094820":["hashtag1","hashtag2"]},{"1402094822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094821, 1402094824, 1402094818, 1402094823, 1402094820, 1402094822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2623929977417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:14:22.721706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_55_10809.jpg', '/home/pi/Desktop/images/02012026/01/40/image_02012026_01_41_05_9593.jpg', '/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_14_9552.jpg', '/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_25_10660.jpg', '/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_44_9670.jpg', '/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/40/image_02012026_01_40_55_10809.jpg
/home/pi/Desktop/images/02012026/01/40/image_02012026_01_41_05_9593.jpg
/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_14_9552.jpg
/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_25_10660.jpg
/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_44_9670.jpg
/home/pi/Desktop/images/02012026/01/41/image_02012026_01_41_55_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094836","1402094841","1402094832","1402094834","1402094828","1402094830"],"photo_ids_order":["1402094828","1402094830","1402094832","1402094834","1402094836","1402094841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d6401f0dabb65dc7e6bda6227bdc1503.jpg","text":"TemporaryFile(/tmp/multipartBody3589578085934483807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316523322,"filename":"image_02012026_01_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/2/7a93bfee0de55efd5383658d9021ebc0.jpg","text":"TemporaryFile(/tmp/multipartBody7169132779507775583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316523322,"filename":"image_02012026_01_41_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/2/b566809c55c40644adccc642e0be9c06.jpg","text":"TemporaryFile(/tmp/multipartBody2117484212903976218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316523322,"filename":"image_02012026_01_41_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/2/b6576ace02bdb593aed9191b4ddb9212.jpg","text":"TemporaryFile(/tmp/multipartBody2885633945077611285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316523322,"filename":"image_02012026_01_41_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/2/6747871bd3e17a560ddf91c1a00d0645.jpg","text":"TemporaryFile(/tmp/multipartBody2615300197825905165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316523322,"filename":"image_02012026_01_40_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/2/654f82f7013ee27ded279145d05fe691.jpg","text":"TemporaryFile(/tmp/multipartBody5845951915417211015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316523322,"filename":"image_02012026_01_41_05_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094832","file1":"1402094830","file0":"1402094828","file4":"1402094836","file5":"1402094841","file3":"1402094834"},"map_files_photo_id_array":[{"photo_id":"1402094841","filename":"file5"},{"photo_id":"1402094832","filename":"file2"},{"photo_id":"1402094836","filename":"file4"},{"photo_id":"1402094830","filename":"file1"},{"photo_id":"1402094828","filename":"file0"},{"photo_id":"1402094834","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094836":["hashtag1","hashtag2"]},{"1402094841":["hashtag1","hashtag2"]},{"1402094832":["hashtag1","hashtag2"]},{"1402094834":["hashtag1","hashtag2"]},{"1402094828":["hashtag1","hashtag2"]},{"1402094830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094836, 1402094841, 1402094832, 1402094834, 1402094828, 1402094830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69391202926636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:15:02.739384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/41/image_02012026_01_42_05_9566.jpg', '/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_14_9774.jpg', '/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_25_10692.jpg', '/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_35_9668.jpg', '/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_45_10587.jpg', '/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_55_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/41/image_02012026_01_42_05_9566.jpg
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_14_9774.jpg
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_25_10692.jpg
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_35_9668.jpg
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_45_10587.jpg
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_42_55_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094844","1402094847","1402094846","1402094849","1402094843","1402094845"],"photo_ids_order":["1402094843","1402094844","1402094845","1402094846","1402094847","1402094849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/769ce5e347884207756410eccb8fb13f.jpg","text":"TemporaryFile(/tmp/multipartBody9180563956919629281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316563441,"filename":"image_02012026_01_42_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/2/ddd8762e56bfe48f9c3848c5b486d7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5973662045704034085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316563441,"filename":"image_02012026_01_42_45_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/2/cc5dd9d55d937824da7ed71ce409d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody1892936877953474108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316563441,"filename":"image_02012026_01_42_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/2/08713ab463538fe183c8d6ceadbd3608.jpg","text":"TemporaryFile(/tmp/multipartBody4516535783318112408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316563441,"filename":"image_02012026_01_42_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/2/71328bad19668a9126ce60bd3dc709f5.jpg","text":"TemporaryFile(/tmp/multipartBody9052065606573439782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316563441,"filename":"image_02012026_01_42_05_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/2/5a9c06c19d8cd247355383fb954d8dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7156882889861138860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316563441,"filename":"image_02012026_01_42_25_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094845","file1":"1402094844","file0":"1402094843","file4":"1402094847","file5":"1402094849","file3":"1402094846"},"map_files_photo_id_array":[{"photo_id":"1402094849","filename":"file5"},{"photo_id":"1402094845","filename":"file2"},{"photo_id":"1402094847","filename":"file4"},{"photo_id":"1402094844","filename":"file1"},{"photo_id":"1402094843","filename":"file0"},{"photo_id":"1402094846","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094844":["hashtag1","hashtag2"]},{"1402094847":["hashtag1","hashtag2"]},{"1402094846":["hashtag1","hashtag2"]},{"1402094849":["hashtag1","hashtag2"]},{"1402094843":["hashtag1","hashtag2"]},{"1402094845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094844, 1402094847, 1402094846, 1402094849, 1402094843, 1402094845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.922168254852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:15:41.993525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_22_2565.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_25_2565.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_34_2810.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_43_1662.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_49_3767.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_52_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_22_2565.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_25_2565.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_34_2810.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_43_1662.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_49_3767.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_52_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":["1402094860","1402094854","1402094856","1402094859","1402094858","1402094857"],"photo_ids_order":["1402094854","1402094856","1402094857","1402094858","1402094859","1402094860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5bb1a5f4d5f5f26a28aee8ed41f42c6.jpg","text":"TemporaryFile(/tmp/multipartBody2391819771411754602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316603802,"filename":"image_04112025_21_33_52_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/2/9fa901edc82b2609918094ef925a22b7.jpg","text":"TemporaryFile(/tmp/multipartBody6781344160204353907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316603802,"filename":"image_04112025_21_33_22_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef1c81e44bf4ff014b17eaf9b49bb274.jpg","text":"TemporaryFile(/tmp/multipartBody6839135448213159103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316603802,"filename":"image_04112025_21_33_25_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e6bca0e2b2eb545c091760d03137ebf3.jpg","text":"TemporaryFile(/tmp/multipartBody8195217882784173670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316603802,"filename":"image_04112025_21_33_49_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/2/88eb2e643dbb16d928694dd2ce34cbb8.jpg","text":"TemporaryFile(/tmp/multipartBody8222523133551864592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316603802,"filename":"image_04112025_21_33_43_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/2/06dbcd0424c26474178b2dfbb1e008e5.jpg","text":"TemporaryFile(/tmp/multipartBody148456964176226418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316603802,"filename":"image_04112025_21_33_34_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094857","file1":"1402094856","file0":"1402094854","file4":"1402094859","file5":"1402094860","file3":"1402094858"},"map_files_photo_id_array":[{"photo_id":"1402094860","filename":"file5"},{"photo_id":"1402094857","filename":"file2"},{"photo_id":"1402094859","filename":"file4"},{"photo_id":"1402094856","filename":"file1"},{"photo_id":"1402094854","filename":"file0"},{"photo_id":"1402094858","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094860":["hashtag1","hashtag2"]},{"1402094854":["hashtag1","hashtag2"]},{"1402094856":["hashtag1","hashtag2"]},{"1402094859":["hashtag1","hashtag2"]},{"1402094858":["hashtag1","hashtag2"]},{"1402094857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094860, 1402094854, 1402094856, 1402094859, 1402094858, 1402094857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28987145423889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:16:22.165845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/42/image_02012026_01_43_05_9894.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_14_9639.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_25_10652.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_35_9748.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_45_9801.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_43_05_9894.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_14_9639.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_25_10652.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_35_9748.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_45_9801.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_54_9754.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5286359786987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:16:33.726808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_55_2676.jpg', '/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_58_2713.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_04_2775.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_07_2634.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_09_2707.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_13_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_55_2676.jpg
/home/pi/Desktop/images/04112025/21/33/image_04112025_21_33_58_2713.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_04_2775.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_07_2634.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_09_2707.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_13_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094877","1402094870","1402094873","1402094867","1402094876","1402094875"],"photo_ids_order":["1402094867","1402094870","1402094873","1402094875","1402094876","1402094877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f2f1ec74cda5c10d13afde9dfcfae72.jpg","text":"TemporaryFile(/tmp/multipartBody4984440263537366614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316655557,"filename":"image_04112025_21_34_13_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/2/51ee05dcaf1f93f908bcda53a4a50fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3321289536850192839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316655557,"filename":"image_04112025_21_33_58_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/2/4dde04e1270cd46d4efe902e3ec0aa4d.jpg","text":"TemporaryFile(/tmp/multipartBody4110550990060499821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316655557,"filename":"image_04112025_21_34_04_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/2/eb2508396d1c4b5e97c33461f888a040.jpg","text":"TemporaryFile(/tmp/multipartBody7616692045470263448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316655557,"filename":"image_04112025_21_33_55_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/2/125c7c83f375b1a1696bdd5305081228.jpg","text":"TemporaryFile(/tmp/multipartBody8088498368011277109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316655557,"filename":"image_04112025_21_34_09_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/2/422b63f615846be9afc3f6d74bb9b5eb.jpg","text":"TemporaryFile(/tmp/multipartBody3456873715492014704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316655557,"filename":"image_04112025_21_34_07_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094873","file1":"1402094870","file0":"1402094867","file4":"1402094876","file5":"1402094877","file3":"1402094875"},"map_files_photo_id_array":[{"photo_id":"1402094877","filename":"file5"},{"photo_id":"1402094873","filename":"file2"},{"photo_id":"1402094876","filename":"file4"},{"photo_id":"1402094870","filename":"file1"},{"photo_id":"1402094867","filename":"file0"},{"photo_id":"1402094875","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094877":["hashtag1","hashtag2"]},{"1402094870":["hashtag1","hashtag2"]},{"1402094873":["hashtag1","hashtag2"]},{"1402094867":["hashtag1","hashtag2"]},{"1402094876":["hashtag1","hashtag2"]},{"1402094875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094877, 1402094870, 1402094873, 1402094867, 1402094876, 1402094875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78189301490784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:17:12.236065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_22_2668.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_25_2638.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_34_8868.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_46_1732.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_49_1785.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_52_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_22_2668.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_25_2638.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_34_8868.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_46_1732.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_49_1785.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_52_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094883","1402094885","1402094879","1402094881","1402094878","1402094887"],"photo_ids_order":["1402094878","1402094879","1402094881","1402094883","1402094885","1402094887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ca890208dd30f0eb3d55718c602d07b.jpg","text":"TemporaryFile(/tmp/multipartBody6379483178152428225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316693973,"filename":"image_04112025_21_34_46_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/2/8a92f3be9ed0aa7624c98efa4b08cb7e.jpg","text":"TemporaryFile(/tmp/multipartBody2695006499662164074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316693973,"filename":"image_04112025_21_34_49_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/2/2015d525063a01a82afcc1d00e1a42cd.jpg","text":"TemporaryFile(/tmp/multipartBody6725338134278699704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316693973,"filename":"image_04112025_21_34_25_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/2/1dad3f8839222282fd2a94539c4d6ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6820715007437006937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316693973,"filename":"image_04112025_21_34_34_8868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f0c94ce1f0df1c1ee4b95efb568f32f.jpg","text":"TemporaryFile(/tmp/multipartBody3606986229951121527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316693973,"filename":"image_04112025_21_34_22_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/2/abc7e7a84066a72a27f21b23fc490bdf.jpg","text":"TemporaryFile(/tmp/multipartBody170585213082789170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316693973,"filename":"image_04112025_21_34_52_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094881","file1":"1402094879","file0":"1402094878","file4":"1402094885","file5":"1402094887","file3":"1402094883"},"map_files_photo_id_array":[{"photo_id":"1402094887","filename":"file5"},{"photo_id":"1402094881","filename":"file2"},{"photo_id":"1402094885","filename":"file4"},{"photo_id":"1402094879","filename":"file1"},{"photo_id":"1402094878","filename":"file0"},{"photo_id":"1402094883","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094883":["hashtag1","hashtag2"]},{"1402094885":["hashtag1","hashtag2"]},{"1402094879":["hashtag1","hashtag2"]},{"1402094881":["hashtag1","hashtag2"]},{"1402094878":["hashtag1","hashtag2"]},{"1402094887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094883, 1402094885, 1402094879, 1402094881, 1402094878, 1402094887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28546738624573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:18:02.955426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/42/image_02012026_01_43_05_9894.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_14_9639.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_25_10652.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_35_9748.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_45_9801.jpg', '/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/42/image_02012026_01_43_05_9894.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_14_9639.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_25_10652.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_35_9748.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_45_9801.jpg
/home/pi/Desktop/images/02012026/01/43/image_02012026_01_43_54_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094892","1402094895","1402094897","1402094891","1402094894","1402094893"],"photo_ids_order":["1402094891","1402094892","1402094893","1402094894","1402094895","1402094897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ccfc134cf05b49efee19a52c8065b04.jpg","text":"TemporaryFile(/tmp/multipartBody411382799680825206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316743614,"filename":"image_02012026_01_43_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/2/383742fefd6f7b3af4a0f4fbc86d894b.jpg","text":"TemporaryFile(/tmp/multipartBody4610937072590549926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316743614,"filename":"image_02012026_01_43_45_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/2/6f49476cdd882924f5d25557a02980ec.jpg","text":"TemporaryFile(/tmp/multipartBody5672805411015641585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316743614,"filename":"image_02012026_01_43_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/2/9b9eff06f27f9039af28c044e942bf23.jpg","text":"TemporaryFile(/tmp/multipartBody140574774539102161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316743614,"filename":"image_02012026_01_43_05_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/2/cd366530c5169c26642f2eb7d67ebc80.jpg","text":"TemporaryFile(/tmp/multipartBody5083515790888501281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316743614,"filename":"image_02012026_01_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/2/681b87b8440586fcdde9bf4d21df8041.jpg","text":"TemporaryFile(/tmp/multipartBody1225065295856074168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316743614,"filename":"image_02012026_01_43_25_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094893","file1":"1402094892","file0":"1402094891","file4":"1402094895","file5":"1402094897","file3":"1402094894"},"map_files_photo_id_array":[{"photo_id":"1402094897","filename":"file5"},{"photo_id":"1402094893","filename":"file2"},{"photo_id":"1402094895","filename":"file4"},{"photo_id":"1402094892","filename":"file1"},{"photo_id":"1402094891","filename":"file0"},{"photo_id":"1402094894","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094892":["hashtag1","hashtag2"]},{"1402094895":["hashtag1","hashtag2"]},{"1402094897":["hashtag1","hashtag2"]},{"1402094891":["hashtag1","hashtag2"]},{"1402094894":["hashtag1","hashtag2"]},{"1402094893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094892, 1402094895, 1402094897, 1402094891, 1402094894, 1402094893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9082670211792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:18:42.550884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/34/image_04112025_21_34_58_2853.jpg', '/home/pi/Desktop/images/04112025/21/34/image_04112025_21_35_00_2648.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_04_3792.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_22_2678.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_25_3571.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_36_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/21/34/image_04112025_21_34_58_2853.jpg
/home/pi/Desktop/images/04112025/21/34/image_04112025_21_35_00_2648.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_04_3792.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_22_2678.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_25_3571.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_36_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":["1402094908","1402094902","1402094905","1402094904","1402094907","1402094906"],"photo_ids_order":["1402094902","1402094904","1402094905","1402094906","1402094907","1402094908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82eb486dc51f7d2716d4a899b3c18172.jpg","text":"TemporaryFile(/tmp/multipartBody3625027298896186852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316784363,"filename":"image_04112025_21_35_36_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/2/a964ebe36e91dbc1d5f39c302bf07ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3647566513239825381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316784363,"filename":"image_04112025_21_34_58_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/2/2d50dbbe4445472a575f95ae2fb2f7a1.jpg","text":"TemporaryFile(/tmp/multipartBody6114774119795385462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316784363,"filename":"image_04112025_21_35_04_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/2/53c021e98eace66027868b28d6f53d37.jpg","text":"TemporaryFile(/tmp/multipartBody6606478518835410303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316784363,"filename":"image_04112025_21_35_00_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/2/a4486e82767c7fb346d2977feea12dec.jpg","text":"TemporaryFile(/tmp/multipartBody1774732859134998631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316784363,"filename":"image_04112025_21_35_25_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c85d0bea5930e0f8b8624ab813638483.jpg","text":"TemporaryFile(/tmp/multipartBody3893179670515713916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316784363,"filename":"image_04112025_21_35_22_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094905","file1":"1402094904","file0":"1402094902","file4":"1402094907","file5":"1402094908","file3":"1402094906"},"map_files_photo_id_array":[{"photo_id":"1402094908","filename":"file5"},{"photo_id":"1402094905","filename":"file2"},{"photo_id":"1402094907","filename":"file4"},{"photo_id":"1402094904","filename":"file1"},{"photo_id":"1402094902","filename":"file0"},{"photo_id":"1402094906","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094908":["hashtag1","hashtag2"]},{"1402094902":["hashtag1","hashtag2"]},{"1402094905":["hashtag1","hashtag2"]},{"1402094904":["hashtag1","hashtag2"]},{"1402094907":["hashtag1","hashtag2"]},{"1402094906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094908, 1402094902, 1402094905, 1402094904, 1402094907, 1402094906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98812508583069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:19:22.694474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/44/image_02012026_01_44_34_9715.jpg', '/home/pi/Desktop/images/02012026/01/44/image_02012026_01_44_45_10686.jpg', '/home/pi/Desktop/images/02012026/01/44/image_02012026_01_44_55_9772.jpg', '/home/pi/Desktop/images/02012026/01/44/image_02012026_01_45_05_9715.jpg', '/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_14_9690.jpg', '/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_25_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/44/image_02012026_01_44_34_9715.jpg
/home/pi/Desktop/images/02012026/01/44/image_02012026_01_44_45_10686.jpg
/home/pi/Desktop/images/02012026/01/44/image_02012026_01_44_55_9772.jpg
/home/pi/Desktop/images/02012026/01/44/image_02012026_01_45_05_9715.jpg
/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_14_9690.jpg
/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_25_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":["1402094917","1402094919","1402094910","1402094913","1402094915","1402094912"],"photo_ids_order":["1402094910","1402094912","1402094913","1402094915","1402094917","1402094919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/415da4f3a8f148c4d78f4498caebd052.jpg","text":"TemporaryFile(/tmp/multipartBody539287769903174312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316823256,"filename":"image_02012026_01_45_14_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/2/09270f005f94eed30cf48f0f01b0952c.jpg","text":"TemporaryFile(/tmp/multipartBody4233630408392678734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316823256,"filename":"image_02012026_01_45_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/2/dd9c49e3a5281eac395d20cc44f8d055.jpg","text":"TemporaryFile(/tmp/multipartBody2976972131362582301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316823256,"filename":"image_02012026_01_44_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/2/b806bf238730d7f12e1812d1f203d7f3.jpg","text":"TemporaryFile(/tmp/multipartBody3909486525131042383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316823256,"filename":"image_02012026_01_44_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/2/56bf83cd7b3589f2d1a54efbd7dc25d3.jpg","text":"TemporaryFile(/tmp/multipartBody2928013383890442283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316823256,"filename":"image_02012026_01_45_05_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/2/266477339aff7a4e4a4d6ab7c5278db4.jpg","text":"TemporaryFile(/tmp/multipartBody8068971847796633916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316823256,"filename":"image_02012026_01_44_45_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094913","file1":"1402094912","file0":"1402094910","file4":"1402094917","file5":"1402094919","file3":"1402094915"},"map_files_photo_id_array":[{"photo_id":"1402094919","filename":"file5"},{"photo_id":"1402094913","filename":"file2"},{"photo_id":"1402094917","filename":"file4"},{"photo_id":"1402094912","filename":"file1"},{"photo_id":"1402094910","filename":"file0"},{"photo_id":"1402094915","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094917":["hashtag1","hashtag2"]},{"1402094919":["hashtag1","hashtag2"]},{"1402094910":["hashtag1","hashtag2"]},{"1402094913":["hashtag1","hashtag2"]},{"1402094915":["hashtag1","hashtag2"]},{"1402094912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094917, 1402094919, 1402094910, 1402094913, 1402094915, 1402094912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1280243396759 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-02 02:20:12.472967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_43_7214.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_45_1682.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_47_1614.jpg', '/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_50_1755.jpg', '/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_07_3565.jpg', '/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_13_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_43_7214.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_45_1682.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_47_1614.jpg
/home/pi/Desktop/images/04112025/21/35/image_04112025_21_35_50_1755.jpg
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_07_3565.jpg
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_13_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094926","1402094922","1402094928","1402094921","1402094930","1402094924"],"photo_ids_order":["1402094921","1402094922","1402094924","1402094926","1402094928","1402094930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c44a5f6b79d26ec7152601b25decc8e7.jpg","text":"TemporaryFile(/tmp/multipartBody5186337858501113456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316874166,"filename":"image_04112025_21_35_50_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/2/6e29749f85a3c3803f495cecbdef8ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6814476373496991804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316874166,"filename":"image_04112025_21_35_45_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/2/a432493a96510e7ee93d55ad8316a62c.jpg","text":"TemporaryFile(/tmp/multipartBody7175261981718629712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316874166,"filename":"image_04112025_21_36_07_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/2/60b4b08ddb7c882dc38515e7722d6e97.jpg","text":"TemporaryFile(/tmp/multipartBody8184500817323631938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316874166,"filename":"image_04112025_21_35_43_7214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c09ac45aece603c237c9bffcabc7b33b.jpg","text":"TemporaryFile(/tmp/multipartBody93295878470795884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316874166,"filename":"image_04112025_21_36_13_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/2/8cceee4fb35005b74a7e53652c22d7ac.jpg","text":"TemporaryFile(/tmp/multipartBody3005480100346934140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316874166,"filename":"image_04112025_21_35_47_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094924","file1":"1402094922","file0":"1402094921","file4":"1402094928","file5":"1402094930","file3":"1402094926"},"map_files_photo_id_array":[{"photo_id":"1402094930","filename":"file5"},{"photo_id":"1402094924","filename":"file2"},{"photo_id":"1402094928","filename":"file4"},{"photo_id":"1402094922","filename":"file1"},{"photo_id":"1402094921","filename":"file0"},{"photo_id":"1402094926","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094926":["hashtag1","hashtag2"]},{"1402094922":["hashtag1","hashtag2"]},{"1402094928":["hashtag1","hashtag2"]},{"1402094921":["hashtag1","hashtag2"]},{"1402094930":["hashtag1","hashtag2"]},{"1402094924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094926, 1402094922, 1402094928, 1402094921, 1402094930, 1402094924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.258405923843384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:21:03.452854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_35_9555.jpg', '/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_45_10676.jpg', '/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_55_9734.jpg', '/home/pi/Desktop/images/02012026/01/45/image_02012026_01_46_05_9582.jpg', '/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_15_10720.jpg', '/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_25_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_35_9555.jpg
/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_45_10676.jpg
/home/pi/Desktop/images/02012026/01/45/image_02012026_01_45_55_9734.jpg
/home/pi/Desktop/images/02012026/01/45/image_02012026_01_46_05_9582.jpg
/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_15_10720.jpg
/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_25_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094935","1402094940","1402094934","1402094937","1402094936","1402094938"],"photo_ids_order":["1402094934","1402094935","1402094936","1402094937","1402094938","1402094940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8bf903108c238a063f3ad5a18d8328a5.jpg","text":"TemporaryFile(/tmp/multipartBody5449645486060661034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316924121,"filename":"image_02012026_01_45_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/2/a8c6318711f136296f6d4fe16aa1bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody1650301664122148324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316924121,"filename":"image_02012026_01_46_25_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/2/d7bb8a10b28d7092d8bf14c151f20df5.jpg","text":"TemporaryFile(/tmp/multipartBody2847603490839345048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316924121,"filename":"image_02012026_01_45_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/14bc8c67b52dcc36336a82220a3f5b21.jpg","text":"TemporaryFile(/tmp/multipartBody1959069149511204963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316924121,"filename":"image_02012026_01_46_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/2/e142bfb7acb393b7646083bd077c79f1.jpg","text":"TemporaryFile(/tmp/multipartBody5232694467714061997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316924121,"filename":"image_02012026_01_45_55_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/2/5cb14141ffe22414ad474937384bf1bb.jpg","text":"TemporaryFile(/tmp/multipartBody9172153952409978512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316924121,"filename":"image_02012026_01_46_15_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094936","file1":"1402094935","file0":"1402094934","file4":"1402094938","file5":"1402094940","file3":"1402094937"},"map_files_photo_id_array":[{"photo_id":"1402094940","filename":"file5"},{"photo_id":"1402094936","filename":"file2"},{"photo_id":"1402094938","filename":"file4"},{"photo_id":"1402094935","filename":"file1"},{"photo_id":"1402094934","filename":"file0"},{"photo_id":"1402094937","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094935":["hashtag1","hashtag2"]},{"1402094940":["hashtag1","hashtag2"]},{"1402094934":["hashtag1","hashtag2"]},{"1402094937":["hashtag1","hashtag2"]},{"1402094936":["hashtag1","hashtag2"]},{"1402094938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094935, 1402094940, 1402094934, 1402094937, 1402094936, 1402094938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83137512207031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:21:42.748973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_15_2806.jpg', '/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_22_2710.jpg', '/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_33_11172.jpg', '/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_35_1652.jpg', '/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_38_1552.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_03_24894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_15_2806.jpg
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_22_2710.jpg
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_33_11172.jpg
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_35_1652.jpg
/home/pi/Desktop/images/04112025/21/36/image_04112025_21_36_38_1552.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_03_24894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094947","1402094952","1402094949","1402094945","1402094948","1402094950"],"photo_ids_order":["1402094945","1402094947","1402094948","1402094949","1402094950","1402094952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6682985cf818437ac7a6fa4f8e7ba7e3.jpg","text":"TemporaryFile(/tmp/multipartBody7467563586049521404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316964567,"filename":"image_04112025_21_36_22_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/2/ef58368bb8dcd7cc1d94ebac14c68b70.jpg","text":"TemporaryFile(/tmp/multipartBody6635633296519789577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316964567,"filename":"image_04112025_21_37_03_24894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec9bd61b777d14c9d6fb5166a895a476.jpg","text":"TemporaryFile(/tmp/multipartBody6920974388426220591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316964567,"filename":"image_04112025_21_36_35_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/2/02a0cd453ee0a4ac1566af8558c93181.jpg","text":"TemporaryFile(/tmp/multipartBody770402138406792094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316964567,"filename":"image_04112025_21_36_15_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/2/0e24a2a25ab053047bb5b965096af546.jpg","text":"TemporaryFile(/tmp/multipartBody7730322026751609527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316964567,"filename":"image_04112025_21_36_33_11172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/754f5ed3308f1df55539325ee664fa23.jpg","text":"TemporaryFile(/tmp/multipartBody3778278701930996274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767316964567,"filename":"image_04112025_21_36_38_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094948","file1":"1402094947","file0":"1402094945","file4":"1402094950","file5":"1402094952","file3":"1402094949"},"map_files_photo_id_array":[{"photo_id":"1402094952","filename":"file5"},{"photo_id":"1402094948","filename":"file2"},{"photo_id":"1402094950","filename":"file4"},{"photo_id":"1402094947","filename":"file1"},{"photo_id":"1402094945","filename":"file0"},{"photo_id":"1402094949","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402094947":["hashtag1","hashtag2"]},{"1402094952":["hashtag1","hashtag2"]},{"1402094949":["hashtag1","hashtag2"]},{"1402094945":["hashtag1","hashtag2"]},{"1402094948":["hashtag1","hashtag2"]},{"1402094950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402094947, 1402094952, 1402094949, 1402094945, 1402094948, 1402094950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29760527610779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:22:21.942889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_34_9461.jpg', '/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_45_10586.jpg', '/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_55_9644.jpg', '/home/pi/Desktop/images/02012026/01/46/image_02012026_01_47_05_10565.jpg', '/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_15_9956.jpg', '/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_25_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_34_9461.jpg
/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_45_10586.jpg
/home/pi/Desktop/images/02012026/01/46/image_02012026_01_46_55_9644.jpg
/home/pi/Desktop/images/02012026/01/46/image_02012026_01_47_05_10565.jpg
/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_15_9956.jpg
/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_25_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":["1402094953","1402094958","1402094963","1402094960","1402094954","1402094956"],"photo_ids_order":["1402094953","1402094954","1402094956","1402094958","1402094960","1402094963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/01642441f0b5894cafa09e9f2973a9a6.jpg","text":"TemporaryFile(/tmp/multipartBody8767502669956656555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317002542,"filename":"image_02012026_01_46_34_9461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88ebea1083ec552ac393c572adc6d079.jpg","text":"TemporaryFile(/tmp/multipartBody1134132851165209135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317002542,"filename":"image_02012026_01_47_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/2/83c14481bfe55fe0e83fcd2e6f0fed84.jpg","text":"TemporaryFile(/tmp/multipartBody1887192429557025051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317002542,"filename":"image_02012026_01_47_25_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/2/d6d20f27567fc8366caaf9b134fda388.jpg","text":"TemporaryFile(/tmp/multipartBody5082653239084598104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317002542,"filename":"image_02012026_01_47_15_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/2/30f82f229beb7d1283d82f220e32551e.jpg","text":"TemporaryFile(/tmp/multipartBody7311884191496736539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317002542,"filename":"image_02012026_01_46_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/2/be5898d0fcff5300dcc852472c8523f7.jpg","text":"TemporaryFile(/tmp/multipartBody1519507384238006064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317002542,"filename":"image_02012026_01_46_55_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094956","file1":"1402094954","file0":"1402094953","file4":"1402094960","file5":"1402094963","file3":"1402094958"},"map_files_photo_id_array":[{"photo_id":"1402094963","filename":"file5"},{"photo_id":"1402094956","filename":"file2"},{"photo_id":"1402094960","filename":"file4"},{"photo_id":"1402094954","filename":"file1"},{"photo_id":"1402094953","filename":"file0"},{"photo_id":"1402094958","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094953":["hashtag1","hashtag2"]},{"1402094958":["hashtag1","hashtag2"]},{"1402094963":["hashtag1","hashtag2"]},{"1402094960":["hashtag1","hashtag2"]},{"1402094954":["hashtag1","hashtag2"]},{"1402094956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094953, 1402094958, 1402094963, 1402094960, 1402094954, 1402094956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53817892074585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:23:02.865596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_45_9610.jpg', '/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_54_9610.jpg', '/home/pi/Desktop/images/02012026/01/47/image_02012026_01_48_05_10652.jpg', '/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_15_9799.jpg', '/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_25_9806.jpg', '/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_35_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_45_9610.jpg
/home/pi/Desktop/images/02012026/01/47/image_02012026_01_47_54_9610.jpg
/home/pi/Desktop/images/02012026/01/47/image_02012026_01_48_05_10652.jpg
/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_15_9799.jpg
/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_25_9806.jpg
/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_35_10543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094973","1402094976","1402094972","1402094969","1402094974","1402094971"],"photo_ids_order":["1402094969","1402094971","1402094972","1402094973","1402094974","1402094976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52b921efeaf39810879a1eba32dbcd97.jpg","text":"TemporaryFile(/tmp/multipartBody3373173010933195630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317043535,"filename":"image_02012026_01_48_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/2/1616ecb422e39f7a11dbfd3f7952d9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3550080336810707888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317043535,"filename":"image_02012026_01_48_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/2/cf1e48366a7d651a80a23401095eb3e8.jpg","text":"TemporaryFile(/tmp/multipartBody6367631935337745524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317043535,"filename":"image_02012026_01_48_05_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/2/b14b533b985c069ef9f226d656d058ea.jpg","text":"TemporaryFile(/tmp/multipartBody7136908775721166217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317043535,"filename":"image_02012026_01_47_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/2/119afe877f37b105d3b9d794c91512cd.jpg","text":"TemporaryFile(/tmp/multipartBody4150165893914282310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317043535,"filename":"image_02012026_01_48_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/2/947be9dd6f4c7d41b5bf4b4223df271d.jpg","text":"TemporaryFile(/tmp/multipartBody7286995260745855694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317043535,"filename":"image_02012026_01_47_54_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094972","file1":"1402094971","file0":"1402094969","file4":"1402094974","file5":"1402094976","file3":"1402094973"},"map_files_photo_id_array":[{"photo_id":"1402094976","filename":"file5"},{"photo_id":"1402094972","filename":"file2"},{"photo_id":"1402094974","filename":"file4"},{"photo_id":"1402094971","filename":"file1"},{"photo_id":"1402094969","filename":"file0"},{"photo_id":"1402094973","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094973":["hashtag1","hashtag2"]},{"1402094976":["hashtag1","hashtag2"]},{"1402094972":["hashtag1","hashtag2"]},{"1402094969":["hashtag1","hashtag2"]},{"1402094974":["hashtag1","hashtag2"]},{"1402094971":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094973, 1402094976, 1402094972, 1402094969, 1402094974, 1402094971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34456276893616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:23:42.146446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_06_1798.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_11_1597.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_17_1820.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_18_1735.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_20_1746.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_27_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/21/37/image_04112025_21_37_06_1798.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_11_1597.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_17_1820.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_18_1735.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_20_1746.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_27_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.7520267963409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:24:02.979727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_45_9610.jpg', '/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_55_9843.jpg', '/home/pi/Desktop/images/02012026/01/48/image_02012026_01_49_05_10553.jpg', '/home/pi/Desktop/images/02012026/01/49/image_02012026_01_49_25_9580.jpg', '/home/pi/Desktop/images/02012026/01/49/image_02012026_01_49_35_10673.jpg', '/home/pi/Desktop/images/02012026/01/49/image_02012026_01_49_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_45_9610.jpg
/home/pi/Desktop/images/02012026/01/48/image_02012026_01_48_55_9843.jpg
/home/pi/Desktop/images/02012026/01/48/image_02012026_01_49_05_10553.jpg
/home/pi/Desktop/images/02012026/01/49/image_02012026_01_49_25_9580.jpg
/home/pi/Desktop/images/02012026/01/49/image_02012026_01_49_35_10673.jpg
/home/pi/Desktop/images/02012026/01/49/image_02012026_01_49_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402094991","1402094990","1402094993","1402094992","1402094995","1402094989"],"photo_ids_order":["1402094989","1402094990","1402094991","1402094992","1402094993","1402094995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/03867f11a436b6d7f4c410b3a5b78ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8725672131727398083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317103642,"filename":"image_02012026_01_49_05_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/2/09b6fe612a783eaef2269c9702eac05c.jpg","text":"TemporaryFile(/tmp/multipartBody7522291582586395314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317103642,"filename":"image_02012026_01_48_55_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/2/cccba7211ad021df461adc3014c6ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody6606164485669794396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317103642,"filename":"image_02012026_01_49_35_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/2/f57705b5d5993cbdc23aadee6785ab66.jpg","text":"TemporaryFile(/tmp/multipartBody3973858052152500761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317103642,"filename":"image_02012026_01_49_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/2/48472b39bb26bc539eaf5d86f72d5e80.jpg","text":"TemporaryFile(/tmp/multipartBody903901405122202673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317103642,"filename":"image_02012026_01_49_45_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/2/0ffaa6036a921532381f678ed582df5e.jpg","text":"TemporaryFile(/tmp/multipartBody3741184538802664035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317103642,"filename":"image_02012026_01_48_45_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402094991","file1":"1402094990","file0":"1402094989","file4":"1402094993","file5":"1402094995","file3":"1402094992"},"map_files_photo_id_array":[{"photo_id":"1402094995","filename":"file5"},{"photo_id":"1402094991","filename":"file2"},{"photo_id":"1402094993","filename":"file4"},{"photo_id":"1402094990","filename":"file1"},{"photo_id":"1402094989","filename":"file0"},{"photo_id":"1402094992","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402094991":["hashtag1","hashtag2"]},{"1402094990":["hashtag1","hashtag2"]},{"1402094993":["hashtag1","hashtag2"]},{"1402094992":["hashtag1","hashtag2"]},{"1402094995":["hashtag1","hashtag2"]},{"1402094989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402094991, 1402094990, 1402094993, 1402094992, 1402094995, 1402094989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.283366441726685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:24:42.315488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_06_1798.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_11_1597.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_17_1820.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_18_1735.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_20_1746.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_27_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/21/37/image_04112025_21_37_06_1798.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_11_1597.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_17_1820.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_18_1735.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_20_1746.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_27_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":["1402095004","1402095003","1402095006","1402095000","1402095002","1402095005"],"photo_ids_order":["1402095000","1402095002","1402095003","1402095004","1402095005","1402095006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f05f2e031bb555c191c7b76a17aa9a7d.jpg","text":"TemporaryFile(/tmp/multipartBody5859630338410666255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317143973,"filename":"image_04112025_21_37_18_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/2/69eea703b07974903da1bde2f4dd37fa.jpg","text":"TemporaryFile(/tmp/multipartBody8022259399032558651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317143973,"filename":"image_04112025_21_37_17_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/2/186cf4afeb20eda5653882cf5a1ff95d.jpg","text":"TemporaryFile(/tmp/multipartBody3281283402033816949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317143973,"filename":"image_04112025_21_37_27_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/2/1e493d21f661d3fc7a7714c1730d6908.jpg","text":"TemporaryFile(/tmp/multipartBody8493455675692958779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317143973,"filename":"image_04112025_21_37_06_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/2/a30ae2bf79e8dd61c670114f3935f51d.jpg","text":"TemporaryFile(/tmp/multipartBody72445011296086589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317143973,"filename":"image_04112025_21_37_11_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/2/c38ad385972c36050ebab0e79f4b8a80.jpg","text":"TemporaryFile(/tmp/multipartBody4920474744767144831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317143973,"filename":"image_04112025_21_37_20_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095003","file1":"1402095002","file0":"1402095000","file4":"1402095005","file5":"1402095006","file3":"1402095004"},"map_files_photo_id_array":[{"photo_id":"1402095006","filename":"file5"},{"photo_id":"1402095003","filename":"file2"},{"photo_id":"1402095005","filename":"file4"},{"photo_id":"1402095002","filename":"file1"},{"photo_id":"1402095000","filename":"file0"},{"photo_id":"1402095004","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095004":["hashtag1","hashtag2"]},{"1402095003":["hashtag1","hashtag2"]},{"1402095006":["hashtag1","hashtag2"]},{"1402095000":["hashtag1","hashtag2"]},{"1402095002":["hashtag1","hashtag2"]},{"1402095005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095004, 1402095003, 1402095006, 1402095000, 1402095002, 1402095005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30134987831116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:25:22.390975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/49/image_02012026_01_50_04_9739.jpg', '/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_25_9790.jpg', '/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_35_9741.jpg', '/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_45_10533.jpg', '/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_55_9653.jpg', '/home/pi/Desktop/images/02012026/01/50/image_02012026_01_51_05_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/49/image_02012026_01_50_04_9739.jpg
/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_25_9790.jpg
/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_35_9741.jpg
/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_45_10533.jpg
/home/pi/Desktop/images/02012026/01/50/image_02012026_01_50_55_9653.jpg
/home/pi/Desktop/images/02012026/01/50/image_02012026_01_51_05_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":["1402095015","1402095018","1402095012","1402095009","1402095014","1402095007"],"photo_ids_order":["1402095007","1402095009","1402095012","1402095014","1402095015","1402095018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/06ffd3b3fe50f4727c1c17e9c2527f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4373194507369910873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317183003,"filename":"image_02012026_01_50_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/2/0c2bd682863e33108e9dd6c18c80fc3a.jpg","text":"TemporaryFile(/tmp/multipartBody1267148042936477697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317183003,"filename":"image_02012026_01_51_05_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/2/a568a4ea09ef84529d96fc449211ad50.jpg","text":"TemporaryFile(/tmp/multipartBody3946577119163662511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317183003,"filename":"image_02012026_01_50_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/2/003805afdbd950a439108a2f2e16c344.jpg","text":"TemporaryFile(/tmp/multipartBody2947325712638923623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317183003,"filename":"image_02012026_01_50_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/2/e6f552ccf780b19707d34dd2e0f832f7.jpg","text":"TemporaryFile(/tmp/multipartBody5339463846932679298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317183003,"filename":"image_02012026_01_50_45_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/2/5b9596584d353b953f5c7d013e268580.jpg","text":"TemporaryFile(/tmp/multipartBody3372752382833293577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317183003,"filename":"image_02012026_01_50_04_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095012","file1":"1402095009","file0":"1402095007","file4":"1402095015","file5":"1402095018","file3":"1402095014"},"map_files_photo_id_array":[{"photo_id":"1402095018","filename":"file5"},{"photo_id":"1402095012","filename":"file2"},{"photo_id":"1402095015","filename":"file4"},{"photo_id":"1402095009","filename":"file1"},{"photo_id":"1402095007","filename":"file0"},{"photo_id":"1402095014","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095015":["hashtag1","hashtag2"]},{"1402095018":["hashtag1","hashtag2"]},{"1402095012":["hashtag1","hashtag2"]},{"1402095009":["hashtag1","hashtag2"]},{"1402095014":["hashtag1","hashtag2"]},{"1402095007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095015, 1402095018, 1402095012, 1402095009, 1402095014, 1402095007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50657510757446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:26:03.098097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_14_9905.jpg', '/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_25_10666.jpg', '/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_35_9527.jpg', '/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_44_9728.jpg', '/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_55_10620.jpg', '/home/pi/Desktop/images/02012026/01/51/image_02012026_01_52_05_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_14_9905.jpg
/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_25_10666.jpg
/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_35_9527.jpg
/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_44_9728.jpg
/home/pi/Desktop/images/02012026/01/51/image_02012026_01_51_55_10620.jpg
/home/pi/Desktop/images/02012026/01/51/image_02012026_01_52_05_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":["1402095022","1402095021","1402095020","1402095023","1402095025","1402095019"],"photo_ids_order":["1402095019","1402095020","1402095021","1402095022","1402095023","1402095025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f8988a517bcdb28f3ed459719f64e79.jpg","text":"TemporaryFile(/tmp/multipartBody8138390041637944963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317223781,"filename":"image_02012026_01_51_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/2/4e7509e9f075a89c225488b383d289f5.jpg","text":"TemporaryFile(/tmp/multipartBody8958996794225498777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317223781,"filename":"image_02012026_01_51_35_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/2/7c299cb84966648f3d545a1987f4b168.jpg","text":"TemporaryFile(/tmp/multipartBody2647653963771296146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317223781,"filename":"image_02012026_01_51_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/2/fd9cbba6f40e708386656b48f7c11210.jpg","text":"TemporaryFile(/tmp/multipartBody5898776927768671839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317223781,"filename":"image_02012026_01_51_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/2/3df65388116d891db7b847c6efa0110d.jpg","text":"TemporaryFile(/tmp/multipartBody8671072885771648461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317223781,"filename":"image_02012026_01_52_05_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/2/102c11e8daefe047cbeae327347d7b22.jpg","text":"TemporaryFile(/tmp/multipartBody8662235578072107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317223781,"filename":"image_02012026_01_51_14_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095021","file1":"1402095020","file0":"1402095019","file4":"1402095023","file5":"1402095025","file3":"1402095022"},"map_files_photo_id_array":[{"photo_id":"1402095025","filename":"file5"},{"photo_id":"1402095021","filename":"file2"},{"photo_id":"1402095023","filename":"file4"},{"photo_id":"1402095020","filename":"file1"},{"photo_id":"1402095019","filename":"file0"},{"photo_id":"1402095022","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095022":["hashtag1","hashtag2"]},{"1402095021":["hashtag1","hashtag2"]},{"1402095020":["hashtag1","hashtag2"]},{"1402095023":["hashtag1","hashtag2"]},{"1402095025":["hashtag1","hashtag2"]},{"1402095019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095022, 1402095021, 1402095020, 1402095023, 1402095025, 1402095019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52705216407776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:26:42.535362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_30_1785.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_37_1609.jpg', '/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_39_2806.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_10_27196.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_12_1561.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_15_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/21/37/image_04112025_21_37_30_1785.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_37_1609.jpg
/home/pi/Desktop/images/04112025/21/37/image_04112025_21_37_39_2806.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_10_27196.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_12_1561.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_15_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":["1402095036","1402095030","1402095035","1402095038","1402095037","1402095034"],"photo_ids_order":["1402095030","1402095034","1402095035","1402095036","1402095037","1402095038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/02c4c916c0a56ccc9f4c26e7f3d25996.jpg","text":"TemporaryFile(/tmp/multipartBody7308812133660571508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317264261,"filename":"image_04112025_21_38_10_27196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a8582c7e586ddc8a8246ead1bad8f5b.jpg","text":"TemporaryFile(/tmp/multipartBody661360306543886640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317264261,"filename":"image_04112025_21_37_30_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/2/d46034e82513032f60283268efa3e11e.jpg","text":"TemporaryFile(/tmp/multipartBody5443971476973927049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317264261,"filename":"image_04112025_21_37_39_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/2/e39b2b3666436c6d3f44681ac269badd.jpg","text":"TemporaryFile(/tmp/multipartBody4013909206598842481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317264261,"filename":"image_04112025_21_38_15_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/2/71e995c80f3ac5c874b607f85c1eb1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4488883057775996614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317264261,"filename":"image_04112025_21_38_12_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/2/b359f42401288b9e621a4cf8d601ff10.jpg","text":"TemporaryFile(/tmp/multipartBody6450045902831753283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317264261,"filename":"image_04112025_21_37_37_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095035","file1":"1402095034","file0":"1402095030","file4":"1402095037","file5":"1402095038","file3":"1402095036"},"map_files_photo_id_array":[{"photo_id":"1402095038","filename":"file5"},{"photo_id":"1402095035","filename":"file2"},{"photo_id":"1402095037","filename":"file4"},{"photo_id":"1402095034","filename":"file1"},{"photo_id":"1402095030","filename":"file0"},{"photo_id":"1402095036","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095036":["hashtag1","hashtag2"]},{"1402095030":["hashtag1","hashtag2"]},{"1402095035":["hashtag1","hashtag2"]},{"1402095038":["hashtag1","hashtag2"]},{"1402095037":["hashtag1","hashtag2"]},{"1402095034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095036, 1402095030, 1402095035, 1402095038, 1402095037, 1402095034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25150942802429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:27:27.116453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_15_9752.jpg', '/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_25_10710.jpg', '/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_35_9621.jpg', '/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_45_10113.jpg', '/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_55_9686.jpg', '/home/pi/Desktop/images/02012026/01/52/image_02012026_01_53_04_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_15_9752.jpg
/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_25_10710.jpg
/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_35_9621.jpg
/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_45_10113.jpg
/home/pi/Desktop/images/02012026/01/52/image_02012026_01_52_55_9686.jpg
/home/pi/Desktop/images/02012026/01/52/image_02012026_01_53_04_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":["1402095048","1402095042","1402095045","1402095047","1402095041","1402095049"],"photo_ids_order":["1402095041","1402095042","1402095045","1402095047","1402095048","1402095049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c69201fca11d160febfbc2bf674199a5.jpg","text":"TemporaryFile(/tmp/multipartBody455878593256974427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317307742,"filename":"image_02012026_01_52_55_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/2/b79c084fe4d8702a2dc7636db0e06340.jpg","text":"TemporaryFile(/tmp/multipartBody6682160606151556996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317307742,"filename":"image_02012026_01_52_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/2/e5325bb1fa298ec31b3d7fca260c8ead.jpg","text":"TemporaryFile(/tmp/multipartBody3344955880166251883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317307742,"filename":"image_02012026_01_52_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/2/cf570856164b852713d2939c27e0e149.jpg","text":"TemporaryFile(/tmp/multipartBody2873656417574991252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317307742,"filename":"image_02012026_01_52_45_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/2/35dc21decf26437b38faf644caf3f2e7.jpg","text":"TemporaryFile(/tmp/multipartBody6221468772680741344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317307742,"filename":"image_02012026_01_52_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/2/697579beecdfde6a6930a52569700936.jpg","text":"TemporaryFile(/tmp/multipartBody8985930772397746054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317307742,"filename":"image_02012026_01_53_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095045","file1":"1402095042","file0":"1402095041","file4":"1402095048","file5":"1402095049","file3":"1402095047"},"map_files_photo_id_array":[{"photo_id":"1402095049","filename":"file5"},{"photo_id":"1402095045","filename":"file2"},{"photo_id":"1402095048","filename":"file4"},{"photo_id":"1402095042","filename":"file1"},{"photo_id":"1402095041","filename":"file0"},{"photo_id":"1402095047","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095048":["hashtag1","hashtag2"]},{"1402095042":["hashtag1","hashtag2"]},{"1402095045":["hashtag1","hashtag2"]},{"1402095047":["hashtag1","hashtag2"]},{"1402095041":["hashtag1","hashtag2"]},{"1402095049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095048, 1402095042, 1402095045, 1402095047, 1402095041, 1402095049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91653323173523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:28:12.355478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_18_3379.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_20_1707.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_25_1708.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_27_1661.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_28_1642.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_32_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/21/38/image_04112025_21_38_18_3379.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_20_1707.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_25_1708.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_27_1661.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_28_1642.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_32_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095051","1402095057","1402095059","1402095050","1402095053","1402095055"],"photo_ids_order":["1402095050","1402095051","1402095053","1402095055","1402095057","1402095059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c3183929104d760c989fd315cddbf89.jpg","text":"TemporaryFile(/tmp/multipartBody6946575660573720352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317354052,"filename":"image_04112025_21_38_20_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/2/da1cca63a8cfd775ac1bbc790c2fb8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4731432782942063336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317354052,"filename":"image_04112025_21_38_28_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/2/9e68471dbda21ce21ed5ef8cd46471ee.jpg","text":"TemporaryFile(/tmp/multipartBody5719608952646367735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317354052,"filename":"image_04112025_21_38_32_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/2/a94430621ef96e12e9b7a4a0058748b9.jpg","text":"TemporaryFile(/tmp/multipartBody9136500540185975155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317354052,"filename":"image_04112025_21_38_18_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/2/134e478a57be1903b550c5e0e0a78f57.jpg","text":"TemporaryFile(/tmp/multipartBody4074416794864520630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317354052,"filename":"image_04112025_21_38_25_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/2/0b30a45560cbb5e8728fcf8a315b4d54.jpg","text":"TemporaryFile(/tmp/multipartBody6267140539913950884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317354052,"filename":"image_04112025_21_38_27_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095053","file1":"1402095051","file0":"1402095050","file4":"1402095057","file5":"1402095059","file3":"1402095055"},"map_files_photo_id_array":[{"photo_id":"1402095059","filename":"file5"},{"photo_id":"1402095053","filename":"file2"},{"photo_id":"1402095057","filename":"file4"},{"photo_id":"1402095051","filename":"file1"},{"photo_id":"1402095050","filename":"file0"},{"photo_id":"1402095055","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095051":["hashtag1","hashtag2"]},{"1402095057":["hashtag1","hashtag2"]},{"1402095059":["hashtag1","hashtag2"]},{"1402095050":["hashtag1","hashtag2"]},{"1402095053":["hashtag1","hashtag2"]},{"1402095055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095051, 1402095057, 1402095059, 1402095050, 1402095053, 1402095055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67160439491272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:29:03.728091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_15_10576.jpg', '/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_25_9647.jpg', '/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_35_10671.jpg', '/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_45_9606.jpg', '/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_55_9604.jpg', '/home/pi/Desktop/images/02012026/01/53/image_02012026_01_54_05_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_15_10576.jpg
/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_25_9647.jpg
/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_35_10671.jpg
/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_45_9606.jpg
/home/pi/Desktop/images/02012026/01/53/image_02012026_01_53_55_9604.jpg
/home/pi/Desktop/images/02012026/01/53/image_02012026_01_54_05_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":["1402095066","1402095069","1402095063","1402095062","1402095065","1402095067"],"photo_ids_order":["1402095062","1402095063","1402095065","1402095066","1402095067","1402095069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66a86d66c24d96587388632bb8cfee13.jpg","text":"TemporaryFile(/tmp/multipartBody3275791828180859038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317404468,"filename":"image_02012026_01_53_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/2/6c0362a06693c81f7ebbae3974d06d27.jpg","text":"TemporaryFile(/tmp/multipartBody5102459794029652308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317404468,"filename":"image_02012026_01_54_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/2/a2a99f1caf7a837515a5c35938fb53e6.jpg","text":"TemporaryFile(/tmp/multipartBody1804055848039636375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317404468,"filename":"image_02012026_01_53_25_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/2/e4fea5ab5724515f69eb3991b5b97517.jpg","text":"TemporaryFile(/tmp/multipartBody2600742547472264781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317404468,"filename":"image_02012026_01_53_15_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/2/bb3739f93659cfdcbf8b82724575046b.jpg","text":"TemporaryFile(/tmp/multipartBody1010480681169667519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317404468,"filename":"image_02012026_01_53_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/2/3feecb602b2f88a8480cf1f8e400a640.jpg","text":"TemporaryFile(/tmp/multipartBody5300986144855770957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317404468,"filename":"image_02012026_01_53_55_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095065","file1":"1402095063","file0":"1402095062","file4":"1402095067","file5":"1402095069","file3":"1402095066"},"map_files_photo_id_array":[{"photo_id":"1402095069","filename":"file5"},{"photo_id":"1402095065","filename":"file2"},{"photo_id":"1402095067","filename":"file4"},{"photo_id":"1402095063","filename":"file1"},{"photo_id":"1402095062","filename":"file0"},{"photo_id":"1402095066","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095066":["hashtag1","hashtag2"]},{"1402095069":["hashtag1","hashtag2"]},{"1402095063":["hashtag1","hashtag2"]},{"1402095062":["hashtag1","hashtag2"]},{"1402095065":["hashtag1","hashtag2"]},{"1402095067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095066, 1402095069, 1402095063, 1402095062, 1402095065, 1402095067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.282150745391846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:29:42.636027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_33_1598.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_35_1807.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_37_1874.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_44_1797.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_46_1919.jpg', '/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_49_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/21/38/image_04112025_21_38_33_1598.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_35_1807.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_37_1874.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_44_1797.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_46_1919.jpg
/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_49_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":["1402095078","1402095081","1402095080","1402095082","1402095076","1402095079"],"photo_ids_order":["1402095076","1402095078","1402095079","1402095080","1402095081","1402095082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9e3cadbca2f38440779e2aafe8b1828d.jpg","text":"TemporaryFile(/tmp/multipartBody5892300934496116659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317444501,"filename":"image_04112025_21_38_35_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/2/cc770d5a77d0051753e51454e8fd49ea.jpg","text":"TemporaryFile(/tmp/multipartBody2819723621225069437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317444501,"filename":"image_04112025_21_38_46_1919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/221299f338cd42e5281705ed562230fd.jpg","text":"TemporaryFile(/tmp/multipartBody8342240950083101393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317444501,"filename":"image_04112025_21_38_44_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/2/9ae30f5a9afd4a9315b5e1c36958340b.jpg","text":"TemporaryFile(/tmp/multipartBody6561848281658908315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317444501,"filename":"image_04112025_21_38_49_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/2/8d96a8e3cd4a3f946ff66a925fdb7191.jpg","text":"TemporaryFile(/tmp/multipartBody7217962006284501515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317444501,"filename":"image_04112025_21_38_33_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/2/a713d7d653005f60d5754fa2da0d9929.jpg","text":"TemporaryFile(/tmp/multipartBody8333369987887546367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317444501,"filename":"image_04112025_21_38_37_1874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095079","file1":"1402095078","file0":"1402095076","file4":"1402095081","file5":"1402095082","file3":"1402095080"},"map_files_photo_id_array":[{"photo_id":"1402095082","filename":"file5"},{"photo_id":"1402095079","filename":"file2"},{"photo_id":"1402095081","filename":"file4"},{"photo_id":"1402095078","filename":"file1"},{"photo_id":"1402095076","filename":"file0"},{"photo_id":"1402095080","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095078":["hashtag1","hashtag2"]},{"1402095081":["hashtag1","hashtag2"]},{"1402095080":["hashtag1","hashtag2"]},{"1402095082":["hashtag1","hashtag2"]},{"1402095076":["hashtag1","hashtag2"]},{"1402095079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095078, 1402095081, 1402095080, 1402095082, 1402095076, 1402095079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308342695236206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:30:22.786577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_15_9851.jpg', '/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_25_9715.jpg', '/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_35_9813.jpg', '/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_45_10742.jpg', '/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_55_9662.jpg', '/home/pi/Desktop/images/02012026/01/54/image_02012026_01_55_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_15_9851.jpg
/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_25_9715.jpg
/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_35_9813.jpg
/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_45_10742.jpg
/home/pi/Desktop/images/02012026/01/54/image_02012026_01_54_55_9662.jpg
/home/pi/Desktop/images/02012026/01/54/image_02012026_01_55_05_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":["1402095090","1402095084","1402095092","1402095086","1402095094","1402095088"],"photo_ids_order":["1402095084","1402095086","1402095088","1402095090","1402095092","1402095094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d7870aa91a358b066828f19f8b54c642.jpg","text":"TemporaryFile(/tmp/multipartBody135085270057164607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317483419,"filename":"image_02012026_01_54_45_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/2/e95e4a8eb09f52b0abc6447bce8f4c1e.jpg","text":"TemporaryFile(/tmp/multipartBody6245414359857680042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317483419,"filename":"image_02012026_01_54_15_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/2/3737a537c1dfe18a8a6b05a4b164e036.jpg","text":"TemporaryFile(/tmp/multipartBody6891910286851253801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317483419,"filename":"image_02012026_01_54_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/2/49a955448ad2963b667d5e1445ffae57.jpg","text":"TemporaryFile(/tmp/multipartBody765929348128863039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317483419,"filename":"image_02012026_01_54_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/2/4efeddf2e2631767887e000d4666daa8.jpg","text":"TemporaryFile(/tmp/multipartBody3829865042692806592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317483419,"filename":"image_02012026_01_55_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/2/26685dfeb5e2b00b163ba59106c25a89.jpg","text":"TemporaryFile(/tmp/multipartBody1510596669860111760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317483419,"filename":"image_02012026_01_54_35_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095088","file1":"1402095086","file0":"1402095084","file4":"1402095092","file5":"1402095094","file3":"1402095090"},"map_files_photo_id_array":[{"photo_id":"1402095094","filename":"file5"},{"photo_id":"1402095088","filename":"file2"},{"photo_id":"1402095092","filename":"file4"},{"photo_id":"1402095086","filename":"file1"},{"photo_id":"1402095084","filename":"file0"},{"photo_id":"1402095090","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095090":["hashtag1","hashtag2"]},{"1402095084":["hashtag1","hashtag2"]},{"1402095092":["hashtag1","hashtag2"]},{"1402095086":["hashtag1","hashtag2"]},{"1402095094":["hashtag1","hashtag2"]},{"1402095088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095090, 1402095084, 1402095092, 1402095086, 1402095094, 1402095088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50893211364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:31:02.834647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_15_10587.jpg', '/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_25_9950.jpg', '/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_35_9553.jpg', '/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_44_9629.jpg', '/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_55_10605.jpg', '/home/pi/Desktop/images/02012026/01/55/image_02012026_01_56_05_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_15_10587.jpg
/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_25_9950.jpg
/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_35_9553.jpg
/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_44_9629.jpg
/home/pi/Desktop/images/02012026/01/55/image_02012026_01_55_55_10605.jpg
/home/pi/Desktop/images/02012026/01/55/image_02012026_01_56_05_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095099","1402095095","1402095098","1402095101","1402095097","1402095096"],"photo_ids_order":["1402095095","1402095096","1402095097","1402095098","1402095099","1402095101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a23c394e47784845da808df548dfe162.jpg","text":"TemporaryFile(/tmp/multipartBody385815981637491969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317523495,"filename":"image_02012026_01_55_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/2/5c54ded120c4a96082447e3b6a09430f.jpg","text":"TemporaryFile(/tmp/multipartBody6676714292004955439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317523495,"filename":"image_02012026_01_55_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/2/5bd5092837d3c6bf8769a5c3758c8017.jpg","text":"TemporaryFile(/tmp/multipartBody4571495347500795012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317523495,"filename":"image_02012026_01_55_44_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/2/349b9a49d673756cedf33f5e7661619d.jpg","text":"TemporaryFile(/tmp/multipartBody6007484534495416136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317523495,"filename":"image_02012026_01_56_05_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/2/245e31394ae284e1f66a78a8ac18527f.jpg","text":"TemporaryFile(/tmp/multipartBody8378013680406448809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317523495,"filename":"image_02012026_01_55_35_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/2/1a1410a83695dad4727039e5bd0081ec.jpg","text":"TemporaryFile(/tmp/multipartBody890000365846929830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317523495,"filename":"image_02012026_01_55_25_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095097","file1":"1402095096","file0":"1402095095","file4":"1402095099","file5":"1402095101","file3":"1402095098"},"map_files_photo_id_array":[{"photo_id":"1402095101","filename":"file5"},{"photo_id":"1402095097","filename":"file2"},{"photo_id":"1402095099","filename":"file4"},{"photo_id":"1402095096","filename":"file1"},{"photo_id":"1402095095","filename":"file0"},{"photo_id":"1402095098","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095099":["hashtag1","hashtag2"]},{"1402095095":["hashtag1","hashtag2"]},{"1402095098":["hashtag1","hashtag2"]},{"1402095101":["hashtag1","hashtag2"]},{"1402095097":["hashtag1","hashtag2"]},{"1402095096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095099, 1402095095, 1402095098, 1402095101, 1402095097, 1402095096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77827715873718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:31:42.124069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/38/image_04112025_21_38_57_2638.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_06_2735.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_10_3540.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_13_2707.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_18_2891.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_22_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/21/38/image_04112025_21_38_57_2638.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_06_2735.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_10_3540.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_13_2707.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_18_2891.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_22_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":["1402095109","1402095111","1402095108","1402095110","1402095112","1402095106"],"photo_ids_order":["1402095106","1402095108","1402095109","1402095110","1402095111","1402095112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/08f250ac77e400f810d352dd3d3710fc.jpg","text":"TemporaryFile(/tmp/multipartBody4872644144463713829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317563932,"filename":"image_04112025_21_39_10_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/2/be7341796b75a2400d49fe625bf27ff8.jpg","text":"TemporaryFile(/tmp/multipartBody4695704154492051879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317563932,"filename":"image_04112025_21_39_18_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/2/ef41dca02056f40797604aabb3165d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2532508896554393470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317563932,"filename":"image_04112025_21_39_06_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0fa3ac25060c885bd172b55d9a00f554.jpg","text":"TemporaryFile(/tmp/multipartBody1903759009654068796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317563932,"filename":"image_04112025_21_39_13_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/2/9e5ab0464302d4f7ef4a45a2a811a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody1312791451151505014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317563932,"filename":"image_04112025_21_39_22_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/2/ea7d76470f99b657c2aef3d8b398dd0a.jpg","text":"TemporaryFile(/tmp/multipartBody4384962117808544342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317563932,"filename":"image_04112025_21_38_57_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095109","file1":"1402095108","file0":"1402095106","file4":"1402095111","file5":"1402095112","file3":"1402095110"},"map_files_photo_id_array":[{"photo_id":"1402095112","filename":"file5"},{"photo_id":"1402095109","filename":"file2"},{"photo_id":"1402095111","filename":"file4"},{"photo_id":"1402095108","filename":"file1"},{"photo_id":"1402095106","filename":"file0"},{"photo_id":"1402095110","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095109":["hashtag1","hashtag2"]},{"1402095111":["hashtag1","hashtag2"]},{"1402095108":["hashtag1","hashtag2"]},{"1402095110":["hashtag1","hashtag2"]},{"1402095112":["hashtag1","hashtag2"]},{"1402095106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095109, 1402095111, 1402095108, 1402095110, 1402095112, 1402095106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53244423866272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:32:22.299125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_15_10587.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_25_9638.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_35_9828.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_44_9609.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_55_10539.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_57_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_15_10587.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_25_9638.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_35_9828.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_44_9609.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_55_10539.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_57_05_9682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.49924302101135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:32:32.277896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_25_2834.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_34_3768.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_37_3257.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_40_2689.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_55_3379.jpg', '/home/pi/Desktop/images/04112025/21/39/image_04112025_21_40_00_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_25_2834.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_34_3768.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_37_3257.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_40_2689.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_39_55_3379.jpg
/home/pi/Desktop/images/04112025/21/39/image_04112025_21_40_00_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":["1402095132","1402095131","1402095125","1402095122","1402095119","1402095130"],"photo_ids_order":["1402095119","1402095122","1402095125","1402095130","1402095131","1402095132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d0a599cab5aca9c164054545012822b.jpg","text":"TemporaryFile(/tmp/multipartBody5124467039779957078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317614083,"filename":"image_04112025_21_40_00_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/2/53a2784a160b423ba6074bf211f6a990.jpg","text":"TemporaryFile(/tmp/multipartBody7048149392865621103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317614083,"filename":"image_04112025_21_39_55_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/2/591caa96e7dc17cb633a62feca9b6a49.jpg","text":"TemporaryFile(/tmp/multipartBody4715645444574993842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317614083,"filename":"image_04112025_21_39_37_3257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a900b3d7b2a437214a9d1421cbd71321.jpg","text":"TemporaryFile(/tmp/multipartBody4638849969711475747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317614083,"filename":"image_04112025_21_39_34_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/2/0ec3c8da435dc34d1e9140a3797aaa41.jpg","text":"TemporaryFile(/tmp/multipartBody4881654315176671000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317614083,"filename":"image_04112025_21_39_25_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/2/c9dc5a0d5250d55f197bd20ff32161bf.jpg","text":"TemporaryFile(/tmp/multipartBody5705218008060463381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317614083,"filename":"image_04112025_21_39_40_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095125","file1":"1402095122","file0":"1402095119","file4":"1402095131","file5":"1402095132","file3":"1402095130"},"map_files_photo_id_array":[{"photo_id":"1402095132","filename":"file5"},{"photo_id":"1402095125","filename":"file2"},{"photo_id":"1402095131","filename":"file4"},{"photo_id":"1402095122","filename":"file1"},{"photo_id":"1402095119","filename":"file0"},{"photo_id":"1402095130","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095132":["hashtag1","hashtag2"]},{"1402095131":["hashtag1","hashtag2"]},{"1402095125":["hashtag1","hashtag2"]},{"1402095122":["hashtag1","hashtag2"]},{"1402095119":["hashtag1","hashtag2"]},{"1402095130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095132, 1402095131, 1402095125, 1402095122, 1402095119, 1402095130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91460871696472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:33:12.499715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_07_1632.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_09_1751.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_13_3693.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_15_2541.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_19_3635.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_21_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/21/40/image_04112025_21_40_07_1632.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_09_1751.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_13_3693.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_15_2541.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_19_3635.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_21_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095135","1402095140","1402095134","1402095137","1402095142","1402095133"],"photo_ids_order":["1402095133","1402095134","1402095135","1402095137","1402095140","1402095142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c92ca42a6781a2bb6dc179f6f3202d1.jpg","text":"TemporaryFile(/tmp/multipartBody2908061103904055759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317654197,"filename":"image_04112025_21_40_13_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/2/c6fef2338252f98399cc20dec9abdef4.jpg","text":"TemporaryFile(/tmp/multipartBody6305758902239631138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317654197,"filename":"image_04112025_21_40_19_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/2/502df139a1eb2c37dcfd77200ed73c77.jpg","text":"TemporaryFile(/tmp/multipartBody4446547218457642241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317654197,"filename":"image_04112025_21_40_09_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/2/583e629a9016e3826fd28b91f86e75fb.jpg","text":"TemporaryFile(/tmp/multipartBody1299466473156808966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317654197,"filename":"image_04112025_21_40_15_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/2/1a24d2ae8da5cdd146a83f4515e72d67.jpg","text":"TemporaryFile(/tmp/multipartBody2664144191344765535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317654197,"filename":"image_04112025_21_40_21_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/2/cfb2f2065298fba34278b94ba4a9e0d5.jpg","text":"TemporaryFile(/tmp/multipartBody2066151932466270278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317654197,"filename":"image_04112025_21_40_07_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095135","file1":"1402095134","file0":"1402095133","file4":"1402095140","file5":"1402095142","file3":"1402095137"},"map_files_photo_id_array":[{"photo_id":"1402095142","filename":"file5"},{"photo_id":"1402095135","filename":"file2"},{"photo_id":"1402095140","filename":"file4"},{"photo_id":"1402095134","filename":"file1"},{"photo_id":"1402095133","filename":"file0"},{"photo_id":"1402095137","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095135":["hashtag1","hashtag2"]},{"1402095140":["hashtag1","hashtag2"]},{"1402095134":["hashtag1","hashtag2"]},{"1402095137":["hashtag1","hashtag2"]},{"1402095142":["hashtag1","hashtag2"]},{"1402095133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095135, 1402095140, 1402095134, 1402095137, 1402095142, 1402095133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308794260025024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:34:03.444228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_15_10587.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_25_9638.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_35_9828.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_44_9609.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_55_10539.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_57_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_15_10587.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_25_9638.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_35_9828.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_44_9609.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_55_10539.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_57_05_9682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5832083225250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:34:12.790581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_24_2603.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_28_3717.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_31_2787.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_36_2719.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_42_3554.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_45_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/21/40/image_04112025_21_40_24_2603.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_28_3717.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_31_2787.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_36_2719.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_42_3554.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_45_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095150","1402095153","1402095158","1402095155","1402095148","1402095157"],"photo_ids_order":["1402095148","1402095150","1402095153","1402095155","1402095157","1402095158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3e2e46c8db4d052da4d13e68fb78423b.jpg","text":"TemporaryFile(/tmp/multipartBody6818939932647980906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317714483,"filename":"image_04112025_21_40_28_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/2/d851944cb858dd6d242af8231d02fac9.jpg","text":"TemporaryFile(/tmp/multipartBody4680927856328782814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317714483,"filename":"image_04112025_21_40_31_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/2/f776af2b9da67646301979ff6bd0c235.jpg","text":"TemporaryFile(/tmp/multipartBody2647886732077528015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317714483,"filename":"image_04112025_21_40_45_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/2/05e630acc960190ba1b350b96ed50ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3878927537048576731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317714483,"filename":"image_04112025_21_40_36_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/2/84f3ee7bc3c0aaaad3159d819a0fe4a8.jpg","text":"TemporaryFile(/tmp/multipartBody2254537233436914870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317714483,"filename":"image_04112025_21_40_24_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/2/f918db5e2e58328e23d9c88cdfbf651e.jpg","text":"TemporaryFile(/tmp/multipartBody3376878955055501879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317714483,"filename":"image_04112025_21_40_42_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095153","file1":"1402095150","file0":"1402095148","file4":"1402095157","file5":"1402095158","file3":"1402095155"},"map_files_photo_id_array":[{"photo_id":"1402095158","filename":"file5"},{"photo_id":"1402095153","filename":"file2"},{"photo_id":"1402095157","filename":"file4"},{"photo_id":"1402095150","filename":"file1"},{"photo_id":"1402095148","filename":"file0"},{"photo_id":"1402095155","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095150":["hashtag1","hashtag2"]},{"1402095153":["hashtag1","hashtag2"]},{"1402095158":["hashtag1","hashtag2"]},{"1402095155":["hashtag1","hashtag2"]},{"1402095148":["hashtag1","hashtag2"]},{"1402095157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095150, 1402095153, 1402095158, 1402095155, 1402095148, 1402095157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56089425086975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:35:02.703367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_15_10587.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_25_9638.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_35_9828.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_44_9609.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_55_10539.jpg', '/home/pi/Desktop/images/02012026/01/56/image_02012026_01_57_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_15_10587.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_25_9638.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_35_9828.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_44_9609.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_56_55_10539.jpg
/home/pi/Desktop/images/02012026/01/56/image_02012026_01_57_05_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":["1402095165","1402095168","1402095162","1402095164","1402095166","1402095163"],"photo_ids_order":["1402095162","1402095163","1402095164","1402095165","1402095166","1402095168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3fef4603d177ebf3b5fbf6baef94ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody3248110509842756089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317763610,"filename":"image_02012026_01_56_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/2/d93bf5bdfa99b8e21db9ece3d2d06941.jpg","text":"TemporaryFile(/tmp/multipartBody887194858682231210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317763610,"filename":"image_02012026_01_57_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/2/384e53928e5b2f70469640d9ae6a6e92.jpg","text":"TemporaryFile(/tmp/multipartBody2094358409067563678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317763610,"filename":"image_02012026_01_56_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/2/b51ce837b85d17e229d9ffed7cc83281.jpg","text":"TemporaryFile(/tmp/multipartBody7876669877447613922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317763610,"filename":"image_02012026_01_56_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/2/37e5133fc772edcb56f25178700ea615.jpg","text":"TemporaryFile(/tmp/multipartBody2490900322221118854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317763610,"filename":"image_02012026_01_56_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/2/94afb73c27404139c330b8788b34b598.jpg","text":"TemporaryFile(/tmp/multipartBody8788991368465999040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317763610,"filename":"image_02012026_01_56_25_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095164","file1":"1402095163","file0":"1402095162","file4":"1402095166","file5":"1402095168","file3":"1402095165"},"map_files_photo_id_array":[{"photo_id":"1402095168","filename":"file5"},{"photo_id":"1402095164","filename":"file2"},{"photo_id":"1402095166","filename":"file4"},{"photo_id":"1402095163","filename":"file1"},{"photo_id":"1402095162","filename":"file0"},{"photo_id":"1402095165","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095165":["hashtag1","hashtag2"]},{"1402095168":["hashtag1","hashtag2"]},{"1402095162":["hashtag1","hashtag2"]},{"1402095164":["hashtag1","hashtag2"]},{"1402095166":["hashtag1","hashtag2"]},{"1402095163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095165, 1402095168, 1402095162, 1402095164, 1402095166, 1402095163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.191665172576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:35:42.061438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_48_2780.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_52_3799.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_54_2779.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_57_2733.jpg', '/home/pi/Desktop/images/04112025/21/40/image_04112025_21_41_00_2545.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_03_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_48_2780.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_52_3799.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_54_2779.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_40_57_2733.jpg
/home/pi/Desktop/images/04112025/21/40/image_04112025_21_41_00_2545.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_03_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095177","1402095176","1402095179","1402095173","1402095175","1402095178"],"photo_ids_order":["1402095173","1402095175","1402095176","1402095177","1402095178","1402095179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3aefa21c2365b770e9174398113dfd44.jpg","text":"TemporaryFile(/tmp/multipartBody3949476527944532511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317803874,"filename":"image_04112025_21_40_57_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/2/b1ebbdcc955b47fd04c67fb21e43d570.jpg","text":"TemporaryFile(/tmp/multipartBody4404902464933335661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317803874,"filename":"image_04112025_21_40_54_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/2/c31e195b08ef79459be7c7d570ddea60.jpg","text":"TemporaryFile(/tmp/multipartBody4553148256097272398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317803874,"filename":"image_04112025_21_41_03_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/2/313c167268887a96c2fffe182278e162.jpg","text":"TemporaryFile(/tmp/multipartBody2233479544177295405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317803874,"filename":"image_04112025_21_40_48_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/720a050fa217b758fc2e28be2eba4f67.jpg","text":"TemporaryFile(/tmp/multipartBody5853738722763564659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317803874,"filename":"image_04112025_21_40_52_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/2/33fe8eb35b33e28120e803b1f3f1d662.jpg","text":"TemporaryFile(/tmp/multipartBody6211945638565383062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317803874,"filename":"image_04112025_21_41_00_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095176","file1":"1402095175","file0":"1402095173","file4":"1402095178","file5":"1402095179","file3":"1402095177"},"map_files_photo_id_array":[{"photo_id":"1402095179","filename":"file5"},{"photo_id":"1402095176","filename":"file2"},{"photo_id":"1402095178","filename":"file4"},{"photo_id":"1402095175","filename":"file1"},{"photo_id":"1402095173","filename":"file0"},{"photo_id":"1402095177","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095177":["hashtag1","hashtag2"]},{"1402095176":["hashtag1","hashtag2"]},{"1402095179":["hashtag1","hashtag2"]},{"1402095173":["hashtag1","hashtag2"]},{"1402095175":["hashtag1","hashtag2"]},{"1402095178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095177, 1402095176, 1402095179, 1402095173, 1402095175, 1402095178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033780574798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:36:22.236053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_15_10554.jpg', '/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_25_9723.jpg', '/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_35_9988.jpg', '/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_45_9756.jpg', '/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_54_9881.jpg', '/home/pi/Desktop/images/02012026/01/57/image_02012026_01_58_05_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_15_10554.jpg
/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_25_9723.jpg
/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_35_9988.jpg
/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_45_9756.jpg
/home/pi/Desktop/images/02012026/01/57/image_02012026_01_57_54_9881.jpg
/home/pi/Desktop/images/02012026/01/57/image_02012026_01_58_05_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":["1402095183","1402095189","1402095191","1402095185","1402095187","1402095181"],"photo_ids_order":["1402095181","1402095183","1402095185","1402095187","1402095189","1402095191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9327d7fd2f2174c9a5920510b1cae488.jpg","text":"TemporaryFile(/tmp/multipartBody7907054531143768609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317842829,"filename":"image_02012026_01_57_25_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/2/cb649e6412cc0e31c9b5cc6f8ec92189.jpg","text":"TemporaryFile(/tmp/multipartBody98066368968285145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317842829,"filename":"image_02012026_01_57_54_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/2/09cb29e5a41d5232c5b26dcdb517aef5.jpg","text":"TemporaryFile(/tmp/multipartBody379030615147758181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317842829,"filename":"image_02012026_01_58_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/2/84052fbd7f198e06df10967f89b92e6c.jpg","text":"TemporaryFile(/tmp/multipartBody6895331924727122087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317842829,"filename":"image_02012026_01_57_35_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8487f409bd95f545a8cf2dedea280710.jpg","text":"TemporaryFile(/tmp/multipartBody5293683419370275426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317842829,"filename":"image_02012026_01_57_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/2/cf2216a7016f70064f0098bba31ff595.jpg","text":"TemporaryFile(/tmp/multipartBody4068490429928127381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317842829,"filename":"image_02012026_01_57_15_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095185","file1":"1402095183","file0":"1402095181","file4":"1402095189","file5":"1402095191","file3":"1402095187"},"map_files_photo_id_array":[{"photo_id":"1402095191","filename":"file5"},{"photo_id":"1402095185","filename":"file2"},{"photo_id":"1402095189","filename":"file4"},{"photo_id":"1402095183","filename":"file1"},{"photo_id":"1402095181","filename":"file0"},{"photo_id":"1402095187","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095183":["hashtag1","hashtag2"]},{"1402095189":["hashtag1","hashtag2"]},{"1402095191":["hashtag1","hashtag2"]},{"1402095185":["hashtag1","hashtag2"]},{"1402095187":["hashtag1","hashtag2"]},{"1402095181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095183, 1402095189, 1402095191, 1402095185, 1402095187, 1402095181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77431297302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:37:03.162212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_15_9612.jpg', '/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_25_9753.jpg', '/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_34_9729.jpg', '/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_45_10607.jpg', '/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_55_9643.jpg', '/home/pi/Desktop/images/02012026/01/58/image_02012026_01_59_05_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_15_9612.jpg
/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_25_9753.jpg
/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_34_9729.jpg
/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_45_10607.jpg
/home/pi/Desktop/images/02012026/01/58/image_02012026_01_58_55_9643.jpg
/home/pi/Desktop/images/02012026/01/58/image_02012026_01_59_05_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":["1402095198","1402095192","1402095194","1402095193","1402095196","1402095195"],"photo_ids_order":["1402095192","1402095193","1402095194","1402095195","1402095196","1402095198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/843931ce66423b201c4613f9bb4a5396.jpg","text":"TemporaryFile(/tmp/multipartBody3606954138035918029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317883822,"filename":"image_02012026_01_59_05_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/2/c373098e5682b6fc78ece3f1e0b71c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1971194230387965560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317883822,"filename":"image_02012026_01_58_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/2/f3c1770ba7e766bb6ffa955306a5a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8073163964083140091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317883822,"filename":"image_02012026_01_58_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/2/1c32dc8a7b1f414906e18dd921964bf9.jpg","text":"TemporaryFile(/tmp/multipartBody985778053827853112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317883822,"filename":"image_02012026_01_58_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/2/b5dd8ddbc7270f08521c59c4a7a886d1.jpg","text":"TemporaryFile(/tmp/multipartBody814761197258323032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317883822,"filename":"image_02012026_01_58_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/2/53eae5861e8a11dfcda1b34ecf98cc99.jpg","text":"TemporaryFile(/tmp/multipartBody3686862535755843275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317883822,"filename":"image_02012026_01_58_45_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095194","file1":"1402095193","file0":"1402095192","file4":"1402095196","file5":"1402095198","file3":"1402095195"},"map_files_photo_id_array":[{"photo_id":"1402095198","filename":"file5"},{"photo_id":"1402095194","filename":"file2"},{"photo_id":"1402095196","filename":"file4"},{"photo_id":"1402095193","filename":"file1"},{"photo_id":"1402095192","filename":"file0"},{"photo_id":"1402095195","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095198":["hashtag1","hashtag2"]},{"1402095192":["hashtag1","hashtag2"]},{"1402095194":["hashtag1","hashtag2"]},{"1402095193":["hashtag1","hashtag2"]},{"1402095196":["hashtag1","hashtag2"]},{"1402095195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095198, 1402095192, 1402095194, 1402095193, 1402095196, 1402095195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.736040115356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:37:42.403346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_06_2592.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_10_3619.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_12_2709.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_15_2584.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_21_2761.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_24_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_06_2592.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_10_3619.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_12_2709.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_15_2584.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_21_2761.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_24_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":["1402095208","1402095207","1402095206","1402095209","1402095203","1402095205"],"photo_ids_order":["1402095203","1402095205","1402095206","1402095207","1402095208","1402095209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/14fb7d2a1a4f4c640c052f9c0decb111.jpg","text":"TemporaryFile(/tmp/multipartBody7137046102568814173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317924229,"filename":"image_04112025_21_41_21_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/2/6e47142ee670ff584245f117ea01a361.jpg","text":"TemporaryFile(/tmp/multipartBody6511812841126194792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317924229,"filename":"image_04112025_21_41_15_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/2/9a3bd746d62b10f10122cb05829c721e.jpg","text":"TemporaryFile(/tmp/multipartBody4960959821726246046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317924229,"filename":"image_04112025_21_41_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/2/8824037c6dad5ab9cf947c93bcb457d6.jpg","text":"TemporaryFile(/tmp/multipartBody3570415462633062670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317924229,"filename":"image_04112025_21_41_24_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/2/5771d3c4f6117e06cfa39961a0e8900f.jpg","text":"TemporaryFile(/tmp/multipartBody1079726211740313174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317924229,"filename":"image_04112025_21_41_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/2/e784768e731f16b75487b481f20a5511.jpg","text":"TemporaryFile(/tmp/multipartBody840143502175666574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317924229,"filename":"image_04112025_21_41_10_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095206","file1":"1402095205","file0":"1402095203","file4":"1402095208","file5":"1402095209","file3":"1402095207"},"map_files_photo_id_array":[{"photo_id":"1402095209","filename":"file5"},{"photo_id":"1402095206","filename":"file2"},{"photo_id":"1402095208","filename":"file4"},{"photo_id":"1402095205","filename":"file1"},{"photo_id":"1402095203","filename":"file0"},{"photo_id":"1402095207","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095208":["hashtag1","hashtag2"]},{"1402095207":["hashtag1","hashtag2"]},{"1402095206":["hashtag1","hashtag2"]},{"1402095209":["hashtag1","hashtag2"]},{"1402095203":["hashtag1","hashtag2"]},{"1402095205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095208, 1402095207, 1402095206, 1402095209, 1402095203, 1402095205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90085005760193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:38:22.571414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_15_9707.jpg', '/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_25_9759.jpg', '/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_34_9659.jpg', '/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_45_10733.jpg', '/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_55_9522.jpg', '/home/pi/Desktop/images/02012026/01/59/image_02012026_02_00_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_15_9707.jpg
/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_25_9759.jpg
/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_34_9659.jpg
/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_45_10733.jpg
/home/pi/Desktop/images/02012026/01/59/image_02012026_01_59_55_9522.jpg
/home/pi/Desktop/images/02012026/01/59/image_02012026_02_00_04_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095214","1402095216","1402095210","1402095212","1402095221","1402095218"],"photo_ids_order":["1402095210","1402095212","1402095214","1402095216","1402095218","1402095221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84b07472c4c1aa8f8b0f1888409c9fff.jpg","text":"TemporaryFile(/tmp/multipartBody8106954523919772080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317963177,"filename":"image_02012026_01_59_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/2/c9b9150c06eab0a4b954af49ea09324c.jpg","text":"TemporaryFile(/tmp/multipartBody313610066918738686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317963177,"filename":"image_02012026_01_59_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/2/aff8375f41a210227946b01e81468e96.jpg","text":"TemporaryFile(/tmp/multipartBody5388291167563398909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317963177,"filename":"image_02012026_01_59_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/2/6d87870942942d1785d58def5ac5d39f.jpg","text":"TemporaryFile(/tmp/multipartBody7954576966324487413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317963177,"filename":"image_02012026_01_59_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/2/73a5c2ccfb8d19f6559f4b1ce8f59883.jpg","text":"TemporaryFile(/tmp/multipartBody8715747118950044567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317963177,"filename":"image_02012026_02_00_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/2/5ffc9cf29f4debe2d3cf7eb93e3adc69.jpg","text":"TemporaryFile(/tmp/multipartBody3926421407745453375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767317963177,"filename":"image_02012026_01_59_55_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095214","file1":"1402095212","file0":"1402095210","file4":"1402095218","file5":"1402095221","file3":"1402095216"},"map_files_photo_id_array":[{"photo_id":"1402095221","filename":"file5"},{"photo_id":"1402095214","filename":"file2"},{"photo_id":"1402095218","filename":"file4"},{"photo_id":"1402095212","filename":"file1"},{"photo_id":"1402095210","filename":"file0"},{"photo_id":"1402095216","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095214":["hashtag1","hashtag2"]},{"1402095216":["hashtag1","hashtag2"]},{"1402095210":["hashtag1","hashtag2"]},{"1402095212":["hashtag1","hashtag2"]},{"1402095221":["hashtag1","hashtag2"]},{"1402095218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095214, 1402095216, 1402095210, 1402095212, 1402095221, 1402095218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12312340736389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:39:03.655793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_15_10628.jpg', '/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_25_9693.jpg', '/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_34_9710.jpg', '/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_55_9715.jpg', '/home/pi/Desktop/images/02012026/02/00/image_02012026_02_01_05_9755.jpg', '/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_14_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_15_10628.jpg
/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_25_9693.jpg
/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_34_9710.jpg
/home/pi/Desktop/images/02012026/02/00/image_02012026_02_00_55_9715.jpg
/home/pi/Desktop/images/02012026/02/00/image_02012026_02_01_05_9755.jpg
/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_14_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095234","1402095237","1402095230","1402095233","1402095235","1402095232"],"photo_ids_order":["1402095230","1402095232","1402095233","1402095234","1402095235","1402095237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/844488776a444689d21b796686f9e19c.jpg","text":"TemporaryFile(/tmp/multipartBody6617544223409277048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318004452,"filename":"image_02012026_02_00_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/2/a081afffe4519128d15eb92a9388f2ed.jpg","text":"TemporaryFile(/tmp/multipartBody5941146160324806676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318004452,"filename":"image_02012026_02_01_14_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/2/705d57eb1af761f70560c079cbe2ab24.jpg","text":"TemporaryFile(/tmp/multipartBody326814642137118809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318004452,"filename":"image_02012026_02_00_15_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/2/304761a89ed73e564de87cda9e1394d4.jpg","text":"TemporaryFile(/tmp/multipartBody583501866302169790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318004452,"filename":"image_02012026_02_00_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/2/1ef6bf9f6951f03dc3eca095ead772bb.jpg","text":"TemporaryFile(/tmp/multipartBody4643637361880298207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318004452,"filename":"image_02012026_02_01_05_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/2/09862a81f7bb500231196fcb9464b506.jpg","text":"TemporaryFile(/tmp/multipartBody7910211787689028286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318004452,"filename":"image_02012026_02_00_25_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095233","file1":"1402095232","file0":"1402095230","file4":"1402095235","file5":"1402095237","file3":"1402095234"},"map_files_photo_id_array":[{"photo_id":"1402095237","filename":"file5"},{"photo_id":"1402095233","filename":"file2"},{"photo_id":"1402095235","filename":"file4"},{"photo_id":"1402095232","filename":"file1"},{"photo_id":"1402095230","filename":"file0"},{"photo_id":"1402095234","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095234":["hashtag1","hashtag2"]},{"1402095237":["hashtag1","hashtag2"]},{"1402095230":["hashtag1","hashtag2"]},{"1402095233":["hashtag1","hashtag2"]},{"1402095235":["hashtag1","hashtag2"]},{"1402095232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095234, 1402095237, 1402095230, 1402095233, 1402095235, 1402095232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25896406173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:39:42.892345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_27_2633.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_30_3649.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_33_2808.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_36_2591.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_39_2905.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_42_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_27_2633.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_30_3649.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_33_2808.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_36_2591.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_39_2905.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_42_3636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.697416067123413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:40:02.610846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_25_10718.jpg', '/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_35_9723.jpg', '/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_45_9828.jpg', '/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_54_9751.jpg', '/home/pi/Desktop/images/02012026/02/01/image_02012026_02_02_05_10705.jpg', '/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_15_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_25_10718.jpg
/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_35_9723.jpg
/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_45_9828.jpg
/home/pi/Desktop/images/02012026/02/01/image_02012026_02_01_54_9751.jpg
/home/pi/Desktop/images/02012026/02/01/image_02012026_02_02_05_10705.jpg
/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_15_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":["1402095252","1402095249","1402095251","1402095254","1402095248","1402095250"],"photo_ids_order":["1402095248","1402095249","1402095250","1402095251","1402095252","1402095254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f720e584f4ac7eb20ea60576d9164c08.jpg","text":"TemporaryFile(/tmp/multipartBody8295222074055102349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318063239,"filename":"image_02012026_02_02_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/2/3edb19e0eb19ab15a1e01ffeb43b3748.jpg","text":"TemporaryFile(/tmp/multipartBody8077036903301446381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318063239,"filename":"image_02012026_02_01_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/92a53bb7971f0dcd4cb4c527a6ad00c7.jpg","text":"TemporaryFile(/tmp/multipartBody4605811963546935934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318063239,"filename":"image_02012026_02_01_54_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/2/9b756c00ec48a9182be7e0f635d2616a.jpg","text":"TemporaryFile(/tmp/multipartBody6856054357549592067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318063239,"filename":"image_02012026_02_02_15_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/2/4a6c404954215c576ef00d72201435a0.jpg","text":"TemporaryFile(/tmp/multipartBody1664676341042406949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318063239,"filename":"image_02012026_02_01_25_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/2/e2df7fdf51018c7020f5c1765e4fc01a.jpg","text":"TemporaryFile(/tmp/multipartBody3538167994642500270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318063239,"filename":"image_02012026_02_01_45_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095250","file1":"1402095249","file0":"1402095248","file4":"1402095252","file5":"1402095254","file3":"1402095251"},"map_files_photo_id_array":[{"photo_id":"1402095254","filename":"file5"},{"photo_id":"1402095250","filename":"file2"},{"photo_id":"1402095252","filename":"file4"},{"photo_id":"1402095249","filename":"file1"},{"photo_id":"1402095248","filename":"file0"},{"photo_id":"1402095251","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095252":["hashtag1","hashtag2"]},{"1402095249":["hashtag1","hashtag2"]},{"1402095251":["hashtag1","hashtag2"]},{"1402095254":["hashtag1","hashtag2"]},{"1402095248":["hashtag1","hashtag2"]},{"1402095250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095252, 1402095249, 1402095251, 1402095254, 1402095248, 1402095250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.372788429260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:40:42.100891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_27_2633.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_30_3649.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_33_2808.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_36_2591.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_39_2905.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_42_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_27_2633.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_30_3649.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_33_2808.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_36_2591.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_39_2905.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_42_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095264","1402095261","1402095263","1402095265","1402095262","1402095259"],"photo_ids_order":["1402095259","1402095261","1402095262","1402095263","1402095264","1402095265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/21f6ee3ca6bdd5ecc15880d39805a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody5153186731223895314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318103779,"filename":"image_04112025_21_41_39_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/2/01a50a12ed254175343e9ebf1302c088.jpg","text":"TemporaryFile(/tmp/multipartBody557183630966419482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318103779,"filename":"image_04112025_21_41_30_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/2/82dd7fc8e8811353a99649d5abd8107a.jpg","text":"TemporaryFile(/tmp/multipartBody7881006046417671891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318103779,"filename":"image_04112025_21_41_36_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/2/bd442c3a97d66156fb20fea6e98766a1.jpg","text":"TemporaryFile(/tmp/multipartBody5556464991528198028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318103779,"filename":"image_04112025_21_41_42_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/587ae863748accaa108ef82fd3d47fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3108314618950932145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318103779,"filename":"image_04112025_21_41_33_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/2/7f3a0905d337b317aff0ebf69eb462d2.jpg","text":"TemporaryFile(/tmp/multipartBody119528007157950747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318103779,"filename":"image_04112025_21_41_27_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095262","file1":"1402095261","file0":"1402095259","file4":"1402095264","file5":"1402095265","file3":"1402095263"},"map_files_photo_id_array":[{"photo_id":"1402095265","filename":"file5"},{"photo_id":"1402095262","filename":"file2"},{"photo_id":"1402095264","filename":"file4"},{"photo_id":"1402095261","filename":"file1"},{"photo_id":"1402095259","filename":"file0"},{"photo_id":"1402095263","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095264":["hashtag1","hashtag2"]},{"1402095261":["hashtag1","hashtag2"]},{"1402095263":["hashtag1","hashtag2"]},{"1402095265":["hashtag1","hashtag2"]},{"1402095262":["hashtag1","hashtag2"]},{"1402095259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095264, 1402095261, 1402095263, 1402095265, 1402095262, 1402095259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.882728576660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:41:22.351760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_24_9639.jpg', '/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_35_10815.jpg', '/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_45_9642.jpg', '/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_55_9845.jpg', '/home/pi/Desktop/images/02012026/02/02/image_02012026_02_03_04_9755.jpg', '/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_25_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_24_9639.jpg
/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_35_10815.jpg
/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_45_9642.jpg
/home/pi/Desktop/images/02012026/02/02/image_02012026_02_02_55_9845.jpg
/home/pi/Desktop/images/02012026/02/02/image_02012026_02_03_04_9755.jpg
/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_25_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":["1402095279","1402095273","1402095269","1402095266","1402095271","1402095274"],"photo_ids_order":["1402095266","1402095269","1402095271","1402095273","1402095274","1402095279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3b43be42a4ce678f9b4e8e836846927.jpg","text":"TemporaryFile(/tmp/multipartBody8320840713900056235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318142949,"filename":"image_02012026_02_03_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/2/179f309e83d3f57cb176d1c60a18164d.jpg","text":"TemporaryFile(/tmp/multipartBody6416140880063036453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318142949,"filename":"image_02012026_02_02_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/2/c34182adf8d30f62a1c8b0c1798924d7.jpg","text":"TemporaryFile(/tmp/multipartBody7531483877335965735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318142949,"filename":"image_02012026_02_02_35_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ee2be7e2d6c4507b410c06d639da48c.jpg","text":"TemporaryFile(/tmp/multipartBody8756906035063359724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318142949,"filename":"image_02012026_02_02_24_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/2/e5fe7a02889048c239ddd011be6fd89e.jpg","text":"TemporaryFile(/tmp/multipartBody412617581928903595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318142949,"filename":"image_02012026_02_02_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/2/548b2b0b23599f0a1a64e6c67c86369a.jpg","text":"TemporaryFile(/tmp/multipartBody7500008076459421790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318142949,"filename":"image_02012026_02_03_04_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095271","file1":"1402095269","file0":"1402095266","file4":"1402095274","file5":"1402095279","file3":"1402095273"},"map_files_photo_id_array":[{"photo_id":"1402095279","filename":"file5"},{"photo_id":"1402095271","filename":"file2"},{"photo_id":"1402095274","filename":"file4"},{"photo_id":"1402095269","filename":"file1"},{"photo_id":"1402095266","filename":"file0"},{"photo_id":"1402095273","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095279":["hashtag1","hashtag2"]},{"1402095273":["hashtag1","hashtag2"]},{"1402095269":["hashtag1","hashtag2"]},{"1402095266":["hashtag1","hashtag2"]},{"1402095271":["hashtag1","hashtag2"]},{"1402095274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095279, 1402095273, 1402095269, 1402095266, 1402095271, 1402095274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.587730407714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:42:02.687995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_34_9751.jpg', '/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_45_10630.jpg', '/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_55_9601.jpg', '/home/pi/Desktop/images/02012026/02/03/image_02012026_02_04_05_10595.jpg', '/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_15_9690.jpg', '/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_25_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_34_9751.jpg
/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_45_10630.jpg
/home/pi/Desktop/images/02012026/02/03/image_02012026_02_03_55_9601.jpg
/home/pi/Desktop/images/02012026/02/03/image_02012026_02_04_05_10595.jpg
/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_15_9690.jpg
/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_25_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":["1402095282","1402095281","1402095284","1402095283","1402095286","1402095280"],"photo_ids_order":["1402095280","1402095281","1402095282","1402095283","1402095284","1402095286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ab166da1632e224fcac8361243e7c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6469733690623171028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318183306,"filename":"image_02012026_02_03_55_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/2/04e7f1fbc12f88cee1b7eda0cde08258.jpg","text":"TemporaryFile(/tmp/multipartBody1657245393246311098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318183306,"filename":"image_02012026_02_03_45_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/2/03b5035ef97a90fa761e7bba8d8bd6f2.jpg","text":"TemporaryFile(/tmp/multipartBody662785437001359220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318183306,"filename":"image_02012026_02_04_15_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/2/8425446a27b43f050b0f21fb758dc724.jpg","text":"TemporaryFile(/tmp/multipartBody5435018827943218977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318183306,"filename":"image_02012026_02_04_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/2/7d05cae9b73e01e6ae0b7f17bf1289cf.jpg","text":"TemporaryFile(/tmp/multipartBody5055716049854732400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318183306,"filename":"image_02012026_02_04_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/2/c52a46607293afe7976b8092302a306f.jpg","text":"TemporaryFile(/tmp/multipartBody4353297165299858491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318183306,"filename":"image_02012026_02_03_34_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095282","file1":"1402095281","file0":"1402095280","file4":"1402095284","file5":"1402095286","file3":"1402095283"},"map_files_photo_id_array":[{"photo_id":"1402095286","filename":"file5"},{"photo_id":"1402095282","filename":"file2"},{"photo_id":"1402095284","filename":"file4"},{"photo_id":"1402095281","filename":"file1"},{"photo_id":"1402095280","filename":"file0"},{"photo_id":"1402095283","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095282":["hashtag1","hashtag2"]},{"1402095281":["hashtag1","hashtag2"]},{"1402095284":["hashtag1","hashtag2"]},{"1402095283":["hashtag1","hashtag2"]},{"1402095286":["hashtag1","hashtag2"]},{"1402095280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095282, 1402095281, 1402095284, 1402095283, 1402095286, 1402095280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70233201980591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:42:42.223032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_45_2647.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_48_2712.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_51_3697.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_54_2834.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_57_2671.jpg', '/home/pi/Desktop/images/04112025/21/41/image_04112025_21_42_01_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_45_2647.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_48_2712.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_51_3697.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_54_2834.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_41_57_2671.jpg
/home/pi/Desktop/images/04112025/21/41/image_04112025_21_42_01_3549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095297","1402095291","1402095293","1402095296","1402095295","1402095294"],"photo_ids_order":["1402095291","1402095293","1402095294","1402095295","1402095296","1402095297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/767f1a8b97c94ccc94cecf4a5c7c2f90.jpg","text":"TemporaryFile(/tmp/multipartBody8308309910083551427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318224072,"filename":"image_04112025_21_42_01_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/2/22f35d3d5ce0df14de2d2999a467698a.jpg","text":"TemporaryFile(/tmp/multipartBody3665494788054773750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318224072,"filename":"image_04112025_21_41_45_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/2/deaa65e19ef8eb22d1eed0dc0a90f4ac.jpg","text":"TemporaryFile(/tmp/multipartBody8962482519433363444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318224072,"filename":"image_04112025_21_41_48_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/2/6eda0e87746b2c01680987b70173476b.jpg","text":"TemporaryFile(/tmp/multipartBody1510633842671275586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318224072,"filename":"image_04112025_21_41_57_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/2/d19934c77f0b5a2f68b43cc2b706cf76.jpg","text":"TemporaryFile(/tmp/multipartBody5727690440777839383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318224072,"filename":"image_04112025_21_41_54_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/2/94fe706d2bd8d1c79b297144f8820ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4400480655317189117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318224072,"filename":"image_04112025_21_41_51_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095294","file1":"1402095293","file0":"1402095291","file4":"1402095296","file5":"1402095297","file3":"1402095295"},"map_files_photo_id_array":[{"photo_id":"1402095297","filename":"file5"},{"photo_id":"1402095294","filename":"file2"},{"photo_id":"1402095296","filename":"file4"},{"photo_id":"1402095293","filename":"file1"},{"photo_id":"1402095291","filename":"file0"},{"photo_id":"1402095295","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095297":["hashtag1","hashtag2"]},{"1402095291":["hashtag1","hashtag2"]},{"1402095293":["hashtag1","hashtag2"]},{"1402095296":["hashtag1","hashtag2"]},{"1402095295":["hashtag1","hashtag2"]},{"1402095294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095297, 1402095291, 1402095293, 1402095296, 1402095295, 1402095294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63921809196472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:43:22.354657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_34_9788.jpg', '/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_45_10682.jpg', '/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_55_9637.jpg', '/home/pi/Desktop/images/02012026/02/04/image_02012026_02_05_04_9712.jpg', '/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_15_10596.jpg', '/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_25_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_34_9788.jpg
/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_45_10682.jpg
/home/pi/Desktop/images/02012026/02/04/image_02012026_02_04_55_9637.jpg
/home/pi/Desktop/images/02012026/02/04/image_02012026_02_05_04_9712.jpg
/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_15_10596.jpg
/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_25_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095300","1402095303","1402095306","1402095305","1402095308","1402095298"],"photo_ids_order":["1402095298","1402095300","1402095303","1402095305","1402095306","1402095308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aecba26814502e05bc3d397d8bbfb526.jpg","text":"TemporaryFile(/tmp/multipartBody5618392291153336099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318262949,"filename":"image_02012026_02_04_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/2/f330ac14fca10c7badb5f4141d8ffe23.jpg","text":"TemporaryFile(/tmp/multipartBody5698829592595654239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318262949,"filename":"image_02012026_02_04_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/2/3d5d6b7fa9fb89a4542166bd55ad4a68.jpg","text":"TemporaryFile(/tmp/multipartBody6068640245797902805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318262949,"filename":"image_02012026_02_05_15_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/2/d08806d6235da66e3b76050e61574aca.jpg","text":"TemporaryFile(/tmp/multipartBody6173204762260546757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318262949,"filename":"image_02012026_02_05_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/2/4291807428f2c450e33e73d3aff738cf.jpg","text":"TemporaryFile(/tmp/multipartBody749841368151253642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318262949,"filename":"image_02012026_02_05_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2237bdffc56c51b380ad99c29f5353bb.jpg","text":"TemporaryFile(/tmp/multipartBody3019784758315033526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318262949,"filename":"image_02012026_02_04_34_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095303","file1":"1402095300","file0":"1402095298","file4":"1402095306","file5":"1402095308","file3":"1402095305"},"map_files_photo_id_array":[{"photo_id":"1402095308","filename":"file5"},{"photo_id":"1402095303","filename":"file2"},{"photo_id":"1402095306","filename":"file4"},{"photo_id":"1402095300","filename":"file1"},{"photo_id":"1402095298","filename":"file0"},{"photo_id":"1402095305","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095300":["hashtag1","hashtag2"]},{"1402095303":["hashtag1","hashtag2"]},{"1402095306":["hashtag1","hashtag2"]},{"1402095305":["hashtag1","hashtag2"]},{"1402095308":["hashtag1","hashtag2"]},{"1402095298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095300, 1402095303, 1402095306, 1402095305, 1402095308, 1402095298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25400161743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:44:03.341079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_34_9629.jpg', '/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_46_11419.jpg', '/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_54_8661.jpg', '/home/pi/Desktop/images/02012026/02/05/image_02012026_02_06_05_10637.jpg', '/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_15_9670.jpg', '/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_24_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_34_9629.jpg
/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_46_11419.jpg
/home/pi/Desktop/images/02012026/02/05/image_02012026_02_05_54_8661.jpg
/home/pi/Desktop/images/02012026/02/05/image_02012026_02_06_05_10637.jpg
/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_15_9670.jpg
/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_24_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":["1402095313","1402095312","1402095315","1402095318","1402095314","1402095310"],"photo_ids_order":["1402095310","1402095312","1402095313","1402095314","1402095315","1402095318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/944ccdb93a259edf7ed73613b259dee9.jpg","text":"TemporaryFile(/tmp/multipartBody5826167870930205483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318304020,"filename":"image_02012026_02_05_54_8661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b1c9889ab80f014dec82e597129f26f.jpg","text":"TemporaryFile(/tmp/multipartBody1362836043648544115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318304020,"filename":"image_02012026_02_05_46_11419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/422186c3c420e233cb240afea6ccd3dd.jpg","text":"TemporaryFile(/tmp/multipartBody220997485800415372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318304020,"filename":"image_02012026_02_06_15_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/2/64ee9c273212e084927affdbea473333.jpg","text":"TemporaryFile(/tmp/multipartBody5698081121904250018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318304020,"filename":"image_02012026_02_06_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/2/a4e7f1acb3f419f7affe2ab73e5dca4a.jpg","text":"TemporaryFile(/tmp/multipartBody7547473933539769532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318304020,"filename":"image_02012026_02_06_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/2/f24bf68b17cc49133d17d6941767c0e0.jpg","text":"TemporaryFile(/tmp/multipartBody9056105919171575454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318304020,"filename":"image_02012026_02_05_34_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095313","file1":"1402095312","file0":"1402095310","file4":"1402095315","file5":"1402095318","file3":"1402095314"},"map_files_photo_id_array":[{"photo_id":"1402095318","filename":"file5"},{"photo_id":"1402095313","filename":"file2"},{"photo_id":"1402095315","filename":"file4"},{"photo_id":"1402095312","filename":"file1"},{"photo_id":"1402095310","filename":"file0"},{"photo_id":"1402095314","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095313":["hashtag1","hashtag2"]},{"1402095312":["hashtag1","hashtag2"]},{"1402095315":["hashtag1","hashtag2"]},{"1402095318":["hashtag1","hashtag2"]},{"1402095314":["hashtag1","hashtag2"]},{"1402095310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095313, 1402095312, 1402095315, 1402095318, 1402095314, 1402095310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.508652210235596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:44:42.707203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_03_2823.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_10_3565.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_13_3330.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_16_2654.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_18_2616.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_21_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_03_2823.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_10_3565.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_13_3330.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_16_2654.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_18_2616.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_21_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095330","1402095332","1402095326","1402095329","1402095328","1402095331"],"photo_ids_order":["1402095326","1402095328","1402095329","1402095330","1402095331","1402095332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8d2ef11cfc15bdd8dec8cdcc4bf5e95.jpg","text":"TemporaryFile(/tmp/multipartBody2176051148956984905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318344515,"filename":"image_04112025_21_42_16_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/2/658692a3c84f1806a651a19bf96678f0.jpg","text":"TemporaryFile(/tmp/multipartBody3055298775579023471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318344515,"filename":"image_04112025_21_42_21_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/2/046d7e88bd267b404ca4a98ce5a119e6.jpg","text":"TemporaryFile(/tmp/multipartBody2386391037425951557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318344515,"filename":"image_04112025_21_42_03_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/2/4f671869e6889264f4213d02094402e7.jpg","text":"TemporaryFile(/tmp/multipartBody8278853812485438821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318344515,"filename":"image_04112025_21_42_13_3330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/25040f98f00534d4fe317bd83b88d39b.jpg","text":"TemporaryFile(/tmp/multipartBody3476427383145807996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318344515,"filename":"image_04112025_21_42_10_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/2/f71b16c1a562e855e4178c13f1d4f2a9.jpg","text":"TemporaryFile(/tmp/multipartBody2874754387411650878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318344515,"filename":"image_04112025_21_42_18_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095329","file1":"1402095328","file0":"1402095326","file4":"1402095331","file5":"1402095332","file3":"1402095330"},"map_files_photo_id_array":[{"photo_id":"1402095332","filename":"file5"},{"photo_id":"1402095329","filename":"file2"},{"photo_id":"1402095331","filename":"file4"},{"photo_id":"1402095328","filename":"file1"},{"photo_id":"1402095326","filename":"file0"},{"photo_id":"1402095330","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095330":["hashtag1","hashtag2"]},{"1402095332":["hashtag1","hashtag2"]},{"1402095326":["hashtag1","hashtag2"]},{"1402095329":["hashtag1","hashtag2"]},{"1402095328":["hashtag1","hashtag2"]},{"1402095331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095330, 1402095332, 1402095326, 1402095329, 1402095328, 1402095331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51672554016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:45:21.874743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_35_10868.jpg', '/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_45_9809.jpg', '/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_55_9781.jpg', '/home/pi/Desktop/images/02012026/02/06/image_02012026_02_07_05_9592.jpg', '/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_15_10636.jpg', '/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_25_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_35_10868.jpg
/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_45_9809.jpg
/home/pi/Desktop/images/02012026/02/06/image_02012026_02_06_55_9781.jpg
/home/pi/Desktop/images/02012026/02/06/image_02012026_02_07_05_9592.jpg
/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_15_10636.jpg
/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_25_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":["1402095339","1402095333","1402095341","1402095335","1402095343","1402095337"],"photo_ids_order":["1402095333","1402095335","1402095337","1402095339","1402095341","1402095343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83c39bcabf9f7cad9f391d6e5b6a607d.jpg","text":"TemporaryFile(/tmp/multipartBody254168141881530842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318382480,"filename":"image_02012026_02_07_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/2/e0f1ba65d7a42ada20ff18b7eaf4b779.jpg","text":"TemporaryFile(/tmp/multipartBody4416420529180519120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318382480,"filename":"image_02012026_02_06_35_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/2/eb94d6cb881e5d329a2fa234af89180b.jpg","text":"TemporaryFile(/tmp/multipartBody910509973491820247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318382480,"filename":"image_02012026_02_07_15_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/2/f43291528f0cef9e2c76bdedd1ae586a.jpg","text":"TemporaryFile(/tmp/multipartBody8267457045486442012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318382480,"filename":"image_02012026_02_06_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/2/e3147ca6de37fd3a337da5b070024b32.jpg","text":"TemporaryFile(/tmp/multipartBody2778640145635831034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318382480,"filename":"image_02012026_02_07_25_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/2/92637385a9fd83dadb5ebb52b3c0e7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4872823903095460023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318382480,"filename":"image_02012026_02_06_55_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095337","file1":"1402095335","file0":"1402095333","file4":"1402095341","file5":"1402095343","file3":"1402095339"},"map_files_photo_id_array":[{"photo_id":"1402095343","filename":"file5"},{"photo_id":"1402095337","filename":"file2"},{"photo_id":"1402095341","filename":"file4"},{"photo_id":"1402095335","filename":"file1"},{"photo_id":"1402095333","filename":"file0"},{"photo_id":"1402095339","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095339":["hashtag1","hashtag2"]},{"1402095333":["hashtag1","hashtag2"]},{"1402095341":["hashtag1","hashtag2"]},{"1402095335":["hashtag1","hashtag2"]},{"1402095343":["hashtag1","hashtag2"]},{"1402095337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095339, 1402095333, 1402095341, 1402095335, 1402095343, 1402095337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23034620285034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:46:02.510209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_35_9793.jpg', '/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_45_10697.jpg', '/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_55_9734.jpg', '/home/pi/Desktop/images/02012026/02/07/image_02012026_02_08_05_9559.jpg', '/home/pi/Desktop/images/02012026/02/08/image_02012026_02_08_25_10597.jpg', '/home/pi/Desktop/images/02012026/02/08/image_02012026_02_08_44_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_35_9793.jpg
/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_45_10697.jpg
/home/pi/Desktop/images/02012026/02/07/image_02012026_02_07_55_9734.jpg
/home/pi/Desktop/images/02012026/02/07/image_02012026_02_08_05_9559.jpg
/home/pi/Desktop/images/02012026/02/08/image_02012026_02_08_25_10597.jpg
/home/pi/Desktop/images/02012026/02/08/image_02012026_02_08_44_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095351","1402095345","1402095348","1402095347","1402095346","1402095349"],"photo_ids_order":["1402095345","1402095346","1402095347","1402095348","1402095349","1402095351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5da5f289d7bb7e54b54ed32736164027.jpg","text":"TemporaryFile(/tmp/multipartBody2368086818279507708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318423181,"filename":"image_02012026_02_08_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/2/2e7b4fae5a4fe6e06b46782d6921b53e.jpg","text":"TemporaryFile(/tmp/multipartBody3744752056660128728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318423181,"filename":"image_02012026_02_07_35_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/2/2b94c6a8b39025496065f70f11912675.jpg","text":"TemporaryFile(/tmp/multipartBody955323282607852921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318423181,"filename":"image_02012026_02_08_05_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/2/c2b041a8d5b4fab984239c1016b7c448.jpg","text":"TemporaryFile(/tmp/multipartBody3958082299724731422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318423181,"filename":"image_02012026_02_07_55_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/2/bfe1391d6666fd7c9907007b4b2750c7.jpg","text":"TemporaryFile(/tmp/multipartBody7381761433933488305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318423181,"filename":"image_02012026_02_07_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/2/0690f08f179f6b33a547fd2d99fdad74.jpg","text":"TemporaryFile(/tmp/multipartBody4604538461850185946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318423181,"filename":"image_02012026_02_08_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095347","file1":"1402095346","file0":"1402095345","file4":"1402095349","file5":"1402095351","file3":"1402095348"},"map_files_photo_id_array":[{"photo_id":"1402095351","filename":"file5"},{"photo_id":"1402095347","filename":"file2"},{"photo_id":"1402095349","filename":"file4"},{"photo_id":"1402095346","filename":"file1"},{"photo_id":"1402095345","filename":"file0"},{"photo_id":"1402095348","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095351":["hashtag1","hashtag2"]},{"1402095345":["hashtag1","hashtag2"]},{"1402095348":["hashtag1","hashtag2"]},{"1402095347":["hashtag1","hashtag2"]},{"1402095346":["hashtag1","hashtag2"]},{"1402095349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095351, 1402095345, 1402095348, 1402095347, 1402095346, 1402095349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05665826797485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:46:42.058939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_25_3720.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_27_2688.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_30_2749.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_33_2651.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_38_5833.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_42_3361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_25_3720.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_27_2688.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_30_2749.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_33_2651.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_38_5833.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_42_3361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6883807182312012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:47:02.947079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/08/image_02012026_02_08_54_9986.jpg', '/home/pi/Desktop/images/02012026/02/08/image_02012026_02_09_05_10777.jpg', '/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_15_9508.jpg', '/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_24_9742.jpg', '/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_35_10840.jpg', '/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_55_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/08/image_02012026_02_08_54_9986.jpg
/home/pi/Desktop/images/02012026/02/08/image_02012026_02_09_05_10777.jpg
/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_15_9508.jpg
/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_24_9742.jpg
/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_35_10840.jpg
/home/pi/Desktop/images/02012026/02/09/image_02012026_02_09_55_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":["1402095363","1402095366","1402095368","1402095365","1402095364","1402095361"],"photo_ids_order":["1402095361","1402095363","1402095364","1402095365","1402095366","1402095368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d616e053e2b2c4ec20fa577f62941196.jpg","text":"TemporaryFile(/tmp/multipartBody4542249311243566371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318483619,"filename":"image_02012026_02_09_05_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/2/8412c2a590463813ec07d3fd3b229a85.jpg","text":"TemporaryFile(/tmp/multipartBody5593149221568232982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318483619,"filename":"image_02012026_02_09_35_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e670f975d215f8acd744c00b1016401b.jpg","text":"TemporaryFile(/tmp/multipartBody7834440677129615765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318483619,"filename":"image_02012026_02_09_55_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/2/747314ac0606219525fee814b6d0ce4f.jpg","text":"TemporaryFile(/tmp/multipartBody8049028869363106356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318483619,"filename":"image_02012026_02_09_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/2/706883802f7cf6dab0c139e283e810f2.jpg","text":"TemporaryFile(/tmp/multipartBody4764204841404767777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318483619,"filename":"image_02012026_02_09_15_9508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd12f6201dfe59ba5c2ec0ae9870e39a.jpg","text":"TemporaryFile(/tmp/multipartBody7868735337124641952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318483619,"filename":"image_02012026_02_08_54_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095364","file1":"1402095363","file0":"1402095361","file4":"1402095366","file5":"1402095368","file3":"1402095365"},"map_files_photo_id_array":[{"photo_id":"1402095368","filename":"file5"},{"photo_id":"1402095364","filename":"file2"},{"photo_id":"1402095366","filename":"file4"},{"photo_id":"1402095363","filename":"file1"},{"photo_id":"1402095361","filename":"file0"},{"photo_id":"1402095365","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095363":["hashtag1","hashtag2"]},{"1402095366":["hashtag1","hashtag2"]},{"1402095368":["hashtag1","hashtag2"]},{"1402095365":["hashtag1","hashtag2"]},{"1402095364":["hashtag1","hashtag2"]},{"1402095361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095363, 1402095366, 1402095368, 1402095365, 1402095364, 1402095361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45508909225464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:47:42.237418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_25_3720.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_27_2688.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_30_2749.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_33_2651.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_38_5833.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_42_3361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_25_3720.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_27_2688.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_30_2749.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_33_2651.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_38_5833.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_42_3361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095381","1402095378","1402095380","1402095377","1402095379","1402095373"],"photo_ids_order":["1402095373","1402095377","1402095378","1402095379","1402095380","1402095381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/261c63c4cae9b1d56b2d1281cf1a21de.jpg","text":"TemporaryFile(/tmp/multipartBody1213592129014100338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318523906,"filename":"image_04112025_21_42_42_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/2/4006d5c5194c12c02bbdf3b6d4edcb84.jpg","text":"TemporaryFile(/tmp/multipartBody7555869157164824575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318523906,"filename":"image_04112025_21_42_30_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/2/8f49d1b27d67db119b2fb9bd6bb54c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2265158014517360552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318523906,"filename":"image_04112025_21_42_38_5833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94edf82464d23df2fa71f212ad5a3461.jpg","text":"TemporaryFile(/tmp/multipartBody7768325339618841374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318523906,"filename":"image_04112025_21_42_27_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/2/3b7f5de45895e4333814f8f4a32c89bc.jpg","text":"TemporaryFile(/tmp/multipartBody3930925987595950258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318523906,"filename":"image_04112025_21_42_33_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/2/eadc23d97af5dc082f82fd37e93781b1.jpg","text":"TemporaryFile(/tmp/multipartBody192372758974361228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318523906,"filename":"image_04112025_21_42_25_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095378","file1":"1402095377","file0":"1402095373","file4":"1402095380","file5":"1402095381","file3":"1402095379"},"map_files_photo_id_array":[{"photo_id":"1402095381","filename":"file5"},{"photo_id":"1402095378","filename":"file2"},{"photo_id":"1402095380","filename":"file4"},{"photo_id":"1402095377","filename":"file1"},{"photo_id":"1402095373","filename":"file0"},{"photo_id":"1402095379","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095381":["hashtag1","hashtag2"]},{"1402095378":["hashtag1","hashtag2"]},{"1402095380":["hashtag1","hashtag2"]},{"1402095377":["hashtag1","hashtag2"]},{"1402095379":["hashtag1","hashtag2"]},{"1402095373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095381, 1402095378, 1402095380, 1402095377, 1402095379, 1402095373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17511868476868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:48:22.379989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/09/image_02012026_02_10_04_9711.jpg', '/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_15_10756.jpg', '/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_25_9626.jpg', '/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_34_9660.jpg', '/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_45_10580.jpg', '/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_55_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/09/image_02012026_02_10_04_9711.jpg
/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_15_10756.jpg
/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_25_9626.jpg
/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_34_9660.jpg
/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_45_10580.jpg
/home/pi/Desktop/images/02012026/02/10/image_02012026_02_10_55_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095390","1402095384","1402095392","1402095386","1402095382","1402095388"],"photo_ids_order":["1402095382","1402095384","1402095386","1402095388","1402095390","1402095392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6497997dfa1823b9ac5a5c5c4d715868.jpg","text":"TemporaryFile(/tmp/multipartBody9063083078182166750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318562979,"filename":"image_02012026_02_10_45_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/2/8b0240593f92dafd6ff6674ae2e3f263.jpg","text":"TemporaryFile(/tmp/multipartBody5520783158768412532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318562979,"filename":"image_02012026_02_10_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/2/0d8453577473bab97f0a69d46cd9ce16.jpg","text":"TemporaryFile(/tmp/multipartBody6078349238086497117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318562979,"filename":"image_02012026_02_10_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/2/eed0858277f5fd596a967f8cd792b724.jpg","text":"TemporaryFile(/tmp/multipartBody3443054613931466701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318562979,"filename":"image_02012026_02_10_25_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/2/28c985ef027e3e9d67074d05ee2d228d.jpg","text":"TemporaryFile(/tmp/multipartBody2705250110080969104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318562979,"filename":"image_02012026_02_10_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/2/6c5b7899424034a8dfac15ce15adf1c9.jpg","text":"TemporaryFile(/tmp/multipartBody5117521992038236469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318562979,"filename":"image_02012026_02_10_34_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095386","file1":"1402095384","file0":"1402095382","file4":"1402095390","file5":"1402095392","file3":"1402095388"},"map_files_photo_id_array":[{"photo_id":"1402095392","filename":"file5"},{"photo_id":"1402095386","filename":"file2"},{"photo_id":"1402095390","filename":"file4"},{"photo_id":"1402095384","filename":"file1"},{"photo_id":"1402095382","filename":"file0"},{"photo_id":"1402095388","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095390":["hashtag1","hashtag2"]},{"1402095384":["hashtag1","hashtag2"]},{"1402095392":["hashtag1","hashtag2"]},{"1402095386":["hashtag1","hashtag2"]},{"1402095382":["hashtag1","hashtag2"]},{"1402095388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095390, 1402095384, 1402095392, 1402095386, 1402095382, 1402095388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66083550453186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:49:03.367872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/10/image_02012026_02_11_04_9660.jpg', '/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_15_10786.jpg', '/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_25_9736.jpg', '/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_35_9574.jpg', '/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_45_10558.jpg', '/home/pi/Desktop/images/02012026/02/11/image_02012026_02_12_04_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/10/image_02012026_02_11_04_9660.jpg
/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_15_10786.jpg
/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_25_9736.jpg
/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_35_9574.jpg
/home/pi/Desktop/images/02012026/02/11/image_02012026_02_11_45_10558.jpg
/home/pi/Desktop/images/02012026/02/11/image_02012026_02_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":["1402095396","1402095398","1402095395","1402095397","1402095394","1402095400"],"photo_ids_order":["1402095394","1402095395","1402095396","1402095397","1402095398","1402095400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/33374ffe4007fd85ae0f68d57cb737eb.jpg","text":"TemporaryFile(/tmp/multipartBody5422277945265750124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318604183,"filename":"image_02012026_02_11_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/2/4211b60e45b4135a0129d99748c6cea6.jpg","text":"TemporaryFile(/tmp/multipartBody7222835489599600342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318604183,"filename":"image_02012026_02_11_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/2/f71d8f20a7e41e254ea48f186e3ab16b.jpg","text":"TemporaryFile(/tmp/multipartBody6316641553530867595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318604183,"filename":"image_02012026_02_11_15_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/2/353c74ca074145fedd5bf0b2fc80ee35.jpg","text":"TemporaryFile(/tmp/multipartBody4627382163350975442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318604183,"filename":"image_02012026_02_11_35_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/2/42ec1f9b7e35cf643da630072037108c.jpg","text":"TemporaryFile(/tmp/multipartBody3131274745730172927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318604183,"filename":"image_02012026_02_11_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/2/afd4343c68311e088b155f0a0d58c120.jpg","text":"TemporaryFile(/tmp/multipartBody8029023866207634914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318604183,"filename":"image_02012026_02_12_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095396","file1":"1402095395","file0":"1402095394","file4":"1402095398","file5":"1402095400","file3":"1402095397"},"map_files_photo_id_array":[{"photo_id":"1402095400","filename":"file5"},{"photo_id":"1402095396","filename":"file2"},{"photo_id":"1402095398","filename":"file4"},{"photo_id":"1402095395","filename":"file1"},{"photo_id":"1402095394","filename":"file0"},{"photo_id":"1402095397","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095396":["hashtag1","hashtag2"]},{"1402095398":["hashtag1","hashtag2"]},{"1402095395":["hashtag1","hashtag2"]},{"1402095397":["hashtag1","hashtag2"]},{"1402095394":["hashtag1","hashtag2"]},{"1402095400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095396, 1402095398, 1402095395, 1402095397, 1402095394, 1402095400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.573304653167725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:49:42.682604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_43_1616.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_45_1799.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_50_4310.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_51_1566.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_54_2566.jpg', '/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_57_3809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_43_1616.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_45_1799.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_50_4310.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_51_1566.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_54_2566.jpg
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_42_57_3809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095411","1402095408","1402095405","1402095410","1402095407","1402095409"],"photo_ids_order":["1402095405","1402095407","1402095408","1402095409","1402095410","1402095411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4accc097cdf7fbee9755d3cd1b245d9f.jpg","text":"TemporaryFile(/tmp/multipartBody338283286465278526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318644497,"filename":"image_04112025_21_42_57_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/2/84c10b13db513a593df1b7fe88f095f1.jpg","text":"TemporaryFile(/tmp/multipartBody1996125527193523807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318644497,"filename":"image_04112025_21_42_50_4310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c60b74fdf3bfefadc8beef66284f09a2.jpg","text":"TemporaryFile(/tmp/multipartBody6651526849624978242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318644497,"filename":"image_04112025_21_42_43_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/2/be72504789f28bfe1702b8a88af47d53.jpg","text":"TemporaryFile(/tmp/multipartBody3710498824795361346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318644497,"filename":"image_04112025_21_42_54_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/2/9c313939e2a3937bec282d5790ed8923.jpg","text":"TemporaryFile(/tmp/multipartBody1503604448127162145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318644497,"filename":"image_04112025_21_42_45_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/2/01784cd0518b790f41fb1fb80c44f5e7.jpg","text":"TemporaryFile(/tmp/multipartBody4686575404414719577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318644497,"filename":"image_04112025_21_42_51_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095408","file1":"1402095407","file0":"1402095405","file4":"1402095410","file5":"1402095411","file3":"1402095409"},"map_files_photo_id_array":[{"photo_id":"1402095411","filename":"file5"},{"photo_id":"1402095408","filename":"file2"},{"photo_id":"1402095410","filename":"file4"},{"photo_id":"1402095407","filename":"file1"},{"photo_id":"1402095405","filename":"file0"},{"photo_id":"1402095409","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095411":["hashtag1","hashtag2"]},{"1402095408":["hashtag1","hashtag2"]},{"1402095405":["hashtag1","hashtag2"]},{"1402095410":["hashtag1","hashtag2"]},{"1402095407":["hashtag1","hashtag2"]},{"1402095409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095411, 1402095408, 1402095405, 1402095410, 1402095407, 1402095409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95499086380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:50:21.838096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_15_10675.jpg', '/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_25_9624.jpg', '/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_35_9880.jpg', '/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_45_10632.jpg', '/home/pi/Desktop/images/02012026/02/12/image_02012026_02_13_05_10629.jpg', '/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_15_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_15_10675.jpg
/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_25_9624.jpg
/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_35_9880.jpg
/home/pi/Desktop/images/02012026/02/12/image_02012026_02_12_45_10632.jpg
/home/pi/Desktop/images/02012026/02/12/image_02012026_02_13_05_10629.jpg
/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_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":["1402095412","1402095420","1402095414","1402095423","1402095416","1402095418"],"photo_ids_order":["1402095412","1402095414","1402095416","1402095418","1402095420","1402095423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91fc5062e84f14a84310eb5ad25cdb4d.jpg","text":"TemporaryFile(/tmp/multipartBody5627853982120405869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318682434,"filename":"image_02012026_02_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/2/5a98208299e194fba8c54d122f9b4d9b.jpg","text":"TemporaryFile(/tmp/multipartBody226991040201050194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318682434,"filename":"image_02012026_02_13_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/2/3a5130fb7b033e1efb22654c8596b6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7216620963531441546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318682434,"filename":"image_02012026_02_12_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/2/52cffd59da3d1bd887337a15f90a5e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4602196593669941475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318682434,"filename":"image_02012026_02_13_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/2/2fe69b760340095d6c75d4b4545aea5e.jpg","text":"TemporaryFile(/tmp/multipartBody1912427162498394218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318682434,"filename":"image_02012026_02_12_35_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/2/fce2c83e482d9329a54a643911d3d725.jpg","text":"TemporaryFile(/tmp/multipartBody6618561619547239867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318682434,"filename":"image_02012026_02_12_45_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095416","file1":"1402095414","file0":"1402095412","file4":"1402095420","file5":"1402095423","file3":"1402095418"},"map_files_photo_id_array":[{"photo_id":"1402095423","filename":"file5"},{"photo_id":"1402095416","filename":"file2"},{"photo_id":"1402095420","filename":"file4"},{"photo_id":"1402095414","filename":"file1"},{"photo_id":"1402095412","filename":"file0"},{"photo_id":"1402095418","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095412":["hashtag1","hashtag2"]},{"1402095420":["hashtag1","hashtag2"]},{"1402095414":["hashtag1","hashtag2"]},{"1402095423":["hashtag1","hashtag2"]},{"1402095416":["hashtag1","hashtag2"]},{"1402095418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095412, 1402095420, 1402095414, 1402095423, 1402095416, 1402095418)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.5732581615448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:51:16.060324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/42/image_04112025_21_43_00_2605.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_09_5750.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_12_1776.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_15_2609.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_18_3638.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_21_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/42/image_04112025_21_43_00_2605.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_09_5750.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_12_1776.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_15_2609.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_18_3638.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_21_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095429","1402095431","1402095425","1402095433","1402095427","1402095424"],"photo_ids_order":["1402095424","1402095425","1402095427","1402095429","1402095431","1402095433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f4ce30ad723d65bad1c8d67a12efc644.jpg","text":"TemporaryFile(/tmp/multipartBody1218608965616819814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318737876,"filename":"image_04112025_21_43_15_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/2/918d1955835270cb3f650b392134dfa1.jpg","text":"TemporaryFile(/tmp/multipartBody4075658727632119462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318737876,"filename":"image_04112025_21_43_18_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/2/6b8bf1985cf6a8c0ebdb846250171c56.jpg","text":"TemporaryFile(/tmp/multipartBody743448739401673912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318737876,"filename":"image_04112025_21_43_09_5750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/44764ca1e68b54d1624c6f1705098246.jpg","text":"TemporaryFile(/tmp/multipartBody1573652938178407505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318737876,"filename":"image_04112025_21_43_21_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/2/fea8ac477ee71dce13679cca70d5bb79.jpg","text":"TemporaryFile(/tmp/multipartBody7602870939427162804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318737876,"filename":"image_04112025_21_43_12_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/2/67f2bc8a0a0f0dbbb7e8b2b1940f4755.jpg","text":"TemporaryFile(/tmp/multipartBody2652193432669619704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318737876,"filename":"image_04112025_21_43_00_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095427","file1":"1402095425","file0":"1402095424","file4":"1402095431","file5":"1402095433","file3":"1402095429"},"map_files_photo_id_array":[{"photo_id":"1402095433","filename":"file5"},{"photo_id":"1402095427","filename":"file2"},{"photo_id":"1402095431","filename":"file4"},{"photo_id":"1402095425","filename":"file1"},{"photo_id":"1402095424","filename":"file0"},{"photo_id":"1402095429","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095429":["hashtag1","hashtag2"]},{"1402095431":["hashtag1","hashtag2"]},{"1402095425":["hashtag1","hashtag2"]},{"1402095433":["hashtag1","hashtag2"]},{"1402095427":["hashtag1","hashtag2"]},{"1402095424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095429, 1402095431, 1402095425, 1402095433, 1402095427, 1402095424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93656086921692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:52:02.648988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 02:52:12.236460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_24_2687.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_27_2827.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_30_3871.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_33_2650.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_36_2530.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_39_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_24_2687.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_27_2827.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_30_3871.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_33_2650.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_36_2530.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_39_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095444","1402095438","1402095440","1402095437","1402095442","1402095436"],"photo_ids_order":["1402095436","1402095437","1402095438","1402095440","1402095442","1402095444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0ba16c9a8e4c66e12e2a322cd80fa13f.jpg","text":"TemporaryFile(/tmp/multipartBody6255725189152596629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318796316,"filename":"image_04112025_21_43_39_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/2/c049c897d3290ca5fe14ec4996ff6435.jpg","text":"TemporaryFile(/tmp/multipartBody2686748961627113433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318796316,"filename":"image_04112025_21_43_30_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/2/c73e2a079f16e8ce37acd31ba9f4f0ce.jpg","text":"TemporaryFile(/tmp/multipartBody3811646125471491398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318796316,"filename":"image_04112025_21_43_33_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/2/5465982b346c3408e3f90fe8dfb272e9.jpg","text":"TemporaryFile(/tmp/multipartBody8073633976086398962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318796316,"filename":"image_04112025_21_43_27_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/2/a542f3aee76d0cf8f3dd974fe6b4d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody916627564384320984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318796316,"filename":"image_04112025_21_43_36_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/2/e6738db0766f55e2a810271516fb3a08.jpg","text":"TemporaryFile(/tmp/multipartBody5989804925390546179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318796316,"filename":"image_04112025_21_43_24_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095438","file1":"1402095437","file0":"1402095436","file4":"1402095442","file5":"1402095444","file3":"1402095440"},"map_files_photo_id_array":[{"photo_id":"1402095444","filename":"file5"},{"photo_id":"1402095438","filename":"file2"},{"photo_id":"1402095442","filename":"file4"},{"photo_id":"1402095437","filename":"file1"},{"photo_id":"1402095436","filename":"file0"},{"photo_id":"1402095440","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095444":["hashtag1","hashtag2"]},{"1402095438":["hashtag1","hashtag2"]},{"1402095440":["hashtag1","hashtag2"]},{"1402095437":["hashtag1","hashtag2"]},{"1402095442":["hashtag1","hashtag2"]},{"1402095436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095444, 1402095438, 1402095440, 1402095437, 1402095442, 1402095436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.40671896934509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:53:02.886061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 02:53:12.352972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_42_2710.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_48_3605.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_51_2630.jpg', '/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_57_3666.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_09_11391.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_10_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/21/43/image_04112025_21_43_42_2710.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_48_3605.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_51_2630.jpg
/home/pi/Desktop/images/04112025/21/43/image_04112025_21_43_57_3666.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_09_11391.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_10_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095456","1402095452","1402095458","1402095451","1402095460","1402095454"],"photo_ids_order":["1402095451","1402095452","1402095454","1402095456","1402095458","1402095460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/064f54fb28dd9a64848c03e016ab1b4f.jpg","text":"TemporaryFile(/tmp/multipartBody8648475832877422561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318856537,"filename":"image_04112025_21_43_57_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/2/ad2d4fbdfc78d1c977a9ac71a0f268b8.jpg","text":"TemporaryFile(/tmp/multipartBody763306006386431167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318856537,"filename":"image_04112025_21_43_48_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/2/0e0e5cca81747c22efcf468bc21bfa83.jpg","text":"TemporaryFile(/tmp/multipartBody6030702641739214343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318856537,"filename":"image_04112025_21_44_09_11391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/41fda6161b3043ac36f290a7f01fe6d3.jpg","text":"TemporaryFile(/tmp/multipartBody7889278125214995626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318856537,"filename":"image_04112025_21_43_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/2/7da39edaa579239e3feda0daa830aefc.jpg","text":"TemporaryFile(/tmp/multipartBody8243903365882733713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318856537,"filename":"image_04112025_21_44_10_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/2/e3e6b4b9d05f43af9b559aef233db53a.jpg","text":"TemporaryFile(/tmp/multipartBody8641134100081809185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318856537,"filename":"image_04112025_21_43_51_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095454","file1":"1402095452","file0":"1402095451","file4":"1402095458","file5":"1402095460","file3":"1402095456"},"map_files_photo_id_array":[{"photo_id":"1402095460","filename":"file5"},{"photo_id":"1402095454","filename":"file2"},{"photo_id":"1402095458","filename":"file4"},{"photo_id":"1402095452","filename":"file1"},{"photo_id":"1402095451","filename":"file0"},{"photo_id":"1402095456","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095456":["hashtag1","hashtag2"]},{"1402095452":["hashtag1","hashtag2"]},{"1402095458":["hashtag1","hashtag2"]},{"1402095451":["hashtag1","hashtag2"]},{"1402095460":["hashtag1","hashtag2"]},{"1402095454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095456, 1402095452, 1402095458, 1402095451, 1402095460, 1402095454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.74414896965027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:54:03.127250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 02:54:12.623229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_12_1743.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_16_1583.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_19_1613.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_24_3668.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_27_2782.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_30_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/21/44/image_04112025_21_44_12_1743.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_16_1583.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_19_1613.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_24_3668.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_27_2782.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_30_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":["1402095471","1402095465","1402095473","1402095467","1402095463","1402095469"],"photo_ids_order":["1402095463","1402095465","1402095467","1402095469","1402095471","1402095473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f18fdfc664bc31f875026367d8156e0.jpg","text":"TemporaryFile(/tmp/multipartBody6720196974751711487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318914300,"filename":"image_04112025_21_44_27_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/2/aa685be8dd93144136e0dca0b138dbb8.jpg","text":"TemporaryFile(/tmp/multipartBody2181644565551918569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318914300,"filename":"image_04112025_21_44_16_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/2/dbd46942b10fed73f5be0d5dd1caf255.jpg","text":"TemporaryFile(/tmp/multipartBody7180674829844520591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318914300,"filename":"image_04112025_21_44_30_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/2/b1ebfe2f0c3df1736384789d408ac682.jpg","text":"TemporaryFile(/tmp/multipartBody8878920136932650558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318914300,"filename":"image_04112025_21_44_19_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/2/6a67b46622a43d7f40972ffa27d49c0c.jpg","text":"TemporaryFile(/tmp/multipartBody6363707902103485878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318914300,"filename":"image_04112025_21_44_12_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/2/ceac6df69bf447c12a29b0c209ab306e.jpg","text":"TemporaryFile(/tmp/multipartBody8590683454314392845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318914300,"filename":"image_04112025_21_44_24_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095467","file1":"1402095465","file0":"1402095463","file4":"1402095471","file5":"1402095473","file3":"1402095469"},"map_files_photo_id_array":[{"photo_id":"1402095473","filename":"file5"},{"photo_id":"1402095467","filename":"file2"},{"photo_id":"1402095471","filename":"file4"},{"photo_id":"1402095465","filename":"file1"},{"photo_id":"1402095463","filename":"file0"},{"photo_id":"1402095469","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095471":["hashtag1","hashtag2"]},{"1402095465":["hashtag1","hashtag2"]},{"1402095473":["hashtag1","hashtag2"]},{"1402095467":["hashtag1","hashtag2"]},{"1402095463":["hashtag1","hashtag2"]},{"1402095469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095471, 1402095465, 1402095473, 1402095467, 1402095463, 1402095469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.917601108551025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:55:03.370642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 02:55:12.787893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_32_2786.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_39_2961.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_42_2613.jpg', '/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_53_10891.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_07_12981.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_10_3150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_32_2786.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_39_2961.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_42_2613.jpg
/home/pi/Desktop/images/04112025/21/44/image_04112025_21_44_53_10891.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_07_12981.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_10_3150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095480","1402095483","1402095477","1402095485","1402095479","1402095476"],"photo_ids_order":["1402095476","1402095477","1402095479","1402095480","1402095483","1402095485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d58b0d327928755ccb533f37847557f9.jpg","text":"TemporaryFile(/tmp/multipartBody1578026896966309024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318974620,"filename":"image_04112025_21_44_53_10891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83a706a48d4232636684b58376628b31.jpg","text":"TemporaryFile(/tmp/multipartBody1499080823050061980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318974620,"filename":"image_04112025_21_45_07_12981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a19546080df251b5413a04214957fec1.jpg","text":"TemporaryFile(/tmp/multipartBody3320412321967425183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318974620,"filename":"image_04112025_21_44_39_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca5ca96558695bebe66134a0b3d4ca3c.jpg","text":"TemporaryFile(/tmp/multipartBody8510641480184447661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318974620,"filename":"image_04112025_21_45_10_3150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/25553cf9889457fe6943e08e23cb5233.jpg","text":"TemporaryFile(/tmp/multipartBody6338732081235602873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318974620,"filename":"image_04112025_21_44_42_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/2/7088bc1884b8a75dc7dc9df34b22fe44.jpg","text":"TemporaryFile(/tmp/multipartBody6377480736695930059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767318974620,"filename":"image_04112025_21_44_32_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095479","file1":"1402095477","file0":"1402095476","file4":"1402095483","file5":"1402095485","file3":"1402095480"},"map_files_photo_id_array":[{"photo_id":"1402095485","filename":"file5"},{"photo_id":"1402095479","filename":"file2"},{"photo_id":"1402095483","filename":"file4"},{"photo_id":"1402095477","filename":"file1"},{"photo_id":"1402095476","filename":"file0"},{"photo_id":"1402095480","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095480":["hashtag1","hashtag2"]},{"1402095483":["hashtag1","hashtag2"]},{"1402095477":["hashtag1","hashtag2"]},{"1402095485":["hashtag1","hashtag2"]},{"1402095479":["hashtag1","hashtag2"]},{"1402095476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095480, 1402095483, 1402095477, 1402095485, 1402095479, 1402095476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.336143016815186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:56:02.633853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_25_9770.jpg', '/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_34_9692.jpg', '/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_45_10655.jpg', '/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_55_9614.jpg', '/home/pi/Desktop/images/02012026/02/13/image_02012026_02_14_04_9750.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_15_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_25_9770.jpg
/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_34_9692.jpg
/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_45_10655.jpg
/home/pi/Desktop/images/02012026/02/13/image_02012026_02_13_55_9614.jpg
/home/pi/Desktop/images/02012026/02/13/image_02012026_02_14_04_9750.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_15_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":["1402095489","1402095491","1402095494","1402095488","1402095490","1402095492"],"photo_ids_order":["1402095488","1402095489","1402095490","1402095491","1402095492","1402095494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cff8350a89ec212e3010982863cde39f.jpg","text":"TemporaryFile(/tmp/multipartBody5748883236525368222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319023294,"filename":"image_02012026_02_13_34_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/2/5923a9a0a493fe71123b9b73426ae61b.jpg","text":"TemporaryFile(/tmp/multipartBody4909627690615388949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319023294,"filename":"image_02012026_02_13_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/2/247b1309cec7ab441961563c0fe0a212.jpg","text":"TemporaryFile(/tmp/multipartBody2122196319319835130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319023294,"filename":"image_02012026_02_14_15_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/2/1fb2fab4b4406bd63c1b2e586a13f51c.jpg","text":"TemporaryFile(/tmp/multipartBody8192405405920897368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319023294,"filename":"image_02012026_02_13_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/2/dfd6fd917fc854354f791fcedcb3783d.jpg","text":"TemporaryFile(/tmp/multipartBody4431514680639394653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319023294,"filename":"image_02012026_02_13_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/2/7a3457e2c556d6aa687ae0a068c37886.jpg","text":"TemporaryFile(/tmp/multipartBody8548886649225349443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319023294,"filename":"image_02012026_02_14_04_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095490","file1":"1402095489","file0":"1402095488","file4":"1402095492","file5":"1402095494","file3":"1402095491"},"map_files_photo_id_array":[{"photo_id":"1402095494","filename":"file5"},{"photo_id":"1402095490","filename":"file2"},{"photo_id":"1402095492","filename":"file4"},{"photo_id":"1402095489","filename":"file1"},{"photo_id":"1402095488","filename":"file0"},{"photo_id":"1402095491","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095489":["hashtag1","hashtag2"]},{"1402095491":["hashtag1","hashtag2"]},{"1402095494":["hashtag1","hashtag2"]},{"1402095488":["hashtag1","hashtag2"]},{"1402095490":["hashtag1","hashtag2"]},{"1402095492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095489, 1402095491, 1402095494, 1402095488, 1402095490, 1402095492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64256954193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:56:42.130537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_12_1697.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_15_1647.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_17_1560.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_48_29254.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_51_1613.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_53_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_12_1697.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_15_1647.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_17_1560.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_48_29254.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_51_1613.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_53_1766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095505","1402095501","1402095504","1402095503","1402095499","1402095502"],"photo_ids_order":["1402095499","1402095501","1402095502","1402095503","1402095504","1402095505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a99e84f6afa97813eb7f2e7a3406a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2215103597371917131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319063928,"filename":"image_04112025_21_45_53_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/2/6c599fc06dbd8d19d54b691d44850152.jpg","text":"TemporaryFile(/tmp/multipartBody858770917986066440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319063928,"filename":"image_04112025_21_45_15_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/2/4c33863fe89e2d10ff1b11011f26d9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3418920995296342745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319063928,"filename":"image_04112025_21_45_51_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/2/c938e6a012480f5049706cf5c08b6dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3715861685232623974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319063928,"filename":"image_04112025_21_45_48_29254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a097430b83bb05c3f365e0c9f97dd900.jpg","text":"TemporaryFile(/tmp/multipartBody6121591374028883113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319063928,"filename":"image_04112025_21_45_12_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/2/2169a4bb0a94d997945c2eb8b12c6768.jpg","text":"TemporaryFile(/tmp/multipartBody5336615684697636672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319063928,"filename":"image_04112025_21_45_17_1560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095502","file1":"1402095501","file0":"1402095499","file4":"1402095504","file5":"1402095505","file3":"1402095503"},"map_files_photo_id_array":[{"photo_id":"1402095505","filename":"file5"},{"photo_id":"1402095502","filename":"file2"},{"photo_id":"1402095504","filename":"file4"},{"photo_id":"1402095501","filename":"file1"},{"photo_id":"1402095499","filename":"file0"},{"photo_id":"1402095503","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095505":["hashtag1","hashtag2"]},{"1402095501":["hashtag1","hashtag2"]},{"1402095504":["hashtag1","hashtag2"]},{"1402095503":["hashtag1","hashtag2"]},{"1402095499":["hashtag1","hashtag2"]},{"1402095502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095505, 1402095501, 1402095504, 1402095503, 1402095499, 1402095502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17344951629639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 02:57:22.283582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_25_9738.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_35_9780.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_45_10603.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_55_10023.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_15_05_9630.jpg', '/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_15_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_25_9738.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_35_9780.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_45_10603.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_55_10023.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_15_05_9630.jpg
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_15_9771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4929957389831543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:57:32.294882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_55_1662.jpg', '/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_56_1685.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_01_1621.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_03_1777.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_05_1572.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_06_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/21/45/image_04112025_21_45_55_1662.jpg
/home/pi/Desktop/images/04112025/21/45/image_04112025_21_45_56_1685.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_01_1621.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_03_1777.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_05_1572.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_06_1603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095522","1402095521","1402095515","1402095518","1402095512","1402095520"],"photo_ids_order":["1402095512","1402095515","1402095518","1402095520","1402095521","1402095522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a20a75afe56cfb374684c1de8ee610cf.jpg","text":"TemporaryFile(/tmp/multipartBody2051804280562195716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319114117,"filename":"image_04112025_21_46_06_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/2/6b7862ac2db7063beab00603eac8a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody439273501941557901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319114117,"filename":"image_04112025_21_46_05_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/2/0ebe766a74fabf38af75188ee7a32549.jpg","text":"TemporaryFile(/tmp/multipartBody2625908617449390708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319114117,"filename":"image_04112025_21_45_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/2/36cf6f2442e5677e42df3f5b0ba198b0.jpg","text":"TemporaryFile(/tmp/multipartBody8482765326280913069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319114117,"filename":"image_04112025_21_46_01_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/2/2002cec6792eee74fcab797fde7071fd.jpg","text":"TemporaryFile(/tmp/multipartBody8283684722942919215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319114117,"filename":"image_04112025_21_45_55_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/2/9197427295945128d8b4b49159ac30ed.jpg","text":"TemporaryFile(/tmp/multipartBody1323068809627279238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319114117,"filename":"image_04112025_21_46_03_1777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402095518","file1":"1402095515","file0":"1402095512","file4":"1402095521","file5":"1402095522","file3":"1402095520"},"map_files_photo_id_array":[{"photo_id":"1402095522","filename":"file5"},{"photo_id":"1402095518","filename":"file2"},{"photo_id":"1402095521","filename":"file4"},{"photo_id":"1402095515","filename":"file1"},{"photo_id":"1402095512","filename":"file0"},{"photo_id":"1402095520","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402095522":["hashtag1","hashtag2"]},{"1402095521":["hashtag1","hashtag2"]},{"1402095515":["hashtag1","hashtag2"]},{"1402095518":["hashtag1","hashtag2"]},{"1402095512":["hashtag1","hashtag2"]},{"1402095520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402095522, 1402095521, 1402095515, 1402095518, 1402095512, 1402095520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.084596395492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 02:59:03.231999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_25_9738.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_35_9780.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_45_10603.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_55_10023.jpg', '/home/pi/Desktop/images/02012026/02/14/image_02012026_02_15_05_9630.jpg', '/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_15_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_25_9738.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_35_9780.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_45_10603.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_14_55_10023.jpg
/home/pi/Desktop/images/02012026/02/14/image_02012026_02_15_05_9630.jpg
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_15_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402095992","1402096192","1402096339","1402096299","1402095883","1402096086"],"photo_ids_order":["1402095883","1402095992","1402096086","1402096192","1402096299","1402096339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b015d97c334e890903dd7fb7177cb117.jpg","text":"TemporaryFile(/tmp/multipartBody1360007369961420260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319204102,"filename":"image_02012026_02_14_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/2/6aaa88d423e48c9a224b8e4133e17f84.jpg","text":"TemporaryFile(/tmp/multipartBody3960089927970985042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319204102,"filename":"image_02012026_02_14_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/2/c7cdffe397c5d6f14ffb4ae8142468c4.jpg","text":"TemporaryFile(/tmp/multipartBody1547320415795557490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319204102,"filename":"image_02012026_02_15_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/2/664d0ba2ec228e6925cc4b15c1af5b08.jpg","text":"TemporaryFile(/tmp/multipartBody7237491285161068684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319204102,"filename":"image_02012026_02_15_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/2/d2a15b12195015d4f2aea9089560e352.jpg","text":"TemporaryFile(/tmp/multipartBody6649377210386605689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319204102,"filename":"image_02012026_02_14_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/2/0dded90ac569fe73ef30a525f87b319d.jpg","text":"TemporaryFile(/tmp/multipartBody6444777144409781752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319204102,"filename":"image_02012026_02_14_45_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402096086","file1":"1402095992","file0":"1402095883","file4":"1402096299","file5":"1402096339","file3":"1402096192"},"map_files_photo_id_array":[{"photo_id":"1402096339","filename":"file5"},{"photo_id":"1402096086","filename":"file2"},{"photo_id":"1402096299","filename":"file4"},{"photo_id":"1402095992","filename":"file1"},{"photo_id":"1402095883","filename":"file0"},{"photo_id":"1402096192","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402095992":["hashtag1","hashtag2"]},{"1402096192":["hashtag1","hashtag2"]},{"1402096339":["hashtag1","hashtag2"]},{"1402096299":["hashtag1","hashtag2"]},{"1402095883":["hashtag1","hashtag2"]},{"1402096086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402095992, 1402096192, 1402096339, 1402096299, 1402095883, 1402096086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.991891384124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 02:59:42.474590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_11_1586.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_13_1642.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_14_1585.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_18_1930.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_19_1627.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_21_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/21/46/image_04112025_21_46_11_1586.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_13_1642.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_14_1585.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_18_1930.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_19_1627.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_21_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":["1402096422","1402096477","1402096471","1402096345","1402096342","1402096479"],"photo_ids_order":["1402096342","1402096345","1402096422","1402096471","1402096477","1402096479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ae3a38d456deeba21d2e5d5115cc6db.jpg","text":"TemporaryFile(/tmp/multipartBody3670077555452772323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319244275,"filename":"image_04112025_21_46_14_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/2/a6e942ae4d67a6102690d8f9ad355332.jpg","text":"TemporaryFile(/tmp/multipartBody5941462615350276364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319244275,"filename":"image_04112025_21_46_19_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/2/c9d0676c9bacacffa33ce4b2b85ea6e3.jpg","text":"TemporaryFile(/tmp/multipartBody8604499881709276791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319244275,"filename":"image_04112025_21_46_18_1930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dbbfe3ad316dd3438307a5844bd674ba.jpg","text":"TemporaryFile(/tmp/multipartBody4524249465261557538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319244275,"filename":"image_04112025_21_46_13_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/2/1738b08456cd451eb2dcc7ddf4df3093.jpg","text":"TemporaryFile(/tmp/multipartBody3657072668255219049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319244275,"filename":"image_04112025_21_46_11_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/2/0d98560a70d47336fb8367917a7e646a.jpg","text":"TemporaryFile(/tmp/multipartBody7783139904120488320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319244275,"filename":"image_04112025_21_46_21_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402096422","file1":"1402096345","file0":"1402096342","file4":"1402096477","file5":"1402096479","file3":"1402096471"},"map_files_photo_id_array":[{"photo_id":"1402096479","filename":"file5"},{"photo_id":"1402096422","filename":"file2"},{"photo_id":"1402096477","filename":"file4"},{"photo_id":"1402096345","filename":"file1"},{"photo_id":"1402096342","filename":"file0"},{"photo_id":"1402096471","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402096422":["hashtag1","hashtag2"]},{"1402096477":["hashtag1","hashtag2"]},{"1402096471":["hashtag1","hashtag2"]},{"1402096345":["hashtag1","hashtag2"]},{"1402096342":["hashtag1","hashtag2"]},{"1402096479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402096422, 1402096477, 1402096471, 1402096345, 1402096342, 1402096479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21638894081116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:00:22.646543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_25_10659.jpg', '/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_35_9612.jpg', '/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_45_10008.jpg', '/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_55_9843.jpg', '/home/pi/Desktop/images/02012026/02/15/image_02012026_02_16_04_9710.jpg', '/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_15_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_25_10659.jpg
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_35_9612.jpg
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_45_10008.jpg
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_15_55_9843.jpg
/home/pi/Desktop/images/02012026/02/15/image_02012026_02_16_04_9710.jpg
/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_15_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402096697","1402096658","1402096567","1402096621","1402096732","1402096578"],"photo_ids_order":["1402096567","1402096578","1402096621","1402096658","1402096697","1402096732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/500f2b6f934945142f3d40d5c06ec21c.jpg","text":"TemporaryFile(/tmp/multipartBody4716990183752587329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319283248,"filename":"image_02012026_02_16_04_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/2/36c142f761c3bbd7f313a25e10758cad.jpg","text":"TemporaryFile(/tmp/multipartBody6505383983987325949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319283248,"filename":"image_02012026_02_15_55_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/2/b831d1a65c77a6c036dec2ee7b3928b7.jpg","text":"TemporaryFile(/tmp/multipartBody5536778275565148953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319283248,"filename":"image_02012026_02_15_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/2/8787491b8b8a394a2103a3285e080f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6707735199354428918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319283248,"filename":"image_02012026_02_15_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/2/6dc3aff37234b61c1248e728cdfd8194.jpg","text":"TemporaryFile(/tmp/multipartBody5323495275883089542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319283248,"filename":"image_02012026_02_16_15_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/2/81e9cae8db45f3fa4c03fe78f1ab5356.jpg","text":"TemporaryFile(/tmp/multipartBody4791505348699920104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319283248,"filename":"image_02012026_02_15_35_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402096621","file1":"1402096578","file0":"1402096567","file4":"1402096697","file5":"1402096732","file3":"1402096658"},"map_files_photo_id_array":[{"photo_id":"1402096732","filename":"file5"},{"photo_id":"1402096621","filename":"file2"},{"photo_id":"1402096697","filename":"file4"},{"photo_id":"1402096578","filename":"file1"},{"photo_id":"1402096567","filename":"file0"},{"photo_id":"1402096658","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402096697":["hashtag1","hashtag2"]},{"1402096658":["hashtag1","hashtag2"]},{"1402096567":["hashtag1","hashtag2"]},{"1402096621":["hashtag1","hashtag2"]},{"1402096732":["hashtag1","hashtag2"]},{"1402096578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402096697, 1402096658, 1402096567, 1402096621, 1402096732, 1402096578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85593819618225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:01:03.080587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_25_9679.jpg', '/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_35_9770.jpg', '/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_45_10616.jpg', '/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_55_9751.jpg', '/home/pi/Desktop/images/02012026/02/16/image_02012026_02_17_05_9625.jpg', '/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_25_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_25_9679.jpg
/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_35_9770.jpg
/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_45_10616.jpg
/home/pi/Desktop/images/02012026/02/16/image_02012026_02_16_55_9751.jpg
/home/pi/Desktop/images/02012026/02/16/image_02012026_02_17_05_9625.jpg
/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_25_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":["1402097001","1402096929","1402096859","1402096894","1402097041","1402096965"],"photo_ids_order":["1402096859","1402096894","1402096929","1402096965","1402097001","1402097041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88c71188ca007eecb7ec990c49ec59b8.jpg","text":"TemporaryFile(/tmp/multipartBody6033577528833566709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319323742,"filename":"image_02012026_02_17_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/2/6faffb6de7462d2af5280ad6a25b1ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4291855467928721748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319323742,"filename":"image_02012026_02_16_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/2/f771bde9962a8491f4da610583eeafc0.jpg","text":"TemporaryFile(/tmp/multipartBody913676492761507715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319323742,"filename":"image_02012026_02_16_25_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/2/303cb3074de56c87769c0f0502c45095.jpg","text":"TemporaryFile(/tmp/multipartBody8590419962088105462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319323742,"filename":"image_02012026_02_16_35_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/2/eec90d9434a0b2cc77764b30d75f1960.jpg","text":"TemporaryFile(/tmp/multipartBody2326307503963566859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319323742,"filename":"image_02012026_02_17_25_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/2/39f3526ca9601e65418f1f3b22011a39.jpg","text":"TemporaryFile(/tmp/multipartBody2307758160320983348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319323742,"filename":"image_02012026_02_16_55_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402096929","file1":"1402096894","file0":"1402096859","file4":"1402097001","file5":"1402097041","file3":"1402096965"},"map_files_photo_id_array":[{"photo_id":"1402097041","filename":"file5"},{"photo_id":"1402096929","filename":"file2"},{"photo_id":"1402097001","filename":"file4"},{"photo_id":"1402096894","filename":"file1"},{"photo_id":"1402096859","filename":"file0"},{"photo_id":"1402096965","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097001":["hashtag1","hashtag2"]},{"1402096929":["hashtag1","hashtag2"]},{"1402096859":["hashtag1","hashtag2"]},{"1402096894":["hashtag1","hashtag2"]},{"1402097041":["hashtag1","hashtag2"]},{"1402096965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097001, 1402096929, 1402096859, 1402096894, 1402097041, 1402096965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01849341392517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:01:42.321414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_23_1554.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_42_19840.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_44_1660.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_46_1525.jpg', '/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_53_5611.jpg', '/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_07_14605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_23_1554.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_42_19840.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_44_1660.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_46_1525.jpg
/home/pi/Desktop/images/04112025/21/46/image_04112025_21_46_53_5611.jpg
/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_07_14605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097255","1402097290","1402097179","1402097359","1402097217","1402097325"],"photo_ids_order":["1402097179","1402097217","1402097255","1402097290","1402097325","1402097359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c9d907f517a54c8376532cbb06def21.jpg","text":"TemporaryFile(/tmp/multipartBody3268455396053033609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319364130,"filename":"image_04112025_21_46_44_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/2/5df1b68eb66f50b18d3e68cabb88aca1.jpg","text":"TemporaryFile(/tmp/multipartBody6444212386793415677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319364130,"filename":"image_04112025_21_46_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/2/7131f7d2420d6f1f74c63a16455d5631.jpg","text":"TemporaryFile(/tmp/multipartBody5489048276446034102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319364130,"filename":"image_04112025_21_46_23_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/2/780168ff438c6b9b7c0f018541b43665.jpg","text":"TemporaryFile(/tmp/multipartBody4799696176313100517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319364130,"filename":"image_04112025_21_47_07_14605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf994266c1c74c415c4b1282e62b087d.jpg","text":"TemporaryFile(/tmp/multipartBody6347657596820376856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319364130,"filename":"image_04112025_21_46_42_19840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f87d8b9b773cda123b90ac2dc1a1fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5906413871704260806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319364130,"filename":"image_04112025_21_46_53_5611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097255","file1":"1402097217","file0":"1402097179","file4":"1402097325","file5":"1402097359","file3":"1402097290"},"map_files_photo_id_array":[{"photo_id":"1402097359","filename":"file5"},{"photo_id":"1402097255","filename":"file2"},{"photo_id":"1402097325","filename":"file4"},{"photo_id":"1402097217","filename":"file1"},{"photo_id":"1402097179","filename":"file0"},{"photo_id":"1402097290","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097255":["hashtag1","hashtag2"]},{"1402097290":["hashtag1","hashtag2"]},{"1402097179":["hashtag1","hashtag2"]},{"1402097359":["hashtag1","hashtag2"]},{"1402097217":["hashtag1","hashtag2"]},{"1402097325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097255, 1402097290, 1402097179, 1402097359, 1402097217, 1402097325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.776798725128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:02:22.491340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_35_9617.jpg', '/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_45_10681.jpg', '/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_55_9687.jpg', '/home/pi/Desktop/images/02012026/02/17/image_02012026_02_18_05_9656.jpg', '/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_15_10632.jpg', '/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_25_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_35_9617.jpg
/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_45_10681.jpg
/home/pi/Desktop/images/02012026/02/17/image_02012026_02_17_55_9687.jpg
/home/pi/Desktop/images/02012026/02/17/image_02012026_02_18_05_9656.jpg
/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_15_10632.jpg
/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_25_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":["1402097432","1402097435","1402097434","1402097437","1402097428","1402097430"],"photo_ids_order":["1402097428","1402097430","1402097432","1402097434","1402097435","1402097437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d639bd396f777feea2617c329893e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8028213108758896496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319403100,"filename":"image_02012026_02_17_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/2/9c5322561b7e15b61a0d311d426073a3.jpg","text":"TemporaryFile(/tmp/multipartBody5357311050263901277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319403100,"filename":"image_02012026_02_18_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/2/6516e0423fe64d0d172a13b29450423e.jpg","text":"TemporaryFile(/tmp/multipartBody3212130632413487315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319403100,"filename":"image_02012026_02_18_05_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/2/457c027650d04bdae414cf86e9dbfbdf.jpg","text":"TemporaryFile(/tmp/multipartBody5691926969617862603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319403100,"filename":"image_02012026_02_18_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/2/0db24fb25b1a8d05d3c1927a97d7f67b.jpg","text":"TemporaryFile(/tmp/multipartBody8248554388799893910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319403100,"filename":"image_02012026_02_17_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/2/a1190ef7020b13b791c5c57ad1452b85.jpg","text":"TemporaryFile(/tmp/multipartBody8084590077622646982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319403100,"filename":"image_02012026_02_17_45_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097432","file1":"1402097430","file0":"1402097428","file4":"1402097435","file5":"1402097437","file3":"1402097434"},"map_files_photo_id_array":[{"photo_id":"1402097437","filename":"file5"},{"photo_id":"1402097432","filename":"file2"},{"photo_id":"1402097435","filename":"file4"},{"photo_id":"1402097430","filename":"file1"},{"photo_id":"1402097428","filename":"file0"},{"photo_id":"1402097434","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097432":["hashtag1","hashtag2"]},{"1402097435":["hashtag1","hashtag2"]},{"1402097434":["hashtag1","hashtag2"]},{"1402097437":["hashtag1","hashtag2"]},{"1402097428":["hashtag1","hashtag2"]},{"1402097430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097432, 1402097435, 1402097434, 1402097437, 1402097428, 1402097430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.482810735702515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:03:03.258171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_45_10775.jpg', '/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_55_9849.jpg', '/home/pi/Desktop/images/02012026/02/18/image_02012026_02_19_05_9704.jpg', '/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_15_9662.jpg', '/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_35_9746.jpg', '/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_45_10775.jpg
/home/pi/Desktop/images/02012026/02/18/image_02012026_02_18_55_9849.jpg
/home/pi/Desktop/images/02012026/02/18/image_02012026_02_19_05_9704.jpg
/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_15_9662.jpg
/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_35_9746.jpg
/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_44_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":["1402097505","1402097540","1402097465","1402097577","1402097652","1402097616"],"photo_ids_order":["1402097465","1402097505","1402097540","1402097577","1402097616","1402097652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/938981a8db0e17ba0c1fbaa481d7ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody958957557913147627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319443976,"filename":"image_02012026_02_18_55_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/2/eb18c201c6fc2161d923868b6e6f2843.jpg","text":"TemporaryFile(/tmp/multipartBody440808337625468079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319443976,"filename":"image_02012026_02_19_05_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/2/109b78632069c2e340503567e11b0476.jpg","text":"TemporaryFile(/tmp/multipartBody1161041348211683341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319443976,"filename":"image_02012026_02_18_45_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/2/0c55bf6431e1c06ae1017737ffc1af0c.jpg","text":"TemporaryFile(/tmp/multipartBody5520229840057764270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319443976,"filename":"image_02012026_02_19_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/2/cebe1500585a632baf3208e4113095c2.jpg","text":"TemporaryFile(/tmp/multipartBody9059215991919502150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319443976,"filename":"image_02012026_02_19_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/2/480f7d53f31f667bb51ab5c3299b9286.jpg","text":"TemporaryFile(/tmp/multipartBody6463899152858391023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319443976,"filename":"image_02012026_02_19_35_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097540","file1":"1402097505","file0":"1402097465","file4":"1402097616","file5":"1402097652","file3":"1402097577"},"map_files_photo_id_array":[{"photo_id":"1402097652","filename":"file5"},{"photo_id":"1402097540","filename":"file2"},{"photo_id":"1402097616","filename":"file4"},{"photo_id":"1402097505","filename":"file1"},{"photo_id":"1402097465","filename":"file0"},{"photo_id":"1402097577","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097505":["hashtag1","hashtag2"]},{"1402097540":["hashtag1","hashtag2"]},{"1402097465":["hashtag1","hashtag2"]},{"1402097577":["hashtag1","hashtag2"]},{"1402097652":["hashtag1","hashtag2"]},{"1402097616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097505, 1402097540, 1402097465, 1402097577, 1402097652, 1402097616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8430016040802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:03:42.584513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_14_6073.jpg', '/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_15_1574.jpg', '/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_36_1564.jpg', '/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_41_1663.jpg', '/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_43_1577.jpg', '/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_56_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/21/47/image_04112025_21_47_14_6073.jpg
/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_15_1574.jpg
/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_36_1564.jpg
/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_41_1663.jpg
/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_43_1577.jpg
/home/pi/Desktop/images/04112025/21/47/image_04112025_21_47_56_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":["1402097792","1402097768","1402097680","1402097746","1402097745","1402097715"],"photo_ids_order":["1402097680","1402097715","1402097745","1402097746","1402097768","1402097792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dcf1e49f9a6c292eee4c4b1f3c78c8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6892552970448886259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319484462,"filename":"image_04112025_21_47_56_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/2/b86dca40751f96c69ad3b2fe99ce9020.jpg","text":"TemporaryFile(/tmp/multipartBody2367282463352280414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319484462,"filename":"image_04112025_21_47_43_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/2/b2ffb059ec3e7c78fe964d788df1fd75.jpg","text":"TemporaryFile(/tmp/multipartBody5402967575141226425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319484462,"filename":"image_04112025_21_47_14_6073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/691498d54df244d487836b57b6f55d8c.jpg","text":"TemporaryFile(/tmp/multipartBody3332453264995332138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319484462,"filename":"image_04112025_21_47_41_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/2/b30eef562ee1a61e42f819e8b6ce511f.jpg","text":"TemporaryFile(/tmp/multipartBody2863460917449888469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319484462,"filename":"image_04112025_21_47_36_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/2/b272aa5d43e0f25eb1a5ed3507df0bc0.jpg","text":"TemporaryFile(/tmp/multipartBody750647610951726438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319484462,"filename":"image_04112025_21_47_15_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097745","file1":"1402097715","file0":"1402097680","file4":"1402097768","file5":"1402097792","file3":"1402097746"},"map_files_photo_id_array":[{"photo_id":"1402097792","filename":"file5"},{"photo_id":"1402097745","filename":"file2"},{"photo_id":"1402097768","filename":"file4"},{"photo_id":"1402097715","filename":"file1"},{"photo_id":"1402097680","filename":"file0"},{"photo_id":"1402097746","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097792":["hashtag1","hashtag2"]},{"1402097768":["hashtag1","hashtag2"]},{"1402097680":["hashtag1","hashtag2"]},{"1402097746":["hashtag1","hashtag2"]},{"1402097745":["hashtag1","hashtag2"]},{"1402097715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097792, 1402097768, 1402097680, 1402097746, 1402097745, 1402097715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79913783073425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:04:22.796000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_55_10773.jpg', '/home/pi/Desktop/images/02012026/02/19/image_02012026_02_20_05_9642.jpg', '/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_15_9907.jpg', '/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_24_9655.jpg', '/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_35_10637.jpg', '/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_45_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/19/image_02012026_02_19_55_10773.jpg
/home/pi/Desktop/images/02012026/02/19/image_02012026_02_20_05_9642.jpg
/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_15_9907.jpg
/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_24_9655.jpg
/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_35_10637.jpg
/home/pi/Desktop/images/02012026/02/20/image_02012026_02_20_45_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097801","1402097797","1402097799","1402097803","1402097805","1402097795"],"photo_ids_order":["1402097795","1402097797","1402097799","1402097801","1402097803","1402097805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/386be42918a5c1a89dfe6fade1827148.jpg","text":"TemporaryFile(/tmp/multipartBody4132532683554605634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319523389,"filename":"image_02012026_02_20_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/2/02194272495b0c79af88a693d4a6e11c.jpg","text":"TemporaryFile(/tmp/multipartBody317388438394746203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319523389,"filename":"image_02012026_02_20_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/2/7d7dd638e9613109e9d0660902fd9310.jpg","text":"TemporaryFile(/tmp/multipartBody5387981818307008711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319523389,"filename":"image_02012026_02_20_15_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/2/459d92af0d9f766fc9463656bfdd9fae.jpg","text":"TemporaryFile(/tmp/multipartBody8872216628696160562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319523389,"filename":"image_02012026_02_20_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/2/42ad58716d7df8bae11f02b90fd98f0e.jpg","text":"TemporaryFile(/tmp/multipartBody4063960039637628403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319523389,"filename":"image_02012026_02_20_45_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/2/e2a251abb8bba1c8e4fbea82bdd95edb.jpg","text":"TemporaryFile(/tmp/multipartBody4837515669814938358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319523389,"filename":"image_02012026_02_19_55_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097799","file1":"1402097797","file0":"1402097795","file4":"1402097803","file5":"1402097805","file3":"1402097801"},"map_files_photo_id_array":[{"photo_id":"1402097805","filename":"file5"},{"photo_id":"1402097799","filename":"file2"},{"photo_id":"1402097803","filename":"file4"},{"photo_id":"1402097797","filename":"file1"},{"photo_id":"1402097795","filename":"file0"},{"photo_id":"1402097801","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097801":["hashtag1","hashtag2"]},{"1402097797":["hashtag1","hashtag2"]},{"1402097799":["hashtag1","hashtag2"]},{"1402097803":["hashtag1","hashtag2"]},{"1402097805":["hashtag1","hashtag2"]},{"1402097795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097801, 1402097797, 1402097799, 1402097803, 1402097805, 1402097795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88495683670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:05:02.623046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/20/image_02012026_02_21_05_10684.jpg', '/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_15_9727.jpg', '/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_35_10599.jpg', '/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_45_9548.jpg', '/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_55_10638.jpg', '/home/pi/Desktop/images/02012026/02/21/image_02012026_02_22_05_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/20/image_02012026_02_21_05_10684.jpg
/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_15_9727.jpg
/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_35_10599.jpg
/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_45_9548.jpg
/home/pi/Desktop/images/02012026/02/21/image_02012026_02_21_55_10638.jpg
/home/pi/Desktop/images/02012026/02/21/image_02012026_02_22_05_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":["1402097810","1402097807","1402097812","1402097806","1402097809","1402097808"],"photo_ids_order":["1402097806","1402097807","1402097808","1402097809","1402097810","1402097812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f5d8c97c5371f311366418235c2efd31.jpg","text":"TemporaryFile(/tmp/multipartBody8882662256218077459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319563345,"filename":"image_02012026_02_21_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/2/9fb1a81ff961c285fbf4505541c0c416.jpg","text":"TemporaryFile(/tmp/multipartBody8831044146973547103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319563345,"filename":"image_02012026_02_21_15_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/2/5e5f229be647b99a7e6267ad8bd86f0a.jpg","text":"TemporaryFile(/tmp/multipartBody629214567414053048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319563345,"filename":"image_02012026_02_22_05_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/2/f6700dd0e5b548282c0adb7be54ccbf2.jpg","text":"TemporaryFile(/tmp/multipartBody6871943479206215316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319563345,"filename":"image_02012026_02_21_05_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/2/a88463358cbddca50c5c5d2fb02734d2.jpg","text":"TemporaryFile(/tmp/multipartBody3078267463977257875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319563345,"filename":"image_02012026_02_21_45_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/2/0970844eac577a02af60e9e894912ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5624689529466272791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319563345,"filename":"image_02012026_02_21_35_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097808","file1":"1402097807","file0":"1402097806","file4":"1402097810","file5":"1402097812","file3":"1402097809"},"map_files_photo_id_array":[{"photo_id":"1402097812","filename":"file5"},{"photo_id":"1402097808","filename":"file2"},{"photo_id":"1402097810","filename":"file4"},{"photo_id":"1402097807","filename":"file1"},{"photo_id":"1402097806","filename":"file0"},{"photo_id":"1402097809","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097810":["hashtag1","hashtag2"]},{"1402097807":["hashtag1","hashtag2"]},{"1402097812":["hashtag1","hashtag2"]},{"1402097806":["hashtag1","hashtag2"]},{"1402097809":["hashtag1","hashtag2"]},{"1402097808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097810, 1402097807, 1402097812, 1402097806, 1402097809, 1402097808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019726276397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:05:41.977483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_13_1618.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_17_1632.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_18_1628.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_20_1601.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_22_1627.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_27_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/21/48/image_04112025_21_48_13_1618.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_17_1632.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_18_1628.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_20_1601.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_22_1627.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_27_1564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097822","1402097819","1402097821","1402097818","1402097817","1402097820"],"photo_ids_order":["1402097817","1402097818","1402097819","1402097820","1402097821","1402097822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d88e26be6810d88739e6e75983dda093.jpg","text":"TemporaryFile(/tmp/multipartBody2429604295902691072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319603779,"filename":"image_04112025_21_48_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/2/0387ecab607dccb1359d58cdf0000798.jpg","text":"TemporaryFile(/tmp/multipartBody7890769436569803776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319603779,"filename":"image_04112025_21_48_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/2/d0d13f79506a97919496e356aa366768.jpg","text":"TemporaryFile(/tmp/multipartBody9161076081553098085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319603779,"filename":"image_04112025_21_48_22_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/2/fd3206f1feeebfc3ba561683cec691c4.jpg","text":"TemporaryFile(/tmp/multipartBody2628821017874395449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319603779,"filename":"image_04112025_21_48_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/2/7b740f53c11ed9f036ae982ef47c687d.jpg","text":"TemporaryFile(/tmp/multipartBody2655462635440045449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319603779,"filename":"image_04112025_21_48_13_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/2/52337c714f43369d7fcaab3291b3e4f6.jpg","text":"TemporaryFile(/tmp/multipartBody8831792528823414518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319603779,"filename":"image_04112025_21_48_20_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097819","file1":"1402097818","file0":"1402097817","file4":"1402097821","file5":"1402097822","file3":"1402097820"},"map_files_photo_id_array":[{"photo_id":"1402097822","filename":"file5"},{"photo_id":"1402097819","filename":"file2"},{"photo_id":"1402097821","filename":"file4"},{"photo_id":"1402097818","filename":"file1"},{"photo_id":"1402097817","filename":"file0"},{"photo_id":"1402097820","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097822":["hashtag1","hashtag2"]},{"1402097819":["hashtag1","hashtag2"]},{"1402097821":["hashtag1","hashtag2"]},{"1402097818":["hashtag1","hashtag2"]},{"1402097817":["hashtag1","hashtag2"]},{"1402097820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097822, 1402097819, 1402097821, 1402097818, 1402097817, 1402097820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.265995502471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:06:22.266785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_15_9673.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_25_9760.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_34_9819.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_45_10784.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_55_9661.jpg', '/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_15_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_15_9673.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_25_9760.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_34_9819.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_45_10784.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_55_9661.jpg
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_15_10653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5005512237548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:06:32.125207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_30_1915.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_32_1887.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_34_1745.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_36_1785.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_41_1528.jpg', '/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_53_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/21/48/image_04112025_21_48_30_1915.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_32_1887.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_34_1745.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_36_1785.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_41_1528.jpg
/home/pi/Desktop/images/04112025/21/48/image_04112025_21_48_53_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":["1402097837","1402097839","1402097835","1402097838","1402097832","1402097829"],"photo_ids_order":["1402097829","1402097832","1402097835","1402097837","1402097838","1402097839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83da404f3891d40fbb93cf0c0f5274cf.jpg","text":"TemporaryFile(/tmp/multipartBody9169476374281412666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319653979,"filename":"image_04112025_21_48_36_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/2/92c85a7cc6647f33ac45a94117f1beae.jpg","text":"TemporaryFile(/tmp/multipartBody8285020976502682648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319653979,"filename":"image_04112025_21_48_53_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/2/73c0648446686e14700571c8c3d850be.jpg","text":"TemporaryFile(/tmp/multipartBody4746853503622530139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319653979,"filename":"image_04112025_21_48_34_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/2/f6b86d7e6644d03b1f34612ec4f8e15a.jpg","text":"TemporaryFile(/tmp/multipartBody3767378473665384050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319653979,"filename":"image_04112025_21_48_41_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/2/015d64e4be845fc58f8389153e5ff703.jpg","text":"TemporaryFile(/tmp/multipartBody5161293075992777313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319653979,"filename":"image_04112025_21_48_32_1887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f12a30230d27c1ccb5a818eba911348a.jpg","text":"TemporaryFile(/tmp/multipartBody7122102068550937933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319653979,"filename":"image_04112025_21_48_30_1915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097835","file1":"1402097832","file0":"1402097829","file4":"1402097838","file5":"1402097839","file3":"1402097837"},"map_files_photo_id_array":[{"photo_id":"1402097839","filename":"file5"},{"photo_id":"1402097835","filename":"file2"},{"photo_id":"1402097838","filename":"file4"},{"photo_id":"1402097832","filename":"file1"},{"photo_id":"1402097829","filename":"file0"},{"photo_id":"1402097837","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097837":["hashtag1","hashtag2"]},{"1402097839":["hashtag1","hashtag2"]},{"1402097835":["hashtag1","hashtag2"]},{"1402097838":["hashtag1","hashtag2"]},{"1402097832":["hashtag1","hashtag2"]},{"1402097829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097837, 1402097839, 1402097835, 1402097838, 1402097832, 1402097829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83100175857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:07:12.407565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_08_1752.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_10_1534.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_13_1665.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_15_1623.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_16_1770.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_18_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/21/49/image_04112025_21_49_08_1752.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_10_1534.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_13_1665.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_15_1623.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_16_1770.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_18_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097840","1402097842","1402097848","1402097841","1402097844","1402097847"],"photo_ids_order":["1402097840","1402097841","1402097842","1402097844","1402097847","1402097848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1b1b397d35076f175ee0d3f59ec2bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody4961951067903847078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319694110,"filename":"image_04112025_21_49_08_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/2/4a8d7da4eaa63f1c7831155095fa2ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6996539558978046234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319694110,"filename":"image_04112025_21_49_13_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/2/23732ce0b16e659a750c8336404456d7.jpg","text":"TemporaryFile(/tmp/multipartBody1468669586664937167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319694110,"filename":"image_04112025_21_49_18_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/2/ebbaec91ffcb5be9bce95e3ed2eba559.jpg","text":"TemporaryFile(/tmp/multipartBody8909895164081131750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319694110,"filename":"image_04112025_21_49_10_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/2/fada9754e7e2610f588446ba262a1f75.jpg","text":"TemporaryFile(/tmp/multipartBody5607046503590199269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319694110,"filename":"image_04112025_21_49_15_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/2/4271343d9203104f79363777ed369bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4601261714859756810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319694110,"filename":"image_04112025_21_49_16_1770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097842","file1":"1402097841","file0":"1402097840","file4":"1402097847","file5":"1402097848","file3":"1402097844"},"map_files_photo_id_array":[{"photo_id":"1402097848","filename":"file5"},{"photo_id":"1402097842","filename":"file2"},{"photo_id":"1402097847","filename":"file4"},{"photo_id":"1402097841","filename":"file1"},{"photo_id":"1402097840","filename":"file0"},{"photo_id":"1402097844","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097840":["hashtag1","hashtag2"]},{"1402097842":["hashtag1","hashtag2"]},{"1402097848":["hashtag1","hashtag2"]},{"1402097841":["hashtag1","hashtag2"]},{"1402097844":["hashtag1","hashtag2"]},{"1402097847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097840, 1402097842, 1402097848, 1402097841, 1402097844, 1402097847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.998347997665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:08:03.073246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_15_9673.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_25_9760.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_34_9819.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_45_10784.jpg', '/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_55_9661.jpg', '/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_15_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_15_9673.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_25_9760.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_34_9819.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_45_10784.jpg
/home/pi/Desktop/images/02012026/02/22/image_02012026_02_22_55_9661.jpg
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_15_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097855","1402097857","1402097854","1402097853","1402097856","1402097859"],"photo_ids_order":["1402097853","1402097854","1402097855","1402097856","1402097857","1402097859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b81ac11d1a5e68c718809c58cc0da0f.jpg","text":"TemporaryFile(/tmp/multipartBody9051501602700111851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319743689,"filename":"image_02012026_02_22_34_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/2/909cb11f96136273e843643bd871c5e4.jpg","text":"TemporaryFile(/tmp/multipartBody5029599431481228775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319743689,"filename":"image_02012026_02_22_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/2/0ae2013fa7db691936b89e0937553d1a.jpg","text":"TemporaryFile(/tmp/multipartBody9037112066479507534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319743689,"filename":"image_02012026_02_22_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/2/b6787686da0d40f7af7c34f3e53472e6.jpg","text":"TemporaryFile(/tmp/multipartBody4231280822028893384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319743689,"filename":"image_02012026_02_22_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/2/7903a50561551b4029281a00964df530.jpg","text":"TemporaryFile(/tmp/multipartBody3970263242623357253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319743689,"filename":"image_02012026_02_22_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/2/e3e431cf0ab2d256b2826514bc9acbd2.jpg","text":"TemporaryFile(/tmp/multipartBody8026254898719802578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319743689,"filename":"image_02012026_02_23_15_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097855","file1":"1402097854","file0":"1402097853","file4":"1402097857","file5":"1402097859","file3":"1402097856"},"map_files_photo_id_array":[{"photo_id":"1402097859","filename":"file5"},{"photo_id":"1402097855","filename":"file2"},{"photo_id":"1402097857","filename":"file4"},{"photo_id":"1402097854","filename":"file1"},{"photo_id":"1402097853","filename":"file0"},{"photo_id":"1402097856","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097855":["hashtag1","hashtag2"]},{"1402097857":["hashtag1","hashtag2"]},{"1402097854":["hashtag1","hashtag2"]},{"1402097853":["hashtag1","hashtag2"]},{"1402097856":["hashtag1","hashtag2"]},{"1402097859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097855, 1402097857, 1402097854, 1402097853, 1402097856, 1402097859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24716782569885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:08:42.616189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_26_1629.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_34_7708.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_38_1547.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_40_1646.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_43_1731.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_45_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_26_1629.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_34_7708.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_38_1547.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_40_1646.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_43_1731.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_45_1691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097864","1402097867","1402097869","1402097866","1402097868","1402097865"],"photo_ids_order":["1402097864","1402097865","1402097866","1402097867","1402097868","1402097869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ae4f9076ce5081e6e397d89266eccbc.jpg","text":"TemporaryFile(/tmp/multipartBody5776144530219359983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319784427,"filename":"image_04112025_21_49_26_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/2/61b165eed1c02db5abd638c8cefcc9c0.jpg","text":"TemporaryFile(/tmp/multipartBody8771402031210473079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319784427,"filename":"image_04112025_21_49_40_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/2/d702a8520c3795ca0df58df48c2c5f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6829076271344921143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319784427,"filename":"image_04112025_21_49_45_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/2/50967094d808bd155e4b155c9cb815b4.jpg","text":"TemporaryFile(/tmp/multipartBody4546757351644155289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319784427,"filename":"image_04112025_21_49_38_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/2/e4e070fbd77f4bfa735538605369c939.jpg","text":"TemporaryFile(/tmp/multipartBody8756746361095015883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319784427,"filename":"image_04112025_21_49_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/2/256f4dea703fd28bfc7cc200069d173b.jpg","text":"TemporaryFile(/tmp/multipartBody3301037207296370298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319784427,"filename":"image_04112025_21_49_34_7708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097866","file1":"1402097865","file0":"1402097864","file4":"1402097868","file5":"1402097869","file3":"1402097867"},"map_files_photo_id_array":[{"photo_id":"1402097869","filename":"file5"},{"photo_id":"1402097866","filename":"file2"},{"photo_id":"1402097868","filename":"file4"},{"photo_id":"1402097865","filename":"file1"},{"photo_id":"1402097864","filename":"file0"},{"photo_id":"1402097867","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097864":["hashtag1","hashtag2"]},{"1402097867":["hashtag1","hashtag2"]},{"1402097869":["hashtag1","hashtag2"]},{"1402097866":["hashtag1","hashtag2"]},{"1402097868":["hashtag1","hashtag2"]},{"1402097865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097864, 1402097867, 1402097869, 1402097866, 1402097868, 1402097865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90866827964783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:09:22.850542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_25_9611.jpg', '/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_35_10264.jpg', '/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_45_9625.jpg', '/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_55_10457.jpg', '/home/pi/Desktop/images/02012026/02/23/image_02012026_02_24_05_9690.jpg', '/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_25_9611.jpg
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_35_10264.jpg
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_45_9625.jpg
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_23_55_10457.jpg
/home/pi/Desktop/images/02012026/02/23/image_02012026_02_24_05_9690.jpg
/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097879","1402097873","1402097881","1402097875","1402097871","1402097877"],"photo_ids_order":["1402097871","1402097873","1402097875","1402097877","1402097879","1402097881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/23fa2bd6059914c4541164faa08a93f1.jpg","text":"TemporaryFile(/tmp/multipartBody4648057490451140230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319823448,"filename":"image_02012026_02_24_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/2/a4b9c595b09dabaa5e2be6827a75e5e3.jpg","text":"TemporaryFile(/tmp/multipartBody789869596707070576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319823448,"filename":"image_02012026_02_23_35_10264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb5ed5fd03b2c843b9e2b45f3811287c.jpg","text":"TemporaryFile(/tmp/multipartBody3549243795348450891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319823448,"filename":"image_02012026_02_24_14_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/2/dae77030ec8369740d7f5ee1c4c156b4.jpg","text":"TemporaryFile(/tmp/multipartBody3006409027304136359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319823448,"filename":"image_02012026_02_23_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/2/cbe297612ea89449c152c956953c02cf.jpg","text":"TemporaryFile(/tmp/multipartBody206821303499151218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319823448,"filename":"image_02012026_02_23_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/2/3a5cfbccefba7c31bba4862c9ee28f18.jpg","text":"TemporaryFile(/tmp/multipartBody5894060443300404293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319823448,"filename":"image_02012026_02_23_55_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097875","file1":"1402097873","file0":"1402097871","file4":"1402097879","file5":"1402097881","file3":"1402097877"},"map_files_photo_id_array":[{"photo_id":"1402097881","filename":"file5"},{"photo_id":"1402097875","filename":"file2"},{"photo_id":"1402097879","filename":"file4"},{"photo_id":"1402097873","filename":"file1"},{"photo_id":"1402097871","filename":"file0"},{"photo_id":"1402097877","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097879":["hashtag1","hashtag2"]},{"1402097873":["hashtag1","hashtag2"]},{"1402097881":["hashtag1","hashtag2"]},{"1402097875":["hashtag1","hashtag2"]},{"1402097871":["hashtag1","hashtag2"]},{"1402097877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097879, 1402097873, 1402097881, 1402097875, 1402097871, 1402097877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.520906925201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:10:02.484556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_25_10652.jpg', '/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_35_9716.jpg', '/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_44_9574.jpg', '/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_55_10833.jpg', '/home/pi/Desktop/images/02012026/02/24/image_02012026_02_25_05_9878.jpg', '/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_15_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_25_10652.jpg
/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_35_9716.jpg
/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_44_9574.jpg
/home/pi/Desktop/images/02012026/02/24/image_02012026_02_24_55_10833.jpg
/home/pi/Desktop/images/02012026/02/24/image_02012026_02_25_05_9878.jpg
/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_15_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097885","1402097888","1402097884","1402097886","1402097883","1402097882"],"photo_ids_order":["1402097882","1402097883","1402097884","1402097885","1402097886","1402097888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b859acaf420da2ab115ed6960c74c176.jpg","text":"TemporaryFile(/tmp/multipartBody1002463394717323227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319863119,"filename":"image_02012026_02_24_55_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/2/35aaceb50b58293eb55033358acb69c6.jpg","text":"TemporaryFile(/tmp/multipartBody3434125674991280565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319863119,"filename":"image_02012026_02_25_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/2/81d388771432e938c8665f2c5aaa2df4.jpg","text":"TemporaryFile(/tmp/multipartBody3201734244293540286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319863119,"filename":"image_02012026_02_24_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/2/35c4e4c07fec8d138ad61104b1e31b9e.jpg","text":"TemporaryFile(/tmp/multipartBody253702108592355914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319863119,"filename":"image_02012026_02_25_05_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/2/0034fb1e9e2e67bfb26212741be60035.jpg","text":"TemporaryFile(/tmp/multipartBody106578339549997367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319863119,"filename":"image_02012026_02_24_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/2/832095e52b7b290772fff55361e35ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8020451524949149220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319863119,"filename":"image_02012026_02_24_25_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097884","file1":"1402097883","file0":"1402097882","file4":"1402097886","file5":"1402097888","file3":"1402097885"},"map_files_photo_id_array":[{"photo_id":"1402097888","filename":"file5"},{"photo_id":"1402097884","filename":"file2"},{"photo_id":"1402097886","filename":"file4"},{"photo_id":"1402097883","filename":"file1"},{"photo_id":"1402097882","filename":"file0"},{"photo_id":"1402097885","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097885":["hashtag1","hashtag2"]},{"1402097888":["hashtag1","hashtag2"]},{"1402097884":["hashtag1","hashtag2"]},{"1402097886":["hashtag1","hashtag2"]},{"1402097883":["hashtag1","hashtag2"]},{"1402097882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097885, 1402097888, 1402097884, 1402097886, 1402097883, 1402097882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36205720901489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:10:41.917868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_47_1630.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_48_1654.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_52_4234.jpg', '/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_57_2639.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_01_3745.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_02_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_47_1630.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_48_1654.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_52_4234.jpg
/home/pi/Desktop/images/04112025/21/49/image_04112025_21_49_57_2639.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_01_3745.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_02_1755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097893","1402097896","1402097899","1402097898","1402097895","1402097897"],"photo_ids_order":["1402097893","1402097895","1402097896","1402097897","1402097898","1402097899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/06ec6fa8b8258326eb49ec208b80829e.jpg","text":"TemporaryFile(/tmp/multipartBody8767007751016884129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319903743,"filename":"image_04112025_21_49_47_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/2/9c836b5271062812231407b8d703e2d6.jpg","text":"TemporaryFile(/tmp/multipartBody6964420056613910628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319903743,"filename":"image_04112025_21_49_52_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/2/8c56d74d01adb721adb7bf57a8fcadda.jpg","text":"TemporaryFile(/tmp/multipartBody7972297890107829281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319903743,"filename":"image_04112025_21_50_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/2/d3467ec1b37787af65ee43ec967517d1.jpg","text":"TemporaryFile(/tmp/multipartBody3605714926608892779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319903743,"filename":"image_04112025_21_50_01_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/2/216cddc5435e09464d67d5ac49c7b93b.jpg","text":"TemporaryFile(/tmp/multipartBody9043733288775407059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319903743,"filename":"image_04112025_21_49_48_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/2/ccc19e3d32d00d226e3c5a8f20360054.jpg","text":"TemporaryFile(/tmp/multipartBody815202076901115131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319903743,"filename":"image_04112025_21_49_57_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097896","file1":"1402097895","file0":"1402097893","file4":"1402097898","file5":"1402097899","file3":"1402097897"},"map_files_photo_id_array":[{"photo_id":"1402097899","filename":"file5"},{"photo_id":"1402097896","filename":"file2"},{"photo_id":"1402097898","filename":"file4"},{"photo_id":"1402097895","filename":"file1"},{"photo_id":"1402097893","filename":"file0"},{"photo_id":"1402097897","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097893":["hashtag1","hashtag2"]},{"1402097896":["hashtag1","hashtag2"]},{"1402097899":["hashtag1","hashtag2"]},{"1402097898":["hashtag1","hashtag2"]},{"1402097895":["hashtag1","hashtag2"]},{"1402097897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097893, 1402097896, 1402097899, 1402097898, 1402097895, 1402097897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81883358955383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:11:22.125313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_24_9692.jpg', '/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_35_10735.jpg', '/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_45_9698.jpg', '/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_54_9561.jpg', '/home/pi/Desktop/images/02012026/02/25/image_02012026_02_26_05_10724.jpg', '/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_15_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_24_9692.jpg
/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_35_10735.jpg
/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_45_9698.jpg
/home/pi/Desktop/images/02012026/02/25/image_02012026_02_25_54_9561.jpg
/home/pi/Desktop/images/02012026/02/25/image_02012026_02_26_05_10724.jpg
/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_15_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097901","1402097903","1402097905","1402097908","1402097910","1402097907"],"photo_ids_order":["1402097901","1402097903","1402097905","1402097907","1402097908","1402097910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e888afaaf1fe5d3d4d3c744d1eebd709.jpg","text":"TemporaryFile(/tmp/multipartBody1936108377798238466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319942723,"filename":"image_02012026_02_25_24_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/2/e70fedd667e2b5cad0c524eb55934e51.jpg","text":"TemporaryFile(/tmp/multipartBody4198793398524810473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319942723,"filename":"image_02012026_02_25_35_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/2/7da1ddfe20f3aa8751a7d6f4f211d660.jpg","text":"TemporaryFile(/tmp/multipartBody3102303562833783564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319942723,"filename":"image_02012026_02_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/2/7430d1739dee29e737982e6c6ff864b9.jpg","text":"TemporaryFile(/tmp/multipartBody2685389052902800137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319942723,"filename":"image_02012026_02_26_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/2/96c9d85bdb85bae5a661e9eeca472c14.jpg","text":"TemporaryFile(/tmp/multipartBody7442900280607652789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319942723,"filename":"image_02012026_02_26_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/2/f6c2beede4b70a1fc5e61e9aa63ef2bd.jpg","text":"TemporaryFile(/tmp/multipartBody6419828341726411575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319942723,"filename":"image_02012026_02_25_54_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097905","file1":"1402097903","file0":"1402097901","file4":"1402097908","file5":"1402097910","file3":"1402097907"},"map_files_photo_id_array":[{"photo_id":"1402097910","filename":"file5"},{"photo_id":"1402097905","filename":"file2"},{"photo_id":"1402097908","filename":"file4"},{"photo_id":"1402097903","filename":"file1"},{"photo_id":"1402097901","filename":"file0"},{"photo_id":"1402097907","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097901":["hashtag1","hashtag2"]},{"1402097903":["hashtag1","hashtag2"]},{"1402097905":["hashtag1","hashtag2"]},{"1402097908":["hashtag1","hashtag2"]},{"1402097910":["hashtag1","hashtag2"]},{"1402097907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097901, 1402097903, 1402097905, 1402097908, 1402097910, 1402097907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.910486459732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:12:02.656140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_25_9831.jpg', '/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_35_9817.jpg', '/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_45_10721.jpg', '/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_55_9665.jpg', '/home/pi/Desktop/images/02012026/02/26/image_02012026_02_27_05_10221.jpg', '/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_25_9831.jpg
/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_35_9817.jpg
/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_45_10721.jpg
/home/pi/Desktop/images/02012026/02/26/image_02012026_02_26_55_9665.jpg
/home/pi/Desktop/images/02012026/02/26/image_02012026_02_27_05_10221.jpg
/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_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":["1402097912","1402097915","1402097918","1402097914","1402097916","1402097913"],"photo_ids_order":["1402097912","1402097913","1402097914","1402097915","1402097916","1402097918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17f35b16b101794408aea2963fb224e6.jpg","text":"TemporaryFile(/tmp/multipartBody2250309696998949274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319983308,"filename":"image_02012026_02_26_25_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/2/cda2bbf7ab465e97cc9f6934492a7319.jpg","text":"TemporaryFile(/tmp/multipartBody8092191413225242501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319983308,"filename":"image_02012026_02_26_55_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/2/4ce64289c87711d39c4cd9559482c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody1166078736958804023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319983308,"filename":"image_02012026_02_27_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/2/52cf394fcd4d44ae6ab249e8333cbedd.jpg","text":"TemporaryFile(/tmp/multipartBody4184598952123181607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319983308,"filename":"image_02012026_02_26_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/2/4e3b4745188a12ce017c4a4e8c44d293.jpg","text":"TemporaryFile(/tmp/multipartBody3010229254405528561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319983308,"filename":"image_02012026_02_27_05_10221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b5971543398b31bee03397d220154c2.jpg","text":"TemporaryFile(/tmp/multipartBody6133989630997358919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767319983308,"filename":"image_02012026_02_26_35_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097914","file1":"1402097913","file0":"1402097912","file4":"1402097916","file5":"1402097918","file3":"1402097915"},"map_files_photo_id_array":[{"photo_id":"1402097918","filename":"file5"},{"photo_id":"1402097914","filename":"file2"},{"photo_id":"1402097916","filename":"file4"},{"photo_id":"1402097913","filename":"file1"},{"photo_id":"1402097912","filename":"file0"},{"photo_id":"1402097915","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097912":["hashtag1","hashtag2"]},{"1402097915":["hashtag1","hashtag2"]},{"1402097918":["hashtag1","hashtag2"]},{"1402097914":["hashtag1","hashtag2"]},{"1402097916":["hashtag1","hashtag2"]},{"1402097913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097912, 1402097915, 1402097918, 1402097914, 1402097916, 1402097913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.834128856658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:12:42.269320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_05_2694.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_11_2737.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_14_2790.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_26_2716.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_36_10371.jpg', '/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_38_1664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_05_2694.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_11_2737.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_14_2790.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_26_2716.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_36_10371.jpg
/home/pi/Desktop/images/04112025/21/50/image_04112025_21_50_38_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":["1402097927","1402097923","1402097926","1402097929","1402097928","1402097925"],"photo_ids_order":["1402097923","1402097925","1402097926","1402097927","1402097928","1402097929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a1a1cf32349d5d8531ab0cecb67680ce.jpg","text":"TemporaryFile(/tmp/multipartBody4390630819633421873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320024092,"filename":"image_04112025_21_50_26_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/2/84930c341b10822f5d8ac7efcfdac494.jpg","text":"TemporaryFile(/tmp/multipartBody3382826733250702305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320024092,"filename":"image_04112025_21_50_05_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/2/8118a383ed0693fb06a513dfdfed8422.jpg","text":"TemporaryFile(/tmp/multipartBody4883631768461782688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320024092,"filename":"image_04112025_21_50_14_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/77f9445a35af63c28b59dd021d1e5695.jpg","text":"TemporaryFile(/tmp/multipartBody938558185367777319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320024092,"filename":"image_04112025_21_50_38_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/2/46c52008ef64f682e64dbf0a2d314d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2679596101178915081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320024092,"filename":"image_04112025_21_50_36_10371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aee51c799739f4df51c7a84b4900daab.jpg","text":"TemporaryFile(/tmp/multipartBody5208216453101366146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320024092,"filename":"image_04112025_21_50_11_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097926","file1":"1402097925","file0":"1402097923","file4":"1402097928","file5":"1402097929","file3":"1402097927"},"map_files_photo_id_array":[{"photo_id":"1402097929","filename":"file5"},{"photo_id":"1402097926","filename":"file2"},{"photo_id":"1402097928","filename":"file4"},{"photo_id":"1402097925","filename":"file1"},{"photo_id":"1402097923","filename":"file0"},{"photo_id":"1402097927","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097927":["hashtag1","hashtag2"]},{"1402097923":["hashtag1","hashtag2"]},{"1402097926":["hashtag1","hashtag2"]},{"1402097929":["hashtag1","hashtag2"]},{"1402097928":["hashtag1","hashtag2"]},{"1402097925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097927, 1402097923, 1402097926, 1402097929, 1402097928, 1402097925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24746823310852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:13:26.341206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_25_9843.jpg', '/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_35_9859.jpg', '/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_45_10595.jpg', '/home/pi/Desktop/images/02012026/02/27/image_02012026_02_28_05_9770.jpg', '/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_15_10277.jpg', '/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_25_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_25_9843.jpg
/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_35_9859.jpg
/home/pi/Desktop/images/02012026/02/27/image_02012026_02_27_45_10595.jpg
/home/pi/Desktop/images/02012026/02/27/image_02012026_02_28_05_9770.jpg
/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_15_10277.jpg
/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_25_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":["1402097939","1402097933","1402097941","1402097935","1402097937","1402097931"],"photo_ids_order":["1402097931","1402097933","1402097935","1402097937","1402097939","1402097941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/770cf73496c7c435f3898fa3215e6e16.jpg","text":"TemporaryFile(/tmp/multipartBody7499302536429238963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320066914,"filename":"image_02012026_02_28_15_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/2/33ffea42884b814950f574bee61da0e6.jpg","text":"TemporaryFile(/tmp/multipartBody8252373126022626776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320066914,"filename":"image_02012026_02_27_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/2/1d31118087db80c60f2a1d99638457f8.jpg","text":"TemporaryFile(/tmp/multipartBody2516714513599879419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320066914,"filename":"image_02012026_02_28_25_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/2/b25c7c6f0850b7014630b5114e6a2bab.jpg","text":"TemporaryFile(/tmp/multipartBody7532954331387235723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320066914,"filename":"image_02012026_02_27_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/2/6e1ca4f1b5f4722bcaa672e98906e9c5.jpg","text":"TemporaryFile(/tmp/multipartBody7760379025051189998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320066914,"filename":"image_02012026_02_28_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/2/f817a564e17a25109cb641a1d784d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody7478902396439850086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320066914,"filename":"image_02012026_02_27_25_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097935","file1":"1402097933","file0":"1402097931","file4":"1402097939","file5":"1402097941","file3":"1402097937"},"map_files_photo_id_array":[{"photo_id":"1402097941","filename":"file5"},{"photo_id":"1402097935","filename":"file2"},{"photo_id":"1402097939","filename":"file4"},{"photo_id":"1402097933","filename":"file1"},{"photo_id":"1402097931","filename":"file0"},{"photo_id":"1402097937","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097939":["hashtag1","hashtag2"]},{"1402097933":["hashtag1","hashtag2"]},{"1402097941":["hashtag1","hashtag2"]},{"1402097935":["hashtag1","hashtag2"]},{"1402097937":["hashtag1","hashtag2"]},{"1402097931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097939, 1402097933, 1402097941, 1402097935, 1402097937, 1402097931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21952223777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:14:03.225873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_34_9756.jpg', '/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_45_10438.jpg', '/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_55_9690.jpg', '/home/pi/Desktop/images/02012026/02/28/image_02012026_02_29_05_10759.jpg', '/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_15_9815.jpg', '/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_25_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_34_9756.jpg
/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_45_10438.jpg
/home/pi/Desktop/images/02012026/02/28/image_02012026_02_28_55_9690.jpg
/home/pi/Desktop/images/02012026/02/28/image_02012026_02_29_05_10759.jpg
/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_15_9815.jpg
/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_25_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097945","1402097948","1402097942","1402097950","1402097946","1402097943"],"photo_ids_order":["1402097942","1402097943","1402097945","1402097946","1402097948","1402097950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2094b0aff8f94a1d6f4588304ea69d1a.jpg","text":"TemporaryFile(/tmp/multipartBody584781730253029598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320103875,"filename":"image_02012026_02_28_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/2/6a1c0376462eea69d1ee3c65ae8cef3d.jpg","text":"TemporaryFile(/tmp/multipartBody4404980118967493685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320103875,"filename":"image_02012026_02_29_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/2/8bc894bbb856a94188e8a7b65a70bb0a.jpg","text":"TemporaryFile(/tmp/multipartBody5152101115215658615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320103875,"filename":"image_02012026_02_28_34_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/2/c75c237eb75423086866cea7e57e9260.jpg","text":"TemporaryFile(/tmp/multipartBody7717167883212307239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320103875,"filename":"image_02012026_02_29_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/2/37f6f43fb566f7f908264d2a20664f43.jpg","text":"TemporaryFile(/tmp/multipartBody3034403456306839268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320103875,"filename":"image_02012026_02_29_05_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/2/d96f015db98df4cba4930d6c12cc9f10.jpg","text":"TemporaryFile(/tmp/multipartBody1133550877562581654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320103875,"filename":"image_02012026_02_28_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097945","file1":"1402097943","file0":"1402097942","file4":"1402097948","file5":"1402097950","file3":"1402097946"},"map_files_photo_id_array":[{"photo_id":"1402097950","filename":"file5"},{"photo_id":"1402097945","filename":"file2"},{"photo_id":"1402097948","filename":"file4"},{"photo_id":"1402097943","filename":"file1"},{"photo_id":"1402097942","filename":"file0"},{"photo_id":"1402097946","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097945":["hashtag1","hashtag2"]},{"1402097948":["hashtag1","hashtag2"]},{"1402097942":["hashtag1","hashtag2"]},{"1402097950":["hashtag1","hashtag2"]},{"1402097946":["hashtag1","hashtag2"]},{"1402097943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097945, 1402097948, 1402097942, 1402097950, 1402097946, 1402097943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60439109802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:14:42.588067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_09_7472.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_12_3134.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_14_1724.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_16_1732.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_20_1656.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_25_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_09_7472.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_12_3134.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_14_1724.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_16_1732.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_20_1656.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_25_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402097960","1402097962","1402097956","1402097959","1402097961","1402097958"],"photo_ids_order":["1402097956","1402097958","1402097959","1402097960","1402097961","1402097962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd6da5c417f66be8dc74bfe022d54e86.jpg","text":"TemporaryFile(/tmp/multipartBody8821835623615583649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320144420,"filename":"image_04112025_21_51_16_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/2/731762359d6bcb89d0c1a321c4d06e09.jpg","text":"TemporaryFile(/tmp/multipartBody2785241761849266038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320144420,"filename":"image_04112025_21_51_25_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/2/ac0d3162f1ec0993d33ae7079c3ef075.jpg","text":"TemporaryFile(/tmp/multipartBody2769224529619653550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320144420,"filename":"image_04112025_21_51_09_7472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fae693860cddd7cef863b16149dbdea.jpg","text":"TemporaryFile(/tmp/multipartBody1883230408091407283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320144420,"filename":"image_04112025_21_51_14_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/2/15cd7b2d8e18530006f022c406f8043b.jpg","text":"TemporaryFile(/tmp/multipartBody6444696757490576643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320144420,"filename":"image_04112025_21_51_20_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/2/1f0f1e40b1fb8825eec38ee0bb0e4262.jpg","text":"TemporaryFile(/tmp/multipartBody951136976301639897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320144420,"filename":"image_04112025_21_51_12_3134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097959","file1":"1402097958","file0":"1402097956","file4":"1402097961","file5":"1402097962","file3":"1402097960"},"map_files_photo_id_array":[{"photo_id":"1402097962","filename":"file5"},{"photo_id":"1402097959","filename":"file2"},{"photo_id":"1402097961","filename":"file4"},{"photo_id":"1402097958","filename":"file1"},{"photo_id":"1402097956","filename":"file0"},{"photo_id":"1402097960","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402097960":["hashtag1","hashtag2"]},{"1402097962":["hashtag1","hashtag2"]},{"1402097956":["hashtag1","hashtag2"]},{"1402097959":["hashtag1","hashtag2"]},{"1402097961":["hashtag1","hashtag2"]},{"1402097958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402097960, 1402097962, 1402097956, 1402097959, 1402097961, 1402097958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97160220146179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:15:22.830485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_35_9786.jpg', '/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_45_10731.jpg', '/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_55_9826.jpg', '/home/pi/Desktop/images/02012026/02/29/image_02012026_02_30_05_9601.jpg', '/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_15_10580.jpg', '/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_25_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_35_9786.jpg
/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_45_10731.jpg
/home/pi/Desktop/images/02012026/02/29/image_02012026_02_29_55_9826.jpg
/home/pi/Desktop/images/02012026/02/29/image_02012026_02_30_05_9601.jpg
/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_15_10580.jpg
/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_25_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":["1402097972","1402097966","1402097974","1402097968","1402097970","1402097964"],"photo_ids_order":["1402097964","1402097966","1402097968","1402097970","1402097972","1402097974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d590b99d564ee2acf503935a72122d3.jpg","text":"TemporaryFile(/tmp/multipartBody3013609431797104045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320183469,"filename":"image_02012026_02_30_15_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/2/08a9492370e81a9c5c0da362e27404fd.jpg","text":"TemporaryFile(/tmp/multipartBody3842188460462983767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320183469,"filename":"image_02012026_02_29_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/2/3635f6f39f1f858b168ca1ab634cb488.jpg","text":"TemporaryFile(/tmp/multipartBody7503181796720799415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320183469,"filename":"image_02012026_02_30_25_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/2/93c6a69c64c4b906ead988c9a8aba63d.jpg","text":"TemporaryFile(/tmp/multipartBody9150230896669609890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320183469,"filename":"image_02012026_02_29_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/2/c6421cb3304a822595d8f0ad7431dca0.jpg","text":"TemporaryFile(/tmp/multipartBody2468778499841874262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320183469,"filename":"image_02012026_02_30_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/2/c5eeb9684752bff016b0cecb82e2addc.jpg","text":"TemporaryFile(/tmp/multipartBody7799401442768516820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320183469,"filename":"image_02012026_02_29_35_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097968","file1":"1402097966","file0":"1402097964","file4":"1402097972","file5":"1402097974","file3":"1402097970"},"map_files_photo_id_array":[{"photo_id":"1402097974","filename":"file5"},{"photo_id":"1402097968","filename":"file2"},{"photo_id":"1402097972","filename":"file4"},{"photo_id":"1402097966","filename":"file1"},{"photo_id":"1402097964","filename":"file0"},{"photo_id":"1402097970","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097972":["hashtag1","hashtag2"]},{"1402097966":["hashtag1","hashtag2"]},{"1402097974":["hashtag1","hashtag2"]},{"1402097968":["hashtag1","hashtag2"]},{"1402097970":["hashtag1","hashtag2"]},{"1402097964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097972, 1402097966, 1402097974, 1402097968, 1402097970, 1402097964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27931618690491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:16:02.279414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_35_9774.jpg', '/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_45_10651.jpg', '/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_55_9710.jpg', '/home/pi/Desktop/images/02012026/02/30/image_02012026_02_31_05_9571.jpg', '/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_15_10647.jpg', '/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_25_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_35_9774.jpg
/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_45_10651.jpg
/home/pi/Desktop/images/02012026/02/30/image_02012026_02_30_55_9710.jpg
/home/pi/Desktop/images/02012026/02/30/image_02012026_02_31_05_9571.jpg
/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_15_10647.jpg
/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_25_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":["1402097978","1402097977","1402097979","1402097976","1402097981","1402097975"],"photo_ids_order":["1402097975","1402097976","1402097977","1402097978","1402097979","1402097981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/04452a37b33095cda6ffcdbd8ab79863.jpg","text":"TemporaryFile(/tmp/multipartBody1511779505222625275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320222910,"filename":"image_02012026_02_31_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/2/2de636ba5b1b222bf5fe9f7c4b1503c4.jpg","text":"TemporaryFile(/tmp/multipartBody2241268025278242871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320222910,"filename":"image_02012026_02_30_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/2/bd4f890f44a43accce00daffab6914b7.jpg","text":"TemporaryFile(/tmp/multipartBody5958791442102813208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320222910,"filename":"image_02012026_02_31_15_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/2/d1d25a1ad54b57d7f6deea91350d3ae2.jpg","text":"TemporaryFile(/tmp/multipartBody3971707167518672893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320222910,"filename":"image_02012026_02_30_45_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/2/69687995d7eb7325736a1228a11a8be0.jpg","text":"TemporaryFile(/tmp/multipartBody5637002504206746092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320222910,"filename":"image_02012026_02_31_25_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/2/59f90852b6183eff418efada6fe6a8dc.jpg","text":"TemporaryFile(/tmp/multipartBody3932458780424475840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320222910,"filename":"image_02012026_02_30_35_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097977","file1":"1402097976","file0":"1402097975","file4":"1402097979","file5":"1402097981","file3":"1402097978"},"map_files_photo_id_array":[{"photo_id":"1402097981","filename":"file5"},{"photo_id":"1402097977","filename":"file2"},{"photo_id":"1402097979","filename":"file4"},{"photo_id":"1402097976","filename":"file1"},{"photo_id":"1402097975","filename":"file0"},{"photo_id":"1402097978","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097978":["hashtag1","hashtag2"]},{"1402097977":["hashtag1","hashtag2"]},{"1402097979":["hashtag1","hashtag2"]},{"1402097976":["hashtag1","hashtag2"]},{"1402097981":["hashtag1","hashtag2"]},{"1402097975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097978, 1402097977, 1402097979, 1402097976, 1402097981, 1402097975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.143754720687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:16:42.008496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_30_1686.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_32_1867.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_35_1708.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_38_1711.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_40_1730.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_45_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_30_1686.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_32_1867.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_35_1708.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_38_1711.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_40_1730.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_45_2799.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7152447700500488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:17:05.473591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_35_9607.jpg', '/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_45_10648.jpg', '/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_55_9965.jpg', '/home/pi/Desktop/images/02012026/02/32/image_02012026_02_32_15_9744.jpg', '/home/pi/Desktop/images/02012026/02/32/image_02012026_02_32_24_9697.jpg', '/home/pi/Desktop/images/02012026/02/32/image_02012026_02_32_45_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_35_9607.jpg
/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_45_10648.jpg
/home/pi/Desktop/images/02012026/02/31/image_02012026_02_31_55_9965.jpg
/home/pi/Desktop/images/02012026/02/32/image_02012026_02_32_15_9744.jpg
/home/pi/Desktop/images/02012026/02/32/image_02012026_02_32_24_9697.jpg
/home/pi/Desktop/images/02012026/02/32/image_02012026_02_32_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":["1402097999","1402097992","1402097995","1402097997","1402097994","1402097993"],"photo_ids_order":["1402097992","1402097993","1402097994","1402097995","1402097997","1402097999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/39480effaf36b55364c2f1e595823cd7.jpg","text":"TemporaryFile(/tmp/multipartBody7562277894550601049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320286156,"filename":"image_02012026_02_32_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/2/5aed74b22af8def887df8e502743e967.jpg","text":"TemporaryFile(/tmp/multipartBody4711742988252845344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320286156,"filename":"image_02012026_02_31_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/2/7420fcf4129904f26f4c3f14b6ba6fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6517980410445491687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320286156,"filename":"image_02012026_02_32_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/2/40cfe7b196258aa80ab6cdfe6d155de8.jpg","text":"TemporaryFile(/tmp/multipartBody79889568772620886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320286156,"filename":"image_02012026_02_32_24_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/2/f83baa0273f8cb1bad2e261c14cf7fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5465873564826910272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320286156,"filename":"image_02012026_02_31_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/2/d5be50cd8b91ed4c735d47f7fdbbbad8.jpg","text":"TemporaryFile(/tmp/multipartBody5570333521114130838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320286156,"filename":"image_02012026_02_31_45_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402097994","file1":"1402097993","file0":"1402097992","file4":"1402097997","file5":"1402097999","file3":"1402097995"},"map_files_photo_id_array":[{"photo_id":"1402097999","filename":"file5"},{"photo_id":"1402097994","filename":"file2"},{"photo_id":"1402097997","filename":"file4"},{"photo_id":"1402097993","filename":"file1"},{"photo_id":"1402097992","filename":"file0"},{"photo_id":"1402097995","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402097999":["hashtag1","hashtag2"]},{"1402097992":["hashtag1","hashtag2"]},{"1402097995":["hashtag1","hashtag2"]},{"1402097997":["hashtag1","hashtag2"]},{"1402097994":["hashtag1","hashtag2"]},{"1402097993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402097999, 1402097992, 1402097995, 1402097997, 1402097994, 1402097993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43406558036804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:17:44.791310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_30_1686.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_32_1867.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_35_1708.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_38_1711.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_40_1730.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_45_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_30_1686.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_32_1867.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_35_1708.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_38_1711.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_40_1730.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_45_2799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098008","1402098005","1402098004","1402098007","1402098006","1402098009"],"photo_ids_order":["1402098004","1402098005","1402098006","1402098007","1402098008","1402098009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5ff9dd214a1d62618bb1bf59f1fc55b0.jpg","text":"TemporaryFile(/tmp/multipartBody7630328581635675129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320326482,"filename":"image_04112025_21_51_40_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/2/4968481b831fc1907ff5573f7a8c0d88.jpg","text":"TemporaryFile(/tmp/multipartBody5411812171334123737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320326482,"filename":"image_04112025_21_51_32_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/175f800dbb1992c539d0affc5d0873a6.jpg","text":"TemporaryFile(/tmp/multipartBody7754776119406899790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320326482,"filename":"image_04112025_21_51_30_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/2/df585719166c19e6a449a64d9b286002.jpg","text":"TemporaryFile(/tmp/multipartBody4946176573338049994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320326482,"filename":"image_04112025_21_51_38_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/2/d118e7adbf89f726f792b9f82ccd167e.jpg","text":"TemporaryFile(/tmp/multipartBody2206967583324854719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320326482,"filename":"image_04112025_21_51_35_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/2/b0618bfc1de59649aed7295727e869bc.jpg","text":"TemporaryFile(/tmp/multipartBody1879492541369019560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320326482,"filename":"image_04112025_21_51_45_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098006","file1":"1402098005","file0":"1402098004","file4":"1402098008","file5":"1402098009","file3":"1402098007"},"map_files_photo_id_array":[{"photo_id":"1402098009","filename":"file5"},{"photo_id":"1402098006","filename":"file2"},{"photo_id":"1402098008","filename":"file4"},{"photo_id":"1402098005","filename":"file1"},{"photo_id":"1402098004","filename":"file0"},{"photo_id":"1402098007","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098008":["hashtag1","hashtag2"]},{"1402098005":["hashtag1","hashtag2"]},{"1402098004":["hashtag1","hashtag2"]},{"1402098007":["hashtag1","hashtag2"]},{"1402098006":["hashtag1","hashtag2"]},{"1402098009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098008, 1402098005, 1402098004, 1402098007, 1402098006, 1402098009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.131139516830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:18:32.076381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_47_2660.jpg', '/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_57_9705.jpg', '/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_27_14361.jpg', '/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_39_1523.jpg', '/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_53_1703.jpg', '/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_56_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_47_2660.jpg
/home/pi/Desktop/images/04112025/21/51/image_04112025_21_51_57_9705.jpg
/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_27_14361.jpg
/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_39_1523.jpg
/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_53_1703.jpg
/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_56_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098020","1402098017","1402098019","1402098013","1402098021","1402098015"],"photo_ids_order":["1402098013","1402098015","1402098017","1402098019","1402098020","1402098021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d746faba4346574e33d0161f53498f1.jpg","text":"TemporaryFile(/tmp/multipartBody8814463561917103875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320373906,"filename":"image_04112025_21_54_53_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/2/57e2df506f6b28e127a6e2d79e9c1713.jpg","text":"TemporaryFile(/tmp/multipartBody6889754549328142932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320373906,"filename":"image_04112025_21_54_27_14361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c768e471ed564286c892e0bd5ab88414.jpg","text":"TemporaryFile(/tmp/multipartBody5115326355836259816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320373906,"filename":"image_04112025_21_54_39_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/2/f6628c489adc14793429e9f569de97a7.jpg","text":"TemporaryFile(/tmp/multipartBody1052803124422832529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320373906,"filename":"image_04112025_21_51_47_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/2/ba69c4c3381caf5ac402feb333f0acb8.jpg","text":"TemporaryFile(/tmp/multipartBody8795636388794577131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320373906,"filename":"image_04112025_21_54_56_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/2/1be458a1d59059c0926b5b103636dcc1.jpg","text":"TemporaryFile(/tmp/multipartBody1966545968146379355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320373906,"filename":"image_04112025_21_51_57_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098017","file1":"1402098015","file0":"1402098013","file4":"1402098020","file5":"1402098021","file3":"1402098019"},"map_files_photo_id_array":[{"photo_id":"1402098021","filename":"file5"},{"photo_id":"1402098017","filename":"file2"},{"photo_id":"1402098020","filename":"file4"},{"photo_id":"1402098015","filename":"file1"},{"photo_id":"1402098013","filename":"file0"},{"photo_id":"1402098019","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098020":["hashtag1","hashtag2"]},{"1402098017":["hashtag1","hashtag2"]},{"1402098019":["hashtag1","hashtag2"]},{"1402098013":["hashtag1","hashtag2"]},{"1402098021":["hashtag1","hashtag2"]},{"1402098015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098020, 1402098017, 1402098019, 1402098013, 1402098021, 1402098015)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.42037487030029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:19:22.136697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/32/image_02012026_02_33_04_9740.jpg', '/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_15_10762.jpg', '/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_25_9749.jpg', '/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_35_9682.jpg', '/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_45_10663.jpg', '/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_55_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/32/image_02012026_02_33_04_9740.jpg
/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_15_10762.jpg
/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_25_9749.jpg
/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_35_9682.jpg
/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_45_10663.jpg
/home/pi/Desktop/images/02012026/02/33/image_02012026_02_33_55_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":["1402098032","1402098026","1402098023","1402098031","1402098025","1402098028"],"photo_ids_order":["1402098023","1402098025","1402098026","1402098028","1402098031","1402098032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee557b69cfe4e5034febef3d6eec176e.jpg","text":"TemporaryFile(/tmp/multipartBody2925727580558849194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320422737,"filename":"image_02012026_02_33_55_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/2/e09e8ba34a06630f67b6b5aa700b545c.jpg","text":"TemporaryFile(/tmp/multipartBody3941334020282094602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320422737,"filename":"image_02012026_02_33_25_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/2/143773a5aec8615bc0473da9b6b6f00e.jpg","text":"TemporaryFile(/tmp/multipartBody2945693578422072536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320422737,"filename":"image_02012026_02_33_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/2/2ca18a215bbddfe7e16c8e1e177b27a0.jpg","text":"TemporaryFile(/tmp/multipartBody7947408386193477239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320422737,"filename":"image_02012026_02_33_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/2/100752c83294065bcf10e40dc6840dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7841931967680429630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320422737,"filename":"image_02012026_02_33_15_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/2/b9cf2059482fce68e8d9294ad40460ac.jpg","text":"TemporaryFile(/tmp/multipartBody4407325011315665954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320422737,"filename":"image_02012026_02_33_35_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098026","file1":"1402098025","file0":"1402098023","file4":"1402098031","file5":"1402098032","file3":"1402098028"},"map_files_photo_id_array":[{"photo_id":"1402098032","filename":"file5"},{"photo_id":"1402098026","filename":"file2"},{"photo_id":"1402098031","filename":"file4"},{"photo_id":"1402098025","filename":"file1"},{"photo_id":"1402098023","filename":"file0"},{"photo_id":"1402098028","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098032":["hashtag1","hashtag2"]},{"1402098026":["hashtag1","hashtag2"]},{"1402098023":["hashtag1","hashtag2"]},{"1402098031":["hashtag1","hashtag2"]},{"1402098025":["hashtag1","hashtag2"]},{"1402098028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098032, 1402098026, 1402098023, 1402098031, 1402098025, 1402098028)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.182713747024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:20:13.238094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_58_1575.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_05_1713.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_10_2987.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_18_4307.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_21_3345.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_31_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/54/image_04112025_21_54_58_1575.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_05_1713.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_10_2987.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_18_4307.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_21_3345.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_31_2554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098040","1402098034","1402098033","1402098042","1402098036","1402098038"],"photo_ids_order":["1402098033","1402098034","1402098036","1402098038","1402098040","1402098042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/132557a94be48b6500d392652cc5beb3.jpg","text":"TemporaryFile(/tmp/multipartBody8947796823362827879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320474932,"filename":"image_04112025_21_55_21_3345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bc601063126fca03469e71ffe22a5d13.jpg","text":"TemporaryFile(/tmp/multipartBody6142606095805493100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320474932,"filename":"image_04112025_21_55_05_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/2/483c3f585790aa838e1181336a017782.jpg","text":"TemporaryFile(/tmp/multipartBody4998275986074427374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320474932,"filename":"image_04112025_21_54_58_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/2/25971511e86da58c298379310018c3f6.jpg","text":"TemporaryFile(/tmp/multipartBody3337414709372379580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320474932,"filename":"image_04112025_21_55_31_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/2/8016fbe3435d4e238c23d83d5ca31568.jpg","text":"TemporaryFile(/tmp/multipartBody8416127214794486104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320474932,"filename":"image_04112025_21_55_10_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f01d9b6784e279c164dfa05eace10aba.jpg","text":"TemporaryFile(/tmp/multipartBody6813862826688891441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320474932,"filename":"image_04112025_21_55_18_4307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098036","file1":"1402098034","file0":"1402098033","file4":"1402098040","file5":"1402098042","file3":"1402098038"},"map_files_photo_id_array":[{"photo_id":"1402098042","filename":"file5"},{"photo_id":"1402098036","filename":"file2"},{"photo_id":"1402098040","filename":"file4"},{"photo_id":"1402098034","filename":"file1"},{"photo_id":"1402098033","filename":"file0"},{"photo_id":"1402098038","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098040":["hashtag1","hashtag2"]},{"1402098034":["hashtag1","hashtag2"]},{"1402098033":["hashtag1","hashtag2"]},{"1402098042":["hashtag1","hashtag2"]},{"1402098036":["hashtag1","hashtag2"]},{"1402098038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098040, 1402098034, 1402098033, 1402098042, 1402098036, 1402098038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87454295158386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:21:02.844426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/33/image_02012026_02_34_05_9815.jpg', '/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_15_9816.jpg', '/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_24_9715.jpg', '/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_35_10639.jpg', '/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_45_9645.jpg', '/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_54_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/33/image_02012026_02_34_05_9815.jpg
/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_15_9816.jpg
/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_24_9715.jpg
/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_35_10639.jpg
/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_45_9645.jpg
/home/pi/Desktop/images/02012026/02/34/image_02012026_02_34_54_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098047","1402098049","1402098046","1402098051","1402098048","1402098045"],"photo_ids_order":["1402098045","1402098046","1402098047","1402098048","1402098049","1402098051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a2533dc9263f190386c2442dad00ffb0.jpg","text":"TemporaryFile(/tmp/multipartBody522632270319863010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320523507,"filename":"image_02012026_02_34_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/2/480ea669ed7e5a4fb00cf394db4faf75.jpg","text":"TemporaryFile(/tmp/multipartBody4337393231101087240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320523507,"filename":"image_02012026_02_34_45_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/2/5d95228e69e73084830b6c43b20e75a3.jpg","text":"TemporaryFile(/tmp/multipartBody4122117186441584543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320523507,"filename":"image_02012026_02_34_15_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/2/1dca1ff7053b39673a0fac2fc5f8fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody524350489485637016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320523507,"filename":"image_02012026_02_34_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/2/2bb0f7c1f15975a56238a018015f7f43.jpg","text":"TemporaryFile(/tmp/multipartBody7385427085349606548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320523507,"filename":"image_02012026_02_34_35_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/2/4d9c996d199ec7ccbf1d1690607e8bfb.jpg","text":"TemporaryFile(/tmp/multipartBody4182909105924973697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320523507,"filename":"image_02012026_02_34_05_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098047","file1":"1402098046","file0":"1402098045","file4":"1402098049","file5":"1402098051","file3":"1402098048"},"map_files_photo_id_array":[{"photo_id":"1402098051","filename":"file5"},{"photo_id":"1402098047","filename":"file2"},{"photo_id":"1402098049","filename":"file4"},{"photo_id":"1402098046","filename":"file1"},{"photo_id":"1402098045","filename":"file0"},{"photo_id":"1402098048","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098047":["hashtag1","hashtag2"]},{"1402098049":["hashtag1","hashtag2"]},{"1402098046":["hashtag1","hashtag2"]},{"1402098051":["hashtag1","hashtag2"]},{"1402098048":["hashtag1","hashtag2"]},{"1402098045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098047, 1402098049, 1402098046, 1402098051, 1402098048, 1402098045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87152314186096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:21:42.271188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_37_2656.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_44_3651.jpg', '/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_46_2582.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_02_3566.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_04_2616.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_18_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/21/55/image_04112025_21_55_37_2656.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_44_3651.jpg
/home/pi/Desktop/images/04112025/21/55/image_04112025_21_55_46_2582.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_02_3566.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_04_2616.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_18_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":["1402098061","1402098058","1402098060","1402098057","1402098056","1402098059"],"photo_ids_order":["1402098056","1402098057","1402098058","1402098059","1402098060","1402098061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d7d25c80e360f0cb13a1684c3574fb1f.jpg","text":"TemporaryFile(/tmp/multipartBody4625561092392133438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320563972,"filename":"image_04112025_21_56_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/2/4faafa649633dc2d842911750c478972.jpg","text":"TemporaryFile(/tmp/multipartBody4012622354177098264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320563972,"filename":"image_04112025_21_55_46_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/2/25008b13376c6ec212bbf6db32ea4982.jpg","text":"TemporaryFile(/tmp/multipartBody7255504409169598431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320563972,"filename":"image_04112025_21_56_04_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/2/a0dde1df4faf78039734fae73ae20364.jpg","text":"TemporaryFile(/tmp/multipartBody8200235587617040510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320563972,"filename":"image_04112025_21_55_44_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/2/f28498276a2e5c96a098da764b7542f3.jpg","text":"TemporaryFile(/tmp/multipartBody1150997604788002327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320563972,"filename":"image_04112025_21_55_37_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/2/282c4699a7af2e94d664381261b5c546.jpg","text":"TemporaryFile(/tmp/multipartBody85652090421807812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320563972,"filename":"image_04112025_21_56_02_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098058","file1":"1402098057","file0":"1402098056","file4":"1402098060","file5":"1402098061","file3":"1402098059"},"map_files_photo_id_array":[{"photo_id":"1402098061","filename":"file5"},{"photo_id":"1402098058","filename":"file2"},{"photo_id":"1402098060","filename":"file4"},{"photo_id":"1402098057","filename":"file1"},{"photo_id":"1402098056","filename":"file0"},{"photo_id":"1402098059","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098061":["hashtag1","hashtag2"]},{"1402098058":["hashtag1","hashtag2"]},{"1402098060":["hashtag1","hashtag2"]},{"1402098057":["hashtag1","hashtag2"]},{"1402098056":["hashtag1","hashtag2"]},{"1402098059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098061, 1402098058, 1402098060, 1402098057, 1402098056, 1402098059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49876809120178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:22:22.528028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/34/image_02012026_02_35_05_10733.jpg', '/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_15_9619.jpg', '/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_25_10610.jpg', '/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_35_9718.jpg', '/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_45_9782.jpg', '/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/34/image_02012026_02_35_05_10733.jpg
/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_15_9619.jpg
/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_25_10610.jpg
/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_35_9718.jpg
/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_45_9782.jpg
/home/pi/Desktop/images/02012026/02/35/image_02012026_02_35_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":["1402098067","1402098070","1402098064","1402098072","1402098066","1402098062"],"photo_ids_order":["1402098062","1402098064","1402098066","1402098067","1402098070","1402098072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ac5afe2ef1e3ecdc2abfd79663631c80.jpg","text":"TemporaryFile(/tmp/multipartBody1378595233972020622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320603167,"filename":"image_02012026_02_35_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/2/7648a2b338bef4f6071d1127d3953baa.jpg","text":"TemporaryFile(/tmp/multipartBody8311588868821519789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320603167,"filename":"image_02012026_02_35_45_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/2/98f012cbf8a76be23333a90eaae9680d.jpg","text":"TemporaryFile(/tmp/multipartBody6143876544053420845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320603167,"filename":"image_02012026_02_35_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/2/b52ef9f42ce7e4e321e6cd278a8de217.jpg","text":"TemporaryFile(/tmp/multipartBody7209197482633047911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320603167,"filename":"image_02012026_02_35_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/2/7a714c6d666509d23bd90276f385c237.jpg","text":"TemporaryFile(/tmp/multipartBody3842328978461342685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320603167,"filename":"image_02012026_02_35_25_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/2/7b0dc01d33229bc221d039716ed8c9da.jpg","text":"TemporaryFile(/tmp/multipartBody3337706499335362259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320603167,"filename":"image_02012026_02_35_05_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098066","file1":"1402098064","file0":"1402098062","file4":"1402098070","file5":"1402098072","file3":"1402098067"},"map_files_photo_id_array":[{"photo_id":"1402098072","filename":"file5"},{"photo_id":"1402098066","filename":"file2"},{"photo_id":"1402098070","filename":"file4"},{"photo_id":"1402098064","filename":"file1"},{"photo_id":"1402098062","filename":"file0"},{"photo_id":"1402098067","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098067":["hashtag1","hashtag2"]},{"1402098070":["hashtag1","hashtag2"]},{"1402098064":["hashtag1","hashtag2"]},{"1402098072":["hashtag1","hashtag2"]},{"1402098066":["hashtag1","hashtag2"]},{"1402098062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098067, 1402098070, 1402098064, 1402098072, 1402098066, 1402098062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019245624542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:23:02.886986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/35/image_02012026_02_36_05_10672.jpg', '/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_25_9640.jpg', '/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_35_10631.jpg', '/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_45_9615.jpg', '/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_55_9979.jpg', '/home/pi/Desktop/images/02012026/02/36/image_02012026_02_37_04_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/35/image_02012026_02_36_05_10672.jpg
/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_25_9640.jpg
/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_35_10631.jpg
/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_45_9615.jpg
/home/pi/Desktop/images/02012026/02/36/image_02012026_02_36_55_9979.jpg
/home/pi/Desktop/images/02012026/02/36/image_02012026_02_37_04_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":["1402098079","1402098078","1402098081","1402098080","1402098083","1402098077"],"photo_ids_order":["1402098077","1402098078","1402098079","1402098080","1402098081","1402098083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87323108565d081e6b8acaea77e3a858.jpg","text":"TemporaryFile(/tmp/multipartBody9207003507962172727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320643516,"filename":"image_02012026_02_36_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/2/0869462ed610e8e7fa7585f7648b1bae.jpg","text":"TemporaryFile(/tmp/multipartBody412120756725309522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320643516,"filename":"image_02012026_02_36_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/2/62e77532a0c814b1fb7beda130265e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6203647787278618286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320643516,"filename":"image_02012026_02_36_55_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/2/e65833335d40ddcd6af6dc768768ca5f.jpg","text":"TemporaryFile(/tmp/multipartBody1930206675589798132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320643516,"filename":"image_02012026_02_36_45_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/2/5328f4eb99749852087653c1c5545b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1732910775038728239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320643516,"filename":"image_02012026_02_37_04_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/2/1377f9e5ae1b3b309db320db99ba1908.jpg","text":"TemporaryFile(/tmp/multipartBody5316978266825614222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320643516,"filename":"image_02012026_02_36_05_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098079","file1":"1402098078","file0":"1402098077","file4":"1402098081","file5":"1402098083","file3":"1402098080"},"map_files_photo_id_array":[{"photo_id":"1402098083","filename":"file5"},{"photo_id":"1402098079","filename":"file2"},{"photo_id":"1402098081","filename":"file4"},{"photo_id":"1402098078","filename":"file1"},{"photo_id":"1402098077","filename":"file0"},{"photo_id":"1402098080","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098079":["hashtag1","hashtag2"]},{"1402098078":["hashtag1","hashtag2"]},{"1402098081":["hashtag1","hashtag2"]},{"1402098080":["hashtag1","hashtag2"]},{"1402098083":["hashtag1","hashtag2"]},{"1402098077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098079, 1402098078, 1402098081, 1402098080, 1402098083, 1402098077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.402390003204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:23:42.327521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_24_1565.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_27_1665.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_35_3464.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_38_2811.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_40_2614.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_43_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_24_1565.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_27_1665.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_35_3464.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_38_2811.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_40_2614.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_43_2861.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.590836763381958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:24:03.355624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/37/image_02012026_02_37_35_9560.jpg', '/home/pi/Desktop/images/02012026/02/37/image_02012026_02_37_45_10667.jpg', '/home/pi/Desktop/images/02012026/02/37/image_02012026_02_37_55_9561.jpg', '/home/pi/Desktop/images/02012026/02/37/image_02012026_02_38_04_9636.jpg', '/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_15_10710.jpg', '/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_25_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/37/image_02012026_02_37_35_9560.jpg
/home/pi/Desktop/images/02012026/02/37/image_02012026_02_37_45_10667.jpg
/home/pi/Desktop/images/02012026/02/37/image_02012026_02_37_55_9561.jpg
/home/pi/Desktop/images/02012026/02/37/image_02012026_02_38_04_9636.jpg
/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_15_10710.jpg
/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_25_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":["1402098101","1402098097","1402098096","1402098099","1402098095","1402098098"],"photo_ids_order":["1402098095","1402098096","1402098097","1402098098","1402098099","1402098101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d232387498096c2c86168a3c0b8f9537.jpg","text":"TemporaryFile(/tmp/multipartBody7191025075441965914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320704054,"filename":"image_02012026_02_38_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/2/e700bfdb1e71c0f2cb2c302778110108.jpg","text":"TemporaryFile(/tmp/multipartBody5833610203648313671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320704054,"filename":"image_02012026_02_37_55_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/2/94350657df86d961c640e76b851c64e4.jpg","text":"TemporaryFile(/tmp/multipartBody1599278899682240109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320704054,"filename":"image_02012026_02_37_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/2/28535625c8c897f8b19563946795392b.jpg","text":"TemporaryFile(/tmp/multipartBody1585623387761598324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320704054,"filename":"image_02012026_02_38_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/2/634b0e361353d5e0358cf64c0f269457.jpg","text":"TemporaryFile(/tmp/multipartBody2622795615306544998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320704054,"filename":"image_02012026_02_37_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/2/cfd6bb1400ee05206a886d0a37f78e37.jpg","text":"TemporaryFile(/tmp/multipartBody5436780622909509058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320704054,"filename":"image_02012026_02_38_04_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098097","file1":"1402098096","file0":"1402098095","file4":"1402098099","file5":"1402098101","file3":"1402098098"},"map_files_photo_id_array":[{"photo_id":"1402098101","filename":"file5"},{"photo_id":"1402098097","filename":"file2"},{"photo_id":"1402098099","filename":"file4"},{"photo_id":"1402098096","filename":"file1"},{"photo_id":"1402098095","filename":"file0"},{"photo_id":"1402098098","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098101":["hashtag1","hashtag2"]},{"1402098097":["hashtag1","hashtag2"]},{"1402098096":["hashtag1","hashtag2"]},{"1402098099":["hashtag1","hashtag2"]},{"1402098095":["hashtag1","hashtag2"]},{"1402098098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098101, 1402098097, 1402098096, 1402098099, 1402098095, 1402098098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2954580783844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:24:42.574903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_24_1565.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_27_1665.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_35_3464.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_38_2811.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_40_2614.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_43_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_24_1565.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_27_1665.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_35_3464.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_38_2811.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_40_2614.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_43_2861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098110","1402098112","1402098106","1402098109","1402098108","1402098111"],"photo_ids_order":["1402098106","1402098108","1402098109","1402098110","1402098111","1402098112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/687236c88f2598013200293851fe7e28.jpg","text":"TemporaryFile(/tmp/multipartBody6825043288024409874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320744264,"filename":"image_04112025_21_56_38_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/2/6931195013cd4c4df1c7a1ca6b99869f.jpg","text":"TemporaryFile(/tmp/multipartBody3056100775786710708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320744264,"filename":"image_04112025_21_56_43_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/df404393e7d3ea269b624f613781971c.jpg","text":"TemporaryFile(/tmp/multipartBody7227748922339897707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320744264,"filename":"image_04112025_21_56_24_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/2/25a03d64a4c82e6d953ff863cc17392d.jpg","text":"TemporaryFile(/tmp/multipartBody5879944364463133809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320744264,"filename":"image_04112025_21_56_35_3464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8f0a6155bcd7fb14c547deaffb95046.jpg","text":"TemporaryFile(/tmp/multipartBody3897874128924476503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320744264,"filename":"image_04112025_21_56_27_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/2/b15fa4f9402acc214a3dcf1d63710937.jpg","text":"TemporaryFile(/tmp/multipartBody4789356742155501504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320744264,"filename":"image_04112025_21_56_40_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098109","file1":"1402098108","file0":"1402098106","file4":"1402098111","file5":"1402098112","file3":"1402098110"},"map_files_photo_id_array":[{"photo_id":"1402098112","filename":"file5"},{"photo_id":"1402098109","filename":"file2"},{"photo_id":"1402098111","filename":"file4"},{"photo_id":"1402098108","filename":"file1"},{"photo_id":"1402098106","filename":"file0"},{"photo_id":"1402098110","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098110":["hashtag1","hashtag2"]},{"1402098112":["hashtag1","hashtag2"]},{"1402098106":["hashtag1","hashtag2"]},{"1402098109":["hashtag1","hashtag2"]},{"1402098108":["hashtag1","hashtag2"]},{"1402098111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098110, 1402098112, 1402098106, 1402098109, 1402098108, 1402098111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.774455308914185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:25:22.728063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_35_9742.jpg', '/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_45_10668.jpg', '/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_55_9670.jpg', '/home/pi/Desktop/images/02012026/02/38/image_02012026_02_39_05_9694.jpg', '/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_15_10617.jpg', '/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_25_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_35_9742.jpg
/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_45_10668.jpg
/home/pi/Desktop/images/02012026/02/38/image_02012026_02_38_55_9670.jpg
/home/pi/Desktop/images/02012026/02/38/image_02012026_02_39_05_9694.jpg
/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_15_10617.jpg
/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_25_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":["1402098116","1402098121","1402098118","1402098120","1402098114","1402098123"],"photo_ids_order":["1402098114","1402098116","1402098118","1402098120","1402098121","1402098123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a57b1befa62a4c6117828d35201b3eda.jpg","text":"TemporaryFile(/tmp/multipartBody6239382941543865432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320783387,"filename":"image_02012026_02_38_45_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/2/ab40ca9325cf664f97c56e74eaa505df.jpg","text":"TemporaryFile(/tmp/multipartBody666513708269314916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320783387,"filename":"image_02012026_02_39_15_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/2/d7468f59a7dd1d00a67fc7cc19e6ba22.jpg","text":"TemporaryFile(/tmp/multipartBody2865245399985861739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320783387,"filename":"image_02012026_02_38_55_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/2/e293d24f38a633697528225f2d01bc88.jpg","text":"TemporaryFile(/tmp/multipartBody8685020991784591969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320783387,"filename":"image_02012026_02_39_05_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/2/8a3e7493ea11baa4319179e0352b9cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8276602029463254343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320783387,"filename":"image_02012026_02_38_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/2/f2f46d043bf83f607406a8a2c633b80f.jpg","text":"TemporaryFile(/tmp/multipartBody343176301360605101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320783387,"filename":"image_02012026_02_39_25_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098118","file1":"1402098116","file0":"1402098114","file4":"1402098121","file5":"1402098123","file3":"1402098120"},"map_files_photo_id_array":[{"photo_id":"1402098123","filename":"file5"},{"photo_id":"1402098118","filename":"file2"},{"photo_id":"1402098121","filename":"file4"},{"photo_id":"1402098116","filename":"file1"},{"photo_id":"1402098114","filename":"file0"},{"photo_id":"1402098120","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098116":["hashtag1","hashtag2"]},{"1402098121":["hashtag1","hashtag2"]},{"1402098118":["hashtag1","hashtag2"]},{"1402098120":["hashtag1","hashtag2"]},{"1402098114":["hashtag1","hashtag2"]},{"1402098123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098116, 1402098121, 1402098118, 1402098120, 1402098114, 1402098123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25049829483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:26:02.281823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_34_9648.jpg', '/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_45_10645.jpg', '/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_55_9628.jpg', '/home/pi/Desktop/images/02012026/02/39/image_02012026_02_40_04_9624.jpg', '/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_25_9793.jpg', '/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_35_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_34_9648.jpg
/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_45_10645.jpg
/home/pi/Desktop/images/02012026/02/39/image_02012026_02_39_55_9628.jpg
/home/pi/Desktop/images/02012026/02/39/image_02012026_02_40_04_9624.jpg
/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_25_9793.jpg
/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_35_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098125","1402098128","1402098130","1402098124","1402098127","1402098126"],"photo_ids_order":["1402098124","1402098125","1402098126","1402098127","1402098128","1402098130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57dd3d18900d7d519487d28f19ce1c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3419547768338643440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320825258,"filename":"image_02012026_02_39_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/2/a5fe133a593ff094934053dba6cad8e2.jpg","text":"TemporaryFile(/tmp/multipartBody6914101234137927372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320825258,"filename":"image_02012026_02_40_25_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/2/71dec434996685f9824845a7854cbc4b.jpg","text":"TemporaryFile(/tmp/multipartBody4239425998685020036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320825258,"filename":"image_02012026_02_40_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/2/de119de90a6ad415ad536f12bcd1e364.jpg","text":"TemporaryFile(/tmp/multipartBody1347343440397974460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320825258,"filename":"image_02012026_02_39_34_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/2/56f904afc52977eaaa5dd35c4a17aba9.jpg","text":"TemporaryFile(/tmp/multipartBody1540648657177931280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320825258,"filename":"image_02012026_02_40_04_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/2/009536ea0d2378f3a2565e5f4535c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody2170854882968093944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320825258,"filename":"image_02012026_02_39_55_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098126","file1":"1402098125","file0":"1402098124","file4":"1402098128","file5":"1402098130","file3":"1402098127"},"map_files_photo_id_array":[{"photo_id":"1402098130","filename":"file5"},{"photo_id":"1402098126","filename":"file2"},{"photo_id":"1402098128","filename":"file4"},{"photo_id":"1402098125","filename":"file1"},{"photo_id":"1402098124","filename":"file0"},{"photo_id":"1402098127","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098125":["hashtag1","hashtag2"]},{"1402098128":["hashtag1","hashtag2"]},{"1402098130":["hashtag1","hashtag2"]},{"1402098124":["hashtag1","hashtag2"]},{"1402098127":["hashtag1","hashtag2"]},{"1402098126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098125, 1402098128, 1402098130, 1402098124, 1402098127, 1402098126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10211634635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:26:41.954018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_52_2638.jpg', '/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_55_2955.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_10_2882.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_13_3631.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_16_2692.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_19_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_52_2638.jpg
/home/pi/Desktop/images/04112025/21/56/image_04112025_21_56_55_2955.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_10_2882.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_13_3631.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_16_2692.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_19_3023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098140","1402098139","1402098141","1402098135","1402098138","1402098137"],"photo_ids_order":["1402098135","1402098137","1402098138","1402098139","1402098140","1402098141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93767e79defedf916cf35c3c216206cf.jpg","text":"TemporaryFile(/tmp/multipartBody4369895162254817251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320863774,"filename":"image_04112025_21_57_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/2/52851dfbdd9c597cccd79f3f013d9e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1644460381023034646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320863774,"filename":"image_04112025_21_57_13_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/2/360744554e93b39da931cb5eeba6d6be.jpg","text":"TemporaryFile(/tmp/multipartBody6399057041956754221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320863774,"filename":"image_04112025_21_57_19_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1be6dd4bb5e78b8383984450dbce0081.jpg","text":"TemporaryFile(/tmp/multipartBody2528606776603583575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320863774,"filename":"image_04112025_21_56_52_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/2/b522c959a1508d7ebd4a5e335746e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody9088290194817148613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320863774,"filename":"image_04112025_21_57_10_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3c957cdd9fcbbe6abdf6210e9e589dc1.jpg","text":"TemporaryFile(/tmp/multipartBody9197681265649441746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320863774,"filename":"image_04112025_21_56_55_2955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098138","file1":"1402098137","file0":"1402098135","file4":"1402098140","file5":"1402098141","file3":"1402098139"},"map_files_photo_id_array":[{"photo_id":"1402098141","filename":"file5"},{"photo_id":"1402098138","filename":"file2"},{"photo_id":"1402098140","filename":"file4"},{"photo_id":"1402098137","filename":"file1"},{"photo_id":"1402098135","filename":"file0"},{"photo_id":"1402098139","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098140":["hashtag1","hashtag2"]},{"1402098139":["hashtag1","hashtag2"]},{"1402098141":["hashtag1","hashtag2"]},{"1402098135":["hashtag1","hashtag2"]},{"1402098138":["hashtag1","hashtag2"]},{"1402098137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098140, 1402098139, 1402098141, 1402098135, 1402098138, 1402098137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82640218734741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:27:22.141467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_44_9854.jpg', '/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_55_10692.jpg', '/home/pi/Desktop/images/02012026/02/40/image_02012026_02_41_05_10102.jpg', '/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_15_9646.jpg', '/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_25_9778.jpg', '/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_44_9854.jpg
/home/pi/Desktop/images/02012026/02/40/image_02012026_02_40_55_10692.jpg
/home/pi/Desktop/images/02012026/02/40/image_02012026_02_41_05_10102.jpg
/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_15_9646.jpg
/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_25_9778.jpg
/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_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":["1402098149","1402098151","1402098145","1402098153","1402098147","1402098143"],"photo_ids_order":["1402098143","1402098145","1402098147","1402098149","1402098151","1402098153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/02ac8a5be382e92d918296b7cc713d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1938671526710901925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320902742,"filename":"image_02012026_02_41_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/2/5b607a75e6104930651f7c41f55755fa.jpg","text":"TemporaryFile(/tmp/multipartBody3174922301500494195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320902742,"filename":"image_02012026_02_41_25_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/2/f1e1d0ddc1b5b8d4a6818d4bf59f6f70.jpg","text":"TemporaryFile(/tmp/multipartBody7918985949665508834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320902742,"filename":"image_02012026_02_40_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/2/a3ad090f2259f53e94090b4934ea6e9e.jpg","text":"TemporaryFile(/tmp/multipartBody475698297169687985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320902742,"filename":"image_02012026_02_41_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/2/f40644df9437e94291be099366b221ff.jpg","text":"TemporaryFile(/tmp/multipartBody3912553075580396130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320902742,"filename":"image_02012026_02_41_05_10102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ebfe87c133aacd088b1d41c27325b981.jpg","text":"TemporaryFile(/tmp/multipartBody4434274224492656355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320902742,"filename":"image_02012026_02_40_44_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098147","file1":"1402098145","file0":"1402098143","file4":"1402098151","file5":"1402098153","file3":"1402098149"},"map_files_photo_id_array":[{"photo_id":"1402098153","filename":"file5"},{"photo_id":"1402098147","filename":"file2"},{"photo_id":"1402098151","filename":"file4"},{"photo_id":"1402098145","filename":"file1"},{"photo_id":"1402098143","filename":"file0"},{"photo_id":"1402098149","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098149":["hashtag1","hashtag2"]},{"1402098151":["hashtag1","hashtag2"]},{"1402098145":["hashtag1","hashtag2"]},{"1402098153":["hashtag1","hashtag2"]},{"1402098147":["hashtag1","hashtag2"]},{"1402098143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098149, 1402098151, 1402098145, 1402098153, 1402098147, 1402098143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02036714553833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:28:03.268579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_45_10603.jpg', '/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_55_9689.jpg', '/home/pi/Desktop/images/02012026/02/41/image_02012026_02_42_04_9638.jpg', '/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_15_10768.jpg', '/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_25_9650.jpg', '/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_34_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_45_10603.jpg
/home/pi/Desktop/images/02012026/02/41/image_02012026_02_41_55_9689.jpg
/home/pi/Desktop/images/02012026/02/41/image_02012026_02_42_04_9638.jpg
/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_15_10768.jpg
/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_25_9650.jpg
/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_34_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098154","1402098157","1402098156","1402098161","1402098155","1402098158"],"photo_ids_order":["1402098154","1402098155","1402098156","1402098157","1402098158","1402098161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed41753d4a72ba0d1d92e0dfbe7ac0ba.jpg","text":"TemporaryFile(/tmp/multipartBody210665868443760913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320943904,"filename":"image_02012026_02_41_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/2/912572083bd54293e007395d826e0078.jpg","text":"TemporaryFile(/tmp/multipartBody8394512876168171090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320943904,"filename":"image_02012026_02_42_15_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/2/ee2225a24414c423f58f5375bb728d43.jpg","text":"TemporaryFile(/tmp/multipartBody4278158716417075850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320943904,"filename":"image_02012026_02_42_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/2/eec7a33165c9a15866c376135fec6324.jpg","text":"TemporaryFile(/tmp/multipartBody291375706376394302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320943904,"filename":"image_02012026_02_42_34_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/2/13e55d18466815154e69c6bc11c97a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7409584215019747806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320943904,"filename":"image_02012026_02_41_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/2/c35942d1b53dc85ee8b1780c71279b3a.jpg","text":"TemporaryFile(/tmp/multipartBody8115768546387628735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320943904,"filename":"image_02012026_02_42_25_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098156","file1":"1402098155","file0":"1402098154","file4":"1402098158","file5":"1402098161","file3":"1402098157"},"map_files_photo_id_array":[{"photo_id":"1402098161","filename":"file5"},{"photo_id":"1402098156","filename":"file2"},{"photo_id":"1402098158","filename":"file4"},{"photo_id":"1402098155","filename":"file1"},{"photo_id":"1402098154","filename":"file0"},{"photo_id":"1402098157","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098154":["hashtag1","hashtag2"]},{"1402098157":["hashtag1","hashtag2"]},{"1402098156":["hashtag1","hashtag2"]},{"1402098161":["hashtag1","hashtag2"]},{"1402098155":["hashtag1","hashtag2"]},{"1402098158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098154, 1402098157, 1402098156, 1402098161, 1402098155, 1402098158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37895727157593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:28:42.830300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_22_2704.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_25_3609.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_37_2635.jpg', '/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_43_2733.jpg', '/home/pi/Desktop/images/04112025/21/59/image_04112025_21_59_26_2760.jpg', '/home/pi/Desktop/images/04112025/21/59/image_04112025_21_59_30_1801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_22_2704.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_25_3609.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_37_2635.jpg
/home/pi/Desktop/images/04112025/21/57/image_04112025_21_57_43_2733.jpg
/home/pi/Desktop/images/04112025/21/59/image_04112025_21_59_26_2760.jpg
/home/pi/Desktop/images/04112025/21/59/image_04112025_21_59_30_1801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098167","1402098172","1402098169","1402098165","1402098168","1402098170"],"photo_ids_order":["1402098165","1402098167","1402098168","1402098169","1402098170","1402098172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcd15077099ef1d23cc1baa1d11abd78.jpg","text":"TemporaryFile(/tmp/multipartBody8756961010511842044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320984643,"filename":"image_04112025_21_57_25_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/2/9462d68a61b0fdd567d3e35527f1e27f.jpg","text":"TemporaryFile(/tmp/multipartBody2351968415049414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320984643,"filename":"image_04112025_21_59_30_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65868da1855a968e64ae31d814a39a96.jpg","text":"TemporaryFile(/tmp/multipartBody7531562315750387582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320984643,"filename":"image_04112025_21_57_43_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/2/1514ebe423e90c983f0f7ca366d794db.jpg","text":"TemporaryFile(/tmp/multipartBody8968243464116487898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320984643,"filename":"image_04112025_21_57_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/2/c6ec2ebf41f497b2aae7e9c482dcfeb0.jpg","text":"TemporaryFile(/tmp/multipartBody1975570596592537711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320984643,"filename":"image_04112025_21_57_37_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/2/3c12793354e751d67836d085b646615c.jpg","text":"TemporaryFile(/tmp/multipartBody8020846797197387648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767320984643,"filename":"image_04112025_21_59_26_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098168","file1":"1402098167","file0":"1402098165","file4":"1402098170","file5":"1402098172","file3":"1402098169"},"map_files_photo_id_array":[{"photo_id":"1402098172","filename":"file5"},{"photo_id":"1402098168","filename":"file2"},{"photo_id":"1402098170","filename":"file4"},{"photo_id":"1402098167","filename":"file1"},{"photo_id":"1402098165","filename":"file0"},{"photo_id":"1402098169","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098167":["hashtag1","hashtag2"]},{"1402098172":["hashtag1","hashtag2"]},{"1402098169":["hashtag1","hashtag2"]},{"1402098165":["hashtag1","hashtag2"]},{"1402098168":["hashtag1","hashtag2"]},{"1402098170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098167, 1402098172, 1402098169, 1402098165, 1402098168, 1402098170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94424390792847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:29:22.017360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_45_10739.jpg', '/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_55_9666.jpg', '/home/pi/Desktop/images/02012026/02/42/image_02012026_02_43_05_9659.jpg', '/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_15_10670.jpg', '/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_25_9652.jpg', '/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_45_10739.jpg
/home/pi/Desktop/images/02012026/02/42/image_02012026_02_42_55_9666.jpg
/home/pi/Desktop/images/02012026/02/42/image_02012026_02_43_05_9659.jpg
/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_15_10670.jpg
/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_25_9652.jpg
/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_34_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098184","1402098187","1402098180","1402098174","1402098182","1402098176"],"photo_ids_order":["1402098174","1402098176","1402098180","1402098182","1402098184","1402098187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6e404924ef8b9fffe2381d3b44e4e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8627666394858560053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321022664,"filename":"image_02012026_02_43_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/2/15693d4b34f12caefc1b9d4618744085.jpg","text":"TemporaryFile(/tmp/multipartBody5226260947962174099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321022664,"filename":"image_02012026_02_43_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/2/8abb930914421933ae801c18a645f368.jpg","text":"TemporaryFile(/tmp/multipartBody2057760202531211509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321022664,"filename":"image_02012026_02_43_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/2/287b0fc127ef3ef1fd24d966cae1db3a.jpg","text":"TemporaryFile(/tmp/multipartBody5876095953943975835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321022664,"filename":"image_02012026_02_42_45_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/2/4bd0c140ea5fdda0c3ed8cd346670f87.jpg","text":"TemporaryFile(/tmp/multipartBody132397207073052787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321022664,"filename":"image_02012026_02_43_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/2/044e9251df9c79c6d813b4dd89c37d89.jpg","text":"TemporaryFile(/tmp/multipartBody1592868337478711921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321022664,"filename":"image_02012026_02_42_55_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098180","file1":"1402098176","file0":"1402098174","file4":"1402098184","file5":"1402098187","file3":"1402098182"},"map_files_photo_id_array":[{"photo_id":"1402098187","filename":"file5"},{"photo_id":"1402098180","filename":"file2"},{"photo_id":"1402098184","filename":"file4"},{"photo_id":"1402098176","filename":"file1"},{"photo_id":"1402098174","filename":"file0"},{"photo_id":"1402098182","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098184":["hashtag1","hashtag2"]},{"1402098187":["hashtag1","hashtag2"]},{"1402098180":["hashtag1","hashtag2"]},{"1402098174":["hashtag1","hashtag2"]},{"1402098182":["hashtag1","hashtag2"]},{"1402098176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098184, 1402098187, 1402098180, 1402098174, 1402098182, 1402098176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53059148788452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:30:02.528428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_45_10612.jpg', '/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_55_9604.jpg', '/home/pi/Desktop/images/02012026/02/43/image_02012026_02_44_04_9778.jpg', '/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_15_10772.jpg', '/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_25_9741.jpg', '/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_35_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_45_10612.jpg
/home/pi/Desktop/images/02012026/02/43/image_02012026_02_43_55_9604.jpg
/home/pi/Desktop/images/02012026/02/43/image_02012026_02_44_04_9778.jpg
/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_15_10772.jpg
/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_25_9741.jpg
/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_35_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402098190","1402098193","1402098189","1402098191","1402098194","1402098188"],"photo_ids_order":["1402098188","1402098189","1402098190","1402098191","1402098193","1402098194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e5e0dc7727f4cc05f4a983287d99e84.jpg","text":"TemporaryFile(/tmp/multipartBody4048539612071774328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321063210,"filename":"image_02012026_02_44_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/2/e3da299ebc9f3283b71497b8e9d7fd5f.jpg","text":"TemporaryFile(/tmp/multipartBody5700941328605864550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321063210,"filename":"image_02012026_02_44_25_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/2/564dbd0790bdf96f09d0870cbf588915.jpg","text":"TemporaryFile(/tmp/multipartBody1177398672863442047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321063210,"filename":"image_02012026_02_43_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/2/9b1d5bd80aaafadfd47a6f4a4d61ca59.jpg","text":"TemporaryFile(/tmp/multipartBody8295689918572348199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321063210,"filename":"image_02012026_02_44_15_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/2/9cc87d6757233655c061b523903f72ac.jpg","text":"TemporaryFile(/tmp/multipartBody9000182661261915519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321063210,"filename":"image_02012026_02_44_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/2/80113350d30abbdbb59ec02a80e6c116.jpg","text":"TemporaryFile(/tmp/multipartBody1933316483681046757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321063210,"filename":"image_02012026_02_43_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098190","file1":"1402098189","file0":"1402098188","file4":"1402098193","file5":"1402098194","file3":"1402098191"},"map_files_photo_id_array":[{"photo_id":"1402098194","filename":"file5"},{"photo_id":"1402098190","filename":"file2"},{"photo_id":"1402098193","filename":"file4"},{"photo_id":"1402098189","filename":"file1"},{"photo_id":"1402098188","filename":"file0"},{"photo_id":"1402098191","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098190":["hashtag1","hashtag2"]},{"1402098193":["hashtag1","hashtag2"]},{"1402098189":["hashtag1","hashtag2"]},{"1402098191":["hashtag1","hashtag2"]},{"1402098194":["hashtag1","hashtag2"]},{"1402098188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098190, 1402098193, 1402098189, 1402098191, 1402098194, 1402098188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.991600036621094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:31:02.816081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_55_9662.jpg', '/home/pi/Desktop/images/02012026/02/44/image_02012026_02_45_04_9625.jpg', '/home/pi/Desktop/images/02012026/02/45/image_02012026_02_45_25_9729.jpg', '/home/pi/Desktop/images/02012026/02/45/image_02012026_02_45_35_9722.jpg', '/home/pi/Desktop/images/02012026/02/45/image_02012026_02_45_45_10609.jpg', '/home/pi/Desktop/images/02012026/02/45/image_02012026_02_46_05_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/44/image_02012026_02_44_55_9662.jpg
/home/pi/Desktop/images/02012026/02/44/image_02012026_02_45_04_9625.jpg
/home/pi/Desktop/images/02012026/02/45/image_02012026_02_45_25_9729.jpg
/home/pi/Desktop/images/02012026/02/45/image_02012026_02_45_35_9722.jpg
/home/pi/Desktop/images/02012026/02/45/image_02012026_02_45_45_10609.jpg
/home/pi/Desktop/images/02012026/02/45/image_02012026_02_46_05_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":["1402098206","1402098209","1402098211","1402098208","1402098213","1402098207"],"photo_ids_order":["1402098206","1402098207","1402098208","1402098209","1402098211","1402098213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6745496921183745cce31601866d2b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5830022412280764666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321126120,"filename":"image_02012026_02_44_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/2/dd991cce99d346360887664dbcd51513.jpg","text":"TemporaryFile(/tmp/multipartBody3118325789266576623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321126120,"filename":"image_02012026_02_45_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/2/15f518785879842f133e89867b8da831.jpg","text":"TemporaryFile(/tmp/multipartBody7062651669311044109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321126120,"filename":"image_02012026_02_45_45_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/2/5dda8e62c53a0b175be7bed4288a4791.jpg","text":"TemporaryFile(/tmp/multipartBody7138208071675464147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321126120,"filename":"image_02012026_02_45_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/2/0b4f7750669d5e3eff85d9da52a60cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8663237536590991145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321126120,"filename":"image_02012026_02_46_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/2/627807420f5a3621f2d83ad6724fd80f.jpg","text":"TemporaryFile(/tmp/multipartBody6141752863423253916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321126120,"filename":"image_02012026_02_45_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098208","file1":"1402098207","file0":"1402098206","file4":"1402098211","file5":"1402098213","file3":"1402098209"},"map_files_photo_id_array":[{"photo_id":"1402098213","filename":"file5"},{"photo_id":"1402098208","filename":"file2"},{"photo_id":"1402098211","filename":"file4"},{"photo_id":"1402098207","filename":"file1"},{"photo_id":"1402098206","filename":"file0"},{"photo_id":"1402098209","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098206":["hashtag1","hashtag2"]},{"1402098209":["hashtag1","hashtag2"]},{"1402098211":["hashtag1","hashtag2"]},{"1402098208":["hashtag1","hashtag2"]},{"1402098213":["hashtag1","hashtag2"]},{"1402098207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098206, 1402098209, 1402098211, 1402098208, 1402098213, 1402098207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73958873748779 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-02 03:32:02.653578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_15_10615.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_35_9858.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_45_9740.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_55_10633.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_47_05_9673.jpg', '/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_15_9973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_15_10615.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_35_9858.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_45_9740.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_55_10633.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_47_05_9673.jpg
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_15_9973.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5134048461914062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:32:12.423255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/21/59/image_04112025_21_59_56_14565.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_08_3733.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_25_11175.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_29_1702.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_34_2439.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_37_1855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/21/59/image_04112025_21_59_56_14565.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_08_3733.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_25_11175.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_29_1702.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_34_2439.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_37_1855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098227","1402098221","1402098229","1402098223","1402098231","1402098225"],"photo_ids_order":["1402098221","1402098223","1402098225","1402098227","1402098229","1402098231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1a285aacd7a3b1099d3d5a0caf93f6a.jpg","text":"TemporaryFile(/tmp/multipartBody541074606817964975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321194141,"filename":"image_04112025_22_00_29_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/2/5d38ad40447b865c8594a3b881b66f99.jpg","text":"TemporaryFile(/tmp/multipartBody6387788704888921854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321194141,"filename":"image_04112025_21_59_56_14565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f073e1681d5c9b3bc6d2d874e82d419.jpg","text":"TemporaryFile(/tmp/multipartBody4652083077471118874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321194141,"filename":"image_04112025_22_00_34_2439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b3307ae1375700801d5c47d14197cc0e.jpg","text":"TemporaryFile(/tmp/multipartBody1064476209307320650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321194141,"filename":"image_04112025_22_00_08_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/2/e13e0542040b026f7551abacc65d3e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2244671699950399994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321194141,"filename":"image_04112025_22_00_37_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/2/a235d1569399214c6ffe53560b176efb.jpg","text":"TemporaryFile(/tmp/multipartBody8551605755964993133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321194141,"filename":"image_04112025_22_00_25_11175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098225","file1":"1402098223","file0":"1402098221","file4":"1402098229","file5":"1402098231","file3":"1402098227"},"map_files_photo_id_array":[{"photo_id":"1402098231","filename":"file5"},{"photo_id":"1402098225","filename":"file2"},{"photo_id":"1402098229","filename":"file4"},{"photo_id":"1402098223","filename":"file1"},{"photo_id":"1402098221","filename":"file0"},{"photo_id":"1402098227","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098227":["hashtag1","hashtag2"]},{"1402098221":["hashtag1","hashtag2"]},{"1402098229":["hashtag1","hashtag2"]},{"1402098223":["hashtag1","hashtag2"]},{"1402098231":["hashtag1","hashtag2"]},{"1402098225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098227, 1402098221, 1402098229, 1402098223, 1402098231, 1402098225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90879774093628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:33:03.304753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_15_10615.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_35_9858.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_45_9740.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_55_10633.jpg', '/home/pi/Desktop/images/02012026/02/46/image_02012026_02_47_05_9673.jpg', '/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_15_9973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_15_10615.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_35_9858.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_45_9740.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_46_55_10633.jpg
/home/pi/Desktop/images/02012026/02/46/image_02012026_02_47_05_9673.jpg
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_15_9973.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098239","1402098244","1402098240","1402098237","1402098242","1402098236"],"photo_ids_order":["1402098236","1402098237","1402098239","1402098240","1402098242","1402098244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/459eebc437a134b21c0a8b12c59019a4.jpg","text":"TemporaryFile(/tmp/multipartBody3296422687711312706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321246502,"filename":"image_02012026_02_46_45_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/2/6595bf2a2f67197c5acc5a54c944650e.jpg","text":"TemporaryFile(/tmp/multipartBody7051212478217030700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321246502,"filename":"image_02012026_02_47_15_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb5e6e0c396082b25b7a3fd81d8cc46e.jpg","text":"TemporaryFile(/tmp/multipartBody3331140695678124672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321246502,"filename":"image_02012026_02_46_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/2/496f714e902ff59cedb8afefabbd138d.jpg","text":"TemporaryFile(/tmp/multipartBody997566685919625485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321246502,"filename":"image_02012026_02_46_35_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/2/a8a7c3dbc29a896da8f2ef55fa2e2a13.jpg","text":"TemporaryFile(/tmp/multipartBody3674318582794019412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321246502,"filename":"image_02012026_02_47_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/2/6897ae863ca975e4535f37fc75f8bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody2661016611601551234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321246502,"filename":"image_02012026_02_46_15_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098239","file1":"1402098237","file0":"1402098236","file4":"1402098242","file5":"1402098244","file3":"1402098240"},"map_files_photo_id_array":[{"photo_id":"1402098244","filename":"file5"},{"photo_id":"1402098239","filename":"file2"},{"photo_id":"1402098242","filename":"file4"},{"photo_id":"1402098237","filename":"file1"},{"photo_id":"1402098236","filename":"file0"},{"photo_id":"1402098240","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098239":["hashtag1","hashtag2"]},{"1402098244":["hashtag1","hashtag2"]},{"1402098240":["hashtag1","hashtag2"]},{"1402098237":["hashtag1","hashtag2"]},{"1402098242":["hashtag1","hashtag2"]},{"1402098236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098239, 1402098244, 1402098240, 1402098237, 1402098242, 1402098236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57127380371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:33:42.674594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_39_2260.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_41_1766.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_44_2813.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_51_7485.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_54_2883.jpg', '/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_58_1927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_39_2260.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_41_1766.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_44_2813.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_51_7485.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_54_2883.jpg
/home/pi/Desktop/images/04112025/22/00/image_04112025_22_00_58_1927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098251","1402098248","1402098253","1402098250","1402098252","1402098254"],"photo_ids_order":["1402098248","1402098250","1402098251","1402098252","1402098253","1402098254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f8bba9f25a0c541481586d80f92eef1.jpg","text":"TemporaryFile(/tmp/multipartBody2052603979956635176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321284487,"filename":"image_04112025_22_00_44_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/2/676cefa924055ec4d722d318a39e637d.jpg","text":"TemporaryFile(/tmp/multipartBody1504556433202661364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321284487,"filename":"image_04112025_22_00_39_2260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bc906592cd547886e2c27b497d0754aa.jpg","text":"TemporaryFile(/tmp/multipartBody8522452372164077403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321284487,"filename":"image_04112025_22_00_54_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/2/1a617a4a718910de0480c3c3bf4f12ab.jpg","text":"TemporaryFile(/tmp/multipartBody1433509103752721873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321284487,"filename":"image_04112025_22_00_41_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/2/e680ab3ed83bed37bd2d62be90285722.jpg","text":"TemporaryFile(/tmp/multipartBody5975778138380995496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321284487,"filename":"image_04112025_22_00_51_7485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/df80d581ebd46005b9c5f13b60e1abea.jpg","text":"TemporaryFile(/tmp/multipartBody334422647845437740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321284487,"filename":"image_04112025_22_00_58_1927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098251","file1":"1402098250","file0":"1402098248","file4":"1402098253","file5":"1402098254","file3":"1402098252"},"map_files_photo_id_array":[{"photo_id":"1402098254","filename":"file5"},{"photo_id":"1402098251","filename":"file2"},{"photo_id":"1402098253","filename":"file4"},{"photo_id":"1402098250","filename":"file1"},{"photo_id":"1402098248","filename":"file0"},{"photo_id":"1402098252","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098251":["hashtag1","hashtag2"]},{"1402098248":["hashtag1","hashtag2"]},{"1402098253":["hashtag1","hashtag2"]},{"1402098250":["hashtag1","hashtag2"]},{"1402098252":["hashtag1","hashtag2"]},{"1402098254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098251, 1402098248, 1402098253, 1402098250, 1402098252, 1402098254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93813395500183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:34:21.931021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_25_9707.jpg', '/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_35_10516.jpg', '/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_45_9630.jpg', '/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_54_9827.jpg', '/home/pi/Desktop/images/02012026/02/47/image_02012026_02_48_05_10570.jpg', '/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_15_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_25_9707.jpg
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_35_10516.jpg
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_45_9630.jpg
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_47_54_9827.jpg
/home/pi/Desktop/images/02012026/02/47/image_02012026_02_48_05_10570.jpg
/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_15_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098265","1402098259","1402098261","1402098255","1402098263","1402098257"],"photo_ids_order":["1402098255","1402098257","1402098259","1402098261","1402098263","1402098265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/177fb8af5a8cda664c940b64cb09f38d.jpg","text":"TemporaryFile(/tmp/multipartBody3576039824000865174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321322509,"filename":"image_02012026_02_48_15_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/2/07e38f6e118cf90c8f74673fd26da3ce.jpg","text":"TemporaryFile(/tmp/multipartBody3530827671323361939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321322509,"filename":"image_02012026_02_47_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/2/a3dc5836ff465719205c001087329c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8727676720043524948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321322509,"filename":"image_02012026_02_47_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/2/4e7b488754e220affe8114156ad434e4.jpg","text":"TemporaryFile(/tmp/multipartBody3571765948708789382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321322509,"filename":"image_02012026_02_47_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/2/a2a7dc7ccb3f1881622a61b28fb90ee0.jpg","text":"TemporaryFile(/tmp/multipartBody1964372673290889214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321322509,"filename":"image_02012026_02_48_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/2/b431a5d608b4a8c24660c51839bcd97c.jpg","text":"TemporaryFile(/tmp/multipartBody994127305977095698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321322509,"filename":"image_02012026_02_47_35_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098259","file1":"1402098257","file0":"1402098255","file4":"1402098263","file5":"1402098265","file3":"1402098261"},"map_files_photo_id_array":[{"photo_id":"1402098265","filename":"file5"},{"photo_id":"1402098259","filename":"file2"},{"photo_id":"1402098263","filename":"file4"},{"photo_id":"1402098257","filename":"file1"},{"photo_id":"1402098255","filename":"file0"},{"photo_id":"1402098261","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098265":["hashtag1","hashtag2"]},{"1402098259":["hashtag1","hashtag2"]},{"1402098261":["hashtag1","hashtag2"]},{"1402098255":["hashtag1","hashtag2"]},{"1402098263":["hashtag1","hashtag2"]},{"1402098257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098265, 1402098259, 1402098261, 1402098255, 1402098263, 1402098257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57769322395325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:35:02.761581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_25_9807.jpg', '/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_35_10680.jpg', '/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_45_9675.jpg', '/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_55_9672.jpg', '/home/pi/Desktop/images/02012026/02/48/image_02012026_02_49_05_10410.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_15_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_25_9807.jpg
/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_35_10680.jpg
/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_45_9675.jpg
/home/pi/Desktop/images/02012026/02/48/image_02012026_02_48_55_9672.jpg
/home/pi/Desktop/images/02012026/02/48/image_02012026_02_49_05_10410.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_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":["1402098271","1402098268","1402098270","1402098273","1402098267","1402098269"],"photo_ids_order":["1402098267","1402098268","1402098269","1402098270","1402098271","1402098273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d2d25022149e1788181bf54938d53e15.jpg","text":"TemporaryFile(/tmp/multipartBody5526275320708489746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321363408,"filename":"image_02012026_02_49_05_10410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e139c959b0221026cc76300f780b5526.jpg","text":"TemporaryFile(/tmp/multipartBody8729446641863826066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321363408,"filename":"image_02012026_02_48_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/2/613e2299f8752922e1e6629c9fe0aa56.jpg","text":"TemporaryFile(/tmp/multipartBody3667037947944334333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321363408,"filename":"image_02012026_02_48_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/2/ad09abdc20ffaf3a3d9cf2b69ba9d127.jpg","text":"TemporaryFile(/tmp/multipartBody4796963420372897396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321363408,"filename":"image_02012026_02_49_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/2/e6a4f31078846a3aab3c2aa6b5dcf516.jpg","text":"TemporaryFile(/tmp/multipartBody1778074477108612209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321363408,"filename":"image_02012026_02_48_25_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/2/be75ef7163a8f984c36f9dbcb7fe0159.jpg","text":"TemporaryFile(/tmp/multipartBody7352253700580157330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321363408,"filename":"image_02012026_02_48_45_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098269","file1":"1402098268","file0":"1402098267","file4":"1402098271","file5":"1402098273","file3":"1402098270"},"map_files_photo_id_array":[{"photo_id":"1402098273","filename":"file5"},{"photo_id":"1402098269","filename":"file2"},{"photo_id":"1402098271","filename":"file4"},{"photo_id":"1402098268","filename":"file1"},{"photo_id":"1402098267","filename":"file0"},{"photo_id":"1402098270","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098271":["hashtag1","hashtag2"]},{"1402098268":["hashtag1","hashtag2"]},{"1402098270":["hashtag1","hashtag2"]},{"1402098273":["hashtag1","hashtag2"]},{"1402098267":["hashtag1","hashtag2"]},{"1402098269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098271, 1402098268, 1402098270, 1402098273, 1402098267, 1402098269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78397750854492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:35:42.118235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_05_2685.jpg', '/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_08_2798.jpg', '/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_44_11473.jpg', '/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_45_1626.jpg', '/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_47_1598.jpg', '/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_54_1988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_05_2685.jpg
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_08_2798.jpg
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_44_11473.jpg
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_45_1626.jpg
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_47_1598.jpg
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_54_1988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098283","1402098280","1402098282","1402098281","1402098284","1402098278"],"photo_ids_order":["1402098278","1402098280","1402098281","1402098282","1402098283","1402098284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ebdd01d39afa2b6b47ceb252c6de1936.jpg","text":"TemporaryFile(/tmp/multipartBody5306866211023562298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321403968,"filename":"image_04112025_22_01_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/2/c6a38692b0b15a98febaae16f55df8be.jpg","text":"TemporaryFile(/tmp/multipartBody2489309450598221777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321403968,"filename":"image_04112025_22_01_08_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/2/72a2d1352fb100c6e4ba8e9f91252a52.jpg","text":"TemporaryFile(/tmp/multipartBody51802139005975142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321403968,"filename":"image_04112025_22_01_45_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/2/0f2eb9749e4074077c0a6da60cdff69a.jpg","text":"TemporaryFile(/tmp/multipartBody1640732129106608904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321403968,"filename":"image_04112025_22_01_44_11473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/688cecb05cfebdeaaa37ff84706d3444.jpg","text":"TemporaryFile(/tmp/multipartBody1647827435117901953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321403968,"filename":"image_04112025_22_01_54_1988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fccaa4ff2d01e296a99bcd8eb1630687.jpg","text":"TemporaryFile(/tmp/multipartBody8195860970299382685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321403968,"filename":"image_04112025_22_01_05_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098281","file1":"1402098280","file0":"1402098278","file4":"1402098283","file5":"1402098284","file3":"1402098282"},"map_files_photo_id_array":[{"photo_id":"1402098284","filename":"file5"},{"photo_id":"1402098281","filename":"file2"},{"photo_id":"1402098283","filename":"file4"},{"photo_id":"1402098280","filename":"file1"},{"photo_id":"1402098278","filename":"file0"},{"photo_id":"1402098282","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098283":["hashtag1","hashtag2"]},{"1402098280":["hashtag1","hashtag2"]},{"1402098282":["hashtag1","hashtag2"]},{"1402098281":["hashtag1","hashtag2"]},{"1402098284":["hashtag1","hashtag2"]},{"1402098278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098283, 1402098280, 1402098282, 1402098281, 1402098284, 1402098278)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.65024924278259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:36:32.300489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_57_1560.jpg', '/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_03_1707.jpg', '/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_20_3653.jpg', '/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_32_2825.jpg', '/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_35_2888.jpg', '/home/pi/Desktop/images/04112025/22/02/image_04112025_22_03_00_7171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/01/image_04112025_22_01_57_1560.jpg
/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_03_1707.jpg
/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_20_3653.jpg
/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_32_2825.jpg
/home/pi/Desktop/images/04112025/22/02/image_04112025_22_02_35_2888.jpg
/home/pi/Desktop/images/04112025/22/02/image_04112025_22_03_00_7171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098298","1402098288","1402098300","1402098290","1402098293","1402098296"],"photo_ids_order":["1402098288","1402098290","1402098293","1402098296","1402098298","1402098300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78473922d1c84a321dd45cbf739d4d97.jpg","text":"TemporaryFile(/tmp/multipartBody3509151756237737998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321454144,"filename":"image_04112025_22_02_35_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/704df00b49fd1a79a7077ddd1ca01a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4402124400541793270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321454144,"filename":"image_04112025_22_01_57_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/2/680080c8e46bb899ff8e5f3dded0c46c.jpg","text":"TemporaryFile(/tmp/multipartBody4387486247709889568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321454144,"filename":"image_04112025_22_03_00_7171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/16eb07b65bfcffee77aa54da245556a1.jpg","text":"TemporaryFile(/tmp/multipartBody304206962179679549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321454144,"filename":"image_04112025_22_02_03_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/2/9da62a150e4b246f4c0254fc2d824ac3.jpg","text":"TemporaryFile(/tmp/multipartBody589521396114397171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321454144,"filename":"image_04112025_22_02_20_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/2/4499298be2afbdd08a2f79a09634a595.jpg","text":"TemporaryFile(/tmp/multipartBody6239519283244762757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321454144,"filename":"image_04112025_22_02_32_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098293","file1":"1402098290","file0":"1402098288","file4":"1402098298","file5":"1402098300","file3":"1402098296"},"map_files_photo_id_array":[{"photo_id":"1402098300","filename":"file5"},{"photo_id":"1402098293","filename":"file2"},{"photo_id":"1402098298","filename":"file4"},{"photo_id":"1402098290","filename":"file1"},{"photo_id":"1402098288","filename":"file0"},{"photo_id":"1402098296","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098298":["hashtag1","hashtag2"]},{"1402098288":["hashtag1","hashtag2"]},{"1402098300":["hashtag1","hashtag2"]},{"1402098290":["hashtag1","hashtag2"]},{"1402098293":["hashtag1","hashtag2"]},{"1402098296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098298, 1402098288, 1402098300, 1402098290, 1402098293, 1402098296)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.13960242271423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:37:22.667642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_25_9849.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_35_10651.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_45_9604.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_54_9638.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_50_05_10774.jpg', '/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_15_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_25_9849.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_35_10651.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_45_9604.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_54_9638.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_50_05_10774.jpg
/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_15_9647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.46347665786743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:37:32.752486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/03/image_04112025_22_03_03_1705.jpg', '/home/pi/Desktop/images/04112025/22/03/image_04112025_22_03_12_1836.jpg', '/home/pi/Desktop/images/04112025/22/03/image_04112025_22_03_59_1693.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_03_1674.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_15_6062.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_21_6019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/03/image_04112025_22_03_03_1705.jpg
/home/pi/Desktop/images/04112025/22/03/image_04112025_22_03_12_1836.jpg
/home/pi/Desktop/images/04112025/22/03/image_04112025_22_03_59_1693.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_03_1674.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_15_6062.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_21_6019.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098317","1402098316","1402098319","1402098312","1402098309","1402098318"],"photo_ids_order":["1402098309","1402098312","1402098316","1402098317","1402098318","1402098319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dcda9998c499dc7d2088178b8063176f.jpg","text":"TemporaryFile(/tmp/multipartBody2143952832548740546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321516049,"filename":"image_04112025_22_04_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/2/0a142f27f4b496c99e3877e0bb8612d2.jpg","text":"TemporaryFile(/tmp/multipartBody4408232433660876410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321516049,"filename":"image_04112025_22_03_59_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/2/a84213f2bdf53136e647abcabea0a01e.jpg","text":"TemporaryFile(/tmp/multipartBody3513375793321772259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321516049,"filename":"image_04112025_22_04_21_6019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cbda4dbe5b6b771ebddc87faa77aecf.jpg","text":"TemporaryFile(/tmp/multipartBody783304257235124753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321516049,"filename":"image_04112025_22_03_12_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/2/e88acbbd946f3d01d9295e2575cddae4.jpg","text":"TemporaryFile(/tmp/multipartBody6185839497846564158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321516049,"filename":"image_04112025_22_03_03_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/2/378fbe1aabe6ca36cffb8dee8765092a.jpg","text":"TemporaryFile(/tmp/multipartBody6384562376306591317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321516049,"filename":"image_04112025_22_04_15_6062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098316","file1":"1402098312","file0":"1402098309","file4":"1402098318","file5":"1402098319","file3":"1402098317"},"map_files_photo_id_array":[{"photo_id":"1402098319","filename":"file5"},{"photo_id":"1402098316","filename":"file2"},{"photo_id":"1402098318","filename":"file4"},{"photo_id":"1402098312","filename":"file1"},{"photo_id":"1402098309","filename":"file0"},{"photo_id":"1402098317","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098317":["hashtag1","hashtag2"]},{"1402098316":["hashtag1","hashtag2"]},{"1402098319":["hashtag1","hashtag2"]},{"1402098312":["hashtag1","hashtag2"]},{"1402098309":["hashtag1","hashtag2"]},{"1402098318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098317, 1402098316, 1402098319, 1402098312, 1402098309, 1402098318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14256954193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:38:21.935280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_25_9849.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_35_10651.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_45_9604.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_54_9638.jpg', '/home/pi/Desktop/images/02012026/02/49/image_02012026_02_50_05_10774.jpg', '/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_15_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_25_9849.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_35_10651.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_45_9604.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_49_54_9638.jpg
/home/pi/Desktop/images/02012026/02/49/image_02012026_02_50_05_10774.jpg
/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_15_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":["1402098323","1402098326","1402098320","1402098328","1402098330","1402098324"],"photo_ids_order":["1402098320","1402098323","1402098324","1402098326","1402098328","1402098330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f85d5e88f05c2ac3acd7f8265b4391d.jpg","text":"TemporaryFile(/tmp/multipartBody632713024880896114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321562538,"filename":"image_02012026_02_49_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/2/807e2a9c9f08bbaab8bbbc302ea2bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2247106584944959078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321562538,"filename":"image_02012026_02_49_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/2/2a23ff16500a5b896e7af3b114215b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6823278245370683348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321562538,"filename":"image_02012026_02_49_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/2/5f565c209d611b42245daee17308880a.jpg","text":"TemporaryFile(/tmp/multipartBody2374333702325403760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321562538,"filename":"image_02012026_02_50_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/2/c00324d618839deda01ab70063ea9373.jpg","text":"TemporaryFile(/tmp/multipartBody8860455653687671615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321562538,"filename":"image_02012026_02_50_15_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/2/93fe23cfe4c97e1c228bc90008bfde2c.jpg","text":"TemporaryFile(/tmp/multipartBody3156305015375433268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321562538,"filename":"image_02012026_02_49_45_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098324","file1":"1402098323","file0":"1402098320","file4":"1402098328","file5":"1402098330","file3":"1402098326"},"map_files_photo_id_array":[{"photo_id":"1402098330","filename":"file5"},{"photo_id":"1402098324","filename":"file2"},{"photo_id":"1402098328","filename":"file4"},{"photo_id":"1402098323","filename":"file1"},{"photo_id":"1402098320","filename":"file0"},{"photo_id":"1402098326","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098323":["hashtag1","hashtag2"]},{"1402098326":["hashtag1","hashtag2"]},{"1402098320":["hashtag1","hashtag2"]},{"1402098328":["hashtag1","hashtag2"]},{"1402098330":["hashtag1","hashtag2"]},{"1402098324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098323, 1402098326, 1402098320, 1402098328, 1402098330, 1402098324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31284499168396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:39:03.882932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_25_9716.jpg', '/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_34_9730.jpg', '/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_55_9653.jpg', '/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_15_10650.jpg', '/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_25_9685.jpg', '/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_34_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_25_9716.jpg
/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_34_9730.jpg
/home/pi/Desktop/images/02012026/02/50/image_02012026_02_50_55_9653.jpg
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_15_10650.jpg
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_25_9685.jpg
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_34_9680.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":["1402098338","1402098332","1402098340","1402098334","1402098333","1402098336"],"photo_ids_order":["1402098332","1402098333","1402098334","1402098336","1402098338","1402098340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f67bd2153fc0e5342e932c1d14490ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6859539677188349876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321607605,"filename":"image_02012026_02_51_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/2/796e0e705afd3e3c11d0458611ced992.jpg","text":"TemporaryFile(/tmp/multipartBody4338927160342396340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321607605,"filename":"image_02012026_02_50_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/2/9a341d0a6c163ee2df42a126f61b714b.jpg","text":"TemporaryFile(/tmp/multipartBody365665323507916469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321607605,"filename":"image_02012026_02_51_34_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/2/eb33549298cc43b21bd0d1dbf9c74060.jpg","text":"TemporaryFile(/tmp/multipartBody878757112981184778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321607605,"filename":"image_02012026_02_50_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/2/689a0e4ad60db9cd773702c8fda0057d.jpg","text":"TemporaryFile(/tmp/multipartBody1374964682167637964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321607605,"filename":"image_02012026_02_50_34_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/2/9eaf76f47d5915a3d5980b56d6f4f5df.jpg","text":"TemporaryFile(/tmp/multipartBody5024240741924524680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321607605,"filename":"image_02012026_02_51_15_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098334","file1":"1402098333","file0":"1402098332","file4":"1402098338","file5":"1402098340","file3":"1402098336"},"map_files_photo_id_array":[{"photo_id":"1402098340","filename":"file5"},{"photo_id":"1402098334","filename":"file2"},{"photo_id":"1402098338","filename":"file4"},{"photo_id":"1402098333","filename":"file1"},{"photo_id":"1402098332","filename":"file0"},{"photo_id":"1402098336","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098338":["hashtag1","hashtag2"]},{"1402098332":["hashtag1","hashtag2"]},{"1402098340":["hashtag1","hashtag2"]},{"1402098334":["hashtag1","hashtag2"]},{"1402098333":["hashtag1","hashtag2"]},{"1402098336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098338, 1402098332, 1402098340, 1402098334, 1402098333, 1402098336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93201041221619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:40:02.821764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_45_10046.jpg', '/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_55_10598.jpg', '/home/pi/Desktop/images/02012026/02/52/image_02012026_02_53_05_9827.jpg', '/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_15_9905.jpg', '/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_25_9668.jpg', '/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_45_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_45_10046.jpg
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_55_10598.jpg
/home/pi/Desktop/images/02012026/02/52/image_02012026_02_53_05_9827.jpg
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_15_9905.jpg
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_25_9668.jpg
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_45_9964.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5734913349151611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:40:12.356513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_27_1641.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_29_1601.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_35_6467.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_41_1789.jpg', '/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_49_8198.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_11_3021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_27_1641.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_29_1601.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_35_6467.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_41_1789.jpg
/home/pi/Desktop/images/04112025/22/04/image_04112025_22_04_49_8198.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_11_3021.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098359","1402098350","1402098355","1402098357","1402098348","1402098353"],"photo_ids_order":["1402098348","1402098350","1402098353","1402098355","1402098357","1402098359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a0e576f0194bcd4ea227f24c8a3d1694.jpg","text":"TemporaryFile(/tmp/multipartBody434456056387509356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321674103,"filename":"image_04112025_22_05_11_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/2/90da8f775bd80d51e3f24b78b4af71c1.jpg","text":"TemporaryFile(/tmp/multipartBody2641184726331135659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321674103,"filename":"image_04112025_22_04_29_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/2/77d62a9d747dcb29fb2253c2c2f098b2.jpg","text":"TemporaryFile(/tmp/multipartBody1442369274678694317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321674103,"filename":"image_04112025_22_04_41_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/2/31c06c90b0cce33df7e928cbbadfc606.jpg","text":"TemporaryFile(/tmp/multipartBody8719933263902770059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321674103,"filename":"image_04112025_22_04_49_8198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c631ce265f034766e983ef7e37ca2dfe.jpg","text":"TemporaryFile(/tmp/multipartBody9087447798126585112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321674103,"filename":"image_04112025_22_04_27_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/2/9448e6cd3edb00ac7ef5677973ae4220.jpg","text":"TemporaryFile(/tmp/multipartBody7049712032039192625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321674103,"filename":"image_04112025_22_04_35_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098353","file1":"1402098350","file0":"1402098348","file4":"1402098357","file5":"1402098359","file3":"1402098355"},"map_files_photo_id_array":[{"photo_id":"1402098359","filename":"file5"},{"photo_id":"1402098353","filename":"file2"},{"photo_id":"1402098357","filename":"file4"},{"photo_id":"1402098350","filename":"file1"},{"photo_id":"1402098348","filename":"file0"},{"photo_id":"1402098355","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098359":["hashtag1","hashtag2"]},{"1402098350":["hashtag1","hashtag2"]},{"1402098355":["hashtag1","hashtag2"]},{"1402098357":["hashtag1","hashtag2"]},{"1402098348":["hashtag1","hashtag2"]},{"1402098353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098359, 1402098350, 1402098355, 1402098357, 1402098348, 1402098353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.936726570129395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:41:03.261385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_45_10046.jpg', '/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_55_10598.jpg', '/home/pi/Desktop/images/02012026/02/52/image_02012026_02_53_05_9827.jpg', '/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_15_9905.jpg', '/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_25_9668.jpg', '/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_45_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_45_10046.jpg
/home/pi/Desktop/images/02012026/02/51/image_02012026_02_51_55_10598.jpg
/home/pi/Desktop/images/02012026/02/52/image_02012026_02_53_05_9827.jpg
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_15_9905.jpg
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_25_9668.jpg
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_53_45_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098365","1402098364","1402098367","1402098361","1402098363","1402098362"],"photo_ids_order":["1402098361","1402098362","1402098363","1402098364","1402098365","1402098367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/742d8ad8f70810c890fb7e67e4589c44.jpg","text":"TemporaryFile(/tmp/multipartBody3957811264704567335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321723929,"filename":"image_02012026_02_53_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/2/99b08e1f32dc083a2068ba07585700de.jpg","text":"TemporaryFile(/tmp/multipartBody3947577565718869650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321723929,"filename":"image_02012026_02_53_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/2/58d7aa126228081ee2cc695355e7599d.jpg","text":"TemporaryFile(/tmp/multipartBody5901572855810373190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321723929,"filename":"image_02012026_02_53_45_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5aa0e71d6ac49a7b102f359685ce4e97.jpg","text":"TemporaryFile(/tmp/multipartBody8680593633831416336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321723929,"filename":"image_02012026_02_51_45_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da19ad727793e1b1081a0051e7b8f765.jpg","text":"TemporaryFile(/tmp/multipartBody4509916197561915990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321723929,"filename":"image_02012026_02_53_05_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/2/cab52a66a81aafb4b81934505140c923.jpg","text":"TemporaryFile(/tmp/multipartBody6434805929908265069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321723929,"filename":"image_02012026_02_51_55_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098363","file1":"1402098362","file0":"1402098361","file4":"1402098365","file5":"1402098367","file3":"1402098364"},"map_files_photo_id_array":[{"photo_id":"1402098367","filename":"file5"},{"photo_id":"1402098363","filename":"file2"},{"photo_id":"1402098365","filename":"file4"},{"photo_id":"1402098362","filename":"file1"},{"photo_id":"1402098361","filename":"file0"},{"photo_id":"1402098364","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098365":["hashtag1","hashtag2"]},{"1402098364":["hashtag1","hashtag2"]},{"1402098367":["hashtag1","hashtag2"]},{"1402098361":["hashtag1","hashtag2"]},{"1402098363":["hashtag1","hashtag2"]},{"1402098362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098365, 1402098364, 1402098367, 1402098361, 1402098363, 1402098362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22827959060669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:41:42.534218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_33_21759.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_36_1795.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_38_1671.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_39_1683.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_44_1686.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_46_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_33_21759.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_36_1795.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_38_1671.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_39_1683.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_44_1686.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_46_1689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098376","1402098375","1402098378","1402098372","1402098374","1402098377"],"photo_ids_order":["1402098372","1402098374","1402098375","1402098376","1402098377","1402098378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3afe02cab0ad5faa7c9c4aacba4bc455.jpg","text":"TemporaryFile(/tmp/multipartBody8210884140840934217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321764360,"filename":"image_04112025_22_05_39_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/2/7553de9b9e115d01a201d2e8d76cecea.jpg","text":"TemporaryFile(/tmp/multipartBody5736510255932729937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321764360,"filename":"image_04112025_22_05_38_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/2/59b6c479c99c93aa1f738ff2d9b5ca96.jpg","text":"TemporaryFile(/tmp/multipartBody5082141526226552798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321764360,"filename":"image_04112025_22_05_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/2/86e12ee06b8775bb6e50e2e158012a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7661148975885719912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321764360,"filename":"image_04112025_22_05_33_21759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fbf633af80dff8a50fc91ac1eca41f1.jpg","text":"TemporaryFile(/tmp/multipartBody5104335564786037697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321764360,"filename":"image_04112025_22_05_36_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/2/4c648d75c1935bb6370c71126b351a50.jpg","text":"TemporaryFile(/tmp/multipartBody7422360062741343899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321764360,"filename":"image_04112025_22_05_44_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098375","file1":"1402098374","file0":"1402098372","file4":"1402098377","file5":"1402098378","file3":"1402098376"},"map_files_photo_id_array":[{"photo_id":"1402098378","filename":"file5"},{"photo_id":"1402098375","filename":"file2"},{"photo_id":"1402098377","filename":"file4"},{"photo_id":"1402098374","filename":"file1"},{"photo_id":"1402098372","filename":"file0"},{"photo_id":"1402098376","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098376":["hashtag1","hashtag2"]},{"1402098375":["hashtag1","hashtag2"]},{"1402098378":["hashtag1","hashtag2"]},{"1402098372":["hashtag1","hashtag2"]},{"1402098374":["hashtag1","hashtag2"]},{"1402098377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098376, 1402098375, 1402098378, 1402098372, 1402098374, 1402098377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59462237358093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:42:22.708160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/53/image_02012026_02_54_05_9649.jpg', '/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_15_10630.jpg', '/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_25_9719.jpg', '/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_35_10108.jpg', '/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_54_9689.jpg', '/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_15_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/53/image_02012026_02_54_05_9649.jpg
/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_15_10630.jpg
/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_25_9719.jpg
/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_35_10108.jpg
/home/pi/Desktop/images/02012026/02/54/image_02012026_02_54_54_9689.jpg
/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_15_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098385","1402098387","1402098381","1402098389","1402098380","1402098383"],"photo_ids_order":["1402098380","1402098381","1402098383","1402098385","1402098387","1402098389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6b904064a00f1883591327315a45529f.jpg","text":"TemporaryFile(/tmp/multipartBody1519014089884656144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321803321,"filename":"image_02012026_02_54_35_10108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e1e14031037bc19275ddc63660208560.jpg","text":"TemporaryFile(/tmp/multipartBody1871162160357476287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321803321,"filename":"image_02012026_02_54_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/2/82eff75363edab586a74fda87cf248d9.jpg","text":"TemporaryFile(/tmp/multipartBody8015298909743010136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321803321,"filename":"image_02012026_02_54_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/2/f77b1c04c77b2c84067ec3dc5879dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2767353842206152626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321803321,"filename":"image_02012026_02_55_15_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/2/bf41c570a1fa8f6d97cb5a8e6ab293cb.jpg","text":"TemporaryFile(/tmp/multipartBody5959743071547062961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321803321,"filename":"image_02012026_02_54_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/2/ad5410cda9bb8be82c58065522b45c1a.jpg","text":"TemporaryFile(/tmp/multipartBody3091109982339073200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321803321,"filename":"image_02012026_02_54_25_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098383","file1":"1402098381","file0":"1402098380","file4":"1402098387","file5":"1402098389","file3":"1402098385"},"map_files_photo_id_array":[{"photo_id":"1402098389","filename":"file5"},{"photo_id":"1402098383","filename":"file2"},{"photo_id":"1402098387","filename":"file4"},{"photo_id":"1402098381","filename":"file1"},{"photo_id":"1402098380","filename":"file0"},{"photo_id":"1402098385","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098385":["hashtag1","hashtag2"]},{"1402098387":["hashtag1","hashtag2"]},{"1402098381":["hashtag1","hashtag2"]},{"1402098389":["hashtag1","hashtag2"]},{"1402098380":["hashtag1","hashtag2"]},{"1402098383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098385, 1402098387, 1402098381, 1402098389, 1402098380, 1402098383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13852787017822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:43:02.659822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_25_9757.jpg', '/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_41_15932.jpg', '/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_45_4596.jpg', '/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_55_9975.jpg', '/home/pi/Desktop/images/02012026/02/55/image_02012026_02_56_05_9676.jpg', '/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_25_9757.jpg
/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_41_15932.jpg
/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_45_4596.jpg
/home/pi/Desktop/images/02012026/02/55/image_02012026_02_55_55_9975.jpg
/home/pi/Desktop/images/02012026/02/55/image_02012026_02_56_05_9676.jpg
/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_14_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":["1402098394","1402098391","1402098393","1402098396","1402098398","1402098392"],"photo_ids_order":["1402098391","1402098392","1402098393","1402098394","1402098396","1402098398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a833ea286d5c38276944cb9aa79f7ce.jpg","text":"TemporaryFile(/tmp/multipartBody17612172921175814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321843372,"filename":"image_02012026_02_55_55_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/2/53ef407f30a35e0af5b2f2ea86644a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5094147287200263001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321843372,"filename":"image_02012026_02_55_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/2/6e1302d23b7f376585ec1e185675a96c.jpg","text":"TemporaryFile(/tmp/multipartBody616925126925550490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321843372,"filename":"image_02012026_02_55_45_4596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a42096744cc9180f728017be288b9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5041627199292866691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321843372,"filename":"image_02012026_02_56_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/2/61ca4982afa55c7b99dc1f9c53f86edf.jpg","text":"TemporaryFile(/tmp/multipartBody3352392790168659379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321843372,"filename":"image_02012026_02_56_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/2/91f0667819cbfc8e60345a6edfffb27b.jpg","text":"TemporaryFile(/tmp/multipartBody8362156157970270158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321843372,"filename":"image_02012026_02_55_41_15932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098393","file1":"1402098392","file0":"1402098391","file4":"1402098396","file5":"1402098398","file3":"1402098394"},"map_files_photo_id_array":[{"photo_id":"1402098398","filename":"file5"},{"photo_id":"1402098393","filename":"file2"},{"photo_id":"1402098396","filename":"file4"},{"photo_id":"1402098392","filename":"file1"},{"photo_id":"1402098391","filename":"file0"},{"photo_id":"1402098394","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098394":["hashtag1","hashtag2"]},{"1402098391":["hashtag1","hashtag2"]},{"1402098393":["hashtag1","hashtag2"]},{"1402098396":["hashtag1","hashtag2"]},{"1402098398":["hashtag1","hashtag2"]},{"1402098392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098394, 1402098391, 1402098393, 1402098396, 1402098398, 1402098392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908429861068726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:43:41.897251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_51_1709.jpg', '/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_53_1822.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_09_13049.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_13_1701.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_15_1865.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_42_27173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_51_1709.jpg
/home/pi/Desktop/images/04112025/22/05/image_04112025_22_05_53_1822.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_09_13049.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_13_1701.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_15_1865.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_42_27173.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098407","1402098409","1402098403","1402098406","1402098405","1402098408"],"photo_ids_order":["1402098403","1402098405","1402098406","1402098407","1402098408","1402098409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba4521817670979ce0e7aca7d08f0c42.jpg","text":"TemporaryFile(/tmp/multipartBody5881722256291622375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321883707,"filename":"image_04112025_22_06_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/2/535ee18e60fdec04fab098f6e2bb03b1.jpg","text":"TemporaryFile(/tmp/multipartBody2107933796087669049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321883707,"filename":"image_04112025_22_06_42_27173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0917c298512f4d165eaa7fad12287ca.jpg","text":"TemporaryFile(/tmp/multipartBody6478528682636159116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321883707,"filename":"image_04112025_22_05_51_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/2/45723d07ca57198851a714a1da732685.jpg","text":"TemporaryFile(/tmp/multipartBody4965781052668997068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321883707,"filename":"image_04112025_22_06_09_13049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1991abe07217796fc0ea22debd078827.jpg","text":"TemporaryFile(/tmp/multipartBody4583061271493306836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321883707,"filename":"image_04112025_22_05_53_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/2/b04eb4004453f8f5b929b510ad00c1b6.jpg","text":"TemporaryFile(/tmp/multipartBody8032395764515951324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321883707,"filename":"image_04112025_22_06_15_1865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098406","file1":"1402098405","file0":"1402098403","file4":"1402098408","file5":"1402098409","file3":"1402098407"},"map_files_photo_id_array":[{"photo_id":"1402098409","filename":"file5"},{"photo_id":"1402098406","filename":"file2"},{"photo_id":"1402098408","filename":"file4"},{"photo_id":"1402098405","filename":"file1"},{"photo_id":"1402098403","filename":"file0"},{"photo_id":"1402098407","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098407":["hashtag1","hashtag2"]},{"1402098409":["hashtag1","hashtag2"]},{"1402098403":["hashtag1","hashtag2"]},{"1402098406":["hashtag1","hashtag2"]},{"1402098405":["hashtag1","hashtag2"]},{"1402098408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098407, 1402098409, 1402098403, 1402098406, 1402098405, 1402098408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811625242233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:44:22.166652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_25_10625.jpg', '/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_35_9599.jpg', '/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_45_9829.jpg', '/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_54_9963.jpg', '/home/pi/Desktop/images/02012026/02/56/image_02012026_02_57_05_10643.jpg', '/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_15_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_25_10625.jpg
/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_35_9599.jpg
/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_45_9829.jpg
/home/pi/Desktop/images/02012026/02/56/image_02012026_02_56_54_9963.jpg
/home/pi/Desktop/images/02012026/02/56/image_02012026_02_57_05_10643.jpg
/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_15_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098419","1402098413","1402098421","1402098415","1402098423","1402098417"],"photo_ids_order":["1402098413","1402098415","1402098417","1402098419","1402098421","1402098423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2c39922d3821199c2e2fd7d1949f7db0.jpg","text":"TemporaryFile(/tmp/multipartBody134543937244664508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321922773,"filename":"image_02012026_02_56_54_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/2/081bfae252556fd884766171352b20a2.jpg","text":"TemporaryFile(/tmp/multipartBody5867101534982301045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321922773,"filename":"image_02012026_02_56_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/2/e89e39c370c3d9c3b5db4015be79faf5.jpg","text":"TemporaryFile(/tmp/multipartBody3749485075693689182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321922773,"filename":"image_02012026_02_57_05_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/2/32a9c6ad347775c8163a582bb19ce9bd.jpg","text":"TemporaryFile(/tmp/multipartBody2402416269556761805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321922773,"filename":"image_02012026_02_56_35_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/2/c1414cf1553ca71ebf784313cc4ae07e.jpg","text":"TemporaryFile(/tmp/multipartBody6793531595121114256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321922773,"filename":"image_02012026_02_57_15_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/2/804af2320e302ad6b6eb4d1330d27b82.jpg","text":"TemporaryFile(/tmp/multipartBody5189563811462658036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321922773,"filename":"image_02012026_02_56_45_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098417","file1":"1402098415","file0":"1402098413","file4":"1402098421","file5":"1402098423","file3":"1402098419"},"map_files_photo_id_array":[{"photo_id":"1402098423","filename":"file5"},{"photo_id":"1402098417","filename":"file2"},{"photo_id":"1402098421","filename":"file4"},{"photo_id":"1402098415","filename":"file1"},{"photo_id":"1402098413","filename":"file0"},{"photo_id":"1402098419","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098419":["hashtag1","hashtag2"]},{"1402098413":["hashtag1","hashtag2"]},{"1402098421":["hashtag1","hashtag2"]},{"1402098415":["hashtag1","hashtag2"]},{"1402098423":["hashtag1","hashtag2"]},{"1402098417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098419, 1402098413, 1402098421, 1402098415, 1402098423, 1402098417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82148766517639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:45:02.915194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_25_9819.jpg', '/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_35_10723.jpg', '/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_45_9664.jpg', '/home/pi/Desktop/images/02012026/02/57/image_02012026_02_58_04_9783.jpg', '/home/pi/Desktop/images/02012026/02/58/image_02012026_02_58_34_9798.jpg', '/home/pi/Desktop/images/02012026/02/58/image_02012026_02_58_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_25_9819.jpg
/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_35_10723.jpg
/home/pi/Desktop/images/02012026/02/57/image_02012026_02_57_45_9664.jpg
/home/pi/Desktop/images/02012026/02/57/image_02012026_02_58_04_9783.jpg
/home/pi/Desktop/images/02012026/02/58/image_02012026_02_58_34_9798.jpg
/home/pi/Desktop/images/02012026/02/58/image_02012026_02_58_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":["1402098431","1402098425","1402098427","1402098426","1402098429","1402098428"],"photo_ids_order":["1402098425","1402098426","1402098427","1402098428","1402098429","1402098431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53c9aeed71567167024bc73656b96488.jpg","text":"TemporaryFile(/tmp/multipartBody6612868418046400601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321963566,"filename":"image_02012026_02_58_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/2/95313bed35eaea34a6db9de12370309c.jpg","text":"TemporaryFile(/tmp/multipartBody1567848165772093571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321963566,"filename":"image_02012026_02_57_25_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/2/636bf783684820899ea6a4a2036d4a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4771204826538961288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321963566,"filename":"image_02012026_02_57_45_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/2/ad598bffe3cf4530b1b0237e710140f3.jpg","text":"TemporaryFile(/tmp/multipartBody8712981986054869218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321963566,"filename":"image_02012026_02_57_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/2/27c15172092eba23a3cc82b034688ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7986535604999210990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321963566,"filename":"image_02012026_02_58_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/2/c1001d9932e3d3f97a456a64f9ad8c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5783385952959927645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767321963566,"filename":"image_02012026_02_58_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098427","file1":"1402098426","file0":"1402098425","file4":"1402098429","file5":"1402098431","file3":"1402098428"},"map_files_photo_id_array":[{"photo_id":"1402098431","filename":"file5"},{"photo_id":"1402098427","filename":"file2"},{"photo_id":"1402098429","filename":"file4"},{"photo_id":"1402098426","filename":"file1"},{"photo_id":"1402098425","filename":"file0"},{"photo_id":"1402098428","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098431":["hashtag1","hashtag2"]},{"1402098425":["hashtag1","hashtag2"]},{"1402098427":["hashtag1","hashtag2"]},{"1402098426":["hashtag1","hashtag2"]},{"1402098429":["hashtag1","hashtag2"]},{"1402098428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098431, 1402098425, 1402098427, 1402098426, 1402098429, 1402098428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3300256729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:45:42.202126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_47_1626.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_50_1933.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_52_1718.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_54_1637.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_55_1628.jpg', '/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_57_1878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_47_1626.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_50_1933.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_52_1718.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_54_1637.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_55_1628.jpg
/home/pi/Desktop/images/04112025/22/06/image_04112025_22_06_57_1878.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":["1402098439","1402098442","1402098436","1402098441","1402098438","1402098440"],"photo_ids_order":["1402098436","1402098438","1402098439","1402098440","1402098441","1402098442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/74d1f6090414886c75d9e4a3cb8af8dc.jpg","text":"TemporaryFile(/tmp/multipartBody8162210520887637452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322004091,"filename":"image_04112025_22_06_52_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/2/567d057cf35a711c9d9f95149e3a3e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5666442120206926423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322004091,"filename":"image_04112025_22_06_57_1878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b31ab65201e97381345a7f571e6edd8.jpg","text":"TemporaryFile(/tmp/multipartBody7270034797878655410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322004091,"filename":"image_04112025_22_06_47_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/2/2d09421c8dc87250101ab5fd910f9aef.jpg","text":"TemporaryFile(/tmp/multipartBody6417598756728085687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322004091,"filename":"image_04112025_22_06_55_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/2/34bbb5b47376d772d9940e5781dbf08c.jpg","text":"TemporaryFile(/tmp/multipartBody8449509135725831484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322004091,"filename":"image_04112025_22_06_50_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/2/13884cc4a625fd8d3d72884dc093501b.jpg","text":"TemporaryFile(/tmp/multipartBody1639996583879829300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322004091,"filename":"image_04112025_22_06_54_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098439","file1":"1402098438","file0":"1402098436","file4":"1402098441","file5":"1402098442","file3":"1402098440"},"map_files_photo_id_array":[{"photo_id":"1402098442","filename":"file5"},{"photo_id":"1402098439","filename":"file2"},{"photo_id":"1402098441","filename":"file4"},{"photo_id":"1402098438","filename":"file1"},{"photo_id":"1402098436","filename":"file0"},{"photo_id":"1402098440","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098439":["hashtag1","hashtag2"]},{"1402098442":["hashtag1","hashtag2"]},{"1402098436":["hashtag1","hashtag2"]},{"1402098441":["hashtag1","hashtag2"]},{"1402098438":["hashtag1","hashtag2"]},{"1402098440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098439, 1402098442, 1402098436, 1402098441, 1402098438, 1402098440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13333082199097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:46:32.371639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_06_1653.jpg', '/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_09_1620.jpg', '/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_12_1646.jpg', '/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_54_38508.jpg', '/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_57_3003.jpg', '/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_59_1913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_06_1653.jpg
/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_09_1620.jpg
/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_12_1646.jpg
/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_54_38508.jpg
/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_57_3003.jpg
/home/pi/Desktop/images/04112025/22/07/image_04112025_22_07_59_1913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098451","1402098454","1402098453","1402098447","1402098455","1402098449"],"photo_ids_order":["1402098447","1402098449","1402098451","1402098453","1402098454","1402098455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8fde4a658fa0b5deb0ff2a76c5921d79.jpg","text":"TemporaryFile(/tmp/multipartBody1278845082387148422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322054251,"filename":"image_04112025_22_07_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/2/9a5e1b5f8454ccc57e0b6e2606e5d8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2876496311188600728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322054251,"filename":"image_04112025_22_07_57_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/322d915f71693234a80800cf80442aee.jpg","text":"TemporaryFile(/tmp/multipartBody2476687786452383558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322054251,"filename":"image_04112025_22_07_54_38508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9742574689e5ed1e6e8fee629e815c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7835040775374618349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322054251,"filename":"image_04112025_22_07_06_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/2/34e53671dbf404cd48448c2caf3a0292.jpg","text":"TemporaryFile(/tmp/multipartBody9116160196822061248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322054251,"filename":"image_04112025_22_07_59_1913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9b9ef4e97299c45a5156efc2b2c3cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7946195974159116317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322054251,"filename":"image_04112025_22_07_09_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098451","file1":"1402098449","file0":"1402098447","file4":"1402098454","file5":"1402098455","file3":"1402098453"},"map_files_photo_id_array":[{"photo_id":"1402098455","filename":"file5"},{"photo_id":"1402098451","filename":"file2"},{"photo_id":"1402098454","filename":"file4"},{"photo_id":"1402098449","filename":"file1"},{"photo_id":"1402098447","filename":"file0"},{"photo_id":"1402098453","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098451":["hashtag1","hashtag2"]},{"1402098454":["hashtag1","hashtag2"]},{"1402098453":["hashtag1","hashtag2"]},{"1402098447":["hashtag1","hashtag2"]},{"1402098455":["hashtag1","hashtag2"]},{"1402098449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098451, 1402098454, 1402098453, 1402098447, 1402098455, 1402098449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.737791299819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:47:11.918424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_04_1781.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_09_1517.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_11_1658.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_14_1497.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_24_1614.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_32_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_04_1781.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_09_1517.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_11_1658.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_14_1497.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_24_1614.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_32_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098458","1402098463","1402098456","1402098465","1402098459","1402098461"],"photo_ids_order":["1402098456","1402098458","1402098459","1402098461","1402098463","1402098465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c403b51e2cd03f93bf758b5452832872.jpg","text":"TemporaryFile(/tmp/multipartBody6150956004603903923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322093630,"filename":"image_04112025_22_08_09_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/2/3fa1b37ff3638c11b8926d9dadd769ca.jpg","text":"TemporaryFile(/tmp/multipartBody5284555778098031866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322093630,"filename":"image_04112025_22_08_24_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/2/5ed653f8d7410ad1a7be3ef3d351654f.jpg","text":"TemporaryFile(/tmp/multipartBody5778867351433847718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322093630,"filename":"image_04112025_22_08_04_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/2/d01b05589b7deceec08fa159c0f00c6b.jpg","text":"TemporaryFile(/tmp/multipartBody3860410803086981617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322093630,"filename":"image_04112025_22_08_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/2/40458d751f0cf5b05afc88c67fcd7e7f.jpg","text":"TemporaryFile(/tmp/multipartBody6589308022020538844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322093630,"filename":"image_04112025_22_08_11_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/2/29547768479b198084f0ad4d904db343.jpg","text":"TemporaryFile(/tmp/multipartBody6227212657340748700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322093630,"filename":"image_04112025_22_08_14_1497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098459","file1":"1402098458","file0":"1402098456","file4":"1402098463","file5":"1402098465","file3":"1402098461"},"map_files_photo_id_array":[{"photo_id":"1402098465","filename":"file5"},{"photo_id":"1402098459","filename":"file2"},{"photo_id":"1402098463","filename":"file4"},{"photo_id":"1402098458","filename":"file1"},{"photo_id":"1402098456","filename":"file0"},{"photo_id":"1402098461","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098458":["hashtag1","hashtag2"]},{"1402098463":["hashtag1","hashtag2"]},{"1402098456":["hashtag1","hashtag2"]},{"1402098465":["hashtag1","hashtag2"]},{"1402098459":["hashtag1","hashtag2"]},{"1402098461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098458, 1402098463, 1402098456, 1402098465, 1402098459, 1402098461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74570107460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:48:02.441038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/58/image_02012026_02_58_55_9643.jpg', '/home/pi/Desktop/images/02012026/02/58/image_02012026_02_59_04_9705.jpg', '/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_25_9661.jpg', '/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_35_9789.jpg', '/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_44_9848.jpg', '/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/58/image_02012026_02_58_55_9643.jpg
/home/pi/Desktop/images/02012026/02/58/image_02012026_02_59_04_9705.jpg
/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_25_9661.jpg
/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_35_9789.jpg
/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_44_9848.jpg
/home/pi/Desktop/images/02012026/02/59/image_02012026_02_59_55_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":["1402098475","1402098472","1402098469","1402098471","1402098470","1402098473"],"photo_ids_order":["1402098469","1402098470","1402098471","1402098472","1402098473","1402098475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e81a15bfa1920a5686ccecda380f70c.jpg","text":"TemporaryFile(/tmp/multipartBody5778454490129642796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322143089,"filename":"image_02012026_02_59_55_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/2/820e04aa9a6b9ed0b54cb9a657511466.jpg","text":"TemporaryFile(/tmp/multipartBody939573789337420893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322143089,"filename":"image_02012026_02_59_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/2/4cdbd22113e451e8989b67f274cabe6a.jpg","text":"TemporaryFile(/tmp/multipartBody8199041223317669697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322143089,"filename":"image_02012026_02_58_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/2/742878f74fb0059d1fb463c5589afab5.jpg","text":"TemporaryFile(/tmp/multipartBody6781775505992930167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322143089,"filename":"image_02012026_02_59_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/2/cc3d1587e1c667f5c82cbde7237407e9.jpg","text":"TemporaryFile(/tmp/multipartBody4396956386666690589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322143089,"filename":"image_02012026_02_59_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/2/797bbfc5d3032df942f74a398c8c75ad.jpg","text":"TemporaryFile(/tmp/multipartBody1960579538233056687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322143089,"filename":"image_02012026_02_59_44_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098471","file1":"1402098470","file0":"1402098469","file4":"1402098473","file5":"1402098475","file3":"1402098472"},"map_files_photo_id_array":[{"photo_id":"1402098475","filename":"file5"},{"photo_id":"1402098471","filename":"file2"},{"photo_id":"1402098473","filename":"file4"},{"photo_id":"1402098470","filename":"file1"},{"photo_id":"1402098469","filename":"file0"},{"photo_id":"1402098472","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098475":["hashtag1","hashtag2"]},{"1402098472":["hashtag1","hashtag2"]},{"1402098469":["hashtag1","hashtag2"]},{"1402098471":["hashtag1","hashtag2"]},{"1402098470":["hashtag1","hashtag2"]},{"1402098473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098475, 1402098472, 1402098469, 1402098471, 1402098470, 1402098473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7469379901886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:48:42.175338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_34_1770.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_37_1551.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_41_1686.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_42_1553.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_50_2663.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_53_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_34_1770.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_37_1551.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_41_1686.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_42_1553.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_50_2663.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_53_2648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6976344585418701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:49:03.362070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/02/59/image_02012026_03_00_05_9633.jpg', '/home/pi/Desktop/images/02012026/03/00/image_02012026_03_00_45_10610.jpg', '/home/pi/Desktop/images/02012026/03/00/image_02012026_03_00_55_9709.jpg', '/home/pi/Desktop/images/02012026/03/00/image_02012026_03_01_05_9728.jpg', '/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_14_9719.jpg', '/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_25_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/02/59/image_02012026_03_00_05_9633.jpg
/home/pi/Desktop/images/02012026/03/00/image_02012026_03_00_45_10610.jpg
/home/pi/Desktop/images/02012026/03/00/image_02012026_03_00_55_9709.jpg
/home/pi/Desktop/images/02012026/03/00/image_02012026_03_01_05_9728.jpg
/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_14_9719.jpg
/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_25_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":["1402098490","1402098487","1402098492","1402098486","1402098489","1402098488"],"photo_ids_order":["1402098486","1402098487","1402098488","1402098489","1402098490","1402098492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9d9dce78b4a4042c99dcbeaf0a274592.jpg","text":"TemporaryFile(/tmp/multipartBody6740707489620693966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322204131,"filename":"image_02012026_03_01_14_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/2/a10d53ae290fc11a9ce5adcb2f44a6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6256959603943676863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322204131,"filename":"image_02012026_03_00_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/2/3f01e3aef8592141a13267ff67b309cb.jpg","text":"TemporaryFile(/tmp/multipartBody6692129470587854246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322204131,"filename":"image_02012026_03_01_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/2/f3140e781b618e17ea32aa410383fc27.jpg","text":"TemporaryFile(/tmp/multipartBody5480098233491954604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322204131,"filename":"image_02012026_03_00_05_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/2/5db2ee19e5f04e55956525410374a4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4362652317061206549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322204131,"filename":"image_02012026_03_01_05_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/2/45b3f340e1720497ce352252bde91df6.jpg","text":"TemporaryFile(/tmp/multipartBody4892833161453615975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322204131,"filename":"image_02012026_03_00_55_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098488","file1":"1402098487","file0":"1402098486","file4":"1402098490","file5":"1402098492","file3":"1402098489"},"map_files_photo_id_array":[{"photo_id":"1402098492","filename":"file5"},{"photo_id":"1402098488","filename":"file2"},{"photo_id":"1402098490","filename":"file4"},{"photo_id":"1402098487","filename":"file1"},{"photo_id":"1402098486","filename":"file0"},{"photo_id":"1402098489","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098490":["hashtag1","hashtag2"]},{"1402098487":["hashtag1","hashtag2"]},{"1402098492":["hashtag1","hashtag2"]},{"1402098486":["hashtag1","hashtag2"]},{"1402098489":["hashtag1","hashtag2"]},{"1402098488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098490, 1402098487, 1402098492, 1402098486, 1402098489, 1402098488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75127816200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:49:42.396130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_34_1770.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_37_1551.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_41_1686.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_42_1553.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_50_2663.jpg', '/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_53_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_34_1770.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_37_1551.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_41_1686.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_42_1553.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_50_2663.jpg
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_53_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098503","1402098500","1402098502","1402098498","1402098504","1402098501"],"photo_ids_order":["1402098498","1402098500","1402098501","1402098502","1402098503","1402098504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6fce7896fdbf5e037bc0a1078c75b60d.jpg","text":"TemporaryFile(/tmp/multipartBody4107967000277255437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322244072,"filename":"image_04112025_22_08_50_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/2/f2a24a679dc3f9369bdcc06f994c917c.jpg","text":"TemporaryFile(/tmp/multipartBody3717376164662264927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322244072,"filename":"image_04112025_22_08_37_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/2/bd9ec4cd54794e6c9bf0e436dea67b48.jpg","text":"TemporaryFile(/tmp/multipartBody7946977957834479786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322244072,"filename":"image_04112025_22_08_42_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/2/fe93665cd72815d757f1002db0f43cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5640998689370990924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322244072,"filename":"image_04112025_22_08_34_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/2/af24280835fb78e517beca554b1356ea.jpg","text":"TemporaryFile(/tmp/multipartBody6966062019288788675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322244072,"filename":"image_04112025_22_08_53_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/2/ebe2833800c923398a676dd558ea0b69.jpg","text":"TemporaryFile(/tmp/multipartBody7360597914081123866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322244072,"filename":"image_04112025_22_08_41_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098501","file1":"1402098500","file0":"1402098498","file4":"1402098503","file5":"1402098504","file3":"1402098502"},"map_files_photo_id_array":[{"photo_id":"1402098504","filename":"file5"},{"photo_id":"1402098501","filename":"file2"},{"photo_id":"1402098503","filename":"file4"},{"photo_id":"1402098500","filename":"file1"},{"photo_id":"1402098498","filename":"file0"},{"photo_id":"1402098502","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098503":["hashtag1","hashtag2"]},{"1402098500":["hashtag1","hashtag2"]},{"1402098502":["hashtag1","hashtag2"]},{"1402098498":["hashtag1","hashtag2"]},{"1402098504":["hashtag1","hashtag2"]},{"1402098501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098503, 1402098500, 1402098502, 1402098498, 1402098504, 1402098501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.374422550201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:50:22.618965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_35_9758.jpg', '/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_45_9726.jpg', '/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_55_10650.jpg', '/home/pi/Desktop/images/02012026/03/01/image_02012026_03_02_05_9682.jpg', '/home/pi/Desktop/images/02012026/03/02/image_02012026_03_02_15_9680.jpg', '/home/pi/Desktop/images/02012026/03/02/image_02012026_03_02_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_35_9758.jpg
/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_45_9726.jpg
/home/pi/Desktop/images/02012026/03/01/image_02012026_03_01_55_10650.jpg
/home/pi/Desktop/images/02012026/03/01/image_02012026_03_02_05_9682.jpg
/home/pi/Desktop/images/02012026/03/02/image_02012026_03_02_15_9680.jpg
/home/pi/Desktop/images/02012026/03/02/image_02012026_03_02_45_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":["1402098515","1402098509","1402098506","1402098511","1402098513","1402098507"],"photo_ids_order":["1402098506","1402098507","1402098509","1402098511","1402098513","1402098515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8252a9c3eabc278f33cc09bf421e25e4.jpg","text":"TemporaryFile(/tmp/multipartBody6391326453498074196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322283235,"filename":"image_02012026_03_02_45_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/2/4929d16889996bf7c78c704384e9898d.jpg","text":"TemporaryFile(/tmp/multipartBody2401253496439429490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322283235,"filename":"image_02012026_03_01_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/2/1f24231973e3996e8e43369e885749eb.jpg","text":"TemporaryFile(/tmp/multipartBody3512097122898987495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322283235,"filename":"image_02012026_03_01_35_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/2/49e7962e204343497e4248e382e95224.jpg","text":"TemporaryFile(/tmp/multipartBody4519829320420867135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322283235,"filename":"image_02012026_03_02_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/2/53f6acb8ddf4854ab5543c05a31147e2.jpg","text":"TemporaryFile(/tmp/multipartBody5058709883199068446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322283235,"filename":"image_02012026_03_02_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/2/fdea07de01c9109029ece9fef1d14737.jpg","text":"TemporaryFile(/tmp/multipartBody7469062007325136743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322283235,"filename":"image_02012026_03_01_45_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098509","file1":"1402098507","file0":"1402098506","file4":"1402098513","file5":"1402098515","file3":"1402098511"},"map_files_photo_id_array":[{"photo_id":"1402098515","filename":"file5"},{"photo_id":"1402098509","filename":"file2"},{"photo_id":"1402098513","filename":"file4"},{"photo_id":"1402098507","filename":"file1"},{"photo_id":"1402098506","filename":"file0"},{"photo_id":"1402098511","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098515":["hashtag1","hashtag2"]},{"1402098509":["hashtag1","hashtag2"]},{"1402098506":["hashtag1","hashtag2"]},{"1402098511":["hashtag1","hashtag2"]},{"1402098513":["hashtag1","hashtag2"]},{"1402098507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098515, 1402098509, 1402098506, 1402098511, 1402098513, 1402098507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05422592163086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:51:03.530146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/02/image_02012026_03_02_55_10647.jpg', '/home/pi/Desktop/images/02012026/03/02/image_02012026_03_03_05_9906.jpg', '/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_15_9839.jpg', '/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_25_9815.jpg', '/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_35_9843.jpg', '/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/02/image_02012026_03_02_55_10647.jpg
/home/pi/Desktop/images/02012026/03/02/image_02012026_03_03_05_9906.jpg
/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_15_9839.jpg
/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_25_9815.jpg
/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_35_9843.jpg
/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_44_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":["1402098521","1402098518","1402098520","1402098523","1402098517","1402098519"],"photo_ids_order":["1402098517","1402098518","1402098519","1402098520","1402098521","1402098523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b09e0f57e9e67221f6e7272ec899d21b.jpg","text":"TemporaryFile(/tmp/multipartBody3106621432255467456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322324182,"filename":"image_02012026_03_03_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/2/abad2b10282a1e57dfe5b25c6ff67349.jpg","text":"TemporaryFile(/tmp/multipartBody6592352776613683211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322324182,"filename":"image_02012026_03_03_05_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/2/637e50f25ac6ad5b8b5a19d95eb54dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4964057803240023787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322324182,"filename":"image_02012026_03_03_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/2/a978c3f569d9a9ec3c1b12d3279fcb83.jpg","text":"TemporaryFile(/tmp/multipartBody8851304850827144339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322324182,"filename":"image_02012026_03_03_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/2/b2f4b33af6bd79bde165c79779470c64.jpg","text":"TemporaryFile(/tmp/multipartBody7840530642601493365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322324182,"filename":"image_02012026_03_02_55_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/2/ad1405b7b7c45a57e492b7dd7d959de4.jpg","text":"TemporaryFile(/tmp/multipartBody941910167295009693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322324182,"filename":"image_02012026_03_03_15_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098519","file1":"1402098518","file0":"1402098517","file4":"1402098521","file5":"1402098523","file3":"1402098520"},"map_files_photo_id_array":[{"photo_id":"1402098523","filename":"file5"},{"photo_id":"1402098519","filename":"file2"},{"photo_id":"1402098521","filename":"file4"},{"photo_id":"1402098518","filename":"file1"},{"photo_id":"1402098517","filename":"file0"},{"photo_id":"1402098520","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098521":["hashtag1","hashtag2"]},{"1402098518":["hashtag1","hashtag2"]},{"1402098520":["hashtag1","hashtag2"]},{"1402098523":["hashtag1","hashtag2"]},{"1402098517":["hashtag1","hashtag2"]},{"1402098519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098521, 1402098518, 1402098520, 1402098523, 1402098517, 1402098519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4903461933136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:51:42.795536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_56_3684.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_02_2542.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_12_10034.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_17_1616.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_19_1748.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_26_5409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/08/image_04112025_22_08_56_3684.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_02_2542.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_12_10034.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_17_1616.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_19_1748.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_26_5409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098530","1402098532","1402098531","1402098534","1402098528","1402098533"],"photo_ids_order":["1402098528","1402098530","1402098531","1402098532","1402098533","1402098534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1abf32f5084f8eba95135f5f7ecb069c.jpg","text":"TemporaryFile(/tmp/multipartBody2762139802662862848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322364634,"filename":"image_04112025_22_09_02_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/2/744b740e466adba17bba337da6172011.jpg","text":"TemporaryFile(/tmp/multipartBody7214562144561036002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322364634,"filename":"image_04112025_22_09_17_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/2/327d46e8be8e74e4d5b4dc181fc75fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6874035783537915688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322364634,"filename":"image_04112025_22_09_12_10034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/240571f2554cc40247529a6f493e828c.jpg","text":"TemporaryFile(/tmp/multipartBody5196694943361169736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322364634,"filename":"image_04112025_22_09_26_5409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88a4291f2f87cbf0b22424b29603a69b.jpg","text":"TemporaryFile(/tmp/multipartBody8451747692615309539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322364634,"filename":"image_04112025_22_08_56_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/2/d22b20b72323d6c2c0c3009c55d41785.jpg","text":"TemporaryFile(/tmp/multipartBody3626926623398446855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322364634,"filename":"image_04112025_22_09_19_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098531","file1":"1402098530","file0":"1402098528","file4":"1402098533","file5":"1402098534","file3":"1402098532"},"map_files_photo_id_array":[{"photo_id":"1402098534","filename":"file5"},{"photo_id":"1402098531","filename":"file2"},{"photo_id":"1402098533","filename":"file4"},{"photo_id":"1402098530","filename":"file1"},{"photo_id":"1402098528","filename":"file0"},{"photo_id":"1402098532","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098530":["hashtag1","hashtag2"]},{"1402098532":["hashtag1","hashtag2"]},{"1402098531":["hashtag1","hashtag2"]},{"1402098534":["hashtag1","hashtag2"]},{"1402098528":["hashtag1","hashtag2"]},{"1402098533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098530, 1402098532, 1402098531, 1402098534, 1402098528, 1402098533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50896191596985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:52:22.003165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_55_10602.jpg', '/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_15_10656.jpg', '/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_25_9782.jpg', '/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_35_9572.jpg', '/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_45_10671.jpg', '/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_55_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/03/image_02012026_03_03_55_10602.jpg
/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_15_10656.jpg
/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_25_9782.jpg
/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_35_9572.jpg
/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_45_10671.jpg
/home/pi/Desktop/images/02012026/03/04/image_02012026_03_04_55_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":["1402098542","1402098544","1402098535","1402098540","1402098537","1402098546"],"photo_ids_order":["1402098535","1402098537","1402098540","1402098542","1402098544","1402098546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7503d0b669a4e2d402406af2424c9826.jpg","text":"TemporaryFile(/tmp/multipartBody2782453630118456769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322402620,"filename":"image_02012026_03_04_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/2/acc1ec185174ecdf7e67f089602c48ca.jpg","text":"TemporaryFile(/tmp/multipartBody8110660534802710801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322402620,"filename":"image_02012026_03_04_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/2/afe83e04e26cf523b1a8ac987f1ddc0f.jpg","text":"TemporaryFile(/tmp/multipartBody9059133145642781371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322402620,"filename":"image_02012026_03_03_55_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/2/0b9aa546fe087df0037a757837a71be9.jpg","text":"TemporaryFile(/tmp/multipartBody6903449459375403826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322402620,"filename":"image_02012026_03_04_25_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/2/db78c6e066a2fb5a3100ca35d5c3ac01.jpg","text":"TemporaryFile(/tmp/multipartBody3149755467087127875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322402620,"filename":"image_02012026_03_04_15_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/2/3394114a5272bfba4dc2d870231a8cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3485665167637381323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322402620,"filename":"image_02012026_03_04_55_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098540","file1":"1402098537","file0":"1402098535","file4":"1402098544","file5":"1402098546","file3":"1402098542"},"map_files_photo_id_array":[{"photo_id":"1402098546","filename":"file5"},{"photo_id":"1402098540","filename":"file2"},{"photo_id":"1402098544","filename":"file4"},{"photo_id":"1402098537","filename":"file1"},{"photo_id":"1402098535","filename":"file0"},{"photo_id":"1402098542","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098542":["hashtag1","hashtag2"]},{"1402098544":["hashtag1","hashtag2"]},{"1402098535":["hashtag1","hashtag2"]},{"1402098540":["hashtag1","hashtag2"]},{"1402098537":["hashtag1","hashtag2"]},{"1402098546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098542, 1402098544, 1402098535, 1402098540, 1402098537, 1402098546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67516851425171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:53:02.888866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/04/image_02012026_03_05_05_9564.jpg', '/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_15_10614.jpg', '/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_25_9757.jpg', '/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_35_9700.jpg', '/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_44_9726.jpg', '/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_55_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/04/image_02012026_03_05_05_9564.jpg
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_15_10614.jpg
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_25_9757.jpg
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_35_9700.jpg
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_44_9726.jpg
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_05_55_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":["1402098550","1402098547","1402098549","1402098552","1402098554","1402098548"],"photo_ids_order":["1402098547","1402098548","1402098549","1402098550","1402098552","1402098554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26275d6cabed85726a4f2ae670f09a1a.jpg","text":"TemporaryFile(/tmp/multipartBody5018579935907944492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322443598,"filename":"image_02012026_03_05_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/2/1f1a934057872c46b35d0d9585591a28.jpg","text":"TemporaryFile(/tmp/multipartBody2678101724656756901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322443598,"filename":"image_02012026_03_05_05_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/2/e98d96916716c73c9f407b84066dd22a.jpg","text":"TemporaryFile(/tmp/multipartBody6778308723971173089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322443598,"filename":"image_02012026_03_05_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/2/7f1d4ec8589d79eabdc7834a1c36ce24.jpg","text":"TemporaryFile(/tmp/multipartBody2790958498344767278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322443598,"filename":"image_02012026_03_05_44_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/2/28adb6ae8c063434aef1bfcdda525128.jpg","text":"TemporaryFile(/tmp/multipartBody7555508689725834380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322443598,"filename":"image_02012026_03_05_55_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/2/986beaffc9a9d4fa5b6fdb38a2744ab9.jpg","text":"TemporaryFile(/tmp/multipartBody205422551819358075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322443598,"filename":"image_02012026_03_05_15_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098549","file1":"1402098548","file0":"1402098547","file4":"1402098552","file5":"1402098554","file3":"1402098550"},"map_files_photo_id_array":[{"photo_id":"1402098554","filename":"file5"},{"photo_id":"1402098549","filename":"file2"},{"photo_id":"1402098552","filename":"file4"},{"photo_id":"1402098548","filename":"file1"},{"photo_id":"1402098547","filename":"file0"},{"photo_id":"1402098550","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098550":["hashtag1","hashtag2"]},{"1402098547":["hashtag1","hashtag2"]},{"1402098549":["hashtag1","hashtag2"]},{"1402098552":["hashtag1","hashtag2"]},{"1402098554":["hashtag1","hashtag2"]},{"1402098548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098550, 1402098547, 1402098549, 1402098552, 1402098554, 1402098548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.864235639572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:53:42.150251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_46_20745.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_50_1579.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_53_1648.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_55_1744.jpg', '/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_57_2392.jpg', '/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_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/22/09/image_04112025_22_09_46_20745.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_50_1579.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_53_1648.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_55_1744.jpg
/home/pi/Desktop/images/04112025/22/09/image_04112025_22_09_57_2392.jpg
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_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":["1402098562","1402098559","1402098561","1402098558","1402098563","1402098560"],"photo_ids_order":["1402098558","1402098559","1402098560","1402098561","1402098562","1402098563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e687c2d0cbf86f3a0eee50f9ebfa967.jpg","text":"TemporaryFile(/tmp/multipartBody6232450053106057950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322483952,"filename":"image_04112025_22_09_57_2392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1dab1a1ff6b5bc7a6bca2e139a12fca5.jpg","text":"TemporaryFile(/tmp/multipartBody9062614815627862520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322483952,"filename":"image_04112025_22_09_50_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/2/76578c00f951935c9d23e82b76f3e009.jpg","text":"TemporaryFile(/tmp/multipartBody5949360771783472294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322483952,"filename":"image_04112025_22_09_55_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/2/c7c462c932eef58fdd773122465c968d.jpg","text":"TemporaryFile(/tmp/multipartBody7041496338796072405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322483952,"filename":"image_04112025_22_09_46_20745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3a49baf4362d7009d0552b4bb616d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4971533234502206414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322483952,"filename":"image_04112025_22_11_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/2/2970b790cf54dd9cfc23d7b7d98e8b03.jpg","text":"TemporaryFile(/tmp/multipartBody49123743174769235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322483952,"filename":"image_04112025_22_09_53_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098560","file1":"1402098559","file0":"1402098558","file4":"1402098562","file5":"1402098563","file3":"1402098561"},"map_files_photo_id_array":[{"photo_id":"1402098563","filename":"file5"},{"photo_id":"1402098560","filename":"file2"},{"photo_id":"1402098562","filename":"file4"},{"photo_id":"1402098559","filename":"file1"},{"photo_id":"1402098558","filename":"file0"},{"photo_id":"1402098561","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098562":["hashtag1","hashtag2"]},{"1402098559":["hashtag1","hashtag2"]},{"1402098561":["hashtag1","hashtag2"]},{"1402098558":["hashtag1","hashtag2"]},{"1402098563":["hashtag1","hashtag2"]},{"1402098560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098562, 1402098559, 1402098561, 1402098558, 1402098563, 1402098560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.408838510513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 03:54:22.311382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/05/image_02012026_03_06_05_9760.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_15_9706.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_25_10459.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_35_9666.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_45_10554.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_06_05_9760.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_15_9706.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_25_10459.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_35_9666.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_45_10554.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_55_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5384774208068848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:54:32.326226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_25_3674.jpg', '/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_34_3694.jpg', '/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_41_6219.jpg', '/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_49_6417.jpg', '/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_50_1598.jpg', '/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_55_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_25_3674.jpg
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_34_3694.jpg
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_41_6219.jpg
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_49_6417.jpg
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_50_1598.jpg
/home/pi/Desktop/images/04112025/22/11/image_04112025_22_11_55_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098580","1402098579","1402098573","1402098576","1402098570","1402098578"],"photo_ids_order":["1402098570","1402098573","1402098576","1402098578","1402098579","1402098580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8cc476bd09e53a4e4292b5c22006563.jpg","text":"TemporaryFile(/tmp/multipartBody6222192444589577437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322534161,"filename":"image_04112025_22_11_55_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/2/b5aeed0f8e43015ffca81626513d2e29.jpg","text":"TemporaryFile(/tmp/multipartBody1519275210882411179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322534161,"filename":"image_04112025_22_11_50_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/2/4529cfb5d326c4bb6b2c9eff50552f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7939316496610060541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322534161,"filename":"image_04112025_22_11_34_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/2/644e1c12ef5352998223ca8554646760.jpg","text":"TemporaryFile(/tmp/multipartBody7095999570608117618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322534161,"filename":"image_04112025_22_11_41_6219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf33ee4acfe7d6fd1231210cd2eda174.jpg","text":"TemporaryFile(/tmp/multipartBody1767496863238446685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322534161,"filename":"image_04112025_22_11_25_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/2/e6a52a52041da9e52d885dd8391eef13.jpg","text":"TemporaryFile(/tmp/multipartBody3524464530354952484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322534161,"filename":"image_04112025_22_11_49_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098576","file1":"1402098573","file0":"1402098570","file4":"1402098579","file5":"1402098580","file3":"1402098578"},"map_files_photo_id_array":[{"photo_id":"1402098580","filename":"file5"},{"photo_id":"1402098576","filename":"file2"},{"photo_id":"1402098579","filename":"file4"},{"photo_id":"1402098573","filename":"file1"},{"photo_id":"1402098570","filename":"file0"},{"photo_id":"1402098578","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098580":["hashtag1","hashtag2"]},{"1402098579":["hashtag1","hashtag2"]},{"1402098573":["hashtag1","hashtag2"]},{"1402098576":["hashtag1","hashtag2"]},{"1402098570":["hashtag1","hashtag2"]},{"1402098578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098580, 1402098579, 1402098573, 1402098576, 1402098570, 1402098578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17405962944031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:55:12.365698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_22_15746.jpg', '/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_24_2021.jpg', '/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_52_3048.jpg', '/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_53_1645.jpg', '/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_56_1607.jpg', '/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_58_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_22_15746.jpg
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_24_2021.jpg
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_52_3048.jpg
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_53_1645.jpg
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_56_1607.jpg
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_12_58_1707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098592","1402098583","1402098586","1402098588","1402098590","1402098584"],"photo_ids_order":["1402098583","1402098584","1402098586","1402098588","1402098590","1402098592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/48befdb28f1417bc781e626b0d27a3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4622588733694911482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322574080,"filename":"image_04112025_22_12_58_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/2/0efa45fc47579435e3458a250f2dd418.jpg","text":"TemporaryFile(/tmp/multipartBody5602361807784443605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322574080,"filename":"image_04112025_22_12_22_15746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ae9f90100469062a2edc96522621556.jpg","text":"TemporaryFile(/tmp/multipartBody3489455889955093764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322574080,"filename":"image_04112025_22_12_52_3048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5b1d57f3f230c93e16e936c3b2c2dd6.jpg","text":"TemporaryFile(/tmp/multipartBody5705545687267943773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322574080,"filename":"image_04112025_22_12_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/2/60a8347d634f8265cd2053c2c640afe9.jpg","text":"TemporaryFile(/tmp/multipartBody7752776009429053051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322574080,"filename":"image_04112025_22_12_56_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/2/7f71975708a73883f8fb0de4e7abcfbe.jpg","text":"TemporaryFile(/tmp/multipartBody3116988474096991358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322574080,"filename":"image_04112025_22_12_24_2021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098586","file1":"1402098584","file0":"1402098583","file4":"1402098590","file5":"1402098592","file3":"1402098588"},"map_files_photo_id_array":[{"photo_id":"1402098592","filename":"file5"},{"photo_id":"1402098586","filename":"file2"},{"photo_id":"1402098590","filename":"file4"},{"photo_id":"1402098584","filename":"file1"},{"photo_id":"1402098583","filename":"file0"},{"photo_id":"1402098588","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098592":["hashtag1","hashtag2"]},{"1402098583":["hashtag1","hashtag2"]},{"1402098586":["hashtag1","hashtag2"]},{"1402098588":["hashtag1","hashtag2"]},{"1402098590":["hashtag1","hashtag2"]},{"1402098584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098592, 1402098583, 1402098586, 1402098588, 1402098590, 1402098584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02533769607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:56:03.043276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/05/image_02012026_03_06_05_9760.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_15_9706.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_25_10459.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_35_9666.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_45_10554.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_06_05_9760.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_15_9706.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_25_10459.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_35_9666.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_45_10554.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_55_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5210497379302979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:56:12.671547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/12/image_04112025_22_13_00_1664.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_08_1535.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_12_1603.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_13_1830.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_20_6138.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_21_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/12/image_04112025_22_13_00_1664.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_08_1535.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_12_1603.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_13_1830.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_20_6138.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_21_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":["1402098608","1402098602","1402098597","1402098604","1402098606","1402098599"],"photo_ids_order":["1402098597","1402098599","1402098602","1402098604","1402098606","1402098608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2cc01377f1a22430ec19353d95fbfcc4.jpg","text":"TemporaryFile(/tmp/multipartBody4575891863330479115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322634409,"filename":"image_04112025_22_13_21_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/2/6f5a5db65cc92fd93505e342a5af0871.jpg","text":"TemporaryFile(/tmp/multipartBody2178416364171271291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322634409,"filename":"image_04112025_22_13_12_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/2/28dd2e655fc73afce6f04efcfe9106a7.jpg","text":"TemporaryFile(/tmp/multipartBody5342541738010647485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322634409,"filename":"image_04112025_22_13_00_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/2/2510215e52ea84239189d357376f14c9.jpg","text":"TemporaryFile(/tmp/multipartBody4124336709150931534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322634409,"filename":"image_04112025_22_13_13_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67be3dae6db23993bd8bed8e258837eb.jpg","text":"TemporaryFile(/tmp/multipartBody1601764480511520530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322634409,"filename":"image_04112025_22_13_20_6138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c5a093b7f213219346e9ac8e9d5f5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4803991805331235183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322634409,"filename":"image_04112025_22_13_08_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098602","file1":"1402098599","file0":"1402098597","file4":"1402098606","file5":"1402098608","file3":"1402098604"},"map_files_photo_id_array":[{"photo_id":"1402098608","filename":"file5"},{"photo_id":"1402098602","filename":"file2"},{"photo_id":"1402098606","filename":"file4"},{"photo_id":"1402098599","filename":"file1"},{"photo_id":"1402098597","filename":"file0"},{"photo_id":"1402098604","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098608":["hashtag1","hashtag2"]},{"1402098602":["hashtag1","hashtag2"]},{"1402098597":["hashtag1","hashtag2"]},{"1402098604":["hashtag1","hashtag2"]},{"1402098606":["hashtag1","hashtag2"]},{"1402098599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098608, 1402098602, 1402098597, 1402098604, 1402098606, 1402098599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22717356681824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:57:03.247629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/05/image_02012026_03_06_05_9760.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_15_9706.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_25_10459.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_35_9666.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_45_10554.jpg', '/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/05/image_02012026_03_06_05_9760.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_15_9706.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_25_10459.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_35_9666.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_45_10554.jpg
/home/pi/Desktop/images/02012026/03/06/image_02012026_03_06_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":["1402098611","1402098613","1402098616","1402098618","1402098612","1402098615"],"photo_ids_order":["1402098611","1402098612","1402098613","1402098615","1402098616","1402098618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed28381529e4f1cea474a7517b038103.jpg","text":"TemporaryFile(/tmp/multipartBody2901303498796910710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322683909,"filename":"image_02012026_03_06_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/2/b9bac09af8c7d76f22a2b4ea9e9c5a21.jpg","text":"TemporaryFile(/tmp/multipartBody8700028343374391864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322683909,"filename":"image_02012026_03_06_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/2/8599b0b522971a384152eb4844375d07.jpg","text":"TemporaryFile(/tmp/multipartBody6749038304001063421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322683909,"filename":"image_02012026_03_06_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/2/745cbecd7bf01cb719af8506423edd91.jpg","text":"TemporaryFile(/tmp/multipartBody6934916566542957239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322683909,"filename":"image_02012026_03_06_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/2/64d9523c971ccc687f8a5d5362cc7a64.jpg","text":"TemporaryFile(/tmp/multipartBody2172182474714924601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322683909,"filename":"image_02012026_03_06_15_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/2/3502ac998cfb2109d27383319ac6ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody7703816385179785310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322683909,"filename":"image_02012026_03_06_35_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098613","file1":"1402098612","file0":"1402098611","file4":"1402098616","file5":"1402098618","file3":"1402098615"},"map_files_photo_id_array":[{"photo_id":"1402098618","filename":"file5"},{"photo_id":"1402098613","filename":"file2"},{"photo_id":"1402098616","filename":"file4"},{"photo_id":"1402098612","filename":"file1"},{"photo_id":"1402098611","filename":"file0"},{"photo_id":"1402098615","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098611":["hashtag1","hashtag2"]},{"1402098613":["hashtag1","hashtag2"]},{"1402098616":["hashtag1","hashtag2"]},{"1402098618":["hashtag1","hashtag2"]},{"1402098612":["hashtag1","hashtag2"]},{"1402098615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098611, 1402098613, 1402098616, 1402098618, 1402098612, 1402098615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23939776420593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:57:42.509817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_25_1785.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_26_1753.jpg', '/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_58_1639.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_02_1765.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_04_1658.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_05_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/22/13/image_04112025_22_13_25_1785.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_26_1753.jpg
/home/pi/Desktop/images/04112025/22/13/image_04112025_22_13_58_1639.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_02_1765.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_04_1658.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_05_1780.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098629","1402098623","1402098625","1402098628","1402098627","1402098626"],"photo_ids_order":["1402098623","1402098625","1402098626","1402098627","1402098628","1402098629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82cbc88f3a8ab8659ab0b24e3276892f.jpg","text":"TemporaryFile(/tmp/multipartBody4870315008520967784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322724353,"filename":"image_04112025_22_14_05_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/2/a4c2b6a666ca16741b76c3ca5e9ad265.jpg","text":"TemporaryFile(/tmp/multipartBody2164255187238890054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322724353,"filename":"image_04112025_22_13_25_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/2/c29c237ff67c0afd122ac236ef215dda.jpg","text":"TemporaryFile(/tmp/multipartBody6099107505109913272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322724353,"filename":"image_04112025_22_13_26_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/2/d77eeb6ccb19a6371e7937bc6df9590b.jpg","text":"TemporaryFile(/tmp/multipartBody3886876649822161052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322724353,"filename":"image_04112025_22_14_04_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/2/2fb1f0547225300e53daf125bd4bc71e.jpg","text":"TemporaryFile(/tmp/multipartBody6908719234582824803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322724353,"filename":"image_04112025_22_14_02_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/2/108635c65708fa4df57f1a59e290e4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2298564394339855033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322724353,"filename":"image_04112025_22_13_58_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098626","file1":"1402098625","file0":"1402098623","file4":"1402098628","file5":"1402098629","file3":"1402098627"},"map_files_photo_id_array":[{"photo_id":"1402098629","filename":"file5"},{"photo_id":"1402098626","filename":"file2"},{"photo_id":"1402098628","filename":"file4"},{"photo_id":"1402098625","filename":"file1"},{"photo_id":"1402098623","filename":"file0"},{"photo_id":"1402098627","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402098629":["hashtag1","hashtag2"]},{"1402098623":["hashtag1","hashtag2"]},{"1402098625":["hashtag1","hashtag2"]},{"1402098628":["hashtag1","hashtag2"]},{"1402098627":["hashtag1","hashtag2"]},{"1402098626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402098629, 1402098623, 1402098625, 1402098628, 1402098627, 1402098626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22665810585022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 03:59:03.637248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/07/image_02012026_03_07_34_9679.jpg', '/home/pi/Desktop/images/02012026/03/07/image_02012026_03_07_55_9642.jpg', '/home/pi/Desktop/images/02012026/03/07/image_02012026_03_08_04_9642.jpg', '/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_15_10722.jpg', '/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_34_9636.jpg', '/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_45_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/07/image_02012026_03_07_34_9679.jpg
/home/pi/Desktop/images/02012026/03/07/image_02012026_03_07_55_9642.jpg
/home/pi/Desktop/images/02012026/03/07/image_02012026_03_08_04_9642.jpg
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_15_10722.jpg
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_34_9636.jpg
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_45_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402098815","1402098853","1402098922","1402098919","1402098888","1402098923"],"photo_ids_order":["1402098815","1402098853","1402098888","1402098919","1402098922","1402098923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5be12f6bb6daaabf35e7841b0109ea98.jpg","text":"TemporaryFile(/tmp/multipartBody1385913525820908934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322804475,"filename":"image_02012026_03_07_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/2/c8698825c2c548f4e52ac4ad60687ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4186443740901546090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322804475,"filename":"image_02012026_03_07_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/2/46c25279fdddbfc15a29d6d438406e72.jpg","text":"TemporaryFile(/tmp/multipartBody7944139643799811693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322804475,"filename":"image_02012026_03_08_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/2/d8354efd7ada0981e64203e6792014cd.jpg","text":"TemporaryFile(/tmp/multipartBody3535206889626730964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322804475,"filename":"image_02012026_03_08_15_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/2/8942f3b0aa672d5db414bca105d5d130.jpg","text":"TemporaryFile(/tmp/multipartBody5965145485738692225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322804475,"filename":"image_02012026_03_08_04_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/2/e4c23bd8de702d4fb87010ed4b0c1a46.jpg","text":"TemporaryFile(/tmp/multipartBody3848724392571516974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322804475,"filename":"image_02012026_03_08_45_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402098888","file1":"1402098853","file0":"1402098815","file4":"1402098922","file5":"1402098923","file3":"1402098919"},"map_files_photo_id_array":[{"photo_id":"1402098923","filename":"file5"},{"photo_id":"1402098888","filename":"file2"},{"photo_id":"1402098922","filename":"file4"},{"photo_id":"1402098853","filename":"file1"},{"photo_id":"1402098815","filename":"file0"},{"photo_id":"1402098919","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402098815":["hashtag1","hashtag2"]},{"1402098853":["hashtag1","hashtag2"]},{"1402098922":["hashtag1","hashtag2"]},{"1402098919":["hashtag1","hashtag2"]},{"1402098888":["hashtag1","hashtag2"]},{"1402098923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402098815, 1402098853, 1402098922, 1402098919, 1402098888, 1402098923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63047742843628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 03:59:42.814752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_07_1627.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_10_2987.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_12_1599.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_15_1676.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_17_1766.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_20_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_07_1627.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_10_2987.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_12_1599.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_15_1676.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_17_1766.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_20_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":["1402099042","1402099009","1402099039","1402099074","1402099070","1402099013"],"photo_ids_order":["1402099009","1402099013","1402099039","1402099042","1402099070","1402099074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66a2891c508dc8a64a83841b3474a885.jpg","text":"TemporaryFile(/tmp/multipartBody8697724618855076140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322844640,"filename":"image_04112025_22_14_15_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/2/8551f6375fac40dfaf9ff5a3b3ee00f4.jpg","text":"TemporaryFile(/tmp/multipartBody2875074991615134374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322844640,"filename":"image_04112025_22_14_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/2/07399b161414450f0af32cd2dcd06dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2013653665786401250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322844640,"filename":"image_04112025_22_14_12_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/2/055cb031525189e373fa8d418589ad82.jpg","text":"TemporaryFile(/tmp/multipartBody8981382465097277908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322844640,"filename":"image_04112025_22_14_20_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/2/b65559050df742353da8745eb39d85aa.jpg","text":"TemporaryFile(/tmp/multipartBody1889761465235516707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322844640,"filename":"image_04112025_22_14_17_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/2/29310cce250fa12b7b8e44847f87febc.jpg","text":"TemporaryFile(/tmp/multipartBody6439819262223878076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322844640,"filename":"image_04112025_22_14_10_2987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402099039","file1":"1402099013","file0":"1402099009","file4":"1402099070","file5":"1402099074","file3":"1402099042"},"map_files_photo_id_array":[{"photo_id":"1402099074","filename":"file5"},{"photo_id":"1402099039","filename":"file2"},{"photo_id":"1402099070","filename":"file4"},{"photo_id":"1402099013","filename":"file1"},{"photo_id":"1402099009","filename":"file0"},{"photo_id":"1402099042","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402099042":["hashtag1","hashtag2"]},{"1402099009":["hashtag1","hashtag2"]},{"1402099039":["hashtag1","hashtag2"]},{"1402099074":["hashtag1","hashtag2"]},{"1402099070":["hashtag1","hashtag2"]},{"1402099013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402099042, 1402099009, 1402099039, 1402099074, 1402099070, 1402099013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.247300148010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:00:21.933270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_55_9689.jpg', '/home/pi/Desktop/images/02012026/03/08/image_02012026_03_09_04_9747.jpg', '/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_25_9582.jpg', '/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_34_9631.jpg', '/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_34_9795.jpg', '/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_55_9689.jpg
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_09_04_9747.jpg
/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_25_9582.jpg
/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_34_9631.jpg
/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_34_9795.jpg
/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_45_10665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5432913303375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:00:31.990955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_27_1562.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_29_1850.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_33_2685.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_40_3518.jpg', '/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_45_5459.jpg', '/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_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/22/14/image_04112025_22_14_27_1562.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_29_1850.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_33_2685.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_40_3518.jpg
/home/pi/Desktop/images/04112025/22/14/image_04112025_22_14_45_5459.jpg
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_06_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":["1402099282","1402099207","1402099321","1402099164","1402099125","1402099244"],"photo_ids_order":["1402099125","1402099164","1402099207","1402099244","1402099282","1402099321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a73fdfbed07e7037b06b89f669ea0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody3055436507111399665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322893803,"filename":"image_04112025_22_14_45_5459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/beee1109b5e3a5505ae038095797ac9a.jpg","text":"TemporaryFile(/tmp/multipartBody9127742117319981191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322893803,"filename":"image_04112025_22_14_33_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/2/219576fa26b9985b1e679012da5cd8f0.jpg","text":"TemporaryFile(/tmp/multipartBody100211698499723039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322893803,"filename":"image_04112025_22_16_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/2/bc417b0e2ac59cdf83453ac20fc64234.jpg","text":"TemporaryFile(/tmp/multipartBody4555013642415235258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322893803,"filename":"image_04112025_22_14_29_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/2/42a92f2ed36172a5378a6c525dcd8ece.jpg","text":"TemporaryFile(/tmp/multipartBody4652261741256257462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322893803,"filename":"image_04112025_22_14_27_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/2/aad88f175c64e745877f01320588b454.jpg","text":"TemporaryFile(/tmp/multipartBody3625854277358545831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322893803,"filename":"image_04112025_22_14_40_3518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402099207","file1":"1402099164","file0":"1402099125","file4":"1402099282","file5":"1402099321","file3":"1402099244"},"map_files_photo_id_array":[{"photo_id":"1402099321","filename":"file5"},{"photo_id":"1402099207","filename":"file2"},{"photo_id":"1402099282","filename":"file4"},{"photo_id":"1402099164","filename":"file1"},{"photo_id":"1402099125","filename":"file0"},{"photo_id":"1402099244","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402099282":["hashtag1","hashtag2"]},{"1402099207":["hashtag1","hashtag2"]},{"1402099321":["hashtag1","hashtag2"]},{"1402099164":["hashtag1","hashtag2"]},{"1402099125":["hashtag1","hashtag2"]},{"1402099244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402099282, 1402099207, 1402099321, 1402099164, 1402099125, 1402099244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.135276079177856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:01:12.132888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_10_3761.jpg', '/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_16_2760.jpg', '/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_19_3695.jpg', '/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_25_2633.jpg', '/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_28_3681.jpg', '/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_48_11683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_10_3761.jpg
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_16_2760.jpg
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_19_3695.jpg
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_25_2633.jpg
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_28_3681.jpg
/home/pi/Desktop/images/04112025/22/16/image_04112025_22_16_48_11683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402099648","1402099599","1402099527","1402099449","1402099562","1402099487"],"photo_ids_order":["1402099449","1402099487","1402099527","1402099562","1402099599","1402099648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b41953ff886e9023e79e86250a49fe9a.jpg","text":"TemporaryFile(/tmp/multipartBody1663345361444917862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322933840,"filename":"image_04112025_22_16_48_11683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c1b32cdf9456a2ffa113fc19058ecdb7.jpg","text":"TemporaryFile(/tmp/multipartBody3318245474037694278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322933840,"filename":"image_04112025_22_16_28_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/2/36e458e3dce2280efb298567f1d06d84.jpg","text":"TemporaryFile(/tmp/multipartBody2066956834971402284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322933840,"filename":"image_04112025_22_16_19_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/2/8e78d9f714da64a376573f7b8ebd608e.jpg","text":"TemporaryFile(/tmp/multipartBody5837608372236682412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322933840,"filename":"image_04112025_22_16_10_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/2/081e14cd37249e015e300ca47768ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody5651408150546676527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322933840,"filename":"image_04112025_22_16_25_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/2/5b22b4b53f6cc7d7c8341f79e7fe425b.jpg","text":"TemporaryFile(/tmp/multipartBody3956881413575928301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322933840,"filename":"image_04112025_22_16_16_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402099527","file1":"1402099487","file0":"1402099449","file4":"1402099599","file5":"1402099648","file3":"1402099562"},"map_files_photo_id_array":[{"photo_id":"1402099648","filename":"file5"},{"photo_id":"1402099527","filename":"file2"},{"photo_id":"1402099599","filename":"file4"},{"photo_id":"1402099487","filename":"file1"},{"photo_id":"1402099449","filename":"file0"},{"photo_id":"1402099562","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402099648":["hashtag1","hashtag2"]},{"1402099599":["hashtag1","hashtag2"]},{"1402099527":["hashtag1","hashtag2"]},{"1402099449":["hashtag1","hashtag2"]},{"1402099562":["hashtag1","hashtag2"]},{"1402099487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402099648, 1402099599, 1402099527, 1402099449, 1402099562, 1402099487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09479093551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:02:02.819012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_55_9689.jpg', '/home/pi/Desktop/images/02012026/03/08/image_02012026_03_09_04_9747.jpg', '/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_25_9582.jpg', '/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_34_9631.jpg', '/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_34_9795.jpg', '/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_08_55_9689.jpg
/home/pi/Desktop/images/02012026/03/08/image_02012026_03_09_04_9747.jpg
/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_25_9582.jpg
/home/pi/Desktop/images/02012026/03/09/image_02012026_03_09_34_9631.jpg
/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_34_9795.jpg
/home/pi/Desktop/images/02012026/03/10/image_02012026_03_10_45_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":["1402100064","1402100136","1402100180","1402100234","1402100272","1402100221"],"photo_ids_order":["1402100064","1402100136","1402100180","1402100221","1402100234","1402100272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1a1b10c64ebc7e8ec0811866fc45c553.jpg","text":"TemporaryFile(/tmp/multipartBody8279388519741277648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322983454,"filename":"image_02012026_03_08_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/2/0c0efddffa7a636640f90efa81c4de11.jpg","text":"TemporaryFile(/tmp/multipartBody1222149007469550567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322983454,"filename":"image_02012026_03_09_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/2/d9ddaf625cad67bb159b507c7e71c439.jpg","text":"TemporaryFile(/tmp/multipartBody4050748806065828219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322983454,"filename":"image_02012026_03_09_25_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/2/581e19623a1d25dfb20ada6f2fc94867.jpg","text":"TemporaryFile(/tmp/multipartBody5740780571985161410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322983454,"filename":"image_02012026_03_10_34_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/2/98f9ce1fe56c27d1539326101fcf804c.jpg","text":"TemporaryFile(/tmp/multipartBody4076229061421187542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322983454,"filename":"image_02012026_03_10_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/2/aefd9d003d2e560ae754ab90dbbde330.jpg","text":"TemporaryFile(/tmp/multipartBody1513181545003884018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767322983454,"filename":"image_02012026_03_09_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402100180","file1":"1402100136","file0":"1402100064","file4":"1402100234","file5":"1402100272","file3":"1402100221"},"map_files_photo_id_array":[{"photo_id":"1402100272","filename":"file5"},{"photo_id":"1402100180","filename":"file2"},{"photo_id":"1402100234","filename":"file4"},{"photo_id":"1402100136","filename":"file1"},{"photo_id":"1402100064","filename":"file0"},{"photo_id":"1402100221","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402100064":["hashtag1","hashtag2"]},{"1402100136":["hashtag1","hashtag2"]},{"1402100180":["hashtag1","hashtag2"]},{"1402100234":["hashtag1","hashtag2"]},{"1402100272":["hashtag1","hashtag2"]},{"1402100221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402100064, 1402100136, 1402100180, 1402100234, 1402100272, 1402100221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.180041790008545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:02:42.431685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_06_1811.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_08_1526.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_09_1596.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_11_1679.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_16_1795.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_18_1792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_06_1811.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_08_1526.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_09_1596.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_11_1679.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_16_1795.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_18_1792.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7127249240875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:03:03.270831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/10/image_02012026_03_11_05_9876.jpg', '/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_14_9800.jpg', '/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_25_10787.jpg', '/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_35_9618.jpg', '/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_45_9759.jpg', '/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_54_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/10/image_02012026_03_11_05_9876.jpg
/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_14_9800.jpg
/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_25_10787.jpg
/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_35_9618.jpg
/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_45_9759.jpg
/home/pi/Desktop/images/02012026/03/11/image_02012026_03_11_54_9869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101077","1402101035","1402100957","1402100885","1402100971","1402101156"],"photo_ids_order":["1402100885","1402100957","1402100971","1402101035","1402101077","1402101156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ec04878bafc29c9c50afdfac5755248.jpg","text":"TemporaryFile(/tmp/multipartBody3788427579800029438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323043934,"filename":"image_02012026_03_11_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/2/d66883c7681405e138b76fa8e01e831b.jpg","text":"TemporaryFile(/tmp/multipartBody7253735299288347553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323043934,"filename":"image_02012026_03_11_35_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/2/1d1076f6a3982ae80dfb7d42964b67bc.jpg","text":"TemporaryFile(/tmp/multipartBody5272263121219291135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323043934,"filename":"image_02012026_03_11_14_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/2/157e60d07fa003c5c09e716324092fa6.jpg","text":"TemporaryFile(/tmp/multipartBody8294709491306454227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323043934,"filename":"image_02012026_03_11_05_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/2/b2f41f9d8f80c2bee85d121f26f7bdb2.jpg","text":"TemporaryFile(/tmp/multipartBody6528425991472633025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323043934,"filename":"image_02012026_03_11_25_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/2/623666175c9fb6456950cb0dc117f63f.jpg","text":"TemporaryFile(/tmp/multipartBody231654898299031716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323043934,"filename":"image_02012026_03_11_54_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402100971","file1":"1402100957","file0":"1402100885","file4":"1402101077","file5":"1402101156","file3":"1402101035"},"map_files_photo_id_array":[{"photo_id":"1402101156","filename":"file5"},{"photo_id":"1402100971","filename":"file2"},{"photo_id":"1402101077","filename":"file4"},{"photo_id":"1402100957","filename":"file1"},{"photo_id":"1402100885","filename":"file0"},{"photo_id":"1402101035","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101077":["hashtag1","hashtag2"]},{"1402101035":["hashtag1","hashtag2"]},{"1402100957":["hashtag1","hashtag2"]},{"1402100885":["hashtag1","hashtag2"]},{"1402100971":["hashtag1","hashtag2"]},{"1402101156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101077, 1402101035, 1402100957, 1402100885, 1402100971, 1402101156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09184122085571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:03:42.590675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_06_1811.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_08_1526.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_09_1596.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_11_1679.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_16_1795.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_18_1792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_06_1811.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_08_1526.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_09_1596.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_11_1679.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_16_1795.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_18_1792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101303","1402101374","1402101305","1402101295","1402101349","1402101301"],"photo_ids_order":["1402101295","1402101301","1402101303","1402101305","1402101349","1402101374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c265b0ddd27fbfc8abd8f1f50c7efedd.jpg","text":"TemporaryFile(/tmp/multipartBody6787664737040120825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323084271,"filename":"image_04112025_22_17_09_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/2/f80fd8a3f833affeb49f3b8aad305fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7305405954303369435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323084271,"filename":"image_04112025_22_17_18_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/58457ac6a81ec81094fe7f751fdede0f.jpg","text":"TemporaryFile(/tmp/multipartBody4842935424263085631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323084271,"filename":"image_04112025_22_17_11_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/2/61163fa500275960beceb73e69f98cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6526049765484882286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323084271,"filename":"image_04112025_22_17_06_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/2/034dd7d69fc1f4c31b89bd861741f450.jpg","text":"TemporaryFile(/tmp/multipartBody8520523683173287418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323084271,"filename":"image_04112025_22_17_16_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/2/1749422d1c755576b2dd255c161e1d31.jpg","text":"TemporaryFile(/tmp/multipartBody4661945737123873265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323084271,"filename":"image_04112025_22_17_08_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101303","file1":"1402101301","file0":"1402101295","file4":"1402101349","file5":"1402101374","file3":"1402101305"},"map_files_photo_id_array":[{"photo_id":"1402101374","filename":"file5"},{"photo_id":"1402101303","filename":"file2"},{"photo_id":"1402101349","filename":"file4"},{"photo_id":"1402101301","filename":"file1"},{"photo_id":"1402101295","filename":"file0"},{"photo_id":"1402101305","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101303":["hashtag1","hashtag2"]},{"1402101374":["hashtag1","hashtag2"]},{"1402101305":["hashtag1","hashtag2"]},{"1402101295":["hashtag1","hashtag2"]},{"1402101349":["hashtag1","hashtag2"]},{"1402101301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101303, 1402101374, 1402101305, 1402101295, 1402101349, 1402101301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56865739822388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:04:22.746101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/11/image_02012026_03_12_05_10741.jpg', '/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_15_9712.jpg', '/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_24_9634.jpg', '/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_45_9744.jpg', '/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_54_9613.jpg', '/home/pi/Desktop/images/02012026/03/12/image_02012026_03_13_05_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/11/image_02012026_03_12_05_10741.jpg
/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_15_9712.jpg
/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_24_9634.jpg
/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_45_9744.jpg
/home/pi/Desktop/images/02012026/03/12/image_02012026_03_12_54_9613.jpg
/home/pi/Desktop/images/02012026/03/12/image_02012026_03_13_05_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101423","1402101426","1402101425","1402101428","1402101430","1402101433"],"photo_ids_order":["1402101423","1402101425","1402101426","1402101428","1402101430","1402101433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7249637f7c6ae87b2634e08bb3253202.jpg","text":"TemporaryFile(/tmp/multipartBody4808778251591583930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323123351,"filename":"image_02012026_03_12_05_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/2/d71c524984487293836bdece32614081.jpg","text":"TemporaryFile(/tmp/multipartBody5654117273943986501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323123351,"filename":"image_02012026_03_12_24_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/2/753ee6475f77fbc5b9e78f84ae588b30.jpg","text":"TemporaryFile(/tmp/multipartBody569557276188536162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323123351,"filename":"image_02012026_03_12_15_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/2/62163d1830b85c82c844c079bb8de50c.jpg","text":"TemporaryFile(/tmp/multipartBody8227391071881548685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323123351,"filename":"image_02012026_03_12_45_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/2/12656d5d5645cb4a9758e0a90987bca7.jpg","text":"TemporaryFile(/tmp/multipartBody6214433071424979395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323123351,"filename":"image_02012026_03_12_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/2/e8c6d03817b52b547acf3d54f4106897.jpg","text":"TemporaryFile(/tmp/multipartBody2515064389181657268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323123351,"filename":"image_02012026_03_13_05_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101426","file1":"1402101425","file0":"1402101423","file4":"1402101430","file5":"1402101433","file3":"1402101428"},"map_files_photo_id_array":[{"photo_id":"1402101433","filename":"file5"},{"photo_id":"1402101426","filename":"file2"},{"photo_id":"1402101430","filename":"file4"},{"photo_id":"1402101425","filename":"file1"},{"photo_id":"1402101423","filename":"file0"},{"photo_id":"1402101428","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101423":["hashtag1","hashtag2"]},{"1402101426":["hashtag1","hashtag2"]},{"1402101425":["hashtag1","hashtag2"]},{"1402101428":["hashtag1","hashtag2"]},{"1402101430":["hashtag1","hashtag2"]},{"1402101433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101423, 1402101426, 1402101425, 1402101428, 1402101430, 1402101433)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.45319890975952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:05:14.943059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_20_1570.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_21_1582.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_29_7803.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_32_1656.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_37_4506.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_38_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_20_1570.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_21_1582.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_29_7803.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_32_1656.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_37_4506.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_38_1759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101441","1402101443","1402101449","1402101440","1402101445","1402101447"],"photo_ids_order":["1402101440","1402101441","1402101443","1402101445","1402101447","1402101449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/33806a1c31037415ab57e7cac0a72289.jpg","text":"TemporaryFile(/tmp/multipartBody3382929723127393305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323176806,"filename":"image_04112025_22_17_21_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/2/5eda97b7806f2aa807733be0d54ffadb.jpg","text":"TemporaryFile(/tmp/multipartBody4564036147700310010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323176806,"filename":"image_04112025_22_17_29_7803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5892c38003efe40c5e3cbfc95df2c05c.jpg","text":"TemporaryFile(/tmp/multipartBody8935580086995149023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323176806,"filename":"image_04112025_22_17_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/2/069364104a0b5e9a447cf315a52e802a.jpg","text":"TemporaryFile(/tmp/multipartBody6945649675235819149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323176806,"filename":"image_04112025_22_17_20_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/2/b46174a45d4aab1fc3e3ffe6cd417b00.jpg","text":"TemporaryFile(/tmp/multipartBody7628260667105348973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323176806,"filename":"image_04112025_22_17_32_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/2/949aead8e1ccca12ed07bf2ab7863c69.jpg","text":"TemporaryFile(/tmp/multipartBody972701093170903781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323176806,"filename":"image_04112025_22_17_37_4506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101443","file1":"1402101441","file0":"1402101440","file4":"1402101447","file5":"1402101449","file3":"1402101445"},"map_files_photo_id_array":[{"photo_id":"1402101449","filename":"file5"},{"photo_id":"1402101443","filename":"file2"},{"photo_id":"1402101447","filename":"file4"},{"photo_id":"1402101441","filename":"file1"},{"photo_id":"1402101440","filename":"file0"},{"photo_id":"1402101445","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101441":["hashtag1","hashtag2"]},{"1402101443":["hashtag1","hashtag2"]},{"1402101449":["hashtag1","hashtag2"]},{"1402101440":["hashtag1","hashtag2"]},{"1402101445":["hashtag1","hashtag2"]},{"1402101447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101441, 1402101443, 1402101449, 1402101440, 1402101445, 1402101447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10504913330078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:06:02.485665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/13/image_02012026_03_13_15_9539.jpg', '/home/pi/Desktop/images/02012026/03/13/image_02012026_03_13_25_10030.jpg', '/home/pi/Desktop/images/02012026/03/13/image_02012026_03_13_44_9772.jpg', '/home/pi/Desktop/images/02012026/03/13/image_02012026_03_14_05_9681.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_14_9668.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_25_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/13/image_02012026_03_13_15_9539.jpg
/home/pi/Desktop/images/02012026/03/13/image_02012026_03_13_25_10030.jpg
/home/pi/Desktop/images/02012026/03/13/image_02012026_03_13_44_9772.jpg
/home/pi/Desktop/images/02012026/03/13/image_02012026_03_14_05_9681.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_14_9668.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_25_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":["1402101462","1402101461","1402101460","1402101463","1402101457","1402101459"],"photo_ids_order":["1402101457","1402101459","1402101460","1402101461","1402101462","1402101463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bd46cfce92a9539e3564e10f31706fd.jpg","text":"TemporaryFile(/tmp/multipartBody5447513696465729374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323223104,"filename":"image_02012026_03_14_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/2/65df05c7be392583ccd7a04e537fc474.jpg","text":"TemporaryFile(/tmp/multipartBody1043374658396881403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323223104,"filename":"image_02012026_03_14_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/2/307737fa6b671bba616e011057ef3d27.jpg","text":"TemporaryFile(/tmp/multipartBody6745493629118343830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323223104,"filename":"image_02012026_03_13_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/2/a3c86eaca83a6b0b4906dc7088070475.jpg","text":"TemporaryFile(/tmp/multipartBody7250208395598257085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323223104,"filename":"image_02012026_03_14_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/2/d8d85480ffdedf7a7d21d02455b788d6.jpg","text":"TemporaryFile(/tmp/multipartBody7326428928053551909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323223104,"filename":"image_02012026_03_13_15_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/2/9c74c58e9376c033a5ef85d528fcbc8c.jpg","text":"TemporaryFile(/tmp/multipartBody3236313976576681592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323223104,"filename":"image_02012026_03_13_25_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101460","file1":"1402101459","file0":"1402101457","file4":"1402101462","file5":"1402101463","file3":"1402101461"},"map_files_photo_id_array":[{"photo_id":"1402101463","filename":"file5"},{"photo_id":"1402101460","filename":"file2"},{"photo_id":"1402101462","filename":"file4"},{"photo_id":"1402101459","filename":"file1"},{"photo_id":"1402101457","filename":"file0"},{"photo_id":"1402101461","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101462":["hashtag1","hashtag2"]},{"1402101461":["hashtag1","hashtag2"]},{"1402101460":["hashtag1","hashtag2"]},{"1402101463":["hashtag1","hashtag2"]},{"1402101457":["hashtag1","hashtag2"]},{"1402101459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101462, 1402101461, 1402101460, 1402101463, 1402101457, 1402101459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54564690589905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:06:42.166895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_52_13299.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_54_1765.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_57_1695.jpg', '/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_59_1706.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_04_1757.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_05_1851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_52_13299.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_54_1765.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_57_1695.jpg
/home/pi/Desktop/images/04112025/22/17/image_04112025_22_17_59_1706.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_04_1757.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_05_1851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101476","1402101479","1402101470","1402101473","1402101481","1402101484"],"photo_ids_order":["1402101470","1402101473","1402101476","1402101479","1402101481","1402101484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bf55514aa9ec0c17feba8ebd09edc8e.jpg","text":"TemporaryFile(/tmp/multipartBody2464605696553811241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323263979,"filename":"image_04112025_22_17_57_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/2/2d9037e178da26a881fc7b157cc77785.jpg","text":"TemporaryFile(/tmp/multipartBody2540037344325492867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323263979,"filename":"image_04112025_22_17_59_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/2/efb7a1b5b1f09c93473977240b72da5c.jpg","text":"TemporaryFile(/tmp/multipartBody5666498858794747005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323263979,"filename":"image_04112025_22_17_52_13299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0dc4c3f676fe63c6df5085e2f25a5b48.jpg","text":"TemporaryFile(/tmp/multipartBody7288012665419025296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323263979,"filename":"image_04112025_22_17_54_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/2/b06dec82d49760841988bde54d903218.jpg","text":"TemporaryFile(/tmp/multipartBody2629092828981099619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323263979,"filename":"image_04112025_22_18_04_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/2/1a831858328fe1ef096dc7f8fffa42c2.jpg","text":"TemporaryFile(/tmp/multipartBody4193995339339400102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323263979,"filename":"image_04112025_22_18_05_1851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101476","file1":"1402101473","file0":"1402101470","file4":"1402101481","file5":"1402101484","file3":"1402101479"},"map_files_photo_id_array":[{"photo_id":"1402101484","filename":"file5"},{"photo_id":"1402101476","filename":"file2"},{"photo_id":"1402101481","filename":"file4"},{"photo_id":"1402101473","filename":"file1"},{"photo_id":"1402101470","filename":"file0"},{"photo_id":"1402101479","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101476":["hashtag1","hashtag2"]},{"1402101479":["hashtag1","hashtag2"]},{"1402101470":["hashtag1","hashtag2"]},{"1402101473":["hashtag1","hashtag2"]},{"1402101481":["hashtag1","hashtag2"]},{"1402101484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101476, 1402101479, 1402101470, 1402101473, 1402101481, 1402101484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11369299888611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:07:22.391997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_35_9808.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_45_9853.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_55_9671.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_15_05_10719.jpg', '/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_25_9708.jpg', '/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_35_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_35_9808.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_45_9853.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_55_9671.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_15_05_10719.jpg
/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_25_9708.jpg
/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_35_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: 0.5034224987030029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:07:32.339092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_11_5416.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_13_1760.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_14_1813.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_17_2405.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_19_1646.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_20_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_11_5416.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_13_1760.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_14_1813.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_17_2405.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_19_1646.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_20_1518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101501","1402101494","1402101491","1402101503","1402101505","1402101498"],"photo_ids_order":["1402101491","1402101494","1402101498","1402101501","1402101503","1402101505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4651b785b89825e5d8882fe0a00488b7.jpg","text":"TemporaryFile(/tmp/multipartBody5578449333813910914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323314157,"filename":"image_04112025_22_18_17_2405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/19bfbace9a69f343da09945639ddc0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6779425990773582488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323314157,"filename":"image_04112025_22_18_13_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/2/e905973ead5541fe46772af9b0e92eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2914216164743271329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323314157,"filename":"image_04112025_22_18_11_5416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32c0e96098c0ba4ec8b8032997fcaf32.jpg","text":"TemporaryFile(/tmp/multipartBody287320688761823618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323314157,"filename":"image_04112025_22_18_19_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/2/d9a1ce924d1b1a4ceac416c6aafeafdd.jpg","text":"TemporaryFile(/tmp/multipartBody3455518122730988378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323314157,"filename":"image_04112025_22_18_20_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/2/502a365af6e05d31f7137ec95270ba00.jpg","text":"TemporaryFile(/tmp/multipartBody86858163231918165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323314157,"filename":"image_04112025_22_18_14_1813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101498","file1":"1402101494","file0":"1402101491","file4":"1402101503","file5":"1402101505","file3":"1402101501"},"map_files_photo_id_array":[{"photo_id":"1402101505","filename":"file5"},{"photo_id":"1402101498","filename":"file2"},{"photo_id":"1402101503","filename":"file4"},{"photo_id":"1402101494","filename":"file1"},{"photo_id":"1402101491","filename":"file0"},{"photo_id":"1402101501","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101501":["hashtag1","hashtag2"]},{"1402101494":["hashtag1","hashtag2"]},{"1402101491":["hashtag1","hashtag2"]},{"1402101503":["hashtag1","hashtag2"]},{"1402101505":["hashtag1","hashtag2"]},{"1402101498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101501, 1402101494, 1402101491, 1402101503, 1402101505, 1402101498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67853784561157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:08:12.478695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_22_1604.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_24_2718.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_28_3645.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_31_2913.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_34_2557.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_39_3090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_22_1604.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_24_2718.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_28_3645.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_31_2913.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_34_2557.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_39_3090.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101516","1402101510","1402101512","1402101509","1402101514","1402101508"],"photo_ids_order":["1402101508","1402101509","1402101510","1402101512","1402101514","1402101516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/68b065252f26526b532094594356c120.jpg","text":"TemporaryFile(/tmp/multipartBody563579239577068451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323354183,"filename":"image_04112025_22_18_39_3090.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6077fea7d2bf3c058b0b3278094f3fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1869510474285892046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323354183,"filename":"image_04112025_22_18_28_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/2/918853a42bf81182fc7adc9203382cdf.jpg","text":"TemporaryFile(/tmp/multipartBody2230907111500633067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323354183,"filename":"image_04112025_22_18_31_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/74fe153dfc204e0699130871c08e62a3.jpg","text":"TemporaryFile(/tmp/multipartBody1701515946700421943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323354183,"filename":"image_04112025_22_18_24_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/2/1432bf745ef432af8877c6195834420b.jpg","text":"TemporaryFile(/tmp/multipartBody2419282392388898385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323354183,"filename":"image_04112025_22_18_34_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/2/e08e206ed6d2cc1b3ac5adb73b8a1722.jpg","text":"TemporaryFile(/tmp/multipartBody7821307399243672701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323354183,"filename":"image_04112025_22_18_22_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101510","file1":"1402101509","file0":"1402101508","file4":"1402101514","file5":"1402101516","file3":"1402101512"},"map_files_photo_id_array":[{"photo_id":"1402101516","filename":"file5"},{"photo_id":"1402101510","filename":"file2"},{"photo_id":"1402101514","filename":"file4"},{"photo_id":"1402101509","filename":"file1"},{"photo_id":"1402101508","filename":"file0"},{"photo_id":"1402101512","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101516":["hashtag1","hashtag2"]},{"1402101510":["hashtag1","hashtag2"]},{"1402101512":["hashtag1","hashtag2"]},{"1402101509":["hashtag1","hashtag2"]},{"1402101514":["hashtag1","hashtag2"]},{"1402101508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101516, 1402101510, 1402101512, 1402101509, 1402101514, 1402101508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30319356918335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:09:03.663141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_35_9808.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_45_9853.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_55_9671.jpg', '/home/pi/Desktop/images/02012026/03/14/image_02012026_03_15_05_10719.jpg', '/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_25_9708.jpg', '/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_35_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_35_9808.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_45_9853.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_14_55_9671.jpg
/home/pi/Desktop/images/02012026/03/14/image_02012026_03_15_05_10719.jpg
/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_25_9708.jpg
/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_35_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":["1402101528","1402101525","1402101527","1402101529","1402101526","1402101531"],"photo_ids_order":["1402101525","1402101526","1402101527","1402101528","1402101529","1402101531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99af3d3159e5241a27ac761f9fd1770a.jpg","text":"TemporaryFile(/tmp/multipartBody914837696488465140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323404410,"filename":"image_02012026_03_15_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/2/63bd9cfa061fc4b3e209cbc609f7e120.jpg","text":"TemporaryFile(/tmp/multipartBody3707611284369200574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323404410,"filename":"image_02012026_03_14_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/2/891b46c962533f89c3bd66b3fcda1084.jpg","text":"TemporaryFile(/tmp/multipartBody8401544900785010803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323404410,"filename":"image_02012026_03_14_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/2/d83fa39ab2cc71e45673e9b7ca76651e.jpg","text":"TemporaryFile(/tmp/multipartBody8658246708627499881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323404410,"filename":"image_02012026_03_15_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/2/4ee71e61e2c05e862a07f358d0957537.jpg","text":"TemporaryFile(/tmp/multipartBody3336035680352331159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323404410,"filename":"image_02012026_03_14_45_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/2/a35a6306e67a68095e40875aaa94f37e.jpg","text":"TemporaryFile(/tmp/multipartBody8383603402859764671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323404410,"filename":"image_02012026_03_15_35_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101527","file1":"1402101526","file0":"1402101525","file4":"1402101529","file5":"1402101531","file3":"1402101528"},"map_files_photo_id_array":[{"photo_id":"1402101531","filename":"file5"},{"photo_id":"1402101527","filename":"file2"},{"photo_id":"1402101529","filename":"file4"},{"photo_id":"1402101526","filename":"file1"},{"photo_id":"1402101525","filename":"file0"},{"photo_id":"1402101528","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101528":["hashtag1","hashtag2"]},{"1402101525":["hashtag1","hashtag2"]},{"1402101527":["hashtag1","hashtag2"]},{"1402101529":["hashtag1","hashtag2"]},{"1402101526":["hashtag1","hashtag2"]},{"1402101531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101528, 1402101525, 1402101527, 1402101529, 1402101526, 1402101531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12014412879944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:09:42.724150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_42_2849.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_50_8296.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_52_1681.jpg', '/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_54_1643.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_08_13904.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_11_1792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_42_2849.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_50_8296.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_52_1681.jpg
/home/pi/Desktop/images/04112025/22/18/image_04112025_22_18_54_1643.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_08_13904.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_11_1792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101540","1402101537","1402101542","1402101548","1402101544","1402101546"],"photo_ids_order":["1402101537","1402101540","1402101542","1402101544","1402101546","1402101548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/731694e9875a8b6ed354952cbe9c030a.jpg","text":"TemporaryFile(/tmp/multipartBody6722920449160153858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323444539,"filename":"image_04112025_22_18_50_8296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9028bdaa5592f18df6b668945dbf7ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6001418355242354631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323444539,"filename":"image_04112025_22_18_42_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e7c8c3eb0b40ac24262f8f6ceb3ca14.jpg","text":"TemporaryFile(/tmp/multipartBody5638311713881817237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323444539,"filename":"image_04112025_22_18_52_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/2/060399a3de3ec689680bc4e124b0a439.jpg","text":"TemporaryFile(/tmp/multipartBody3795685398526598356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323444539,"filename":"image_04112025_22_19_11_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54e9c9a3af1039115731fe732cd4c91d.jpg","text":"TemporaryFile(/tmp/multipartBody4552140833938434678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323444539,"filename":"image_04112025_22_18_54_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/2/b096ca1a6ff35456d78feaac929bd7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1789122123380638275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323444539,"filename":"image_04112025_22_19_08_13904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101542","file1":"1402101540","file0":"1402101537","file4":"1402101546","file5":"1402101548","file3":"1402101544"},"map_files_photo_id_array":[{"photo_id":"1402101548","filename":"file5"},{"photo_id":"1402101542","filename":"file2"},{"photo_id":"1402101546","filename":"file4"},{"photo_id":"1402101540","filename":"file1"},{"photo_id":"1402101537","filename":"file0"},{"photo_id":"1402101544","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101540":["hashtag1","hashtag2"]},{"1402101537":["hashtag1","hashtag2"]},{"1402101542":["hashtag1","hashtag2"]},{"1402101548":["hashtag1","hashtag2"]},{"1402101544":["hashtag1","hashtag2"]},{"1402101546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101540, 1402101537, 1402101542, 1402101548, 1402101544, 1402101546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08912682533264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:10:21.916129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_55_9613.jpg', '/home/pi/Desktop/images/02012026/03/15/image_02012026_03_16_04_9553.jpg', '/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_15_10728.jpg', '/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_25_9621.jpg', '/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_35_9693.jpg', '/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_45_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/15/image_02012026_03_15_55_9613.jpg
/home/pi/Desktop/images/02012026/03/15/image_02012026_03_16_04_9553.jpg
/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_15_10728.jpg
/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_25_9621.jpg
/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_35_9693.jpg
/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_45_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101555","1402101549","1402101560","1402101557","1402101551","1402101553"],"photo_ids_order":["1402101549","1402101551","1402101553","1402101555","1402101557","1402101560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1dffb82c2f46c6dbc0a10159cea55935.jpg","text":"TemporaryFile(/tmp/multipartBody6389914038458386982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323482518,"filename":"image_02012026_03_16_25_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/2/5d6c4cca089a378b2586669d96c10864.jpg","text":"TemporaryFile(/tmp/multipartBody3496834573782081356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323482518,"filename":"image_02012026_03_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/2/e32c4e17082178a745bda4c8bb0039e5.jpg","text":"TemporaryFile(/tmp/multipartBody2313859809164013047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323482518,"filename":"image_02012026_03_16_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/2/6827e1a977fea7510d5346f3754217cf.jpg","text":"TemporaryFile(/tmp/multipartBody6165346181816221791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323482518,"filename":"image_02012026_03_16_35_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/2/27c33fbc21070bab09c8ced63d8fa7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6609703336817643946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323482518,"filename":"image_02012026_03_16_04_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/2/a2f1b684c4b5acfbbd394546863deda3.jpg","text":"TemporaryFile(/tmp/multipartBody8228972886877972938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323482518,"filename":"image_02012026_03_16_15_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101553","file1":"1402101551","file0":"1402101549","file4":"1402101557","file5":"1402101560","file3":"1402101555"},"map_files_photo_id_array":[{"photo_id":"1402101560","filename":"file5"},{"photo_id":"1402101553","filename":"file2"},{"photo_id":"1402101557","filename":"file4"},{"photo_id":"1402101551","filename":"file1"},{"photo_id":"1402101549","filename":"file0"},{"photo_id":"1402101555","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101555":["hashtag1","hashtag2"]},{"1402101549":["hashtag1","hashtag2"]},{"1402101560":["hashtag1","hashtag2"]},{"1402101557":["hashtag1","hashtag2"]},{"1402101551":["hashtag1","hashtag2"]},{"1402101553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101555, 1402101549, 1402101560, 1402101557, 1402101551, 1402101553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11946702003479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:11:02.891200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_55_9841.jpg', '/home/pi/Desktop/images/02012026/03/16/image_02012026_03_17_04_9524.jpg', '/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_15_10606.jpg', '/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_25_9604.jpg', '/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_45_10681.jpg', '/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_55_9886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/16/image_02012026_03_16_55_9841.jpg
/home/pi/Desktop/images/02012026/03/16/image_02012026_03_17_04_9524.jpg
/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_15_10606.jpg
/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_25_9604.jpg
/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_45_10681.jpg
/home/pi/Desktop/images/02012026/03/17/image_02012026_03_17_55_9886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101569","1402101566","1402101571","1402101568","1402101570","1402101573"],"photo_ids_order":["1402101566","1402101568","1402101569","1402101570","1402101571","1402101573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e593e779e1c2ffec5cfc6e17d14442e9.jpg","text":"TemporaryFile(/tmp/multipartBody4435885204233272707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323523560,"filename":"image_02012026_03_17_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/2/62f7ed259c2276ff26c1c7f85f1f0123.jpg","text":"TemporaryFile(/tmp/multipartBody8681267118389177324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323523560,"filename":"image_02012026_03_16_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/2/258d7db16278c84a8727e471a0c975a7.jpg","text":"TemporaryFile(/tmp/multipartBody7633178214674324700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323523560,"filename":"image_02012026_03_17_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/2/43954a61cfecf41c6b38fb2f5c816777.jpg","text":"TemporaryFile(/tmp/multipartBody793932936018791380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323523560,"filename":"image_02012026_03_17_04_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/2/f868e3c756f8f254a6490ee420422ac6.jpg","text":"TemporaryFile(/tmp/multipartBody994714205987761019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323523560,"filename":"image_02012026_03_17_25_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/2/7e032a252a7ca95bc820781e1780ca24.jpg","text":"TemporaryFile(/tmp/multipartBody323999327173406567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323523560,"filename":"image_02012026_03_17_55_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101569","file1":"1402101568","file0":"1402101566","file4":"1402101571","file5":"1402101573","file3":"1402101570"},"map_files_photo_id_array":[{"photo_id":"1402101573","filename":"file5"},{"photo_id":"1402101569","filename":"file2"},{"photo_id":"1402101571","filename":"file4"},{"photo_id":"1402101568","filename":"file1"},{"photo_id":"1402101566","filename":"file0"},{"photo_id":"1402101570","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101569":["hashtag1","hashtag2"]},{"1402101566":["hashtag1","hashtag2"]},{"1402101571":["hashtag1","hashtag2"]},{"1402101568":["hashtag1","hashtag2"]},{"1402101570":["hashtag1","hashtag2"]},{"1402101573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101569, 1402101566, 1402101571, 1402101568, 1402101570, 1402101573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53481411933899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:11:42.154986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_13_1693.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_16_2615.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_17_1523.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_19_1955.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_21_1698.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_22_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_13_1693.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_16_2615.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_17_1523.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_19_1955.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_21_1698.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_22_1698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101587","1402101581","1402101583","1402101589","1402101585","1402101579"],"photo_ids_order":["1402101579","1402101581","1402101583","1402101585","1402101587","1402101589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/957373d53ab407eb7fbe6c6ec11d563e.jpg","text":"TemporaryFile(/tmp/multipartBody2232338515030299935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323563978,"filename":"image_04112025_22_19_21_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/2/471edaaf3aa46e2c6c002c0a4e3aa5f6.jpg","text":"TemporaryFile(/tmp/multipartBody7544050014414608076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323563978,"filename":"image_04112025_22_19_16_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/2/d3a8839bcf503a413ae37e31e92f47d8.jpg","text":"TemporaryFile(/tmp/multipartBody1574747351937532030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323563978,"filename":"image_04112025_22_19_17_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/2/ed1527d627bd507d4cdcf50596d024a6.jpg","text":"TemporaryFile(/tmp/multipartBody3466202629839349798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323563978,"filename":"image_04112025_22_19_22_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/2/4d79692503b116f74eee1659f85fb7a7.jpg","text":"TemporaryFile(/tmp/multipartBody5090027014617598814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323563978,"filename":"image_04112025_22_19_19_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/878055fed971f60e99688c55fd0b1c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3338489843585074697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323563978,"filename":"image_04112025_22_19_13_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101583","file1":"1402101581","file0":"1402101579","file4":"1402101587","file5":"1402101589","file3":"1402101585"},"map_files_photo_id_array":[{"photo_id":"1402101589","filename":"file5"},{"photo_id":"1402101583","filename":"file2"},{"photo_id":"1402101587","filename":"file4"},{"photo_id":"1402101581","filename":"file1"},{"photo_id":"1402101579","filename":"file0"},{"photo_id":"1402101585","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101587":["hashtag1","hashtag2"]},{"1402101581":["hashtag1","hashtag2"]},{"1402101583":["hashtag1","hashtag2"]},{"1402101589":["hashtag1","hashtag2"]},{"1402101585":["hashtag1","hashtag2"]},{"1402101579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101587, 1402101581, 1402101583, 1402101589, 1402101585, 1402101579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.854655504226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:12:22.297405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/18/image_02012026_03_18_15_10635.jpg', '/home/pi/Desktop/images/02012026/03/18/image_02012026_03_18_25_9626.jpg', '/home/pi/Desktop/images/02012026/03/18/image_02012026_03_18_55_9616.jpg', '/home/pi/Desktop/images/02012026/03/18/image_02012026_03_19_05_9692.jpg', '/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_25_9779.jpg', '/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_35_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/18/image_02012026_03_18_15_10635.jpg
/home/pi/Desktop/images/02012026/03/18/image_02012026_03_18_25_9626.jpg
/home/pi/Desktop/images/02012026/03/18/image_02012026_03_18_55_9616.jpg
/home/pi/Desktop/images/02012026/03/18/image_02012026_03_19_05_9692.jpg
/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_25_9779.jpg
/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_35_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":["1402101593","1402101599","1402101602","1402101595","1402101597","1402101591"],"photo_ids_order":["1402101591","1402101593","1402101595","1402101597","1402101599","1402101602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7070d8d9dec6259cd12d72aa590e5666.jpg","text":"TemporaryFile(/tmp/multipartBody8300591168485429525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323602902,"filename":"image_02012026_03_18_25_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/2/4324e52d8c1770f23f2b843ecfaf3018.jpg","text":"TemporaryFile(/tmp/multipartBody6335072407953695824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323602902,"filename":"image_02012026_03_19_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/2/9a32772ae313393f0d7a45c4e60f82c1.jpg","text":"TemporaryFile(/tmp/multipartBody7730620553266980922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323602902,"filename":"image_02012026_03_19_35_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/2/2943838ce19011bdcab82ed43feb1cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2608015921125333186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323602902,"filename":"image_02012026_03_18_55_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/2/6bf04697954a4513e6d26260c47be21d.jpg","text":"TemporaryFile(/tmp/multipartBody5868779795090580378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323602902,"filename":"image_02012026_03_19_05_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/2/2c856d177f2bec0fc982dc7e06a95164.jpg","text":"TemporaryFile(/tmp/multipartBody2702819890877072183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323602902,"filename":"image_02012026_03_18_15_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101595","file1":"1402101593","file0":"1402101591","file4":"1402101599","file5":"1402101602","file3":"1402101597"},"map_files_photo_id_array":[{"photo_id":"1402101602","filename":"file5"},{"photo_id":"1402101595","filename":"file2"},{"photo_id":"1402101599","filename":"file4"},{"photo_id":"1402101593","filename":"file1"},{"photo_id":"1402101591","filename":"file0"},{"photo_id":"1402101597","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101593":["hashtag1","hashtag2"]},{"1402101599":["hashtag1","hashtag2"]},{"1402101602":["hashtag1","hashtag2"]},{"1402101595":["hashtag1","hashtag2"]},{"1402101597":["hashtag1","hashtag2"]},{"1402101591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101593, 1402101599, 1402101602, 1402101595, 1402101597, 1402101591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17407441139221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:13:03.072731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_44_9808.jpg', '/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_55_10697.jpg', '/home/pi/Desktop/images/02012026/03/19/image_02012026_03_20_05_9649.jpg', '/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_15_10606.jpg', '/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_35_9810.jpg', '/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_45_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_44_9808.jpg
/home/pi/Desktop/images/02012026/03/19/image_02012026_03_19_55_10697.jpg
/home/pi/Desktop/images/02012026/03/19/image_02012026_03_20_05_9649.jpg
/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_15_10606.jpg
/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_35_9810.jpg
/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_45_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":["1402101612","1402101611","1402101616","1402101610","1402101613","1402101607"],"photo_ids_order":["1402101607","1402101610","1402101611","1402101612","1402101613","1402101616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c338ffd085f728efd3c43a12dca9b045.jpg","text":"TemporaryFile(/tmp/multipartBody1479842224752356794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323643750,"filename":"image_02012026_03_20_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/2/dda2defbe7ac85c0939e17cf8d9e1444.jpg","text":"TemporaryFile(/tmp/multipartBody7273499772672859097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323643750,"filename":"image_02012026_03_20_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/2/108ac2568e35ee29df08b5f58922f1ba.jpg","text":"TemporaryFile(/tmp/multipartBody1795550446224165250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323643750,"filename":"image_02012026_03_20_45_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/2/0a36609600691ccb8aca31f40636b4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7251317716536224902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323643750,"filename":"image_02012026_03_19_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/2/db87ef6144d7e295a6906f4af3a37e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5635410513026984200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323643750,"filename":"image_02012026_03_20_35_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/2/6affa628af2105f90ac16146d130a443.jpg","text":"TemporaryFile(/tmp/multipartBody5180983200489501006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323643750,"filename":"image_02012026_03_19_44_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101611","file1":"1402101610","file0":"1402101607","file4":"1402101613","file5":"1402101616","file3":"1402101612"},"map_files_photo_id_array":[{"photo_id":"1402101616","filename":"file5"},{"photo_id":"1402101611","filename":"file2"},{"photo_id":"1402101613","filename":"file4"},{"photo_id":"1402101610","filename":"file1"},{"photo_id":"1402101607","filename":"file0"},{"photo_id":"1402101612","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101612":["hashtag1","hashtag2"]},{"1402101611":["hashtag1","hashtag2"]},{"1402101616":["hashtag1","hashtag2"]},{"1402101610":["hashtag1","hashtag2"]},{"1402101613":["hashtag1","hashtag2"]},{"1402101607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101612, 1402101611, 1402101616, 1402101610, 1402101613, 1402101607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1429922580719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:13:42.633523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_24_1789.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_26_1668.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_28_1647.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_34_3584.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_43_3608.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_46_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_24_1789.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_26_1668.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_28_1647.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_34_3584.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_43_3608.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_46_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101633","1402101621","1402101624","1402101626","1402101628","1402101630"],"photo_ids_order":["1402101621","1402101624","1402101626","1402101628","1402101630","1402101633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26557ca28b7a44074af812fefb31e8b2.jpg","text":"TemporaryFile(/tmp/multipartBody9007163667892980759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323684494,"filename":"image_04112025_22_19_46_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/2/9351d7568b9d25594f65b2263b3dabd7.jpg","text":"TemporaryFile(/tmp/multipartBody5990010640206271601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323684494,"filename":"image_04112025_22_19_24_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/2/d129a3a71cabc257567b661a442d4556.jpg","text":"TemporaryFile(/tmp/multipartBody5998873726578830888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323684494,"filename":"image_04112025_22_19_26_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/2/27cdf09bb5aaaa6aca4c478aacb8f762.jpg","text":"TemporaryFile(/tmp/multipartBody1006184498114922308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323684494,"filename":"image_04112025_22_19_28_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/2/c2239418459195069ff6492461fccbb8.jpg","text":"TemporaryFile(/tmp/multipartBody1463540940141976513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323684494,"filename":"image_04112025_22_19_34_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/2/9eb673e0a71e8b54d66e79d5ae850fd7.jpg","text":"TemporaryFile(/tmp/multipartBody499456152622428587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323684494,"filename":"image_04112025_22_19_43_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101626","file1":"1402101624","file0":"1402101621","file4":"1402101630","file5":"1402101633","file3":"1402101628"},"map_files_photo_id_array":[{"photo_id":"1402101633","filename":"file5"},{"photo_id":"1402101626","filename":"file2"},{"photo_id":"1402101630","filename":"file4"},{"photo_id":"1402101624","filename":"file1"},{"photo_id":"1402101621","filename":"file0"},{"photo_id":"1402101628","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101633":["hashtag1","hashtag2"]},{"1402101621":["hashtag1","hashtag2"]},{"1402101624":["hashtag1","hashtag2"]},{"1402101626":["hashtag1","hashtag2"]},{"1402101628":["hashtag1","hashtag2"]},{"1402101630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101633, 1402101621, 1402101624, 1402101626, 1402101628, 1402101630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56489610671997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:14:22.821715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_55_10681.jpg', '/home/pi/Desktop/images/02012026/03/20/image_02012026_03_21_05_9605.jpg', '/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_15_9984.jpg', '/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_25_9880.jpg', '/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_45_9689.jpg', '/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_55_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/20/image_02012026_03_20_55_10681.jpg
/home/pi/Desktop/images/02012026/03/20/image_02012026_03_21_05_9605.jpg
/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_15_9984.jpg
/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_25_9880.jpg
/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_45_9689.jpg
/home/pi/Desktop/images/02012026/03/21/image_02012026_03_21_55_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":["1402101636","1402101641","1402101638","1402101647","1402101643","1402101645"],"photo_ids_order":["1402101636","1402101638","1402101641","1402101643","1402101645","1402101647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b2c40ae2599edb5d9465c85647850c0.jpg","text":"TemporaryFile(/tmp/multipartBody3443464983330894566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323723424,"filename":"image_02012026_03_20_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/2/1d4ab2db80f78857e11fdf5ad93e0f82.jpg","text":"TemporaryFile(/tmp/multipartBody8706621106948510689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323723424,"filename":"image_02012026_03_21_15_9984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/796bdeea2e8496a6b299567e3f07602e.jpg","text":"TemporaryFile(/tmp/multipartBody5892653524062339813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323723424,"filename":"image_02012026_03_21_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/2/18abe25b4903f163eeb928286f03e1da.jpg","text":"TemporaryFile(/tmp/multipartBody6308852208267445276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323723424,"filename":"image_02012026_03_21_55_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/2/9ee4487a86fc7809fb764d5eee49d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody7242220586694770573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323723424,"filename":"image_02012026_03_21_25_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/2/7e95edd9b030a832031420a005809cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4644084771306816992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323723424,"filename":"image_02012026_03_21_45_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101641","file1":"1402101638","file0":"1402101636","file4":"1402101645","file5":"1402101647","file3":"1402101643"},"map_files_photo_id_array":[{"photo_id":"1402101647","filename":"file5"},{"photo_id":"1402101641","filename":"file2"},{"photo_id":"1402101645","filename":"file4"},{"photo_id":"1402101638","filename":"file1"},{"photo_id":"1402101636","filename":"file0"},{"photo_id":"1402101643","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101636":["hashtag1","hashtag2"]},{"1402101641":["hashtag1","hashtag2"]},{"1402101638":["hashtag1","hashtag2"]},{"1402101647":["hashtag1","hashtag2"]},{"1402101643":["hashtag1","hashtag2"]},{"1402101645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101636, 1402101641, 1402101638, 1402101647, 1402101643, 1402101645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.560147762298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:15:02.583178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/21/image_02012026_03_22_05_10697.jpg', '/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_15_9748.jpg', '/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_25_9625.jpg', '/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_35_9870.jpg', '/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_45_10735.jpg', '/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_55_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/21/image_02012026_03_22_05_10697.jpg
/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_15_9748.jpg
/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_25_9625.jpg
/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_35_9870.jpg
/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_45_10735.jpg
/home/pi/Desktop/images/02012026/03/22/image_02012026_03_22_55_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":["1402101654","1402101656","1402101659","1402101652","1402101655","1402101657"],"photo_ids_order":["1402101652","1402101654","1402101655","1402101656","1402101657","1402101659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b80819675831d8cdfdf306087d0f988c.jpg","text":"TemporaryFile(/tmp/multipartBody4094768380886380128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323763262,"filename":"image_02012026_03_22_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/2/8e7f36a4dbd7961be97bbc9b8ee2f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody7192118900302853090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323763262,"filename":"image_02012026_03_22_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/2/5bea16835815d9d6610b8b4315418d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8036158388185572738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323763262,"filename":"image_02012026_03_22_55_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/2/e11146d720876d73ff4145168b0faba1.jpg","text":"TemporaryFile(/tmp/multipartBody3435308938443261435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323763262,"filename":"image_02012026_03_22_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/2/10d92f4a57b1b5bc2a1c3fb3250d23ff.jpg","text":"TemporaryFile(/tmp/multipartBody6810139382300694910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323763262,"filename":"image_02012026_03_22_25_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/2/da04b4743bc3577ebc3507aa564fe51a.jpg","text":"TemporaryFile(/tmp/multipartBody8838097716282458773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323763262,"filename":"image_02012026_03_22_45_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101655","file1":"1402101654","file0":"1402101652","file4":"1402101657","file5":"1402101659","file3":"1402101656"},"map_files_photo_id_array":[{"photo_id":"1402101659","filename":"file5"},{"photo_id":"1402101655","filename":"file2"},{"photo_id":"1402101657","filename":"file4"},{"photo_id":"1402101654","filename":"file1"},{"photo_id":"1402101652","filename":"file0"},{"photo_id":"1402101656","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101654":["hashtag1","hashtag2"]},{"1402101656":["hashtag1","hashtag2"]},{"1402101659":["hashtag1","hashtag2"]},{"1402101652":["hashtag1","hashtag2"]},{"1402101655":["hashtag1","hashtag2"]},{"1402101657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101654, 1402101656, 1402101659, 1402101652, 1402101655, 1402101657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49675416946411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:15:42.047601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_48_2762.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_51_2760.jpg', '/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_57_2680.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_07_3010.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_11_3763.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_13_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_48_2762.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_51_2760.jpg
/home/pi/Desktop/images/04112025/22/19/image_04112025_22_19_57_2680.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_07_3010.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_11_3763.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_13_2554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101674","1402101668","1402101665","1402101670","1402101676","1402101672"],"photo_ids_order":["1402101665","1402101668","1402101670","1402101672","1402101674","1402101676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73e51784d3a17447356be6410dbc52a1.jpg","text":"TemporaryFile(/tmp/multipartBody2479428208955414031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323803847,"filename":"image_04112025_22_20_11_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/2/e89d23fdb07a398df242ee4a837e4da5.jpg","text":"TemporaryFile(/tmp/multipartBody2927888755209002514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323803847,"filename":"image_04112025_22_19_51_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/2/63516218fc8d51322c53bbb289f5c795.jpg","text":"TemporaryFile(/tmp/multipartBody8788015214202837346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323803847,"filename":"image_04112025_22_19_48_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/2/93aa44507da691ff064ac1479f3d4896.jpg","text":"TemporaryFile(/tmp/multipartBody3325974269125566446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323803847,"filename":"image_04112025_22_19_57_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/2/65bfa2e889793e1b432d5e4979eca2f3.jpg","text":"TemporaryFile(/tmp/multipartBody3013843228062011320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323803847,"filename":"image_04112025_22_20_13_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/2/4e211411608dc0ffb6939e4b600a30a1.jpg","text":"TemporaryFile(/tmp/multipartBody1316822188239787486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323803847,"filename":"image_04112025_22_20_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101670","file1":"1402101668","file0":"1402101665","file4":"1402101674","file5":"1402101676","file3":"1402101672"},"map_files_photo_id_array":[{"photo_id":"1402101676","filename":"file5"},{"photo_id":"1402101670","filename":"file2"},{"photo_id":"1402101674","filename":"file4"},{"photo_id":"1402101668","filename":"file1"},{"photo_id":"1402101665","filename":"file0"},{"photo_id":"1402101672","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101674":["hashtag1","hashtag2"]},{"1402101668":["hashtag1","hashtag2"]},{"1402101665":["hashtag1","hashtag2"]},{"1402101670":["hashtag1","hashtag2"]},{"1402101676":["hashtag1","hashtag2"]},{"1402101672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101674, 1402101668, 1402101665, 1402101670, 1402101676, 1402101672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.024561405181885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:16:22.260633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/22/image_02012026_03_23_05_9665.jpg', '/home/pi/Desktop/images/02012026/03/23/image_02012026_03_23_15_10640.jpg', '/home/pi/Desktop/images/02012026/03/23/image_02012026_03_23_25_9714.jpg', '/home/pi/Desktop/images/02012026/03/23/image_02012026_03_23_55_9550.jpg', '/home/pi/Desktop/images/02012026/03/23/image_02012026_03_24_04_9769.jpg', '/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_15_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/22/image_02012026_03_23_05_9665.jpg
/home/pi/Desktop/images/02012026/03/23/image_02012026_03_23_15_10640.jpg
/home/pi/Desktop/images/02012026/03/23/image_02012026_03_23_25_9714.jpg
/home/pi/Desktop/images/02012026/03/23/image_02012026_03_23_55_9550.jpg
/home/pi/Desktop/images/02012026/03/23/image_02012026_03_24_04_9769.jpg
/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_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":["1402101680","1402101677","1402101682","1402101688","1402101684","1402101678"],"photo_ids_order":["1402101677","1402101678","1402101680","1402101682","1402101684","1402101688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/773930efe2557e75bde956edf954a03e.jpg","text":"TemporaryFile(/tmp/multipartBody4962769715770942278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323842869,"filename":"image_02012026_03_23_25_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/2/cf6e810588d7173374d61a940c29ca65.jpg","text":"TemporaryFile(/tmp/multipartBody7157849912152737429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323842869,"filename":"image_02012026_03_23_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/2/d85b9876c3206ff2eaf14148ad88bfe3.jpg","text":"TemporaryFile(/tmp/multipartBody1624247501971244296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323842869,"filename":"image_02012026_03_23_55_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/2/49f9397cf9769797f9b8b1cc35325a54.jpg","text":"TemporaryFile(/tmp/multipartBody7121062761989544765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323842869,"filename":"image_02012026_03_24_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/2/af08fb71bd112c7f1122afbd6259c039.jpg","text":"TemporaryFile(/tmp/multipartBody4482852695821318480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323842869,"filename":"image_02012026_03_24_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/2/365892d1a196ec5f17cfc0f2aa20ff80.jpg","text":"TemporaryFile(/tmp/multipartBody5873473781504561785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323842869,"filename":"image_02012026_03_23_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101680","file1":"1402101678","file0":"1402101677","file4":"1402101684","file5":"1402101688","file3":"1402101682"},"map_files_photo_id_array":[{"photo_id":"1402101688","filename":"file5"},{"photo_id":"1402101680","filename":"file2"},{"photo_id":"1402101684","filename":"file4"},{"photo_id":"1402101678","filename":"file1"},{"photo_id":"1402101677","filename":"file0"},{"photo_id":"1402101682","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101680":["hashtag1","hashtag2"]},{"1402101677":["hashtag1","hashtag2"]},{"1402101682":["hashtag1","hashtag2"]},{"1402101688":["hashtag1","hashtag2"]},{"1402101684":["hashtag1","hashtag2"]},{"1402101678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101680, 1402101677, 1402101682, 1402101688, 1402101684, 1402101678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54096746444702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:17:03.156898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_25_9624.jpg', '/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_35_9981.jpg', '/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_44_9678.jpg', '/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_55_10655.jpg', '/home/pi/Desktop/images/02012026/03/24/image_02012026_03_25_05_9887.jpg', '/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_15_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_25_9624.jpg
/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_35_9981.jpg
/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_44_9678.jpg
/home/pi/Desktop/images/02012026/03/24/image_02012026_03_24_55_10655.jpg
/home/pi/Desktop/images/02012026/03/24/image_02012026_03_25_05_9887.jpg
/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_15_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101702","1402101704","1402101700","1402101703","1402101706","1402101699"],"photo_ids_order":["1402101699","1402101700","1402101702","1402101703","1402101704","1402101706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e689785ac550f9c49e1f326e6db022b0.jpg","text":"TemporaryFile(/tmp/multipartBody5000511262552637926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323883884,"filename":"image_02012026_03_24_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/2/b1183d8cc8b0d3b7c6b36d00c4a64bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6033388404487437431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323883884,"filename":"image_02012026_03_25_05_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/daaa24bd4e4e8473381fef723a5a84f6.jpg","text":"TemporaryFile(/tmp/multipartBody1681021759881497861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323883884,"filename":"image_02012026_03_24_35_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4278d15c269d4629bdaab21fb41dd722.jpg","text":"TemporaryFile(/tmp/multipartBody233684694420439329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323883884,"filename":"image_02012026_03_24_55_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/2/7e9253292ae333cdc9395b9360293a19.jpg","text":"TemporaryFile(/tmp/multipartBody2115100087770207527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323883884,"filename":"image_02012026_03_25_15_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/2/9f2aa5eda75baf09feba311e3e319810.jpg","text":"TemporaryFile(/tmp/multipartBody6471890803815508789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323883884,"filename":"image_02012026_03_24_25_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101702","file1":"1402101700","file0":"1402101699","file4":"1402101704","file5":"1402101706","file3":"1402101703"},"map_files_photo_id_array":[{"photo_id":"1402101706","filename":"file5"},{"photo_id":"1402101702","filename":"file2"},{"photo_id":"1402101704","filename":"file4"},{"photo_id":"1402101700","filename":"file1"},{"photo_id":"1402101699","filename":"file0"},{"photo_id":"1402101703","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101702":["hashtag1","hashtag2"]},{"1402101704":["hashtag1","hashtag2"]},{"1402101700":["hashtag1","hashtag2"]},{"1402101703":["hashtag1","hashtag2"]},{"1402101706":["hashtag1","hashtag2"]},{"1402101699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101702, 1402101704, 1402101700, 1402101703, 1402101706, 1402101699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49008393287659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:17:42.520899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_17_3651.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_20_2920.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_23_2647.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_25_2814.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_29_3556.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_32_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_17_3651.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_20_2920.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_23_2647.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_25_2814.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_29_3556.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_32_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":["1402101723","1402101717","1402101719","1402101721","1402101715","1402101712"],"photo_ids_order":["1402101712","1402101715","1402101717","1402101719","1402101721","1402101723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/273025ae26cb6b5506ec8954a59731e5.jpg","text":"TemporaryFile(/tmp/multipartBody8287222429828676624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323924350,"filename":"image_04112025_22_20_32_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/2/177c3ea0306632ff69c04720c1b1917c.jpg","text":"TemporaryFile(/tmp/multipartBody4301202870606708849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323924350,"filename":"image_04112025_22_20_23_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/2/d24b58416f34c7376491e85ac2006f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7903105967640814706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323924350,"filename":"image_04112025_22_20_25_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/2/b7aab39cc811a089c286dea503e8b6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5423284877372552962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323924350,"filename":"image_04112025_22_20_29_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/2/f8456fa7dca26850684fef4ac5f73824.jpg","text":"TemporaryFile(/tmp/multipartBody2835948989276499715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323924350,"filename":"image_04112025_22_20_20_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f83a6717d14262446d7425712b1b5b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8047035616610256543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323924350,"filename":"image_04112025_22_20_17_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101717","file1":"1402101715","file0":"1402101712","file4":"1402101721","file5":"1402101723","file3":"1402101719"},"map_files_photo_id_array":[{"photo_id":"1402101723","filename":"file5"},{"photo_id":"1402101717","filename":"file2"},{"photo_id":"1402101721","filename":"file4"},{"photo_id":"1402101715","filename":"file1"},{"photo_id":"1402101712","filename":"file0"},{"photo_id":"1402101719","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101723":["hashtag1","hashtag2"]},{"1402101717":["hashtag1","hashtag2"]},{"1402101719":["hashtag1","hashtag2"]},{"1402101721":["hashtag1","hashtag2"]},{"1402101715":["hashtag1","hashtag2"]},{"1402101712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101723, 1402101717, 1402101719, 1402101721, 1402101715, 1402101712)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.165886878967285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:18:32.689737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_34_2530.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_38_3649.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_40_2681.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_50_2749.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_52_2673.jpg', '/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_55_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_34_2530.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_38_3649.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_40_2681.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_50_2749.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_52_2673.jpg
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_55_2904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101735","1402101729","1402101737","1402101731","1402101733","1402101727"],"photo_ids_order":["1402101727","1402101729","1402101731","1402101733","1402101735","1402101737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c15607607942ee7e238e45b17f80553b.jpg","text":"TemporaryFile(/tmp/multipartBody6725861423608411273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323975469,"filename":"image_04112025_22_20_52_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/2/5d3ed79deb5a1fd8c83d7d0274fc4ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5053857652560989656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323975469,"filename":"image_04112025_22_20_38_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/2/94759459400ad502ada207be02f58539.jpg","text":"TemporaryFile(/tmp/multipartBody2013009096251834678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323975469,"filename":"image_04112025_22_20_55_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5b4f5b9bd2412215e4bfcfce19ae6c0.jpg","text":"TemporaryFile(/tmp/multipartBody4361298377211007694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323975469,"filename":"image_04112025_22_20_40_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/2/1082be2c57ccdae090e09587100dd50c.jpg","text":"TemporaryFile(/tmp/multipartBody274360238890745423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323975469,"filename":"image_04112025_22_20_50_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/2/6cd5ee5e90597d88f32d107b4f6f8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2284424442086208872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767323975469,"filename":"image_04112025_22_20_34_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101731","file1":"1402101729","file0":"1402101727","file4":"1402101735","file5":"1402101737","file3":"1402101733"},"map_files_photo_id_array":[{"photo_id":"1402101737","filename":"file5"},{"photo_id":"1402101731","filename":"file2"},{"photo_id":"1402101735","filename":"file4"},{"photo_id":"1402101729","filename":"file1"},{"photo_id":"1402101727","filename":"file0"},{"photo_id":"1402101733","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101735":["hashtag1","hashtag2"]},{"1402101729":["hashtag1","hashtag2"]},{"1402101737":["hashtag1","hashtag2"]},{"1402101731":["hashtag1","hashtag2"]},{"1402101733":["hashtag1","hashtag2"]},{"1402101727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101735, 1402101729, 1402101737, 1402101731, 1402101733, 1402101727)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.08426094055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:19:21.778449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_25_9720.jpg', '/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_35_10683.jpg', '/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_45_9645.jpg', '/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_55_9709.jpg', '/home/pi/Desktop/images/02012026/03/25/image_02012026_03_26_05_10655.jpg', '/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_15_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_25_9720.jpg
/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_35_10683.jpg
/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_45_9645.jpg
/home/pi/Desktop/images/02012026/03/25/image_02012026_03_25_55_9709.jpg
/home/pi/Desktop/images/02012026/03/25/image_02012026_03_26_05_10655.jpg
/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_15_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":["1402101752","1402101754","1402101748","1402101757","1402101750","1402101744"],"photo_ids_order":["1402101744","1402101748","1402101750","1402101752","1402101754","1402101757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b49017c5488493bd5ea321d22fb933c.jpg","text":"TemporaryFile(/tmp/multipartBody760345309983801521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324022356,"filename":"image_02012026_03_25_55_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/2/dcf1ce122263014ab85630421b0d1614.jpg","text":"TemporaryFile(/tmp/multipartBody1568650907942969341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324022356,"filename":"image_02012026_03_26_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/2/d1020af187e514880703c3092ca2d836.jpg","text":"TemporaryFile(/tmp/multipartBody8473224217423742804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324022356,"filename":"image_02012026_03_25_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/2/b94d68cea6ad94475d2f80c077aca1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5742847865725239023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324022356,"filename":"image_02012026_03_26_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/2/28eb786712235d1b161b4d20817504b7.jpg","text":"TemporaryFile(/tmp/multipartBody142674853089083539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324022356,"filename":"image_02012026_03_25_45_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/2/f4204d4ac7b7595d1d705da7264ea512.jpg","text":"TemporaryFile(/tmp/multipartBody4927034515813788384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324022356,"filename":"image_02012026_03_25_25_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101750","file1":"1402101748","file0":"1402101744","file4":"1402101754","file5":"1402101757","file3":"1402101752"},"map_files_photo_id_array":[{"photo_id":"1402101757","filename":"file5"},{"photo_id":"1402101750","filename":"file2"},{"photo_id":"1402101754","filename":"file4"},{"photo_id":"1402101748","filename":"file1"},{"photo_id":"1402101744","filename":"file0"},{"photo_id":"1402101752","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101752":["hashtag1","hashtag2"]},{"1402101754":["hashtag1","hashtag2"]},{"1402101748":["hashtag1","hashtag2"]},{"1402101757":["hashtag1","hashtag2"]},{"1402101750":["hashtag1","hashtag2"]},{"1402101744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101752, 1402101754, 1402101748, 1402101757, 1402101750, 1402101744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01375675201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:20:02.560161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_24_9551.jpg', '/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_35_10745.jpg', '/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_54_9634.jpg', '/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_15_9654.jpg', '/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_24_9671.jpg', '/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_35_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_24_9551.jpg
/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_35_10745.jpg
/home/pi/Desktop/images/02012026/03/26/image_02012026_03_26_54_9634.jpg
/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_15_9654.jpg
/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_24_9671.jpg
/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_35_10602.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":["1402101773","1402101767","1402101770","1402101764","1402101766","1402101765"],"photo_ids_order":["1402101764","1402101765","1402101766","1402101767","1402101770","1402101773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/31bcf8f95e5945d91647f22bf91d69f1.jpg","text":"TemporaryFile(/tmp/multipartBody7321030246833744656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324065594,"filename":"image_02012026_03_27_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/2/5261fcf8c7f111a8082a9916bd71bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody2379407147737576364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324065594,"filename":"image_02012026_03_27_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/2/9a777c3165f82c5543a38ccf89741a47.jpg","text":"TemporaryFile(/tmp/multipartBody3023752702215857124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324065594,"filename":"image_02012026_03_27_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/2/e523c6019b48d142ef099c06fd5145f4.jpg","text":"TemporaryFile(/tmp/multipartBody3806826631056291926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324065594,"filename":"image_02012026_03_26_24_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/2/1c7fb8993a53729040856562b996f975.jpg","text":"TemporaryFile(/tmp/multipartBody404143724259909943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324065594,"filename":"image_02012026_03_26_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/2/49e0856064a4a727e11a489feeaacd25.jpg","text":"TemporaryFile(/tmp/multipartBody4987953993872896443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324065594,"filename":"image_02012026_03_26_35_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101766","file1":"1402101765","file0":"1402101764","file4":"1402101770","file5":"1402101773","file3":"1402101767"},"map_files_photo_id_array":[{"photo_id":"1402101773","filename":"file5"},{"photo_id":"1402101766","filename":"file2"},{"photo_id":"1402101770","filename":"file4"},{"photo_id":"1402101765","filename":"file1"},{"photo_id":"1402101764","filename":"file0"},{"photo_id":"1402101767","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101773":["hashtag1","hashtag2"]},{"1402101767":["hashtag1","hashtag2"]},{"1402101770":["hashtag1","hashtag2"]},{"1402101764":["hashtag1","hashtag2"]},{"1402101766":["hashtag1","hashtag2"]},{"1402101765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101773, 1402101767, 1402101770, 1402101764, 1402101766, 1402101765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13631319999695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:21:13.760432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 04:21:20.316504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_59_3695.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_01_2552.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_08_3534.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_11_2852.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_13_2702.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_16_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/20/image_04112025_22_20_59_3695.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_01_2552.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_08_3534.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_11_2852.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_13_2702.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_16_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101791","1402101799","1402101793","1402101795","1402101789","1402101786"],"photo_ids_order":["1402101786","1402101789","1402101791","1402101793","1402101795","1402101799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a271c799e277a35f63c4aee1228057cc.jpg","text":"TemporaryFile(/tmp/multipartBody2686151165333907566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324144066,"filename":"image_04112025_22_21_08_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/2/4208d610f49e90c8f9c5df9aee89cbd1.jpg","text":"TemporaryFile(/tmp/multipartBody3876510326537284842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324144066,"filename":"image_04112025_22_21_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/2/0cdcfc0766ee83c54e6d158c592d5eee.jpg","text":"TemporaryFile(/tmp/multipartBody8726755490859701766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324144066,"filename":"image_04112025_22_21_11_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/2/038bacbfa8626c26e3ccd58b7b97c71a.jpg","text":"TemporaryFile(/tmp/multipartBody263872207738015130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324144066,"filename":"image_04112025_22_21_13_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/2/8b7c3d52bae32b356dc7c0376d237933.jpg","text":"TemporaryFile(/tmp/multipartBody5305788255098154179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324144066,"filename":"image_04112025_22_21_01_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/2/9a4c0a4419f865b9be89909ef8cc7985.jpg","text":"TemporaryFile(/tmp/multipartBody1680489460864275197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324144066,"filename":"image_04112025_22_20_59_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101791","file1":"1402101789","file0":"1402101786","file4":"1402101795","file5":"1402101799","file3":"1402101793"},"map_files_photo_id_array":[{"photo_id":"1402101799","filename":"file5"},{"photo_id":"1402101791","filename":"file2"},{"photo_id":"1402101795","filename":"file4"},{"photo_id":"1402101789","filename":"file1"},{"photo_id":"1402101786","filename":"file0"},{"photo_id":"1402101793","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101791":["hashtag1","hashtag2"]},{"1402101799":["hashtag1","hashtag2"]},{"1402101793":["hashtag1","hashtag2"]},{"1402101795":["hashtag1","hashtag2"]},{"1402101789":["hashtag1","hashtag2"]},{"1402101786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101791, 1402101799, 1402101793, 1402101795, 1402101789, 1402101786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66899752616882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:22:03.017557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_45_9603.jpg', '/home/pi/Desktop/images/02012026/03/27/image_02012026_03_28_05_9904.jpg', '/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_15_9667.jpg', '/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_24_9611.jpg', '/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_35_10667.jpg', '/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_45_9510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/27/image_02012026_03_27_45_9603.jpg
/home/pi/Desktop/images/02012026/03/27/image_02012026_03_28_05_9904.jpg
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_15_9667.jpg
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_24_9611.jpg
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_35_10667.jpg
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_45_9510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101807","1402101804","1402101806","1402101809","1402101808","1402101805"],"photo_ids_order":["1402101804","1402101805","1402101806","1402101807","1402101808","1402101809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e0395415f9e5d88110a65ab9633c0de8.jpg","text":"TemporaryFile(/tmp/multipartBody5163910470350654111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324183638,"filename":"image_02012026_03_28_24_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/2/32810d67b5f2bbcc993c6a80dd3e3222.jpg","text":"TemporaryFile(/tmp/multipartBody1937604826647486850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324183638,"filename":"image_02012026_03_27_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/2/7bad5260b61c883241a4c94f581d3b6b.jpg","text":"TemporaryFile(/tmp/multipartBody661305739573293262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324183638,"filename":"image_02012026_03_28_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/2/c1067c92b128d6186f409ebdbc852b73.jpg","text":"TemporaryFile(/tmp/multipartBody474883589935970675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324183638,"filename":"image_02012026_03_28_45_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20e2775a3687bc8a7af79b548e000425.jpg","text":"TemporaryFile(/tmp/multipartBody6234519892524257619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324183638,"filename":"image_02012026_03_28_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/2/adc17fcfd8209f1c34092a93f4c33f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5370951632902266376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324183638,"filename":"image_02012026_03_28_05_9904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101806","file1":"1402101805","file0":"1402101804","file4":"1402101808","file5":"1402101809","file3":"1402101807"},"map_files_photo_id_array":[{"photo_id":"1402101809","filename":"file5"},{"photo_id":"1402101806","filename":"file2"},{"photo_id":"1402101808","filename":"file4"},{"photo_id":"1402101805","filename":"file1"},{"photo_id":"1402101804","filename":"file0"},{"photo_id":"1402101807","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101807":["hashtag1","hashtag2"]},{"1402101804":["hashtag1","hashtag2"]},{"1402101806":["hashtag1","hashtag2"]},{"1402101809":["hashtag1","hashtag2"]},{"1402101808":["hashtag1","hashtag2"]},{"1402101805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101807, 1402101804, 1402101806, 1402101809, 1402101808, 1402101805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51275634765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:22:42.672102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_20_3583.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_22_2647.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_29_3778.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_31_2679.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_34_2589.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_38_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_20_3583.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_22_2647.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_29_3778.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_31_2679.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_34_2589.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_38_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":["1402101816","1402101832","1402101826","1402101829","1402101820","1402101823"],"photo_ids_order":["1402101816","1402101820","1402101823","1402101826","1402101829","1402101832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4cdc3eb5658b0a9dee64848b41b24b1.jpg","text":"TemporaryFile(/tmp/multipartBody7879456360571116952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324224553,"filename":"image_04112025_22_21_20_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/2/77515a4a597b74e4377e5e7ffd867da6.jpg","text":"TemporaryFile(/tmp/multipartBody4292596711213794382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324224553,"filename":"image_04112025_22_21_38_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/2/8fccb7a4352a6c99a13c627419117665.jpg","text":"TemporaryFile(/tmp/multipartBody1647335838836174845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324224553,"filename":"image_04112025_22_21_31_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/2/5acaabe270d375f761886dc88b23b4ed.jpg","text":"TemporaryFile(/tmp/multipartBody6542921472326638268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324224553,"filename":"image_04112025_22_21_34_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/2/fc3dbfaf30f6cad16ae15dc8d5fdf905.jpg","text":"TemporaryFile(/tmp/multipartBody7985329450141825143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324224553,"filename":"image_04112025_22_21_22_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/2/0c1e0ed35d3bec7137a2acda58e3877d.jpg","text":"TemporaryFile(/tmp/multipartBody1306007308543712288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324224553,"filename":"image_04112025_22_21_29_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101823","file1":"1402101820","file0":"1402101816","file4":"1402101829","file5":"1402101832","file3":"1402101826"},"map_files_photo_id_array":[{"photo_id":"1402101832","filename":"file5"},{"photo_id":"1402101823","filename":"file2"},{"photo_id":"1402101829","filename":"file4"},{"photo_id":"1402101820","filename":"file1"},{"photo_id":"1402101816","filename":"file0"},{"photo_id":"1402101826","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101816":["hashtag1","hashtag2"]},{"1402101832":["hashtag1","hashtag2"]},{"1402101826":["hashtag1","hashtag2"]},{"1402101829":["hashtag1","hashtag2"]},{"1402101820":["hashtag1","hashtag2"]},{"1402101823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101816, 1402101832, 1402101826, 1402101829, 1402101820, 1402101823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77126860618591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:23:22.406363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_54_9745.jpg', '/home/pi/Desktop/images/02012026/03/28/image_02012026_03_29_05_10629.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_24_9724.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_35_10545.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_45_9604.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_54_9745.jpg
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_29_05_10629.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_24_9724.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_35_10545.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_45_9604.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_55_10614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4655454158782959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:23:32.365869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_40_2622.jpg', '/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_58_2773.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_01_2621.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_05_3682.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_07_2689.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_10_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/22/21/image_04112025_22_21_40_2622.jpg
/home/pi/Desktop/images/04112025/22/21/image_04112025_22_21_58_2773.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_01_2621.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_05_3682.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_07_2689.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_10_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":["1402101851","1402101844","1402101853","1402101847","1402101841","1402101855"],"photo_ids_order":["1402101841","1402101844","1402101847","1402101851","1402101853","1402101855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22f067d11e016478d35dc25b875ac653.jpg","text":"TemporaryFile(/tmp/multipartBody5044879030122725846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324274240,"filename":"image_04112025_22_22_05_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dba2fd2c15874e0d31ac130bbac05023.jpg","text":"TemporaryFile(/tmp/multipartBody4090209422261253510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324274240,"filename":"image_04112025_22_21_58_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/2/d70989c60b88314de138dbd9be84bffa.jpg","text":"TemporaryFile(/tmp/multipartBody4641005868803603758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324274240,"filename":"image_04112025_22_22_07_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/2/dc4511793ee5b9e9ce31d0d76d63afb4.jpg","text":"TemporaryFile(/tmp/multipartBody3547686536922729832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324274240,"filename":"image_04112025_22_22_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/2/6a70cefc0333c0d71031571cd2a76c95.jpg","text":"TemporaryFile(/tmp/multipartBody2975649877945826624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324274240,"filename":"image_04112025_22_21_40_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/2/884dacf26420e5c2263db77453d0c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody5495224829334614853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324274240,"filename":"image_04112025_22_22_10_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101847","file1":"1402101844","file0":"1402101841","file4":"1402101853","file5":"1402101855","file3":"1402101851"},"map_files_photo_id_array":[{"photo_id":"1402101855","filename":"file5"},{"photo_id":"1402101847","filename":"file2"},{"photo_id":"1402101853","filename":"file4"},{"photo_id":"1402101844","filename":"file1"},{"photo_id":"1402101841","filename":"file0"},{"photo_id":"1402101851","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101851":["hashtag1","hashtag2"]},{"1402101844":["hashtag1","hashtag2"]},{"1402101853":["hashtag1","hashtag2"]},{"1402101847":["hashtag1","hashtag2"]},{"1402101841":["hashtag1","hashtag2"]},{"1402101855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101851, 1402101844, 1402101853, 1402101847, 1402101841, 1402101855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.437113761901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:24:12.425280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_14_3696.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_16_2570.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_19_2566.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_23_3771.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_25_2665.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_28_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/22/22/image_04112025_22_22_14_3696.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_16_2570.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_19_2566.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_23_3771.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_25_2665.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_28_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101866","1402101863","1402101859","1402101868","1402101861","1402101864"],"photo_ids_order":["1402101859","1402101861","1402101863","1402101864","1402101866","1402101868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c1574c714af553a65fbf64ce604840f.jpg","text":"TemporaryFile(/tmp/multipartBody2071192349660365367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324314214,"filename":"image_04112025_22_22_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/2/122f032d521689fc3ef415bd46a0d86d.jpg","text":"TemporaryFile(/tmp/multipartBody5740615329045700452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324314214,"filename":"image_04112025_22_22_19_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/2/4d50c8b8653f2034e8aaf50bb5fed919.jpg","text":"TemporaryFile(/tmp/multipartBody6341249770403382954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324314214,"filename":"image_04112025_22_22_14_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78922d124b8148df8802c47b79f74d58.jpg","text":"TemporaryFile(/tmp/multipartBody6211801798145576535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324314214,"filename":"image_04112025_22_22_28_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/2/b13a03b0132d2f2c0f8e9b6c86295570.jpg","text":"TemporaryFile(/tmp/multipartBody6074719244161641630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324314214,"filename":"image_04112025_22_22_16_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/2/c314cedd3c4b96384b0cf1f23e0b323c.jpg","text":"TemporaryFile(/tmp/multipartBody4857841900384327974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324314214,"filename":"image_04112025_22_22_23_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101863","file1":"1402101861","file0":"1402101859","file4":"1402101866","file5":"1402101868","file3":"1402101864"},"map_files_photo_id_array":[{"photo_id":"1402101868","filename":"file5"},{"photo_id":"1402101863","filename":"file2"},{"photo_id":"1402101866","filename":"file4"},{"photo_id":"1402101861","filename":"file1"},{"photo_id":"1402101859","filename":"file0"},{"photo_id":"1402101864","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101866":["hashtag1","hashtag2"]},{"1402101863":["hashtag1","hashtag2"]},{"1402101859":["hashtag1","hashtag2"]},{"1402101868":["hashtag1","hashtag2"]},{"1402101861":["hashtag1","hashtag2"]},{"1402101864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101866, 1402101863, 1402101859, 1402101868, 1402101861, 1402101864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76391625404358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:25:02.989760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_54_9745.jpg', '/home/pi/Desktop/images/02012026/03/28/image_02012026_03_29_05_10629.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_24_9724.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_35_10545.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_45_9604.jpg', '/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_55_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_28_54_9745.jpg
/home/pi/Desktop/images/02012026/03/28/image_02012026_03_29_05_10629.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_24_9724.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_35_10545.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_45_9604.jpg
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_29_55_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101884","1402101878","1402101881","1402101877","1402101882","1402101879"],"photo_ids_order":["1402101877","1402101878","1402101879","1402101881","1402101882","1402101884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80393fb3af6870ccf76271fa0ae3c92f.jpg","text":"TemporaryFile(/tmp/multipartBody1920439756195495422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324363698,"filename":"image_02012026_03_29_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/2/246d2e94e2541ba49d5509f2f1262fde.jpg","text":"TemporaryFile(/tmp/multipartBody6197372594186066810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324363698,"filename":"image_02012026_03_29_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/2/3bc3e5691ca14932a8b9474119edbe17.jpg","text":"TemporaryFile(/tmp/multipartBody5027015402458033179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324363698,"filename":"image_02012026_03_29_35_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/2/24a780c05320be2c4202c57195697713.jpg","text":"TemporaryFile(/tmp/multipartBody5903137040864830023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324363698,"filename":"image_02012026_03_28_54_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/2/1ba2d4987427f201b164b537a7d536ac.jpg","text":"TemporaryFile(/tmp/multipartBody126958827361599639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324363698,"filename":"image_02012026_03_29_45_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/2/251a5fa37ba32b9ad3894365dd0f6de5.jpg","text":"TemporaryFile(/tmp/multipartBody7817619694295228957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324363698,"filename":"image_02012026_03_29_24_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101879","file1":"1402101878","file0":"1402101877","file4":"1402101882","file5":"1402101884","file3":"1402101881"},"map_files_photo_id_array":[{"photo_id":"1402101884","filename":"file5"},{"photo_id":"1402101879","filename":"file2"},{"photo_id":"1402101882","filename":"file4"},{"photo_id":"1402101878","filename":"file1"},{"photo_id":"1402101877","filename":"file0"},{"photo_id":"1402101881","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101884":["hashtag1","hashtag2"]},{"1402101878":["hashtag1","hashtag2"]},{"1402101881":["hashtag1","hashtag2"]},{"1402101877":["hashtag1","hashtag2"]},{"1402101882":["hashtag1","hashtag2"]},{"1402101879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101884, 1402101878, 1402101881, 1402101877, 1402101882, 1402101879)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.15791463851929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:26:03.038968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/29/image_02012026_03_30_05_9687.jpg', '/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_15_9730.jpg', '/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_24_9708.jpg', '/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_35_10716.jpg', '/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_45_9580.jpg', '/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_55_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/29/image_02012026_03_30_05_9687.jpg
/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_15_9730.jpg
/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_24_9708.jpg
/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_35_10716.jpg
/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_45_9580.jpg
/home/pi/Desktop/images/02012026/03/30/image_02012026_03_30_55_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101896","1402101900","1402101902","1402101898","1402101904","1402101897"],"photo_ids_order":["1402101896","1402101897","1402101898","1402101900","1402101902","1402101904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca376f57601adf1b09b93e8bd9e34770.jpg","text":"TemporaryFile(/tmp/multipartBody3848293954686589675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324426168,"filename":"image_02012026_03_30_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/2/e3b7de976a005592084e1cda9a10d12e.jpg","text":"TemporaryFile(/tmp/multipartBody4585576472512602711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324426168,"filename":"image_02012026_03_30_35_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/2/008d9889e8344cae8993207eaa0e2f29.jpg","text":"TemporaryFile(/tmp/multipartBody5624575984292211178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324426168,"filename":"image_02012026_03_30_45_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/2/6c9ebda155cead1986d8df232573c15f.jpg","text":"TemporaryFile(/tmp/multipartBody8969391254091085358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324426168,"filename":"image_02012026_03_30_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/2/7c2bf6e9933010043bb73225591d0a67.jpg","text":"TemporaryFile(/tmp/multipartBody913000365092584151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324426168,"filename":"image_02012026_03_30_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/2/e19d31dc34120ed58f2bcd970118c5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3831242102833075108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324426168,"filename":"image_02012026_03_30_15_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101898","file1":"1402101897","file0":"1402101896","file4":"1402101902","file5":"1402101904","file3":"1402101900"},"map_files_photo_id_array":[{"photo_id":"1402101904","filename":"file5"},{"photo_id":"1402101898","filename":"file2"},{"photo_id":"1402101902","filename":"file4"},{"photo_id":"1402101897","filename":"file1"},{"photo_id":"1402101896","filename":"file0"},{"photo_id":"1402101900","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101896":["hashtag1","hashtag2"]},{"1402101900":["hashtag1","hashtag2"]},{"1402101902":["hashtag1","hashtag2"]},{"1402101898":["hashtag1","hashtag2"]},{"1402101904":["hashtag1","hashtag2"]},{"1402101897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101896, 1402101900, 1402101902, 1402101898, 1402101904, 1402101897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.093891859054565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:26:42.573431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_32_3616.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_34_2536.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_37_2695.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_43_2657.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_46_2940.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_49_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/22/22/image_04112025_22_22_32_3616.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_34_2536.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_37_2695.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_43_2657.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_46_2940.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_49_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":["1402101918","1402101912","1402101909","1402101920","1402101914","1402101916"],"photo_ids_order":["1402101909","1402101912","1402101914","1402101916","1402101918","1402101920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/70a703f69f3bffaf2658166f13101266.jpg","text":"TemporaryFile(/tmp/multipartBody4968347285411870049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324464259,"filename":"image_04112025_22_22_46_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/2/72b43cc61cd8f9e5f58d154c4c05eb75.jpg","text":"TemporaryFile(/tmp/multipartBody3032219975010173557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324464259,"filename":"image_04112025_22_22_34_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/2/f4f36190737974a38d27ac89291522ac.jpg","text":"TemporaryFile(/tmp/multipartBody2646246342261714195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324464259,"filename":"image_04112025_22_22_32_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/2/ae867ab1d6d54ebe9396b05a847b227a.jpg","text":"TemporaryFile(/tmp/multipartBody4103439032201064771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324464259,"filename":"image_04112025_22_22_49_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/2/6c7668dc2f4899a45d2eca23e39b27c9.jpg","text":"TemporaryFile(/tmp/multipartBody7244852021613235235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324464259,"filename":"image_04112025_22_22_37_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/2/f2d263c328175866f5d9311c953ce278.jpg","text":"TemporaryFile(/tmp/multipartBody1369591177519780048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324464259,"filename":"image_04112025_22_22_43_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101914","file1":"1402101912","file0":"1402101909","file4":"1402101918","file5":"1402101920","file3":"1402101916"},"map_files_photo_id_array":[{"photo_id":"1402101920","filename":"file5"},{"photo_id":"1402101914","filename":"file2"},{"photo_id":"1402101918","filename":"file4"},{"photo_id":"1402101912","filename":"file1"},{"photo_id":"1402101909","filename":"file0"},{"photo_id":"1402101916","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101918":["hashtag1","hashtag2"]},{"1402101912":["hashtag1","hashtag2"]},{"1402101909":["hashtag1","hashtag2"]},{"1402101920":["hashtag1","hashtag2"]},{"1402101914":["hashtag1","hashtag2"]},{"1402101916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101918, 1402101912, 1402101909, 1402101920, 1402101914, 1402101916)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.22234582901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:27:41.991385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_52_2719.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_55_3762.jpg', '/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_58_2595.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_05_3840.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_07_2607.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_14_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/22/22/image_04112025_22_22_52_2719.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_55_3762.jpg
/home/pi/Desktop/images/04112025/22/22/image_04112025_22_22_58_2595.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_05_3840.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_07_2607.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_14_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":["1402101933","1402101935","1402101931","1402101940","1402101928","1402101937"],"photo_ids_order":["1402101928","1402101931","1402101933","1402101935","1402101937","1402101940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e8bdd5b6f7b84be4a13825125cfe26c4.jpg","text":"TemporaryFile(/tmp/multipartBody5965597710200004222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324523809,"filename":"image_04112025_22_22_58_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/2/ad0a84a625733810753d04716d5f0363.jpg","text":"TemporaryFile(/tmp/multipartBody7045650877353503359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324523809,"filename":"image_04112025_22_23_05_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/2/8fb626b78be6ca9a5b247fa70fae8ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8332603396175313333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324523809,"filename":"image_04112025_22_22_55_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/2/78597e931649f81c6258ca86648e2f28.jpg","text":"TemporaryFile(/tmp/multipartBody4499353457388150865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324523809,"filename":"image_04112025_22_23_14_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/2/dae06b6ee3af4777218f7f890ac96dee.jpg","text":"TemporaryFile(/tmp/multipartBody2267639276875907678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324523809,"filename":"image_04112025_22_22_52_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/2/0dc73223a2b9e28bb550208bf375bad6.jpg","text":"TemporaryFile(/tmp/multipartBody4435672445479952690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324523809,"filename":"image_04112025_22_23_07_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101933","file1":"1402101931","file0":"1402101928","file4":"1402101937","file5":"1402101940","file3":"1402101935"},"map_files_photo_id_array":[{"photo_id":"1402101940","filename":"file5"},{"photo_id":"1402101933","filename":"file2"},{"photo_id":"1402101937","filename":"file4"},{"photo_id":"1402101931","filename":"file1"},{"photo_id":"1402101928","filename":"file0"},{"photo_id":"1402101935","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101933":["hashtag1","hashtag2"]},{"1402101935":["hashtag1","hashtag2"]},{"1402101931":["hashtag1","hashtag2"]},{"1402101940":["hashtag1","hashtag2"]},{"1402101928":["hashtag1","hashtag2"]},{"1402101937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101933, 1402101935, 1402101931, 1402101940, 1402101928, 1402101937)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.089871883392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:28:36.414487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_16_2627.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_19_2671.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_22_2784.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_25_3682.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_28_2693.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_31_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/22/23/image_04112025_22_23_16_2627.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_19_2671.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_22_2784.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_25_3682.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_28_2693.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_31_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402101951","1402101945","1402101953","1402101956","1402101958","1402101948"],"photo_ids_order":["1402101945","1402101948","1402101951","1402101953","1402101956","1402101958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ab03e598e69a1b1a53afe25e0a3babc.jpg","text":"TemporaryFile(/tmp/multipartBody3601950760667680333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324579483,"filename":"image_04112025_22_23_22_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6201c42d3fc1b1a12c86fd7973969d8.jpg","text":"TemporaryFile(/tmp/multipartBody5819589895338411345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324579483,"filename":"image_04112025_22_23_16_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/2/bbcddd06834dfd5f30ffc977c3e88ced.jpg","text":"TemporaryFile(/tmp/multipartBody8258490416264802079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324579483,"filename":"image_04112025_22_23_25_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ab9812a413f9be95342a0594d1990a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4999850805415393832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324579483,"filename":"image_04112025_22_23_28_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/2/43d78281983180c9dde81d3f75616afa.jpg","text":"TemporaryFile(/tmp/multipartBody436412293431331016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324579483,"filename":"image_04112025_22_23_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/2/478222ddfac5e5f0d358f3d4d9c3f1fd.jpg","text":"TemporaryFile(/tmp/multipartBody2041130506730098314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324579483,"filename":"image_04112025_22_23_19_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101951","file1":"1402101948","file0":"1402101945","file4":"1402101956","file5":"1402101958","file3":"1402101953"},"map_files_photo_id_array":[{"photo_id":"1402101958","filename":"file5"},{"photo_id":"1402101951","filename":"file2"},{"photo_id":"1402101956","filename":"file4"},{"photo_id":"1402101948","filename":"file1"},{"photo_id":"1402101945","filename":"file0"},{"photo_id":"1402101953","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402101951":["hashtag1","hashtag2"]},{"1402101945":["hashtag1","hashtag2"]},{"1402101953":["hashtag1","hashtag2"]},{"1402101956":["hashtag1","hashtag2"]},{"1402101958":["hashtag1","hashtag2"]},{"1402101948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402101951, 1402101945, 1402101953, 1402101956, 1402101958, 1402101948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22514057159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:29:22.327019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/30/image_02012026_03_31_05_9965.jpg', '/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_15_9580.jpg', '/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_25_10371.jpg', '/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_35_9703.jpg', '/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_55_9633.jpg', '/home/pi/Desktop/images/02012026/03/31/image_02012026_03_32_05_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/30/image_02012026_03_31_05_9965.jpg
/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_15_9580.jpg
/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_25_10371.jpg
/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_35_9703.jpg
/home/pi/Desktop/images/02012026/03/31/image_02012026_03_31_55_9633.jpg
/home/pi/Desktop/images/02012026/03/31/image_02012026_03_32_05_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":["1402101971","1402101962","1402101964","1402101967","1402101969","1402101978"],"photo_ids_order":["1402101962","1402101964","1402101967","1402101969","1402101971","1402101978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d960b1ca4848bf5450fec4a0e9683d61.jpg","text":"TemporaryFile(/tmp/multipartBody2896684526609603215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324622895,"filename":"image_02012026_03_31_55_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/2/def88741b465996c6f3c950d8f1b81b4.jpg","text":"TemporaryFile(/tmp/multipartBody4058059326448155643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324622895,"filename":"image_02012026_03_31_05_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/2/d71a9af481a9444d3a3b619e8fe74465.jpg","text":"TemporaryFile(/tmp/multipartBody7163187795289143408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324622895,"filename":"image_02012026_03_31_15_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/2/09620efe760e8b1189d3152fca4b47b8.jpg","text":"TemporaryFile(/tmp/multipartBody4165429487647999818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324622895,"filename":"image_02012026_03_31_25_10371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ae136282be839ecfe11e8df9199f493.jpg","text":"TemporaryFile(/tmp/multipartBody336400946327812772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324622895,"filename":"image_02012026_03_31_35_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/2/9df4325fa2ce7f5a8b6b660ec437381b.jpg","text":"TemporaryFile(/tmp/multipartBody7422025832257521596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324622895,"filename":"image_02012026_03_32_05_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101967","file1":"1402101964","file0":"1402101962","file4":"1402101971","file5":"1402101978","file3":"1402101969"},"map_files_photo_id_array":[{"photo_id":"1402101978","filename":"file5"},{"photo_id":"1402101967","filename":"file2"},{"photo_id":"1402101971","filename":"file4"},{"photo_id":"1402101964","filename":"file1"},{"photo_id":"1402101962","filename":"file0"},{"photo_id":"1402101969","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101971":["hashtag1","hashtag2"]},{"1402101962":["hashtag1","hashtag2"]},{"1402101964":["hashtag1","hashtag2"]},{"1402101967":["hashtag1","hashtag2"]},{"1402101969":["hashtag1","hashtag2"]},{"1402101978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101971, 1402101962, 1402101964, 1402101967, 1402101969, 1402101978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.56108736991882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:30:12.445510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 04:30:22.445528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_15_9581.jpg', '/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_25_9771.jpg', '/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_34_9797.jpg', '/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_45_10730.jpg', '/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_55_9577.jpg', '/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_15_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_15_9581.jpg
/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_25_9771.jpg
/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_34_9797.jpg
/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_45_10730.jpg
/home/pi/Desktop/images/02012026/03/32/image_02012026_03_32_55_9577.jpg
/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_15_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":["1402101998","1402101989","1402101994","1402101991","1402101984","1402101987"],"photo_ids_order":["1402101984","1402101987","1402101989","1402101991","1402101994","1402101998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e66ca75a2be5927344ce5fdb9f6caee2.jpg","text":"TemporaryFile(/tmp/multipartBody4336242486362746136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324684534,"filename":"image_02012026_03_33_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/2/ee7a50683ed0aa8ec0dbeac4f235218a.jpg","text":"TemporaryFile(/tmp/multipartBody606682380609978329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324684534,"filename":"image_02012026_03_32_34_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/2/bc1b3e64006d354acfc94e1be67d0c10.jpg","text":"TemporaryFile(/tmp/multipartBody8410226998842387775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324684534,"filename":"image_02012026_03_32_55_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/2/70e324519b47c4bf0d6b5dd6867f04e2.jpg","text":"TemporaryFile(/tmp/multipartBody5728127894666462664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324684534,"filename":"image_02012026_03_32_45_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/2/4160d040c660999867d92d92bcefd8df.jpg","text":"TemporaryFile(/tmp/multipartBody5339639762687542513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324684534,"filename":"image_02012026_03_32_15_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/2/c5cd43ee2c0da65245002f953fd1eedd.jpg","text":"TemporaryFile(/tmp/multipartBody6545933777541250565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324684534,"filename":"image_02012026_03_32_25_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402101989","file1":"1402101987","file0":"1402101984","file4":"1402101994","file5":"1402101998","file3":"1402101991"},"map_files_photo_id_array":[{"photo_id":"1402101998","filename":"file5"},{"photo_id":"1402101989","filename":"file2"},{"photo_id":"1402101994","filename":"file4"},{"photo_id":"1402101987","filename":"file1"},{"photo_id":"1402101984","filename":"file0"},{"photo_id":"1402101991","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402101998":["hashtag1","hashtag2"]},{"1402101989":["hashtag1","hashtag2"]},{"1402101994":["hashtag1","hashtag2"]},{"1402101991":["hashtag1","hashtag2"]},{"1402101984":["hashtag1","hashtag2"]},{"1402101987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402101998, 1402101989, 1402101994, 1402101991, 1402101984, 1402101987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45209097862244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:31:03.334149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_25_9628.jpg', '/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_34_9750.jpg', '/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_45_10717.jpg', '/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_55_9689.jpg', '/home/pi/Desktop/images/02012026/03/33/image_02012026_03_34_04_9626.jpg', '/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_25_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_25_9628.jpg
/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_34_9750.jpg
/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_45_10717.jpg
/home/pi/Desktop/images/02012026/03/33/image_02012026_03_33_55_9689.jpg
/home/pi/Desktop/images/02012026/03/33/image_02012026_03_34_04_9626.jpg
/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_25_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102014","1402102010","1402102006","1402102009","1402102017","1402102011"],"photo_ids_order":["1402102006","1402102009","1402102010","1402102011","1402102014","1402102017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32cdd58c67425db92ef1bbfa1b9e4af0.jpg","text":"TemporaryFile(/tmp/multipartBody8716782664527524606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324724002,"filename":"image_02012026_03_34_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/2/48283cf4f9ff39333c5925603ef32d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3351754051310694494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324724002,"filename":"image_02012026_03_33_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/2/e4d7be86a2c76822bd46125a6fc2f2d0.jpg","text":"TemporaryFile(/tmp/multipartBody4514579846770141021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324724002,"filename":"image_02012026_03_33_25_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/2/9c9c4cc932c7322c16cb9a2482b55c09.jpg","text":"TemporaryFile(/tmp/multipartBody209770693399575573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324724002,"filename":"image_02012026_03_33_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/2/f4907f708e008441b1661ef901ffed86.jpg","text":"TemporaryFile(/tmp/multipartBody5720712003056235934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324724002,"filename":"image_02012026_03_34_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/2/49918dc7a9302af5458a999b5c432c65.jpg","text":"TemporaryFile(/tmp/multipartBody7573232601968621879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324724002,"filename":"image_02012026_03_33_55_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102010","file1":"1402102009","file0":"1402102006","file4":"1402102014","file5":"1402102017","file3":"1402102011"},"map_files_photo_id_array":[{"photo_id":"1402102017","filename":"file5"},{"photo_id":"1402102010","filename":"file2"},{"photo_id":"1402102014","filename":"file4"},{"photo_id":"1402102009","filename":"file1"},{"photo_id":"1402102006","filename":"file0"},{"photo_id":"1402102011","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102014":["hashtag1","hashtag2"]},{"1402102010":["hashtag1","hashtag2"]},{"1402102006":["hashtag1","hashtag2"]},{"1402102009":["hashtag1","hashtag2"]},{"1402102017":["hashtag1","hashtag2"]},{"1402102011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102014, 1402102010, 1402102006, 1402102009, 1402102017, 1402102011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.228049755096436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:31:42.730122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_35_3902.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_37_2744.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_40_2685.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_43_2594.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_49_2677.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_52_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/22/23/image_04112025_22_23_35_3902.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_37_2744.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_40_2685.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_43_2594.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_49_2677.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_52_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":["1402102034","1402102025","1402102027","1402102021","1402102029","1402102023"],"photo_ids_order":["1402102021","1402102023","1402102025","1402102027","1402102029","1402102034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a00c89790419d7b990918ac621cdd29e.jpg","text":"TemporaryFile(/tmp/multipartBody9004706692775875202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324764693,"filename":"image_04112025_22_23_52_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/2/c50ae61cafaa0ab6a1e88f1b7195b8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5026371365317861941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324764693,"filename":"image_04112025_22_23_40_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/2/20b9f5c5932c8aa72dc67f3057a99a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4170864051698546587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324764693,"filename":"image_04112025_22_23_43_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/2/f14c656d4956ed0cef0cdc27bb4adfa3.jpg","text":"TemporaryFile(/tmp/multipartBody3629024537530342932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324764693,"filename":"image_04112025_22_23_35_3902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d970205df225bfb99bd5770a39fa1f28.jpg","text":"TemporaryFile(/tmp/multipartBody4111129685496437747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324764693,"filename":"image_04112025_22_23_49_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/2/a1d1839bda4ddb7c95d35c6224b84440.jpg","text":"TemporaryFile(/tmp/multipartBody7880233474678838750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324764693,"filename":"image_04112025_22_23_37_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102025","file1":"1402102023","file0":"1402102021","file4":"1402102029","file5":"1402102034","file3":"1402102027"},"map_files_photo_id_array":[{"photo_id":"1402102034","filename":"file5"},{"photo_id":"1402102025","filename":"file2"},{"photo_id":"1402102029","filename":"file4"},{"photo_id":"1402102023","filename":"file1"},{"photo_id":"1402102021","filename":"file0"},{"photo_id":"1402102027","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102034":["hashtag1","hashtag2"]},{"1402102025":["hashtag1","hashtag2"]},{"1402102027":["hashtag1","hashtag2"]},{"1402102021":["hashtag1","hashtag2"]},{"1402102029":["hashtag1","hashtag2"]},{"1402102023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102034, 1402102025, 1402102027, 1402102021, 1402102029, 1402102023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82879662513733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:32:21.963633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_35_9795.jpg', '/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_45_10543.jpg', '/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_55_9857.jpg', '/home/pi/Desktop/images/02012026/03/34/image_02012026_03_35_05_9724.jpg', '/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_14_9658.jpg', '/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_25_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_35_9795.jpg
/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_45_10543.jpg
/home/pi/Desktop/images/02012026/03/34/image_02012026_03_34_55_9857.jpg
/home/pi/Desktop/images/02012026/03/34/image_02012026_03_35_05_9724.jpg
/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_14_9658.jpg
/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_25_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":["1402102052","1402102043","1402102045","1402102048","1402102041","1402102038"],"photo_ids_order":["1402102038","1402102041","1402102043","1402102045","1402102048","1402102052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8afe65ddc1d3b3da1daf98790b7b4d51.jpg","text":"TemporaryFile(/tmp/multipartBody6469134880457827011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324802570,"filename":"image_02012026_03_35_25_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/2/30dc786a55d9a94525ef7df6c0ce671c.jpg","text":"TemporaryFile(/tmp/multipartBody4540438795719476346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324802570,"filename":"image_02012026_03_34_55_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/2/4da529cbed552778cfa03bc979575e45.jpg","text":"TemporaryFile(/tmp/multipartBody3270623682647120845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324802570,"filename":"image_02012026_03_35_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/2/23a5fabf8a63aa938c8b318482c9f075.jpg","text":"TemporaryFile(/tmp/multipartBody8531830866525235851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324802570,"filename":"image_02012026_03_35_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/2/65c7988cc6af23aa5dd06db634ea156c.jpg","text":"TemporaryFile(/tmp/multipartBody3091712871413913582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324802570,"filename":"image_02012026_03_34_45_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/2/3bc86b47dbfac779f77e8ee2866aa1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6621545441007686914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324802570,"filename":"image_02012026_03_34_35_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102043","file1":"1402102041","file0":"1402102038","file4":"1402102048","file5":"1402102052","file3":"1402102045"},"map_files_photo_id_array":[{"photo_id":"1402102052","filename":"file5"},{"photo_id":"1402102043","filename":"file2"},{"photo_id":"1402102048","filename":"file4"},{"photo_id":"1402102041","filename":"file1"},{"photo_id":"1402102038","filename":"file0"},{"photo_id":"1402102045","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102052":["hashtag1","hashtag2"]},{"1402102043":["hashtag1","hashtag2"]},{"1402102045":["hashtag1","hashtag2"]},{"1402102048":["hashtag1","hashtag2"]},{"1402102041":["hashtag1","hashtag2"]},{"1402102038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102052, 1402102043, 1402102045, 1402102048, 1402102041, 1402102038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27889370918274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:33:02.679972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_35_9748.jpg', '/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_45_9893.jpg', '/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_54_9670.jpg', '/home/pi/Desktop/images/02012026/03/35/image_02012026_03_36_05_10761.jpg', '/home/pi/Desktop/images/02012026/03/36/image_02012026_03_36_35_10592.jpg', '/home/pi/Desktop/images/02012026/03/36/image_02012026_03_36_45_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_35_9748.jpg
/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_45_9893.jpg
/home/pi/Desktop/images/02012026/03/35/image_02012026_03_35_54_9670.jpg
/home/pi/Desktop/images/02012026/03/35/image_02012026_03_36_05_10761.jpg
/home/pi/Desktop/images/02012026/03/36/image_02012026_03_36_35_10592.jpg
/home/pi/Desktop/images/02012026/03/36/image_02012026_03_36_45_9535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102061","1402102060","1402102063","1402102065","1402102068","1402102062"],"photo_ids_order":["1402102060","1402102061","1402102062","1402102063","1402102065","1402102068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/77224ec01afdaf113d87a6c0288185ac.jpg","text":"TemporaryFile(/tmp/multipartBody2566059765880204252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324843355,"filename":"image_02012026_03_35_45_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/2/3ec482b92b3e840bfd787d2a8a9e29ab.jpg","text":"TemporaryFile(/tmp/multipartBody1909961765940265246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324843355,"filename":"image_02012026_03_35_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/2/2b72ad2f0f141ee35dcc395642921583.jpg","text":"TemporaryFile(/tmp/multipartBody3137508125825858022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324843355,"filename":"image_02012026_03_36_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/2/efc7d84d611c0919119a0e4739bd4cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2493271753277275659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324843355,"filename":"image_02012026_03_36_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/2/046153a9fa85dc3cb34fbdc095e6cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody8496614243088635889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324843355,"filename":"image_02012026_03_36_45_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/2/12f05e419d1204787b401c6a86e56c46.jpg","text":"TemporaryFile(/tmp/multipartBody5086819870884054591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324843355,"filename":"image_02012026_03_35_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102062","file1":"1402102061","file0":"1402102060","file4":"1402102065","file5":"1402102068","file3":"1402102063"},"map_files_photo_id_array":[{"photo_id":"1402102068","filename":"file5"},{"photo_id":"1402102062","filename":"file2"},{"photo_id":"1402102065","filename":"file4"},{"photo_id":"1402102061","filename":"file1"},{"photo_id":"1402102060","filename":"file0"},{"photo_id":"1402102063","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102061":["hashtag1","hashtag2"]},{"1402102060":["hashtag1","hashtag2"]},{"1402102063":["hashtag1","hashtag2"]},{"1402102065":["hashtag1","hashtag2"]},{"1402102068":["hashtag1","hashtag2"]},{"1402102062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102061, 1402102060, 1402102063, 1402102065, 1402102068, 1402102062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79690384864807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:33:42.229956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_55_3558.jpg', '/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_58_2712.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_01_2750.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_07_2741.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_10_2807.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_13_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/22/23/image_04112025_22_23_55_3558.jpg
/home/pi/Desktop/images/04112025/22/23/image_04112025_22_23_58_2712.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_01_2750.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_07_2741.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_10_2807.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_13_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102082","1402102076","1402102085","1402102078","1402102080","1402102074"],"photo_ids_order":["1402102074","1402102076","1402102078","1402102080","1402102082","1402102085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d7ff1ef5a22cf702c16bfae83136ebab.jpg","text":"TemporaryFile(/tmp/multipartBody6920232832150196510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324884046,"filename":"image_04112025_22_24_10_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87298ed0a776fc6c37bba34a86dbdb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3883126061082745794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324884046,"filename":"image_04112025_22_23_58_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/2/f22662040ef9f5a860557400541cd602.jpg","text":"TemporaryFile(/tmp/multipartBody8144992317328957961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324884046,"filename":"image_04112025_22_24_13_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/2/1b41d61313dfbdb194c2a121bd206b60.jpg","text":"TemporaryFile(/tmp/multipartBody7875844600092981385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324884046,"filename":"image_04112025_22_24_01_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/2/0992e7609b001e96efcb13672c999e85.jpg","text":"TemporaryFile(/tmp/multipartBody7077296255948577030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324884046,"filename":"image_04112025_22_24_07_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/2/17b48dde2347255abf6849047b51f166.jpg","text":"TemporaryFile(/tmp/multipartBody1360995265361037515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324884046,"filename":"image_04112025_22_23_55_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102078","file1":"1402102076","file0":"1402102074","file4":"1402102082","file5":"1402102085","file3":"1402102080"},"map_files_photo_id_array":[{"photo_id":"1402102085","filename":"file5"},{"photo_id":"1402102078","filename":"file2"},{"photo_id":"1402102082","filename":"file4"},{"photo_id":"1402102076","filename":"file1"},{"photo_id":"1402102074","filename":"file0"},{"photo_id":"1402102080","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102082":["hashtag1","hashtag2"]},{"1402102076":["hashtag1","hashtag2"]},{"1402102085":["hashtag1","hashtag2"]},{"1402102078":["hashtag1","hashtag2"]},{"1402102080":["hashtag1","hashtag2"]},{"1402102074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102082, 1402102076, 1402102085, 1402102078, 1402102080, 1402102074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.081976890563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:34:22.529840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/36/image_02012026_03_36_55_9944.jpg', '/home/pi/Desktop/images/02012026/03/36/image_02012026_03_37_05_10602.jpg', '/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_15_9770.jpg', '/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_25_9657.jpg', '/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_35_10592.jpg', '/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_45_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/36/image_02012026_03_36_55_9944.jpg
/home/pi/Desktop/images/02012026/03/36/image_02012026_03_37_05_10602.jpg
/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_15_9770.jpg
/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_25_9657.jpg
/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_35_10592.jpg
/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_45_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102097","1402102101","1402102091","1402102088","1402102093","1402102095"],"photo_ids_order":["1402102088","1402102091","1402102093","1402102095","1402102097","1402102101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/616f2a4e0c43d51ba5bd1604a2542662.jpg","text":"TemporaryFile(/tmp/multipartBody7640625253613626230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324923172,"filename":"image_02012026_03_37_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/2/dce2f9f65ca1a77be644abff53f00a69.jpg","text":"TemporaryFile(/tmp/multipartBody3219481755558079218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324923172,"filename":"image_02012026_03_37_45_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/2/109d528e3e5e64f62331fc0bade62779.jpg","text":"TemporaryFile(/tmp/multipartBody1755401713798764586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324923172,"filename":"image_02012026_03_37_05_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/2/6296e9784c33ddcea4b701f963267792.jpg","text":"TemporaryFile(/tmp/multipartBody4568314229807089939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324923172,"filename":"image_02012026_03_36_55_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8227e68dfa99bcd6439d5dae17bcfbd4.jpg","text":"TemporaryFile(/tmp/multipartBody2598326299295628575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324923172,"filename":"image_02012026_03_37_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/2/a5ecce059b5df6b5ab547d16de0c96c7.jpg","text":"TemporaryFile(/tmp/multipartBody7777756881988352123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324923172,"filename":"image_02012026_03_37_25_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102093","file1":"1402102091","file0":"1402102088","file4":"1402102097","file5":"1402102101","file3":"1402102095"},"map_files_photo_id_array":[{"photo_id":"1402102101","filename":"file5"},{"photo_id":"1402102093","filename":"file2"},{"photo_id":"1402102097","filename":"file4"},{"photo_id":"1402102091","filename":"file1"},{"photo_id":"1402102088","filename":"file0"},{"photo_id":"1402102095","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102097":["hashtag1","hashtag2"]},{"1402102101":["hashtag1","hashtag2"]},{"1402102091":["hashtag1","hashtag2"]},{"1402102088":["hashtag1","hashtag2"]},{"1402102093":["hashtag1","hashtag2"]},{"1402102095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102097, 1402102101, 1402102091, 1402102088, 1402102093, 1402102095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.011518716812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:35:03.198967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_54_9622.jpg', '/home/pi/Desktop/images/02012026/03/37/image_02012026_03_38_05_10621.jpg', '/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_15_10071.jpg', '/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_25_9693.jpg', '/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_34_9652.jpg', '/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_45_10584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/37/image_02012026_03_37_54_9622.jpg
/home/pi/Desktop/images/02012026/03/37/image_02012026_03_38_05_10621.jpg
/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_15_10071.jpg
/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_25_9693.jpg
/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_34_9652.jpg
/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_45_10584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102113","1402102107","1402102111","1402102105","1402102108","1402102110"],"photo_ids_order":["1402102105","1402102107","1402102108","1402102110","1402102111","1402102113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c4149267b87f19173c41f34a562d9ec.jpg","text":"TemporaryFile(/tmp/multipartBody7763788227405755139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324963877,"filename":"image_02012026_03_38_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/2/15fbb6dd1dc808282da0a3cfa28b3802.jpg","text":"TemporaryFile(/tmp/multipartBody8364058215303099095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324963877,"filename":"image_02012026_03_38_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/2/c67fd50121ff729298365490b54587c2.jpg","text":"TemporaryFile(/tmp/multipartBody3112706213813315033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324963877,"filename":"image_02012026_03_38_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/2/ab2be06a69bd005f85d87c25bc650642.jpg","text":"TemporaryFile(/tmp/multipartBody4616098647081129878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324963877,"filename":"image_02012026_03_37_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/2/97c7615e6402dbe5c49b364204aa9de5.jpg","text":"TemporaryFile(/tmp/multipartBody828322384657145111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324963877,"filename":"image_02012026_03_38_15_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/2/91b642e4e8f2dbe7757eeac082d75968.jpg","text":"TemporaryFile(/tmp/multipartBody6263773571634712389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767324963877,"filename":"image_02012026_03_38_25_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102108","file1":"1402102107","file0":"1402102105","file4":"1402102111","file5":"1402102113","file3":"1402102110"},"map_files_photo_id_array":[{"photo_id":"1402102113","filename":"file5"},{"photo_id":"1402102108","filename":"file2"},{"photo_id":"1402102111","filename":"file4"},{"photo_id":"1402102107","filename":"file1"},{"photo_id":"1402102105","filename":"file0"},{"photo_id":"1402102110","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102113":["hashtag1","hashtag2"]},{"1402102107":["hashtag1","hashtag2"]},{"1402102111":["hashtag1","hashtag2"]},{"1402102105":["hashtag1","hashtag2"]},{"1402102108":["hashtag1","hashtag2"]},{"1402102110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102113, 1402102107, 1402102111, 1402102105, 1402102108, 1402102110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.192256927490234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:35:42.526698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_16_2832.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_19_3598.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_22_2608.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_25_2777.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_28_3846.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_31_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_16_2832.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_19_3598.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_22_2608.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_25_2777.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_28_3846.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_31_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102130","1402102124","1402102126","1402102128","1402102122","1402102119"],"photo_ids_order":["1402102119","1402102122","1402102124","1402102126","1402102128","1402102130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6db0ff540c13857927193a6b31cf7789.jpg","text":"TemporaryFile(/tmp/multipartBody696823779832802171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325004357,"filename":"image_04112025_22_24_31_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42090f0a6be7135318cdd6e3192d6400.jpg","text":"TemporaryFile(/tmp/multipartBody9086829110809793554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325004357,"filename":"image_04112025_22_24_22_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/2/f064496f8bf6fdcf751269516aa2ab62.jpg","text":"TemporaryFile(/tmp/multipartBody9157924958064026247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325004357,"filename":"image_04112025_22_24_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/2/68c653a55329df80619fc79dedecd491.jpg","text":"TemporaryFile(/tmp/multipartBody8578677591876877781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325004357,"filename":"image_04112025_22_24_28_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b12659c6f07e56d21fc399a6835b1cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8871813414203591820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325004357,"filename":"image_04112025_22_24_19_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/2/406e0d709e40a450d9b5cc863b08a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody940094779855586298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325004357,"filename":"image_04112025_22_24_16_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102124","file1":"1402102122","file0":"1402102119","file4":"1402102128","file5":"1402102130","file3":"1402102126"},"map_files_photo_id_array":[{"photo_id":"1402102130","filename":"file5"},{"photo_id":"1402102124","filename":"file2"},{"photo_id":"1402102128","filename":"file4"},{"photo_id":"1402102122","filename":"file1"},{"photo_id":"1402102119","filename":"file0"},{"photo_id":"1402102126","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102130":["hashtag1","hashtag2"]},{"1402102124":["hashtag1","hashtag2"]},{"1402102126":["hashtag1","hashtag2"]},{"1402102128":["hashtag1","hashtag2"]},{"1402102122":["hashtag1","hashtag2"]},{"1402102119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102130, 1402102124, 1402102126, 1402102128, 1402102122, 1402102119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.051424980163574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:36:22.674578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_55_9660.jpg', '/home/pi/Desktop/images/02012026/03/38/image_02012026_03_39_04_9798.jpg', '/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_25_9738.jpg', '/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_35_9669.jpg', '/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_45_10690.jpg', '/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_55_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/38/image_02012026_03_38_55_9660.jpg
/home/pi/Desktop/images/02012026/03/38/image_02012026_03_39_04_9798.jpg
/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_25_9738.jpg
/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_35_9669.jpg
/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_45_10690.jpg
/home/pi/Desktop/images/02012026/03/39/image_02012026_03_39_55_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102136","1402102138","1402102140","1402102134","1402102143","1402102131"],"photo_ids_order":["1402102131","1402102134","1402102136","1402102138","1402102140","1402102143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/61a0df1f07320454c58584b18c017cf7.jpg","text":"TemporaryFile(/tmp/multipartBody584398816066413536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325043242,"filename":"image_02012026_03_39_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/2/e7e196592a0e8e8660c59b51b5d001f4.jpg","text":"TemporaryFile(/tmp/multipartBody6023234222544197485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325043242,"filename":"image_02012026_03_39_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/2/8559b1158ddce909a8417d3eec010cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4997875289759514855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325043242,"filename":"image_02012026_03_39_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/2/a501a6a90770bcb450236036266afa58.jpg","text":"TemporaryFile(/tmp/multipartBody8256792586250816229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325043242,"filename":"image_02012026_03_39_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/2/9da46d37c3d29a1c4eac0bfa601be8cc.jpg","text":"TemporaryFile(/tmp/multipartBody6262988561312412206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325043242,"filename":"image_02012026_03_39_55_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/2/9a1f8c1f6b0d75ef007932f7d47939d5.jpg","text":"TemporaryFile(/tmp/multipartBody6472969685084315635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325043242,"filename":"image_02012026_03_38_55_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102136","file1":"1402102134","file0":"1402102131","file4":"1402102140","file5":"1402102143","file3":"1402102138"},"map_files_photo_id_array":[{"photo_id":"1402102143","filename":"file5"},{"photo_id":"1402102136","filename":"file2"},{"photo_id":"1402102140","filename":"file4"},{"photo_id":"1402102134","filename":"file1"},{"photo_id":"1402102131","filename":"file0"},{"photo_id":"1402102138","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102136":["hashtag1","hashtag2"]},{"1402102138":["hashtag1","hashtag2"]},{"1402102140":["hashtag1","hashtag2"]},{"1402102134":["hashtag1","hashtag2"]},{"1402102143":["hashtag1","hashtag2"]},{"1402102131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102136, 1402102138, 1402102140, 1402102134, 1402102143, 1402102131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83232665061951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:37:02.613712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/39/image_02012026_03_40_05_9791.jpg', '/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_15_9706.jpg', '/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_25_9744.jpg', '/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_35_10807.jpg', '/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_45_9705.jpg', '/home/pi/Desktop/images/02012026/03/40/image_02012026_03_41_04_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/39/image_02012026_03_40_05_9791.jpg
/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_15_9706.jpg
/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_25_9744.jpg
/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_35_10807.jpg
/home/pi/Desktop/images/02012026/03/40/image_02012026_03_40_45_9705.jpg
/home/pi/Desktop/images/02012026/03/40/image_02012026_03_41_04_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":["1402102157","1402102148","1402102156","1402102150","1402102153","1402102155"],"photo_ids_order":["1402102148","1402102150","1402102153","1402102155","1402102156","1402102157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/18cc599940efe2652868bc7e844c27f1.jpg","text":"TemporaryFile(/tmp/multipartBody8847837654046066614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325083295,"filename":"image_02012026_03_41_04_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/2/75086c689ac1a73f369e27a1ce2a594e.jpg","text":"TemporaryFile(/tmp/multipartBody6525294986979646840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325083295,"filename":"image_02012026_03_40_05_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/2/fe945bc8c93e4ed279d292c25913505b.jpg","text":"TemporaryFile(/tmp/multipartBody2423843234848402353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325083295,"filename":"image_02012026_03_40_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/2/f7d8613a244d82674fb24ee871f00078.jpg","text":"TemporaryFile(/tmp/multipartBody4294242253177619339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325083295,"filename":"image_02012026_03_40_15_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/2/216d0303a8725e9a7a3833b9068cf38f.jpg","text":"TemporaryFile(/tmp/multipartBody3583051467260795169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325083295,"filename":"image_02012026_03_40_25_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/2/a9c8baf4478f855e5869c139cf2189a2.jpg","text":"TemporaryFile(/tmp/multipartBody501629785837273581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325083295,"filename":"image_02012026_03_40_35_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102153","file1":"1402102150","file0":"1402102148","file4":"1402102156","file5":"1402102157","file3":"1402102155"},"map_files_photo_id_array":[{"photo_id":"1402102157","filename":"file5"},{"photo_id":"1402102153","filename":"file2"},{"photo_id":"1402102156","filename":"file4"},{"photo_id":"1402102150","filename":"file1"},{"photo_id":"1402102148","filename":"file0"},{"photo_id":"1402102155","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102157":["hashtag1","hashtag2"]},{"1402102148":["hashtag1","hashtag2"]},{"1402102156":["hashtag1","hashtag2"]},{"1402102150":["hashtag1","hashtag2"]},{"1402102153":["hashtag1","hashtag2"]},{"1402102155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102157, 1402102148, 1402102156, 1402102150, 1402102153, 1402102155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52564477920532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:37:41.896229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_43_3561.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_46_2629.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_49_3583.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_52_2799.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_55_2732.jpg', '/home/pi/Desktop/images/04112025/22/24/image_04112025_22_25_01_3889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_43_3561.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_46_2629.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_49_3583.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_52_2799.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_24_55_2732.jpg
/home/pi/Desktop/images/04112025/22/24/image_04112025_22_25_01_3889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102180","1402102174","1402102168","1402102177","1402102171","1402102164"],"photo_ids_order":["1402102164","1402102168","1402102171","1402102174","1402102177","1402102180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfad839d16d8e04587b8f61423d21cef.jpg","text":"TemporaryFile(/tmp/multipartBody8257122522945263424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325123614,"filename":"image_04112025_22_25_01_3889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f80d700780e206162275c102b02ed92a.jpg","text":"TemporaryFile(/tmp/multipartBody1111102185112098096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325123614,"filename":"image_04112025_22_24_52_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/2/9abc416d8b202b12ae73bed903106e37.jpg","text":"TemporaryFile(/tmp/multipartBody935905041827450617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325123614,"filename":"image_04112025_22_24_46_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/2/22f7e510365a1b29facdc9deb9472498.jpg","text":"TemporaryFile(/tmp/multipartBody1458157605281129110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325123614,"filename":"image_04112025_22_24_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/2/d1e0554e482dcedf95f0d3b7a2c5d590.jpg","text":"TemporaryFile(/tmp/multipartBody1862229597400462510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325123614,"filename":"image_04112025_22_24_49_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/2/dc32348e8c8974461137f20e8d080c27.jpg","text":"TemporaryFile(/tmp/multipartBody6793520926308919272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325123614,"filename":"image_04112025_22_24_43_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102171","file1":"1402102168","file0":"1402102164","file4":"1402102177","file5":"1402102180","file3":"1402102174"},"map_files_photo_id_array":[{"photo_id":"1402102180","filename":"file5"},{"photo_id":"1402102171","filename":"file2"},{"photo_id":"1402102177","filename":"file4"},{"photo_id":"1402102168","filename":"file1"},{"photo_id":"1402102164","filename":"file0"},{"photo_id":"1402102174","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102180":["hashtag1","hashtag2"]},{"1402102174":["hashtag1","hashtag2"]},{"1402102168":["hashtag1","hashtag2"]},{"1402102177":["hashtag1","hashtag2"]},{"1402102171":["hashtag1","hashtag2"]},{"1402102164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102180, 1402102174, 1402102168, 1402102177, 1402102171, 1402102164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.484618186950684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:38:22.249125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_15_10765.jpg', '/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_25_9598.jpg', '/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_35_9808.jpg', '/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_45_10679.jpg', '/home/pi/Desktop/images/02012026/03/41/image_02012026_03_42_05_9698.jpg', '/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_25_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_15_10765.jpg
/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_25_9598.jpg
/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_35_9808.jpg
/home/pi/Desktop/images/02012026/03/41/image_02012026_03_41_45_10679.jpg
/home/pi/Desktop/images/02012026/03/41/image_02012026_03_42_05_9698.jpg
/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_25_10030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102181","1402102190","1402102192","1402102183","1402102185","1402102188"],"photo_ids_order":["1402102181","1402102183","1402102185","1402102188","1402102190","1402102192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8cb988e954d2ca8c1055d5129ec1cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4362554809104037400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325162880,"filename":"image_02012026_03_41_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/2/83f77b66d25e29601cf7777b6880b123.jpg","text":"TemporaryFile(/tmp/multipartBody6195864154993790013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325162880,"filename":"image_02012026_03_42_05_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/2/998f7412d8fa9aafb9c8b1158d020841.jpg","text":"TemporaryFile(/tmp/multipartBody1758320638213261908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325162880,"filename":"image_02012026_03_42_25_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7fc5184aa1be07584d7d1d701988fe37.jpg","text":"TemporaryFile(/tmp/multipartBody5172076506200095039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325162880,"filename":"image_02012026_03_41_25_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/2/0d8dc58fa1e739d351f25e2c57609688.jpg","text":"TemporaryFile(/tmp/multipartBody1717202308074755912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325162880,"filename":"image_02012026_03_41_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/2/64f8e0a5dd0c25402c65515f269f254b.jpg","text":"TemporaryFile(/tmp/multipartBody5625229705494158498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325162880,"filename":"image_02012026_03_41_45_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102185","file1":"1402102183","file0":"1402102181","file4":"1402102190","file5":"1402102192","file3":"1402102188"},"map_files_photo_id_array":[{"photo_id":"1402102192","filename":"file5"},{"photo_id":"1402102185","filename":"file2"},{"photo_id":"1402102190","filename":"file4"},{"photo_id":"1402102183","filename":"file1"},{"photo_id":"1402102181","filename":"file0"},{"photo_id":"1402102188","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102181":["hashtag1","hashtag2"]},{"1402102190":["hashtag1","hashtag2"]},{"1402102192":["hashtag1","hashtag2"]},{"1402102183":["hashtag1","hashtag2"]},{"1402102185":["hashtag1","hashtag2"]},{"1402102188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102181, 1402102190, 1402102192, 1402102183, 1402102185, 1402102188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09805130958557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:39:03.309229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_35_10686.jpg', '/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_45_9657.jpg', '/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_54_9600.jpg', '/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_25_9646.jpg', '/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_34_9578.jpg', '/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_45_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_35_10686.jpg
/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_45_9657.jpg
/home/pi/Desktop/images/02012026/03/42/image_02012026_03_42_54_9600.jpg
/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_25_9646.jpg
/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_34_9578.jpg
/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_45_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102212","1402102206","1402102208","1402102198","1402102201","1402102203"],"photo_ids_order":["1402102198","1402102201","1402102203","1402102206","1402102208","1402102212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/70b75dcba2738122854b7c70a5590f69.jpg","text":"TemporaryFile(/tmp/multipartBody1489687418572677642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325204118,"filename":"image_02012026_03_43_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/2/62b828ad7313661cee848cb6a8739a57.jpg","text":"TemporaryFile(/tmp/multipartBody2865602979675904337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325204118,"filename":"image_02012026_03_43_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/2/aefa9cad7f81ad1ef164b9dae21f82e1.jpg","text":"TemporaryFile(/tmp/multipartBody7433321949084326486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325204118,"filename":"image_02012026_03_43_34_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/2/e8cf1ea10224bd97ce5352a9ec4f8288.jpg","text":"TemporaryFile(/tmp/multipartBody2589053424151682463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325204118,"filename":"image_02012026_03_42_35_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/2/b1e9432f9b04b40827c152c63782002d.jpg","text":"TemporaryFile(/tmp/multipartBody448217759000552159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325204118,"filename":"image_02012026_03_42_45_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/2/1e54fa6c85b36ccb1eabe6d98e9cf018.jpg","text":"TemporaryFile(/tmp/multipartBody3593514569380006434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325204118,"filename":"image_02012026_03_42_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102203","file1":"1402102201","file0":"1402102198","file4":"1402102208","file5":"1402102212","file3":"1402102206"},"map_files_photo_id_array":[{"photo_id":"1402102212","filename":"file5"},{"photo_id":"1402102203","filename":"file2"},{"photo_id":"1402102208","filename":"file4"},{"photo_id":"1402102201","filename":"file1"},{"photo_id":"1402102198","filename":"file0"},{"photo_id":"1402102206","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102212":["hashtag1","hashtag2"]},{"1402102206":["hashtag1","hashtag2"]},{"1402102208":["hashtag1","hashtag2"]},{"1402102198":["hashtag1","hashtag2"]},{"1402102201":["hashtag1","hashtag2"]},{"1402102203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102212, 1402102206, 1402102208, 1402102198, 1402102201, 1402102203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.524924755096436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:39:42.350520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_07_3011.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_10_3638.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_13_2756.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_16_2661.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_19_3537.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_22_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_07_3011.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_10_3638.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_13_2756.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_16_2661.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_19_3537.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_22_2743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.478828430175781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:40:02.858757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_55_10279.jpg', '/home/pi/Desktop/images/02012026/03/43/image_02012026_03_44_05_9590.jpg', '/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_14_9586.jpg', '/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_25_10805.jpg', '/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_35_9721.jpg', '/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_45_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/43/image_02012026_03_43_55_10279.jpg
/home/pi/Desktop/images/02012026/03/43/image_02012026_03_44_05_9590.jpg
/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_14_9586.jpg
/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_25_10805.jpg
/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_35_9721.jpg
/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_45_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":["1402102244","1402102232","1402102241","1402102235","1402102237","1402102236"],"photo_ids_order":["1402102232","1402102235","1402102236","1402102237","1402102241","1402102244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/304ea0dec5bd0be7bdccbe4df24a069a.jpg","text":"TemporaryFile(/tmp/multipartBody2063293877269910246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325263480,"filename":"image_02012026_03_44_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/2/4af0af0ce2f8b21c10cf29d81cd68765.jpg","text":"TemporaryFile(/tmp/multipartBody7432299352402107367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325263480,"filename":"image_02012026_03_43_55_10279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/af984ec1bc09c72aade0af36f2b92c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1431112238152765964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325263480,"filename":"image_02012026_03_44_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/2/91e1aefb36a015efab460afafb4ed580.jpg","text":"TemporaryFile(/tmp/multipartBody4618695430567749666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325263480,"filename":"image_02012026_03_44_05_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/2/e270b4717cf9a4e8b1eb483063215357.jpg","text":"TemporaryFile(/tmp/multipartBody3347638409590171960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325263480,"filename":"image_02012026_03_44_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/2/bc4753370cce32a340213a2be4e4a512.jpg","text":"TemporaryFile(/tmp/multipartBody8062617748902071421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325263480,"filename":"image_02012026_03_44_14_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102236","file1":"1402102235","file0":"1402102232","file4":"1402102241","file5":"1402102244","file3":"1402102237"},"map_files_photo_id_array":[{"photo_id":"1402102244","filename":"file5"},{"photo_id":"1402102236","filename":"file2"},{"photo_id":"1402102241","filename":"file4"},{"photo_id":"1402102235","filename":"file1"},{"photo_id":"1402102232","filename":"file0"},{"photo_id":"1402102237","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102244":["hashtag1","hashtag2"]},{"1402102232":["hashtag1","hashtag2"]},{"1402102241":["hashtag1","hashtag2"]},{"1402102235":["hashtag1","hashtag2"]},{"1402102237":["hashtag1","hashtag2"]},{"1402102236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102244, 1402102232, 1402102241, 1402102235, 1402102237, 1402102236)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.3613543510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:41:03.188664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_54_9773.jpg', '/home/pi/Desktop/images/02012026/03/45/image_02012026_03_45_15_9746.jpg', '/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_14_9464.jpg', '/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_25_10694.jpg', '/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_35_9830.jpg', '/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_45_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/44/image_02012026_03_44_54_9773.jpg
/home/pi/Desktop/images/02012026/03/45/image_02012026_03_45_15_9746.jpg
/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_14_9464.jpg
/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_25_10694.jpg
/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_35_9830.jpg
/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_45_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":["1402102256","1402102259","1402102255","1402102263","1402102260","1402102257"],"photo_ids_order":["1402102255","1402102256","1402102257","1402102259","1402102260","1402102263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a941ebf660a50e12d5c728b89b50f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5843084616019215077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325323932,"filename":"image_02012026_03_45_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/2/9d55386a8c8da4d922fe11fa2a1d637a.jpg","text":"TemporaryFile(/tmp/multipartBody1785114288497574327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325323932,"filename":"image_02012026_03_46_25_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/2/67cc40565fdec08830e7298b3cf55ff3.jpg","text":"TemporaryFile(/tmp/multipartBody927277582459934241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325323932,"filename":"image_02012026_03_44_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/2/e17121ba324b0c08cbb394df9b718c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5397929257018561269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325323932,"filename":"image_02012026_03_46_45_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/2/fc23c1ef2b4a821ec599c71ac882bee1.jpg","text":"TemporaryFile(/tmp/multipartBody7258085722533093469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325323932,"filename":"image_02012026_03_46_35_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/2/24575b4b4bb3835c980784c9bbdd04c5.jpg","text":"TemporaryFile(/tmp/multipartBody7904928452927433039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325323932,"filename":"image_02012026_03_46_14_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102257","file1":"1402102256","file0":"1402102255","file4":"1402102260","file5":"1402102263","file3":"1402102259"},"map_files_photo_id_array":[{"photo_id":"1402102263","filename":"file5"},{"photo_id":"1402102257","filename":"file2"},{"photo_id":"1402102260","filename":"file4"},{"photo_id":"1402102256","filename":"file1"},{"photo_id":"1402102255","filename":"file0"},{"photo_id":"1402102259","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102256":["hashtag1","hashtag2"]},{"1402102259":["hashtag1","hashtag2"]},{"1402102255":["hashtag1","hashtag2"]},{"1402102263":["hashtag1","hashtag2"]},{"1402102260":["hashtag1","hashtag2"]},{"1402102257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102256, 1402102259, 1402102255, 1402102263, 1402102260, 1402102257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.194966077804565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:41:42.482846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_07_3011.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_10_3638.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_13_2756.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_16_2661.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_19_3537.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_22_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_07_3011.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_10_3638.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_13_2756.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_16_2661.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_19_3537.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_22_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102280","1402102274","1402102276","1402102278","1402102272","1402102269"],"photo_ids_order":["1402102269","1402102272","1402102274","1402102276","1402102278","1402102280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c57a924fbdc3cce69b0fffd25431fda.jpg","text":"TemporaryFile(/tmp/multipartBody8130154724578919644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325364061,"filename":"image_04112025_22_26_22_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/2/6f05160d121d776077effc0483bb143c.jpg","text":"TemporaryFile(/tmp/multipartBody2966776481207184931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325364061,"filename":"image_04112025_22_26_13_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/2/1f17a99c5a05ca8bc41042fcda779423.jpg","text":"TemporaryFile(/tmp/multipartBody6290743635437819266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325364061,"filename":"image_04112025_22_26_16_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/2/27fa565e43926d08495a9354c5fa41e8.jpg","text":"TemporaryFile(/tmp/multipartBody7926999006721766723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325364061,"filename":"image_04112025_22_26_19_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/2/bbb78e8717d872e4c4628a150f01f5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1222123276259797484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325364061,"filename":"image_04112025_22_26_10_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/2/cf1a22e770b09a6161c1ea200dd9ce61.jpg","text":"TemporaryFile(/tmp/multipartBody2182726012463014193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325364061,"filename":"image_04112025_22_26_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102274","file1":"1402102272","file0":"1402102269","file4":"1402102278","file5":"1402102280","file3":"1402102276"},"map_files_photo_id_array":[{"photo_id":"1402102280","filename":"file5"},{"photo_id":"1402102274","filename":"file2"},{"photo_id":"1402102278","filename":"file4"},{"photo_id":"1402102272","filename":"file1"},{"photo_id":"1402102269","filename":"file0"},{"photo_id":"1402102276","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102280":["hashtag1","hashtag2"]},{"1402102274":["hashtag1","hashtag2"]},{"1402102276":["hashtag1","hashtag2"]},{"1402102278":["hashtag1","hashtag2"]},{"1402102272":["hashtag1","hashtag2"]},{"1402102269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102280, 1402102274, 1402102276, 1402102278, 1402102272, 1402102269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6014518737793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:42:22.691132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_54_9635.jpg', '/home/pi/Desktop/images/02012026/03/46/image_02012026_03_47_05_10400.jpg', '/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_14_9611.jpg', '/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_34_9761.jpg', '/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_45_10721.jpg', '/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_55_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/46/image_02012026_03_46_54_9635.jpg
/home/pi/Desktop/images/02012026/03/46/image_02012026_03_47_05_10400.jpg
/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_14_9611.jpg
/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_34_9761.jpg
/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_45_10721.jpg
/home/pi/Desktop/images/02012026/03/47/image_02012026_03_47_55_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":["1402102289","1402102286","1402102288","1402102282","1402102284","1402102293"],"photo_ids_order":["1402102282","1402102284","1402102286","1402102288","1402102289","1402102293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6792bbed39c58c8a2c31ab097a0933e.jpg","text":"TemporaryFile(/tmp/multipartBody5752366473936548276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325403281,"filename":"image_02012026_03_47_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/2/683089ed576aac331f44a63022eaaee1.jpg","text":"TemporaryFile(/tmp/multipartBody7155586158127979181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325403281,"filename":"image_02012026_03_47_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/2/bc6989c9de9285811290c24240431b26.jpg","text":"TemporaryFile(/tmp/multipartBody2184176245024489291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325403281,"filename":"image_02012026_03_47_34_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/2/737aff7431d3eb3be36994e4dd54ef54.jpg","text":"TemporaryFile(/tmp/multipartBody6126509222417521604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325403281,"filename":"image_02012026_03_46_54_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/2/dfc19a1133119f4f14f469040830d00a.jpg","text":"TemporaryFile(/tmp/multipartBody7052222431520798633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325403281,"filename":"image_02012026_03_47_05_10400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5947f09f1b3fb97ab8b35f3b384876b6.jpg","text":"TemporaryFile(/tmp/multipartBody8189769616208634935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325403281,"filename":"image_02012026_03_47_55_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102286","file1":"1402102284","file0":"1402102282","file4":"1402102289","file5":"1402102293","file3":"1402102288"},"map_files_photo_id_array":[{"photo_id":"1402102293","filename":"file5"},{"photo_id":"1402102286","filename":"file2"},{"photo_id":"1402102289","filename":"file4"},{"photo_id":"1402102284","filename":"file1"},{"photo_id":"1402102282","filename":"file0"},{"photo_id":"1402102288","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102289":["hashtag1","hashtag2"]},{"1402102286":["hashtag1","hashtag2"]},{"1402102288":["hashtag1","hashtag2"]},{"1402102282":["hashtag1","hashtag2"]},{"1402102284":["hashtag1","hashtag2"]},{"1402102293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102289, 1402102286, 1402102288, 1402102282, 1402102284, 1402102293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66225981712341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:43:02.416534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_14_9730.jpg', '/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_25_10632.jpg', '/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_45_10655.jpg', '/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_55_9771.jpg', '/home/pi/Desktop/images/02012026/03/48/image_02012026_03_49_05_9725.jpg', '/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_14_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_14_9730.jpg
/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_25_10632.jpg
/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_45_10655.jpg
/home/pi/Desktop/images/02012026/03/48/image_02012026_03_48_55_9771.jpg
/home/pi/Desktop/images/02012026/03/48/image_02012026_03_49_05_9725.jpg
/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_14_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":["1402102305","1402102298","1402102301","1402102300","1402102308","1402102302"],"photo_ids_order":["1402102298","1402102300","1402102301","1402102302","1402102305","1402102308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/097709003370845649284f02062e0a43.jpg","text":"TemporaryFile(/tmp/multipartBody4021974377626799093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325443187,"filename":"image_02012026_03_49_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/2/829ec36bf33928bffa21aee3ffb1597d.jpg","text":"TemporaryFile(/tmp/multipartBody8370019504273808375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325443187,"filename":"image_02012026_03_48_14_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/2/464fca0eb23d12dac3c72da8b11a94ea.jpg","text":"TemporaryFile(/tmp/multipartBody7832568602541007361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325443187,"filename":"image_02012026_03_48_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/2/0693737bf1e70f787aeb9459fb00f085.jpg","text":"TemporaryFile(/tmp/multipartBody3610857630477997867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325443187,"filename":"image_02012026_03_48_25_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/2/848307e9c2a6fd521f71770e50446540.jpg","text":"TemporaryFile(/tmp/multipartBody6705714735639326825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325443187,"filename":"image_02012026_03_49_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/2/5384a3b99619eab7bb9f67fc34e0274b.jpg","text":"TemporaryFile(/tmp/multipartBody4025545402536337103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325443187,"filename":"image_02012026_03_48_55_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102301","file1":"1402102300","file0":"1402102298","file4":"1402102305","file5":"1402102308","file3":"1402102302"},"map_files_photo_id_array":[{"photo_id":"1402102308","filename":"file5"},{"photo_id":"1402102301","filename":"file2"},{"photo_id":"1402102305","filename":"file4"},{"photo_id":"1402102300","filename":"file1"},{"photo_id":"1402102298","filename":"file0"},{"photo_id":"1402102302","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102305":["hashtag1","hashtag2"]},{"1402102298":["hashtag1","hashtag2"]},{"1402102301":["hashtag1","hashtag2"]},{"1402102300":["hashtag1","hashtag2"]},{"1402102308":["hashtag1","hashtag2"]},{"1402102302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102305, 1402102298, 1402102301, 1402102300, 1402102308, 1402102302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63706922531128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:43:41.839456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_38_9636.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_41_1678.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_49_7547.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_51_1691.jpg', '/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_52_1764.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_01_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_38_9636.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_41_1678.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_49_7547.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_51_1691.jpg
/home/pi/Desktop/images/04112025/22/26/image_04112025_22_26_52_1764.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_01_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102325","1402102319","1402102316","1402102321","1402102314","1402102323"],"photo_ids_order":["1402102314","1402102316","1402102319","1402102321","1402102323","1402102325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eea7f603115c220e86e2a7d12d5523f6.jpg","text":"TemporaryFile(/tmp/multipartBody2592500564630486155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325486301,"filename":"image_04112025_22_27_01_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/2/0bd37ca1bf39ecaa6e5283d99fb4c681.jpg","text":"TemporaryFile(/tmp/multipartBody6787159542183112042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325486301,"filename":"image_04112025_22_26_49_7547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/311b96cf0c9814caf707a47c495258e8.jpg","text":"TemporaryFile(/tmp/multipartBody4694929295759306657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325486301,"filename":"image_04112025_22_26_41_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/2/962badf7e31ea9c5961b22677de5851f.jpg","text":"TemporaryFile(/tmp/multipartBody4769563111612460527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325486301,"filename":"image_04112025_22_26_51_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/2/be3ec0ba35c4ce2986e18929c83d1c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1838060704918793879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325486301,"filename":"image_04112025_22_26_38_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/2/56bfc77049f00cec8f17c86627a2c6a2.jpg","text":"TemporaryFile(/tmp/multipartBody5486635165376061965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325486301,"filename":"image_04112025_22_26_52_1764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102319","file1":"1402102316","file0":"1402102314","file4":"1402102323","file5":"1402102325","file3":"1402102321"},"map_files_photo_id_array":[{"photo_id":"1402102325","filename":"file5"},{"photo_id":"1402102319","filename":"file2"},{"photo_id":"1402102323","filename":"file4"},{"photo_id":"1402102316","filename":"file1"},{"photo_id":"1402102314","filename":"file0"},{"photo_id":"1402102321","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102325":["hashtag1","hashtag2"]},{"1402102319":["hashtag1","hashtag2"]},{"1402102316":["hashtag1","hashtag2"]},{"1402102321":["hashtag1","hashtag2"]},{"1402102314":["hashtag1","hashtag2"]},{"1402102323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102325, 1402102319, 1402102316, 1402102321, 1402102314, 1402102323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95236325263977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:44:32.148863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_04_3682.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_07_2604.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_13_3716.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_19_2528.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_22_3884.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_25_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_04_3682.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_07_2604.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_13_3716.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_19_2528.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_22_3884.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_25_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":["1402102343","1402102340","1402102334","1402102336","1402102345","1402102332"],"photo_ids_order":["1402102332","1402102334","1402102336","1402102340","1402102343","1402102345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ff9a60f799dc605c3e4ee2efd3b1233.jpg","text":"TemporaryFile(/tmp/multipartBody1500277331098498520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325534122,"filename":"image_04112025_22_27_22_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/2/aad2f866c5d86c51d5a14e18e386b261.jpg","text":"TemporaryFile(/tmp/multipartBody9187129025394591478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325534122,"filename":"image_04112025_22_27_19_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/2/a779bbe4282110dc9fcfaca83ea162f9.jpg","text":"TemporaryFile(/tmp/multipartBody4125243729551418294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325534122,"filename":"image_04112025_22_27_07_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/2/e9eaf0909af296e6d305437f7b7a9b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4351046234061696827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325534122,"filename":"image_04112025_22_27_13_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/2/cd641c9881e7293a96e71aa8875d651c.jpg","text":"TemporaryFile(/tmp/multipartBody904905379226458771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325534122,"filename":"image_04112025_22_27_25_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/2/9c9b118c788423f2f368363b20d707f1.jpg","text":"TemporaryFile(/tmp/multipartBody8938902339141312524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325534122,"filename":"image_04112025_22_27_04_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102336","file1":"1402102334","file0":"1402102332","file4":"1402102343","file5":"1402102345","file3":"1402102340"},"map_files_photo_id_array":[{"photo_id":"1402102345","filename":"file5"},{"photo_id":"1402102336","filename":"file2"},{"photo_id":"1402102343","filename":"file4"},{"photo_id":"1402102334","filename":"file1"},{"photo_id":"1402102332","filename":"file0"},{"photo_id":"1402102340","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102343":["hashtag1","hashtag2"]},{"1402102340":["hashtag1","hashtag2"]},{"1402102334":["hashtag1","hashtag2"]},{"1402102336":["hashtag1","hashtag2"]},{"1402102345":["hashtag1","hashtag2"]},{"1402102332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102343, 1402102340, 1402102334, 1402102336, 1402102345, 1402102332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02522277832031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:45:16.708876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_31_3622.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_34_2695.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_37_2435.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_40_3062.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_43_3659.jpg', '/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_51_7880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_31_3622.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_34_2695.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_37_2435.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_40_3062.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_43_3659.jpg
/home/pi/Desktop/images/04112025/22/27/image_04112025_22_27_51_7880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102358","1402102352","1402102349","1402102354","1402102350","1402102356"],"photo_ids_order":["1402102349","1402102350","1402102352","1402102354","1402102356","1402102358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da4b058b155aa0861205c374cdccfc45.jpg","text":"TemporaryFile(/tmp/multipartBody8124008239954084474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325578417,"filename":"image_04112025_22_27_51_7880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5a7ce56ad5ad44b5d6033c199a9b80e.jpg","text":"TemporaryFile(/tmp/multipartBody2597987497540188203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325578417,"filename":"image_04112025_22_27_37_2435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eaa2bb8f562219636dceda8130e6f504.jpg","text":"TemporaryFile(/tmp/multipartBody2917410463382646519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325578417,"filename":"image_04112025_22_27_31_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/2/51f4bc793cfddb3df4d52dc7c76a9db5.jpg","text":"TemporaryFile(/tmp/multipartBody6065030612371995248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325578417,"filename":"image_04112025_22_27_40_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d7dda90fa64480c61a31c59124c9124c.jpg","text":"TemporaryFile(/tmp/multipartBody5108289147307155519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325578417,"filename":"image_04112025_22_27_34_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/2/486e3d1ca0eaaa29ea99ace77843b2f5.jpg","text":"TemporaryFile(/tmp/multipartBody4233580538836010868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325578417,"filename":"image_04112025_22_27_43_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102352","file1":"1402102350","file0":"1402102349","file4":"1402102356","file5":"1402102358","file3":"1402102354"},"map_files_photo_id_array":[{"photo_id":"1402102358","filename":"file5"},{"photo_id":"1402102352","filename":"file2"},{"photo_id":"1402102356","filename":"file4"},{"photo_id":"1402102350","filename":"file1"},{"photo_id":"1402102349","filename":"file0"},{"photo_id":"1402102354","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102358":["hashtag1","hashtag2"]},{"1402102352":["hashtag1","hashtag2"]},{"1402102349":["hashtag1","hashtag2"]},{"1402102354":["hashtag1","hashtag2"]},{"1402102350":["hashtag1","hashtag2"]},{"1402102356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102358, 1402102352, 1402102349, 1402102354, 1402102350, 1402102356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.631916522979736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:46:02.369264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_25_10681.jpg', '/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_35_9606.jpg', '/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_45_10590.jpg', '/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_55_9550.jpg', '/home/pi/Desktop/images/02012026/03/49/image_02012026_03_50_05_9705.jpg', '/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_15_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_25_10681.jpg
/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_35_9606.jpg
/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_45_10590.jpg
/home/pi/Desktop/images/02012026/03/49/image_02012026_03_49_55_9550.jpg
/home/pi/Desktop/images/02012026/03/49/image_02012026_03_50_05_9705.jpg
/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_15_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102373","1402102367","1402102366","1402102369","1402102371","1402102368"],"photo_ids_order":["1402102366","1402102367","1402102368","1402102369","1402102371","1402102373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1344439234fd7cd7dba2b0c3730154c6.jpg","text":"TemporaryFile(/tmp/multipartBody558314270830545017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325623043,"filename":"image_02012026_03_50_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/2/0857597494184de7d17723e3b1c6d3f1.jpg","text":"TemporaryFile(/tmp/multipartBody2672953910666202433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325623043,"filename":"image_02012026_03_49_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/2/739ea0df44b4032404702443dcf30d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3968960850790226304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325623043,"filename":"image_02012026_03_49_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/2/b78a4473ef15573a7187570e1a691aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8906911363482445396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325623043,"filename":"image_02012026_03_49_55_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/2/0f0348ea26dab7463032cde7dce9b615.jpg","text":"TemporaryFile(/tmp/multipartBody3444871382971289377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325623043,"filename":"image_02012026_03_50_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/2/f087c4e6e17914bcc2eb34687b14900a.jpg","text":"TemporaryFile(/tmp/multipartBody7286154370929679641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325623043,"filename":"image_02012026_03_49_45_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102368","file1":"1402102367","file0":"1402102366","file4":"1402102371","file5":"1402102373","file3":"1402102369"},"map_files_photo_id_array":[{"photo_id":"1402102373","filename":"file5"},{"photo_id":"1402102368","filename":"file2"},{"photo_id":"1402102371","filename":"file4"},{"photo_id":"1402102367","filename":"file1"},{"photo_id":"1402102366","filename":"file0"},{"photo_id":"1402102369","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102373":["hashtag1","hashtag2"]},{"1402102367":["hashtag1","hashtag2"]},{"1402102366":["hashtag1","hashtag2"]},{"1402102369":["hashtag1","hashtag2"]},{"1402102371":["hashtag1","hashtag2"]},{"1402102368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102373, 1402102367, 1402102366, 1402102369, 1402102371, 1402102368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84180474281311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:46:41.980161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_03_11691.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_05_1666.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_06_1585.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_12_5586.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_13_1709.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_17_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/22/28/image_04112025_22_28_03_11691.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_05_1666.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_06_1585.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_12_5586.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_13_1709.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_17_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":["1402102387","1402102389","1402102380","1402102383","1402102391","1402102385"],"photo_ids_order":["1402102380","1402102383","1402102385","1402102387","1402102389","1402102391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff420191cd91c6d3a76732ca9eabe39b.jpg","text":"TemporaryFile(/tmp/multipartBody6664161571343985381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325663849,"filename":"image_04112025_22_28_12_5586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be8a7411b8db9798bc2d7808cebcef7d.jpg","text":"TemporaryFile(/tmp/multipartBody2015559612072151873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325663849,"filename":"image_04112025_22_28_13_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/2/eeb02168c67be346f448434f4d393613.jpg","text":"TemporaryFile(/tmp/multipartBody2656757788853127735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325663849,"filename":"image_04112025_22_28_03_11691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b97a836c3d8d8a24505812e95e6e8db.jpg","text":"TemporaryFile(/tmp/multipartBody6012182279398256551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325663849,"filename":"image_04112025_22_28_05_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/2/23c3da59a9c62fdf1f35963f222dbc62.jpg","text":"TemporaryFile(/tmp/multipartBody6313542786807797793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325663849,"filename":"image_04112025_22_28_17_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/2/cc182e9909a0d365d465530b5073d8cc.jpg","text":"TemporaryFile(/tmp/multipartBody3125753054732622018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325663849,"filename":"image_04112025_22_28_06_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102385","file1":"1402102383","file0":"1402102380","file4":"1402102389","file5":"1402102391","file3":"1402102387"},"map_files_photo_id_array":[{"photo_id":"1402102391","filename":"file5"},{"photo_id":"1402102385","filename":"file2"},{"photo_id":"1402102389","filename":"file4"},{"photo_id":"1402102383","filename":"file1"},{"photo_id":"1402102380","filename":"file0"},{"photo_id":"1402102387","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102387":["hashtag1","hashtag2"]},{"1402102389":["hashtag1","hashtag2"]},{"1402102380":["hashtag1","hashtag2"]},{"1402102383":["hashtag1","hashtag2"]},{"1402102391":["hashtag1","hashtag2"]},{"1402102385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102387, 1402102389, 1402102380, 1402102383, 1402102391, 1402102385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98535704612732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:47:22.115274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_25_9700.jpg', '/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_35_9712.jpg', '/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_44_9691.jpg', '/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_55_10723.jpg', '/home/pi/Desktop/images/02012026/03/50/image_02012026_03_51_05_9655.jpg', '/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_14_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_25_9700.jpg
/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_35_9712.jpg
/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_44_9691.jpg
/home/pi/Desktop/images/02012026/03/50/image_02012026_03_50_55_10723.jpg
/home/pi/Desktop/images/02012026/03/50/image_02012026_03_51_05_9655.jpg
/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_14_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":["1402102394","1402102396","1402102399","1402102403","1402102408","1402102401"],"photo_ids_order":["1402102394","1402102396","1402102399","1402102401","1402102403","1402102408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e6fdcff5950f8e553209bdb2a3858d3.jpg","text":"TemporaryFile(/tmp/multipartBody2925429287049097214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325702716,"filename":"image_02012026_03_50_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/2/522ed5c9ad87e8c799f7a1c1130768cd.jpg","text":"TemporaryFile(/tmp/multipartBody3673295060819660886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325702716,"filename":"image_02012026_03_50_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/2/4d73d557cb2b1ecd962082c42905e873.jpg","text":"TemporaryFile(/tmp/multipartBody1089116714022230602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325702716,"filename":"image_02012026_03_50_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/2/0ce1ae88747d2823971d9b68d1e885f4.jpg","text":"TemporaryFile(/tmp/multipartBody1338190822742802843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325702716,"filename":"image_02012026_03_51_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/2/542b4a2de5614d3cc609db288e808b56.jpg","text":"TemporaryFile(/tmp/multipartBody8107017283825100640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325702716,"filename":"image_02012026_03_51_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/2/dc08b996618814309e4d05a3f2d5bc4c.jpg","text":"TemporaryFile(/tmp/multipartBody3127718321440438543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325702716,"filename":"image_02012026_03_50_55_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102399","file1":"1402102396","file0":"1402102394","file4":"1402102403","file5":"1402102408","file3":"1402102401"},"map_files_photo_id_array":[{"photo_id":"1402102408","filename":"file5"},{"photo_id":"1402102399","filename":"file2"},{"photo_id":"1402102403","filename":"file4"},{"photo_id":"1402102396","filename":"file1"},{"photo_id":"1402102394","filename":"file0"},{"photo_id":"1402102401","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102394":["hashtag1","hashtag2"]},{"1402102396":["hashtag1","hashtag2"]},{"1402102399":["hashtag1","hashtag2"]},{"1402102403":["hashtag1","hashtag2"]},{"1402102408":["hashtag1","hashtag2"]},{"1402102401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102394, 1402102396, 1402102399, 1402102403, 1402102408, 1402102401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08722758293152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:48:02.807919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_25_10739.jpg', '/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_44_9692.jpg', '/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_55_10682.jpg', '/home/pi/Desktop/images/02012026/03/51/image_02012026_03_52_05_9692.jpg', '/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_14_9576.jpg', '/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_25_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_25_10739.jpg
/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_44_9692.jpg
/home/pi/Desktop/images/02012026/03/51/image_02012026_03_51_55_10682.jpg
/home/pi/Desktop/images/02012026/03/51/image_02012026_03_52_05_9692.jpg
/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_14_9576.jpg
/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_25_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":["1402102412","1402102415","1402102409","1402102414","1402102417","1402102411"],"photo_ids_order":["1402102409","1402102411","1402102412","1402102414","1402102415","1402102417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce39458582b07d1ccd6e9298a29ce8b9.jpg","text":"TemporaryFile(/tmp/multipartBody6772963767112826178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325743511,"filename":"image_02012026_03_51_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/2/8ba7cb084e79fabfe7781306d8770cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5715707824381249177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325743511,"filename":"image_02012026_03_52_14_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/2/8707325a019e7fa47d2e1034f820545d.jpg","text":"TemporaryFile(/tmp/multipartBody8427778372424679447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325743511,"filename":"image_02012026_03_51_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/2/1c0cef28bd91e573e3671bbb3ec20bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8902125252852637912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325743511,"filename":"image_02012026_03_52_05_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/2/d3e896af03bd06e193014ba6dcbd3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3976500447944166490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325743511,"filename":"image_02012026_03_52_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/2/bd88c720eb38748c016f68f09d9a7584.jpg","text":"TemporaryFile(/tmp/multipartBody5178069631597852184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325743511,"filename":"image_02012026_03_51_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102412","file1":"1402102411","file0":"1402102409","file4":"1402102415","file5":"1402102417","file3":"1402102414"},"map_files_photo_id_array":[{"photo_id":"1402102417","filename":"file5"},{"photo_id":"1402102412","filename":"file2"},{"photo_id":"1402102415","filename":"file4"},{"photo_id":"1402102411","filename":"file1"},{"photo_id":"1402102409","filename":"file0"},{"photo_id":"1402102414","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102412":["hashtag1","hashtag2"]},{"1402102415":["hashtag1","hashtag2"]},{"1402102409":["hashtag1","hashtag2"]},{"1402102414":["hashtag1","hashtag2"]},{"1402102417":["hashtag1","hashtag2"]},{"1402102411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102412, 1402102415, 1402102409, 1402102414, 1402102417, 1402102411)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.82105779647827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:49:03.389916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_35_9662.jpg', '/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_45_10608.jpg', '/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_55_9747.jpg', '/home/pi/Desktop/images/02012026/03/52/image_02012026_03_53_05_9793.jpg', '/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_15_9740.jpg', '/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_24_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_35_9662.jpg
/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_45_10608.jpg
/home/pi/Desktop/images/02012026/03/52/image_02012026_03_52_55_9747.jpg
/home/pi/Desktop/images/02012026/03/52/image_02012026_03_53_05_9793.jpg
/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_15_9740.jpg
/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_24_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102430","1402102424","1402102432","1402102426","1402102425","1402102428"],"photo_ids_order":["1402102424","1402102425","1402102426","1402102428","1402102430","1402102432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/409592ae6f0912e8a5989ad04381dd51.jpg","text":"TemporaryFile(/tmp/multipartBody2924876623497830791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325804203,"filename":"image_02012026_03_53_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/2/fb5f1d95c740a3cf552dae8b449fba79.jpg","text":"TemporaryFile(/tmp/multipartBody2595906470413610867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325804203,"filename":"image_02012026_03_52_35_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/2/2afc68813899c8402fb4f4ce377ffd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6746177464300663428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325804203,"filename":"image_02012026_03_53_24_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/2/55a00d011f5041a413c06a497d358e86.jpg","text":"TemporaryFile(/tmp/multipartBody2313169019850209924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325804203,"filename":"image_02012026_03_52_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/2/44e328d55b8fe887f1283cd4f775a302.jpg","text":"TemporaryFile(/tmp/multipartBody7337434784059637786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325804203,"filename":"image_02012026_03_52_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/2/3cbec3a193d685d8ee5b26584984e0f6.jpg","text":"TemporaryFile(/tmp/multipartBody883053708704100808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325804203,"filename":"image_02012026_03_53_05_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102426","file1":"1402102425","file0":"1402102424","file4":"1402102430","file5":"1402102432","file3":"1402102428"},"map_files_photo_id_array":[{"photo_id":"1402102432","filename":"file5"},{"photo_id":"1402102426","filename":"file2"},{"photo_id":"1402102430","filename":"file4"},{"photo_id":"1402102425","filename":"file1"},{"photo_id":"1402102424","filename":"file0"},{"photo_id":"1402102428","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102430":["hashtag1","hashtag2"]},{"1402102424":["hashtag1","hashtag2"]},{"1402102432":["hashtag1","hashtag2"]},{"1402102426":["hashtag1","hashtag2"]},{"1402102425":["hashtag1","hashtag2"]},{"1402102428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102430, 1402102424, 1402102432, 1402102426, 1402102425, 1402102428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46356916427612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:49:42.523068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_26_9658.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_33_1797.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_34_1679.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_36_1786.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_38_1584.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_39_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_26_9658.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_33_1797.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_34_1679.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_36_1786.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_38_1584.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_39_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102442","1402102445","1402102441","1402102444","1402102438","1402102443"],"photo_ids_order":["1402102438","1402102441","1402102442","1402102443","1402102444","1402102445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb6e6288b3c26bec61ba50d4cc3f1ec4.jpg","text":"TemporaryFile(/tmp/multipartBody974574841422739877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325844344,"filename":"image_04112025_22_28_34_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/2/83423b6b3440ef169d6a95fc3b31ff0a.jpg","text":"TemporaryFile(/tmp/multipartBody9148768532269003794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325844344,"filename":"image_04112025_22_28_39_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/2/1a009ec763575cf1107f1fe58661b873.jpg","text":"TemporaryFile(/tmp/multipartBody3318632624753190882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325844344,"filename":"image_04112025_22_28_33_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/2/803cc23156d002ef8151940a18e153a3.jpg","text":"TemporaryFile(/tmp/multipartBody156276265921405772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325844344,"filename":"image_04112025_22_28_38_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/2/8c62c4052797429677ce349cb5214da0.jpg","text":"TemporaryFile(/tmp/multipartBody6512104234238069814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325844344,"filename":"image_04112025_22_28_26_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/2/e621c406a4408f5f1d5cce3f983bdab1.jpg","text":"TemporaryFile(/tmp/multipartBody5905939368018601956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325844344,"filename":"image_04112025_22_28_36_1786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102442","file1":"1402102441","file0":"1402102438","file4":"1402102444","file5":"1402102445","file3":"1402102443"},"map_files_photo_id_array":[{"photo_id":"1402102445","filename":"file5"},{"photo_id":"1402102442","filename":"file2"},{"photo_id":"1402102444","filename":"file4"},{"photo_id":"1402102441","filename":"file1"},{"photo_id":"1402102438","filename":"file0"},{"photo_id":"1402102443","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102442":["hashtag1","hashtag2"]},{"1402102445":["hashtag1","hashtag2"]},{"1402102441":["hashtag1","hashtag2"]},{"1402102444":["hashtag1","hashtag2"]},{"1402102438":["hashtag1","hashtag2"]},{"1402102443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102442, 1402102445, 1402102441, 1402102444, 1402102438, 1402102443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85318112373352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:50:22.764560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_35_10690.jpg', '/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_45_9570.jpg', '/home/pi/Desktop/images/02012026/03/53/image_02012026_03_54_05_9791.jpg', '/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_15_9822.jpg', '/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_25_9676.jpg', '/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_35_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_35_10690.jpg
/home/pi/Desktop/images/02012026/03/53/image_02012026_03_53_45_9570.jpg
/home/pi/Desktop/images/02012026/03/53/image_02012026_03_54_05_9791.jpg
/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_15_9822.jpg
/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_25_9676.jpg
/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_35_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102448","1402102463","1402102451","1402102453","1402102456","1402102455"],"photo_ids_order":["1402102448","1402102451","1402102453","1402102455","1402102456","1402102463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75dc05af9e789b5cab5e9c37006d0cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5456843840113657595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325883375,"filename":"image_02012026_03_53_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/2/07eb9531c28437d5ede9695e00dad4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3752952518845487938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325883375,"filename":"image_02012026_03_54_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/2/0ac509c5616408191b26d46d418ec3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7870624178353467168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325883375,"filename":"image_02012026_03_53_45_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/2/00b86eddba6a7f70417f2a9ed2dcd8ef.jpg","text":"TemporaryFile(/tmp/multipartBody884887404071306492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325883375,"filename":"image_02012026_03_54_05_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/2/b5b440620082bc8df2c1b70bbd5a223e.jpg","text":"TemporaryFile(/tmp/multipartBody3520037951135942653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325883375,"filename":"image_02012026_03_54_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/2/b868a5372c9ec3478fe8e9156a4bd795.jpg","text":"TemporaryFile(/tmp/multipartBody3016225451000320200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325883375,"filename":"image_02012026_03_54_15_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102453","file1":"1402102451","file0":"1402102448","file4":"1402102456","file5":"1402102463","file3":"1402102455"},"map_files_photo_id_array":[{"photo_id":"1402102463","filename":"file5"},{"photo_id":"1402102453","filename":"file2"},{"photo_id":"1402102456","filename":"file4"},{"photo_id":"1402102451","filename":"file1"},{"photo_id":"1402102448","filename":"file0"},{"photo_id":"1402102455","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102448":["hashtag1","hashtag2"]},{"1402102463":["hashtag1","hashtag2"]},{"1402102451":["hashtag1","hashtag2"]},{"1402102453":["hashtag1","hashtag2"]},{"1402102456":["hashtag1","hashtag2"]},{"1402102455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102448, 1402102463, 1402102451, 1402102453, 1402102456, 1402102455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07855272293091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:51:03.251713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_45_9741.jpg', '/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_55_9796.jpg', '/home/pi/Desktop/images/02012026/03/54/image_02012026_03_55_05_9828.jpg', '/home/pi/Desktop/images/02012026/03/55/image_02012026_03_55_15_10697.jpg', '/home/pi/Desktop/images/02012026/03/55/image_02012026_03_55_45_10595.jpg', '/home/pi/Desktop/images/02012026/03/55/image_02012026_03_55_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_45_9741.jpg
/home/pi/Desktop/images/02012026/03/54/image_02012026_03_54_55_9796.jpg
/home/pi/Desktop/images/02012026/03/54/image_02012026_03_55_05_9828.jpg
/home/pi/Desktop/images/02012026/03/55/image_02012026_03_55_15_10697.jpg
/home/pi/Desktop/images/02012026/03/55/image_02012026_03_55_45_10595.jpg
/home/pi/Desktop/images/02012026/03/55/image_02012026_03_55_55_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":["1402102466","1402102469","1402102471","1402102465","1402102468","1402102467"],"photo_ids_order":["1402102465","1402102466","1402102467","1402102468","1402102469","1402102471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5389f92b69f72f4bd740cd1dcfa9e060.jpg","text":"TemporaryFile(/tmp/multipartBody4620804263804832767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325923924,"filename":"image_02012026_03_54_55_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/2/090f9269b086c7706dc9ec648674ca28.jpg","text":"TemporaryFile(/tmp/multipartBody6555940554784956692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325923924,"filename":"image_02012026_03_55_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/2/f59deb438d7c54cc122c1767557d8ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6257307560806705777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325923924,"filename":"image_02012026_03_55_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/2/da6f5a87d5ed18c7a5b2cb719fe9b2aa.jpg","text":"TemporaryFile(/tmp/multipartBody4902549220571655750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325923924,"filename":"image_02012026_03_54_45_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/2/bc724a4a3e261fd609ee828f0747d284.jpg","text":"TemporaryFile(/tmp/multipartBody8233524399568486040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325923924,"filename":"image_02012026_03_55_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/2/ab5a6d63f139c75cc5ec3cf5aebca49d.jpg","text":"TemporaryFile(/tmp/multipartBody1395742194506246179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325923924,"filename":"image_02012026_03_55_05_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102467","file1":"1402102466","file0":"1402102465","file4":"1402102469","file5":"1402102471","file3":"1402102468"},"map_files_photo_id_array":[{"photo_id":"1402102471","filename":"file5"},{"photo_id":"1402102467","filename":"file2"},{"photo_id":"1402102469","filename":"file4"},{"photo_id":"1402102466","filename":"file1"},{"photo_id":"1402102465","filename":"file0"},{"photo_id":"1402102468","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102466":["hashtag1","hashtag2"]},{"1402102469":["hashtag1","hashtag2"]},{"1402102471":["hashtag1","hashtag2"]},{"1402102465":["hashtag1","hashtag2"]},{"1402102468":["hashtag1","hashtag2"]},{"1402102467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102466, 1402102469, 1402102471, 1402102465, 1402102468, 1402102467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79627537727356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:51:42.827211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_41_1654.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_43_1572.jpg', '/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_44_1784.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_04_15807.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_18_6081.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_20_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/22/28/image_04112025_22_28_41_1654.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_43_1572.jpg
/home/pi/Desktop/images/04112025/22/28/image_04112025_22_28_44_1784.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_04_15807.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_18_6081.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_20_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402102481","1402102483","1402102477","1402102480","1402102482","1402102479"],"photo_ids_order":["1402102477","1402102479","1402102480","1402102481","1402102482","1402102483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22352e384c91fa2c1e4cfbdf7aa1ee62.jpg","text":"TemporaryFile(/tmp/multipartBody4636471805447775247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325964679,"filename":"image_04112025_22_29_04_15807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb26cc924892329d109582393388f884.jpg","text":"TemporaryFile(/tmp/multipartBody1783885478435886570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325964679,"filename":"image_04112025_22_29_20_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/2/abef8e5fe0f5d9fb9f41eb5745b3748a.jpg","text":"TemporaryFile(/tmp/multipartBody6419688550782753950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325964679,"filename":"image_04112025_22_28_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/2/55ce81fc5355d9baa92cbb4699bceeae.jpg","text":"TemporaryFile(/tmp/multipartBody4344823312809544364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325964679,"filename":"image_04112025_22_28_44_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/2/1cbffeda62ada72b9edbae164679fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody6406029236773629690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325964679,"filename":"image_04112025_22_29_18_6081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7491e13d22fa95b1ead59c7f048fb2a.jpg","text":"TemporaryFile(/tmp/multipartBody6974464128024086222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767325964679,"filename":"image_04112025_22_28_43_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102480","file1":"1402102479","file0":"1402102477","file4":"1402102482","file5":"1402102483","file3":"1402102481"},"map_files_photo_id_array":[{"photo_id":"1402102483","filename":"file5"},{"photo_id":"1402102480","filename":"file2"},{"photo_id":"1402102482","filename":"file4"},{"photo_id":"1402102479","filename":"file1"},{"photo_id":"1402102477","filename":"file0"},{"photo_id":"1402102481","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102481":["hashtag1","hashtag2"]},{"1402102483":["hashtag1","hashtag2"]},{"1402102477":["hashtag1","hashtag2"]},{"1402102480":["hashtag1","hashtag2"]},{"1402102482":["hashtag1","hashtag2"]},{"1402102479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102481, 1402102483, 1402102477, 1402102480, 1402102482, 1402102479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82109236717224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:52:32.338544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_22_1786.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_23_1731.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_30_6416.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_33_1707.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_36_2338.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_37_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_22_1786.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_23_1731.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_30_6416.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_33_1707.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_36_2338.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_37_1701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102493","1402102496","1402102495","1402102488","1402102497","1402102490"],"photo_ids_order":["1402102488","1402102490","1402102493","1402102495","1402102496","1402102497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e04b0ae7eb8c6264bed7cc2d5b87284f.jpg","text":"TemporaryFile(/tmp/multipartBody952668570672556568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326014217,"filename":"image_04112025_22_29_30_6416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/715daead25710ca700648e849359bd5c.jpg","text":"TemporaryFile(/tmp/multipartBody5915305925141504240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326014217,"filename":"image_04112025_22_29_36_2338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/006f7059647ccf1a2dc42a748983e689.jpg","text":"TemporaryFile(/tmp/multipartBody5271133414393940041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326014217,"filename":"image_04112025_22_29_33_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/2/61fdd167ea9ffba0d75055d00ad0a30f.jpg","text":"TemporaryFile(/tmp/multipartBody473568370328111617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326014217,"filename":"image_04112025_22_29_22_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/2/f9030fe61238aff94c93719886065afb.jpg","text":"TemporaryFile(/tmp/multipartBody9012072428931993214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326014217,"filename":"image_04112025_22_29_37_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/2/d4d81cc144b9e73ce4c4a6705638e750.jpg","text":"TemporaryFile(/tmp/multipartBody7143817097693935137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326014217,"filename":"image_04112025_22_29_23_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102493","file1":"1402102490","file0":"1402102488","file4":"1402102496","file5":"1402102497","file3":"1402102495"},"map_files_photo_id_array":[{"photo_id":"1402102497","filename":"file5"},{"photo_id":"1402102493","filename":"file2"},{"photo_id":"1402102496","filename":"file4"},{"photo_id":"1402102490","filename":"file1"},{"photo_id":"1402102488","filename":"file0"},{"photo_id":"1402102495","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102493":["hashtag1","hashtag2"]},{"1402102496":["hashtag1","hashtag2"]},{"1402102495":["hashtag1","hashtag2"]},{"1402102488":["hashtag1","hashtag2"]},{"1402102497":["hashtag1","hashtag2"]},{"1402102490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102493, 1402102496, 1402102495, 1402102488, 1402102497, 1402102490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40025758743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:53:12.444465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_39_1669.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_41_2384.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_43_1778.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_48_1684.jpg', '/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_53_1690.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_39_1669.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_41_2384.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_43_1778.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_48_1684.jpg
/home/pi/Desktop/images/04112025/22/29/image_04112025_22_29_53_1690.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_10_5355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102498","1402102502","1402102504","1402102506","1402102500","1402102499"],"photo_ids_order":["1402102498","1402102499","1402102500","1402102502","1402102504","1402102506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e052003ad35e90049bfacbbc1963bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8832896181711362458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326054146,"filename":"image_04112025_22_29_39_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/2/112790a3ced12cac6a5d01e6eed4be44.jpg","text":"TemporaryFile(/tmp/multipartBody3483787981091460573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326054146,"filename":"image_04112025_22_29_48_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/2/f200ff23f2849f3cbba1df4cbc23641b.jpg","text":"TemporaryFile(/tmp/multipartBody537127706293957038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326054146,"filename":"image_04112025_22_29_53_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/2/35e24feef9fd4e58794fd83cb7e6c649.jpg","text":"TemporaryFile(/tmp/multipartBody4724082437357134564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326054146,"filename":"image_04112025_22_30_10_5355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea487768e1c071c9d267e244f3df87d2.jpg","text":"TemporaryFile(/tmp/multipartBody9058141727760481832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326054146,"filename":"image_04112025_22_29_43_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/2/80f3e42a845e0897a48f6c1dcc76e411.jpg","text":"TemporaryFile(/tmp/multipartBody3040954555558710554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326054146,"filename":"image_04112025_22_29_41_2384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102500","file1":"1402102499","file0":"1402102498","file4":"1402102504","file5":"1402102506","file3":"1402102502"},"map_files_photo_id_array":[{"photo_id":"1402102506","filename":"file5"},{"photo_id":"1402102500","filename":"file2"},{"photo_id":"1402102504","filename":"file4"},{"photo_id":"1402102499","filename":"file1"},{"photo_id":"1402102498","filename":"file0"},{"photo_id":"1402102502","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102498":["hashtag1","hashtag2"]},{"1402102502":["hashtag1","hashtag2"]},{"1402102504":["hashtag1","hashtag2"]},{"1402102506":["hashtag1","hashtag2"]},{"1402102500":["hashtag1","hashtag2"]},{"1402102499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102498, 1402102502, 1402102504, 1402102506, 1402102500, 1402102499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58825182914734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:54:03.414243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/55/image_02012026_03_56_05_9639.jpg', '/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_15_10628.jpg', '/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_25_9669.jpg', '/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_35_9597.jpg', '/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_45_10655.jpg', '/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_55_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/55/image_02012026_03_56_05_9639.jpg
/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_15_10628.jpg
/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_25_9669.jpg
/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_35_9597.jpg
/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_45_10655.jpg
/home/pi/Desktop/images/02012026/03/56/image_02012026_03_56_55_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102518","1402102517","1402102516","1402102519","1402102521","1402102515"],"photo_ids_order":["1402102515","1402102516","1402102517","1402102518","1402102519","1402102521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6c0e56eece76437ec7aed21171722861.jpg","text":"TemporaryFile(/tmp/multipartBody6954674964916709119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326104123,"filename":"image_02012026_03_56_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/2/b7f61a6ae4a8db93c23975f4877f02f4.jpg","text":"TemporaryFile(/tmp/multipartBody115999988470709186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326104123,"filename":"image_02012026_03_56_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/2/e8ad3f6b8bb6ed423e41d9aff962a145.jpg","text":"TemporaryFile(/tmp/multipartBody4771463581496396716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326104123,"filename":"image_02012026_03_56_15_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/2/a040a8f379ca1df2206ed3084f1cd294.jpg","text":"TemporaryFile(/tmp/multipartBody7106295475386850463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326104123,"filename":"image_02012026_03_56_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/2/57a79748ef5b64315845c84825709f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3063989557864520696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326104123,"filename":"image_02012026_03_56_55_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/2/6729ae39e31330bbd716941875a4093d.jpg","text":"TemporaryFile(/tmp/multipartBody5552917260138623623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326104123,"filename":"image_02012026_03_56_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102517","file1":"1402102516","file0":"1402102515","file4":"1402102519","file5":"1402102521","file3":"1402102518"},"map_files_photo_id_array":[{"photo_id":"1402102521","filename":"file5"},{"photo_id":"1402102517","filename":"file2"},{"photo_id":"1402102519","filename":"file4"},{"photo_id":"1402102516","filename":"file1"},{"photo_id":"1402102515","filename":"file0"},{"photo_id":"1402102518","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102518":["hashtag1","hashtag2"]},{"1402102517":["hashtag1","hashtag2"]},{"1402102516":["hashtag1","hashtag2"]},{"1402102519":["hashtag1","hashtag2"]},{"1402102521":["hashtag1","hashtag2"]},{"1402102515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102518, 1402102517, 1402102516, 1402102519, 1402102521, 1402102515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23555397987366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:54:42.729582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_11_1728.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_14_2665.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_17_2697.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_19_2574.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_22_3009.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_26_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_11_1728.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_14_2665.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_17_2697.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_19_2574.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_22_3009.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_26_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102529","1402102532","1402102531","1402102530","1402102533","1402102527"],"photo_ids_order":["1402102527","1402102529","1402102530","1402102531","1402102532","1402102533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d96ee24ff419cc06fe9e26352ce1f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody1098296758554005113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326144520,"filename":"image_04112025_22_30_14_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/2/f713d2e19ae62e5270ebcfc0f09e4c13.jpg","text":"TemporaryFile(/tmp/multipartBody4151673724580684874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326144520,"filename":"image_04112025_22_30_22_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/2/3a84f27f5aeb740dd46064d958b4f378.jpg","text":"TemporaryFile(/tmp/multipartBody9117689220435738713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326144520,"filename":"image_04112025_22_30_19_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/2/76243cd16a134e56f2e35d9392d5bbe7.jpg","text":"TemporaryFile(/tmp/multipartBody3984183163792147268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326144520,"filename":"image_04112025_22_30_17_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/2/308a3fba371db3720244a26d11d7bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7708089629120836652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326144520,"filename":"image_04112025_22_30_26_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/579a1368b8755eb483101162255f578a.jpg","text":"TemporaryFile(/tmp/multipartBody454881220133980943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326144520,"filename":"image_04112025_22_30_11_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102530","file1":"1402102529","file0":"1402102527","file4":"1402102532","file5":"1402102533","file3":"1402102531"},"map_files_photo_id_array":[{"photo_id":"1402102533","filename":"file5"},{"photo_id":"1402102530","filename":"file2"},{"photo_id":"1402102532","filename":"file4"},{"photo_id":"1402102529","filename":"file1"},{"photo_id":"1402102527","filename":"file0"},{"photo_id":"1402102531","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102529":["hashtag1","hashtag2"]},{"1402102532":["hashtag1","hashtag2"]},{"1402102531":["hashtag1","hashtag2"]},{"1402102530":["hashtag1","hashtag2"]},{"1402102533":["hashtag1","hashtag2"]},{"1402102527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102529, 1402102532, 1402102531, 1402102530, 1402102533, 1402102527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89223003387451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:55:23.513481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/56/image_02012026_03_57_05_9650.jpg', '/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_14_9698.jpg', '/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_25_10856.jpg', '/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_35_9556.jpg', '/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_44_9619.jpg', '/home/pi/Desktop/images/02012026/03/57/image_02012026_03_58_05_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/56/image_02012026_03_57_05_9650.jpg
/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_14_9698.jpg
/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_25_10856.jpg
/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_35_9556.jpg
/home/pi/Desktop/images/02012026/03/57/image_02012026_03_57_44_9619.jpg
/home/pi/Desktop/images/02012026/03/57/image_02012026_03_58_05_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":["1402102547","1402102541","1402102535","1402102543","1402102537","1402102539"],"photo_ids_order":["1402102535","1402102537","1402102539","1402102541","1402102543","1402102547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e48fc525f1cf4c23bcd5c9b71489cce6.jpg","text":"TemporaryFile(/tmp/multipartBody3755524673263965795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326184116,"filename":"image_02012026_03_58_05_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/2/7667fd0640a6d06a1e76b2e4692c167e.jpg","text":"TemporaryFile(/tmp/multipartBody524820745339614986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326184116,"filename":"image_02012026_03_57_35_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/2/79b56a26eb8495d918a9d86dd4f5c790.jpg","text":"TemporaryFile(/tmp/multipartBody7270826244600454838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326184116,"filename":"image_02012026_03_57_05_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/2/ca6d7f7e91956e1ae48372f267843dca.jpg","text":"TemporaryFile(/tmp/multipartBody8163838693056311499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326184116,"filename":"image_02012026_03_57_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/2/b23c00fae45df56ae4a4c96c54d9c160.jpg","text":"TemporaryFile(/tmp/multipartBody6935831826824121960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326184116,"filename":"image_02012026_03_57_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/2/228bae736e5158fca23389581491fa31.jpg","text":"TemporaryFile(/tmp/multipartBody5113140992919531935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326184116,"filename":"image_02012026_03_57_25_10856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102539","file1":"1402102537","file0":"1402102535","file4":"1402102543","file5":"1402102547","file3":"1402102541"},"map_files_photo_id_array":[{"photo_id":"1402102547","filename":"file5"},{"photo_id":"1402102539","filename":"file2"},{"photo_id":"1402102543","filename":"file4"},{"photo_id":"1402102537","filename":"file1"},{"photo_id":"1402102535","filename":"file0"},{"photo_id":"1402102541","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102547":["hashtag1","hashtag2"]},{"1402102541":["hashtag1","hashtag2"]},{"1402102535":["hashtag1","hashtag2"]},{"1402102543":["hashtag1","hashtag2"]},{"1402102537":["hashtag1","hashtag2"]},{"1402102539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102547, 1402102541, 1402102535, 1402102543, 1402102537, 1402102539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.078065156936646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:56:03.223512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/58/image_02012026_03_58_15_9754.jpg', '/home/pi/Desktop/images/02012026/03/58/image_02012026_03_58_24_9823.jpg', '/home/pi/Desktop/images/02012026/03/58/image_02012026_03_58_35_10675.jpg', '/home/pi/Desktop/images/02012026/03/58/image_02012026_03_59_05_10561.jpg', '/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_15_9619.jpg', '/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_25_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/58/image_02012026_03_58_15_9754.jpg
/home/pi/Desktop/images/02012026/03/58/image_02012026_03_58_24_9823.jpg
/home/pi/Desktop/images/02012026/03/58/image_02012026_03_58_35_10675.jpg
/home/pi/Desktop/images/02012026/03/58/image_02012026_03_59_05_10561.jpg
/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_15_9619.jpg
/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_25_10023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102550","1402102552","1402102549","1402102551","1402102554","1402102548"],"photo_ids_order":["1402102548","1402102549","1402102550","1402102551","1402102552","1402102554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98da070a2c54c8dad0eb387f86d4c055.jpg","text":"TemporaryFile(/tmp/multipartBody898404569246562626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326223857,"filename":"image_02012026_03_58_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/2/eb3b6900423f8690365e55f67c5dd72c.jpg","text":"TemporaryFile(/tmp/multipartBody4092792216273655633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326223857,"filename":"image_02012026_03_59_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/2/265d55fb39d4bc36d96a7dfcc66c00fe.jpg","text":"TemporaryFile(/tmp/multipartBody1552157516243945594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326223857,"filename":"image_02012026_03_58_24_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/2/5e1cfb5e7e7ae087f6e09176382d4a13.jpg","text":"TemporaryFile(/tmp/multipartBody9051945285391488225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326223857,"filename":"image_02012026_03_59_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/2/f65e70c97729871d1bba7a30ad5b967f.jpg","text":"TemporaryFile(/tmp/multipartBody3620206265608448337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326223857,"filename":"image_02012026_03_59_25_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/2/f347e04a0efcd8ca45b12a916f6937bb.jpg","text":"TemporaryFile(/tmp/multipartBody2755304643547183360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326223857,"filename":"image_02012026_03_58_15_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102550","file1":"1402102549","file0":"1402102548","file4":"1402102552","file5":"1402102554","file3":"1402102551"},"map_files_photo_id_array":[{"photo_id":"1402102554","filename":"file5"},{"photo_id":"1402102550","filename":"file2"},{"photo_id":"1402102552","filename":"file4"},{"photo_id":"1402102549","filename":"file1"},{"photo_id":"1402102548","filename":"file0"},{"photo_id":"1402102551","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102550":["hashtag1","hashtag2"]},{"1402102552":["hashtag1","hashtag2"]},{"1402102549":["hashtag1","hashtag2"]},{"1402102551":["hashtag1","hashtag2"]},{"1402102554":["hashtag1","hashtag2"]},{"1402102548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102550, 1402102552, 1402102549, 1402102551, 1402102554, 1402102548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46961998939514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 04:56:42.712300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_30_4091.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_34_2564.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_45_10284.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_46_1644.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_48_1626.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_51_1845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_30_4091.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_34_2564.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_45_10284.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_46_1644.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_48_1626.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_51_1845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102565","1402102562","1402102564","1402102567","1402102569","1402102566"],"photo_ids_order":["1402102562","1402102564","1402102565","1402102566","1402102567","1402102569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b19300996e729ed2333dce59fe992b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5665863725578906174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326264524,"filename":"image_04112025_22_30_45_10284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0786ed45149b4e6d9a65f1ae9a063a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7059765341122409383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326264524,"filename":"image_04112025_22_30_30_4091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/885fdf546040141f6e79c363a11b899f.jpg","text":"TemporaryFile(/tmp/multipartBody4716879651866801654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326264524,"filename":"image_04112025_22_30_34_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/2/425bc535acd2bac3bd8dbcdcb203b23a.jpg","text":"TemporaryFile(/tmp/multipartBody1512071912372068148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326264524,"filename":"image_04112025_22_30_48_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/2/168f5528d594ecc53ccf9f3474cffb20.jpg","text":"TemporaryFile(/tmp/multipartBody693775972652292586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326264524,"filename":"image_04112025_22_30_51_1845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb62afb396027a4b304143abc8012a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7748461392001892807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326264524,"filename":"image_04112025_22_30_46_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102565","file1":"1402102564","file0":"1402102562","file4":"1402102567","file5":"1402102569","file3":"1402102566"},"map_files_photo_id_array":[{"photo_id":"1402102569","filename":"file5"},{"photo_id":"1402102565","filename":"file2"},{"photo_id":"1402102567","filename":"file4"},{"photo_id":"1402102564","filename":"file1"},{"photo_id":"1402102562","filename":"file0"},{"photo_id":"1402102566","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402102565":["hashtag1","hashtag2"]},{"1402102562":["hashtag1","hashtag2"]},{"1402102564":["hashtag1","hashtag2"]},{"1402102567":["hashtag1","hashtag2"]},{"1402102569":["hashtag1","hashtag2"]},{"1402102566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402102565, 1402102562, 1402102564, 1402102567, 1402102569, 1402102566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34264254570007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 04:57:21.860501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_35_9892.jpg', '/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_45_10663.jpg', '/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_55_9688.jpg', '/home/pi/Desktop/images/02012026/03/59/image_02012026_04_00_05_9847.jpg', '/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_15_9669.jpg', '/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_24_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_35_9892.jpg
/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_45_10663.jpg
/home/pi/Desktop/images/02012026/03/59/image_02012026_03_59_55_9688.jpg
/home/pi/Desktop/images/02012026/03/59/image_02012026_04_00_05_9847.jpg
/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_15_9669.jpg
/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_24_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402102574","1402102576","1402102570","1402102581","1402102578","1402102572"],"photo_ids_order":["1402102570","1402102572","1402102574","1402102576","1402102578","1402102581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52c89a2d581ee6507dcef7a840b8397c.jpg","text":"TemporaryFile(/tmp/multipartBody5740652486674830364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326302498,"filename":"image_02012026_03_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/2/cb2bda579f1e580e1391eb9ea062524c.jpg","text":"TemporaryFile(/tmp/multipartBody2295011285221656575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326302498,"filename":"image_02012026_04_00_05_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/2/60c0114ac27a4e18753fe3afe7895779.jpg","text":"TemporaryFile(/tmp/multipartBody7935011886693845845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326302498,"filename":"image_02012026_03_59_35_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/2/dc07bb38531435f8bc6001d330558c47.jpg","text":"TemporaryFile(/tmp/multipartBody4481457340505016098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326302498,"filename":"image_02012026_04_00_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/2/69225920062107c01f2d4cfd24ffe068.jpg","text":"TemporaryFile(/tmp/multipartBody6895266146630407721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326302498,"filename":"image_02012026_04_00_15_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/2/a89b163f2e81a29f1ce30c41f884724b.jpg","text":"TemporaryFile(/tmp/multipartBody9069788909689481610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326302498,"filename":"image_02012026_03_59_45_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402102574","file1":"1402102572","file0":"1402102570","file4":"1402102578","file5":"1402102581","file3":"1402102576"},"map_files_photo_id_array":[{"photo_id":"1402102581","filename":"file5"},{"photo_id":"1402102574","filename":"file2"},{"photo_id":"1402102578","filename":"file4"},{"photo_id":"1402102572","filename":"file1"},{"photo_id":"1402102570","filename":"file0"},{"photo_id":"1402102576","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402102574":["hashtag1","hashtag2"]},{"1402102576":["hashtag1","hashtag2"]},{"1402102570":["hashtag1","hashtag2"]},{"1402102581":["hashtag1","hashtag2"]},{"1402102578":["hashtag1","hashtag2"]},{"1402102572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402102574, 1402102576, 1402102570, 1402102581, 1402102578, 1402102572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43340492248535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 04:59:03.381859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_35_10612.jpg', '/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_45_9698.jpg', '/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_55_10627.jpg', '/home/pi/Desktop/images/02012026/04/00/image_02012026_04_01_05_9914.jpg', '/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_15_9634.jpg', '/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_24_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_35_10612.jpg
/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_45_9698.jpg
/home/pi/Desktop/images/02012026/04/00/image_02012026_04_00_55_10627.jpg
/home/pi/Desktop/images/02012026/04/00/image_02012026_04_01_05_9914.jpg
/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_15_9634.jpg
/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_24_9686.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":["1402103593","1402103572","1402103677","1402103632","1402103718","1402103666"],"photo_ids_order":["1402103572","1402103593","1402103632","1402103666","1402103677","1402103718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84a733ddb2cb7130387942d7ac08900f.jpg","text":"TemporaryFile(/tmp/multipartBody8261825884143398464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326404251,"filename":"image_02012026_04_00_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/2/a994f0917857be985ac87e2154e8c8b3.jpg","text":"TemporaryFile(/tmp/multipartBody287834861520162779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326404251,"filename":"image_02012026_04_00_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/2/513f153da8068de2e5d666774ea74638.jpg","text":"TemporaryFile(/tmp/multipartBody8048339184330565593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326404251,"filename":"image_02012026_04_01_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/2/5a59e7ec8526b46bb8e4da44d6db6a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7796100351878404351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326404251,"filename":"image_02012026_04_00_55_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/2/8d79ec682d3d2862a7ecd692fc9131af.jpg","text":"TemporaryFile(/tmp/multipartBody5195937294796863810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326404251,"filename":"image_02012026_04_01_24_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/2/68e192185cb60c04e186f038d148f02f.jpg","text":"TemporaryFile(/tmp/multipartBody1494210089119505190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326404251,"filename":"image_02012026_04_01_05_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402103632","file1":"1402103593","file0":"1402103572","file4":"1402103677","file5":"1402103718","file3":"1402103666"},"map_files_photo_id_array":[{"photo_id":"1402103718","filename":"file5"},{"photo_id":"1402103632","filename":"file2"},{"photo_id":"1402103677","filename":"file4"},{"photo_id":"1402103593","filename":"file1"},{"photo_id":"1402103572","filename":"file0"},{"photo_id":"1402103666","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402103593":["hashtag1","hashtag2"]},{"1402103572":["hashtag1","hashtag2"]},{"1402103677":["hashtag1","hashtag2"]},{"1402103632":["hashtag1","hashtag2"]},{"1402103718":["hashtag1","hashtag2"]},{"1402103666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402103593, 1402103572, 1402103677, 1402103632, 1402103718, 1402103666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47189497947693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:00:02.862606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_35_10528.jpg', '/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_54_9760.jpg', '/home/pi/Desktop/images/02012026/04/01/image_02012026_04_02_05_10822.jpg', '/home/pi/Desktop/images/02012026/04/02/image_02012026_04_02_15_9769.jpg', '/home/pi/Desktop/images/02012026/04/02/image_02012026_04_02_25_9639.jpg', '/home/pi/Desktop/images/02012026/04/02/image_02012026_04_02_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_35_10528.jpg
/home/pi/Desktop/images/02012026/04/01/image_02012026_04_01_54_9760.jpg
/home/pi/Desktop/images/02012026/04/01/image_02012026_04_02_05_10822.jpg
/home/pi/Desktop/images/02012026/04/02/image_02012026_04_02_15_9769.jpg
/home/pi/Desktop/images/02012026/04/02/image_02012026_04_02_25_9639.jpg
/home/pi/Desktop/images/02012026/04/02/image_02012026_04_02_34_9684.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":["1402103735","1402103773","1402103737","1402103742","1402103739","1402103744"],"photo_ids_order":["1402103735","1402103737","1402103739","1402103742","1402103744","1402103773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5d267aab6126f84629efd50d43d1fe5b.jpg","text":"TemporaryFile(/tmp/multipartBody336546949148549718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326466112,"filename":"image_02012026_04_01_35_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/2/57d9e131b135487cb76437b7a7758161.jpg","text":"TemporaryFile(/tmp/multipartBody7667731209998184408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326466112,"filename":"image_02012026_04_02_34_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/2/d8ee7fa16d42979810d062663855adcc.jpg","text":"TemporaryFile(/tmp/multipartBody4727341366515913998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326466112,"filename":"image_02012026_04_01_54_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/2/ee87188307e1f0ad8593e19dac4fc602.jpg","text":"TemporaryFile(/tmp/multipartBody8543149607257831191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326466112,"filename":"image_02012026_04_02_15_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/2/c10f74068b3e0e83b18992e248e2db06.jpg","text":"TemporaryFile(/tmp/multipartBody532698899396858533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326466112,"filename":"image_02012026_04_02_05_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/847e23a52e8b5fbd468bce8b7faee809.jpg","text":"TemporaryFile(/tmp/multipartBody3366612227730201718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326466112,"filename":"image_02012026_04_02_25_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402103739","file1":"1402103737","file0":"1402103735","file4":"1402103744","file5":"1402103773","file3":"1402103742"},"map_files_photo_id_array":[{"photo_id":"1402103773","filename":"file5"},{"photo_id":"1402103739","filename":"file2"},{"photo_id":"1402103744","filename":"file4"},{"photo_id":"1402103737","filename":"file1"},{"photo_id":"1402103735","filename":"file0"},{"photo_id":"1402103742","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402103735":["hashtag1","hashtag2"]},{"1402103773":["hashtag1","hashtag2"]},{"1402103737":["hashtag1","hashtag2"]},{"1402103742":["hashtag1","hashtag2"]},{"1402103739":["hashtag1","hashtag2"]},{"1402103744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402103735, 1402103773, 1402103737, 1402103742, 1402103739, 1402103744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11774277687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:01:03.475643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/02/image_02012026_04_03_04_9708.jpg', '/home/pi/Desktop/images/02012026/04/03/image_02012026_04_03_15_10871.jpg', '/home/pi/Desktop/images/02012026/04/03/image_02012026_04_03_25_9664.jpg', '/home/pi/Desktop/images/02012026/04/03/image_02012026_04_03_55_9691.jpg', '/home/pi/Desktop/images/02012026/04/03/image_02012026_04_04_04_9579.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/02/image_02012026_04_03_04_9708.jpg
/home/pi/Desktop/images/02012026/04/03/image_02012026_04_03_15_10871.jpg
/home/pi/Desktop/images/02012026/04/03/image_02012026_04_03_25_9664.jpg
/home/pi/Desktop/images/02012026/04/03/image_02012026_04_03_55_9691.jpg
/home/pi/Desktop/images/02012026/04/03/image_02012026_04_04_04_9579.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_15_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":["1402104166","1402104205","1402104127","1402104090","1402104056","1402104239"],"photo_ids_order":["1402104056","1402104090","1402104127","1402104166","1402104205","1402104239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/185e2c64b5dd19fb884adda1a9b8941e.jpg","text":"TemporaryFile(/tmp/multipartBody7220011497938732467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326524150,"filename":"image_02012026_04_03_55_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/2/03a20d4983259aad58f81f6c420c5c10.jpg","text":"TemporaryFile(/tmp/multipartBody8904192187578995406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326524150,"filename":"image_02012026_04_04_04_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/2/669bb0d148b4e42975298cdadf87e018.jpg","text":"TemporaryFile(/tmp/multipartBody2787372124192998606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326524150,"filename":"image_02012026_04_03_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/2/e96014468f919dcb25bf2a56962c89e0.jpg","text":"TemporaryFile(/tmp/multipartBody7425422117370385425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326524150,"filename":"image_02012026_04_03_15_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/2/932a9443bac3b669e25e91e6a305cd9b.jpg","text":"TemporaryFile(/tmp/multipartBody1851110725512525887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326524150,"filename":"image_02012026_04_03_04_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/2/30cdb463a31c079b0fe2c3dbb8c7c283.jpg","text":"TemporaryFile(/tmp/multipartBody3085305321659511698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326524150,"filename":"image_02012026_04_04_15_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402104127","file1":"1402104090","file0":"1402104056","file4":"1402104205","file5":"1402104239","file3":"1402104166"},"map_files_photo_id_array":[{"photo_id":"1402104239","filename":"file5"},{"photo_id":"1402104127","filename":"file2"},{"photo_id":"1402104205","filename":"file4"},{"photo_id":"1402104090","filename":"file1"},{"photo_id":"1402104056","filename":"file0"},{"photo_id":"1402104166","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402104166":["hashtag1","hashtag2"]},{"1402104205":["hashtag1","hashtag2"]},{"1402104127":["hashtag1","hashtag2"]},{"1402104090":["hashtag1","hashtag2"]},{"1402104056":["hashtag1","hashtag2"]},{"1402104239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402104166, 1402104205, 1402104127, 1402104090, 1402104056, 1402104239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.739426612854004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:01:42.750809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_53_1679.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_56_2521.jpg', '/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_58_2699.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_02_3592.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_04_2533.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_08_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_53_1679.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_56_2521.jpg
/home/pi/Desktop/images/04112025/22/30/image_04112025_22_30_58_2699.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_02_3592.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_04_2533.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_08_3695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402104387","1402104494","1402104569","1402104458","1402104533","1402104422"],"photo_ids_order":["1402104387","1402104422","1402104458","1402104494","1402104533","1402104569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b2969d0f125c5e867c020d1d85769f1.jpg","text":"TemporaryFile(/tmp/multipartBody1740796483288941870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326564610,"filename":"image_04112025_22_30_53_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/2/e6ba34ce95cb00841cb741d6248d78c2.jpg","text":"TemporaryFile(/tmp/multipartBody4184352333081130366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326564610,"filename":"image_04112025_22_31_02_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/2/4cf6bb791ff9256d407cb482e6d67b6a.jpg","text":"TemporaryFile(/tmp/multipartBody4914173600736441704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326564610,"filename":"image_04112025_22_31_08_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/2/8de93be05831970c647f43bb36ba12c7.jpg","text":"TemporaryFile(/tmp/multipartBody3663870943510849825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326564610,"filename":"image_04112025_22_30_58_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/2/7b790600f3c95ec8b822b80db6f055a1.jpg","text":"TemporaryFile(/tmp/multipartBody8308697707242831847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326564610,"filename":"image_04112025_22_31_04_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/2/f7a93562104f6b599a099fd97fe512a4.jpg","text":"TemporaryFile(/tmp/multipartBody3951376670054042452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326564610,"filename":"image_04112025_22_30_56_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402104458","file1":"1402104422","file0":"1402104387","file4":"1402104533","file5":"1402104569","file3":"1402104494"},"map_files_photo_id_array":[{"photo_id":"1402104569","filename":"file5"},{"photo_id":"1402104458","filename":"file2"},{"photo_id":"1402104533","filename":"file4"},{"photo_id":"1402104422","filename":"file1"},{"photo_id":"1402104387","filename":"file0"},{"photo_id":"1402104494","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402104387":["hashtag1","hashtag2"]},{"1402104494":["hashtag1","hashtag2"]},{"1402104569":["hashtag1","hashtag2"]},{"1402104458":["hashtag1","hashtag2"]},{"1402104533":["hashtag1","hashtag2"]},{"1402104422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402104387, 1402104494, 1402104569, 1402104458, 1402104533, 1402104422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.579330921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:02:21.921292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_25_9704.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_35_9692.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_45_10669.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_55_9860.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_05_05_9545.jpg', '/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_25_9704.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_35_9692.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_45_10669.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_55_9860.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_05_05_9545.jpg
/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_14_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.47359538078308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:02:31.906588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_12_4414.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_14_1689.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_17_2508.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_23_3703.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_26_2947.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_29_2967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_12_4414.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_14_1689.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_17_2508.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_23_3703.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_26_2947.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_29_2967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402104661","1402104663","1402104654","1402104662","1402104650","1402104647"],"photo_ids_order":["1402104647","1402104650","1402104654","1402104661","1402104662","1402104663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91eb501c91e61fed24afdc917b6a4f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6379065764490533877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326613605,"filename":"image_04112025_22_31_23_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/2/301a141ccac3c0f76c179e264abf219a.jpg","text":"TemporaryFile(/tmp/multipartBody4111505665068714484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326613605,"filename":"image_04112025_22_31_29_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/2/70ccb9b6037273e019ebdac33e33a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4860259276280567358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326613605,"filename":"image_04112025_22_31_17_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/2/b4d81ccc4a05c0cd74598a759dbb6d90.jpg","text":"TemporaryFile(/tmp/multipartBody5104759717114330826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326613605,"filename":"image_04112025_22_31_26_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e03678ae129bd0ceb8554aaa1f5de757.jpg","text":"TemporaryFile(/tmp/multipartBody3830857087667360138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326613605,"filename":"image_04112025_22_31_14_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/2/c847660fc818697a6fa422a1e57ad0f2.jpg","text":"TemporaryFile(/tmp/multipartBody2401231578342431595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326613605,"filename":"image_04112025_22_31_12_4414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402104654","file1":"1402104650","file0":"1402104647","file4":"1402104662","file5":"1402104663","file3":"1402104661"},"map_files_photo_id_array":[{"photo_id":"1402104663","filename":"file5"},{"photo_id":"1402104654","filename":"file2"},{"photo_id":"1402104662","filename":"file4"},{"photo_id":"1402104650","filename":"file1"},{"photo_id":"1402104647","filename":"file0"},{"photo_id":"1402104661","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402104661":["hashtag1","hashtag2"]},{"1402104663":["hashtag1","hashtag2"]},{"1402104654":["hashtag1","hashtag2"]},{"1402104662":["hashtag1","hashtag2"]},{"1402104650":["hashtag1","hashtag2"]},{"1402104647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402104661, 1402104663, 1402104654, 1402104662, 1402104650, 1402104647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.093579053878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:03:12.146487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_34_2695.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_37_2768.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_41_3711.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_43_2646.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_46_2741.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_50_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/22/31/image_04112025_22_31_34_2695.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_37_2768.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_41_3711.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_43_2646.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_46_2741.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_50_3775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402104898","1402104799","1402104835","1402104870","1402104903","1402104900"],"photo_ids_order":["1402104799","1402104835","1402104870","1402104898","1402104900","1402104903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/adf48a798b7f3eaeca5910a753e842ec.jpg","text":"TemporaryFile(/tmp/multipartBody5827450767352738161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326653853,"filename":"image_04112025_22_31_43_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/2/e9091e34198b178bd28d97d4d844a549.jpg","text":"TemporaryFile(/tmp/multipartBody5972952558150810196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326653853,"filename":"image_04112025_22_31_34_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/2/83fd6dd972384e3ba36fd4e15025a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7027712639836634209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326653853,"filename":"image_04112025_22_31_37_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/2/1fef183a1d21d06cb026b48dc2c31e85.jpg","text":"TemporaryFile(/tmp/multipartBody2436618611418098411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326653853,"filename":"image_04112025_22_31_41_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/2/1d8c1bca87fe806258b4afa46eae4a34.jpg","text":"TemporaryFile(/tmp/multipartBody5793879914213979055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326653853,"filename":"image_04112025_22_31_50_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/2/cc6d6574910539bacbc85d1b867039d2.jpg","text":"TemporaryFile(/tmp/multipartBody3216604961791225908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326653853,"filename":"image_04112025_22_31_46_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402104870","file1":"1402104835","file0":"1402104799","file4":"1402104900","file5":"1402104903","file3":"1402104898"},"map_files_photo_id_array":[{"photo_id":"1402104903","filename":"file5"},{"photo_id":"1402104870","filename":"file2"},{"photo_id":"1402104900","filename":"file4"},{"photo_id":"1402104835","filename":"file1"},{"photo_id":"1402104799","filename":"file0"},{"photo_id":"1402104898","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402104898":["hashtag1","hashtag2"]},{"1402104799":["hashtag1","hashtag2"]},{"1402104835":["hashtag1","hashtag2"]},{"1402104870":["hashtag1","hashtag2"]},{"1402104903":["hashtag1","hashtag2"]},{"1402104900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402104898, 1402104799, 1402104835, 1402104870, 1402104903, 1402104900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.593438386917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:04:02.953611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_25_9704.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_35_9692.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_45_10669.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_55_9860.jpg', '/home/pi/Desktop/images/02012026/04/04/image_02012026_04_05_05_9545.jpg', '/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_25_9704.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_35_9692.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_45_10669.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_04_55_9860.jpg
/home/pi/Desktop/images/02012026/04/04/image_02012026_04_05_05_9545.jpg
/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_14_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":["1402105030","1402105024","1402105017","1402105026","1402105028","1402105025"],"photo_ids_order":["1402105017","1402105024","1402105025","1402105026","1402105028","1402105030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93ba6938b8d4d4bf064d7f217c5e6bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8198581570309436464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326704834,"filename":"image_02012026_04_05_14_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/2/dd897be41828db14d1e92f9739c9a12c.jpg","text":"TemporaryFile(/tmp/multipartBody6848223189631949247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326704834,"filename":"image_02012026_04_04_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/2/0e85a02ef2235f2c9ec34d284fb931fa.jpg","text":"TemporaryFile(/tmp/multipartBody2580755919054181472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326704834,"filename":"image_02012026_04_04_25_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/2/a33d1b6f56ababb50b8d8def7dc31fac.jpg","text":"TemporaryFile(/tmp/multipartBody6853071482182183124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326704834,"filename":"image_02012026_04_04_55_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/2/503bf63eb5067f49405f1f2a4318169a.jpg","text":"TemporaryFile(/tmp/multipartBody2288580685386107762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326704834,"filename":"image_02012026_04_05_05_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/2/ca4802b19cb8ab814168c80fa5fcded1.jpg","text":"TemporaryFile(/tmp/multipartBody716876811019492041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326704834,"filename":"image_02012026_04_04_45_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105025","file1":"1402105024","file0":"1402105017","file4":"1402105028","file5":"1402105030","file3":"1402105026"},"map_files_photo_id_array":[{"photo_id":"1402105030","filename":"file5"},{"photo_id":"1402105025","filename":"file2"},{"photo_id":"1402105028","filename":"file4"},{"photo_id":"1402105024","filename":"file1"},{"photo_id":"1402105017","filename":"file0"},{"photo_id":"1402105026","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105030":["hashtag1","hashtag2"]},{"1402105024":["hashtag1","hashtag2"]},{"1402105017":["hashtag1","hashtag2"]},{"1402105026":["hashtag1","hashtag2"]},{"1402105028":["hashtag1","hashtag2"]},{"1402105025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105030, 1402105024, 1402105017, 1402105026, 1402105028, 1402105025)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7387912273407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:05:05.284013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_25_10731.jpg', '/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_35_9638.jpg', '/home/pi/Desktop/images/02012026/04/05/image_02012026_04_06_05_9597.jpg', '/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_15_10610.jpg', '/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_25_9566.jpg', '/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_35_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_25_10731.jpg
/home/pi/Desktop/images/02012026/04/05/image_02012026_04_05_35_9638.jpg
/home/pi/Desktop/images/02012026/04/05/image_02012026_04_06_05_9597.jpg
/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_15_10610.jpg
/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_25_9566.jpg
/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_35_9937.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":["1402105039","1402105044","1402105038","1402105040","1402105037","1402105042"],"photo_ids_order":["1402105037","1402105038","1402105039","1402105040","1402105042","1402105044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e98ac599ae7160d27df508a3b29ea987.jpg","text":"TemporaryFile(/tmp/multipartBody5882097876569386506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326766208,"filename":"image_02012026_04_06_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/2/220745d0f04d8739c3371b500b73d6db.jpg","text":"TemporaryFile(/tmp/multipartBody4825620873721735491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326766208,"filename":"image_02012026_04_06_35_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/2/a50f46ad2e8da369827bcef923410238.jpg","text":"TemporaryFile(/tmp/multipartBody4586962338036742702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326766208,"filename":"image_02012026_04_05_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/2/07cda371d7716d82874e479749d63682.jpg","text":"TemporaryFile(/tmp/multipartBody2175325695104240880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326766208,"filename":"image_02012026_04_06_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/2/fd53e3e19906dcfb705e7521cc50adba.jpg","text":"TemporaryFile(/tmp/multipartBody701580017268428422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326766208,"filename":"image_02012026_04_05_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/2/adb8637760e3f796505d69c13a3b056f.jpg","text":"TemporaryFile(/tmp/multipartBody691424799591545315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326766208,"filename":"image_02012026_04_06_25_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105039","file1":"1402105038","file0":"1402105037","file4":"1402105042","file5":"1402105044","file3":"1402105040"},"map_files_photo_id_array":[{"photo_id":"1402105044","filename":"file5"},{"photo_id":"1402105039","filename":"file2"},{"photo_id":"1402105042","filename":"file4"},{"photo_id":"1402105038","filename":"file1"},{"photo_id":"1402105037","filename":"file0"},{"photo_id":"1402105040","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105039":["hashtag1","hashtag2"]},{"1402105044":["hashtag1","hashtag2"]},{"1402105038":["hashtag1","hashtag2"]},{"1402105040":["hashtag1","hashtag2"]},{"1402105037":["hashtag1","hashtag2"]},{"1402105042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105039, 1402105044, 1402105038, 1402105040, 1402105037, 1402105042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51406383514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:06:03.175127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_45_9801.jpg', '/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_55_10589.jpg', '/home/pi/Desktop/images/02012026/04/06/image_02012026_04_07_05_9665.jpg', '/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_14_9664.jpg', '/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_25_10809.jpg', '/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_35_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_45_9801.jpg
/home/pi/Desktop/images/02012026/04/06/image_02012026_04_06_55_10589.jpg
/home/pi/Desktop/images/02012026/04/06/image_02012026_04_07_05_9665.jpg
/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_14_9664.jpg
/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_25_10809.jpg
/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_35_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105053","1402105056","1402105058","1402105052","1402105055","1402105054"],"photo_ids_order":["1402105052","1402105053","1402105054","1402105055","1402105056","1402105058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/717bf1da977512b29284ef927cf14fce.jpg","text":"TemporaryFile(/tmp/multipartBody2715244751055740810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326823819,"filename":"image_02012026_04_06_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/2/038f55aef2ee76167675f8afb8a591cc.jpg","text":"TemporaryFile(/tmp/multipartBody698375786318075136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326823819,"filename":"image_02012026_04_07_25_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/2/71b41e062e56c95033f3e63664efbf57.jpg","text":"TemporaryFile(/tmp/multipartBody6922060509698110243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326823819,"filename":"image_02012026_04_07_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/2/c1e6edfa08bde5c1534ebddec66b16d0.jpg","text":"TemporaryFile(/tmp/multipartBody2682495223970323875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326823819,"filename":"image_02012026_04_06_45_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/2/d79fafb2b552b686b5fb3532d5cbc332.jpg","text":"TemporaryFile(/tmp/multipartBody3652229651711833945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326823819,"filename":"image_02012026_04_07_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/2/4136f3324c38056321a6c0a9ca68d40c.jpg","text":"TemporaryFile(/tmp/multipartBody8202233358370760959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326823819,"filename":"image_02012026_04_07_05_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105054","file1":"1402105053","file0":"1402105052","file4":"1402105056","file5":"1402105058","file3":"1402105055"},"map_files_photo_id_array":[{"photo_id":"1402105058","filename":"file5"},{"photo_id":"1402105054","filename":"file2"},{"photo_id":"1402105056","filename":"file4"},{"photo_id":"1402105053","filename":"file1"},{"photo_id":"1402105052","filename":"file0"},{"photo_id":"1402105055","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105053":["hashtag1","hashtag2"]},{"1402105056":["hashtag1","hashtag2"]},{"1402105058":["hashtag1","hashtag2"]},{"1402105052":["hashtag1","hashtag2"]},{"1402105055":["hashtag1","hashtag2"]},{"1402105054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105053, 1402105056, 1402105058, 1402105052, 1402105055, 1402105054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51681709289551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:06:42.686984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_55_2628.jpg', '/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_59_3602.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_01_2535.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_08_3880.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_11_2595.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_13_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_55_2628.jpg
/home/pi/Desktop/images/04112025/22/31/image_04112025_22_31_59_3602.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_01_2535.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_08_3880.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_11_2595.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_13_2738.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":["1402105068","1402105070","1402105064","1402105067","1402105072","1402105069"],"photo_ids_order":["1402105064","1402105067","1402105068","1402105069","1402105070","1402105072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a62272b09af7038b45d665d6d2a86983.jpg","text":"TemporaryFile(/tmp/multipartBody4590803536122397558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326864538,"filename":"image_04112025_22_32_01_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/2/81be1f30d3755f501679b416f526adff.jpg","text":"TemporaryFile(/tmp/multipartBody293525889578115519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326864538,"filename":"image_04112025_22_32_11_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/2/1be254ac64dd0225398042b3c9997a29.jpg","text":"TemporaryFile(/tmp/multipartBody2724023455925829707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326864538,"filename":"image_04112025_22_31_55_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/2/c669ce74ffbbd32f7ea7822e7d476dc2.jpg","text":"TemporaryFile(/tmp/multipartBody445021170734486108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326864538,"filename":"image_04112025_22_31_59_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/2/64349ff0ac77ee779c105a2f8374b479.jpg","text":"TemporaryFile(/tmp/multipartBody4024542457975728073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326864538,"filename":"image_04112025_22_32_13_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/2/f34467b15fb63e32d122c713537a1042.jpg","text":"TemporaryFile(/tmp/multipartBody642609657670892203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326864538,"filename":"image_04112025_22_32_08_3880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105068","file1":"1402105067","file0":"1402105064","file4":"1402105070","file5":"1402105072","file3":"1402105069"},"map_files_photo_id_array":[{"photo_id":"1402105072","filename":"file5"},{"photo_id":"1402105068","filename":"file2"},{"photo_id":"1402105070","filename":"file4"},{"photo_id":"1402105067","filename":"file1"},{"photo_id":"1402105064","filename":"file0"},{"photo_id":"1402105069","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105068":["hashtag1","hashtag2"]},{"1402105070":["hashtag1","hashtag2"]},{"1402105064":["hashtag1","hashtag2"]},{"1402105067":["hashtag1","hashtag2"]},{"1402105072":["hashtag1","hashtag2"]},{"1402105069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105068, 1402105070, 1402105064, 1402105067, 1402105072, 1402105069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.31791019439697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:07:31.859123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_17_3566.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_22_2600.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_26_3640.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_31_2646.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_48_17377.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_50_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/22/32/image_04112025_22_32_17_3566.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_22_2600.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_26_3640.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_31_2646.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_48_17377.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_50_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":["1402105083","1402105080","1402105082","1402105076","1402105084","1402105078"],"photo_ids_order":["1402105076","1402105078","1402105080","1402105082","1402105083","1402105084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfbd344e1beac611c542012aa9a1241e.jpg","text":"TemporaryFile(/tmp/multipartBody6738057139882718717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326913664,"filename":"image_04112025_22_32_48_17377.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/627ee36011ec0cb7605432e9bbf9623f.jpg","text":"TemporaryFile(/tmp/multipartBody4985334634375970249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326913664,"filename":"image_04112025_22_32_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/2/187ae0dfd05b1969a64a25ea1b1eee11.jpg","text":"TemporaryFile(/tmp/multipartBody4314703262650582689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326913664,"filename":"image_04112025_22_32_31_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/2/ec63eb2ca73505e624725ce6e7646a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7503384772715900728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326913664,"filename":"image_04112025_22_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/2/552acaecd40e3496e6c0b9cdcdf005f9.jpg","text":"TemporaryFile(/tmp/multipartBody8305213340007919794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326913664,"filename":"image_04112025_22_32_50_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/2/62ffec200c4cebd5ed9ccc36316c6bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8334917366299127215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326913664,"filename":"image_04112025_22_32_22_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105080","file1":"1402105078","file0":"1402105076","file4":"1402105083","file5":"1402105084","file3":"1402105082"},"map_files_photo_id_array":[{"photo_id":"1402105084","filename":"file5"},{"photo_id":"1402105080","filename":"file2"},{"photo_id":"1402105083","filename":"file4"},{"photo_id":"1402105078","filename":"file1"},{"photo_id":"1402105076","filename":"file0"},{"photo_id":"1402105082","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105083":["hashtag1","hashtag2"]},{"1402105080":["hashtag1","hashtag2"]},{"1402105082":["hashtag1","hashtag2"]},{"1402105076":["hashtag1","hashtag2"]},{"1402105084":["hashtag1","hashtag2"]},{"1402105078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105083, 1402105080, 1402105082, 1402105076, 1402105084, 1402105078)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.60471057891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:08:21.970084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_54_9672.jpg', '/home/pi/Desktop/images/02012026/04/07/image_02012026_04_08_05_10540.jpg', '/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_15_9692.jpg', '/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_24_9660.jpg', '/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_45_9772.jpg', '/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_55_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/07/image_02012026_04_07_54_9672.jpg
/home/pi/Desktop/images/02012026/04/07/image_02012026_04_08_05_10540.jpg
/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_15_9692.jpg
/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_24_9660.jpg
/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_45_9772.jpg
/home/pi/Desktop/images/02012026/04/08/image_02012026_04_08_55_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105092","1402105086","1402105094","1402105088","1402105100","1402105090"],"photo_ids_order":["1402105086","1402105088","1402105090","1402105092","1402105094","1402105100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84ad63388d711a29aa63fd2e7e088e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3725998368495628526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326962577,"filename":"image_02012026_04_08_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/2/0b20b4a44da2192b35c2cd73f4646dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4893575806647528688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326962577,"filename":"image_02012026_04_07_54_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/2/27f088d17049ce5fb2a78099a331a5bb.jpg","text":"TemporaryFile(/tmp/multipartBody1808579524568048737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326962577,"filename":"image_02012026_04_08_45_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/2/3c27aa8d3db28b60b99785ee2007e35d.jpg","text":"TemporaryFile(/tmp/multipartBody4684057773432725161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326962577,"filename":"image_02012026_04_08_05_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/2/839d843744765e6d00641df9ccb8d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody2606389259299563624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326962577,"filename":"image_02012026_04_08_55_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/2/f30166ab1bd2b2d98620e9cdf6b8358e.jpg","text":"TemporaryFile(/tmp/multipartBody5634589354349964380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767326962577,"filename":"image_02012026_04_08_15_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105090","file1":"1402105088","file0":"1402105086","file4":"1402105094","file5":"1402105100","file3":"1402105092"},"map_files_photo_id_array":[{"photo_id":"1402105100","filename":"file5"},{"photo_id":"1402105090","filename":"file2"},{"photo_id":"1402105094","filename":"file4"},{"photo_id":"1402105088","filename":"file1"},{"photo_id":"1402105086","filename":"file0"},{"photo_id":"1402105092","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105092":["hashtag1","hashtag2"]},{"1402105086":["hashtag1","hashtag2"]},{"1402105094":["hashtag1","hashtag2"]},{"1402105088":["hashtag1","hashtag2"]},{"1402105100":["hashtag1","hashtag2"]},{"1402105090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105092, 1402105086, 1402105094, 1402105088, 1402105100, 1402105090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64520812034607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:09:02.883756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 05:09:11.984403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_53_1616.jpg', '/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_59_1737.jpg', '/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_09_9899.jpg', '/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_10_1694.jpg', '/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_12_1628.jpg', '/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_14_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_53_1616.jpg
/home/pi/Desktop/images/04112025/22/32/image_04112025_22_32_59_1737.jpg
/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_09_9899.jpg
/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_10_1694.jpg
/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_12_1628.jpg
/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_14_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105111","1402105105","1402105104","1402105113","1402105107","1402105109"],"photo_ids_order":["1402105104","1402105105","1402105107","1402105109","1402105111","1402105113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aeb3c13b68ed68085d1077ac5b6c43b2.jpg","text":"TemporaryFile(/tmp/multipartBody8595934550381750648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327013756,"filename":"image_04112025_22_33_12_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/2/70712db9b5a457e61e6c83c4421cfca4.jpg","text":"TemporaryFile(/tmp/multipartBody4767188927853068962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327013756,"filename":"image_04112025_22_32_59_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/2/5505c28e7b8f2be29133162f4efefcbe.jpg","text":"TemporaryFile(/tmp/multipartBody7621858535863002760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327013756,"filename":"image_04112025_22_32_53_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/2/641965e34e310e72ec5adebee441d90f.jpg","text":"TemporaryFile(/tmp/multipartBody8284869234497328757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327013756,"filename":"image_04112025_22_33_14_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/2/5cd76aa29ef462361a3ff81314fbf50a.jpg","text":"TemporaryFile(/tmp/multipartBody5632284482191888432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327013756,"filename":"image_04112025_22_33_09_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/767b45ad905b1a1a8b83b4f09805f1f2.jpg","text":"TemporaryFile(/tmp/multipartBody150487778411979450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327013756,"filename":"image_04112025_22_33_10_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105107","file1":"1402105105","file0":"1402105104","file4":"1402105111","file5":"1402105113","file3":"1402105109"},"map_files_photo_id_array":[{"photo_id":"1402105113","filename":"file5"},{"photo_id":"1402105107","filename":"file2"},{"photo_id":"1402105111","filename":"file4"},{"photo_id":"1402105105","filename":"file1"},{"photo_id":"1402105104","filename":"file0"},{"photo_id":"1402105109","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105111":["hashtag1","hashtag2"]},{"1402105105":["hashtag1","hashtag2"]},{"1402105104":["hashtag1","hashtag2"]},{"1402105113":["hashtag1","hashtag2"]},{"1402105107":["hashtag1","hashtag2"]},{"1402105109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105111, 1402105105, 1402105104, 1402105113, 1402105107, 1402105109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.038418769836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:10:02.539028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 05:10:12.122710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_38_11516.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_01_23339.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_07_6062.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_14_6770.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_18_1655.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_19_1533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_38_11516.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_01_23339.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_07_6062.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_14_6770.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_18_1655.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_19_1533.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.636619806289673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:10:26.748654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/08/image_02012026_04_09_05_9897.jpg', '/home/pi/Desktop/images/02012026/04/09/image_02012026_04_09_14_9730.jpg', '/home/pi/Desktop/images/02012026/04/09/image_02012026_04_09_25_10605.jpg', '/home/pi/Desktop/images/02012026/04/09/image_02012026_04_09_35_9571.jpg', '/home/pi/Desktop/images/02012026/04/10/image_02012026_04_10_35_9783.jpg', '/home/pi/Desktop/images/02012026/04/10/image_02012026_04_10_44_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/08/image_02012026_04_09_05_9897.jpg
/home/pi/Desktop/images/02012026/04/09/image_02012026_04_09_14_9730.jpg
/home/pi/Desktop/images/02012026/04/09/image_02012026_04_09_25_10605.jpg
/home/pi/Desktop/images/02012026/04/09/image_02012026_04_09_35_9571.jpg
/home/pi/Desktop/images/02012026/04/10/image_02012026_04_10_35_9783.jpg
/home/pi/Desktop/images/02012026/04/10/image_02012026_04_10_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":["1402105123","1402105126","1402105129","1402105134","1402105137","1402105131"],"photo_ids_order":["1402105123","1402105126","1402105129","1402105131","1402105134","1402105137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ebd996f14d148cd0d523e895ae514df8.jpg","text":"TemporaryFile(/tmp/multipartBody6210221930177509245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327087325,"filename":"image_02012026_04_09_05_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/2/f5aad072c41be7599ffbd6216686ba26.jpg","text":"TemporaryFile(/tmp/multipartBody8028121876472700281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327087325,"filename":"image_02012026_04_09_14_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/2/25ac12d8e773836d2d03e36336535b6e.jpg","text":"TemporaryFile(/tmp/multipartBody4189987139410599550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327087325,"filename":"image_02012026_04_09_25_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/2/0482c0314d015493dffc0593c39e48e0.jpg","text":"TemporaryFile(/tmp/multipartBody3197323215028882592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327087325,"filename":"image_02012026_04_10_35_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/2/65c141e3d788b5597c08562a5efef208.jpg","text":"TemporaryFile(/tmp/multipartBody7299772989663656578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327087325,"filename":"image_02012026_04_10_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/2/5ed622cdff84436bbb760df3c286a2d1.jpg","text":"TemporaryFile(/tmp/multipartBody4191948994231716339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327087325,"filename":"image_02012026_04_09_35_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105129","file1":"1402105126","file0":"1402105123","file4":"1402105134","file5":"1402105137","file3":"1402105131"},"map_files_photo_id_array":[{"photo_id":"1402105137","filename":"file5"},{"photo_id":"1402105129","filename":"file2"},{"photo_id":"1402105134","filename":"file4"},{"photo_id":"1402105126","filename":"file1"},{"photo_id":"1402105123","filename":"file0"},{"photo_id":"1402105131","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105123":["hashtag1","hashtag2"]},{"1402105126":["hashtag1","hashtag2"]},{"1402105129":["hashtag1","hashtag2"]},{"1402105134":["hashtag1","hashtag2"]},{"1402105137":["hashtag1","hashtag2"]},{"1402105131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105123, 1402105126, 1402105129, 1402105134, 1402105137, 1402105131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4438591003418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:11:12.347409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_38_11516.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_01_23339.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_07_6062.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_14_6770.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_18_1655.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_19_1533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/33/image_04112025_22_33_38_11516.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_01_23339.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_07_6062.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_14_6770.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_18_1655.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_19_1533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105144","1402105138","1402105146","1402105140","1402105142","1402105139"],"photo_ids_order":["1402105138","1402105139","1402105140","1402105142","1402105144","1402105146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3772dc534c569ccb50a0c81cc1c8610e.jpg","text":"TemporaryFile(/tmp/multipartBody1684812604126495879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327133897,"filename":"image_04112025_22_34_18_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/2/c9f9b1ad29860f64a1c75c2290ae0681.jpg","text":"TemporaryFile(/tmp/multipartBody5892380607166830847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327133897,"filename":"image_04112025_22_33_38_11516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c34d74f7df492cb0fe729d86a5bcc7cc.jpg","text":"TemporaryFile(/tmp/multipartBody2334902989323059190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327133897,"filename":"image_04112025_22_34_19_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/2/35c42e6dcf25dd4e83e554703c768cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2496392104765615976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327133897,"filename":"image_04112025_22_34_07_6062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2fef0df7655a4456c6494efc6b02d2f.jpg","text":"TemporaryFile(/tmp/multipartBody951788190431308371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327133897,"filename":"image_04112025_22_34_14_6770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5204b7c91472db66b96e9755f9c56066.jpg","text":"TemporaryFile(/tmp/multipartBody322221889931953473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327133897,"filename":"image_04112025_22_34_01_23339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105140","file1":"1402105139","file0":"1402105138","file4":"1402105144","file5":"1402105146","file3":"1402105142"},"map_files_photo_id_array":[{"photo_id":"1402105146","filename":"file5"},{"photo_id":"1402105140","filename":"file2"},{"photo_id":"1402105144","filename":"file4"},{"photo_id":"1402105139","filename":"file1"},{"photo_id":"1402105138","filename":"file0"},{"photo_id":"1402105142","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105144":["hashtag1","hashtag2"]},{"1402105138":["hashtag1","hashtag2"]},{"1402105146":["hashtag1","hashtag2"]},{"1402105140":["hashtag1","hashtag2"]},{"1402105142":["hashtag1","hashtag2"]},{"1402105139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105144, 1402105138, 1402105146, 1402105140, 1402105142, 1402105139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68054533004761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:12:03.032100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/10/image_02012026_04_10_55_10691.jpg', '/home/pi/Desktop/images/02012026/04/11/image_02012026_04_11_35_10732.jpg', '/home/pi/Desktop/images/02012026/04/11/image_02012026_04_11_45_9558.jpg', '/home/pi/Desktop/images/02012026/04/11/image_02012026_04_12_05_10779.jpg', '/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_15_9633.jpg', '/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_25_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/10/image_02012026_04_10_55_10691.jpg
/home/pi/Desktop/images/02012026/04/11/image_02012026_04_11_35_10732.jpg
/home/pi/Desktop/images/02012026/04/11/image_02012026_04_11_45_9558.jpg
/home/pi/Desktop/images/02012026/04/11/image_02012026_04_12_05_10779.jpg
/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_15_9633.jpg
/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_25_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":["1402105159","1402105164","1402105158","1402105161","1402105162","1402105156"],"photo_ids_order":["1402105156","1402105158","1402105159","1402105161","1402105162","1402105164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8bd17b3949bcaa7b0c9258daac386caa.jpg","text":"TemporaryFile(/tmp/multipartBody4699994899331296598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327183673,"filename":"image_02012026_04_11_45_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/2/b28b4c3165d0cd218711c5962d4dcd2b.jpg","text":"TemporaryFile(/tmp/multipartBody4649287825506463256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327183673,"filename":"image_02012026_04_12_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/2/31b8d5358569b42c39c0974a3af57f2b.jpg","text":"TemporaryFile(/tmp/multipartBody598633642707544641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327183673,"filename":"image_02012026_04_11_35_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/2/529e6768f2c2c4288e2e55ad870a17a6.jpg","text":"TemporaryFile(/tmp/multipartBody4237728523731926409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327183673,"filename":"image_02012026_04_12_05_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/2/0b70343b7693510cd55be813f4945f28.jpg","text":"TemporaryFile(/tmp/multipartBody8342479812295882331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327183673,"filename":"image_02012026_04_12_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/2/cc9a3fd7b7ece0d7e84433132027ad04.jpg","text":"TemporaryFile(/tmp/multipartBody2647612440041573898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327183673,"filename":"image_02012026_04_10_55_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105159","file1":"1402105158","file0":"1402105156","file4":"1402105162","file5":"1402105164","file3":"1402105161"},"map_files_photo_id_array":[{"photo_id":"1402105164","filename":"file5"},{"photo_id":"1402105159","filename":"file2"},{"photo_id":"1402105162","filename":"file4"},{"photo_id":"1402105158","filename":"file1"},{"photo_id":"1402105156","filename":"file0"},{"photo_id":"1402105161","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105159":["hashtag1","hashtag2"]},{"1402105164":["hashtag1","hashtag2"]},{"1402105158":["hashtag1","hashtag2"]},{"1402105161":["hashtag1","hashtag2"]},{"1402105162":["hashtag1","hashtag2"]},{"1402105156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105159, 1402105164, 1402105158, 1402105161, 1402105162, 1402105156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.560550928115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:12:42.668356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_21_1638.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_22_1670.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_24_1798.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_26_1832.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_30_2069.jpg', '/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_43_12861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_21_1638.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_22_1670.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_24_1798.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_26_1832.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_30_2069.jpg
/home/pi/Desktop/images/04112025/22/34/image_04112025_22_34_43_12861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105173","1402105175","1402105169","1402105172","1402105174","1402105177"],"photo_ids_order":["1402105169","1402105172","1402105173","1402105174","1402105175","1402105177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3de021706518cdc08371b4008373415f.jpg","text":"TemporaryFile(/tmp/multipartBody6011767206556609198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327224489,"filename":"image_04112025_22_34_24_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/2/9d0a1ca2850e5bdbe69ea5b43940bf6c.jpg","text":"TemporaryFile(/tmp/multipartBody3240392641793814180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327224489,"filename":"image_04112025_22_34_30_2069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/40853a36586ef98495afe7064b92de83.jpg","text":"TemporaryFile(/tmp/multipartBody8321085733596671905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327224489,"filename":"image_04112025_22_34_21_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/2/4b4d0b3e8f8520b58331744044951d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2604932760826211583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327224489,"filename":"image_04112025_22_34_22_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/2/1d6c566fdfac2224d664d6d3fc583cda.jpg","text":"TemporaryFile(/tmp/multipartBody8320090186655731855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327224489,"filename":"image_04112025_22_34_26_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d38aba999e75831a70a5c166e041a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1840789679628397589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327224489,"filename":"image_04112025_22_34_43_12861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105173","file1":"1402105172","file0":"1402105169","file4":"1402105175","file5":"1402105177","file3":"1402105174"},"map_files_photo_id_array":[{"photo_id":"1402105177","filename":"file5"},{"photo_id":"1402105173","filename":"file2"},{"photo_id":"1402105175","filename":"file4"},{"photo_id":"1402105172","filename":"file1"},{"photo_id":"1402105169","filename":"file0"},{"photo_id":"1402105174","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105173":["hashtag1","hashtag2"]},{"1402105175":["hashtag1","hashtag2"]},{"1402105169":["hashtag1","hashtag2"]},{"1402105172":["hashtag1","hashtag2"]},{"1402105174":["hashtag1","hashtag2"]},{"1402105177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105173, 1402105175, 1402105169, 1402105172, 1402105174, 1402105177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.603259563446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:13:21.825671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_35_10691.jpg', '/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_45_9727.jpg', '/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_54_9512.jpg', '/home/pi/Desktop/images/02012026/04/12/image_02012026_04_13_05_10649.jpg', '/home/pi/Desktop/images/02012026/04/13/image_02012026_04_13_15_9741.jpg', '/home/pi/Desktop/images/02012026/04/13/image_02012026_04_13_25_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_35_10691.jpg
/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_45_9727.jpg
/home/pi/Desktop/images/02012026/04/12/image_02012026_04_12_54_9512.jpg
/home/pi/Desktop/images/02012026/04/12/image_02012026_04_13_05_10649.jpg
/home/pi/Desktop/images/02012026/04/13/image_02012026_04_13_15_9741.jpg
/home/pi/Desktop/images/02012026/04/13/image_02012026_04_13_25_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105179","1402105188","1402105181","1402105190","1402105184","1402105186"],"photo_ids_order":["1402105179","1402105181","1402105184","1402105186","1402105188","1402105190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a15f37a5e9351041056cc27eeb72706.jpg","text":"TemporaryFile(/tmp/multipartBody1060267484304627742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327262437,"filename":"image_02012026_04_12_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/2/0177bebb51ece6adfc1a10544a29c7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5331037882798824214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327262437,"filename":"image_02012026_04_13_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/2/f53aa6dd5b490d1cb80135b53be76210.jpg","text":"TemporaryFile(/tmp/multipartBody1675844552734240453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327262437,"filename":"image_02012026_04_12_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/2/22c60c786631f5b7a13e18d9d2e0237b.jpg","text":"TemporaryFile(/tmp/multipartBody8434609386478758531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327262437,"filename":"image_02012026_04_13_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/2/53cea48369402e7afed475fd64567401.jpg","text":"TemporaryFile(/tmp/multipartBody5869894360551421076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327262437,"filename":"image_02012026_04_12_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/2/2693a4550550a094a9304d6bb59d4d9c.jpg","text":"TemporaryFile(/tmp/multipartBody476268778278960512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327262437,"filename":"image_02012026_04_13_05_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105184","file1":"1402105181","file0":"1402105179","file4":"1402105188","file5":"1402105190","file3":"1402105186"},"map_files_photo_id_array":[{"photo_id":"1402105190","filename":"file5"},{"photo_id":"1402105184","filename":"file2"},{"photo_id":"1402105188","filename":"file4"},{"photo_id":"1402105181","filename":"file1"},{"photo_id":"1402105179","filename":"file0"},{"photo_id":"1402105186","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105179":["hashtag1","hashtag2"]},{"1402105188":["hashtag1","hashtag2"]},{"1402105181":["hashtag1","hashtag2"]},{"1402105190":["hashtag1","hashtag2"]},{"1402105184":["hashtag1","hashtag2"]},{"1402105186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105179, 1402105188, 1402105181, 1402105190, 1402105184, 1402105186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16217303276062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:14:02.871679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_14_9831.jpg', '/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_25_10714.jpg', '/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_35_9892.jpg', '/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_45_10011.jpg', '/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_55_9846.jpg', '/home/pi/Desktop/images/02012026/04/14/image_02012026_04_15_05_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_14_9831.jpg
/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_25_10714.jpg
/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_35_9892.jpg
/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_45_10011.jpg
/home/pi/Desktop/images/02012026/04/14/image_02012026_04_14_55_9846.jpg
/home/pi/Desktop/images/02012026/04/14/image_02012026_04_15_05_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":["1402105194","1402105197","1402105191","1402105200","1402105193","1402105196"],"photo_ids_order":["1402105191","1402105193","1402105194","1402105196","1402105197","1402105200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30cd4869e4aa73460bd4c0fa9bdf80b0.jpg","text":"TemporaryFile(/tmp/multipartBody1640769989147399746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327303534,"filename":"image_02012026_04_14_35_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/2/25bc34f8981d08de859748770c6e0b65.jpg","text":"TemporaryFile(/tmp/multipartBody6534815870690286672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327303534,"filename":"image_02012026_04_14_55_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/2/798475cf7d67db3a9180821016fe7d56.jpg","text":"TemporaryFile(/tmp/multipartBody6542266945542255149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327303534,"filename":"image_02012026_04_14_14_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/2/663e3017ee5bac10d9bc59a6d5e65834.jpg","text":"TemporaryFile(/tmp/multipartBody6490770471901281224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327303534,"filename":"image_02012026_04_15_05_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/2/951b2fe7e1e14b91e9219bc7ff336b49.jpg","text":"TemporaryFile(/tmp/multipartBody4144066249029324375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327303534,"filename":"image_02012026_04_14_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/2/ac6886fefb62bd8d4a74b560fc6d62d9.jpg","text":"TemporaryFile(/tmp/multipartBody6322774867805349618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327303534,"filename":"image_02012026_04_14_45_10011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105194","file1":"1402105193","file0":"1402105191","file4":"1402105197","file5":"1402105200","file3":"1402105196"},"map_files_photo_id_array":[{"photo_id":"1402105200","filename":"file5"},{"photo_id":"1402105194","filename":"file2"},{"photo_id":"1402105197","filename":"file4"},{"photo_id":"1402105193","filename":"file1"},{"photo_id":"1402105191","filename":"file0"},{"photo_id":"1402105196","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105194":["hashtag1","hashtag2"]},{"1402105197":["hashtag1","hashtag2"]},{"1402105191":["hashtag1","hashtag2"]},{"1402105200":["hashtag1","hashtag2"]},{"1402105193":["hashtag1","hashtag2"]},{"1402105196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105194, 1402105197, 1402105191, 1402105200, 1402105193, 1402105196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96053862571716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:14:42.096206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_06_3015.jpg', '/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_15_1955.jpg', '/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_16_1795.jpg', '/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_25_2568.jpg', '/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_30_2735.jpg', '/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_34_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/22/36/image_04112025_22_36_06_3015.jpg
/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_15_1955.jpg
/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_16_1795.jpg
/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_25_2568.jpg
/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_30_2735.jpg
/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_34_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":["1402105210","1402105213","1402105209","1402105212","1402105206","1402105211"],"photo_ids_order":["1402105206","1402105209","1402105210","1402105211","1402105212","1402105213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c4f67fff64000af4c017d546d63bc376.jpg","text":"TemporaryFile(/tmp/multipartBody9154944470818281900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327343907,"filename":"image_04112025_22_36_16_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/2/c51e9daa478879f476f53f6c739d2a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4171918358103294140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327343907,"filename":"image_04112025_22_36_34_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/2/328073132d4aed6e4be59e532372ba7a.jpg","text":"TemporaryFile(/tmp/multipartBody7137850088096654186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327343907,"filename":"image_04112025_22_36_15_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3eaaca0ebf4c707c8bae07e1c6279b5.jpg","text":"TemporaryFile(/tmp/multipartBody4348842674841105946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327343907,"filename":"image_04112025_22_36_30_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0abca639a9ede220fa2675bcb1ffd0fe.jpg","text":"TemporaryFile(/tmp/multipartBody2080687225053032110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327343907,"filename":"image_04112025_22_36_06_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/2/fd9c2afe12e6a66981807bf4a9536490.jpg","text":"TemporaryFile(/tmp/multipartBody1886286493323738586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327343907,"filename":"image_04112025_22_36_25_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105210","file1":"1402105209","file0":"1402105206","file4":"1402105212","file5":"1402105213","file3":"1402105211"},"map_files_photo_id_array":[{"photo_id":"1402105213","filename":"file5"},{"photo_id":"1402105210","filename":"file2"},{"photo_id":"1402105212","filename":"file4"},{"photo_id":"1402105209","filename":"file1"},{"photo_id":"1402105206","filename":"file0"},{"photo_id":"1402105211","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105210":["hashtag1","hashtag2"]},{"1402105213":["hashtag1","hashtag2"]},{"1402105209":["hashtag1","hashtag2"]},{"1402105212":["hashtag1","hashtag2"]},{"1402105206":["hashtag1","hashtag2"]},{"1402105211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105210, 1402105213, 1402105209, 1402105212, 1402105206, 1402105211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24255990982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:15:22.273820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/15/image_02012026_04_15_45_10629.jpg', '/home/pi/Desktop/images/02012026/04/16/image_02012026_04_16_15_9827.jpg', '/home/pi/Desktop/images/02012026/04/16/image_02012026_04_16_35_9649.jpg', '/home/pi/Desktop/images/02012026/04/16/image_02012026_04_16_45_9800.jpg', '/home/pi/Desktop/images/02012026/04/16/image_02012026_04_17_05_9609.jpg', '/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_14_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/15/image_02012026_04_15_45_10629.jpg
/home/pi/Desktop/images/02012026/04/16/image_02012026_04_16_15_9827.jpg
/home/pi/Desktop/images/02012026/04/16/image_02012026_04_16_35_9649.jpg
/home/pi/Desktop/images/02012026/04/16/image_02012026_04_16_45_9800.jpg
/home/pi/Desktop/images/02012026/04/16/image_02012026_04_17_05_9609.jpg
/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_14_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":["1402105222","1402105216","1402105225","1402105218","1402105220","1402105214"],"photo_ids_order":["1402105214","1402105216","1402105218","1402105220","1402105222","1402105225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8987ff46f512a3f52f2355e831bcc64c.jpg","text":"TemporaryFile(/tmp/multipartBody3373107939822475212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327382887,"filename":"image_02012026_04_17_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/2/b175f1f103b1ff05361c0e54a06cf702.jpg","text":"TemporaryFile(/tmp/multipartBody2796816437712305335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327382887,"filename":"image_02012026_04_16_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/2/3ce386ad0c9bdd49a3171c43dab28383.jpg","text":"TemporaryFile(/tmp/multipartBody8686055166213988330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327382887,"filename":"image_02012026_04_17_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/2/2b05ef57df60666b0d7264722a0b4fff.jpg","text":"TemporaryFile(/tmp/multipartBody2736137469703569158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327382887,"filename":"image_02012026_04_16_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/2/35b65d145eb737300dfe5e3060181919.jpg","text":"TemporaryFile(/tmp/multipartBody1627994541670167047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327382887,"filename":"image_02012026_04_16_45_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/2/649350e2138f9da282764164dc5758a9.jpg","text":"TemporaryFile(/tmp/multipartBody3229146238935441833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327382887,"filename":"image_02012026_04_15_45_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105218","file1":"1402105216","file0":"1402105214","file4":"1402105222","file5":"1402105225","file3":"1402105220"},"map_files_photo_id_array":[{"photo_id":"1402105225","filename":"file5"},{"photo_id":"1402105218","filename":"file2"},{"photo_id":"1402105222","filename":"file4"},{"photo_id":"1402105216","filename":"file1"},{"photo_id":"1402105214","filename":"file0"},{"photo_id":"1402105220","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105222":["hashtag1","hashtag2"]},{"1402105216":["hashtag1","hashtag2"]},{"1402105225":["hashtag1","hashtag2"]},{"1402105218":["hashtag1","hashtag2"]},{"1402105220":["hashtag1","hashtag2"]},{"1402105214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105222, 1402105216, 1402105225, 1402105218, 1402105220, 1402105214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28040671348572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:16:02.909906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_25_10652.jpg', '/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_35_9606.jpg', '/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_55_10764.jpg', '/home/pi/Desktop/images/02012026/04/17/image_02012026_04_18_05_9671.jpg', '/home/pi/Desktop/images/02012026/04/18/image_02012026_04_18_24_9696.jpg', '/home/pi/Desktop/images/02012026/04/18/image_02012026_04_18_35_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_25_10652.jpg
/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_35_9606.jpg
/home/pi/Desktop/images/02012026/04/17/image_02012026_04_17_55_10764.jpg
/home/pi/Desktop/images/02012026/04/17/image_02012026_04_18_05_9671.jpg
/home/pi/Desktop/images/02012026/04/18/image_02012026_04_18_24_9696.jpg
/home/pi/Desktop/images/02012026/04/18/image_02012026_04_18_35_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":["1402105228","1402105233","1402105230","1402105232","1402105235","1402105229"],"photo_ids_order":["1402105228","1402105229","1402105230","1402105232","1402105233","1402105235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd330f0d348d5c58c99ee1d1ab59576e.jpg","text":"TemporaryFile(/tmp/multipartBody2391649603074149004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327423593,"filename":"image_02012026_04_17_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/2/28f61eccfc2994b43a0d611279980fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1951488549703233394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327423593,"filename":"image_02012026_04_18_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/2/149f63ab73848f736fd3394e202ccf25.jpg","text":"TemporaryFile(/tmp/multipartBody1402093535934491512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327423593,"filename":"image_02012026_04_17_55_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/2/d68819d8a9318527b46ff4c470bdfdb1.jpg","text":"TemporaryFile(/tmp/multipartBody4198051834262825798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327423593,"filename":"image_02012026_04_18_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/2/562627e356bca02f38d69090a6607c84.jpg","text":"TemporaryFile(/tmp/multipartBody7729756726953167746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327423593,"filename":"image_02012026_04_18_35_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/2/9440fdace013518f7336080e459f082a.jpg","text":"TemporaryFile(/tmp/multipartBody3218755786919635455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327423593,"filename":"image_02012026_04_17_35_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105230","file1":"1402105229","file0":"1402105228","file4":"1402105233","file5":"1402105235","file3":"1402105232"},"map_files_photo_id_array":[{"photo_id":"1402105235","filename":"file5"},{"photo_id":"1402105230","filename":"file2"},{"photo_id":"1402105233","filename":"file4"},{"photo_id":"1402105229","filename":"file1"},{"photo_id":"1402105228","filename":"file0"},{"photo_id":"1402105232","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105228":["hashtag1","hashtag2"]},{"1402105233":["hashtag1","hashtag2"]},{"1402105230":["hashtag1","hashtag2"]},{"1402105232":["hashtag1","hashtag2"]},{"1402105235":["hashtag1","hashtag2"]},{"1402105229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105228, 1402105233, 1402105230, 1402105232, 1402105235, 1402105229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26714062690735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:16:42.457569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_43_2854.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_09_1629.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_19_10400.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_24_1659.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_41_1700.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_43_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/36/image_04112025_22_36_43_2854.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_09_1629.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_19_10400.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_24_1659.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_41_1700.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_43_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":["1402105246","1402105245","1402105241","1402105244","1402105247","1402105249"],"photo_ids_order":["1402105241","1402105244","1402105245","1402105246","1402105247","1402105249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fc1c197a54ab03e95512af216c3749a9.jpg","text":"TemporaryFile(/tmp/multipartBody674329217324665579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327464320,"filename":"image_04112025_22_37_24_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/2/42b6424b5306176bc98a6e07ba241d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4901272858549038445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327464320,"filename":"image_04112025_22_37_19_10400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e8bd44a4c542504fa63c229640d74da.jpg","text":"TemporaryFile(/tmp/multipartBody9192158354194756413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327464320,"filename":"image_04112025_22_36_43_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/2/b4fc3e671e311d71751959007efbc56b.jpg","text":"TemporaryFile(/tmp/multipartBody1132236116628834916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327464320,"filename":"image_04112025_22_37_09_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/2/cc85bd8fb6962fda494a37255eaa610d.jpg","text":"TemporaryFile(/tmp/multipartBody3397015100616078899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327464320,"filename":"image_04112025_22_37_41_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/2/7ec6e3114b449317f1c3534787b7d47f.jpg","text":"TemporaryFile(/tmp/multipartBody3194504472690756923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327464320,"filename":"image_04112025_22_37_43_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105245","file1":"1402105244","file0":"1402105241","file4":"1402105247","file5":"1402105249","file3":"1402105246"},"map_files_photo_id_array":[{"photo_id":"1402105249","filename":"file5"},{"photo_id":"1402105245","filename":"file2"},{"photo_id":"1402105247","filename":"file4"},{"photo_id":"1402105244","filename":"file1"},{"photo_id":"1402105241","filename":"file0"},{"photo_id":"1402105246","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105246":["hashtag1","hashtag2"]},{"1402105245":["hashtag1","hashtag2"]},{"1402105241":["hashtag1","hashtag2"]},{"1402105244":["hashtag1","hashtag2"]},{"1402105247":["hashtag1","hashtag2"]},{"1402105249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105246, 1402105245, 1402105241, 1402105244, 1402105247, 1402105249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.862396001815796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:17:22.701480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/18/image_02012026_04_18_45_9709.jpg', '/home/pi/Desktop/images/02012026/04/18/image_02012026_04_19_05_10661.jpg', '/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_15_9874.jpg', '/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_25_9667.jpg', '/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_35_10731.jpg', '/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/18/image_02012026_04_18_45_9709.jpg
/home/pi/Desktop/images/02012026/04/18/image_02012026_04_19_05_10661.jpg
/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_15_9874.jpg
/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_25_9667.jpg
/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_35_10731.jpg
/home/pi/Desktop/images/02012026/04/19/image_02012026_04_19_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":["1402105263","1402105257","1402105251","1402105259","1402105253","1402105255"],"photo_ids_order":["1402105251","1402105253","1402105255","1402105257","1402105259","1402105263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/480322f04b0e0aec554992cc69e86f83.jpg","text":"TemporaryFile(/tmp/multipartBody3954960757268129246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327503316,"filename":"image_02012026_04_19_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/2/bcfe04dc61e4077e7a0881ad9c4dc421.jpg","text":"TemporaryFile(/tmp/multipartBody4396168446158639243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327503316,"filename":"image_02012026_04_19_25_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/2/dfbf8721478b5d5bb48f74d8339dba96.jpg","text":"TemporaryFile(/tmp/multipartBody2733594226089936869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327503316,"filename":"image_02012026_04_18_45_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/2/0fd71057512231516a37641088b6db2c.jpg","text":"TemporaryFile(/tmp/multipartBody7632356581783978963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327503316,"filename":"image_02012026_04_19_35_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/2/be6dbffe63a9a28d468336f88ecf82b6.jpg","text":"TemporaryFile(/tmp/multipartBody3731593869336771054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327503316,"filename":"image_02012026_04_19_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/2/b3cc3d1eab46bd97c9dbf6ac4dab79d6.jpg","text":"TemporaryFile(/tmp/multipartBody1852618405718550896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327503316,"filename":"image_02012026_04_19_15_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105255","file1":"1402105253","file0":"1402105251","file4":"1402105259","file5":"1402105263","file3":"1402105257"},"map_files_photo_id_array":[{"photo_id":"1402105263","filename":"file5"},{"photo_id":"1402105255","filename":"file2"},{"photo_id":"1402105259","filename":"file4"},{"photo_id":"1402105253","filename":"file1"},{"photo_id":"1402105251","filename":"file0"},{"photo_id":"1402105257","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105263":["hashtag1","hashtag2"]},{"1402105257":["hashtag1","hashtag2"]},{"1402105251":["hashtag1","hashtag2"]},{"1402105259":["hashtag1","hashtag2"]},{"1402105253":["hashtag1","hashtag2"]},{"1402105255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105263, 1402105257, 1402105251, 1402105259, 1402105253, 1402105255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07171416282654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:18:02.204453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_15_9958.jpg', '/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_25_9699.jpg', '/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_35_9739.jpg', '/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_45_10669.jpg', '/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_55_9260.jpg', '/home/pi/Desktop/images/02012026/04/20/image_02012026_04_21_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_15_9958.jpg
/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_25_9699.jpg
/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_35_9739.jpg
/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_45_10669.jpg
/home/pi/Desktop/images/02012026/04/20/image_02012026_04_20_55_9260.jpg
/home/pi/Desktop/images/02012026/04/20/image_02012026_04_21_05_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105264","1402105266","1402105268","1402105265","1402105270","1402105267"],"photo_ids_order":["1402105264","1402105265","1402105266","1402105267","1402105268","1402105270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/081c39416dcde20f97d25f4c5717fa60.jpg","text":"TemporaryFile(/tmp/multipartBody990365643740744405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327542864,"filename":"image_02012026_04_20_15_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/2/3151b239d7becc3e3aaca9cef0cc327f.jpg","text":"TemporaryFile(/tmp/multipartBody4868608986861463910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327542864,"filename":"image_02012026_04_20_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/2/fdab2cb688d4003eeeb60931b8a20f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5486741519449137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327542864,"filename":"image_02012026_04_20_55_9260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/027ee2fa607535dfca32b7778162108a.jpg","text":"TemporaryFile(/tmp/multipartBody5726452851015680385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327542864,"filename":"image_02012026_04_20_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/2/f17c60fe44d0c35e3349f9da37a6c45c.jpg","text":"TemporaryFile(/tmp/multipartBody529226770850869907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327542864,"filename":"image_02012026_04_21_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/2/a8e07b8f14f264eaba4840cdac87b959.jpg","text":"TemporaryFile(/tmp/multipartBody7778256591938560178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327542864,"filename":"image_02012026_04_20_45_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105266","file1":"1402105265","file0":"1402105264","file4":"1402105268","file5":"1402105270","file3":"1402105267"},"map_files_photo_id_array":[{"photo_id":"1402105270","filename":"file5"},{"photo_id":"1402105266","filename":"file2"},{"photo_id":"1402105268","filename":"file4"},{"photo_id":"1402105265","filename":"file1"},{"photo_id":"1402105264","filename":"file0"},{"photo_id":"1402105267","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105264":["hashtag1","hashtag2"]},{"1402105266":["hashtag1","hashtag2"]},{"1402105268":["hashtag1","hashtag2"]},{"1402105265":["hashtag1","hashtag2"]},{"1402105270":["hashtag1","hashtag2"]},{"1402105267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105264, 1402105266, 1402105268, 1402105265, 1402105270, 1402105267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.869723081588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:18:41.905076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_57_13716.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_58_1651.jpg', '/home/pi/Desktop/images/04112025/22/37/image_04112025_22_38_00_1556.jpg', '/home/pi/Desktop/images/04112025/22/38/image_04112025_22_38_03_2494.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_07_3010.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_17_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_57_13716.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_37_58_1651.jpg
/home/pi/Desktop/images/04112025/22/37/image_04112025_22_38_00_1556.jpg
/home/pi/Desktop/images/04112025/22/38/image_04112025_22_38_03_2494.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_07_3010.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_17_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105281","1402105280","1402105283","1402105279","1402105282","1402105276"],"photo_ids_order":["1402105276","1402105279","1402105280","1402105281","1402105282","1402105283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/efff3ddd108d87b2192c965be3ad5942.jpg","text":"TemporaryFile(/tmp/multipartBody7365888266998147229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327583741,"filename":"image_04112025_22_38_03_2494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e98b0df1bfbd070b232de8c9cc64ea3e.jpg","text":"TemporaryFile(/tmp/multipartBody2221658478037376903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327583741,"filename":"image_04112025_22_38_00_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/2/7c598e3c6adc2bb8bfb5848e740393a6.jpg","text":"TemporaryFile(/tmp/multipartBody5042782852885922739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327583741,"filename":"image_04112025_22_39_17_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1b52b627df053a77918a9efa54ea3204.jpg","text":"TemporaryFile(/tmp/multipartBody5521683859272147523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327583741,"filename":"image_04112025_22_37_58_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/2/b56b0032b598d710634f2165a25b8917.jpg","text":"TemporaryFile(/tmp/multipartBody1490468039229588015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327583741,"filename":"image_04112025_22_39_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/2/54913413c47814b03a55687c0597d8ab.jpg","text":"TemporaryFile(/tmp/multipartBody1634329689718155372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327583741,"filename":"image_04112025_22_37_57_13716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105280","file1":"1402105279","file0":"1402105276","file4":"1402105282","file5":"1402105283","file3":"1402105281"},"map_files_photo_id_array":[{"photo_id":"1402105283","filename":"file5"},{"photo_id":"1402105280","filename":"file2"},{"photo_id":"1402105282","filename":"file4"},{"photo_id":"1402105279","filename":"file1"},{"photo_id":"1402105276","filename":"file0"},{"photo_id":"1402105281","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105281":["hashtag1","hashtag2"]},{"1402105280":["hashtag1","hashtag2"]},{"1402105283":["hashtag1","hashtag2"]},{"1402105279":["hashtag1","hashtag2"]},{"1402105282":["hashtag1","hashtag2"]},{"1402105276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105281, 1402105280, 1402105283, 1402105279, 1402105282, 1402105276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17706608772278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:19:22.090966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_15_9686.jpg', '/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_25_9691.jpg', '/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_35_10019.jpg', '/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_45_9977.jpg', '/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_55_10605.jpg', '/home/pi/Desktop/images/02012026/04/21/image_02012026_04_22_05_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_15_9686.jpg
/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_25_9691.jpg
/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_35_10019.jpg
/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_45_9977.jpg
/home/pi/Desktop/images/02012026/04/21/image_02012026_04_21_55_10605.jpg
/home/pi/Desktop/images/02012026/04/21/image_02012026_04_22_05_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":["1402105290","1402105292","1402105286","1402105297","1402105294","1402105288"],"photo_ids_order":["1402105286","1402105288","1402105290","1402105292","1402105294","1402105297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ac55f1eb8880429f6a2d0a29c82a14cc.jpg","text":"TemporaryFile(/tmp/multipartBody776795318783685913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327622702,"filename":"image_02012026_04_21_35_10019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f31f0737d302c32a8cab04ce1564101c.jpg","text":"TemporaryFile(/tmp/multipartBody5385000834449503607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327622702,"filename":"image_02012026_04_21_45_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/daffe9988c04fc4820a0a30635ff68fa.jpg","text":"TemporaryFile(/tmp/multipartBody6431086875723478484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327622702,"filename":"image_02012026_04_21_15_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/2/bd7933c7009eb96384cbc3730d6b73a8.jpg","text":"TemporaryFile(/tmp/multipartBody6488413252346164973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327622702,"filename":"image_02012026_04_22_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/2/7da3d7c521cdf4a10008639efaddb2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1678591356236166326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327622702,"filename":"image_02012026_04_21_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/2/088fa62ceb8c139a4a9a7cba286eaa44.jpg","text":"TemporaryFile(/tmp/multipartBody7717027084586481681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327622702,"filename":"image_02012026_04_21_25_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105290","file1":"1402105288","file0":"1402105286","file4":"1402105294","file5":"1402105297","file3":"1402105292"},"map_files_photo_id_array":[{"photo_id":"1402105297","filename":"file5"},{"photo_id":"1402105290","filename":"file2"},{"photo_id":"1402105294","filename":"file4"},{"photo_id":"1402105288","filename":"file1"},{"photo_id":"1402105286","filename":"file0"},{"photo_id":"1402105292","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105290":["hashtag1","hashtag2"]},{"1402105292":["hashtag1","hashtag2"]},{"1402105286":["hashtag1","hashtag2"]},{"1402105297":["hashtag1","hashtag2"]},{"1402105294":["hashtag1","hashtag2"]},{"1402105288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105290, 1402105292, 1402105286, 1402105297, 1402105294, 1402105288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26311421394348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:20:02.635793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/22/image_02012026_04_22_15_9631.jpg', '/home/pi/Desktop/images/02012026/04/22/image_02012026_04_22_25_10186.jpg', '/home/pi/Desktop/images/02012026/04/22/image_02012026_04_22_45_10739.jpg', '/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_25_10708.jpg', '/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_35_9777.jpg', '/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_45_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/22/image_02012026_04_22_15_9631.jpg
/home/pi/Desktop/images/02012026/04/22/image_02012026_04_22_25_10186.jpg
/home/pi/Desktop/images/02012026/04/22/image_02012026_04_22_45_10739.jpg
/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_25_10708.jpg
/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_35_9777.jpg
/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_45_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105303","1402105306","1402105300","1402105299","1402105302","1402105301"],"photo_ids_order":["1402105299","1402105300","1402105301","1402105302","1402105303","1402105306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b3a9c3fa678dcf1266c6548c4bfacca0.jpg","text":"TemporaryFile(/tmp/multipartBody7934931829836440738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327663285,"filename":"image_02012026_04_23_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/2/0f5394d6956d8b29691bccfd80e6f270.jpg","text":"TemporaryFile(/tmp/multipartBody1030951822274513546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327663285,"filename":"image_02012026_04_23_45_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/2/908ab7ddb880fb3568568b47d4cc3b75.jpg","text":"TemporaryFile(/tmp/multipartBody430664779390829675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327663285,"filename":"image_02012026_04_22_25_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/2/76f3bc301d84d9d60b3a80153e6d687e.jpg","text":"TemporaryFile(/tmp/multipartBody3487016594764398345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327663285,"filename":"image_02012026_04_22_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/2/a8c887efd627991880b5a1275f75dccd.jpg","text":"TemporaryFile(/tmp/multipartBody7776956315108672831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327663285,"filename":"image_02012026_04_23_25_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/2/300443d95dc9035bc25d9daa2ff40336.jpg","text":"TemporaryFile(/tmp/multipartBody1365690526535757482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327663285,"filename":"image_02012026_04_22_45_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105301","file1":"1402105300","file0":"1402105299","file4":"1402105303","file5":"1402105306","file3":"1402105302"},"map_files_photo_id_array":[{"photo_id":"1402105306","filename":"file5"},{"photo_id":"1402105301","filename":"file2"},{"photo_id":"1402105303","filename":"file4"},{"photo_id":"1402105300","filename":"file1"},{"photo_id":"1402105299","filename":"file0"},{"photo_id":"1402105302","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105303":["hashtag1","hashtag2"]},{"1402105306":["hashtag1","hashtag2"]},{"1402105300":["hashtag1","hashtag2"]},{"1402105299":["hashtag1","hashtag2"]},{"1402105302":["hashtag1","hashtag2"]},{"1402105301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105303, 1402105306, 1402105300, 1402105299, 1402105302, 1402105301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6966769695282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:20:42.212850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_22_2772.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_29_3789.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_31_2755.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_34_2692.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_54_1704.jpg', '/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_56_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_22_2772.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_29_3789.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_31_2755.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_34_2692.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_54_1704.jpg
/home/pi/Desktop/images/04112025/22/39/image_04112025_22_39_56_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105315","1402105317","1402105311","1402105319","1402105313","1402105316"],"photo_ids_order":["1402105311","1402105313","1402105315","1402105316","1402105317","1402105319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d44a1ae355bb8ac07055af1d9b396648.jpg","text":"TemporaryFile(/tmp/multipartBody2130042538391046256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327704130,"filename":"image_04112025_22_39_31_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/2/ba932dd417ea471f29c4ac1058a85896.jpg","text":"TemporaryFile(/tmp/multipartBody8631251615631787604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327704130,"filename":"image_04112025_22_39_54_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/2/53aeb7e75f3941f109d10c319a35e51b.jpg","text":"TemporaryFile(/tmp/multipartBody3112855395518428868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327704130,"filename":"image_04112025_22_39_22_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/2/909bf036b88a013f037bd79ad45fd1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4428939772288851845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327704130,"filename":"image_04112025_22_39_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/2/66b9a1a6cb67393dc5cb9e0b29099679.jpg","text":"TemporaryFile(/tmp/multipartBody3838377110983760853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327704130,"filename":"image_04112025_22_39_29_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/2/b57caa30091577240442efb2ac04098d.jpg","text":"TemporaryFile(/tmp/multipartBody4219072859833124898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327704130,"filename":"image_04112025_22_39_34_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105315","file1":"1402105313","file0":"1402105311","file4":"1402105317","file5":"1402105319","file3":"1402105316"},"map_files_photo_id_array":[{"photo_id":"1402105319","filename":"file5"},{"photo_id":"1402105315","filename":"file2"},{"photo_id":"1402105317","filename":"file4"},{"photo_id":"1402105313","filename":"file1"},{"photo_id":"1402105311","filename":"file0"},{"photo_id":"1402105316","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105315":["hashtag1","hashtag2"]},{"1402105317":["hashtag1","hashtag2"]},{"1402105311":["hashtag1","hashtag2"]},{"1402105319":["hashtag1","hashtag2"]},{"1402105313":["hashtag1","hashtag2"]},{"1402105316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105315, 1402105317, 1402105311, 1402105319, 1402105313, 1402105316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45018196105957 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-02 05:21:32.403643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_07_3018.jpg', '/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_11_3828.jpg', '/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_15_4478.jpg', '/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_20_2747.jpg', '/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_31_2684.jpg', '/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_35_3395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_07_3018.jpg
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_11_3828.jpg
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_15_4478.jpg
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_20_2747.jpg
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_31_2684.jpg
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_35_3395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105338","1402105326","1402105331","1402105334","1402105328","1402105333"],"photo_ids_order":["1402105326","1402105328","1402105331","1402105333","1402105334","1402105338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/474bef34d550ac606d5a7a943254613e.jpg","text":"TemporaryFile(/tmp/multipartBody8791067633793325285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327754226,"filename":"image_04112025_22_41_35_3395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0df9a21a4b2da74e18b10e222652e756.jpg","text":"TemporaryFile(/tmp/multipartBody2256276213396337795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327754226,"filename":"image_04112025_22_41_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/2/8be9adb248530d971587f40842e8a0c2.jpg","text":"TemporaryFile(/tmp/multipartBody3158702134531791045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327754226,"filename":"image_04112025_22_41_15_4478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aabb53c002b637d4a5ab315fc3e113cb.jpg","text":"TemporaryFile(/tmp/multipartBody6226201143889272686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327754226,"filename":"image_04112025_22_41_31_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/2/1483e0a3ac4fcb15cca627f79b51e614.jpg","text":"TemporaryFile(/tmp/multipartBody8477440401635382497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327754226,"filename":"image_04112025_22_41_11_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/2/1db4ec87d6b63882751b27e3ff9bc56b.jpg","text":"TemporaryFile(/tmp/multipartBody4012301310103085147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327754226,"filename":"image_04112025_22_41_20_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105331","file1":"1402105328","file0":"1402105326","file4":"1402105334","file5":"1402105338","file3":"1402105333"},"map_files_photo_id_array":[{"photo_id":"1402105338","filename":"file5"},{"photo_id":"1402105331","filename":"file2"},{"photo_id":"1402105334","filename":"file4"},{"photo_id":"1402105328","filename":"file1"},{"photo_id":"1402105326","filename":"file0"},{"photo_id":"1402105333","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105338":["hashtag1","hashtag2"]},{"1402105326":["hashtag1","hashtag2"]},{"1402105331":["hashtag1","hashtag2"]},{"1402105334":["hashtag1","hashtag2"]},{"1402105328":["hashtag1","hashtag2"]},{"1402105333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105338, 1402105326, 1402105331, 1402105334, 1402105328, 1402105333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.382938861846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:22:12.535108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_44_3632.jpg', '/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_52_1658.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_07_2693.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_13_2679.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_27_4799.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_37_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/22/41/image_04112025_22_41_44_3632.jpg
/home/pi/Desktop/images/04112025/22/41/image_04112025_22_41_52_1658.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_07_2693.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_13_2679.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_27_4799.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_37_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105362","1402105344","1402105347","1402105355","1402105351","1402105360"],"photo_ids_order":["1402105344","1402105347","1402105351","1402105355","1402105360","1402105362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6122ea142fa2fcd571ad6aec028782f.jpg","text":"TemporaryFile(/tmp/multipartBody5761276742878834426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327794265,"filename":"image_04112025_22_42_37_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/2/b37f06e2f11211db4e7c20dd40acb892.jpg","text":"TemporaryFile(/tmp/multipartBody8319411340084736869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327794265,"filename":"image_04112025_22_41_44_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/2/7c438fcaf474f3ae3642e03759d005c9.jpg","text":"TemporaryFile(/tmp/multipartBody3009284023631962587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327794265,"filename":"image_04112025_22_41_52_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/2/9d6f5b16dd93d8dab334ba35c58e4994.jpg","text":"TemporaryFile(/tmp/multipartBody1576404365633798460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327794265,"filename":"image_04112025_22_42_13_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/2/1b83095cad64d8a1b921ab65b4616e36.jpg","text":"TemporaryFile(/tmp/multipartBody6181166198928708331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327794265,"filename":"image_04112025_22_42_07_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/2/33675b502a5a64e7e9632228dda0f9fe.jpg","text":"TemporaryFile(/tmp/multipartBody3768155223338346387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327794265,"filename":"image_04112025_22_42_27_4799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105351","file1":"1402105347","file0":"1402105344","file4":"1402105360","file5":"1402105362","file3":"1402105355"},"map_files_photo_id_array":[{"photo_id":"1402105362","filename":"file5"},{"photo_id":"1402105351","filename":"file2"},{"photo_id":"1402105360","filename":"file4"},{"photo_id":"1402105347","filename":"file1"},{"photo_id":"1402105344","filename":"file0"},{"photo_id":"1402105355","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105362":["hashtag1","hashtag2"]},{"1402105344":["hashtag1","hashtag2"]},{"1402105347":["hashtag1","hashtag2"]},{"1402105355":["hashtag1","hashtag2"]},{"1402105351":["hashtag1","hashtag2"]},{"1402105360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105362, 1402105344, 1402105347, 1402105355, 1402105351, 1402105360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07826519012451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:23:03.274945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_54_9769.jpg', '/home/pi/Desktop/images/02012026/04/23/image_02012026_04_24_05_10607.jpg', '/home/pi/Desktop/images/02012026/04/24/image_02012026_04_24_25_9731.jpg', '/home/pi/Desktop/images/02012026/04/24/image_02012026_04_24_44_9741.jpg', '/home/pi/Desktop/images/02012026/04/24/image_02012026_04_24_55_10848.jpg', '/home/pi/Desktop/images/02012026/04/24/image_02012026_04_25_05_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/23/image_02012026_04_23_54_9769.jpg
/home/pi/Desktop/images/02012026/04/23/image_02012026_04_24_05_10607.jpg
/home/pi/Desktop/images/02012026/04/24/image_02012026_04_24_25_9731.jpg
/home/pi/Desktop/images/02012026/04/24/image_02012026_04_24_44_9741.jpg
/home/pi/Desktop/images/02012026/04/24/image_02012026_04_24_55_10848.jpg
/home/pi/Desktop/images/02012026/04/24/image_02012026_04_25_05_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105408","1402105410","1402105404","1402105394","1402105397","1402105400"],"photo_ids_order":["1402105394","1402105397","1402105400","1402105404","1402105408","1402105410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d400538b2d7422027006aaf2682d1140.jpg","text":"TemporaryFile(/tmp/multipartBody2028169453881143034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327843941,"filename":"image_02012026_04_24_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/2/1350c5495d45629f45bf9f27580b3143.jpg","text":"TemporaryFile(/tmp/multipartBody285265624574447220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327843941,"filename":"image_02012026_04_25_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/2/0298c2296ad5a14b43e6a2af702a08a8.jpg","text":"TemporaryFile(/tmp/multipartBody1428678084978157600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327843941,"filename":"image_02012026_04_24_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/2/fd9f51f6a3e888e2f766c2c56b671c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8112370573909787472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327843941,"filename":"image_02012026_04_23_54_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/2/f8d93398e422d998fbaafdf323fc0473.jpg","text":"TemporaryFile(/tmp/multipartBody455443703105995267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327843941,"filename":"image_02012026_04_24_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/2/7a32277af0f693bd59de36d4627a4311.jpg","text":"TemporaryFile(/tmp/multipartBody899543603442632008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327843941,"filename":"image_02012026_04_24_25_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105400","file1":"1402105397","file0":"1402105394","file4":"1402105408","file5":"1402105410","file3":"1402105404"},"map_files_photo_id_array":[{"photo_id":"1402105410","filename":"file5"},{"photo_id":"1402105400","filename":"file2"},{"photo_id":"1402105408","filename":"file4"},{"photo_id":"1402105397","filename":"file1"},{"photo_id":"1402105394","filename":"file0"},{"photo_id":"1402105404","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105408":["hashtag1","hashtag2"]},{"1402105410":["hashtag1","hashtag2"]},{"1402105404":["hashtag1","hashtag2"]},{"1402105394":["hashtag1","hashtag2"]},{"1402105397":["hashtag1","hashtag2"]},{"1402105400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105408, 1402105410, 1402105404, 1402105394, 1402105397, 1402105400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93333339691162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:23:42.646849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_40_2580.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_43_2734.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_46_3695.jpg', '/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_58_3584.jpg', '/home/pi/Desktop/images/04112025/22/43/image_04112025_22_43_25_3031.jpg', '/home/pi/Desktop/images/04112025/22/43/image_04112025_22_43_34_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_40_2580.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_43_2734.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_46_3695.jpg
/home/pi/Desktop/images/04112025/22/42/image_04112025_22_42_58_3584.jpg
/home/pi/Desktop/images/04112025/22/43/image_04112025_22_43_25_3031.jpg
/home/pi/Desktop/images/04112025/22/43/image_04112025_22_43_34_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105420","1402105423","1402105422","1402105421","1402105424","1402105418"],"photo_ids_order":["1402105418","1402105420","1402105421","1402105422","1402105423","1402105424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93c046897263e0fdb5137e212341ca2a.jpg","text":"TemporaryFile(/tmp/multipartBody5989642970064489893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327884517,"filename":"image_04112025_22_42_43_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/2/e4a5da37b6f3d749ccc9ad19951d9505.jpg","text":"TemporaryFile(/tmp/multipartBody4799048278689262432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327884517,"filename":"image_04112025_22_43_25_3031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2522c948dc4d25555641cb7ad7b0427e.jpg","text":"TemporaryFile(/tmp/multipartBody1924412859365665732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327884517,"filename":"image_04112025_22_42_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/2/a14bb37445a4399b659ce7da5d2ddfe0.jpg","text":"TemporaryFile(/tmp/multipartBody1939745921127994461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327884517,"filename":"image_04112025_22_42_46_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/2/f6336d4ff523a6f3aa44c658202c2295.jpg","text":"TemporaryFile(/tmp/multipartBody2054760851521782806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327884517,"filename":"image_04112025_22_43_34_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/2/053493a9dbaba03164d907f4dff0088a.jpg","text":"TemporaryFile(/tmp/multipartBody6762788566682051343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327884517,"filename":"image_04112025_22_42_40_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105421","file1":"1402105420","file0":"1402105418","file4":"1402105423","file5":"1402105424","file3":"1402105422"},"map_files_photo_id_array":[{"photo_id":"1402105424","filename":"file5"},{"photo_id":"1402105421","filename":"file2"},{"photo_id":"1402105423","filename":"file4"},{"photo_id":"1402105420","filename":"file1"},{"photo_id":"1402105418","filename":"file0"},{"photo_id":"1402105422","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105420":["hashtag1","hashtag2"]},{"1402105423":["hashtag1","hashtag2"]},{"1402105422":["hashtag1","hashtag2"]},{"1402105421":["hashtag1","hashtag2"]},{"1402105424":["hashtag1","hashtag2"]},{"1402105418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105420, 1402105423, 1402105422, 1402105421, 1402105424, 1402105418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50049638748169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:24:22.928214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/25/image_02012026_04_25_25_10750.jpg', '/home/pi/Desktop/images/02012026/04/25/image_02012026_04_25_35_9699.jpg', '/home/pi/Desktop/images/02012026/04/25/image_02012026_04_25_45_9855.jpg', '/home/pi/Desktop/images/02012026/04/25/image_02012026_04_26_05_9579.jpg', '/home/pi/Desktop/images/02012026/04/26/image_02012026_04_26_14_9769.jpg', '/home/pi/Desktop/images/02012026/04/26/image_02012026_04_26_44_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/25/image_02012026_04_25_25_10750.jpg
/home/pi/Desktop/images/02012026/04/25/image_02012026_04_25_35_9699.jpg
/home/pi/Desktop/images/02012026/04/25/image_02012026_04_25_45_9855.jpg
/home/pi/Desktop/images/02012026/04/25/image_02012026_04_26_05_9579.jpg
/home/pi/Desktop/images/02012026/04/26/image_02012026_04_26_14_9769.jpg
/home/pi/Desktop/images/02012026/04/26/image_02012026_04_26_44_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":["1402105440","1402105434","1402105428","1402105436","1402105430","1402105432"],"photo_ids_order":["1402105428","1402105430","1402105432","1402105434","1402105436","1402105440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/667e02cd9120a476656226343c2c8bd2.jpg","text":"TemporaryFile(/tmp/multipartBody7560714965733390829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327923540,"filename":"image_02012026_04_26_44_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/2/1e0074450db9b698cad5fe1806963e25.jpg","text":"TemporaryFile(/tmp/multipartBody1289419007016497939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327923540,"filename":"image_02012026_04_26_05_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/2/b4cd5c06aebfc1f0a53d447b09362e28.jpg","text":"TemporaryFile(/tmp/multipartBody2371827188906075656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327923540,"filename":"image_02012026_04_25_25_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/2/33f5ff8ea9c85202b2c3403b5a85caf7.jpg","text":"TemporaryFile(/tmp/multipartBody4502706231053169257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327923540,"filename":"image_02012026_04_26_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/2/f5dba03609d4907410cd7245cb9cff0e.jpg","text":"TemporaryFile(/tmp/multipartBody2651063484899314745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327923540,"filename":"image_02012026_04_25_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/2/9a16678b4402cbf6b21eaba3dc18da3d.jpg","text":"TemporaryFile(/tmp/multipartBody743048192175854650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327923540,"filename":"image_02012026_04_25_45_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105432","file1":"1402105430","file0":"1402105428","file4":"1402105436","file5":"1402105440","file3":"1402105434"},"map_files_photo_id_array":[{"photo_id":"1402105440","filename":"file5"},{"photo_id":"1402105432","filename":"file2"},{"photo_id":"1402105436","filename":"file4"},{"photo_id":"1402105430","filename":"file1"},{"photo_id":"1402105428","filename":"file0"},{"photo_id":"1402105434","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105440":["hashtag1","hashtag2"]},{"1402105434":["hashtag1","hashtag2"]},{"1402105428":["hashtag1","hashtag2"]},{"1402105436":["hashtag1","hashtag2"]},{"1402105430":["hashtag1","hashtag2"]},{"1402105432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105440, 1402105434, 1402105428, 1402105436, 1402105430, 1402105432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.401206731796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:25:02.641209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/26/image_02012026_04_26_55_10599.jpg', '/home/pi/Desktop/images/02012026/04/27/image_02012026_04_27_15_9881.jpg', '/home/pi/Desktop/images/02012026/04/27/image_02012026_04_27_45_9636.jpg', '/home/pi/Desktop/images/02012026/04/27/image_02012026_04_27_55_10652.jpg', '/home/pi/Desktop/images/02012026/04/27/image_02012026_04_28_05_9633.jpg', '/home/pi/Desktop/images/02012026/04/29/image_02012026_04_29_15_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/26/image_02012026_04_26_55_10599.jpg
/home/pi/Desktop/images/02012026/04/27/image_02012026_04_27_15_9881.jpg
/home/pi/Desktop/images/02012026/04/27/image_02012026_04_27_45_9636.jpg
/home/pi/Desktop/images/02012026/04/27/image_02012026_04_27_55_10652.jpg
/home/pi/Desktop/images/02012026/04/27/image_02012026_04_28_05_9633.jpg
/home/pi/Desktop/images/02012026/04/29/image_02012026_04_29_15_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105441","1402105443","1402105442","1402105445","1402105444","1402105447"],"photo_ids_order":["1402105441","1402105442","1402105443","1402105444","1402105445","1402105447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/350aeda2a11073e16abd8fc0994729b0.jpg","text":"TemporaryFile(/tmp/multipartBody5631870316816529074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327963353,"filename":"image_02012026_04_26_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/2/8b40afd54df6ff15789d9e1a8a912dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7514839064061463218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327963353,"filename":"image_02012026_04_27_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/2/d0451634c27035316e1ce2caf3e1a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody5872356981457750831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327963353,"filename":"image_02012026_04_27_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/2/00ef1a710233ded3b12adf40ed9cf518.jpg","text":"TemporaryFile(/tmp/multipartBody3001151290926138069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327963353,"filename":"image_02012026_04_28_05_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/2/3986ce672795d93c9c83fd00ad87bbec.jpg","text":"TemporaryFile(/tmp/multipartBody5256116693853399318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327963353,"filename":"image_02012026_04_27_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/2/c20aaaf7f9195e1ffd93bb58cb9a63f3.jpg","text":"TemporaryFile(/tmp/multipartBody2668947450311598613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767327963353,"filename":"image_02012026_04_29_15_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105443","file1":"1402105442","file0":"1402105441","file4":"1402105445","file5":"1402105447","file3":"1402105444"},"map_files_photo_id_array":[{"photo_id":"1402105447","filename":"file5"},{"photo_id":"1402105443","filename":"file2"},{"photo_id":"1402105445","filename":"file4"},{"photo_id":"1402105442","filename":"file1"},{"photo_id":"1402105441","filename":"file0"},{"photo_id":"1402105444","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105441":["hashtag1","hashtag2"]},{"1402105443":["hashtag1","hashtag2"]},{"1402105442":["hashtag1","hashtag2"]},{"1402105445":["hashtag1","hashtag2"]},{"1402105444":["hashtag1","hashtag2"]},{"1402105447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105441, 1402105443, 1402105442, 1402105445, 1402105444, 1402105447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.894750118255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:25:42.009312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/43/image_04112025_22_43_59_18673.jpg', '/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_14_1638.jpg', '/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_18_1536.jpg', '/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_22_1654.jpg', '/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_25_3656.jpg', '/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_31_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/43/image_04112025_22_43_59_18673.jpg
/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_14_1638.jpg
/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_18_1536.jpg
/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_22_1654.jpg
/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_25_3656.jpg
/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_31_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105456","1402105455","1402105458","1402105457","1402105459","1402105453"],"photo_ids_order":["1402105453","1402105455","1402105456","1402105457","1402105458","1402105459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff8506334ea64bd74de79544661e8bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4799818314766495659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328003864,"filename":"image_04112025_22_44_18_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/2/54b6bbc05a5102daf4868ff01eda13f6.jpg","text":"TemporaryFile(/tmp/multipartBody2646245361078154316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328003864,"filename":"image_04112025_22_44_14_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/2/f760fc95af3a5c2c6601ece9abd7ce11.jpg","text":"TemporaryFile(/tmp/multipartBody2995108564419011223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328003864,"filename":"image_04112025_22_44_25_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/2/00ed45bac22b135e363723b37b64e475.jpg","text":"TemporaryFile(/tmp/multipartBody3270079810880146645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328003864,"filename":"image_04112025_22_44_22_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/2/de432f14b0599cde8dde332629358cee.jpg","text":"TemporaryFile(/tmp/multipartBody893549250714342256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328003864,"filename":"image_04112025_22_44_31_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9a082679f51750bc03a7599a9e94667.jpg","text":"TemporaryFile(/tmp/multipartBody3164396723880751857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328003864,"filename":"image_04112025_22_43_59_18673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105456","file1":"1402105455","file0":"1402105453","file4":"1402105458","file5":"1402105459","file3":"1402105457"},"map_files_photo_id_array":[{"photo_id":"1402105459","filename":"file5"},{"photo_id":"1402105456","filename":"file2"},{"photo_id":"1402105458","filename":"file4"},{"photo_id":"1402105455","filename":"file1"},{"photo_id":"1402105453","filename":"file0"},{"photo_id":"1402105457","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105456":["hashtag1","hashtag2"]},{"1402105455":["hashtag1","hashtag2"]},{"1402105458":["hashtag1","hashtag2"]},{"1402105457":["hashtag1","hashtag2"]},{"1402105459":["hashtag1","hashtag2"]},{"1402105453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105456, 1402105455, 1402105458, 1402105457, 1402105459, 1402105453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.829760789871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:26:22.227973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/29/image_02012026_04_29_25_9573.jpg', '/home/pi/Desktop/images/02012026/04/29/image_02012026_04_29_45_10613.jpg', '/home/pi/Desktop/images/02012026/04/29/image_02012026_04_30_04_9637.jpg', '/home/pi/Desktop/images/02012026/04/30/image_02012026_04_30_35_9660.jpg', '/home/pi/Desktop/images/02012026/04/30/image_02012026_04_30_44_9501.jpg', '/home/pi/Desktop/images/02012026/04/30/image_02012026_04_30_55_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/29/image_02012026_04_29_25_9573.jpg
/home/pi/Desktop/images/02012026/04/29/image_02012026_04_29_45_10613.jpg
/home/pi/Desktop/images/02012026/04/29/image_02012026_04_30_04_9637.jpg
/home/pi/Desktop/images/02012026/04/30/image_02012026_04_30_35_9660.jpg
/home/pi/Desktop/images/02012026/04/30/image_02012026_04_30_44_9501.jpg
/home/pi/Desktop/images/02012026/04/30/image_02012026_04_30_55_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105470","1402105463","1402105477","1402105462","1402105465","1402105468"],"photo_ids_order":["1402105462","1402105463","1402105465","1402105468","1402105470","1402105477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/feb973f01aee3bb1c910314bb8acee3d.jpg","text":"TemporaryFile(/tmp/multipartBody455849255473184168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328042876,"filename":"image_02012026_04_30_44_9501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbf8ce47f50ffa7f7cc7319d2172faa4.jpg","text":"TemporaryFile(/tmp/multipartBody2839771885412038234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328042876,"filename":"image_02012026_04_29_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/2/35ad4feb4ac6e43d60275cb67f875e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8150060292056854846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328042876,"filename":"image_02012026_04_30_55_10444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6151391638233aeeb6b90c0697df69a9.jpg","text":"TemporaryFile(/tmp/multipartBody8341331041201102178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328042876,"filename":"image_02012026_04_29_25_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/2/0ac92d3478fdd0bf5ddd284fcc26b3b1.jpg","text":"TemporaryFile(/tmp/multipartBody6782252563607277741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328042876,"filename":"image_02012026_04_30_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/2/c46c5ee43d0f4c1b3f4644f4fe78e578.jpg","text":"TemporaryFile(/tmp/multipartBody692767445017788585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328042876,"filename":"image_02012026_04_30_35_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105465","file1":"1402105463","file0":"1402105462","file4":"1402105470","file5":"1402105477","file3":"1402105468"},"map_files_photo_id_array":[{"photo_id":"1402105477","filename":"file5"},{"photo_id":"1402105465","filename":"file2"},{"photo_id":"1402105470","filename":"file4"},{"photo_id":"1402105463","filename":"file1"},{"photo_id":"1402105462","filename":"file0"},{"photo_id":"1402105468","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105470":["hashtag1","hashtag2"]},{"1402105463":["hashtag1","hashtag2"]},{"1402105477":["hashtag1","hashtag2"]},{"1402105462":["hashtag1","hashtag2"]},{"1402105465":["hashtag1","hashtag2"]},{"1402105468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105470, 1402105463, 1402105477, 1402105462, 1402105465, 1402105468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.192341327667236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:27:03.012924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/30/image_02012026_04_31_04_9615.jpg', '/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_15_10817.jpg', '/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_24_9166.jpg', '/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_35_10653.jpg', '/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_45_9645.jpg', '/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/30/image_02012026_04_31_04_9615.jpg
/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_15_10817.jpg
/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_24_9166.jpg
/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_35_10653.jpg
/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_45_9645.jpg
/home/pi/Desktop/images/02012026/04/31/image_02012026_04_31_54_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":["1402105491","1402105494","1402105484","1402105487","1402105489","1402105492"],"photo_ids_order":["1402105484","1402105487","1402105489","1402105491","1402105492","1402105494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7fa4c3c71db02cd5e4084a8a43f148ce.jpg","text":"TemporaryFile(/tmp/multipartBody5801655232656353936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328083679,"filename":"image_02012026_04_31_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/2/d2e843008637ca32b223501a4ef2b9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4897134724266650026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328083679,"filename":"image_02012026_04_31_54_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/2/c85d7daa8cedfcc7b5adcc05175e4530.jpg","text":"TemporaryFile(/tmp/multipartBody8217214051100594022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328083679,"filename":"image_02012026_04_31_04_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/2/c627c852c72f9a9d26b2eeb492184a54.jpg","text":"TemporaryFile(/tmp/multipartBody5645744732523911416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328083679,"filename":"image_02012026_04_31_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/2/0dfa647309625b781b3605b76b7c6609.jpg","text":"TemporaryFile(/tmp/multipartBody4057705669201174572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328083679,"filename":"image_02012026_04_31_24_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/2/d498c289f2c6adc00537129a34f0ff91.jpg","text":"TemporaryFile(/tmp/multipartBody1720462669470090959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328083679,"filename":"image_02012026_04_31_45_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105489","file1":"1402105487","file0":"1402105484","file4":"1402105492","file5":"1402105494","file3":"1402105491"},"map_files_photo_id_array":[{"photo_id":"1402105494","filename":"file5"},{"photo_id":"1402105489","filename":"file2"},{"photo_id":"1402105492","filename":"file4"},{"photo_id":"1402105487","filename":"file1"},{"photo_id":"1402105484","filename":"file0"},{"photo_id":"1402105491","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105491":["hashtag1","hashtag2"]},{"1402105494":["hashtag1","hashtag2"]},{"1402105484":["hashtag1","hashtag2"]},{"1402105487":["hashtag1","hashtag2"]},{"1402105489":["hashtag1","hashtag2"]},{"1402105492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105491, 1402105494, 1402105484, 1402105487, 1402105489, 1402105492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3488883972168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:27:42.337355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_34_2848.jpg', '/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_37_3632.jpg', '/home/pi/Desktop/images/04112025/22/46/image_04112025_22_46_07_3494.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_01_23758.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_02_1644.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_05_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/22/44/image_04112025_22_44_34_2848.jpg
/home/pi/Desktop/images/04112025/22/44/image_04112025_22_44_37_3632.jpg
/home/pi/Desktop/images/04112025/22/46/image_04112025_22_46_07_3494.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_01_23758.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_02_1644.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_05_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":["1402105501","1402105504","1402105499","1402105503","1402105502","1402105505"],"photo_ids_order":["1402105499","1402105501","1402105502","1402105503","1402105504","1402105505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bdf2da22521fbb60eeab92b92612c0a0.jpg","text":"TemporaryFile(/tmp/multipartBody7362380983792425103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328124201,"filename":"image_04112025_22_44_37_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/2/1d57611d811072bdd291603661b21e62.jpg","text":"TemporaryFile(/tmp/multipartBody7193081243198481821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328124201,"filename":"image_04112025_22_47_02_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/2/b3668cb5fdb7ede32db7937249aa57a4.jpg","text":"TemporaryFile(/tmp/multipartBody2096921247882691493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328124201,"filename":"image_04112025_22_44_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/2/43bd8c6dd2d07ee4eedd0ba5d8b8ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody1965885388421727232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328124201,"filename":"image_04112025_22_47_01_23758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9bbb42c9e7d45155847b3d2ee29a2d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4158353760545393611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328124201,"filename":"image_04112025_22_46_07_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/874c73cf889a64087982d497f1baf656.jpg","text":"TemporaryFile(/tmp/multipartBody3136003888314209039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328124201,"filename":"image_04112025_22_47_05_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105502","file1":"1402105501","file0":"1402105499","file4":"1402105504","file5":"1402105505","file3":"1402105503"},"map_files_photo_id_array":[{"photo_id":"1402105505","filename":"file5"},{"photo_id":"1402105502","filename":"file2"},{"photo_id":"1402105504","filename":"file4"},{"photo_id":"1402105501","filename":"file1"},{"photo_id":"1402105499","filename":"file0"},{"photo_id":"1402105503","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105501":["hashtag1","hashtag2"]},{"1402105504":["hashtag1","hashtag2"]},{"1402105499":["hashtag1","hashtag2"]},{"1402105503":["hashtag1","hashtag2"]},{"1402105502":["hashtag1","hashtag2"]},{"1402105505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105501, 1402105504, 1402105499, 1402105503, 1402105502, 1402105505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79621601104736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:28:22.509721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_04_9983.jpg', '/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_25_9790.jpg', '/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_34_9696.jpg', '/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_45_10750.jpg', '/home/pi/Desktop/images/02012026/04/32/image_02012026_04_33_05_9753.jpg', '/home/pi/Desktop/images/02012026/04/33/image_02012026_04_33_14_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_04_9983.jpg
/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_25_9790.jpg
/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_34_9696.jpg
/home/pi/Desktop/images/02012026/04/32/image_02012026_04_32_45_10750.jpg
/home/pi/Desktop/images/02012026/04/32/image_02012026_04_33_05_9753.jpg
/home/pi/Desktop/images/02012026/04/33/image_02012026_04_33_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":["1402105513","1402105510","1402105518","1402105512","1402105515","1402105508"],"photo_ids_order":["1402105508","1402105510","1402105512","1402105513","1402105515","1402105518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a750d5028d077fe778c38804dbddfe6.jpg","text":"TemporaryFile(/tmp/multipartBody84374225066877409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328163121,"filename":"image_02012026_04_32_45_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/2/aa0fe4edc8ea128280158771105c5e81.jpg","text":"TemporaryFile(/tmp/multipartBody7613108860986297444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328163121,"filename":"image_02012026_04_32_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/2/f7f857236be56f42120f63c968dc9a04.jpg","text":"TemporaryFile(/tmp/multipartBody9129148708241119861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328163121,"filename":"image_02012026_04_33_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/2/fe5427fef3d70c6e09cbd0b7053adc8f.jpg","text":"TemporaryFile(/tmp/multipartBody2258529009040811035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328163121,"filename":"image_02012026_04_32_34_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/2/75479ed6eef85b68ab0fd44dc5f91044.jpg","text":"TemporaryFile(/tmp/multipartBody4257162984855519891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328163121,"filename":"image_02012026_04_33_05_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/2/fd245a157ad6898ede4266e8ff4192ea.jpg","text":"TemporaryFile(/tmp/multipartBody3664839221277619472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328163121,"filename":"image_02012026_04_32_04_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105512","file1":"1402105510","file0":"1402105508","file4":"1402105515","file5":"1402105518","file3":"1402105513"},"map_files_photo_id_array":[{"photo_id":"1402105518","filename":"file5"},{"photo_id":"1402105512","filename":"file2"},{"photo_id":"1402105515","filename":"file4"},{"photo_id":"1402105510","filename":"file1"},{"photo_id":"1402105508","filename":"file0"},{"photo_id":"1402105513","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105513":["hashtag1","hashtag2"]},{"1402105510":["hashtag1","hashtag2"]},{"1402105518":["hashtag1","hashtag2"]},{"1402105512":["hashtag1","hashtag2"]},{"1402105515":["hashtag1","hashtag2"]},{"1402105508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105513, 1402105510, 1402105518, 1402105512, 1402105515, 1402105508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63006663322449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:29:03.508822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/33/image_02012026_04_33_45_9675.jpg', '/home/pi/Desktop/images/02012026/04/34/image_02012026_04_34_25_9567.jpg', '/home/pi/Desktop/images/02012026/04/34/image_02012026_04_34_44_9846.jpg', '/home/pi/Desktop/images/02012026/04/34/image_02012026_04_34_55_10548.jpg', '/home/pi/Desktop/images/02012026/04/35/image_02012026_04_35_55_9651.jpg', '/home/pi/Desktop/images/02012026/04/35/image_02012026_04_36_05_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/33/image_02012026_04_33_45_9675.jpg
/home/pi/Desktop/images/02012026/04/34/image_02012026_04_34_25_9567.jpg
/home/pi/Desktop/images/02012026/04/34/image_02012026_04_34_44_9846.jpg
/home/pi/Desktop/images/02012026/04/34/image_02012026_04_34_55_10548.jpg
/home/pi/Desktop/images/02012026/04/35/image_02012026_04_35_55_9651.jpg
/home/pi/Desktop/images/02012026/04/35/image_02012026_04_36_05_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":["1402105522","1402105530","1402105524","1402105527","1402105520","1402105526"],"photo_ids_order":["1402105520","1402105522","1402105524","1402105526","1402105527","1402105530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d285ec1d71297e3e9ab8a1917d19b19.jpg","text":"TemporaryFile(/tmp/multipartBody2372848747737851994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328204379,"filename":"image_02012026_04_34_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/2/9ff814b26167c7320e69300883f1a573.jpg","text":"TemporaryFile(/tmp/multipartBody7704711823607464867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328204379,"filename":"image_02012026_04_36_05_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/2/549878ef199dd8680d33ee902671afcd.jpg","text":"TemporaryFile(/tmp/multipartBody8065329319315194846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328204379,"filename":"image_02012026_04_34_44_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/2/235c7809aea29b4388cd1c21bd4a3740.jpg","text":"TemporaryFile(/tmp/multipartBody4285543005793536417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328204379,"filename":"image_02012026_04_35_55_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/2/fda3d94e7507c500fbe39fb4833441ee.jpg","text":"TemporaryFile(/tmp/multipartBody8356275768361126971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328204379,"filename":"image_02012026_04_33_45_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10acfe79e30f71fe2d460e850b2b806a.jpg","text":"TemporaryFile(/tmp/multipartBody4869828504454128200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328204379,"filename":"image_02012026_04_34_55_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105524","file1":"1402105522","file0":"1402105520","file4":"1402105527","file5":"1402105530","file3":"1402105526"},"map_files_photo_id_array":[{"photo_id":"1402105530","filename":"file5"},{"photo_id":"1402105524","filename":"file2"},{"photo_id":"1402105527","filename":"file4"},{"photo_id":"1402105522","filename":"file1"},{"photo_id":"1402105520","filename":"file0"},{"photo_id":"1402105526","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105522":["hashtag1","hashtag2"]},{"1402105530":["hashtag1","hashtag2"]},{"1402105524":["hashtag1","hashtag2"]},{"1402105527":["hashtag1","hashtag2"]},{"1402105520":["hashtag1","hashtag2"]},{"1402105526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105522, 1402105530, 1402105524, 1402105527, 1402105520, 1402105526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1738383769989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:29:42.655409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_15_1797.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_17_1687.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_18_1667.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_20_1625.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_23_1559.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_36_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/22/47/image_04112025_22_47_15_1797.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_17_1687.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_18_1667.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_20_1625.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_23_1559.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_36_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":["1402105557","1402105571","1402105541","1402105544","1402105570","1402105543"],"photo_ids_order":["1402105541","1402105543","1402105544","1402105557","1402105570","1402105571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94adbf943d0f62a96d6a2f243c11d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody3597769120175973706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328244486,"filename":"image_04112025_22_47_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/2/ad4f180bd2cd577d014b712626205fbe.jpg","text":"TemporaryFile(/tmp/multipartBody338062800846956667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328244486,"filename":"image_04112025_22_47_36_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/2/1647c95ff61c278afdd12b73c348d34d.jpg","text":"TemporaryFile(/tmp/multipartBody5500497260990559296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328244486,"filename":"image_04112025_22_47_15_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/2/65a74605eb325bbcb16a89d7d45f79bc.jpg","text":"TemporaryFile(/tmp/multipartBody6218807812994059228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328244486,"filename":"image_04112025_22_47_18_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/2/ed1a90d82997a695ff93ef505c8e5358.jpg","text":"TemporaryFile(/tmp/multipartBody5573395906678535727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328244486,"filename":"image_04112025_22_47_23_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/2/1a275d95ebbb3c37b869b3d17b05f4ea.jpg","text":"TemporaryFile(/tmp/multipartBody8441527106638525154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328244486,"filename":"image_04112025_22_47_17_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105544","file1":"1402105543","file0":"1402105541","file4":"1402105570","file5":"1402105571","file3":"1402105557"},"map_files_photo_id_array":[{"photo_id":"1402105571","filename":"file5"},{"photo_id":"1402105544","filename":"file2"},{"photo_id":"1402105570","filename":"file4"},{"photo_id":"1402105543","filename":"file1"},{"photo_id":"1402105541","filename":"file0"},{"photo_id":"1402105557","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105557":["hashtag1","hashtag2"]},{"1402105571":["hashtag1","hashtag2"]},{"1402105541":["hashtag1","hashtag2"]},{"1402105544":["hashtag1","hashtag2"]},{"1402105570":["hashtag1","hashtag2"]},{"1402105543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105557, 1402105571, 1402105541, 1402105544, 1402105570, 1402105543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41111397743225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:30:22.887844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/36/image_02012026_04_36_55_10649.jpg', '/home/pi/Desktop/images/02012026/04/36/image_02012026_04_37_05_9664.jpg', '/home/pi/Desktop/images/02012026/04/37/image_02012026_04_37_45_9697.jpg', '/home/pi/Desktop/images/02012026/04/37/image_02012026_04_38_05_10586.jpg', '/home/pi/Desktop/images/02012026/04/38/image_02012026_04_38_15_9608.jpg', '/home/pi/Desktop/images/02012026/04/38/image_02012026_04_38_45_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/36/image_02012026_04_36_55_10649.jpg
/home/pi/Desktop/images/02012026/04/36/image_02012026_04_37_05_9664.jpg
/home/pi/Desktop/images/02012026/04/37/image_02012026_04_37_45_9697.jpg
/home/pi/Desktop/images/02012026/04/37/image_02012026_04_38_05_10586.jpg
/home/pi/Desktop/images/02012026/04/38/image_02012026_04_38_15_9608.jpg
/home/pi/Desktop/images/02012026/04/38/image_02012026_04_38_45_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105587","1402105581","1402105578","1402105583","1402105580","1402105585"],"photo_ids_order":["1402105578","1402105580","1402105581","1402105583","1402105585","1402105587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1068ba6f02302ad66a1e5f114599727.jpg","text":"TemporaryFile(/tmp/multipartBody8293364956533695646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328283497,"filename":"image_02012026_04_38_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/2/1ace31c34bb90487b01ddb83d3d50df0.jpg","text":"TemporaryFile(/tmp/multipartBody8167805697023010016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328283497,"filename":"image_02012026_04_37_45_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/2/4fb81375afb1e7e244814a043326e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody3599360904095372239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328283497,"filename":"image_02012026_04_36_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/2/c063d7a612762da1a2ce66f70ab174e3.jpg","text":"TemporaryFile(/tmp/multipartBody7694852068119684576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328283497,"filename":"image_02012026_04_38_05_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/2/912d1088b9a5fe890aa120f95e98c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1681954700296515432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328283497,"filename":"image_02012026_04_37_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/2/31b2e9e860a8e72cc33ddaa9ab70b7e2.jpg","text":"TemporaryFile(/tmp/multipartBody5104759483112282060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328283497,"filename":"image_02012026_04_38_15_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105581","file1":"1402105580","file0":"1402105578","file4":"1402105585","file5":"1402105587","file3":"1402105583"},"map_files_photo_id_array":[{"photo_id":"1402105587","filename":"file5"},{"photo_id":"1402105581","filename":"file2"},{"photo_id":"1402105585","filename":"file4"},{"photo_id":"1402105580","filename":"file1"},{"photo_id":"1402105578","filename":"file0"},{"photo_id":"1402105583","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105587":["hashtag1","hashtag2"]},{"1402105581":["hashtag1","hashtag2"]},{"1402105578":["hashtag1","hashtag2"]},{"1402105583":["hashtag1","hashtag2"]},{"1402105580":["hashtag1","hashtag2"]},{"1402105585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105587, 1402105581, 1402105578, 1402105583, 1402105580, 1402105585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35013771057129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:31:11.980055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_38_1651.jpg', '/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_40_1612.jpg', '/home/pi/Desktop/images/04112025/22/48/image_04112025_22_48_23_18187.jpg', '/home/pi/Desktop/images/04112025/22/48/image_04112025_22_48_32_1778.jpg', '/home/pi/Desktop/images/04112025/22/48/image_04112025_22_48_33_1646.jpg', '/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_18_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_38_1651.jpg
/home/pi/Desktop/images/04112025/22/47/image_04112025_22_47_40_1612.jpg
/home/pi/Desktop/images/04112025/22/48/image_04112025_22_48_23_18187.jpg
/home/pi/Desktop/images/04112025/22/48/image_04112025_22_48_32_1778.jpg
/home/pi/Desktop/images/04112025/22/48/image_04112025_22_48_33_1646.jpg
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_18_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105590","1402105596","1402105598","1402105592","1402105589","1402105594"],"photo_ids_order":["1402105589","1402105590","1402105592","1402105594","1402105596","1402105598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4439f79d7bc2c48847d853b40dee1a74.jpg","text":"TemporaryFile(/tmp/multipartBody2821875421857407351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328333730,"filename":"image_04112025_22_47_40_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/2/08c96a03d3b021d5aa07055b1369bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody8185320611737766717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328333730,"filename":"image_04112025_22_48_33_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/2/9e41723976773f98d7eee801bde8d5b7.jpg","text":"TemporaryFile(/tmp/multipartBody1813013439825418131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328333730,"filename":"image_04112025_22_49_18_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/2/b24b6ebf91337879cc21c139009d2364.jpg","text":"TemporaryFile(/tmp/multipartBody5325081538846447409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328333730,"filename":"image_04112025_22_48_23_18187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0748e486df10bf0f594f2ef59fc0e97c.jpg","text":"TemporaryFile(/tmp/multipartBody7048306314365870392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328333730,"filename":"image_04112025_22_47_38_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/2/ab355ce19b1f4837ace9ea7f370c7b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5049822662189450328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328333730,"filename":"image_04112025_22_48_32_1778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105592","file1":"1402105590","file0":"1402105589","file4":"1402105596","file5":"1402105598","file3":"1402105594"},"map_files_photo_id_array":[{"photo_id":"1402105598","filename":"file5"},{"photo_id":"1402105592","filename":"file2"},{"photo_id":"1402105596","filename":"file4"},{"photo_id":"1402105590","filename":"file1"},{"photo_id":"1402105589","filename":"file0"},{"photo_id":"1402105594","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105590":["hashtag1","hashtag2"]},{"1402105596":["hashtag1","hashtag2"]},{"1402105598":["hashtag1","hashtag2"]},{"1402105592":["hashtag1","hashtag2"]},{"1402105589":["hashtag1","hashtag2"]},{"1402105594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105590, 1402105596, 1402105598, 1402105592, 1402105589, 1402105594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96763563156128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:32:02.800831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/38/image_02012026_04_38_55_10107.jpg', '/home/pi/Desktop/images/02012026/04/39/image_02012026_04_39_55_9746.jpg', '/home/pi/Desktop/images/02012026/04/40/image_02012026_04_40_14_9827.jpg', '/home/pi/Desktop/images/02012026/04/40/image_02012026_04_40_25_10692.jpg', '/home/pi/Desktop/images/02012026/04/41/image_02012026_04_41_45_9556.jpg', '/home/pi/Desktop/images/02012026/04/41/image_02012026_04_42_05_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/38/image_02012026_04_38_55_10107.jpg
/home/pi/Desktop/images/02012026/04/39/image_02012026_04_39_55_9746.jpg
/home/pi/Desktop/images/02012026/04/40/image_02012026_04_40_14_9827.jpg
/home/pi/Desktop/images/02012026/04/40/image_02012026_04_40_25_10692.jpg
/home/pi/Desktop/images/02012026/04/41/image_02012026_04_41_45_9556.jpg
/home/pi/Desktop/images/02012026/04/41/image_02012026_04_42_05_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":["1402105603","1402105605","1402105602","1402105601","1402105604","1402105607"],"photo_ids_order":["1402105601","1402105602","1402105603","1402105604","1402105605","1402105607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e5a79f0a481f5f4eb285756ecf07f6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6691776789774074107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328383444,"filename":"image_02012026_04_40_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/2/841128ed8a401f0c07bd5b8f0c798aee.jpg","text":"TemporaryFile(/tmp/multipartBody77085790488418787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328383444,"filename":"image_02012026_04_41_45_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/2/2e467f2bfdee6772cbe2557eb13468a6.jpg","text":"TemporaryFile(/tmp/multipartBody2226914126925204355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328383444,"filename":"image_02012026_04_39_55_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/2/ff32a101e63ac441e63c7066d5e8bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody4317046274978103870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328383444,"filename":"image_02012026_04_38_55_10107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6791a21d61359e796ddcb805cebb7629.jpg","text":"TemporaryFile(/tmp/multipartBody8949066480698359295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328383444,"filename":"image_02012026_04_40_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/2/a6a815f0aa06ec25620e8b8937ca167e.jpg","text":"TemporaryFile(/tmp/multipartBody3922754401781358449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328383444,"filename":"image_02012026_04_42_05_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105603","file1":"1402105602","file0":"1402105601","file4":"1402105605","file5":"1402105607","file3":"1402105604"},"map_files_photo_id_array":[{"photo_id":"1402105607","filename":"file5"},{"photo_id":"1402105603","filename":"file2"},{"photo_id":"1402105605","filename":"file4"},{"photo_id":"1402105602","filename":"file1"},{"photo_id":"1402105601","filename":"file0"},{"photo_id":"1402105604","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105603":["hashtag1","hashtag2"]},{"1402105605":["hashtag1","hashtag2"]},{"1402105602":["hashtag1","hashtag2"]},{"1402105601":["hashtag1","hashtag2"]},{"1402105604":["hashtag1","hashtag2"]},{"1402105607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105603, 1402105605, 1402105602, 1402105601, 1402105604, 1402105607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.551952838897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:32:42.296643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_24_6009.jpg', '/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_28_1685.jpg', '/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_32_4649.jpg', '/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_45_1681.jpg', '/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_50_1668.jpg', '/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_55_4648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_24_6009.jpg
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_28_1685.jpg
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_32_4649.jpg
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_45_1681.jpg
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_50_1668.jpg
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_55_4648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105627","1402105626","1402105628","1402105625","1402105613","1402105624"],"photo_ids_order":["1402105613","1402105624","1402105625","1402105626","1402105627","1402105628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c1822917a473f568a87580fdb7a4683d.jpg","text":"TemporaryFile(/tmp/multipartBody4744181814450814632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328424199,"filename":"image_04112025_22_49_50_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/2/766e2fcf8b9ca3b8eccc70355a9a97aa.jpg","text":"TemporaryFile(/tmp/multipartBody871449416913986807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328424199,"filename":"image_04112025_22_49_45_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/2/eff7cc3ee98d1d998e8d546ca6b6c738.jpg","text":"TemporaryFile(/tmp/multipartBody7289520046469897794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328424199,"filename":"image_04112025_22_49_55_4648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/03586b7f280c4749a65f19de0dba1773.jpg","text":"TemporaryFile(/tmp/multipartBody4318042337331316884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328424199,"filename":"image_04112025_22_49_32_4649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a78895ad31f01db93db604f7c593e36.jpg","text":"TemporaryFile(/tmp/multipartBody1977380351439310416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328424199,"filename":"image_04112025_22_49_24_6009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fea76e1a774f971d95c37c54050911a.jpg","text":"TemporaryFile(/tmp/multipartBody8886885771349055814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328424199,"filename":"image_04112025_22_49_28_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105625","file1":"1402105624","file0":"1402105613","file4":"1402105627","file5":"1402105628","file3":"1402105626"},"map_files_photo_id_array":[{"photo_id":"1402105628","filename":"file5"},{"photo_id":"1402105625","filename":"file2"},{"photo_id":"1402105627","filename":"file4"},{"photo_id":"1402105624","filename":"file1"},{"photo_id":"1402105613","filename":"file0"},{"photo_id":"1402105626","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105627":["hashtag1","hashtag2"]},{"1402105626":["hashtag1","hashtag2"]},{"1402105628":["hashtag1","hashtag2"]},{"1402105625":["hashtag1","hashtag2"]},{"1402105613":["hashtag1","hashtag2"]},{"1402105624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105627, 1402105626, 1402105628, 1402105625, 1402105613, 1402105624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30687403678894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:33:22.455234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/42/image_02012026_04_42_25_9596.jpg', '/home/pi/Desktop/images/02012026/04/42/image_02012026_04_42_44_9814.jpg', '/home/pi/Desktop/images/02012026/04/42/image_02012026_04_42_55_10653.jpg', '/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_05_9432.jpg', '/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_15_10738.jpg', '/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_25_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/42/image_02012026_04_42_25_9596.jpg
/home/pi/Desktop/images/02012026/04/42/image_02012026_04_42_44_9814.jpg
/home/pi/Desktop/images/02012026/04/42/image_02012026_04_42_55_10653.jpg
/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_05_9432.jpg
/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_15_10738.jpg
/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_25_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105636","1402105632","1402105629","1402105640","1402105634","1402105630"],"photo_ids_order":["1402105629","1402105630","1402105632","1402105634","1402105636","1402105640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f3598fc28f723ecc513acf3dd513227.jpg","text":"TemporaryFile(/tmp/multipartBody1768673799337587154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328463085,"filename":"image_02012026_04_43_15_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/2/9bc5e7665539e527bb5814b4dbcaa5fb.jpg","text":"TemporaryFile(/tmp/multipartBody2812229302393120010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328463085,"filename":"image_02012026_04_42_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/2/a2f5a68caa7ce789fb8bb3e7804b618a.jpg","text":"TemporaryFile(/tmp/multipartBody6192910041653689421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328463085,"filename":"image_02012026_04_42_25_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/2/34cbf142f1a339376bec6fbaf238e283.jpg","text":"TemporaryFile(/tmp/multipartBody7814246381055388710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328463085,"filename":"image_02012026_04_43_25_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/2/7502c61ccde5003b711ae20bab714934.jpg","text":"TemporaryFile(/tmp/multipartBody8808467479761795682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328463085,"filename":"image_02012026_04_43_05_9432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/138bb51c767f5327da5da90c653a00bd.jpg","text":"TemporaryFile(/tmp/multipartBody8825710690654072922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328463085,"filename":"image_02012026_04_42_44_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105632","file1":"1402105630","file0":"1402105629","file4":"1402105636","file5":"1402105640","file3":"1402105634"},"map_files_photo_id_array":[{"photo_id":"1402105640","filename":"file5"},{"photo_id":"1402105632","filename":"file2"},{"photo_id":"1402105636","filename":"file4"},{"photo_id":"1402105630","filename":"file1"},{"photo_id":"1402105629","filename":"file0"},{"photo_id":"1402105634","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105636":["hashtag1","hashtag2"]},{"1402105632":["hashtag1","hashtag2"]},{"1402105629":["hashtag1","hashtag2"]},{"1402105640":["hashtag1","hashtag2"]},{"1402105634":["hashtag1","hashtag2"]},{"1402105630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105636, 1402105632, 1402105629, 1402105640, 1402105634, 1402105630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87140369415283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:34:03.358575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_44_10005.jpg', '/home/pi/Desktop/images/02012026/04/43/image_02012026_04_44_05_9564.jpg', '/home/pi/Desktop/images/02012026/04/44/image_02012026_04_44_45_9762.jpg', '/home/pi/Desktop/images/02012026/04/44/image_02012026_04_44_55_10775.jpg', '/home/pi/Desktop/images/02012026/04/44/image_02012026_04_45_05_9641.jpg', '/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_15_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/43/image_02012026_04_43_44_10005.jpg
/home/pi/Desktop/images/02012026/04/43/image_02012026_04_44_05_9564.jpg
/home/pi/Desktop/images/02012026/04/44/image_02012026_04_44_45_9762.jpg
/home/pi/Desktop/images/02012026/04/44/image_02012026_04_44_55_10775.jpg
/home/pi/Desktop/images/02012026/04/44/image_02012026_04_45_05_9641.jpg
/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_15_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":["1402105648","1402105653","1402105650","1402105646","1402105649","1402105651"],"photo_ids_order":["1402105646","1402105648","1402105649","1402105650","1402105651","1402105653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/06532418bdacf72b9321e70522353c30.jpg","text":"TemporaryFile(/tmp/multipartBody8203777164381436959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328504084,"filename":"image_02012026_04_44_05_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/2/03356215ada43695d1e39dca2d87add7.jpg","text":"TemporaryFile(/tmp/multipartBody2791484636658256761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328504084,"filename":"image_02012026_04_45_15_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/2/34e58678eac50e2e963678f6772c96d6.jpg","text":"TemporaryFile(/tmp/multipartBody3593051274794794679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328504084,"filename":"image_02012026_04_44_55_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/2/92d96e6ec875b1989e4c81134d35ff7c.jpg","text":"TemporaryFile(/tmp/multipartBody6593316675137374988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328504084,"filename":"image_02012026_04_43_44_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d4ae19ce0b87f919fa3686a226066e69.jpg","text":"TemporaryFile(/tmp/multipartBody8955506984774335574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328504084,"filename":"image_02012026_04_44_45_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/2/00578e5bfb54a4a1847e5fe320d37f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6969692200268688241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328504084,"filename":"image_02012026_04_45_05_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105649","file1":"1402105648","file0":"1402105646","file4":"1402105651","file5":"1402105653","file3":"1402105650"},"map_files_photo_id_array":[{"photo_id":"1402105653","filename":"file5"},{"photo_id":"1402105649","filename":"file2"},{"photo_id":"1402105651","filename":"file4"},{"photo_id":"1402105648","filename":"file1"},{"photo_id":"1402105646","filename":"file0"},{"photo_id":"1402105650","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105648":["hashtag1","hashtag2"]},{"1402105653":["hashtag1","hashtag2"]},{"1402105650":["hashtag1","hashtag2"]},{"1402105646":["hashtag1","hashtag2"]},{"1402105649":["hashtag1","hashtag2"]},{"1402105651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105648, 1402105653, 1402105650, 1402105646, 1402105649, 1402105651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54932713508606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:34:42.608712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_57_1715.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_15_2775.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_34_1686.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_36_1747.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_42_1522.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_46_3862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_57_1715.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_15_2775.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_34_1686.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_36_1747.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_42_1522.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_46_3862.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6942877769470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:35:03.397049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_25_10656.jpg', '/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_35_9702.jpg', '/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_45_9732.jpg', '/home/pi/Desktop/images/02012026/04/46/image_02012026_04_46_25_9729.jpg', '/home/pi/Desktop/images/02012026/04/46/image_02012026_04_46_45_10619.jpg', '/home/pi/Desktop/images/02012026/04/46/image_02012026_04_46_55_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_25_10656.jpg
/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_35_9702.jpg
/home/pi/Desktop/images/02012026/04/45/image_02012026_04_45_45_9732.jpg
/home/pi/Desktop/images/02012026/04/46/image_02012026_04_46_25_9729.jpg
/home/pi/Desktop/images/02012026/04/46/image_02012026_04_46_45_10619.jpg
/home/pi/Desktop/images/02012026/04/46/image_02012026_04_46_55_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":["1402105671","1402105668","1402105664","1402105667","1402105669","1402105666"],"photo_ids_order":["1402105664","1402105666","1402105667","1402105668","1402105669","1402105671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/13fbf40fc506e51736993832b063b196.jpg","text":"TemporaryFile(/tmp/multipartBody3256867368553341302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328564051,"filename":"image_02012026_04_46_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/2/10f5e71ac8ab7e9642bef00f8a7036d7.jpg","text":"TemporaryFile(/tmp/multipartBody7479698273542001262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328564051,"filename":"image_02012026_04_46_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/2/a7b3fee6d8f8e17270e8394077e5f84c.jpg","text":"TemporaryFile(/tmp/multipartBody7460009991019433664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328564051,"filename":"image_02012026_04_45_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/2/9fdb53356a3692fd435d4c435322b376.jpg","text":"TemporaryFile(/tmp/multipartBody1349362176227863572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328564051,"filename":"image_02012026_04_45_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/2/1eb76f316f0fa3b6578df985f719b568.jpg","text":"TemporaryFile(/tmp/multipartBody5497052504324258863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328564051,"filename":"image_02012026_04_46_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/2/3a1763eb5cd80a162a403547c0a86b40.jpg","text":"TemporaryFile(/tmp/multipartBody133797576062593858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328564051,"filename":"image_02012026_04_45_35_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105667","file1":"1402105666","file0":"1402105664","file4":"1402105669","file5":"1402105671","file3":"1402105668"},"map_files_photo_id_array":[{"photo_id":"1402105671","filename":"file5"},{"photo_id":"1402105667","filename":"file2"},{"photo_id":"1402105669","filename":"file4"},{"photo_id":"1402105666","filename":"file1"},{"photo_id":"1402105664","filename":"file0"},{"photo_id":"1402105668","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105671":["hashtag1","hashtag2"]},{"1402105668":["hashtag1","hashtag2"]},{"1402105664":["hashtag1","hashtag2"]},{"1402105667":["hashtag1","hashtag2"]},{"1402105669":["hashtag1","hashtag2"]},{"1402105666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105671, 1402105668, 1402105664, 1402105667, 1402105669, 1402105666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.021607875823975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:35:42.844799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_57_1715.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_15_2775.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_34_1686.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_36_1747.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_42_1522.jpg', '/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_46_3862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/49/image_04112025_22_49_57_1715.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_15_2775.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_34_1686.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_36_1747.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_42_1522.jpg
/home/pi/Desktop/images/04112025/22/51/image_04112025_22_51_46_3862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105686","1402105680","1402105683","1402105682","1402105685","1402105684"],"photo_ids_order":["1402105680","1402105682","1402105683","1402105684","1402105685","1402105686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8cf8250bce413013cff53051fd80fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8695790069453079953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328604516,"filename":"image_04112025_22_51_46_3862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf2345987e53b09eee1aa6bf43ef1719.jpg","text":"TemporaryFile(/tmp/multipartBody5206271083189531443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328604516,"filename":"image_04112025_22_49_57_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/2/8576d1c0bb271ab3065bb80b494e9dd9.jpg","text":"TemporaryFile(/tmp/multipartBody2042293676192416785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328604516,"filename":"image_04112025_22_51_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/2/f42f4c84a27b92fffe74acfe02506418.jpg","text":"TemporaryFile(/tmp/multipartBody7997845113632604270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328604516,"filename":"image_04112025_22_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/2/edb19bd484147fb3d769ed08d8312aa3.jpg","text":"TemporaryFile(/tmp/multipartBody1795051072303085611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328604516,"filename":"image_04112025_22_51_42_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/2/6fdd6f4f01faccd098da3fdd3e35a855.jpg","text":"TemporaryFile(/tmp/multipartBody3336420949821032675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328604516,"filename":"image_04112025_22_51_36_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105683","file1":"1402105682","file0":"1402105680","file4":"1402105685","file5":"1402105686","file3":"1402105684"},"map_files_photo_id_array":[{"photo_id":"1402105686","filename":"file5"},{"photo_id":"1402105683","filename":"file2"},{"photo_id":"1402105685","filename":"file4"},{"photo_id":"1402105682","filename":"file1"},{"photo_id":"1402105680","filename":"file0"},{"photo_id":"1402105684","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105686":["hashtag1","hashtag2"]},{"1402105680":["hashtag1","hashtag2"]},{"1402105683":["hashtag1","hashtag2"]},{"1402105682":["hashtag1","hashtag2"]},{"1402105685":["hashtag1","hashtag2"]},{"1402105684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105686, 1402105680, 1402105683, 1402105682, 1402105685, 1402105684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19524145126343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:36:21.971118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/46/image_02012026_04_47_05_9762.jpg', '/home/pi/Desktop/images/02012026/04/47/image_02012026_04_47_14_9853.jpg', '/home/pi/Desktop/images/02012026/04/47/image_02012026_04_47_25_10709.jpg', '/home/pi/Desktop/images/02012026/04/47/image_02012026_04_47_54_9894.jpg', '/home/pi/Desktop/images/02012026/04/48/image_02012026_04_48_34_9694.jpg', '/home/pi/Desktop/images/02012026/04/48/image_02012026_04_48_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/46/image_02012026_04_47_05_9762.jpg
/home/pi/Desktop/images/02012026/04/47/image_02012026_04_47_14_9853.jpg
/home/pi/Desktop/images/02012026/04/47/image_02012026_04_47_25_10709.jpg
/home/pi/Desktop/images/02012026/04/47/image_02012026_04_47_54_9894.jpg
/home/pi/Desktop/images/02012026/04/48/image_02012026_04_48_34_9694.jpg
/home/pi/Desktop/images/02012026/04/48/image_02012026_04_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":["1402105698","1402105695","1402105689","1402105691","1402105688","1402105693"],"photo_ids_order":["1402105688","1402105689","1402105691","1402105693","1402105695","1402105698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f97c4cef51b978cc88507c8809f1341.jpg","text":"TemporaryFile(/tmp/multipartBody4785452992094661531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328642928,"filename":"image_02012026_04_48_45_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/2/d7764b07e72ca8884203ac592b2e61f9.jpg","text":"TemporaryFile(/tmp/multipartBody6048786536299399869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328642928,"filename":"image_02012026_04_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/2/c4b9dd412c0bc812868ae9ce87989dae.jpg","text":"TemporaryFile(/tmp/multipartBody5398378937058797231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328642928,"filename":"image_02012026_04_47_14_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/2/4cfe08b5e42c4001b5d5a1256a6d67d1.jpg","text":"TemporaryFile(/tmp/multipartBody256276158228819854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328642928,"filename":"image_02012026_04_47_25_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/2/f5d71542d000b658290ca5d5d9fea14d.jpg","text":"TemporaryFile(/tmp/multipartBody1015638164955075331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328642928,"filename":"image_02012026_04_47_05_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/2/7aeba57ba379f4c8efb949dde8b74002.jpg","text":"TemporaryFile(/tmp/multipartBody1880813382196707735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328642928,"filename":"image_02012026_04_47_54_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105691","file1":"1402105689","file0":"1402105688","file4":"1402105695","file5":"1402105698","file3":"1402105693"},"map_files_photo_id_array":[{"photo_id":"1402105698","filename":"file5"},{"photo_id":"1402105691","filename":"file2"},{"photo_id":"1402105695","filename":"file4"},{"photo_id":"1402105689","filename":"file1"},{"photo_id":"1402105688","filename":"file0"},{"photo_id":"1402105693","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105698":["hashtag1","hashtag2"]},{"1402105695":["hashtag1","hashtag2"]},{"1402105689":["hashtag1","hashtag2"]},{"1402105691":["hashtag1","hashtag2"]},{"1402105688":["hashtag1","hashtag2"]},{"1402105693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105698, 1402105695, 1402105689, 1402105691, 1402105688, 1402105693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78160285949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:37:02.787954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/48/image_02012026_04_48_54_9264.jpg', '/home/pi/Desktop/images/02012026/04/48/image_02012026_04_49_05_10701.jpg', '/home/pi/Desktop/images/02012026/04/49/image_02012026_04_49_25_9735.jpg', '/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_24_9748.jpg', '/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_35_10620.jpg', '/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/48/image_02012026_04_48_54_9264.jpg
/home/pi/Desktop/images/02012026/04/48/image_02012026_04_49_05_10701.jpg
/home/pi/Desktop/images/02012026/04/49/image_02012026_04_49_25_9735.jpg
/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_24_9748.jpg
/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_35_10620.jpg
/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_45_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105705","1402105702","1402105704","1402105707","1402105701","1402105703"],"photo_ids_order":["1402105701","1402105702","1402105703","1402105704","1402105705","1402105707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/826ba310ae6ed75b5f55bb7233d01108.jpg","text":"TemporaryFile(/tmp/multipartBody1793633485042191384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328683449,"filename":"image_02012026_04_50_35_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/2/aee94fe94a2b979f5a69302a6240fa23.jpg","text":"TemporaryFile(/tmp/multipartBody3882928963037127960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328683449,"filename":"image_02012026_04_49_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/2/2dbff88442a31485f663d880764e77e0.jpg","text":"TemporaryFile(/tmp/multipartBody2525048089686809746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328683449,"filename":"image_02012026_04_50_24_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/2/b1914787e88fee1e37c0d01c2e4e0fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4942365581225575928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328683449,"filename":"image_02012026_04_50_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/2/7f16a44ea0e61f92ba0ffff0d625b634.jpg","text":"TemporaryFile(/tmp/multipartBody3665787478545128961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328683449,"filename":"image_02012026_04_48_54_9264.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/881a27d12a06df183457a3f7e0b851bd.jpg","text":"TemporaryFile(/tmp/multipartBody5928439989772492194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328683449,"filename":"image_02012026_04_49_25_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105703","file1":"1402105702","file0":"1402105701","file4":"1402105705","file5":"1402105707","file3":"1402105704"},"map_files_photo_id_array":[{"photo_id":"1402105707","filename":"file5"},{"photo_id":"1402105703","filename":"file2"},{"photo_id":"1402105705","filename":"file4"},{"photo_id":"1402105702","filename":"file1"},{"photo_id":"1402105701","filename":"file0"},{"photo_id":"1402105704","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105705":["hashtag1","hashtag2"]},{"1402105702":["hashtag1","hashtag2"]},{"1402105704":["hashtag1","hashtag2"]},{"1402105707":["hashtag1","hashtag2"]},{"1402105701":["hashtag1","hashtag2"]},{"1402105703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105705, 1402105702, 1402105704, 1402105707, 1402105701, 1402105703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07387042045593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:37:42.224834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_14_10425.jpg', '/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_22_1849.jpg', '/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_24_1670.jpg', '/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_37_3552.jpg', '/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_39_2935.jpg', '/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_46_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/22/52/image_04112025_22_52_14_10425.jpg
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_22_1849.jpg
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_24_1670.jpg
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_37_3552.jpg
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_39_2935.jpg
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_46_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":["1402105714","1402105717","1402105716","1402105713","1402105715","1402105718"],"photo_ids_order":["1402105713","1402105714","1402105715","1402105716","1402105717","1402105718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c560b763077dc07273d20d63560f4b69.jpg","text":"TemporaryFile(/tmp/multipartBody5200971039071676239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328724017,"filename":"image_04112025_22_52_22_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/2/3bcfbd66ca70d38b10988d1cfb8f5816.jpg","text":"TemporaryFile(/tmp/multipartBody6945374187411842962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328724017,"filename":"image_04112025_22_52_39_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2be30963e7218f89572da1559b3adec5.jpg","text":"TemporaryFile(/tmp/multipartBody2993112811286894736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328724017,"filename":"image_04112025_22_52_37_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd27fc9a0a04ebff78f17f7d319776d1.jpg","text":"TemporaryFile(/tmp/multipartBody6337981770456282218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328724017,"filename":"image_04112025_22_52_14_10425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94bfdbd40cb2f2169166b2c5424a923e.jpg","text":"TemporaryFile(/tmp/multipartBody3723665444231114920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328724017,"filename":"image_04112025_22_52_24_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/2/103b77fdb3c9080baed9c8583e8e62b7.jpg","text":"TemporaryFile(/tmp/multipartBody4264603807896811176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328724017,"filename":"image_04112025_22_52_46_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105715","file1":"1402105714","file0":"1402105713","file4":"1402105717","file5":"1402105718","file3":"1402105716"},"map_files_photo_id_array":[{"photo_id":"1402105718","filename":"file5"},{"photo_id":"1402105715","filename":"file2"},{"photo_id":"1402105717","filename":"file4"},{"photo_id":"1402105714","filename":"file1"},{"photo_id":"1402105713","filename":"file0"},{"photo_id":"1402105716","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105714":["hashtag1","hashtag2"]},{"1402105717":["hashtag1","hashtag2"]},{"1402105716":["hashtag1","hashtag2"]},{"1402105713":["hashtag1","hashtag2"]},{"1402105715":["hashtag1","hashtag2"]},{"1402105718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105714, 1402105717, 1402105716, 1402105713, 1402105715, 1402105718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55438590049744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:38:22.374969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_55_10580.jpg', '/home/pi/Desktop/images/02012026/04/50/image_02012026_04_51_05_9655.jpg', '/home/pi/Desktop/images/02012026/04/51/image_02012026_04_51_14_9554.jpg', '/home/pi/Desktop/images/02012026/04/51/image_02012026_04_51_35_9775.jpg', '/home/pi/Desktop/images/02012026/04/51/image_02012026_04_51_45_9767.jpg', '/home/pi/Desktop/images/02012026/04/51/image_02012026_04_52_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/50/image_02012026_04_50_55_10580.jpg
/home/pi/Desktop/images/02012026/04/50/image_02012026_04_51_05_9655.jpg
/home/pi/Desktop/images/02012026/04/51/image_02012026_04_51_14_9554.jpg
/home/pi/Desktop/images/02012026/04/51/image_02012026_04_51_35_9775.jpg
/home/pi/Desktop/images/02012026/04/51/image_02012026_04_51_45_9767.jpg
/home/pi/Desktop/images/02012026/04/51/image_02012026_04_52_04_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":["1402105720","1402105722","1402105725","1402105730","1402105727","1402105723"],"photo_ids_order":["1402105720","1402105722","1402105723","1402105725","1402105727","1402105730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2da6400c378cdc0753dee4868a26ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody1919872586330206555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328762983,"filename":"image_02012026_04_50_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/2/c05730c6acb0988f10c32cf0646cb54f.jpg","text":"TemporaryFile(/tmp/multipartBody4413009149838203038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328762983,"filename":"image_02012026_04_51_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/2/968b166aa0c896c493a0cd0ba6d06857.jpg","text":"TemporaryFile(/tmp/multipartBody2169927231083780046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328762983,"filename":"image_02012026_04_51_35_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/2/1ad10e56f499c70bf05cf33e4c35d4e5.jpg","text":"TemporaryFile(/tmp/multipartBody7670736294341429186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328762983,"filename":"image_02012026_04_52_04_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/2/8b69e16fdcdddea9ab75d3fb9e16402a.jpg","text":"TemporaryFile(/tmp/multipartBody6634887670882462089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328762983,"filename":"image_02012026_04_51_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/2/a4cc8f955c09cf917179afc6d70f56ac.jpg","text":"TemporaryFile(/tmp/multipartBody69104315608172805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328762983,"filename":"image_02012026_04_51_14_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105723","file1":"1402105722","file0":"1402105720","file4":"1402105727","file5":"1402105730","file3":"1402105725"},"map_files_photo_id_array":[{"photo_id":"1402105730","filename":"file5"},{"photo_id":"1402105723","filename":"file2"},{"photo_id":"1402105727","filename":"file4"},{"photo_id":"1402105722","filename":"file1"},{"photo_id":"1402105720","filename":"file0"},{"photo_id":"1402105725","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105720":["hashtag1","hashtag2"]},{"1402105722":["hashtag1","hashtag2"]},{"1402105725":["hashtag1","hashtag2"]},{"1402105730":["hashtag1","hashtag2"]},{"1402105727":["hashtag1","hashtag2"]},{"1402105723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105720, 1402105722, 1402105725, 1402105730, 1402105727, 1402105723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.432966470718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:39:03.645528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_15_10698.jpg', '/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_35_10006.jpg', '/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_44_9636.jpg', '/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_55_10583.jpg', '/home/pi/Desktop/images/02012026/04/52/image_02012026_04_53_05_9615.jpg', '/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_14_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_15_10698.jpg
/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_35_10006.jpg
/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_44_9636.jpg
/home/pi/Desktop/images/02012026/04/52/image_02012026_04_52_55_10583.jpg
/home/pi/Desktop/images/02012026/04/52/image_02012026_04_53_05_9615.jpg
/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_14_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105740","1402105743","1402105737","1402105739","1402105741","1402105738"],"photo_ids_order":["1402105737","1402105738","1402105739","1402105740","1402105741","1402105743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b7263f37ab313375687c38089e797fa.jpg","text":"TemporaryFile(/tmp/multipartBody7546226282307983907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328804426,"filename":"image_02012026_04_52_55_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/2/c5f2919b673bfcea360c98c88bb144d3.jpg","text":"TemporaryFile(/tmp/multipartBody4318133733166481532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328804426,"filename":"image_02012026_04_53_14_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/2/090db1311fad2fd86231b9690ad7cf2d.jpg","text":"TemporaryFile(/tmp/multipartBody5516472353594840945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328804426,"filename":"image_02012026_04_52_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/2/7784bde6b03b87a55cf6630e5f711ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5070431454436440810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328804426,"filename":"image_02012026_04_52_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/2/6f96c08a59996e6026b0345c2ed7f63d.jpg","text":"TemporaryFile(/tmp/multipartBody2673817634302981928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328804426,"filename":"image_02012026_04_53_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/2/a01bface1cb4576ddfc9ef61366f843b.jpg","text":"TemporaryFile(/tmp/multipartBody511452385206397084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328804426,"filename":"image_02012026_04_52_35_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105739","file1":"1402105738","file0":"1402105737","file4":"1402105741","file5":"1402105743","file3":"1402105740"},"map_files_photo_id_array":[{"photo_id":"1402105743","filename":"file5"},{"photo_id":"1402105739","filename":"file2"},{"photo_id":"1402105741","filename":"file4"},{"photo_id":"1402105738","filename":"file1"},{"photo_id":"1402105737","filename":"file0"},{"photo_id":"1402105740","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105740":["hashtag1","hashtag2"]},{"1402105743":["hashtag1","hashtag2"]},{"1402105737":["hashtag1","hashtag2"]},{"1402105739":["hashtag1","hashtag2"]},{"1402105741":["hashtag1","hashtag2"]},{"1402105738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105740, 1402105743, 1402105737, 1402105739, 1402105741, 1402105738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95879364013672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:39:42.541435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_48_2683.jpg', '/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_51_2826.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_04_3659.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_07_2731.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_18_2581.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_24_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_48_2683.jpg
/home/pi/Desktop/images/04112025/22/52/image_04112025_22_52_51_2826.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_04_3659.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_07_2731.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_18_2581.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_24_2755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105753","1402105752","1402105751","1402105754","1402105748","1402105750"],"photo_ids_order":["1402105748","1402105750","1402105751","1402105752","1402105753","1402105754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e816562b433dc18d42be8a1716441bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4544980479634793618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328844349,"filename":"image_04112025_22_53_18_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/2/2afdf227cb094976b5293cc5aac26257.jpg","text":"TemporaryFile(/tmp/multipartBody6203945052865823808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328844349,"filename":"image_04112025_22_53_07_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/2/3044cbbfeffdb216a97905bb51a000e7.jpg","text":"TemporaryFile(/tmp/multipartBody2031543953920896515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328844349,"filename":"image_04112025_22_53_04_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/2/a68c1f79f799b4b01194455c04e04245.jpg","text":"TemporaryFile(/tmp/multipartBody1069324480957572706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328844349,"filename":"image_04112025_22_53_24_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/2/92a802cf8f79a39a08311a7fde2096da.jpg","text":"TemporaryFile(/tmp/multipartBody6131987745993890054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328844349,"filename":"image_04112025_22_52_48_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/2/c53de6200038cacebda94bf815679f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1453215375079298996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328844349,"filename":"image_04112025_22_52_51_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105751","file1":"1402105750","file0":"1402105748","file4":"1402105753","file5":"1402105754","file3":"1402105752"},"map_files_photo_id_array":[{"photo_id":"1402105754","filename":"file5"},{"photo_id":"1402105751","filename":"file2"},{"photo_id":"1402105753","filename":"file4"},{"photo_id":"1402105750","filename":"file1"},{"photo_id":"1402105748","filename":"file0"},{"photo_id":"1402105752","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105753":["hashtag1","hashtag2"]},{"1402105752":["hashtag1","hashtag2"]},{"1402105751":["hashtag1","hashtag2"]},{"1402105754":["hashtag1","hashtag2"]},{"1402105748":["hashtag1","hashtag2"]},{"1402105750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105753, 1402105752, 1402105751, 1402105754, 1402105748, 1402105750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.463358879089355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:40:22.715186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_25_10608.jpg', '/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_35_9685.jpg', '/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_45_9947.jpg', '/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_55_10707.jpg', '/home/pi/Desktop/images/02012026/04/54/image_02012026_04_54_55_10616.jpg', '/home/pi/Desktop/images/02012026/04/54/image_02012026_04_55_05_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_25_10608.jpg
/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_35_9685.jpg
/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_45_9947.jpg
/home/pi/Desktop/images/02012026/04/53/image_02012026_04_53_55_10707.jpg
/home/pi/Desktop/images/02012026/04/54/image_02012026_04_54_55_10616.jpg
/home/pi/Desktop/images/02012026/04/54/image_02012026_04_55_05_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":["1402105767","1402105761","1402105758","1402105763","1402105760","1402105756"],"photo_ids_order":["1402105756","1402105758","1402105760","1402105761","1402105763","1402105767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a0eca5a2815ba93bdebd68efad1ed19.jpg","text":"TemporaryFile(/tmp/multipartBody5313024726910346395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328883330,"filename":"image_02012026_04_55_05_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/2/db98841782f130f173d38c73d05b9589.jpg","text":"TemporaryFile(/tmp/multipartBody4205129657997465134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328883330,"filename":"image_02012026_04_53_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/2/5622c11a3f7b4efaece5f9c27a2b1f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6664589525786441588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328883330,"filename":"image_02012026_04_53_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/2/5b2c27470aa1d8a3068a97ce0ca5b296.jpg","text":"TemporaryFile(/tmp/multipartBody4164494193433609107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328883330,"filename":"image_02012026_04_54_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/2/8ca6858e7d22e8214c719b37338cdfb3.jpg","text":"TemporaryFile(/tmp/multipartBody3541353978041810340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328883330,"filename":"image_02012026_04_53_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/2/1cefb833a0899cfda02e85bfa05073da.jpg","text":"TemporaryFile(/tmp/multipartBody2479973999613719171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328883330,"filename":"image_02012026_04_53_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105760","file1":"1402105758","file0":"1402105756","file4":"1402105763","file5":"1402105767","file3":"1402105761"},"map_files_photo_id_array":[{"photo_id":"1402105767","filename":"file5"},{"photo_id":"1402105760","filename":"file2"},{"photo_id":"1402105763","filename":"file4"},{"photo_id":"1402105758","filename":"file1"},{"photo_id":"1402105756","filename":"file0"},{"photo_id":"1402105761","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105767":["hashtag1","hashtag2"]},{"1402105761":["hashtag1","hashtag2"]},{"1402105758":["hashtag1","hashtag2"]},{"1402105763":["hashtag1","hashtag2"]},{"1402105760":["hashtag1","hashtag2"]},{"1402105756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105767, 1402105761, 1402105758, 1402105763, 1402105760, 1402105756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.810755014419556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:41:02.592211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/55/image_02012026_04_55_14_9717.jpg', '/home/pi/Desktop/images/02012026/04/55/image_02012026_04_55_24_9863.jpg', '/home/pi/Desktop/images/02012026/04/55/image_02012026_04_55_35_10636.jpg', '/home/pi/Desktop/images/02012026/04/56/image_02012026_04_56_25_9579.jpg', '/home/pi/Desktop/images/02012026/04/56/image_02012026_04_56_45_9836.jpg', '/home/pi/Desktop/images/02012026/04/56/image_02012026_04_56_55_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/55/image_02012026_04_55_14_9717.jpg
/home/pi/Desktop/images/02012026/04/55/image_02012026_04_55_24_9863.jpg
/home/pi/Desktop/images/02012026/04/55/image_02012026_04_55_35_10636.jpg
/home/pi/Desktop/images/02012026/04/56/image_02012026_04_56_25_9579.jpg
/home/pi/Desktop/images/02012026/04/56/image_02012026_04_56_45_9836.jpg
/home/pi/Desktop/images/02012026/04/56/image_02012026_04_56_55_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105773","1402105776","1402105775","1402105778","1402105780","1402105777"],"photo_ids_order":["1402105773","1402105775","1402105776","1402105777","1402105778","1402105780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5d9f255b40516d33af37e9e1b6ed8c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7062575710686199886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328923263,"filename":"image_02012026_04_55_14_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/2/bc5a47c08b824137cb9af6beee7f45e8.jpg","text":"TemporaryFile(/tmp/multipartBody5592230370191600807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328923263,"filename":"image_02012026_04_55_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/2/2d52db6748a9303cecc996316c1131cc.jpg","text":"TemporaryFile(/tmp/multipartBody3018648971727591201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328923263,"filename":"image_02012026_04_55_24_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/2/a87191a97a8840b6981fe7bf44614b72.jpg","text":"TemporaryFile(/tmp/multipartBody718944004924589631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328923263,"filename":"image_02012026_04_56_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/2/2f02c22fb0da69db832dc1501e794791.jpg","text":"TemporaryFile(/tmp/multipartBody7278556316205608327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328923263,"filename":"image_02012026_04_56_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/2/1d0d732f983bff8f257ad9ebaef9849b.jpg","text":"TemporaryFile(/tmp/multipartBody4795156056134784793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328923263,"filename":"image_02012026_04_56_25_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105776","file1":"1402105775","file0":"1402105773","file4":"1402105778","file5":"1402105780","file3":"1402105777"},"map_files_photo_id_array":[{"photo_id":"1402105780","filename":"file5"},{"photo_id":"1402105776","filename":"file2"},{"photo_id":"1402105778","filename":"file4"},{"photo_id":"1402105775","filename":"file1"},{"photo_id":"1402105773","filename":"file0"},{"photo_id":"1402105777","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105773":["hashtag1","hashtag2"]},{"1402105776":["hashtag1","hashtag2"]},{"1402105775":["hashtag1","hashtag2"]},{"1402105778":["hashtag1","hashtag2"]},{"1402105780":["hashtag1","hashtag2"]},{"1402105777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105773, 1402105776, 1402105775, 1402105778, 1402105780, 1402105777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78298282623291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:41:41.942451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_27_3361.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_30_2618.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_46_1639.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_49_2920.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_54_2805.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_54_00_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_27_3361.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_30_2618.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_46_1639.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_49_2920.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_54_2805.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_54_00_2756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7518541812896729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:42:02.623480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/56/image_02012026_04_57_04_9658.jpg', '/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_15_10666.jpg', '/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_25_9690.jpg', '/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_45_10648.jpg', '/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_55_9769.jpg', '/home/pi/Desktop/images/02012026/04/57/image_02012026_04_58_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/56/image_02012026_04_57_04_9658.jpg
/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_15_10666.jpg
/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_25_9690.jpg
/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_45_10648.jpg
/home/pi/Desktop/images/02012026/04/57/image_02012026_04_57_55_9769.jpg
/home/pi/Desktop/images/02012026/04/57/image_02012026_04_58_05_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":["1402105804","1402105801","1402105796","1402105800","1402105799","1402105798"],"photo_ids_order":["1402105796","1402105798","1402105799","1402105800","1402105801","1402105804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32fea1ec84ac9cf33086a44100992dd3.jpg","text":"TemporaryFile(/tmp/multipartBody3472580003640464293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328983259,"filename":"image_02012026_04_58_05_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/2/a232640feab54bedcb42a2f2309baef8.jpg","text":"TemporaryFile(/tmp/multipartBody9105228333763704191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328983259,"filename":"image_02012026_04_57_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/2/d27ce24572be655e5cc308bb70c81177.jpg","text":"TemporaryFile(/tmp/multipartBody5118043528586152661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328983259,"filename":"image_02012026_04_57_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/2/a65dd5250872ef4d20964877b5c20600.jpg","text":"TemporaryFile(/tmp/multipartBody3910495316728645374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328983259,"filename":"image_02012026_04_57_45_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/2/4d50dbb03108fe30cc6fb5c0cf3ad1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2901569793356686882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328983259,"filename":"image_02012026_04_57_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/2/56853639aa998e8759dfb7f13252ebaf.jpg","text":"TemporaryFile(/tmp/multipartBody553510951725938470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767328983259,"filename":"image_02012026_04_57_15_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105799","file1":"1402105798","file0":"1402105796","file4":"1402105801","file5":"1402105804","file3":"1402105800"},"map_files_photo_id_array":[{"photo_id":"1402105804","filename":"file5"},{"photo_id":"1402105799","filename":"file2"},{"photo_id":"1402105801","filename":"file4"},{"photo_id":"1402105798","filename":"file1"},{"photo_id":"1402105796","filename":"file0"},{"photo_id":"1402105800","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105804":["hashtag1","hashtag2"]},{"1402105801":["hashtag1","hashtag2"]},{"1402105796":["hashtag1","hashtag2"]},{"1402105800":["hashtag1","hashtag2"]},{"1402105799":["hashtag1","hashtag2"]},{"1402105798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105804, 1402105801, 1402105796, 1402105800, 1402105799, 1402105798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3935272693634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:42:42.118798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_27_3361.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_30_2618.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_46_1639.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_49_2920.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_54_2805.jpg', '/home/pi/Desktop/images/04112025/22/53/image_04112025_22_54_00_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_27_3361.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_30_2618.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_46_1639.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_49_2920.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_53_54_2805.jpg
/home/pi/Desktop/images/04112025/22/53/image_04112025_22_54_00_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105813","1402105816","1402105815","1402105811","1402105814","1402105817"],"photo_ids_order":["1402105811","1402105813","1402105814","1402105815","1402105816","1402105817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/654752bb9f5210856f711848a379ab4f.jpg","text":"TemporaryFile(/tmp/multipartBody1912290658712654404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329023823,"filename":"image_04112025_22_53_30_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/2/adf1687cc01fa850e6645e43a07d79f2.jpg","text":"TemporaryFile(/tmp/multipartBody2640951492729499173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329023823,"filename":"image_04112025_22_53_54_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/2/552c759b08f29b5f35e00d1eaf3df8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7232345945741280258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329023823,"filename":"image_04112025_22_53_49_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83e48a0d5dabed0bafb0d0cbfbecf460.jpg","text":"TemporaryFile(/tmp/multipartBody7577422953159639234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329023823,"filename":"image_04112025_22_53_27_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/2/e3b6b0f28d33a5dcfa33e86060b6a8a8.jpg","text":"TemporaryFile(/tmp/multipartBody2805739422184125236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329023823,"filename":"image_04112025_22_53_46_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/2/a6fe8eb421d8c9c28bee4223928da6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6839343974877102147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329023823,"filename":"image_04112025_22_54_00_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105814","file1":"1402105813","file0":"1402105811","file4":"1402105816","file5":"1402105817","file3":"1402105815"},"map_files_photo_id_array":[{"photo_id":"1402105817","filename":"file5"},{"photo_id":"1402105814","filename":"file2"},{"photo_id":"1402105816","filename":"file4"},{"photo_id":"1402105813","filename":"file1"},{"photo_id":"1402105811","filename":"file0"},{"photo_id":"1402105815","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105813":["hashtag1","hashtag2"]},{"1402105816":["hashtag1","hashtag2"]},{"1402105815":["hashtag1","hashtag2"]},{"1402105811":["hashtag1","hashtag2"]},{"1402105814":["hashtag1","hashtag2"]},{"1402105817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105813, 1402105816, 1402105815, 1402105811, 1402105814, 1402105817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41161799430847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:43:22.233092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_14_9792.jpg', '/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_25_10762.jpg', '/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_35_9664.jpg', '/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_45_9849.jpg', '/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_15_9664.jpg', '/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_25_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_14_9792.jpg
/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_25_10762.jpg
/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_35_9664.jpg
/home/pi/Desktop/images/02012026/04/58/image_02012026_04_58_45_9849.jpg
/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_15_9664.jpg
/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_25_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":["1402105825","1402105819","1402105827","1402105821","1402105829","1402105823"],"photo_ids_order":["1402105819","1402105821","1402105823","1402105825","1402105827","1402105829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/45287309ff3d74b7c9c80ceba675816e.jpg","text":"TemporaryFile(/tmp/multipartBody1533625070582441348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329062848,"filename":"image_02012026_04_58_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/2/efb3fae6fa174d137573b194cb5cceb6.jpg","text":"TemporaryFile(/tmp/multipartBody7893151399851518879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329062848,"filename":"image_02012026_04_58_14_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/2/b8df7e06b77f223575b58031c90afac6.jpg","text":"TemporaryFile(/tmp/multipartBody7299552135424289219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329062848,"filename":"image_02012026_04_59_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/2/1bfdf77ae8150500ebc23b393663e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4225916849197321975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329062848,"filename":"image_02012026_04_58_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/2/414d7ae38edbe2213de5e470af3973ed.jpg","text":"TemporaryFile(/tmp/multipartBody89323840223799954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329062848,"filename":"image_02012026_04_59_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/2/703a77f6db63e570aa56901151c41591.jpg","text":"TemporaryFile(/tmp/multipartBody9074939901759921944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329062848,"filename":"image_02012026_04_58_35_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105823","file1":"1402105821","file0":"1402105819","file4":"1402105827","file5":"1402105829","file3":"1402105825"},"map_files_photo_id_array":[{"photo_id":"1402105829","filename":"file5"},{"photo_id":"1402105823","filename":"file2"},{"photo_id":"1402105827","filename":"file4"},{"photo_id":"1402105821","filename":"file1"},{"photo_id":"1402105819","filename":"file0"},{"photo_id":"1402105825","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105825":["hashtag1","hashtag2"]},{"1402105819":["hashtag1","hashtag2"]},{"1402105827":["hashtag1","hashtag2"]},{"1402105821":["hashtag1","hashtag2"]},{"1402105829":["hashtag1","hashtag2"]},{"1402105823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105825, 1402105819, 1402105827, 1402105821, 1402105829, 1402105823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32905673980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:44:02.963339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_35_10690.jpg', '/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_44_9169.jpg', '/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_55_10715.jpg', '/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_14_9627.jpg', '/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_25_10754.jpg', '/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_35_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_35_10690.jpg
/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_44_9169.jpg
/home/pi/Desktop/images/02012026/04/59/image_02012026_04_59_55_10715.jpg
/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_14_9627.jpg
/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_25_10754.jpg
/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_35_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105831","1402105834","1402105833","1402105836","1402105839","1402105830"],"photo_ids_order":["1402105830","1402105831","1402105833","1402105834","1402105836","1402105839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9b908099f85973a3e984fb19d27356cb.jpg","text":"TemporaryFile(/tmp/multipartBody3821304228596294988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329103692,"filename":"image_02012026_04_59_44_9169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/abdd420121b667da3c802b49423fec72.jpg","text":"TemporaryFile(/tmp/multipartBody370644947325047969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329103692,"filename":"image_02012026_05_00_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/2/b3225949a850fcff08ae46679f49fb2d.jpg","text":"TemporaryFile(/tmp/multipartBody7980445150487270350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329103692,"filename":"image_02012026_04_59_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/2/17eac21ff9bb8ba88fca2a9249b69a61.jpg","text":"TemporaryFile(/tmp/multipartBody7005375638381758647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329103692,"filename":"image_02012026_05_00_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/2/0b3c275d14dbd6cedb495dd9ac9a5863.jpg","text":"TemporaryFile(/tmp/multipartBody5522548515832571468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329103692,"filename":"image_02012026_05_00_35_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/2/c63f530b579b18c736aa3965337a7fba.jpg","text":"TemporaryFile(/tmp/multipartBody8135342683245003075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329103692,"filename":"image_02012026_04_59_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105833","file1":"1402105831","file0":"1402105830","file4":"1402105836","file5":"1402105839","file3":"1402105834"},"map_files_photo_id_array":[{"photo_id":"1402105839","filename":"file5"},{"photo_id":"1402105833","filename":"file2"},{"photo_id":"1402105836","filename":"file4"},{"photo_id":"1402105831","filename":"file1"},{"photo_id":"1402105830","filename":"file0"},{"photo_id":"1402105834","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105831":["hashtag1","hashtag2"]},{"1402105834":["hashtag1","hashtag2"]},{"1402105833":["hashtag1","hashtag2"]},{"1402105836":["hashtag1","hashtag2"]},{"1402105839":["hashtag1","hashtag2"]},{"1402105830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105831, 1402105834, 1402105833, 1402105836, 1402105839, 1402105830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49215650558472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:44:42.442033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/54/image_04112025_22_54_07_4060.jpg', '/home/pi/Desktop/images/04112025/22/54/image_04112025_22_54_51_2771.jpg', '/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_11_3714.jpg', '/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_20_2714.jpg', '/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_22_2764.jpg', '/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_34_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/22/54/image_04112025_22_54_07_4060.jpg
/home/pi/Desktop/images/04112025/22/54/image_04112025_22_54_51_2771.jpg
/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_11_3714.jpg
/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_20_2714.jpg
/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_22_2764.jpg
/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_34_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":["1402105852","1402105851","1402105854","1402105853","1402105855","1402105849"],"photo_ids_order":["1402105849","1402105851","1402105852","1402105853","1402105854","1402105855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/90fa7b5e2545c05baf0f4ff21cce5b26.jpg","text":"TemporaryFile(/tmp/multipartBody8262213755617563240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329144283,"filename":"image_04112025_22_56_11_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/2/584bdd9ded3a07fb26949e95d38fa92b.jpg","text":"TemporaryFile(/tmp/multipartBody1916990188653661418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329144283,"filename":"image_04112025_22_54_51_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/2/94b9968c8e80e374ed9324c6c5c195f7.jpg","text":"TemporaryFile(/tmp/multipartBody4112745661671881563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329144283,"filename":"image_04112025_22_56_22_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/2/65cec1981d5cadd05244beaf720829ee.jpg","text":"TemporaryFile(/tmp/multipartBody5243002541421195593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329144283,"filename":"image_04112025_22_56_20_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/2/e499b316180e26e4ed6005ebb42dae26.jpg","text":"TemporaryFile(/tmp/multipartBody1944529573168968543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329144283,"filename":"image_04112025_22_56_34_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/2/9f4d74d1a4f2df2d0349d768543f058d.jpg","text":"TemporaryFile(/tmp/multipartBody5171239260565081052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329144283,"filename":"image_04112025_22_54_07_4060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105852","file1":"1402105851","file0":"1402105849","file4":"1402105854","file5":"1402105855","file3":"1402105853"},"map_files_photo_id_array":[{"photo_id":"1402105855","filename":"file5"},{"photo_id":"1402105852","filename":"file2"},{"photo_id":"1402105854","filename":"file4"},{"photo_id":"1402105851","filename":"file1"},{"photo_id":"1402105849","filename":"file0"},{"photo_id":"1402105853","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105852":["hashtag1","hashtag2"]},{"1402105851":["hashtag1","hashtag2"]},{"1402105854":["hashtag1","hashtag2"]},{"1402105853":["hashtag1","hashtag2"]},{"1402105855":["hashtag1","hashtag2"]},{"1402105849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105852, 1402105851, 1402105854, 1402105853, 1402105855, 1402105849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.205358028411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:45:22.729796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_45_10191.jpg', '/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_55_9571.jpg', '/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_05_9972.jpg', '/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_25_9648.jpg', '/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_35_9741.jpg', '/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_45_10191.jpg
/home/pi/Desktop/images/02012026/05/00/image_02012026_05_00_55_9571.jpg
/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_05_9972.jpg
/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_25_9648.jpg
/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_35_9741.jpg
/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_45_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105866","1402105869","1402105860","1402105862","1402105864","1402105858"],"photo_ids_order":["1402105858","1402105860","1402105862","1402105864","1402105866","1402105869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2a38289067257710897e89ca34c7e5b7.jpg","text":"TemporaryFile(/tmp/multipartBody5520772035309776944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329183347,"filename":"image_02012026_05_01_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/2/82ac782191e9a18a48ee421642803986.jpg","text":"TemporaryFile(/tmp/multipartBody4341177023379929644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329183347,"filename":"image_02012026_05_01_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/2/6cfb41616b88bb7754899c9ecdd6408e.jpg","text":"TemporaryFile(/tmp/multipartBody3706072483432087980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329183347,"filename":"image_02012026_05_00_55_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/2/30eb089bef9d382236da38f042c2f20d.jpg","text":"TemporaryFile(/tmp/multipartBody6704464037200162213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329183347,"filename":"image_02012026_05_01_05_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/2/9d790197db4677f719f206a88dfb28ae.jpg","text":"TemporaryFile(/tmp/multipartBody7083883925866132904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329183347,"filename":"image_02012026_05_01_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/2/08489f9536adc6d908f7d413db0fc2df.jpg","text":"TemporaryFile(/tmp/multipartBody479537591536443044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329183347,"filename":"image_02012026_05_00_45_10191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105862","file1":"1402105860","file0":"1402105858","file4":"1402105866","file5":"1402105869","file3":"1402105864"},"map_files_photo_id_array":[{"photo_id":"1402105869","filename":"file5"},{"photo_id":"1402105862","filename":"file2"},{"photo_id":"1402105866","filename":"file4"},{"photo_id":"1402105860","filename":"file1"},{"photo_id":"1402105858","filename":"file0"},{"photo_id":"1402105864","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105866":["hashtag1","hashtag2"]},{"1402105869":["hashtag1","hashtag2"]},{"1402105860":["hashtag1","hashtag2"]},{"1402105862":["hashtag1","hashtag2"]},{"1402105864":["hashtag1","hashtag2"]},{"1402105858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105866, 1402105869, 1402105860, 1402105862, 1402105864, 1402105858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.334919929504395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:46:03.322177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_55_9850.jpg', '/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_15_9701.jpg', '/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_25_10671.jpg', '/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_35_9708.jpg', '/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_45_9633.jpg', '/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_55_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/01/image_02012026_05_01_55_9850.jpg
/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_15_9701.jpg
/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_25_10671.jpg
/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_35_9708.jpg
/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_45_9633.jpg
/home/pi/Desktop/images/02012026/05/02/image_02012026_05_02_55_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105872","1402105875","1402105874","1402105877","1402105871","1402105870"],"photo_ids_order":["1402105870","1402105871","1402105872","1402105874","1402105875","1402105877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d7f2d348b03d5ee508344758a8c6be3.jpg","text":"TemporaryFile(/tmp/multipartBody908449144044440185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329223951,"filename":"image_02012026_05_02_25_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/2/2bde3f62c35a99a01c172e8e40107f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8196684335740432736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329223951,"filename":"image_02012026_05_02_45_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/2/4ca315e7ef25bf2ac5d2ed004606bddf.jpg","text":"TemporaryFile(/tmp/multipartBody4173206356907849253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329223951,"filename":"image_02012026_05_02_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/2/384f32d4b1c0a6cac7db99fe2705b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6471211754109767965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329223951,"filename":"image_02012026_05_02_55_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/2/6bdf5dbd5d60b8c98f67c48ddb94c8f1.jpg","text":"TemporaryFile(/tmp/multipartBody4776270856792153570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329223951,"filename":"image_02012026_05_02_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/2/d198072aeda257301f25f8a6bc7b8ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2372353856145519756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329223951,"filename":"image_02012026_05_01_55_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105872","file1":"1402105871","file0":"1402105870","file4":"1402105875","file5":"1402105877","file3":"1402105874"},"map_files_photo_id_array":[{"photo_id":"1402105877","filename":"file5"},{"photo_id":"1402105872","filename":"file2"},{"photo_id":"1402105875","filename":"file4"},{"photo_id":"1402105871","filename":"file1"},{"photo_id":"1402105870","filename":"file0"},{"photo_id":"1402105874","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105872":["hashtag1","hashtag2"]},{"1402105875":["hashtag1","hashtag2"]},{"1402105874":["hashtag1","hashtag2"]},{"1402105877":["hashtag1","hashtag2"]},{"1402105871":["hashtag1","hashtag2"]},{"1402105870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105872, 1402105875, 1402105874, 1402105877, 1402105871, 1402105870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72599911689758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:46:42.821645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_47_3013.jpg', '/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_59_3247.jpg', '/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_10_7897.jpg', '/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_21_11895.jpg', '/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_23_1724.jpg', '/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_28_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/22/56/image_04112025_22_56_47_3013.jpg
/home/pi/Desktop/images/04112025/22/56/image_04112025_22_56_59_3247.jpg
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_10_7897.jpg
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_21_11895.jpg
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_23_1724.jpg
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_28_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":["1402105884","1402105887","1402105889","1402105886","1402105885","1402105888"],"photo_ids_order":["1402105884","1402105885","1402105886","1402105887","1402105888","1402105889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6da8769d7a8f7aaa02275882f5c94af6.jpg","text":"TemporaryFile(/tmp/multipartBody1852601966152472919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329264678,"filename":"image_04112025_22_56_47_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/2/ed43a45408098ddabdd215cfe1ac5215.jpg","text":"TemporaryFile(/tmp/multipartBody7724004903024848922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329264678,"filename":"image_04112025_22_57_21_11895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/106b0e42434185eb2ba9acbd142433ef.jpg","text":"TemporaryFile(/tmp/multipartBody7259778610355973605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329264678,"filename":"image_04112025_22_57_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/2/5e9a54476d1657d525537df929863831.jpg","text":"TemporaryFile(/tmp/multipartBody3066832251348112911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329264678,"filename":"image_04112025_22_57_10_7897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4b3a4194c4e083d9b40b29b74eb2931.jpg","text":"TemporaryFile(/tmp/multipartBody5275435465004926360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329264678,"filename":"image_04112025_22_56_59_3247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5850cddc1b956edf2f6759e4d8fee8ef.jpg","text":"TemporaryFile(/tmp/multipartBody6511589428449178757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329264678,"filename":"image_04112025_22_57_23_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105886","file1":"1402105885","file0":"1402105884","file4":"1402105888","file5":"1402105889","file3":"1402105887"},"map_files_photo_id_array":[{"photo_id":"1402105889","filename":"file5"},{"photo_id":"1402105886","filename":"file2"},{"photo_id":"1402105888","filename":"file4"},{"photo_id":"1402105885","filename":"file1"},{"photo_id":"1402105884","filename":"file0"},{"photo_id":"1402105887","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105884":["hashtag1","hashtag2"]},{"1402105887":["hashtag1","hashtag2"]},{"1402105889":["hashtag1","hashtag2"]},{"1402105886":["hashtag1","hashtag2"]},{"1402105885":["hashtag1","hashtag2"]},{"1402105888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105884, 1402105887, 1402105889, 1402105886, 1402105885, 1402105888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.977819204330444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:47:21.985237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/02/image_02012026_05_03_05_9629.jpg', '/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_15_9891.jpg', '/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_24_9653.jpg', '/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_35_10615.jpg', '/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_45_9607.jpg', '/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/02/image_02012026_05_03_05_9629.jpg
/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_15_9891.jpg
/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_24_9653.jpg
/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_35_10615.jpg
/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_45_9607.jpg
/home/pi/Desktop/images/02012026/05/03/image_02012026_05_03_55_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105896","1402105900","1402105905","1402105898","1402105891","1402105894"],"photo_ids_order":["1402105891","1402105894","1402105896","1402105898","1402105900","1402105905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9232d1c6334c84fbce0db70bba933f0a.jpg","text":"TemporaryFile(/tmp/multipartBody205760969770875085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329302604,"filename":"image_02012026_05_03_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/2/e67fd1ecaabf7d64ccf82a43bd184cc4.jpg","text":"TemporaryFile(/tmp/multipartBody4987412281006332196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329302604,"filename":"image_02012026_05_03_45_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/2/ddb01aaf5de0cf610f9b783466b759de.jpg","text":"TemporaryFile(/tmp/multipartBody3673759768410677456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329302604,"filename":"image_02012026_05_03_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/2/93065bbeb0256f205912ffe0ce022aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5135156279398311617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329302604,"filename":"image_02012026_05_03_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/2/c4a7c6cf71397c137c9a10e6483e23a8.jpg","text":"TemporaryFile(/tmp/multipartBody7916310449320582550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329302604,"filename":"image_02012026_05_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/2/e1daa0b41bd3cce19456e50bbec5c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody2438660161720379633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329302604,"filename":"image_02012026_05_03_15_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105896","file1":"1402105894","file0":"1402105891","file4":"1402105900","file5":"1402105905","file3":"1402105898"},"map_files_photo_id_array":[{"photo_id":"1402105905","filename":"file5"},{"photo_id":"1402105896","filename":"file2"},{"photo_id":"1402105900","filename":"file4"},{"photo_id":"1402105894","filename":"file1"},{"photo_id":"1402105891","filename":"file0"},{"photo_id":"1402105898","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105896":["hashtag1","hashtag2"]},{"1402105900":["hashtag1","hashtag2"]},{"1402105905":["hashtag1","hashtag2"]},{"1402105898":["hashtag1","hashtag2"]},{"1402105891":["hashtag1","hashtag2"]},{"1402105894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105896, 1402105900, 1402105905, 1402105898, 1402105891, 1402105894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09862971305847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:48:02.590242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/03/image_02012026_05_04_05_9865.jpg', '/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_15_9721.jpg', '/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_24_9611.jpg', '/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_35_10659.jpg', '/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_45_9733.jpg', '/home/pi/Desktop/images/02012026/05/04/image_02012026_05_05_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/03/image_02012026_05_04_05_9865.jpg
/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_15_9721.jpg
/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_24_9611.jpg
/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_35_10659.jpg
/home/pi/Desktop/images/02012026/05/04/image_02012026_05_04_45_9733.jpg
/home/pi/Desktop/images/02012026/05/04/image_02012026_05_05_05_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105906","1402105908","1402105911","1402105910","1402105913","1402105907"],"photo_ids_order":["1402105906","1402105907","1402105908","1402105910","1402105911","1402105913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/79a996e19c2ce73944498c6bfe37e634.jpg","text":"TemporaryFile(/tmp/multipartBody3299502896148739416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329343238,"filename":"image_02012026_05_04_05_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/2/6411f73e5b894a5683c2e3a02294b04f.jpg","text":"TemporaryFile(/tmp/multipartBody5973093475481459363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329343238,"filename":"image_02012026_05_04_24_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/2/9cb46fb9c440428d43f7b572a3c4c304.jpg","text":"TemporaryFile(/tmp/multipartBody9090865009164396673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329343238,"filename":"image_02012026_05_04_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ece3aa7aa551df2105cf48399f00e0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2457152569575471580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329343238,"filename":"image_02012026_05_04_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/2/84e03239ceb45cfe65aac9d1531e7ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2083536149420546277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329343238,"filename":"image_02012026_05_05_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/2/258cb18d121b96928a098e43a9cb49db.jpg","text":"TemporaryFile(/tmp/multipartBody8034842040400238539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329343238,"filename":"image_02012026_05_04_15_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105908","file1":"1402105907","file0":"1402105906","file4":"1402105911","file5":"1402105913","file3":"1402105910"},"map_files_photo_id_array":[{"photo_id":"1402105913","filename":"file5"},{"photo_id":"1402105908","filename":"file2"},{"photo_id":"1402105911","filename":"file4"},{"photo_id":"1402105907","filename":"file1"},{"photo_id":"1402105906","filename":"file0"},{"photo_id":"1402105910","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105906":["hashtag1","hashtag2"]},{"1402105908":["hashtag1","hashtag2"]},{"1402105911":["hashtag1","hashtag2"]},{"1402105910":["hashtag1","hashtag2"]},{"1402105913":["hashtag1","hashtag2"]},{"1402105907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105906, 1402105908, 1402105911, 1402105910, 1402105913, 1402105907)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.26968002319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:49:03.582836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/05/image_02012026_05_05_35_9680.jpg', '/home/pi/Desktop/images/02012026/05/05/image_02012026_05_05_45_10330.jpg', '/home/pi/Desktop/images/02012026/05/05/image_02012026_05_05_55_9703.jpg', '/home/pi/Desktop/images/02012026/05/05/image_02012026_05_06_05_9997.jpg', '/home/pi/Desktop/images/02012026/05/06/image_02012026_05_06_15_9737.jpg', '/home/pi/Desktop/images/02012026/05/06/image_02012026_05_06_24_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/05/image_02012026_05_05_35_9680.jpg
/home/pi/Desktop/images/02012026/05/05/image_02012026_05_05_45_10330.jpg
/home/pi/Desktop/images/02012026/05/05/image_02012026_05_05_55_9703.jpg
/home/pi/Desktop/images/02012026/05/05/image_02012026_05_06_05_9997.jpg
/home/pi/Desktop/images/02012026/05/06/image_02012026_05_06_15_9737.jpg
/home/pi/Desktop/images/02012026/05/06/image_02012026_05_06_24_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105924","1402105927","1402105923","1402105925","1402105922","1402105921"],"photo_ids_order":["1402105921","1402105922","1402105923","1402105924","1402105925","1402105927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a890d2280049d1f81ad793fd125a5e36.jpg","text":"TemporaryFile(/tmp/multipartBody2341437651415008428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329404387,"filename":"image_02012026_05_06_05_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/2/44363e45a31dccc5ab2b14e26f2edc65.jpg","text":"TemporaryFile(/tmp/multipartBody5231114589526823771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329404387,"filename":"image_02012026_05_06_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/2/d5340d17c0e6e76290cfc53d477fb9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8871536832962934994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329404387,"filename":"image_02012026_05_05_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/2/89c8f05325ae26a20a3c35e80ad9d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody4471348123168254907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329404387,"filename":"image_02012026_05_06_15_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/2/d7fdfea30726dc35398cd7cc9edbc885.jpg","text":"TemporaryFile(/tmp/multipartBody8027869089119132605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329404387,"filename":"image_02012026_05_05_45_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/2/6825e040b52f03c5eb1183511c6ea9cc.jpg","text":"TemporaryFile(/tmp/multipartBody1275763508834796689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329404387,"filename":"image_02012026_05_05_35_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105923","file1":"1402105922","file0":"1402105921","file4":"1402105925","file5":"1402105927","file3":"1402105924"},"map_files_photo_id_array":[{"photo_id":"1402105927","filename":"file5"},{"photo_id":"1402105923","filename":"file2"},{"photo_id":"1402105925","filename":"file4"},{"photo_id":"1402105922","filename":"file1"},{"photo_id":"1402105921","filename":"file0"},{"photo_id":"1402105924","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105924":["hashtag1","hashtag2"]},{"1402105927":["hashtag1","hashtag2"]},{"1402105923":["hashtag1","hashtag2"]},{"1402105925":["hashtag1","hashtag2"]},{"1402105922":["hashtag1","hashtag2"]},{"1402105921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105924, 1402105927, 1402105923, 1402105925, 1402105922, 1402105921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93646550178528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:49:42.569112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_41_1617.jpg', '/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_46_2803.jpg', '/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_49_2745.jpg', '/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_04_2674.jpg', '/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_08_3939.jpg', '/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_16_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_41_1617.jpg
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_46_2803.jpg
/home/pi/Desktop/images/04112025/22/57/image_04112025_22_57_49_2745.jpg
/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_04_2674.jpg
/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_08_3939.jpg
/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_16_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105939","1402105933","1402105935","1402105938","1402105937","1402105936"],"photo_ids_order":["1402105933","1402105935","1402105936","1402105937","1402105938","1402105939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/adff86b805a624e88c2233e69717aec3.jpg","text":"TemporaryFile(/tmp/multipartBody1277355502935403243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329444379,"filename":"image_04112025_22_58_16_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/2/aba6fa3bd26aa9e38868bcab2154bea5.jpg","text":"TemporaryFile(/tmp/multipartBody4855166777057844073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329444379,"filename":"image_04112025_22_57_41_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/2/e79c35cd7ea7652c7db2d02f825ad26e.jpg","text":"TemporaryFile(/tmp/multipartBody4587234942223595870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329444379,"filename":"image_04112025_22_57_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/2/6fee2a530802fbf06d8d1b2cf58df7d9.jpg","text":"TemporaryFile(/tmp/multipartBody4186189761755727235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329444379,"filename":"image_04112025_22_58_08_3939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3f278340e0c36b0fc741085cc3a248d3.jpg","text":"TemporaryFile(/tmp/multipartBody4154804346074844961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329444379,"filename":"image_04112025_22_58_04_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/2/612c77475fec36dd1bd3f20c4060bceb.jpg","text":"TemporaryFile(/tmp/multipartBody9061676178953472493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329444379,"filename":"image_04112025_22_57_49_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105936","file1":"1402105935","file0":"1402105933","file4":"1402105938","file5":"1402105939","file3":"1402105937"},"map_files_photo_id_array":[{"photo_id":"1402105939","filename":"file5"},{"photo_id":"1402105936","filename":"file2"},{"photo_id":"1402105938","filename":"file4"},{"photo_id":"1402105935","filename":"file1"},{"photo_id":"1402105933","filename":"file0"},{"photo_id":"1402105937","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105939":["hashtag1","hashtag2"]},{"1402105933":["hashtag1","hashtag2"]},{"1402105935":["hashtag1","hashtag2"]},{"1402105938":["hashtag1","hashtag2"]},{"1402105937":["hashtag1","hashtag2"]},{"1402105936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105939, 1402105933, 1402105935, 1402105938, 1402105937, 1402105936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87580609321594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 05:50:22.766136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_05_10428.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_15_9735.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_35_10633.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_45_9679.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_54_9740.jpg', '/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_15_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_05_10428.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_15_9735.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_35_10633.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_45_9679.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_54_9740.jpg
/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_15_9631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.505378007888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:50:32.746453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_35_1573.jpg', '/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_40_4430.jpg', '/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_15_8659.jpg', '/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_17_1757.jpg', '/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_33_1745.jpg', '/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_35_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_35_1573.jpg
/home/pi/Desktop/images/04112025/22/58/image_04112025_22_58_40_4430.jpg
/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_15_8659.jpg
/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_17_1757.jpg
/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_33_1745.jpg
/home/pi/Desktop/images/04112025/22/59/image_04112025_22_59_35_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105959","1402105955","1402105958","1402105946","1402105949","1402105960"],"photo_ids_order":["1402105946","1402105949","1402105955","1402105958","1402105959","1402105960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa14209e6b12ca8d84b40c9339a8b1d7.jpg","text":"TemporaryFile(/tmp/multipartBody6126701056509225472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329494568,"filename":"image_04112025_22_59_33_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/2/cc3e0f080bccccba84b2f5d76fba0afa.jpg","text":"TemporaryFile(/tmp/multipartBody7266559512659206635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329494568,"filename":"image_04112025_22_59_15_8659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/39077c47a8d191df0fa223d01783b32a.jpg","text":"TemporaryFile(/tmp/multipartBody6392444867592729964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329494568,"filename":"image_04112025_22_59_17_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/2/5c4ba06384e209f106f50212c98e8b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8186149362272991755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329494568,"filename":"image_04112025_22_58_35_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/2/afe7d94c0344fd3b2ad645036132ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody6578701821808357590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329494568,"filename":"image_04112025_22_58_40_4430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/386f4bf7bd8c4e790091ab3737530cc7.jpg","text":"TemporaryFile(/tmp/multipartBody381821938977392465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329494568,"filename":"image_04112025_22_59_35_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105955","file1":"1402105949","file0":"1402105946","file4":"1402105959","file5":"1402105960","file3":"1402105958"},"map_files_photo_id_array":[{"photo_id":"1402105960","filename":"file5"},{"photo_id":"1402105955","filename":"file2"},{"photo_id":"1402105959","filename":"file4"},{"photo_id":"1402105949","filename":"file1"},{"photo_id":"1402105946","filename":"file0"},{"photo_id":"1402105958","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105959":["hashtag1","hashtag2"]},{"1402105955":["hashtag1","hashtag2"]},{"1402105958":["hashtag1","hashtag2"]},{"1402105946":["hashtag1","hashtag2"]},{"1402105949":["hashtag1","hashtag2"]},{"1402105960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105959, 1402105955, 1402105958, 1402105946, 1402105949, 1402105960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29050040245056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:51:11.825088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/22/59/image_04112025_23_00_17_19077.jpg', '/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_10_3697.jpg', '/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_15_2747.jpg', '/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_18_2888.jpg', '/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_22_3711.jpg', '/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_28_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/22/59/image_04112025_23_00_17_19077.jpg
/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_10_3697.jpg
/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_15_2747.jpg
/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_18_2888.jpg
/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_22_3711.jpg
/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_28_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":["1402105962","1402105971","1402105964","1402105966","1402105969","1402105963"],"photo_ids_order":["1402105962","1402105963","1402105964","1402105966","1402105969","1402105971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b9216fceca4ab129a6ab892ea49c3b72.jpg","text":"TemporaryFile(/tmp/multipartBody6735947652444253223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329533547,"filename":"image_04112025_23_00_17_19077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4561306e3922ebe4f287dc4eb43d7b33.jpg","text":"TemporaryFile(/tmp/multipartBody19390853539789507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329533547,"filename":"image_04112025_23_01_28_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/2/f21a572f485224da711cf868e9a8264c.jpg","text":"TemporaryFile(/tmp/multipartBody6757424415241304603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329533547,"filename":"image_04112025_23_01_15_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/2/bdbc30c70e5dc6d048ad0e7d72fc3c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4060084463975728108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329533547,"filename":"image_04112025_23_01_18_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/456d86042da768b638a832a78ce3c656.jpg","text":"TemporaryFile(/tmp/multipartBody7437226103428664652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329533547,"filename":"image_04112025_23_01_22_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/2/b10a2ba413a102c821d2c4a3a687cfdb.jpg","text":"TemporaryFile(/tmp/multipartBody5833204555120893939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329533547,"filename":"image_04112025_23_01_10_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105964","file1":"1402105963","file0":"1402105962","file4":"1402105969","file5":"1402105971","file3":"1402105966"},"map_files_photo_id_array":[{"photo_id":"1402105971","filename":"file5"},{"photo_id":"1402105964","filename":"file2"},{"photo_id":"1402105969","filename":"file4"},{"photo_id":"1402105963","filename":"file1"},{"photo_id":"1402105962","filename":"file0"},{"photo_id":"1402105966","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105962":["hashtag1","hashtag2"]},{"1402105971":["hashtag1","hashtag2"]},{"1402105964":["hashtag1","hashtag2"]},{"1402105966":["hashtag1","hashtag2"]},{"1402105969":["hashtag1","hashtag2"]},{"1402105963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105962, 1402105971, 1402105964, 1402105966, 1402105969, 1402105963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60415196418762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:52:02.418634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_05_10428.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_15_9735.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_35_10633.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_45_9679.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_54_9740.jpg', '/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_15_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_05_10428.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_15_9735.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_35_10633.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_45_9679.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_54_9740.jpg
/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_15_9631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5354197025299072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:52:12.001207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_58_3176.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_01_2658.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_03_2630.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_10_2627.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_18_8893.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_22_3043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/01/image_04112025_23_01_58_3176.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_01_2658.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_03_2630.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_10_2627.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_18_8893.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_22_3043.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105989","1402105980","1402105983","1402105977","1402105985","1402105987"],"photo_ids_order":["1402105977","1402105980","1402105983","1402105985","1402105987","1402105989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9b9b7574d900a87787249e9fce11df7.jpg","text":"TemporaryFile(/tmp/multipartBody6218953848747407424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329593758,"filename":"image_04112025_23_02_22_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee9db0fc636da80805168ead04659e9c.jpg","text":"TemporaryFile(/tmp/multipartBody5409628869252121410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329593758,"filename":"image_04112025_23_02_01_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/2/e69d9a3792b94d547bfdf55d159cb480.jpg","text":"TemporaryFile(/tmp/multipartBody9222832358606922514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329593758,"filename":"image_04112025_23_02_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/2/04566a3e47acd2b1fa6b43bc586b88ad.jpg","text":"TemporaryFile(/tmp/multipartBody999557564487229902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329593758,"filename":"image_04112025_23_01_58_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/2/3c96cf76a49431c636e518a37aa54f30.jpg","text":"TemporaryFile(/tmp/multipartBody7758489674494692788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329593758,"filename":"image_04112025_23_02_10_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/2/1dd2727c9bcedd26416b5b59f361fd8a.jpg","text":"TemporaryFile(/tmp/multipartBody4906448950452607668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329593758,"filename":"image_04112025_23_02_18_8893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105983","file1":"1402105980","file0":"1402105977","file4":"1402105987","file5":"1402105989","file3":"1402105985"},"map_files_photo_id_array":[{"photo_id":"1402105989","filename":"file5"},{"photo_id":"1402105983","filename":"file2"},{"photo_id":"1402105987","filename":"file4"},{"photo_id":"1402105980","filename":"file1"},{"photo_id":"1402105977","filename":"file0"},{"photo_id":"1402105985","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402105989":["hashtag1","hashtag2"]},{"1402105980":["hashtag1","hashtag2"]},{"1402105983":["hashtag1","hashtag2"]},{"1402105977":["hashtag1","hashtag2"]},{"1402105985":["hashtag1","hashtag2"]},{"1402105987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402105989, 1402105980, 1402105983, 1402105977, 1402105985, 1402105987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40309810638428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:53:02.848467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_05_10428.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_15_9735.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_35_10633.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_45_9679.jpg', '/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_54_9740.jpg', '/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_15_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_05_10428.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_15_9735.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_35_10633.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_45_9679.jpg
/home/pi/Desktop/images/02012026/05/07/image_02012026_05_07_54_9740.jpg
/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_15_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402105995","1402105998","1402106001","1402105997","1402105996","1402105999"],"photo_ids_order":["1402105995","1402105996","1402105997","1402105998","1402105999","1402106001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/219232e6c7284cfeff48fac6dd596ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7201873860003173351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329643559,"filename":"image_02012026_05_07_05_10428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d516ae7f4f6fcc57e8dba4452cd7e144.jpg","text":"TemporaryFile(/tmp/multipartBody8604845971020400641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329643559,"filename":"image_02012026_05_07_45_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/2/f5ece610b01c2a7d9af803293d7421c3.jpg","text":"TemporaryFile(/tmp/multipartBody4549870167203179433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329643559,"filename":"image_02012026_05_08_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/2/8cb6ad2ff6b1d76b7d4acdb6997b6b53.jpg","text":"TemporaryFile(/tmp/multipartBody835841662353429431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329643559,"filename":"image_02012026_05_07_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/2/7205ec68fe5cca5cc4f07d76b923218f.jpg","text":"TemporaryFile(/tmp/multipartBody4423721778730505572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329643559,"filename":"image_02012026_05_07_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/2/bd84b8d613ea35f4130b4f55d43827c8.jpg","text":"TemporaryFile(/tmp/multipartBody457541962416529829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329643559,"filename":"image_02012026_05_07_54_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402105997","file1":"1402105996","file0":"1402105995","file4":"1402105999","file5":"1402106001","file3":"1402105998"},"map_files_photo_id_array":[{"photo_id":"1402106001","filename":"file5"},{"photo_id":"1402105997","filename":"file2"},{"photo_id":"1402105999","filename":"file4"},{"photo_id":"1402105996","filename":"file1"},{"photo_id":"1402105995","filename":"file0"},{"photo_id":"1402105998","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402105995":["hashtag1","hashtag2"]},{"1402105998":["hashtag1","hashtag2"]},{"1402106001":["hashtag1","hashtag2"]},{"1402105997":["hashtag1","hashtag2"]},{"1402105996":["hashtag1","hashtag2"]},{"1402105999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402105995, 1402105998, 1402106001, 1402105997, 1402105996, 1402105999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.558717489242554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:53:42.161365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_25_1624.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_28_1799.jpg', '/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_52_3694.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_06_3016.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_10_3684.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_13_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_25_1624.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_28_1799.jpg
/home/pi/Desktop/images/04112025/23/02/image_04112025_23_02_52_3694.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_06_3016.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_10_3684.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_13_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106014","1402106013","1402106010","1402106012","1402106015","1402106011"],"photo_ids_order":["1402106010","1402106011","1402106012","1402106013","1402106014","1402106015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66e72e9fe3a638ecc482f67431624dde.jpg","text":"TemporaryFile(/tmp/multipartBody9112039620363435431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329689897,"filename":"image_04112025_23_05_10_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/2/06e074f75b5e918d0c50c99d3649f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6504040858590233290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329689897,"filename":"image_04112025_23_05_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55d22cf666c3159140933cd6a2fcbbf1.jpg","text":"TemporaryFile(/tmp/multipartBody6514944256038019721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329689897,"filename":"image_04112025_23_02_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/2/bda4d591646d84c454835ce2467272a2.jpg","text":"TemporaryFile(/tmp/multipartBody3954485151605471879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329689897,"filename":"image_04112025_23_02_52_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/2/3f40d5a114a6f8251a3ade92584ca27f.jpg","text":"TemporaryFile(/tmp/multipartBody7128546572293230264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329689897,"filename":"image_04112025_23_05_13_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/2/54722c1f80cd490791a218f4571152e6.jpg","text":"TemporaryFile(/tmp/multipartBody1255619620012469363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329689897,"filename":"image_04112025_23_02_28_1799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106012","file1":"1402106011","file0":"1402106010","file4":"1402106014","file5":"1402106015","file3":"1402106013"},"map_files_photo_id_array":[{"photo_id":"1402106015","filename":"file5"},{"photo_id":"1402106012","filename":"file2"},{"photo_id":"1402106014","filename":"file4"},{"photo_id":"1402106011","filename":"file1"},{"photo_id":"1402106010","filename":"file0"},{"photo_id":"1402106013","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402106014":["hashtag1","hashtag2"]},{"1402106013":["hashtag1","hashtag2"]},{"1402106010":["hashtag1","hashtag2"]},{"1402106012":["hashtag1","hashtag2"]},{"1402106015":["hashtag1","hashtag2"]},{"1402106011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402106014, 1402106013, 1402106010, 1402106012, 1402106015, 1402106011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.5506432056427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:54:31.912918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_16_2805.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_19_3582.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_44_25150.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_51_1699.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_55_1667.jpg', '/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_58_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_16_2805.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_19_3582.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_44_25150.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_51_1699.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_55_1667.jpg
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_58_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106031","1402106025","1402106030","1402106021","1402106029","1402106023"],"photo_ids_order":["1402106021","1402106023","1402106025","1402106029","1402106030","1402106031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6c2847d909a80bd1187c91338855c52.jpg","text":"TemporaryFile(/tmp/multipartBody8705822993804457866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329733715,"filename":"image_04112025_23_05_58_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/2/52bf5a66136cabcaa9b7030fa0ac6b55.jpg","text":"TemporaryFile(/tmp/multipartBody2154782544377695404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329733715,"filename":"image_04112025_23_05_44_25150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f73434cff7a133b6c7de51ac32311881.jpg","text":"TemporaryFile(/tmp/multipartBody2143066663589116019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329733715,"filename":"image_04112025_23_05_55_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/2/7ec067db69ebc528cac5afd8f1e1e79f.jpg","text":"TemporaryFile(/tmp/multipartBody165403209992841360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329733715,"filename":"image_04112025_23_05_16_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/2/e6c9334d67626a347ce2e253e9dd6ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8040693737982059044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329733715,"filename":"image_04112025_23_05_51_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/2/8f84b75f2deb62ce91a1c6765ef20b55.jpg","text":"TemporaryFile(/tmp/multipartBody4828958483724621720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329733715,"filename":"image_04112025_23_05_19_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106025","file1":"1402106023","file0":"1402106021","file4":"1402106030","file5":"1402106031","file3":"1402106029"},"map_files_photo_id_array":[{"photo_id":"1402106031","filename":"file5"},{"photo_id":"1402106025","filename":"file2"},{"photo_id":"1402106030","filename":"file4"},{"photo_id":"1402106023","filename":"file1"},{"photo_id":"1402106021","filename":"file0"},{"photo_id":"1402106029","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402106031":["hashtag1","hashtag2"]},{"1402106025":["hashtag1","hashtag2"]},{"1402106030":["hashtag1","hashtag2"]},{"1402106021":["hashtag1","hashtag2"]},{"1402106029":["hashtag1","hashtag2"]},{"1402106023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402106031, 1402106025, 1402106030, 1402106021, 1402106029, 1402106023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49877405166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:55:11.955636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_59_1534.jpg', '/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_03_1746.jpg', '/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_06_1586.jpg', '/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_08_1625.jpg', '/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_29_1698.jpg', '/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_29_5960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/05/image_04112025_23_05_59_1534.jpg
/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_03_1746.jpg
/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_06_1586.jpg
/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_08_1625.jpg
/home/pi/Desktop/images/04112025/23/06/image_04112025_23_06_29_1698.jpg
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_29_5960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106040","1402106034","1402106042","1402106036","1402106039","1402106032"],"photo_ids_order":["1402106032","1402106034","1402106036","1402106039","1402106040","1402106042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c174cc1ba381f39dc48fbc53eab2c89d.jpg","text":"TemporaryFile(/tmp/multipartBody232193715331763765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329773671,"filename":"image_04112025_23_06_29_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/2/13dcc0984c2c0aa1838974f9c8785749.jpg","text":"TemporaryFile(/tmp/multipartBody5334899593644931405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329773671,"filename":"image_04112025_23_06_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/2/ce6072381e920e4c3cda5651a3b2c7a6.jpg","text":"TemporaryFile(/tmp/multipartBody2615927999249876496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329773671,"filename":"image_04112025_23_07_29_5960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b321e8658f662cc67f8693cd8daaa89e.jpg","text":"TemporaryFile(/tmp/multipartBody5282936059658392805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329773671,"filename":"image_04112025_23_06_06_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/2/24f062f93102b747b296e8a22257c378.jpg","text":"TemporaryFile(/tmp/multipartBody7018313758188002956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329773671,"filename":"image_04112025_23_06_08_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/2/7a3b843cf9d7dceefa5d000a2a7a3b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8799379365623818022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329773671,"filename":"image_04112025_23_05_59_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106036","file1":"1402106034","file0":"1402106032","file4":"1402106040","file5":"1402106042","file3":"1402106039"},"map_files_photo_id_array":[{"photo_id":"1402106042","filename":"file5"},{"photo_id":"1402106036","filename":"file2"},{"photo_id":"1402106040","filename":"file4"},{"photo_id":"1402106034","filename":"file1"},{"photo_id":"1402106032","filename":"file0"},{"photo_id":"1402106039","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402106040":["hashtag1","hashtag2"]},{"1402106034":["hashtag1","hashtag2"]},{"1402106042":["hashtag1","hashtag2"]},{"1402106036":["hashtag1","hashtag2"]},{"1402106039":["hashtag1","hashtag2"]},{"1402106032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402106040, 1402106034, 1402106042, 1402106036, 1402106039, 1402106032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96777105331421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:56:02.673974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_45_10612.jpg', '/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_55_9822.jpg', '/home/pi/Desktop/images/02012026/05/08/image_02012026_05_09_05_9599.jpg', '/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_15_10681.jpg', '/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_25_9760.jpg', '/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_35_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_45_10612.jpg
/home/pi/Desktop/images/02012026/05/08/image_02012026_05_08_55_9822.jpg
/home/pi/Desktop/images/02012026/05/08/image_02012026_05_09_05_9599.jpg
/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_15_10681.jpg
/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_25_9760.jpg
/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_35_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":["1402106049","1402106051","1402106048","1402106053","1402106047","1402106050"],"photo_ids_order":["1402106047","1402106048","1402106049","1402106050","1402106051","1402106053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd1d70214ff120496ca61d5f26fa8468.jpg","text":"TemporaryFile(/tmp/multipartBody5213859312212423944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329823303,"filename":"image_02012026_05_09_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/2/94b5310db8ca0fc7923f5e10419aec5a.jpg","text":"TemporaryFile(/tmp/multipartBody4769951112197044516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329823303,"filename":"image_02012026_05_09_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/2/e58719e1158acf5fa364e7d0913aa244.jpg","text":"TemporaryFile(/tmp/multipartBody2705443773298670871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329823303,"filename":"image_02012026_05_08_55_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/2/03887e7343ab510d6858d3596f7d6850.jpg","text":"TemporaryFile(/tmp/multipartBody6763352970569531353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329823303,"filename":"image_02012026_05_09_35_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/2/40831b077fb82e2bea64df4141140435.jpg","text":"TemporaryFile(/tmp/multipartBody2965914099041900328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329823303,"filename":"image_02012026_05_08_45_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/2/ae0fc3bd52291f370737d0229d626731.jpg","text":"TemporaryFile(/tmp/multipartBody6320494281312993155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329823303,"filename":"image_02012026_05_09_15_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106049","file1":"1402106048","file0":"1402106047","file4":"1402106051","file5":"1402106053","file3":"1402106050"},"map_files_photo_id_array":[{"photo_id":"1402106053","filename":"file5"},{"photo_id":"1402106049","filename":"file2"},{"photo_id":"1402106051","filename":"file4"},{"photo_id":"1402106048","filename":"file1"},{"photo_id":"1402106047","filename":"file0"},{"photo_id":"1402106050","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402106049":["hashtag1","hashtag2"]},{"1402106051":["hashtag1","hashtag2"]},{"1402106048":["hashtag1","hashtag2"]},{"1402106053":["hashtag1","hashtag2"]},{"1402106047":["hashtag1","hashtag2"]},{"1402106050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402106049, 1402106051, 1402106048, 1402106053, 1402106047, 1402106050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38791632652283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:56:42.272986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_30_1604.jpg', '/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_33_1657.jpg', '/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_40_1666.jpg', '/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_45_1664.jpg', '/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_50_1732.jpg', '/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_54_1801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_30_1604.jpg
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_33_1657.jpg
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_40_1666.jpg
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_45_1664.jpg
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_50_1732.jpg
/home/pi/Desktop/images/04112025/23/07/image_04112025_23_07_54_1801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106061","1402106064","1402106060","1402106066","1402106068","1402106062"],"photo_ids_order":["1402106060","1402106061","1402106062","1402106064","1402106066","1402106068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0667e9ec1a21f9b7744bef200ff161ac.jpg","text":"TemporaryFile(/tmp/multipartBody1602050521195689520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329871645,"filename":"image_04112025_23_07_33_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/2/81b8a4eb51eb0b52c80e4e901efc0084.jpg","text":"TemporaryFile(/tmp/multipartBody3576896522512076501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329871645,"filename":"image_04112025_23_07_45_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/2/4864bd75095905c6c8549454d5292e0e.jpg","text":"TemporaryFile(/tmp/multipartBody358423067645466041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329871645,"filename":"image_04112025_23_07_30_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/2/1d1bcd662c15bc5ec77fd0006097d74b.jpg","text":"TemporaryFile(/tmp/multipartBody5111832524448548360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329871645,"filename":"image_04112025_23_07_50_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/2/6d39d3bdcf247ddce169b5e8623678e9.jpg","text":"TemporaryFile(/tmp/multipartBody4423049760676499602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329871645,"filename":"image_04112025_23_07_54_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c1c636a14cde7c5fa2b8482ae7db9401.jpg","text":"TemporaryFile(/tmp/multipartBody8257140252940362069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329871645,"filename":"image_04112025_23_07_40_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106062","file1":"1402106061","file0":"1402106060","file4":"1402106066","file5":"1402106068","file3":"1402106064"},"map_files_photo_id_array":[{"photo_id":"1402106068","filename":"file5"},{"photo_id":"1402106062","filename":"file2"},{"photo_id":"1402106066","filename":"file4"},{"photo_id":"1402106061","filename":"file1"},{"photo_id":"1402106060","filename":"file0"},{"photo_id":"1402106064","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402106061":["hashtag1","hashtag2"]},{"1402106064":["hashtag1","hashtag2"]},{"1402106060":["hashtag1","hashtag2"]},{"1402106066":["hashtag1","hashtag2"]},{"1402106068":["hashtag1","hashtag2"]},{"1402106062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402106061, 1402106064, 1402106060, 1402106066, 1402106068, 1402106062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.98916673660278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:57:32.477063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/08/image_04112025_23_08_03_1698.jpg', '/home/pi/Desktop/images/04112025/23/08/image_04112025_23_08_05_1615.jpg', '/home/pi/Desktop/images/04112025/23/08/image_04112025_23_08_07_1860.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_08_1644.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_10_1652.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_16_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/08/image_04112025_23_08_03_1698.jpg
/home/pi/Desktop/images/04112025/23/08/image_04112025_23_08_05_1615.jpg
/home/pi/Desktop/images/04112025/23/08/image_04112025_23_08_07_1860.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_08_1644.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_10_1652.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_16_1573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106079","1402106073","1402106081","1402106075","1402106077","1402106080"],"photo_ids_order":["1402106073","1402106075","1402106077","1402106079","1402106080","1402106081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b511d57c249e6c150153c52f7297f90.jpg","text":"TemporaryFile(/tmp/multipartBody5661146285322610860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329914308,"filename":"image_04112025_23_09_08_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/2/f24ab3fb239c89e94af110f5f3742dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3670986732196068870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329914308,"filename":"image_04112025_23_08_03_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/2/62d02aa08fee08c5beb94c9c69339008.jpg","text":"TemporaryFile(/tmp/multipartBody2068938680194728235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329914308,"filename":"image_04112025_23_09_16_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/2/343de4042223cfd84f44edc9d15b5fde.jpg","text":"TemporaryFile(/tmp/multipartBody544179123072250231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329914308,"filename":"image_04112025_23_08_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/2/ea63f9d793edb3b8f5e77232bec7bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody2433441791270752574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329914308,"filename":"image_04112025_23_08_07_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/2/267ef29a714d9f8acb8d4d8917a2f0df.jpg","text":"TemporaryFile(/tmp/multipartBody5501842133341005666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767329914308,"filename":"image_04112025_23_09_10_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106077","file1":"1402106075","file0":"1402106073","file4":"1402106080","file5":"1402106081","file3":"1402106079"},"map_files_photo_id_array":[{"photo_id":"1402106081","filename":"file5"},{"photo_id":"1402106077","filename":"file2"},{"photo_id":"1402106080","filename":"file4"},{"photo_id":"1402106075","filename":"file1"},{"photo_id":"1402106073","filename":"file0"},{"photo_id":"1402106079","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402106079":["hashtag1","hashtag2"]},{"1402106073":["hashtag1","hashtag2"]},{"1402106081":["hashtag1","hashtag2"]},{"1402106075":["hashtag1","hashtag2"]},{"1402106077":["hashtag1","hashtag2"]},{"1402106080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402106079, 1402106073, 1402106081, 1402106075, 1402106077, 1402106080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26394033432007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 05:59:03.475375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_55_9628.jpg', '/home/pi/Desktop/images/02012026/05/09/image_02012026_05_10_05_10638.jpg', '/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_15_9705.jpg', '/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_25_9749.jpg', '/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_45_9657.jpg', '/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_55_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/09/image_02012026_05_09_55_9628.jpg
/home/pi/Desktop/images/02012026/05/09/image_02012026_05_10_05_10638.jpg
/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_15_9705.jpg
/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_25_9749.jpg
/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_45_9657.jpg
/home/pi/Desktop/images/02012026/05/10/image_02012026_05_10_55_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106090","1402106087","1402106083","1402106092","1402106125","1402106094"],"photo_ids_order":["1402106083","1402106087","1402106090","1402106092","1402106094","1402106125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7dee904bb339c41e4df3ff80afa2cdca.jpg","text":"TemporaryFile(/tmp/multipartBody8973527623896656534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330004192,"filename":"image_02012026_05_10_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/2/f3be4516772c8fe81f3107ab95e4704d.jpg","text":"TemporaryFile(/tmp/multipartBody522257460431343184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330004192,"filename":"image_02012026_05_10_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/2/5ca0fe499c2fa9a07cb1f0c823f0b73e.jpg","text":"TemporaryFile(/tmp/multipartBody2579035919752064912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330004192,"filename":"image_02012026_05_09_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/2/89c56501b119d86300a87ab4abf019c8.jpg","text":"TemporaryFile(/tmp/multipartBody3763095137552828852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330004192,"filename":"image_02012026_05_10_25_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/2/7c61ef5edb112db71e8894a31b072f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7142743587011560331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330004192,"filename":"image_02012026_05_10_55_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/2/0aee5b4d36550e143d1e158b489dd8ac.jpg","text":"TemporaryFile(/tmp/multipartBody1383051921887720420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330004192,"filename":"image_02012026_05_10_45_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106090","file1":"1402106087","file0":"1402106083","file4":"1402106094","file5":"1402106125","file3":"1402106092"},"map_files_photo_id_array":[{"photo_id":"1402106125","filename":"file5"},{"photo_id":"1402106090","filename":"file2"},{"photo_id":"1402106094","filename":"file4"},{"photo_id":"1402106087","filename":"file1"},{"photo_id":"1402106083","filename":"file0"},{"photo_id":"1402106092","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402106090":["hashtag1","hashtag2"]},{"1402106087":["hashtag1","hashtag2"]},{"1402106083":["hashtag1","hashtag2"]},{"1402106092":["hashtag1","hashtag2"]},{"1402106125":["hashtag1","hashtag2"]},{"1402106094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402106090, 1402106087, 1402106083, 1402106092, 1402106125, 1402106094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05554962158203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 05:59:42.715521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_18_1601.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_19_1635.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_21_1661.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_26_1561.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_31_1611.jpg', '/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_33_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/23/09/image_04112025_23_09_18_1601.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_19_1635.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_21_1661.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_26_1561.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_31_1611.jpg
/home/pi/Desktop/images/04112025/23/09/image_04112025_23_09_33_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402106589","1402106433","1402106276","1402106680","1402106359","1402106506"],"photo_ids_order":["1402106276","1402106359","1402106433","1402106506","1402106589","1402106680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/902167930dafd2b561a9e6ff783797bf.jpg","text":"TemporaryFile(/tmp/multipartBody1759521157633809974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330044518,"filename":"image_04112025_23_09_31_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/2/2ae999dd22d32c77197427ccfda1ada2.jpg","text":"TemporaryFile(/tmp/multipartBody6374541185175329289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330044518,"filename":"image_04112025_23_09_21_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/2/c4fbe1094ca801acf3c3b28d004c29bb.jpg","text":"TemporaryFile(/tmp/multipartBody1519006083845442579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330044518,"filename":"image_04112025_23_09_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/2/35f4e00c48f780595d070fb8a45cf858.jpg","text":"TemporaryFile(/tmp/multipartBody3407072723840675437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330044518,"filename":"image_04112025_23_09_33_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/2/ac352407a88745a37a9d9c0c71ed764b.jpg","text":"TemporaryFile(/tmp/multipartBody6506146249127195557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330044518,"filename":"image_04112025_23_09_19_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/2/ab6af4790d293d89047e434d1143621e.jpg","text":"TemporaryFile(/tmp/multipartBody2863305219736827658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330044518,"filename":"image_04112025_23_09_26_1561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402106433","file1":"1402106359","file0":"1402106276","file4":"1402106589","file5":"1402106680","file3":"1402106506"},"map_files_photo_id_array":[{"photo_id":"1402106680","filename":"file5"},{"photo_id":"1402106433","filename":"file2"},{"photo_id":"1402106589","filename":"file4"},{"photo_id":"1402106359","filename":"file1"},{"photo_id":"1402106276","filename":"file0"},{"photo_id":"1402106506","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402106589":["hashtag1","hashtag2"]},{"1402106433":["hashtag1","hashtag2"]},{"1402106276":["hashtag1","hashtag2"]},{"1402106680":["hashtag1","hashtag2"]},{"1402106359":["hashtag1","hashtag2"]},{"1402106506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402106589, 1402106433, 1402106276, 1402106680, 1402106359, 1402106506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.287851333618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:00:31.971703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/10/image_04112025_23_10_05_24253.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_07_3014.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_14_3599.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_17_2687.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_26_1683.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_29_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/23/10/image_04112025_23_10_05_24253.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_07_3014.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_14_3599.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_17_2687.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_26_1683.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_29_3663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402107321","1402107021","1402107257","1402106981","1402107426","1402107129"],"photo_ids_order":["1402106981","1402107021","1402107129","1402107257","1402107321","1402107426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b53815254b461ecdbbc177bce01a4d6.jpg","text":"TemporaryFile(/tmp/multipartBody8085919820910795993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330096905,"filename":"image_04112025_23_12_26_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/2/ccccb7f87ffdde74f5ec35c04b8a8db3.jpg","text":"TemporaryFile(/tmp/multipartBody6205282680352441884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330096905,"filename":"image_04112025_23_12_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26c1a5fbda3df372607374bfea9e4ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8276624524490565176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330096905,"filename":"image_04112025_23_12_17_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/2/9ea4876a887561934d163901837c54f2.jpg","text":"TemporaryFile(/tmp/multipartBody179842000147816623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330096905,"filename":"image_04112025_23_10_05_24253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/344653247a0e9779fb63030c302758d4.jpg","text":"TemporaryFile(/tmp/multipartBody4293017987528819519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330096905,"filename":"image_04112025_23_12_29_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/2/a846bd65bf38abcfb4d4701ec5b7d22b.jpg","text":"TemporaryFile(/tmp/multipartBody3662814836779475877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330096905,"filename":"image_04112025_23_12_14_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402107129","file1":"1402107021","file0":"1402106981","file4":"1402107321","file5":"1402107426","file3":"1402107257"},"map_files_photo_id_array":[{"photo_id":"1402107426","filename":"file5"},{"photo_id":"1402107129","filename":"file2"},{"photo_id":"1402107321","filename":"file4"},{"photo_id":"1402107021","filename":"file1"},{"photo_id":"1402106981","filename":"file0"},{"photo_id":"1402107257","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402107321":["hashtag1","hashtag2"]},{"1402107021":["hashtag1","hashtag2"]},{"1402107257":["hashtag1","hashtag2"]},{"1402106981":["hashtag1","hashtag2"]},{"1402107426":["hashtag1","hashtag2"]},{"1402107129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402107321, 1402107021, 1402107257, 1402106981, 1402107426, 1402107129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.31616497039795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:01:22.046693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_15_9713.jpg', '/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_25_9843.jpg', '/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_35_9913.jpg', '/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_45_9845.jpg', '/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_55_10702.jpg', '/home/pi/Desktop/images/02012026/05/11/image_02012026_05_12_05_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_15_9713.jpg
/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_25_9843.jpg
/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_35_9913.jpg
/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_45_9845.jpg
/home/pi/Desktop/images/02012026/05/11/image_02012026_05_11_55_10702.jpg
/home/pi/Desktop/images/02012026/05/11/image_02012026_05_12_05_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":["1402107648","1402107682","1402107688","1402107625","1402107684","1402107657"],"photo_ids_order":["1402107625","1402107648","1402107657","1402107682","1402107684","1402107688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12edd374f32837e39d41da0010dbbb81.jpg","text":"TemporaryFile(/tmp/multipartBody328667220614727020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330142628,"filename":"image_02012026_05_11_25_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/2/670d2586fbba56846a9960c4817af937.jpg","text":"TemporaryFile(/tmp/multipartBody6000288784628746807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330142628,"filename":"image_02012026_05_11_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/2/8d760200cccd8e8e6004c1d14c2386b7.jpg","text":"TemporaryFile(/tmp/multipartBody2614142697021196143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330142628,"filename":"image_02012026_05_12_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/2/0d053b71277a792178646ba1210ab492.jpg","text":"TemporaryFile(/tmp/multipartBody3322480005159901364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330142628,"filename":"image_02012026_05_11_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/2/7bd7d5ac1956316406e5849e23c09d61.jpg","text":"TemporaryFile(/tmp/multipartBody6161972603630256147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330142628,"filename":"image_02012026_05_11_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/2/f0a0aa80d02741944eeaa06b3eff37e6.jpg","text":"TemporaryFile(/tmp/multipartBody3516419729976703819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330142628,"filename":"image_02012026_05_11_35_9913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402107657","file1":"1402107648","file0":"1402107625","file4":"1402107684","file5":"1402107688","file3":"1402107682"},"map_files_photo_id_array":[{"photo_id":"1402107688","filename":"file5"},{"photo_id":"1402107657","filename":"file2"},{"photo_id":"1402107684","filename":"file4"},{"photo_id":"1402107648","filename":"file1"},{"photo_id":"1402107625","filename":"file0"},{"photo_id":"1402107682","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402107648":["hashtag1","hashtag2"]},{"1402107682":["hashtag1","hashtag2"]},{"1402107688":["hashtag1","hashtag2"]},{"1402107625":["hashtag1","hashtag2"]},{"1402107684":["hashtag1","hashtag2"]},{"1402107657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402107648, 1402107682, 1402107688, 1402107625, 1402107684, 1402107657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26809048652649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:02:02.701260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_15_9688.jpg', '/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_24_9750.jpg', '/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_35_10675.jpg', '/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_45_9669.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_15_10714.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_25_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_15_9688.jpg
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_24_9750.jpg
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_35_10675.jpg
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_45_9669.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_15_10714.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_25_9829.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5495827198028564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:02:12.425283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_32_2707.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_35_2672.jpg', '/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_41_3819.jpg', '/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_11_1789.jpg', '/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_41_29927.jpg', '/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_44_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_32_2707.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_35_2672.jpg
/home/pi/Desktop/images/04112025/23/12/image_04112025_23_12_41_3819.jpg
/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_11_1789.jpg
/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_41_29927.jpg
/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_44_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402107880","1402107883","1402107964","1402107946","1402107934","1402107897"],"photo_ids_order":["1402107880","1402107883","1402107897","1402107934","1402107946","1402107964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a293a1f4e397a147a328024025976e1.jpg","text":"TemporaryFile(/tmp/multipartBody8540367818337866089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330194248,"filename":"image_04112025_23_12_32_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/2/094cd3903ad7844e39ce4b2dcc141338.jpg","text":"TemporaryFile(/tmp/multipartBody7023029824595705515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330194248,"filename":"image_04112025_23_12_35_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/2/5b50909afbb548c0798620b319dd27b1.jpg","text":"TemporaryFile(/tmp/multipartBody3694498212442219001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330194248,"filename":"image_04112025_23_13_44_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/2/5fcaa6b45f2f49755a4d5ff4470f2948.jpg","text":"TemporaryFile(/tmp/multipartBody3932299183585486594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330194248,"filename":"image_04112025_23_13_41_29927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c99a4f2a384a7170a2723079b4d8ebb.jpg","text":"TemporaryFile(/tmp/multipartBody339970669162485259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330194248,"filename":"image_04112025_23_13_11_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/2/2435cf410f56406696ae62af1706efc4.jpg","text":"TemporaryFile(/tmp/multipartBody3503734915699363764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330194248,"filename":"image_04112025_23_12_41_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402107897","file1":"1402107883","file0":"1402107880","file4":"1402107946","file5":"1402107964","file3":"1402107934"},"map_files_photo_id_array":[{"photo_id":"1402107964","filename":"file5"},{"photo_id":"1402107897","filename":"file2"},{"photo_id":"1402107946","filename":"file4"},{"photo_id":"1402107883","filename":"file1"},{"photo_id":"1402107880","filename":"file0"},{"photo_id":"1402107934","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402107880":["hashtag1","hashtag2"]},{"1402107883":["hashtag1","hashtag2"]},{"1402107964":["hashtag1","hashtag2"]},{"1402107946":["hashtag1","hashtag2"]},{"1402107934":["hashtag1","hashtag2"]},{"1402107897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402107880, 1402107883, 1402107964, 1402107946, 1402107934, 1402107897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73942017555237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:03:03.144929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_15_9688.jpg', '/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_24_9750.jpg', '/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_35_10675.jpg', '/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_45_9669.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_15_10714.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_25_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_15_9688.jpg
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_24_9750.jpg
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_35_10675.jpg
/home/pi/Desktop/images/02012026/05/12/image_02012026_05_12_45_9669.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_15_10714.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_25_9829.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":["1402107998","1402108001","1402108000","1402108003","1402107999","1402108005"],"photo_ids_order":["1402107998","1402107999","1402108000","1402108001","1402108003","1402108005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d73b11c924b4cbdd86839d7086beb2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8978265961839602300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330246225,"filename":"image_02012026_05_12_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/2/6981de31e65da52c5d4d943872d5e6ca.jpg","text":"TemporaryFile(/tmp/multipartBody6722753682100580920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330246225,"filename":"image_02012026_05_12_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/2/a810187b4b1eda29fa8205acb6b98c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3515404001040312429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330246225,"filename":"image_02012026_05_12_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/2/935948f6777e53a4f578bc3a57a03fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8141944985522994831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330246225,"filename":"image_02012026_05_13_15_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/2/6f2636eddd247763df0b4abaf963dabd.jpg","text":"TemporaryFile(/tmp/multipartBody5211022670372503928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330246225,"filename":"image_02012026_05_12_24_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/2/2e3b68685b99943f539f969d2e18e9bb.jpg","text":"TemporaryFile(/tmp/multipartBody4459370410773361651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330246225,"filename":"image_02012026_05_13_25_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108000","file1":"1402107999","file0":"1402107998","file4":"1402108003","file5":"1402108005","file3":"1402108001"},"map_files_photo_id_array":[{"photo_id":"1402108005","filename":"file5"},{"photo_id":"1402108000","filename":"file2"},{"photo_id":"1402108003","filename":"file4"},{"photo_id":"1402107999","filename":"file1"},{"photo_id":"1402107998","filename":"file0"},{"photo_id":"1402108001","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402107998":["hashtag1","hashtag2"]},{"1402108001":["hashtag1","hashtag2"]},{"1402108000":["hashtag1","hashtag2"]},{"1402108003":["hashtag1","hashtag2"]},{"1402107999":["hashtag1","hashtag2"]},{"1402108005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402107998, 1402108001, 1402108000, 1402108003, 1402107999, 1402108005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.877851724624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:04:03.500215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_35_9664.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_44_9753.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_55_10717.jpg', '/home/pi/Desktop/images/02012026/05/13/image_02012026_05_14_05_9566.jpg', '/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_15_10608.jpg', '/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_25_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_35_9664.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_44_9753.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_13_55_10717.jpg
/home/pi/Desktop/images/02012026/05/13/image_02012026_05_14_05_9566.jpg
/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_15_10608.jpg
/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_25_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":["1402108016","1402108018","1402108021","1402108015","1402108014","1402108017"],"photo_ids_order":["1402108014","1402108015","1402108016","1402108017","1402108018","1402108021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/077c1df7b8a993a8e2696bcd3a711524.jpg","text":"TemporaryFile(/tmp/multipartBody4500804432830894263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330304181,"filename":"image_02012026_05_13_55_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/2/79486ce2b71b77c04a0213728c9c051e.jpg","text":"TemporaryFile(/tmp/multipartBody4411548565804728522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330304181,"filename":"image_02012026_05_14_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/2/9ed6ed1911461b0826ab7bfde4dad3a4.jpg","text":"TemporaryFile(/tmp/multipartBody8432829997207278956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330304181,"filename":"image_02012026_05_14_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/2/6b1ab3409f3c9ab3d5328a257a76b99d.jpg","text":"TemporaryFile(/tmp/multipartBody6944897183049985877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330304181,"filename":"image_02012026_05_13_44_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/2/577e04726ff69ba6996befc775bf3c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8539671625412212825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330304181,"filename":"image_02012026_05_13_35_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/2/157a6abcf86f62ee7084a8cdea2c6013.jpg","text":"TemporaryFile(/tmp/multipartBody1610965543599818286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330304181,"filename":"image_02012026_05_14_05_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108016","file1":"1402108015","file0":"1402108014","file4":"1402108018","file5":"1402108021","file3":"1402108017"},"map_files_photo_id_array":[{"photo_id":"1402108021","filename":"file5"},{"photo_id":"1402108016","filename":"file2"},{"photo_id":"1402108018","filename":"file4"},{"photo_id":"1402108015","filename":"file1"},{"photo_id":"1402108014","filename":"file0"},{"photo_id":"1402108017","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108016":["hashtag1","hashtag2"]},{"1402108018":["hashtag1","hashtag2"]},{"1402108021":["hashtag1","hashtag2"]},{"1402108015":["hashtag1","hashtag2"]},{"1402108014":["hashtag1","hashtag2"]},{"1402108017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108016, 1402108018, 1402108021, 1402108015, 1402108014, 1402108017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.179484128952026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:04:42.762968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_45_1591.jpg', '/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_50_1596.jpg', '/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_57_1641.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_02_1650.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_05_1617.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_07_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_45_1591.jpg
/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_50_1596.jpg
/home/pi/Desktop/images/04112025/23/13/image_04112025_23_13_57_1641.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_02_1650.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_05_1617.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_07_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":["1402108031","1402108034","1402108028","1402108030","1402108033","1402108032"],"photo_ids_order":["1402108028","1402108030","1402108031","1402108032","1402108033","1402108034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc187e50f52851ae3f5ca728e6704b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1263563761822521319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330344583,"filename":"image_04112025_23_13_57_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/2/56a6eb8ffb01570f169ac280a6237644.jpg","text":"TemporaryFile(/tmp/multipartBody7244846055521196745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330344583,"filename":"image_04112025_23_14_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/2/af62792ee9334a338d25a542f587ef55.jpg","text":"TemporaryFile(/tmp/multipartBody8162902632017561400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330344583,"filename":"image_04112025_23_13_45_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/2/dc2332466b517ddc21bf31f0f4449d94.jpg","text":"TemporaryFile(/tmp/multipartBody4248049488173894284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330344583,"filename":"image_04112025_23_13_50_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/2/91e2a4c09b92fb04abafddf1e9cfa2bc.jpg","text":"TemporaryFile(/tmp/multipartBody9111416320974032959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330344583,"filename":"image_04112025_23_14_05_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/2/ac01488d79d05b3f8c7d80df334c4b27.jpg","text":"TemporaryFile(/tmp/multipartBody9048236910423740847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330344583,"filename":"image_04112025_23_14_02_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108031","file1":"1402108030","file0":"1402108028","file4":"1402108033","file5":"1402108034","file3":"1402108032"},"map_files_photo_id_array":[{"photo_id":"1402108034","filename":"file5"},{"photo_id":"1402108031","filename":"file2"},{"photo_id":"1402108033","filename":"file4"},{"photo_id":"1402108030","filename":"file1"},{"photo_id":"1402108028","filename":"file0"},{"photo_id":"1402108032","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108031":["hashtag1","hashtag2"]},{"1402108034":["hashtag1","hashtag2"]},{"1402108028":["hashtag1","hashtag2"]},{"1402108030":["hashtag1","hashtag2"]},{"1402108033":["hashtag1","hashtag2"]},{"1402108032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108031, 1402108034, 1402108028, 1402108030, 1402108033, 1402108032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36392641067505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:05:22.038447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_35_9740.jpg', '/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_55_9702.jpg', '/home/pi/Desktop/images/02012026/05/14/image_02012026_05_15_05_9669.jpg', '/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_14_9773.jpg', '/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_25_10645.jpg', '/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_35_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_35_9740.jpg
/home/pi/Desktop/images/02012026/05/14/image_02012026_05_14_55_9702.jpg
/home/pi/Desktop/images/02012026/05/14/image_02012026_05_15_05_9669.jpg
/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_14_9773.jpg
/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_25_10645.jpg
/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_35_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108040","1402108042","1402108036","1402108050","1402108044","1402108038"],"photo_ids_order":["1402108036","1402108038","1402108040","1402108042","1402108044","1402108050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1d8483393f7578d0020d1f4789ea296.jpg","text":"TemporaryFile(/tmp/multipartBody2149158115088961792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330382646,"filename":"image_02012026_05_15_05_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/2/82f80c36d216bdd7877125699d744457.jpg","text":"TemporaryFile(/tmp/multipartBody1276825691420354214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330382646,"filename":"image_02012026_05_15_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/2/ddd06ceeb3d37fdfbf67901f4d43cefb.jpg","text":"TemporaryFile(/tmp/multipartBody4368271973987336239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330382646,"filename":"image_02012026_05_14_35_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/2/e801157e252ef868f59687dfb4f91d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2183346448696048949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330382646,"filename":"image_02012026_05_15_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/2/60487ffcf59239a9a8852f9cf9f4f291.jpg","text":"TemporaryFile(/tmp/multipartBody2164182284774786433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330382646,"filename":"image_02012026_05_15_25_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/2/2c2c068ab22c33a2c1ad879fc91a59fd.jpg","text":"TemporaryFile(/tmp/multipartBody5212740008905809841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330382646,"filename":"image_02012026_05_14_55_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108040","file1":"1402108038","file0":"1402108036","file4":"1402108044","file5":"1402108050","file3":"1402108042"},"map_files_photo_id_array":[{"photo_id":"1402108050","filename":"file5"},{"photo_id":"1402108040","filename":"file2"},{"photo_id":"1402108044","filename":"file4"},{"photo_id":"1402108038","filename":"file1"},{"photo_id":"1402108036","filename":"file0"},{"photo_id":"1402108042","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108040":["hashtag1","hashtag2"]},{"1402108042":["hashtag1","hashtag2"]},{"1402108036":["hashtag1","hashtag2"]},{"1402108050":["hashtag1","hashtag2"]},{"1402108044":["hashtag1","hashtag2"]},{"1402108038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108040, 1402108042, 1402108036, 1402108050, 1402108044, 1402108038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61203193664551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:06:02.692056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_44_9549.jpg', '/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_55_10683.jpg', '/home/pi/Desktop/images/02012026/05/15/image_02012026_05_16_05_9690.jpg', '/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_14_9680.jpg', '/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_25_10729.jpg', '/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_35_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_44_9549.jpg
/home/pi/Desktop/images/02012026/05/15/image_02012026_05_15_55_10683.jpg
/home/pi/Desktop/images/02012026/05/15/image_02012026_05_16_05_9690.jpg
/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_14_9680.jpg
/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_25_10729.jpg
/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_35_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108052","1402108055","1402108054","1402108057","1402108051","1402108053"],"photo_ids_order":["1402108051","1402108052","1402108053","1402108054","1402108055","1402108057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/048cdc5b209a8b515149e770bebf20af.jpg","text":"TemporaryFile(/tmp/multipartBody1322387153495907970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330423315,"filename":"image_02012026_05_15_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/2/ce75b94ce0611fccdf14929258c17adc.jpg","text":"TemporaryFile(/tmp/multipartBody1720067954351539141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330423315,"filename":"image_02012026_05_16_25_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/2/9595d25c2626b7b8b5e5481482716f61.jpg","text":"TemporaryFile(/tmp/multipartBody5772285686079016374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330423315,"filename":"image_02012026_05_16_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/2/973dcd6b1f1eb8657c187d0dbd157cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2974356087355620720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330423315,"filename":"image_02012026_05_16_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/2/8df29e9a219ac1c5d064f2348f77ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody4646903928158880776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330423315,"filename":"image_02012026_05_15_44_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/2/b98b8f8840c0717200ca72b9a153d98f.jpg","text":"TemporaryFile(/tmp/multipartBody39441032060147351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330423315,"filename":"image_02012026_05_16_05_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108053","file1":"1402108052","file0":"1402108051","file4":"1402108055","file5":"1402108057","file3":"1402108054"},"map_files_photo_id_array":[{"photo_id":"1402108057","filename":"file5"},{"photo_id":"1402108053","filename":"file2"},{"photo_id":"1402108055","filename":"file4"},{"photo_id":"1402108052","filename":"file1"},{"photo_id":"1402108051","filename":"file0"},{"photo_id":"1402108054","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108052":["hashtag1","hashtag2"]},{"1402108055":["hashtag1","hashtag2"]},{"1402108054":["hashtag1","hashtag2"]},{"1402108057":["hashtag1","hashtag2"]},{"1402108051":["hashtag1","hashtag2"]},{"1402108053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108052, 1402108055, 1402108054, 1402108057, 1402108051, 1402108053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06699275970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:06:42.223768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_12_1575.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_17_1776.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_20_1742.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_22_1746.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_26_3802.jpg', '/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_35_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_12_1575.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_17_1776.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_20_1742.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_22_1746.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_26_3802.jpg
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_35_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108070","1402108064","1402108067","1402108066","1402108069","1402108068"],"photo_ids_order":["1402108064","1402108066","1402108067","1402108068","1402108069","1402108070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/febfbd69c8685d4af8ce21bd9c727d01.jpg","text":"TemporaryFile(/tmp/multipartBody8254851610478974273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330464037,"filename":"image_04112025_23_14_35_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/2/fecffe08b2ad59013ea1c1777ee4fe3a.jpg","text":"TemporaryFile(/tmp/multipartBody6569467054170199938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330464037,"filename":"image_04112025_23_14_12_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/2/122d0ad12dc0a7bb3da629bc0f230f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5151170187848810368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330464037,"filename":"image_04112025_23_14_20_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/2/53c184614e422b7e16535d8f8df491d7.jpg","text":"TemporaryFile(/tmp/multipartBody6158172729821801498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330464037,"filename":"image_04112025_23_14_17_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/2/dab14c1ea3bdc35b1f213a54ffdf8d13.jpg","text":"TemporaryFile(/tmp/multipartBody7831724753650383761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330464037,"filename":"image_04112025_23_14_26_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/2/54a291c0eade3571793d96ca3070d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8707165024591060479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330464037,"filename":"image_04112025_23_14_22_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108067","file1":"1402108066","file0":"1402108064","file4":"1402108069","file5":"1402108070","file3":"1402108068"},"map_files_photo_id_array":[{"photo_id":"1402108070","filename":"file5"},{"photo_id":"1402108067","filename":"file2"},{"photo_id":"1402108069","filename":"file4"},{"photo_id":"1402108066","filename":"file1"},{"photo_id":"1402108064","filename":"file0"},{"photo_id":"1402108068","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108070":["hashtag1","hashtag2"]},{"1402108064":["hashtag1","hashtag2"]},{"1402108067":["hashtag1","hashtag2"]},{"1402108066":["hashtag1","hashtag2"]},{"1402108069":["hashtag1","hashtag2"]},{"1402108068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108070, 1402108064, 1402108067, 1402108066, 1402108069, 1402108068)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.880258321762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:07:32.487083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_56_5275.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_07_11794.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_14_6147.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_19_1661.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_20_1540.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_23_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/14/image_04112025_23_14_56_5275.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_07_11794.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_14_6147.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_19_1661.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_20_1540.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_23_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":["1402108082","1402108076","1402108079","1402108084","1402108086","1402108074"],"photo_ids_order":["1402108074","1402108076","1402108079","1402108082","1402108084","1402108086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f091c2380cb43e7c4866ae2f6230cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3031038929613482459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330514307,"filename":"image_04112025_23_15_19_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/2/3c976e70d87b4c693f3203f604064475.jpg","text":"TemporaryFile(/tmp/multipartBody2344517942135682415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330514307,"filename":"image_04112025_23_15_07_11794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3bbae26c33bd1762607445b172208e88.jpg","text":"TemporaryFile(/tmp/multipartBody1491437645830431068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330514307,"filename":"image_04112025_23_15_14_6147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65b9ab4728b83e52e3ed992131848daa.jpg","text":"TemporaryFile(/tmp/multipartBody8468832877520620599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330514307,"filename":"image_04112025_23_15_20_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/2/65b9ac238ff7aff74d4c816027c51164.jpg","text":"TemporaryFile(/tmp/multipartBody8925669059166657545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330514307,"filename":"image_04112025_23_15_23_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/2/0ac7b3e10c4552cbdea389bab2d29ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4288869608419226370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330514307,"filename":"image_04112025_23_14_56_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108079","file1":"1402108076","file0":"1402108074","file4":"1402108084","file5":"1402108086","file3":"1402108082"},"map_files_photo_id_array":[{"photo_id":"1402108086","filename":"file5"},{"photo_id":"1402108079","filename":"file2"},{"photo_id":"1402108084","filename":"file4"},{"photo_id":"1402108076","filename":"file1"},{"photo_id":"1402108074","filename":"file0"},{"photo_id":"1402108082","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108082":["hashtag1","hashtag2"]},{"1402108076":["hashtag1","hashtag2"]},{"1402108079":["hashtag1","hashtag2"]},{"1402108084":["hashtag1","hashtag2"]},{"1402108086":["hashtag1","hashtag2"]},{"1402108074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108082, 1402108076, 1402108079, 1402108084, 1402108086, 1402108074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91177558898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:08:14.632745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_29_5990.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_31_1588.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_40_1756.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_41_1632.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_59_9306.jpg', '/home/pi/Desktop/images/04112025/23/15/image_04112025_23_16_00_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/23/15/image_04112025_23_15_29_5990.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_31_1588.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_40_1756.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_41_1632.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_15_59_9306.jpg
/home/pi/Desktop/images/04112025/23/15/image_04112025_23_16_00_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":["1402108097","1402108091","1402108099","1402108090","1402108093","1402108095"],"photo_ids_order":["1402108090","1402108091","1402108093","1402108095","1402108097","1402108099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a78a96cd8f8f3fffc0a260a96729ee46.jpg","text":"TemporaryFile(/tmp/multipartBody4626710235346423757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330556408,"filename":"image_04112025_23_15_59_9306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d1458d648e9cfceda329eafab6883bd.jpg","text":"TemporaryFile(/tmp/multipartBody5228059604416863038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330556408,"filename":"image_04112025_23_15_31_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/2/de2a265bbdbea9c984b96286a920092a.jpg","text":"TemporaryFile(/tmp/multipartBody6433863045418646906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330556408,"filename":"image_04112025_23_16_00_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/2/b767eab320e074b3e33d5b1a712cc2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8166749945937044708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330556408,"filename":"image_04112025_23_15_29_5990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e0e975b06b04727e2cbb4a28a0247f06.jpg","text":"TemporaryFile(/tmp/multipartBody4941669056011991007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330556408,"filename":"image_04112025_23_15_40_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/2/0f4cd3a2a340a201d9792abfb3aff21b.jpg","text":"TemporaryFile(/tmp/multipartBody2834445515503442102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330556408,"filename":"image_04112025_23_15_41_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108093","file1":"1402108091","file0":"1402108090","file4":"1402108097","file5":"1402108099","file3":"1402108095"},"map_files_photo_id_array":[{"photo_id":"1402108099","filename":"file5"},{"photo_id":"1402108093","filename":"file2"},{"photo_id":"1402108097","filename":"file4"},{"photo_id":"1402108091","filename":"file1"},{"photo_id":"1402108090","filename":"file0"},{"photo_id":"1402108095","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108097":["hashtag1","hashtag2"]},{"1402108091":["hashtag1","hashtag2"]},{"1402108099":["hashtag1","hashtag2"]},{"1402108090":["hashtag1","hashtag2"]},{"1402108093":["hashtag1","hashtag2"]},{"1402108095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108097, 1402108091, 1402108099, 1402108090, 1402108093, 1402108095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.044711112976074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:09:03.555743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_55_10669.jpg', '/home/pi/Desktop/images/02012026/05/16/image_02012026_05_17_05_9701.jpg', '/home/pi/Desktop/images/02012026/05/17/image_02012026_05_17_15_9785.jpg', '/home/pi/Desktop/images/02012026/05/17/image_02012026_05_17_35_9825.jpg', '/home/pi/Desktop/images/02012026/05/17/image_02012026_05_17_54_9631.jpg', '/home/pi/Desktop/images/02012026/05/17/image_02012026_05_18_05_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/16/image_02012026_05_16_55_10669.jpg
/home/pi/Desktop/images/02012026/05/16/image_02012026_05_17_05_9701.jpg
/home/pi/Desktop/images/02012026/05/17/image_02012026_05_17_15_9785.jpg
/home/pi/Desktop/images/02012026/05/17/image_02012026_05_17_35_9825.jpg
/home/pi/Desktop/images/02012026/05/17/image_02012026_05_17_54_9631.jpg
/home/pi/Desktop/images/02012026/05/17/image_02012026_05_18_05_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":["1402108106","1402108103","1402108102","1402108108","1402108110","1402108104"],"photo_ids_order":["1402108102","1402108103","1402108104","1402108106","1402108108","1402108110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e53f7758c2fb1835e53895dd08798c0.jpg","text":"TemporaryFile(/tmp/multipartBody7555683960314793857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330604326,"filename":"image_02012026_05_17_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/2/68b1d6588034595cda4d483d9ca00016.jpg","text":"TemporaryFile(/tmp/multipartBody3958427656887108456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330604326,"filename":"image_02012026_05_17_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/2/00d558bfbf4e957f681531390bb01ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1186515904616488710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330604326,"filename":"image_02012026_05_16_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/2/eb0517bd201dc5abad685ba9f65fe649.jpg","text":"TemporaryFile(/tmp/multipartBody8955087244285345379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330604326,"filename":"image_02012026_05_17_54_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/2/9829845b14633fb412b7e7ec6734806b.jpg","text":"TemporaryFile(/tmp/multipartBody4359119640239680998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330604326,"filename":"image_02012026_05_18_05_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/2/9f3e4579e1486b3ba0f2a85dc22f00b0.jpg","text":"TemporaryFile(/tmp/multipartBody7234514144966822414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330604326,"filename":"image_02012026_05_17_15_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108104","file1":"1402108103","file0":"1402108102","file4":"1402108108","file5":"1402108110","file3":"1402108106"},"map_files_photo_id_array":[{"photo_id":"1402108110","filename":"file5"},{"photo_id":"1402108104","filename":"file2"},{"photo_id":"1402108108","filename":"file4"},{"photo_id":"1402108103","filename":"file1"},{"photo_id":"1402108102","filename":"file0"},{"photo_id":"1402108106","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108106":["hashtag1","hashtag2"]},{"1402108103":["hashtag1","hashtag2"]},{"1402108102":["hashtag1","hashtag2"]},{"1402108108":["hashtag1","hashtag2"]},{"1402108110":["hashtag1","hashtag2"]},{"1402108104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108106, 1402108103, 1402108102, 1402108108, 1402108110, 1402108104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34612464904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:09:42.488683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/16/image_04112025_23_16_02_1774.jpg', '/home/pi/Desktop/images/04112025/23/16/image_04112025_23_16_04_1629.jpg', '/home/pi/Desktop/images/04112025/23/16/image_04112025_23_16_05_1537.jpg', '/home/pi/Desktop/images/04112025/23/18/image_04112025_23_18_28_2548.jpg', '/home/pi/Desktop/images/04112025/23/18/image_04112025_23_18_40_2633.jpg', '/home/pi/Desktop/images/04112025/23/18/image_04112025_23_18_46_1840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/16/image_04112025_23_16_02_1774.jpg
/home/pi/Desktop/images/04112025/23/16/image_04112025_23_16_04_1629.jpg
/home/pi/Desktop/images/04112025/23/16/image_04112025_23_16_05_1537.jpg
/home/pi/Desktop/images/04112025/23/18/image_04112025_23_18_28_2548.jpg
/home/pi/Desktop/images/04112025/23/18/image_04112025_23_18_40_2633.jpg
/home/pi/Desktop/images/04112025/23/18/image_04112025_23_18_46_1840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108118","1402108120","1402108117","1402108114","1402108116","1402108119"],"photo_ids_order":["1402108114","1402108116","1402108117","1402108118","1402108119","1402108120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/62eecf08bc908204bc90664c6ebf724b.jpg","text":"TemporaryFile(/tmp/multipartBody5154044406272035518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330644340,"filename":"image_04112025_23_18_28_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/2/f524509b23fcf5666defdfd0e4ad58ae.jpg","text":"TemporaryFile(/tmp/multipartBody5159671728549097602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330644340,"filename":"image_04112025_23_18_46_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/2/59dd483a388013e2828f05c446fa29be.jpg","text":"TemporaryFile(/tmp/multipartBody7993812791558840662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330644340,"filename":"image_04112025_23_16_05_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/2/88fb5921d373116e63a8570a8e3084e6.jpg","text":"TemporaryFile(/tmp/multipartBody5433914791744957985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330644340,"filename":"image_04112025_23_16_02_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/2/f4bd74c00f96cf17e3134c2bbf8c553a.jpg","text":"TemporaryFile(/tmp/multipartBody2418772037489109556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330644340,"filename":"image_04112025_23_16_04_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/2/757445d550f6c7b95ca0b47d98958486.jpg","text":"TemporaryFile(/tmp/multipartBody4566016694323058095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330644340,"filename":"image_04112025_23_18_40_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108117","file1":"1402108116","file0":"1402108114","file4":"1402108119","file5":"1402108120","file3":"1402108118"},"map_files_photo_id_array":[{"photo_id":"1402108120","filename":"file5"},{"photo_id":"1402108117","filename":"file2"},{"photo_id":"1402108119","filename":"file4"},{"photo_id":"1402108116","filename":"file1"},{"photo_id":"1402108114","filename":"file0"},{"photo_id":"1402108118","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108118":["hashtag1","hashtag2"]},{"1402108120":["hashtag1","hashtag2"]},{"1402108117":["hashtag1","hashtag2"]},{"1402108114":["hashtag1","hashtag2"]},{"1402108116":["hashtag1","hashtag2"]},{"1402108119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108118, 1402108120, 1402108117, 1402108114, 1402108116, 1402108119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73064351081848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:10:22.660528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_15_9569.jpg', '/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_24_9667.jpg', '/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_35_10628.jpg', '/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_55_10708.jpg', '/home/pi/Desktop/images/02012026/05/18/image_02012026_05_19_05_9869.jpg', '/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_15_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_15_9569.jpg
/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_24_9667.jpg
/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_35_10628.jpg
/home/pi/Desktop/images/02012026/05/18/image_02012026_05_18_55_10708.jpg
/home/pi/Desktop/images/02012026/05/18/image_02012026_05_19_05_9869.jpg
/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_15_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":["1402108133","1402108127","1402108129","1402108132","1402108131","1402108125"],"photo_ids_order":["1402108125","1402108127","1402108129","1402108131","1402108132","1402108133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1a7a697f02fd2396e2427b2c1f33779.jpg","text":"TemporaryFile(/tmp/multipartBody623285657873468378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330683279,"filename":"image_02012026_05_19_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/2/aa5d76fe8b1294ad82b49734f935eb38.jpg","text":"TemporaryFile(/tmp/multipartBody4611978489878553366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330683279,"filename":"image_02012026_05_18_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/2/298ca684516aa71872b101979ed2b02a.jpg","text":"TemporaryFile(/tmp/multipartBody5390109253928915445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330683279,"filename":"image_02012026_05_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/2/32a0c8ee156c86659dd3bfd27f9f6e22.jpg","text":"TemporaryFile(/tmp/multipartBody4627758807188542726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330683279,"filename":"image_02012026_05_19_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/2/ef028c439b63538ced3a32fcf5ead31d.jpg","text":"TemporaryFile(/tmp/multipartBody1508942992506700557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330683279,"filename":"image_02012026_05_18_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/2/aff82069bd94062d33ba0d3445f214a9.jpg","text":"TemporaryFile(/tmp/multipartBody3604007412197762553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330683279,"filename":"image_02012026_05_18_15_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108129","file1":"1402108127","file0":"1402108125","file4":"1402108132","file5":"1402108133","file3":"1402108131"},"map_files_photo_id_array":[{"photo_id":"1402108133","filename":"file5"},{"photo_id":"1402108129","filename":"file2"},{"photo_id":"1402108132","filename":"file4"},{"photo_id":"1402108127","filename":"file1"},{"photo_id":"1402108125","filename":"file0"},{"photo_id":"1402108131","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108133":["hashtag1","hashtag2"]},{"1402108127":["hashtag1","hashtag2"]},{"1402108129":["hashtag1","hashtag2"]},{"1402108132":["hashtag1","hashtag2"]},{"1402108131":["hashtag1","hashtag2"]},{"1402108125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108133, 1402108127, 1402108129, 1402108132, 1402108131, 1402108125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59453511238098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:11:02.494640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_35_10647.jpg', '/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_45_9622.jpg', '/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_55_9776.jpg', '/home/pi/Desktop/images/02012026/05/19/image_02012026_05_20_04_9725.jpg', '/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_15_10574.jpg', '/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_25_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_35_10647.jpg
/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_45_9622.jpg
/home/pi/Desktop/images/02012026/05/19/image_02012026_05_19_55_9776.jpg
/home/pi/Desktop/images/02012026/05/19/image_02012026_05_20_04_9725.jpg
/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_15_10574.jpg
/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_25_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":["1402108142","1402108141","1402108135","1402108144","1402108138","1402108134"],"photo_ids_order":["1402108134","1402108135","1402108138","1402108141","1402108142","1402108144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a3ac32223430518428b8355022f7441a.jpg","text":"TemporaryFile(/tmp/multipartBody8652487460196717742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330723222,"filename":"image_02012026_05_20_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/2/e56288133eddd1e5c45debc4cc64ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody5630795152689843133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330723222,"filename":"image_02012026_05_20_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/2/b44e0370b33d7a09c121700de36aebb6.jpg","text":"TemporaryFile(/tmp/multipartBody3783324020278286782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330723222,"filename":"image_02012026_05_19_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/2/498088d59735b188e4f7e32046b363d6.jpg","text":"TemporaryFile(/tmp/multipartBody2732301911845711865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330723222,"filename":"image_02012026_05_20_25_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/2/008bd30661982905e4817ddf25ad809d.jpg","text":"TemporaryFile(/tmp/multipartBody2053789993597268736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330723222,"filename":"image_02012026_05_19_55_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/2/968c2785e079824bf118b2b7679e87c4.jpg","text":"TemporaryFile(/tmp/multipartBody5091165009327190770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330723222,"filename":"image_02012026_05_19_35_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108138","file1":"1402108135","file0":"1402108134","file4":"1402108142","file5":"1402108144","file3":"1402108141"},"map_files_photo_id_array":[{"photo_id":"1402108144","filename":"file5"},{"photo_id":"1402108138","filename":"file2"},{"photo_id":"1402108142","filename":"file4"},{"photo_id":"1402108135","filename":"file1"},{"photo_id":"1402108134","filename":"file0"},{"photo_id":"1402108141","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108142":["hashtag1","hashtag2"]},{"1402108141":["hashtag1","hashtag2"]},{"1402108135":["hashtag1","hashtag2"]},{"1402108144":["hashtag1","hashtag2"]},{"1402108138":["hashtag1","hashtag2"]},{"1402108134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108142, 1402108141, 1402108135, 1402108144, 1402108138, 1402108134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.601322650909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:11:42.061038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_09_5211.jpg', '/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_14_1775.jpg', '/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_28_11159.jpg', '/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_35_1710.jpg', '/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_36_1688.jpg', '/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_41_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/23/20/image_04112025_23_20_09_5211.jpg
/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_14_1775.jpg
/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_28_11159.jpg
/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_35_1710.jpg
/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_36_1688.jpg
/home/pi/Desktop/images/04112025/23/20/image_04112025_23_20_41_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":["1402108154","1402108153","1402108156","1402108150","1402108152","1402108155"],"photo_ids_order":["1402108150","1402108152","1402108153","1402108154","1402108155","1402108156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/246f6a79b8dfc93326653b3c4f3eddf3.jpg","text":"TemporaryFile(/tmp/multipartBody7511398148653348519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330763892,"filename":"image_04112025_23_20_35_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/2/d00336681dc5d4063305fffe7299beb2.jpg","text":"TemporaryFile(/tmp/multipartBody8617929666703639257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330763892,"filename":"image_04112025_23_20_28_11159.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42dc00b65b30094ba47ef0724739f2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5121262751439891074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330763892,"filename":"image_04112025_23_20_41_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/2/9b7cbe5bc58cf0216faf3735f7adbf88.jpg","text":"TemporaryFile(/tmp/multipartBody2724163487203430927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330763892,"filename":"image_04112025_23_20_09_5211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7019acd879f064962536efd0ac8e1a69.jpg","text":"TemporaryFile(/tmp/multipartBody7697927151657028872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330763892,"filename":"image_04112025_23_20_14_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/2/4a7aa4adc63bc616b5af11090cb81974.jpg","text":"TemporaryFile(/tmp/multipartBody584191936455881552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330763892,"filename":"image_04112025_23_20_36_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108153","file1":"1402108152","file0":"1402108150","file4":"1402108155","file5":"1402108156","file3":"1402108154"},"map_files_photo_id_array":[{"photo_id":"1402108156","filename":"file5"},{"photo_id":"1402108153","filename":"file2"},{"photo_id":"1402108155","filename":"file4"},{"photo_id":"1402108152","filename":"file1"},{"photo_id":"1402108150","filename":"file0"},{"photo_id":"1402108154","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108154":["hashtag1","hashtag2"]},{"1402108153":["hashtag1","hashtag2"]},{"1402108156":["hashtag1","hashtag2"]},{"1402108150":["hashtag1","hashtag2"]},{"1402108152":["hashtag1","hashtag2"]},{"1402108155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108154, 1402108153, 1402108156, 1402108150, 1402108152, 1402108155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86567711830139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:12:22.218289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_34_9866.jpg', '/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_45_10646.jpg', '/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_55_9562.jpg', '/home/pi/Desktop/images/02012026/05/20/image_02012026_05_21_04_9653.jpg', '/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_15_10718.jpg', '/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_25_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_34_9866.jpg
/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_45_10646.jpg
/home/pi/Desktop/images/02012026/05/20/image_02012026_05_20_55_9562.jpg
/home/pi/Desktop/images/02012026/05/20/image_02012026_05_21_04_9653.jpg
/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_15_10718.jpg
/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_25_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":["1402108169","1402108163","1402108172","1402108165","1402108167","1402108161"],"photo_ids_order":["1402108161","1402108163","1402108165","1402108167","1402108169","1402108172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b50e0ada4d4334afdd5977cc16b6f2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1994277910887822908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330802828,"filename":"image_02012026_05_21_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/2/41c348edd4a21ed5639308ddb5b48095.jpg","text":"TemporaryFile(/tmp/multipartBody2770966827156394986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330802828,"filename":"image_02012026_05_20_45_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/2/024afff39d5e818be71d1802e6fea896.jpg","text":"TemporaryFile(/tmp/multipartBody6761058028682811089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330802828,"filename":"image_02012026_05_21_25_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/2/eda20231ea56ce08b31cadfbe4ae7c31.jpg","text":"TemporaryFile(/tmp/multipartBody7169025023096964840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330802828,"filename":"image_02012026_05_20_55_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/2/0edd8272eec7de402daccfaafec9dfa3.jpg","text":"TemporaryFile(/tmp/multipartBody6283784597807342456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330802828,"filename":"image_02012026_05_21_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/2/635bce4b401d1116c539bd720aba1e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4145258002934633747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330802828,"filename":"image_02012026_05_20_34_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108165","file1":"1402108163","file0":"1402108161","file4":"1402108169","file5":"1402108172","file3":"1402108167"},"map_files_photo_id_array":[{"photo_id":"1402108172","filename":"file5"},{"photo_id":"1402108165","filename":"file2"},{"photo_id":"1402108169","filename":"file4"},{"photo_id":"1402108163","filename":"file1"},{"photo_id":"1402108161","filename":"file0"},{"photo_id":"1402108167","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108169":["hashtag1","hashtag2"]},{"1402108163":["hashtag1","hashtag2"]},{"1402108172":["hashtag1","hashtag2"]},{"1402108165":["hashtag1","hashtag2"]},{"1402108167":["hashtag1","hashtag2"]},{"1402108161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108169, 1402108163, 1402108172, 1402108165, 1402108167, 1402108161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.505215883255005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:13:03.186905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_35_10583.jpg', '/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_45_9591.jpg', '/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_55_9783.jpg', '/home/pi/Desktop/images/02012026/05/21/image_02012026_05_22_05_10624.jpg', '/home/pi/Desktop/images/02012026/05/22/image_02012026_05_22_25_9863.jpg', '/home/pi/Desktop/images/02012026/05/22/image_02012026_05_22_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_35_10583.jpg
/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_45_9591.jpg
/home/pi/Desktop/images/02012026/05/21/image_02012026_05_21_55_9783.jpg
/home/pi/Desktop/images/02012026/05/21/image_02012026_05_22_05_10624.jpg
/home/pi/Desktop/images/02012026/05/22/image_02012026_05_22_25_9863.jpg
/home/pi/Desktop/images/02012026/05/22/image_02012026_05_22_34_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108181","1402108175","1402108183","1402108177","1402108179","1402108173"],"photo_ids_order":["1402108173","1402108175","1402108177","1402108179","1402108181","1402108183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c86f49816987297b337bb7f6922fc3f.jpg","text":"TemporaryFile(/tmp/multipartBody4139388364623334317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330843932,"filename":"image_02012026_05_22_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/2/be522bc2de2c916b9c6c8f95c467092b.jpg","text":"TemporaryFile(/tmp/multipartBody7298054781834582740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330843932,"filename":"image_02012026_05_21_45_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/2/44f608aeae38d01eba8b36dd07cc19bc.jpg","text":"TemporaryFile(/tmp/multipartBody6136084464614203599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330843932,"filename":"image_02012026_05_22_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/2/178383b755ed97dbab964f4acd91f85d.jpg","text":"TemporaryFile(/tmp/multipartBody1925906440675807200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330843932,"filename":"image_02012026_05_21_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/2/445433ffae4a13036d107063a660d515.jpg","text":"TemporaryFile(/tmp/multipartBody356077775379247310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330843932,"filename":"image_02012026_05_22_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/2/5b6ed5056a966459a5bae895780a4e7f.jpg","text":"TemporaryFile(/tmp/multipartBody2706268275739914379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330843932,"filename":"image_02012026_05_21_35_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108177","file1":"1402108175","file0":"1402108173","file4":"1402108181","file5":"1402108183","file3":"1402108179"},"map_files_photo_id_array":[{"photo_id":"1402108183","filename":"file5"},{"photo_id":"1402108177","filename":"file2"},{"photo_id":"1402108181","filename":"file4"},{"photo_id":"1402108175","filename":"file1"},{"photo_id":"1402108173","filename":"file0"},{"photo_id":"1402108179","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108181":["hashtag1","hashtag2"]},{"1402108175":["hashtag1","hashtag2"]},{"1402108183":["hashtag1","hashtag2"]},{"1402108177":["hashtag1","hashtag2"]},{"1402108179":["hashtag1","hashtag2"]},{"1402108173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108181, 1402108175, 1402108183, 1402108177, 1402108179, 1402108173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.229137659072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:13:42.404340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_09_19861.jpg', '/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_15_4198.jpg', '/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_16_1690.jpg', '/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_41_1702.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_01_15155.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_03_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/23/21/image_04112025_23_21_09_19861.jpg
/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_15_4198.jpg
/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_16_1690.jpg
/home/pi/Desktop/images/04112025/23/21/image_04112025_23_21_41_1702.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_01_15155.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_03_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":["1402108190","1402108192","1402108189","1402108194","1402108191","1402108188"],"photo_ids_order":["1402108188","1402108189","1402108190","1402108191","1402108192","1402108194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/daf4a756d9c815523c94c9ea4a1a8b03.jpg","text":"TemporaryFile(/tmp/multipartBody6623445602896541097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330884214,"filename":"image_04112025_23_21_16_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/2/33debd4a38fc5fb70927e367d12c44a3.jpg","text":"TemporaryFile(/tmp/multipartBody3573666656336060697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330884214,"filename":"image_04112025_23_22_01_15155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/759176600d7f887edfea3a70f93e9a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7370465651359495163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330884214,"filename":"image_04112025_23_21_15_4198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/89b1563331ab517b9882e80fe4b050f3.jpg","text":"TemporaryFile(/tmp/multipartBody5163457447458199743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330884214,"filename":"image_04112025_23_22_03_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/2/8078f451316ef86012de7c7118d530e3.jpg","text":"TemporaryFile(/tmp/multipartBody6677098471633106492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330884214,"filename":"image_04112025_23_21_41_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/2/566c5a56d02512f7510d5fda2c0dcbad.jpg","text":"TemporaryFile(/tmp/multipartBody3288442189645223856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330884214,"filename":"image_04112025_23_21_09_19861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108190","file1":"1402108189","file0":"1402108188","file4":"1402108192","file5":"1402108194","file3":"1402108191"},"map_files_photo_id_array":[{"photo_id":"1402108194","filename":"file5"},{"photo_id":"1402108190","filename":"file2"},{"photo_id":"1402108192","filename":"file4"},{"photo_id":"1402108189","filename":"file1"},{"photo_id":"1402108188","filename":"file0"},{"photo_id":"1402108191","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108190":["hashtag1","hashtag2"]},{"1402108192":["hashtag1","hashtag2"]},{"1402108189":["hashtag1","hashtag2"]},{"1402108194":["hashtag1","hashtag2"]},{"1402108191":["hashtag1","hashtag2"]},{"1402108188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108190, 1402108192, 1402108189, 1402108194, 1402108191, 1402108188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.800859212875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:14:22.485099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/22/image_02012026_05_22_55_9659.jpg', '/home/pi/Desktop/images/02012026/05/22/image_02012026_05_23_05_10574.jpg', '/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_15_9653.jpg', '/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_25_9842.jpg', '/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_34_9636.jpg', '/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_45_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/22/image_02012026_05_22_55_9659.jpg
/home/pi/Desktop/images/02012026/05/22/image_02012026_05_23_05_10574.jpg
/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_15_9653.jpg
/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_25_9842.jpg
/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_34_9636.jpg
/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_45_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":["1402108206","1402108201","1402108204","1402108212","1402108215","1402108218"],"photo_ids_order":["1402108201","1402108204","1402108206","1402108212","1402108215","1402108218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/86a78c4dc5c5416f676b637b2aa65303.jpg","text":"TemporaryFile(/tmp/multipartBody8989016954826042174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330923073,"filename":"image_02012026_05_23_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/2/1f3f6f5601747d28cbfd2505ab05ff97.jpg","text":"TemporaryFile(/tmp/multipartBody8557651271514349471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330923073,"filename":"image_02012026_05_22_55_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/2/253d3454bed8c26bb3aa69a6c9c5f7d2.jpg","text":"TemporaryFile(/tmp/multipartBody6754810009622202383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330923073,"filename":"image_02012026_05_23_05_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/2/ba3b4d4b8115f970dc957dd7a6083759.jpg","text":"TemporaryFile(/tmp/multipartBody5510153792398219843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330923073,"filename":"image_02012026_05_23_25_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/2/5dd777532e0f3e8afccfebd24e62c742.jpg","text":"TemporaryFile(/tmp/multipartBody4711423230033635233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330923073,"filename":"image_02012026_05_23_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/2/4efbdf2a5bd59eaa9f779da1d85d9f01.jpg","text":"TemporaryFile(/tmp/multipartBody3276757738711126298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330923073,"filename":"image_02012026_05_23_45_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108206","file1":"1402108204","file0":"1402108201","file4":"1402108215","file5":"1402108218","file3":"1402108212"},"map_files_photo_id_array":[{"photo_id":"1402108218","filename":"file5"},{"photo_id":"1402108206","filename":"file2"},{"photo_id":"1402108215","filename":"file4"},{"photo_id":"1402108204","filename":"file1"},{"photo_id":"1402108201","filename":"file0"},{"photo_id":"1402108212","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108206":["hashtag1","hashtag2"]},{"1402108201":["hashtag1","hashtag2"]},{"1402108204":["hashtag1","hashtag2"]},{"1402108212":["hashtag1","hashtag2"]},{"1402108215":["hashtag1","hashtag2"]},{"1402108218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108206, 1402108201, 1402108204, 1402108212, 1402108215, 1402108218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30296492576599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:15:02.644140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_55_9748.jpg', '/home/pi/Desktop/images/02012026/05/23/image_02012026_05_24_04_9551.jpg', '/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_15_10686.jpg', '/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_25_9753.jpg', '/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_45_10713.jpg', '/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/23/image_02012026_05_23_55_9748.jpg
/home/pi/Desktop/images/02012026/05/23/image_02012026_05_24_04_9551.jpg
/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_15_10686.jpg
/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_25_9753.jpg
/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_45_10713.jpg
/home/pi/Desktop/images/02012026/05/24/image_02012026_05_24_55_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108220","1402108222","1402108225","1402108230","1402108227","1402108224"],"photo_ids_order":["1402108220","1402108222","1402108224","1402108225","1402108227","1402108230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83a9781b897d44c2da8e4787132ea9b0.jpg","text":"TemporaryFile(/tmp/multipartBody3059460361530940219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330963318,"filename":"image_02012026_05_23_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/2/1fd6db9556ab07ebeb3153b5a83f1f90.jpg","text":"TemporaryFile(/tmp/multipartBody2540940497070124323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330963318,"filename":"image_02012026_05_24_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/2/6d73e2c44435f0a22a24ca4fa81f7452.jpg","text":"TemporaryFile(/tmp/multipartBody6762479845142132641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330963318,"filename":"image_02012026_05_24_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/2/315ea7d16dc1b372d6d6b3497cd37879.jpg","text":"TemporaryFile(/tmp/multipartBody8712247528321584785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330963318,"filename":"image_02012026_05_24_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/2/406934006073a1d25212ee4f4cb78128.jpg","text":"TemporaryFile(/tmp/multipartBody2212659732770319553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330963318,"filename":"image_02012026_05_24_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f4f2471c43649aaa09b2f0485c2effe3.jpg","text":"TemporaryFile(/tmp/multipartBody4473801972654983489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767330963318,"filename":"image_02012026_05_24_15_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108224","file1":"1402108222","file0":"1402108220","file4":"1402108227","file5":"1402108230","file3":"1402108225"},"map_files_photo_id_array":[{"photo_id":"1402108230","filename":"file5"},{"photo_id":"1402108224","filename":"file2"},{"photo_id":"1402108227","filename":"file4"},{"photo_id":"1402108222","filename":"file1"},{"photo_id":"1402108220","filename":"file0"},{"photo_id":"1402108225","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108220":["hashtag1","hashtag2"]},{"1402108222":["hashtag1","hashtag2"]},{"1402108225":["hashtag1","hashtag2"]},{"1402108230":["hashtag1","hashtag2"]},{"1402108227":["hashtag1","hashtag2"]},{"1402108224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108220, 1402108222, 1402108225, 1402108230, 1402108227, 1402108224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.158013343811035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:15:41.850011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_08_1667.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_10_1572.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_11_1675.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_15_1662.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_16_1784.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_25_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/23/22/image_04112025_23_22_08_1667.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_10_1572.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_11_1675.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_15_1662.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_16_1784.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_25_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":["1402108241","1402108238","1402108240","1402108239","1402108242","1402108236"],"photo_ids_order":["1402108236","1402108238","1402108239","1402108240","1402108241","1402108242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f5e58de5dae27b6e2d698b5c0aad99d4.jpg","text":"TemporaryFile(/tmp/multipartBody7673696495394381581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331003685,"filename":"image_04112025_23_22_16_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/2/5eb343832995a85bf7064c8a4aeb65d3.jpg","text":"TemporaryFile(/tmp/multipartBody689007265480277966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331003685,"filename":"image_04112025_23_22_10_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/2/95c9e4265bd2f020792dceb089ff18a0.jpg","text":"TemporaryFile(/tmp/multipartBody7304619116563519735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331003685,"filename":"image_04112025_23_22_15_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/2/c85779b0ccc0a86772389c17c50a7460.jpg","text":"TemporaryFile(/tmp/multipartBody8114457697620488447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331003685,"filename":"image_04112025_23_22_11_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/2/e48f0ddb744cd1879c7bca394dab6241.jpg","text":"TemporaryFile(/tmp/multipartBody2707734381734224756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331003685,"filename":"image_04112025_23_22_25_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/2/23b3de188ef9789a90c8a4272e5c8c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4678214010589634498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331003685,"filename":"image_04112025_23_22_08_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108239","file1":"1402108238","file0":"1402108236","file4":"1402108241","file5":"1402108242","file3":"1402108240"},"map_files_photo_id_array":[{"photo_id":"1402108242","filename":"file5"},{"photo_id":"1402108239","filename":"file2"},{"photo_id":"1402108241","filename":"file4"},{"photo_id":"1402108238","filename":"file1"},{"photo_id":"1402108236","filename":"file0"},{"photo_id":"1402108240","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108241":["hashtag1","hashtag2"]},{"1402108238":["hashtag1","hashtag2"]},{"1402108240":["hashtag1","hashtag2"]},{"1402108239":["hashtag1","hashtag2"]},{"1402108242":["hashtag1","hashtag2"]},{"1402108236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108241, 1402108238, 1402108240, 1402108239, 1402108242, 1402108236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38316249847412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:16:21.978628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/24/image_02012026_05_25_05_9704.jpg', '/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_14_9753.jpg', '/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_35_9573.jpg', '/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_45_10613.jpg', '/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_55_9704.jpg', '/home/pi/Desktop/images/02012026/05/25/image_02012026_05_26_05_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/24/image_02012026_05_25_05_9704.jpg
/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_14_9753.jpg
/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_35_9573.jpg
/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_45_10613.jpg
/home/pi/Desktop/images/02012026/05/25/image_02012026_05_25_55_9704.jpg
/home/pi/Desktop/images/02012026/05/25/image_02012026_05_26_05_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":["1402108268","1402108253","1402108256","1402108259","1402108247","1402108251"],"photo_ids_order":["1402108247","1402108251","1402108253","1402108256","1402108259","1402108268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/02fe4a6c0cdb826797f06343d0e139b3.jpg","text":"TemporaryFile(/tmp/multipartBody7631910770368882483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331042569,"filename":"image_02012026_05_26_05_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/2/ee384c31c96d61e13154a0be6c56e4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2077516341558278433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331042569,"filename":"image_02012026_05_25_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/2/4af8214850f82f36a02261136a86d560.jpg","text":"TemporaryFile(/tmp/multipartBody3578813789584445061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331042569,"filename":"image_02012026_05_25_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/2/78bf2eb6dd42d61bc7c5e1ac4c37b63e.jpg","text":"TemporaryFile(/tmp/multipartBody9132300886315388235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331042569,"filename":"image_02012026_05_25_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/2/5fd5d2a76bd6f8c04b6ea3fe2bb08f25.jpg","text":"TemporaryFile(/tmp/multipartBody1642029394773190771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331042569,"filename":"image_02012026_05_25_05_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/2/468be3cdc4d0cfd82e8b34f39f794e51.jpg","text":"TemporaryFile(/tmp/multipartBody7489353554341310516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331042569,"filename":"image_02012026_05_25_14_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108253","file1":"1402108251","file0":"1402108247","file4":"1402108259","file5":"1402108268","file3":"1402108256"},"map_files_photo_id_array":[{"photo_id":"1402108268","filename":"file5"},{"photo_id":"1402108253","filename":"file2"},{"photo_id":"1402108259","filename":"file4"},{"photo_id":"1402108251","filename":"file1"},{"photo_id":"1402108247","filename":"file0"},{"photo_id":"1402108256","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108268":["hashtag1","hashtag2"]},{"1402108253":["hashtag1","hashtag2"]},{"1402108256":["hashtag1","hashtag2"]},{"1402108259":["hashtag1","hashtag2"]},{"1402108247":["hashtag1","hashtag2"]},{"1402108251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108268, 1402108253, 1402108256, 1402108259, 1402108247, 1402108251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75133156776428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:17:03.021729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_25_9650.jpg', '/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_34_9653.jpg', '/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_45_10724.jpg', '/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_55_9783.jpg', '/home/pi/Desktop/images/02012026/05/26/image_02012026_05_27_05_9835.jpg', '/home/pi/Desktop/images/02012026/05/27/image_02012026_05_27_14_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_25_9650.jpg
/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_34_9653.jpg
/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_45_10724.jpg
/home/pi/Desktop/images/02012026/05/26/image_02012026_05_26_55_9783.jpg
/home/pi/Desktop/images/02012026/05/26/image_02012026_05_27_05_9835.jpg
/home/pi/Desktop/images/02012026/05/27/image_02012026_05_27_14_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":["1402108289","1402108283","1402108285","1402108279","1402108287","1402108281"],"photo_ids_order":["1402108279","1402108281","1402108283","1402108285","1402108287","1402108289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8b5800e3668896f78c937b0c678fd1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1476313401385190475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331083759,"filename":"image_02012026_05_27_14_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/2/8cb0ee1fff03e18da353e5b72a8a4b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7601949846312764387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331083759,"filename":"image_02012026_05_26_45_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/2/9955079933cccde7423281431c04fea9.jpg","text":"TemporaryFile(/tmp/multipartBody1624261402093120399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331083759,"filename":"image_02012026_05_26_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/2/078cfdd6c6c309bceefee72bf4cca9dc.jpg","text":"TemporaryFile(/tmp/multipartBody223196071006268258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331083759,"filename":"image_02012026_05_26_25_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/2/91ac5579e8d71220d75a7608c9c3721d.jpg","text":"TemporaryFile(/tmp/multipartBody2649454314581867173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331083759,"filename":"image_02012026_05_27_05_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/2/4243bb7a3e559fd3c2358e57edea998d.jpg","text":"TemporaryFile(/tmp/multipartBody1295803755941047882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331083759,"filename":"image_02012026_05_26_34_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108283","file1":"1402108281","file0":"1402108279","file4":"1402108287","file5":"1402108289","file3":"1402108285"},"map_files_photo_id_array":[{"photo_id":"1402108289","filename":"file5"},{"photo_id":"1402108283","filename":"file2"},{"photo_id":"1402108287","filename":"file4"},{"photo_id":"1402108281","filename":"file1"},{"photo_id":"1402108279","filename":"file0"},{"photo_id":"1402108285","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108289":["hashtag1","hashtag2"]},{"1402108283":["hashtag1","hashtag2"]},{"1402108285":["hashtag1","hashtag2"]},{"1402108279":["hashtag1","hashtag2"]},{"1402108287":["hashtag1","hashtag2"]},{"1402108281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108289, 1402108283, 1402108285, 1402108279, 1402108287, 1402108281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91212224960327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:17:42.342869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_28_2604.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_34_3788.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_37_2886.jpg', '/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_40_2579.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_06_1613.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_09_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_28_2604.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_34_3788.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_37_2886.jpg
/home/pi/Desktop/images/04112025/23/22/image_04112025_23_22_40_2579.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_06_1613.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_09_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108304","1402108300","1402108306","1402108296","1402108308","1402108302"],"photo_ids_order":["1402108296","1402108300","1402108302","1402108304","1402108306","1402108308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d3df874c8efeb455ef135bb3f22e3c14.jpg","text":"TemporaryFile(/tmp/multipartBody5043107158666984954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331124152,"filename":"image_04112025_23_22_40_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/2/08ce5b20a365261c573a6e74f31ee445.jpg","text":"TemporaryFile(/tmp/multipartBody6499183399473032812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331124152,"filename":"image_04112025_23_22_34_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/2/8829daf9495fb3f7284b580fea871cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8564520121454915230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331124152,"filename":"image_04112025_23_23_06_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/2/b8478f242f01dfc35785b89a90e99f92.jpg","text":"TemporaryFile(/tmp/multipartBody5880826378437982891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331124152,"filename":"image_04112025_23_22_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/2/c0cf3d95b7935fbcb44d700488a65aaf.jpg","text":"TemporaryFile(/tmp/multipartBody7243680049113540037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331124152,"filename":"image_04112025_23_23_09_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/2/f5c4d43dde481ecb77b69f775b530bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8953102580364875285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331124152,"filename":"image_04112025_23_22_37_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108302","file1":"1402108300","file0":"1402108296","file4":"1402108306","file5":"1402108308","file3":"1402108304"},"map_files_photo_id_array":[{"photo_id":"1402108308","filename":"file5"},{"photo_id":"1402108302","filename":"file2"},{"photo_id":"1402108306","filename":"file4"},{"photo_id":"1402108300","filename":"file1"},{"photo_id":"1402108296","filename":"file0"},{"photo_id":"1402108304","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108304":["hashtag1","hashtag2"]},{"1402108300":["hashtag1","hashtag2"]},{"1402108306":["hashtag1","hashtag2"]},{"1402108296":["hashtag1","hashtag2"]},{"1402108308":["hashtag1","hashtag2"]},{"1402108302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108304, 1402108300, 1402108306, 1402108296, 1402108308, 1402108302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24892210960388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:18:22.556028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/27/image_02012026_05_27_35_10640.jpg', '/home/pi/Desktop/images/02012026/05/27/image_02012026_05_28_05_10693.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_15_9813.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_25_9619.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_35_9978.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_29_05_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/27/image_02012026_05_27_35_10640.jpg
/home/pi/Desktop/images/02012026/05/27/image_02012026_05_28_05_10693.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_15_9813.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_25_9619.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_35_9978.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_29_05_9665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5150887966156006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:18:32.577594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_11_1549.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_13_1743.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_16_1565.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_24_1783.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_28_4141.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_32_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_11_1549.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_13_1743.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_16_1565.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_24_1783.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_28_4141.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_32_1563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108334","1402108333","1402108330","1402108332","1402108326","1402108323"],"photo_ids_order":["1402108323","1402108326","1402108330","1402108332","1402108333","1402108334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0771f3258ca762ee8d8a54a90d7ff048.jpg","text":"TemporaryFile(/tmp/multipartBody3965113307664990610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331174395,"filename":"image_04112025_23_23_32_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/2/057400dd7d7bf06eced2fab2ac092bee.jpg","text":"TemporaryFile(/tmp/multipartBody8707457661602354947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331174395,"filename":"image_04112025_23_23_28_4141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6b65255f3e8424be28e8a74f202b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6856043123701422004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331174395,"filename":"image_04112025_23_23_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/2/91722f814522e0fdcc953b545ec77104.jpg","text":"TemporaryFile(/tmp/multipartBody8888295571090292873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331174395,"filename":"image_04112025_23_23_24_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/2/7a47ce86a6e19743ad6bdb664c5d89c1.jpg","text":"TemporaryFile(/tmp/multipartBody1759407118618233124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331174395,"filename":"image_04112025_23_23_13_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/2/be0f491f089d674b1d0350f86f889f76.jpg","text":"TemporaryFile(/tmp/multipartBody4737580858143675569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331174395,"filename":"image_04112025_23_23_11_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108330","file1":"1402108326","file0":"1402108323","file4":"1402108333","file5":"1402108334","file3":"1402108332"},"map_files_photo_id_array":[{"photo_id":"1402108334","filename":"file5"},{"photo_id":"1402108330","filename":"file2"},{"photo_id":"1402108333","filename":"file4"},{"photo_id":"1402108326","filename":"file1"},{"photo_id":"1402108323","filename":"file0"},{"photo_id":"1402108332","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108334":["hashtag1","hashtag2"]},{"1402108333":["hashtag1","hashtag2"]},{"1402108330":["hashtag1","hashtag2"]},{"1402108332":["hashtag1","hashtag2"]},{"1402108326":["hashtag1","hashtag2"]},{"1402108323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108334, 1402108333, 1402108330, 1402108332, 1402108326, 1402108323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68042969703674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:19:12.685171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_35_1699.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_43_2678.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_55_2894.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_58_2547.jpg', '/home/pi/Desktop/images/04112025/23/23/image_04112025_23_24_01_3661.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_04_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_35_1699.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_43_2678.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_55_2894.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_23_58_2547.jpg
/home/pi/Desktop/images/04112025/23/23/image_04112025_23_24_01_3661.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_04_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108343","1402108351","1402108345","1402108354","1402108357","1402108347"],"photo_ids_order":["1402108343","1402108345","1402108347","1402108351","1402108354","1402108357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1ed9d7bd52bc9501c72ab6c8be30cda5.jpg","text":"TemporaryFile(/tmp/multipartBody6956279580615697720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331214414,"filename":"image_04112025_23_23_35_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/2/750b846114de999203dcf7468d51554d.jpg","text":"TemporaryFile(/tmp/multipartBody7653919310856074353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331214414,"filename":"image_04112025_23_23_58_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/2/58872ac63c68a4213d91479ea7de2b45.jpg","text":"TemporaryFile(/tmp/multipartBody4011776549645709859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331214414,"filename":"image_04112025_23_23_43_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/2/9dbffc89c2f0136efb42b1353ebdf00a.jpg","text":"TemporaryFile(/tmp/multipartBody5766051925816330261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331214414,"filename":"image_04112025_23_24_01_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/2/465fc1b5b841e3faffc9ecf5de9e9a13.jpg","text":"TemporaryFile(/tmp/multipartBody6755644164338994795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331214414,"filename":"image_04112025_23_24_04_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/2/cdebd2ef4dac60cba5614b709ae2fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody7311520462644994433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331214414,"filename":"image_04112025_23_23_55_2894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108347","file1":"1402108345","file0":"1402108343","file4":"1402108354","file5":"1402108357","file3":"1402108351"},"map_files_photo_id_array":[{"photo_id":"1402108357","filename":"file5"},{"photo_id":"1402108347","filename":"file2"},{"photo_id":"1402108354","filename":"file4"},{"photo_id":"1402108345","filename":"file1"},{"photo_id":"1402108343","filename":"file0"},{"photo_id":"1402108351","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108343":["hashtag1","hashtag2"]},{"1402108351":["hashtag1","hashtag2"]},{"1402108345":["hashtag1","hashtag2"]},{"1402108354":["hashtag1","hashtag2"]},{"1402108357":["hashtag1","hashtag2"]},{"1402108347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108343, 1402108351, 1402108345, 1402108354, 1402108357, 1402108347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3524706363678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:20:02.372282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/27/image_02012026_05_27_35_10640.jpg', '/home/pi/Desktop/images/02012026/05/27/image_02012026_05_28_05_10693.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_15_9813.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_25_9619.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_35_9978.jpg', '/home/pi/Desktop/images/02012026/05/28/image_02012026_05_29_05_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/27/image_02012026_05_27_35_10640.jpg
/home/pi/Desktop/images/02012026/05/27/image_02012026_05_28_05_10693.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_15_9813.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_25_9619.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_28_35_9978.jpg
/home/pi/Desktop/images/02012026/05/28/image_02012026_05_29_05_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":["1402108373","1402108367","1402108375","1402108368","1402108365","1402108370"],"photo_ids_order":["1402108365","1402108367","1402108368","1402108370","1402108373","1402108375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6b14396324b46ec6a004e9bd42718bf6.jpg","text":"TemporaryFile(/tmp/multipartBody506299396426633054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331263033,"filename":"image_02012026_05_28_35_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/2/93bb29aaa1b424587d78d71a92a467f3.jpg","text":"TemporaryFile(/tmp/multipartBody1953235358749060307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331263033,"filename":"image_02012026_05_28_05_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/2/9174c122de848b8f7d207d31f42fab14.jpg","text":"TemporaryFile(/tmp/multipartBody560691975320777567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331263033,"filename":"image_02012026_05_29_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/2/7740376e1ea95dfc521f85c8cbf503ae.jpg","text":"TemporaryFile(/tmp/multipartBody2796142207857906193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331263033,"filename":"image_02012026_05_28_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/2/1d797db9e2621f327f45146c782db96e.jpg","text":"TemporaryFile(/tmp/multipartBody9003634067120997595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331263033,"filename":"image_02012026_05_27_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/2/f4ad5032b3423d322e8dd46677ec73a0.jpg","text":"TemporaryFile(/tmp/multipartBody6522501438478336940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331263033,"filename":"image_02012026_05_28_25_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108368","file1":"1402108367","file0":"1402108365","file4":"1402108373","file5":"1402108375","file3":"1402108370"},"map_files_photo_id_array":[{"photo_id":"1402108375","filename":"file5"},{"photo_id":"1402108368","filename":"file2"},{"photo_id":"1402108373","filename":"file4"},{"photo_id":"1402108367","filename":"file1"},{"photo_id":"1402108365","filename":"file0"},{"photo_id":"1402108370","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108373":["hashtag1","hashtag2"]},{"1402108367":["hashtag1","hashtag2"]},{"1402108375":["hashtag1","hashtag2"]},{"1402108368":["hashtag1","hashtag2"]},{"1402108365":["hashtag1","hashtag2"]},{"1402108370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108373, 1402108367, 1402108375, 1402108368, 1402108365, 1402108370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.986132860183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:20:41.887677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_07_2595.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_10_3844.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_13_2708.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_19_2684.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_22_3581.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_28_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/23/24/image_04112025_23_24_07_2595.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_10_3844.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_13_2708.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_19_2684.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_22_3581.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_28_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108394","1402108390","1402108384","1402108387","1402108392","1402108395"],"photo_ids_order":["1402108384","1402108387","1402108390","1402108392","1402108394","1402108395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52071b2ca136da2c65f706386ffef5de.jpg","text":"TemporaryFile(/tmp/multipartBody5993807856275849553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331303748,"filename":"image_04112025_23_24_22_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/2/d01382d72edc11dc6e271161baff8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4777309414918772548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331303748,"filename":"image_04112025_23_24_13_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/2/84a4b00318e635280eab0b630027fbb0.jpg","text":"TemporaryFile(/tmp/multipartBody7249875394358918571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331303748,"filename":"image_04112025_23_24_07_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/2/01be8a643e693af9c97926b2b4d06758.jpg","text":"TemporaryFile(/tmp/multipartBody3086006499580038903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331303748,"filename":"image_04112025_23_24_10_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a420631a14b25c901e2dfb9e5f12854.jpg","text":"TemporaryFile(/tmp/multipartBody6785405042697972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331303748,"filename":"image_04112025_23_24_19_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/2/9b097853d05ab4d6ce96a0bc39f3c72d.jpg","text":"TemporaryFile(/tmp/multipartBody6935803267021436155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331303748,"filename":"image_04112025_23_24_28_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108390","file1":"1402108387","file0":"1402108384","file4":"1402108394","file5":"1402108395","file3":"1402108392"},"map_files_photo_id_array":[{"photo_id":"1402108395","filename":"file5"},{"photo_id":"1402108390","filename":"file2"},{"photo_id":"1402108394","filename":"file4"},{"photo_id":"1402108387","filename":"file1"},{"photo_id":"1402108384","filename":"file0"},{"photo_id":"1402108392","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108394":["hashtag1","hashtag2"]},{"1402108390":["hashtag1","hashtag2"]},{"1402108384":["hashtag1","hashtag2"]},{"1402108387":["hashtag1","hashtag2"]},{"1402108392":["hashtag1","hashtag2"]},{"1402108395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108394, 1402108390, 1402108384, 1402108387, 1402108392, 1402108395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43041944503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:21:22.048862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_15_10588.jpg', '/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_25_9792.jpg', '/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_35_9598.jpg', '/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_44_9679.jpg', '/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_55_10602.jpg', '/home/pi/Desktop/images/02012026/05/29/image_02012026_05_30_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_15_10588.jpg
/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_25_9792.jpg
/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_35_9598.jpg
/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_44_9679.jpg
/home/pi/Desktop/images/02012026/05/29/image_02012026_05_29_55_10602.jpg
/home/pi/Desktop/images/02012026/05/29/image_02012026_05_30_05_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":["1402108404","1402108406","1402108408","1402108402","1402108410","1402108413"],"photo_ids_order":["1402108402","1402108404","1402108406","1402108408","1402108410","1402108413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29fb041fb1dad648ba6a743415962143.jpg","text":"TemporaryFile(/tmp/multipartBody2150792477643716193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331342702,"filename":"image_02012026_05_29_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/2/b2a02d266da1540564d7e40afd055d0a.jpg","text":"TemporaryFile(/tmp/multipartBody8753402816985916577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331342702,"filename":"image_02012026_05_29_35_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/2/e920e6c292614eecefec088cb5bcd6ed.jpg","text":"TemporaryFile(/tmp/multipartBody2657367575607829802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331342702,"filename":"image_02012026_05_29_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/2/84a8a9622333ece93d9ea2b10c52be3c.jpg","text":"TemporaryFile(/tmp/multipartBody2626800225510649903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331342702,"filename":"image_02012026_05_29_15_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/2/833cd9fe30715ab2e6b5799a04b6f700.jpg","text":"TemporaryFile(/tmp/multipartBody7573522463009612079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331342702,"filename":"image_02012026_05_29_55_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/2/24a3282d40775a77caffb47b100c7144.jpg","text":"TemporaryFile(/tmp/multipartBody1045940542011922171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331342702,"filename":"image_02012026_05_30_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108406","file1":"1402108404","file0":"1402108402","file4":"1402108410","file5":"1402108413","file3":"1402108408"},"map_files_photo_id_array":[{"photo_id":"1402108413","filename":"file5"},{"photo_id":"1402108406","filename":"file2"},{"photo_id":"1402108410","filename":"file4"},{"photo_id":"1402108404","filename":"file1"},{"photo_id":"1402108402","filename":"file0"},{"photo_id":"1402108408","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108404":["hashtag1","hashtag2"]},{"1402108406":["hashtag1","hashtag2"]},{"1402108408":["hashtag1","hashtag2"]},{"1402108402":["hashtag1","hashtag2"]},{"1402108410":["hashtag1","hashtag2"]},{"1402108413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108404, 1402108406, 1402108408, 1402108402, 1402108410, 1402108413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79249024391174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:22:02.628839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_14_9724.jpg', '/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_25_10746.jpg', '/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_35_9788.jpg', '/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_44_9611.jpg', '/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_55_10768.jpg', '/home/pi/Desktop/images/02012026/05/30/image_02012026_05_31_05_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_14_9724.jpg
/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_25_10746.jpg
/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_35_9788.jpg
/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_44_9611.jpg
/home/pi/Desktop/images/02012026/05/30/image_02012026_05_30_55_10768.jpg
/home/pi/Desktop/images/02012026/05/30/image_02012026_05_31_05_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":["1402108424","1402108418","1402108426","1402108420","1402108422","1402108416"],"photo_ids_order":["1402108416","1402108418","1402108420","1402108422","1402108424","1402108426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d4a465bee607d90b56794b14f0f3a2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6836261281072766827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331383334,"filename":"image_02012026_05_30_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/2/dee8e4d988f0ad96591c783ebdc54612.jpg","text":"TemporaryFile(/tmp/multipartBody8157723931047699931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331383334,"filename":"image_02012026_05_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/2/ee7b9656b2cec36756a13c8a78c075e5.jpg","text":"TemporaryFile(/tmp/multipartBody9083172724690699967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331383334,"filename":"image_02012026_05_31_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/2/8e9af0cb47b472b92c7f9dff9e423837.jpg","text":"TemporaryFile(/tmp/multipartBody2662047993847355056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331383334,"filename":"image_02012026_05_30_35_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/2/bed8f7b9e6493d221a1dd05e0fc16f4d.jpg","text":"TemporaryFile(/tmp/multipartBody2780416749005565430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331383334,"filename":"image_02012026_05_30_44_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/2/6d1a09cd607a77c42361c1fb4d52c1c1.jpg","text":"TemporaryFile(/tmp/multipartBody3866796733830318585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331383334,"filename":"image_02012026_05_30_14_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108420","file1":"1402108418","file0":"1402108416","file4":"1402108424","file5":"1402108426","file3":"1402108422"},"map_files_photo_id_array":[{"photo_id":"1402108426","filename":"file5"},{"photo_id":"1402108420","filename":"file2"},{"photo_id":"1402108424","filename":"file4"},{"photo_id":"1402108418","filename":"file1"},{"photo_id":"1402108416","filename":"file0"},{"photo_id":"1402108422","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108424":["hashtag1","hashtag2"]},{"1402108418":["hashtag1","hashtag2"]},{"1402108426":["hashtag1","hashtag2"]},{"1402108420":["hashtag1","hashtag2"]},{"1402108422":["hashtag1","hashtag2"]},{"1402108416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108424, 1402108418, 1402108426, 1402108420, 1402108422, 1402108416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93602538108826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:22:42.248682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_31_2759.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_42_10447.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_45_1635.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_46_1574.jpg', '/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_59_12698.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_01_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_31_2759.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_42_10447.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_45_1635.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_46_1574.jpg
/home/pi/Desktop/images/04112025/23/24/image_04112025_23_24_59_12698.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_01_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108436","1402108439","1402108432","1402108438","1402108437","1402108434"],"photo_ids_order":["1402108432","1402108434","1402108436","1402108437","1402108438","1402108439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/43b1a588d979f1d75ffe5e3ca73e3764.jpg","text":"TemporaryFile(/tmp/multipartBody8938055625447377138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331424079,"filename":"image_04112025_23_24_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/2/e6f446019400be6bf15dcec21cdc485f.jpg","text":"TemporaryFile(/tmp/multipartBody2928570197066176576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331424079,"filename":"image_04112025_23_25_01_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/2/030b6876fdf867f2976b8b92a777d661.jpg","text":"TemporaryFile(/tmp/multipartBody4210267264008577513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331424079,"filename":"image_04112025_23_24_31_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/2/7c3321a0a92638e721727c3e22c152d3.jpg","text":"TemporaryFile(/tmp/multipartBody467736778652481254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331424079,"filename":"image_04112025_23_24_59_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/2/be37472a1341654f25bf4cef9fa40d4e.jpg","text":"TemporaryFile(/tmp/multipartBody1397559240414415205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331424079,"filename":"image_04112025_23_24_46_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/2/b203bb384bd7ba125b8f64b39bbccfcc.jpg","text":"TemporaryFile(/tmp/multipartBody9119509042787266022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331424079,"filename":"image_04112025_23_24_42_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108436","file1":"1402108434","file0":"1402108432","file4":"1402108438","file5":"1402108439","file3":"1402108437"},"map_files_photo_id_array":[{"photo_id":"1402108439","filename":"file5"},{"photo_id":"1402108436","filename":"file2"},{"photo_id":"1402108438","filename":"file4"},{"photo_id":"1402108434","filename":"file1"},{"photo_id":"1402108432","filename":"file0"},{"photo_id":"1402108437","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108436":["hashtag1","hashtag2"]},{"1402108439":["hashtag1","hashtag2"]},{"1402108432":["hashtag1","hashtag2"]},{"1402108438":["hashtag1","hashtag2"]},{"1402108437":["hashtag1","hashtag2"]},{"1402108434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108436, 1402108439, 1402108432, 1402108438, 1402108437, 1402108434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02902436256409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:23:22.574890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/31/image_02012026_05_31_15_9706.jpg', '/home/pi/Desktop/images/02012026/05/31/image_02012026_05_31_35_10692.jpg', '/home/pi/Desktop/images/02012026/05/31/image_02012026_05_31_54_9674.jpg', '/home/pi/Desktop/images/02012026/05/31/image_02012026_05_32_05_10911.jpg', '/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_15_9586.jpg', '/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_35_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/31/image_02012026_05_31_15_9706.jpg
/home/pi/Desktop/images/02012026/05/31/image_02012026_05_31_35_10692.jpg
/home/pi/Desktop/images/02012026/05/31/image_02012026_05_31_54_9674.jpg
/home/pi/Desktop/images/02012026/05/31/image_02012026_05_32_05_10911.jpg
/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_15_9586.jpg
/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_35_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":["1402108451","1402108453","1402108447","1402108461","1402108455","1402108449"],"photo_ids_order":["1402108447","1402108449","1402108451","1402108453","1402108455","1402108461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/81981433ececcaf64eacc2f5b97904a8.jpg","text":"TemporaryFile(/tmp/multipartBody5698281857215718542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331463229,"filename":"image_02012026_05_31_54_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/2/240405d4319830b6598908c7269dff80.jpg","text":"TemporaryFile(/tmp/multipartBody1176804402044333547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331463229,"filename":"image_02012026_05_32_05_10911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa18c3da5558443b34d281ac6f7a8961.jpg","text":"TemporaryFile(/tmp/multipartBody7200066331746441989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331463229,"filename":"image_02012026_05_31_15_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/2/cd3fa762d6821f3316fbbc19ef9a3b40.jpg","text":"TemporaryFile(/tmp/multipartBody1974468891289989490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331463229,"filename":"image_02012026_05_32_35_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/2/929d2861a125b774b2712d02f0c4ff45.jpg","text":"TemporaryFile(/tmp/multipartBody3333927004803908839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331463229,"filename":"image_02012026_05_32_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/2/70f230c5805060447a95a1c09620c262.jpg","text":"TemporaryFile(/tmp/multipartBody6216510115190333395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331463229,"filename":"image_02012026_05_31_35_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108451","file1":"1402108449","file0":"1402108447","file4":"1402108455","file5":"1402108461","file3":"1402108453"},"map_files_photo_id_array":[{"photo_id":"1402108461","filename":"file5"},{"photo_id":"1402108451","filename":"file2"},{"photo_id":"1402108455","filename":"file4"},{"photo_id":"1402108449","filename":"file1"},{"photo_id":"1402108447","filename":"file0"},{"photo_id":"1402108453","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108451":["hashtag1","hashtag2"]},{"1402108453":["hashtag1","hashtag2"]},{"1402108447":["hashtag1","hashtag2"]},{"1402108461":["hashtag1","hashtag2"]},{"1402108455":["hashtag1","hashtag2"]},{"1402108449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108451, 1402108453, 1402108447, 1402108461, 1402108455, 1402108449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23806977272034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:24:03.521219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_45_9685.jpg', '/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_55_9653.jpg', '/home/pi/Desktop/images/02012026/05/32/image_02012026_05_33_05_10725.jpg', '/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_15_9638.jpg', '/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_25_9720.jpg', '/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_35_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_45_9685.jpg
/home/pi/Desktop/images/02012026/05/32/image_02012026_05_32_55_9653.jpg
/home/pi/Desktop/images/02012026/05/32/image_02012026_05_33_05_10725.jpg
/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_15_9638.jpg
/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_25_9720.jpg
/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_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":["1402108463","1402108465","1402108468","1402108473","1402108467","1402108470"],"photo_ids_order":["1402108463","1402108465","1402108467","1402108468","1402108470","1402108473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88f7c827fafdbbbd3cf55cab1a868a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5127846119991816499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331504320,"filename":"image_02012026_05_32_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/2/fe3116472eb902d0ab9961b84d396af6.jpg","text":"TemporaryFile(/tmp/multipartBody4623649715676895770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331504320,"filename":"image_02012026_05_32_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/2/1b90ddc8d8c35950b46c467bd10192a0.jpg","text":"TemporaryFile(/tmp/multipartBody809234330502677261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331504320,"filename":"image_02012026_05_33_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/2/424ae5f3c4709a03897a89d64194e290.jpg","text":"TemporaryFile(/tmp/multipartBody240111513045068894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331504320,"filename":"image_02012026_05_33_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/2/bdecb7169786731f57394ba25db59e75.jpg","text":"TemporaryFile(/tmp/multipartBody6844343076516359213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331504320,"filename":"image_02012026_05_33_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/2/a21b73e72e1e3e9fffa7634f5ea1daac.jpg","text":"TemporaryFile(/tmp/multipartBody2166869333021796387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331504320,"filename":"image_02012026_05_33_25_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108467","file1":"1402108465","file0":"1402108463","file4":"1402108470","file5":"1402108473","file3":"1402108468"},"map_files_photo_id_array":[{"photo_id":"1402108473","filename":"file5"},{"photo_id":"1402108467","filename":"file2"},{"photo_id":"1402108470","filename":"file4"},{"photo_id":"1402108465","filename":"file1"},{"photo_id":"1402108463","filename":"file0"},{"photo_id":"1402108468","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108463":["hashtag1","hashtag2"]},{"1402108465":["hashtag1","hashtag2"]},{"1402108468":["hashtag1","hashtag2"]},{"1402108473":["hashtag1","hashtag2"]},{"1402108467":["hashtag1","hashtag2"]},{"1402108470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108463, 1402108465, 1402108468, 1402108473, 1402108467, 1402108470)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.65157604217529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:25:03.388664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_45_9833.jpg', '/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_55_9741.jpg', '/home/pi/Desktop/images/02012026/05/33/image_02012026_05_34_05_9806.jpg', '/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_15_10628.jpg', '/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_25_9817.jpg', '/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_45_9833.jpg
/home/pi/Desktop/images/02012026/05/33/image_02012026_05_33_55_9741.jpg
/home/pi/Desktop/images/02012026/05/33/image_02012026_05_34_05_9806.jpg
/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_15_10628.jpg
/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_25_9817.jpg
/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_35_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108492","1402108494","1402108488","1402108497","1402108500","1402108490"],"photo_ids_order":["1402108488","1402108490","1402108492","1402108494","1402108497","1402108500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a852a076f4caec65111986ca6ce25f2.jpg","text":"TemporaryFile(/tmp/multipartBody4351849878227280753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331564086,"filename":"image_02012026_05_34_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/2/28a205482491e84e731834db94d2b82d.jpg","text":"TemporaryFile(/tmp/multipartBody1860653838563678565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331564086,"filename":"image_02012026_05_34_15_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/2/02d9d4875b4381a2ac4017c2a2df8a84.jpg","text":"TemporaryFile(/tmp/multipartBody3073512717570349806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331564086,"filename":"image_02012026_05_33_45_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/2/21e051e09e29009c41bcf92e4110fc96.jpg","text":"TemporaryFile(/tmp/multipartBody7043137315606593941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331564086,"filename":"image_02012026_05_34_25_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/2/c18e9377aae39d2082a490fe11122430.jpg","text":"TemporaryFile(/tmp/multipartBody7407708401616792754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331564086,"filename":"image_02012026_05_34_35_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/2/669078729516d4ddddaedc82d2d8da2e.jpg","text":"TemporaryFile(/tmp/multipartBody374654055744245010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331564086,"filename":"image_02012026_05_33_55_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108492","file1":"1402108490","file0":"1402108488","file4":"1402108497","file5":"1402108500","file3":"1402108494"},"map_files_photo_id_array":[{"photo_id":"1402108500","filename":"file5"},{"photo_id":"1402108492","filename":"file2"},{"photo_id":"1402108497","filename":"file4"},{"photo_id":"1402108490","filename":"file1"},{"photo_id":"1402108488","filename":"file0"},{"photo_id":"1402108494","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108492":["hashtag1","hashtag2"]},{"1402108494":["hashtag1","hashtag2"]},{"1402108488":["hashtag1","hashtag2"]},{"1402108497":["hashtag1","hashtag2"]},{"1402108500":["hashtag1","hashtag2"]},{"1402108490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108492, 1402108494, 1402108488, 1402108497, 1402108500, 1402108490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47172927856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:25:42.809745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_02_1551.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_17_1801.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_21_1819.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_27_5762.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_30_1736.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_32_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/23/25/image_04112025_23_25_02_1551.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_17_1801.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_21_1819.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_27_5762.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_30_1736.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_32_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":["1402108514","1402108511","1402108507","1402108516","1402108510","1402108512"],"photo_ids_order":["1402108507","1402108510","1402108511","1402108512","1402108514","1402108516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a8b42e7191cbaab131deb4d6ab0deb2.jpg","text":"TemporaryFile(/tmp/multipartBody2434868707747285135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331604630,"filename":"image_04112025_23_25_30_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/2/2e7540c93c5c5f40ae6eadc3a1d3a161.jpg","text":"TemporaryFile(/tmp/multipartBody4063556597394758142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331604630,"filename":"image_04112025_23_25_21_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a565453e82d1f9e186be24e92f2f7369.jpg","text":"TemporaryFile(/tmp/multipartBody3096705924353708085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331604630,"filename":"image_04112025_23_25_02_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/2/a0c929b3d1b09637db3c7f6fcd58b9ac.jpg","text":"TemporaryFile(/tmp/multipartBody994601302487202797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331604630,"filename":"image_04112025_23_25_32_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/2/769092caead521dcce3b3b973d5fd1a3.jpg","text":"TemporaryFile(/tmp/multipartBody5762740170014164269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331604630,"filename":"image_04112025_23_25_17_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9354ef892ae1de77dcf07a0a19e9bc88.jpg","text":"TemporaryFile(/tmp/multipartBody1977222791394416878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331604630,"filename":"image_04112025_23_25_27_5762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108511","file1":"1402108510","file0":"1402108507","file4":"1402108514","file5":"1402108516","file3":"1402108512"},"map_files_photo_id_array":[{"photo_id":"1402108516","filename":"file5"},{"photo_id":"1402108511","filename":"file2"},{"photo_id":"1402108514","filename":"file4"},{"photo_id":"1402108510","filename":"file1"},{"photo_id":"1402108507","filename":"file0"},{"photo_id":"1402108512","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108514":["hashtag1","hashtag2"]},{"1402108511":["hashtag1","hashtag2"]},{"1402108507":["hashtag1","hashtag2"]},{"1402108516":["hashtag1","hashtag2"]},{"1402108510":["hashtag1","hashtag2"]},{"1402108512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108514, 1402108511, 1402108507, 1402108516, 1402108510, 1402108512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84447479248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:26:31.980761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_36_1693.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_43_2369.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_58_1588.jpg', '/home/pi/Desktop/images/04112025/23/25/image_04112025_23_26_00_1513.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_24_1660.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_29_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/23/25/image_04112025_23_25_36_1693.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_43_2369.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_25_58_1588.jpg
/home/pi/Desktop/images/04112025/23/25/image_04112025_23_26_00_1513.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_24_1660.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_29_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":["1402108538","1402108537","1402108531","1402108540","1402108528","1402108533"],"photo_ids_order":["1402108528","1402108531","1402108533","1402108537","1402108538","1402108540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/371cb711b2ce29366b59ef99f6feb2e3.jpg","text":"TemporaryFile(/tmp/multipartBody6155741895162730567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331653806,"filename":"image_04112025_23_26_24_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/2/16150a734d342b1d0aa1786bc2c7a391.jpg","text":"TemporaryFile(/tmp/multipartBody2843953982038236447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331653806,"filename":"image_04112025_23_26_00_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba11b5ec015f5e2a24e17995fe75ae48.jpg","text":"TemporaryFile(/tmp/multipartBody8216744554854536468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331653806,"filename":"image_04112025_23_25_43_2369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/199fa1731670188218094ac445159f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4931696397819130607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331653806,"filename":"image_04112025_23_26_29_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/2/32965edbdc0a7a1bef5b21c9a20a7726.jpg","text":"TemporaryFile(/tmp/multipartBody5071054062880045607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331653806,"filename":"image_04112025_23_25_36_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/2/e0efcea00283341a29a9e02855361bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8113970518062373413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331653806,"filename":"image_04112025_23_25_58_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108533","file1":"1402108531","file0":"1402108528","file4":"1402108538","file5":"1402108540","file3":"1402108537"},"map_files_photo_id_array":[{"photo_id":"1402108540","filename":"file5"},{"photo_id":"1402108533","filename":"file2"},{"photo_id":"1402108538","filename":"file4"},{"photo_id":"1402108531","filename":"file1"},{"photo_id":"1402108528","filename":"file0"},{"photo_id":"1402108537","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108538":["hashtag1","hashtag2"]},{"1402108537":["hashtag1","hashtag2"]},{"1402108531":["hashtag1","hashtag2"]},{"1402108540":["hashtag1","hashtag2"]},{"1402108528":["hashtag1","hashtag2"]},{"1402108533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108538, 1402108537, 1402108531, 1402108540, 1402108528, 1402108533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54849314689636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:27:12.041932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_32_1555.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_36_1590.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_38_1801.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_40_2558.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_43_2612.jpg', '/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_46_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_32_1555.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_36_1590.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_38_1801.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_40_2558.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_43_2612.jpg
/home/pi/Desktop/images/04112025/23/26/image_04112025_23_26_46_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108559","1402108561","1402108554","1402108548","1402108557","1402108551"],"photo_ids_order":["1402108548","1402108551","1402108554","1402108557","1402108559","1402108561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/137a879a714b9f4e2933dc3deb18807b.jpg","text":"TemporaryFile(/tmp/multipartBody8202454558967493969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331693756,"filename":"image_04112025_23_26_43_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/2/e407f33c6049697d1fe2675bdc495b19.jpg","text":"TemporaryFile(/tmp/multipartBody8385373773003879572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331693756,"filename":"image_04112025_23_26_46_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/2/ac00fa296ae7e8cccb142940a40e9b5a.jpg","text":"TemporaryFile(/tmp/multipartBody7167513517934765088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331693756,"filename":"image_04112025_23_26_38_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d3ccdae2fb015925c9bcc89f54ee26e.jpg","text":"TemporaryFile(/tmp/multipartBody8777384259466197222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331693756,"filename":"image_04112025_23_26_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/2/b4100a49e6fd5a228f77efe024ee4da1.jpg","text":"TemporaryFile(/tmp/multipartBody8072313723798001794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331693756,"filename":"image_04112025_23_26_40_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/2/2468f03f6388fc5ec70715eae399ead0.jpg","text":"TemporaryFile(/tmp/multipartBody5391418511780848806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331693756,"filename":"image_04112025_23_26_36_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108554","file1":"1402108551","file0":"1402108548","file4":"1402108559","file5":"1402108561","file3":"1402108557"},"map_files_photo_id_array":[{"photo_id":"1402108561","filename":"file5"},{"photo_id":"1402108554","filename":"file2"},{"photo_id":"1402108559","filename":"file4"},{"photo_id":"1402108551","filename":"file1"},{"photo_id":"1402108548","filename":"file0"},{"photo_id":"1402108557","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108559":["hashtag1","hashtag2"]},{"1402108561":["hashtag1","hashtag2"]},{"1402108554":["hashtag1","hashtag2"]},{"1402108548":["hashtag1","hashtag2"]},{"1402108557":["hashtag1","hashtag2"]},{"1402108551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108559, 1402108561, 1402108554, 1402108548, 1402108557, 1402108551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22469186782837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:28:02.786088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_44_9612.jpg', '/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_55_10685.jpg', '/home/pi/Desktop/images/02012026/05/34/image_02012026_05_35_05_9573.jpg', '/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_15_10636.jpg', '/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_25_9550.jpg', '/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_35_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_44_9612.jpg
/home/pi/Desktop/images/02012026/05/34/image_02012026_05_34_55_10685.jpg
/home/pi/Desktop/images/02012026/05/34/image_02012026_05_35_05_9573.jpg
/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_15_10636.jpg
/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_25_9550.jpg
/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_35_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":["1402108571","1402108574","1402108573","1402108576","1402108567","1402108569"],"photo_ids_order":["1402108567","1402108569","1402108571","1402108573","1402108574","1402108576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5eb7b3b80d75328702b0d2dece658dce.jpg","text":"TemporaryFile(/tmp/multipartBody8703908436398004401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331743437,"filename":"image_02012026_05_35_05_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/2/2663139f865a5f19cc540ce168be463d.jpg","text":"TemporaryFile(/tmp/multipartBody3222681641395938232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331743437,"filename":"image_02012026_05_35_25_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/2/e0e3570e7bd21fbadd5deb85b78787d2.jpg","text":"TemporaryFile(/tmp/multipartBody3375016493129098382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331743437,"filename":"image_02012026_05_35_15_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/2/d33b3ca646a62cbb63726851cd890851.jpg","text":"TemporaryFile(/tmp/multipartBody3994313004007564037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331743437,"filename":"image_02012026_05_35_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/2/75d7eeb596b1dee407f5bb6ee449f261.jpg","text":"TemporaryFile(/tmp/multipartBody2670947959833494045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331743437,"filename":"image_02012026_05_34_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/2/ea70c1890e0c12f50b6119d3b6ad4cc7.jpg","text":"TemporaryFile(/tmp/multipartBody2250271020901095457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331743437,"filename":"image_02012026_05_34_55_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108571","file1":"1402108569","file0":"1402108567","file4":"1402108574","file5":"1402108576","file3":"1402108573"},"map_files_photo_id_array":[{"photo_id":"1402108576","filename":"file5"},{"photo_id":"1402108571","filename":"file2"},{"photo_id":"1402108574","filename":"file4"},{"photo_id":"1402108569","filename":"file1"},{"photo_id":"1402108567","filename":"file0"},{"photo_id":"1402108573","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108571":["hashtag1","hashtag2"]},{"1402108574":["hashtag1","hashtag2"]},{"1402108573":["hashtag1","hashtag2"]},{"1402108576":["hashtag1","hashtag2"]},{"1402108567":["hashtag1","hashtag2"]},{"1402108569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108571, 1402108574, 1402108573, 1402108576, 1402108567, 1402108569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16388916969299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:28:42.457764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_23_1715.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_30_1612.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_39_1557.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_40_1822.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_44_1690.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_49_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_23_1715.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_30_1612.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_39_1557.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_40_1822.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_44_1690.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_49_1651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108586","1402108597","1402108599","1402108584","1402108587","1402108595"],"photo_ids_order":["1402108584","1402108586","1402108587","1402108595","1402108597","1402108599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0633b423869eb9593789e794e5e351ac.jpg","text":"TemporaryFile(/tmp/multipartBody2601074125570504113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331784271,"filename":"image_04112025_23_27_30_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/2/2150732362fc9c829f8bdce8a3ea44d7.jpg","text":"TemporaryFile(/tmp/multipartBody7325949487034697132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331784271,"filename":"image_04112025_23_27_44_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/2/1a5be86e60b5ae62445cc99c6360f631.jpg","text":"TemporaryFile(/tmp/multipartBody3353358612574911610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331784271,"filename":"image_04112025_23_27_49_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/2/263e502a84692f78374f3926d7a59f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1546955047902353057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331784271,"filename":"image_04112025_23_27_23_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/2/a55ff1cb17e932059e1f08497fb69e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8828042523620091879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331784271,"filename":"image_04112025_23_27_39_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/2/bce46fb72bb9d685e06d5a62223296c4.jpg","text":"TemporaryFile(/tmp/multipartBody6638673043943717141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331784271,"filename":"image_04112025_23_27_40_1822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108587","file1":"1402108586","file0":"1402108584","file4":"1402108597","file5":"1402108599","file3":"1402108595"},"map_files_photo_id_array":[{"photo_id":"1402108599","filename":"file5"},{"photo_id":"1402108587","filename":"file2"},{"photo_id":"1402108597","filename":"file4"},{"photo_id":"1402108586","filename":"file1"},{"photo_id":"1402108584","filename":"file0"},{"photo_id":"1402108595","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108586":["hashtag1","hashtag2"]},{"1402108597":["hashtag1","hashtag2"]},{"1402108599":["hashtag1","hashtag2"]},{"1402108584":["hashtag1","hashtag2"]},{"1402108587":["hashtag1","hashtag2"]},{"1402108595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108586, 1402108597, 1402108599, 1402108584, 1402108587, 1402108595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82308602333069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:29:22.716279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_45_10765.jpg', '/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_55_9673.jpg', '/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_15_10000.jpg', '/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_24_9795.jpg', '/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_35_10789.jpg', '/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_45_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_45_10765.jpg
/home/pi/Desktop/images/02012026/05/35/image_02012026_05_35_55_9673.jpg
/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_15_10000.jpg
/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_24_9795.jpg
/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_35_10789.jpg
/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_45_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":["1402108613","1402108622","1402108610","1402108618","1402108615","1402108605"],"photo_ids_order":["1402108605","1402108610","1402108613","1402108615","1402108618","1402108622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbd28a95c06aec422acbc4df3e85739f.jpg","text":"TemporaryFile(/tmp/multipartBody4148109318887580007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331823339,"filename":"image_02012026_05_36_15_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/2/5f17dda460010428c3b5135b599638bb.jpg","text":"TemporaryFile(/tmp/multipartBody6790334231845543582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331823339,"filename":"image_02012026_05_36_45_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/2/caf97d4384cb9151cd8f71c0d8b3b584.jpg","text":"TemporaryFile(/tmp/multipartBody2206578219064401070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331823339,"filename":"image_02012026_05_35_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/2/67111068b1f0798f7d3921f489e5f46a.jpg","text":"TemporaryFile(/tmp/multipartBody2240690788253638627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331823339,"filename":"image_02012026_05_36_35_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/2/e8c99a74b3768115349a5fb2611637a2.jpg","text":"TemporaryFile(/tmp/multipartBody4921549107526898810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331823339,"filename":"image_02012026_05_36_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/2/c7f90fb1c852526f1e37c5b1c09070a5.jpg","text":"TemporaryFile(/tmp/multipartBody2700830052358280352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331823339,"filename":"image_02012026_05_35_45_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108613","file1":"1402108610","file0":"1402108605","file4":"1402108618","file5":"1402108622","file3":"1402108615"},"map_files_photo_id_array":[{"photo_id":"1402108622","filename":"file5"},{"photo_id":"1402108613","filename":"file2"},{"photo_id":"1402108618","filename":"file4"},{"photo_id":"1402108610","filename":"file1"},{"photo_id":"1402108605","filename":"file0"},{"photo_id":"1402108615","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108613":["hashtag1","hashtag2"]},{"1402108622":["hashtag1","hashtag2"]},{"1402108610":["hashtag1","hashtag2"]},{"1402108618":["hashtag1","hashtag2"]},{"1402108615":["hashtag1","hashtag2"]},{"1402108605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108613, 1402108622, 1402108610, 1402108618, 1402108615, 1402108605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33420538902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:30:02.402801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_55_9637.jpg', '/home/pi/Desktop/images/02012026/05/36/image_02012026_05_37_04_9639.jpg', '/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_15_10700.jpg', '/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_35_10114.jpg', '/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_45_9691.jpg', '/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_55_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/36/image_02012026_05_36_55_9637.jpg
/home/pi/Desktop/images/02012026/05/36/image_02012026_05_37_04_9639.jpg
/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_15_10700.jpg
/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_35_10114.jpg
/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_45_9691.jpg
/home/pi/Desktop/images/02012026/05/37/image_02012026_05_37_55_10544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108631","1402108634","1402108624","1402108627","1402108629","1402108623"],"photo_ids_order":["1402108623","1402108624","1402108627","1402108629","1402108631","1402108634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/683a17ed3d39059a30b1fab4051ba83b.jpg","text":"TemporaryFile(/tmp/multipartBody5128179788147237326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331863053,"filename":"image_02012026_05_37_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/2/6536dfc339b2cc920787d26f9c9724d4.jpg","text":"TemporaryFile(/tmp/multipartBody6602855582049715344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331863053,"filename":"image_02012026_05_37_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/2/5905c54b93df1bee954fc3fa149cbcc6.jpg","text":"TemporaryFile(/tmp/multipartBody639495724028175440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331863053,"filename":"image_02012026_05_37_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/2/be885008de7b5dd668355499810edc16.jpg","text":"TemporaryFile(/tmp/multipartBody4228883877872013047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331863053,"filename":"image_02012026_05_37_15_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/2/d2f751de62918a2a58c2ba01a00426e0.jpg","text":"TemporaryFile(/tmp/multipartBody2688561360499505400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331863053,"filename":"image_02012026_05_37_35_10114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1cc3472bf25145cd1bc80fbdcfc1f36.jpg","text":"TemporaryFile(/tmp/multipartBody814189398380462012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331863053,"filename":"image_02012026_05_36_55_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108627","file1":"1402108624","file0":"1402108623","file4":"1402108631","file5":"1402108634","file3":"1402108629"},"map_files_photo_id_array":[{"photo_id":"1402108634","filename":"file5"},{"photo_id":"1402108627","filename":"file2"},{"photo_id":"1402108631","filename":"file4"},{"photo_id":"1402108624","filename":"file1"},{"photo_id":"1402108623","filename":"file0"},{"photo_id":"1402108629","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108631":["hashtag1","hashtag2"]},{"1402108634":["hashtag1","hashtag2"]},{"1402108624":["hashtag1","hashtag2"]},{"1402108627":["hashtag1","hashtag2"]},{"1402108629":["hashtag1","hashtag2"]},{"1402108623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108631, 1402108634, 1402108624, 1402108627, 1402108629, 1402108623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07398867607117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:30:41.904760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_52_2795.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_54_2696.jpg', '/home/pi/Desktop/images/04112025/23/27/image_04112025_23_28_01_3904.jpg', '/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_04_2651.jpg', '/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_10_3709.jpg', '/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_22_3776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_52_2795.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_27_54_2696.jpg
/home/pi/Desktop/images/04112025/23/27/image_04112025_23_28_01_3904.jpg
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_04_2651.jpg
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_10_3709.jpg
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_22_3776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108640","1402108643","1402108642","1402108645","1402108647","1402108644"],"photo_ids_order":["1402108640","1402108642","1402108643","1402108644","1402108645","1402108647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7041b646a1368a371c8520448bbb19ff.jpg","text":"TemporaryFile(/tmp/multipartBody8919763367333967975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331903764,"filename":"image_04112025_23_27_52_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/2/11abaedc12be5b502df723d42a4fedbe.jpg","text":"TemporaryFile(/tmp/multipartBody2772686616300423637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331903764,"filename":"image_04112025_23_28_01_3904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0466ca7e7247c2a552a0e278b5c74ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2352206603268494689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331903764,"filename":"image_04112025_23_27_54_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/2/819412c974f4200ce65eac5dc12c5108.jpg","text":"TemporaryFile(/tmp/multipartBody3509384823896190575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331903764,"filename":"image_04112025_23_28_10_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/2/16d13eedbfa4e97c5fd08ff13edba0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7120152960795214447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331903764,"filename":"image_04112025_23_28_22_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/865b23402ad6f4b1a0769d20ddb27371.jpg","text":"TemporaryFile(/tmp/multipartBody7480893619390745069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331903764,"filename":"image_04112025_23_28_04_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108643","file1":"1402108642","file0":"1402108640","file4":"1402108645","file5":"1402108647","file3":"1402108644"},"map_files_photo_id_array":[{"photo_id":"1402108647","filename":"file5"},{"photo_id":"1402108643","filename":"file2"},{"photo_id":"1402108645","filename":"file4"},{"photo_id":"1402108642","filename":"file1"},{"photo_id":"1402108640","filename":"file0"},{"photo_id":"1402108644","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108640":["hashtag1","hashtag2"]},{"1402108643":["hashtag1","hashtag2"]},{"1402108642":["hashtag1","hashtag2"]},{"1402108645":["hashtag1","hashtag2"]},{"1402108647":["hashtag1","hashtag2"]},{"1402108644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108640, 1402108643, 1402108642, 1402108645, 1402108647, 1402108644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63536763191223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:31:32.065906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_25_2722.jpg', '/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_27_2646.jpg', '/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_31_3680.jpg', '/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_49_1648.jpg', '/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_22_1586.jpg', '/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_31_8807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_25_2722.jpg
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_27_2646.jpg
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_31_3680.jpg
/home/pi/Desktop/images/04112025/23/28/image_04112025_23_28_49_1648.jpg
/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_22_1586.jpg
/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_31_8807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108664","1402108658","1402108661","1402108654","1402108663","1402108656"],"photo_ids_order":["1402108654","1402108656","1402108658","1402108661","1402108663","1402108664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/983eaee744eb721545e284d587e26eff.jpg","text":"TemporaryFile(/tmp/multipartBody5146057609566268631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331953886,"filename":"image_04112025_23_29_31_8807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/365e110f7add34f8c5ae472d0332a18b.jpg","text":"TemporaryFile(/tmp/multipartBody7761194761674797946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331953886,"filename":"image_04112025_23_28_31_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/2/80cf4ad1b189e0d04177d07a54f3f5ec.jpg","text":"TemporaryFile(/tmp/multipartBody2440872421660699323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331953886,"filename":"image_04112025_23_28_49_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/2/872b9108a901435a4fa69020d6ccfe39.jpg","text":"TemporaryFile(/tmp/multipartBody3873440212308997981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331953886,"filename":"image_04112025_23_28_25_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/2/dca9675e2a4dac8488909dc7a0dd7753.jpg","text":"TemporaryFile(/tmp/multipartBody4622503997842817054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331953886,"filename":"image_04112025_23_29_22_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/2/1c1ff827c7a182d24e88cce116223f37.jpg","text":"TemporaryFile(/tmp/multipartBody2272021993997702742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331953886,"filename":"image_04112025_23_28_27_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108658","file1":"1402108656","file0":"1402108654","file4":"1402108663","file5":"1402108664","file3":"1402108661"},"map_files_photo_id_array":[{"photo_id":"1402108664","filename":"file5"},{"photo_id":"1402108658","filename":"file2"},{"photo_id":"1402108663","filename":"file4"},{"photo_id":"1402108656","filename":"file1"},{"photo_id":"1402108654","filename":"file0"},{"photo_id":"1402108661","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108664":["hashtag1","hashtag2"]},{"1402108658":["hashtag1","hashtag2"]},{"1402108661":["hashtag1","hashtag2"]},{"1402108654":["hashtag1","hashtag2"]},{"1402108663":["hashtag1","hashtag2"]},{"1402108656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108664, 1402108658, 1402108661, 1402108654, 1402108663, 1402108656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13717794418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:32:12.199556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_36_1639.jpg', '/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_41_1725.jpg', '/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_43_1594.jpg', '/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_44_1682.jpg', '/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_50_1710.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_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/23/29/image_04112025_23_29_36_1639.jpg
/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_41_1725.jpg
/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_43_1594.jpg
/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_44_1682.jpg
/home/pi/Desktop/images/04112025/23/29/image_04112025_23_29_50_1710.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_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":["1402108670","1402108667","1402108672","1402108675","1402108669","1402108676"],"photo_ids_order":["1402108667","1402108669","1402108670","1402108672","1402108675","1402108676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0bc4ddb529a78b0f727c9f5d4322d628.jpg","text":"TemporaryFile(/tmp/multipartBody791724375183739156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331993923,"filename":"image_04112025_23_29_43_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/2/8571a3a985919d7222cad31384c47122.jpg","text":"TemporaryFile(/tmp/multipartBody4176172841881753595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331993923,"filename":"image_04112025_23_29_36_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/2/57cef77327c9a089d9ce99192e6dcee4.jpg","text":"TemporaryFile(/tmp/multipartBody999127161773757957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331993923,"filename":"image_04112025_23_29_44_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/2/a6890bcf506696d46ff9961a43a5da90.jpg","text":"TemporaryFile(/tmp/multipartBody3223556915556334047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331993923,"filename":"image_04112025_23_29_50_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/2/5b1ce1ad4513d6d4a608fd1026dcb627.jpg","text":"TemporaryFile(/tmp/multipartBody6031115714508322673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331993923,"filename":"image_04112025_23_29_41_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/2/9019f42e9055a642dda585e1a9f8ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody4508025890042811907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767331993923,"filename":"image_04112025_23_31_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108670","file1":"1402108669","file0":"1402108667","file4":"1402108675","file5":"1402108676","file3":"1402108672"},"map_files_photo_id_array":[{"photo_id":"1402108676","filename":"file5"},{"photo_id":"1402108670","filename":"file2"},{"photo_id":"1402108675","filename":"file4"},{"photo_id":"1402108669","filename":"file1"},{"photo_id":"1402108667","filename":"file0"},{"photo_id":"1402108672","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108670":["hashtag1","hashtag2"]},{"1402108667":["hashtag1","hashtag2"]},{"1402108672":["hashtag1","hashtag2"]},{"1402108675":["hashtag1","hashtag2"]},{"1402108669":["hashtag1","hashtag2"]},{"1402108676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108670, 1402108667, 1402108672, 1402108675, 1402108669, 1402108676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57315278053284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:33:03.074090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/37/image_02012026_05_38_05_9659.jpg', '/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_15_9839.jpg', '/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_24_9665.jpg', '/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_35_10621.jpg', '/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_45_9654.jpg', '/home/pi/Desktop/images/02012026/05/38/image_02012026_05_39_05_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/37/image_02012026_05_38_05_9659.jpg
/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_15_9839.jpg
/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_24_9665.jpg
/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_35_10621.jpg
/home/pi/Desktop/images/02012026/05/38/image_02012026_05_38_45_9654.jpg
/home/pi/Desktop/images/02012026/05/38/image_02012026_05_39_05_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":["1402108692","1402108695","1402108689","1402108694","1402108688","1402108697"],"photo_ids_order":["1402108688","1402108689","1402108692","1402108694","1402108695","1402108697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/596a2fe5c8f8da6da9ac61b485c4001a.jpg","text":"TemporaryFile(/tmp/multipartBody9187462461663325079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332043748,"filename":"image_02012026_05_38_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/2/eff363529ceb1fe7b84bd456ac082b39.jpg","text":"TemporaryFile(/tmp/multipartBody2481530091393852504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332043748,"filename":"image_02012026_05_38_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/2/ab56007cb17520c1ee342ebbf38fb3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8326668065281804792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332043748,"filename":"image_02012026_05_38_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/2/c524f2ce6873146e0b7b1ad018dfc3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7692044036844038014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332043748,"filename":"image_02012026_05_38_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/2/2a40ebe49f717780828a2980367b7dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1444700945817752415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332043748,"filename":"image_02012026_05_38_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/2/0fd19f6cd165a4b5c450e97a0900e8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1443575121232137033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332043748,"filename":"image_02012026_05_39_05_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108692","file1":"1402108689","file0":"1402108688","file4":"1402108695","file5":"1402108697","file3":"1402108694"},"map_files_photo_id_array":[{"photo_id":"1402108697","filename":"file5"},{"photo_id":"1402108692","filename":"file2"},{"photo_id":"1402108695","filename":"file4"},{"photo_id":"1402108689","filename":"file1"},{"photo_id":"1402108688","filename":"file0"},{"photo_id":"1402108694","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108692":["hashtag1","hashtag2"]},{"1402108695":["hashtag1","hashtag2"]},{"1402108689":["hashtag1","hashtag2"]},{"1402108694":["hashtag1","hashtag2"]},{"1402108688":["hashtag1","hashtag2"]},{"1402108697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108692, 1402108695, 1402108689, 1402108694, 1402108688, 1402108697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70158767700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:33:42.429624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_10_3776.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_13_2722.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_15_2695.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_22_2861.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_25_2688.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_27_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_10_3776.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_13_2722.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_15_2695.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_22_2861.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_25_2688.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_27_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":["1402108712","1402108714","1402108708","1402108716","1402108710","1402108704"],"photo_ids_order":["1402108704","1402108708","1402108710","1402108712","1402108714","1402108716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a267df96f41dda7fa73971f15e455725.jpg","text":"TemporaryFile(/tmp/multipartBody4920005285282794588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332084270,"filename":"image_04112025_23_31_22_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f93462368854d099b1a2c8b853f25a0.jpg","text":"TemporaryFile(/tmp/multipartBody39497748471998303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332084270,"filename":"image_04112025_23_31_25_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/2/b675ce7b4324b500ca1e3c3f1a4dbd4a.jpg","text":"TemporaryFile(/tmp/multipartBody214566547203309684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332084270,"filename":"image_04112025_23_31_13_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/2/d02e166552ac7901f977efdbb0152a26.jpg","text":"TemporaryFile(/tmp/multipartBody8012689232919485391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332084270,"filename":"image_04112025_23_31_27_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/2/d801aa3b2ca22d3ac54f2f44fce35046.jpg","text":"TemporaryFile(/tmp/multipartBody1547259935162480252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332084270,"filename":"image_04112025_23_31_15_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/2/885a1a3f587199ef2854a7292b6c23f9.jpg","text":"TemporaryFile(/tmp/multipartBody2409028872074192596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332084270,"filename":"image_04112025_23_31_10_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108710","file1":"1402108708","file0":"1402108704","file4":"1402108714","file5":"1402108716","file3":"1402108712"},"map_files_photo_id_array":[{"photo_id":"1402108716","filename":"file5"},{"photo_id":"1402108710","filename":"file2"},{"photo_id":"1402108714","filename":"file4"},{"photo_id":"1402108708","filename":"file1"},{"photo_id":"1402108704","filename":"file0"},{"photo_id":"1402108712","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108712":["hashtag1","hashtag2"]},{"1402108714":["hashtag1","hashtag2"]},{"1402108708":["hashtag1","hashtag2"]},{"1402108716":["hashtag1","hashtag2"]},{"1402108710":["hashtag1","hashtag2"]},{"1402108704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108712, 1402108714, 1402108708, 1402108716, 1402108710, 1402108704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74260950088501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:34:22.595477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_15_9822.jpg', '/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_25_9758.jpg', '/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_34_9769.jpg', '/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_45_10586.jpg', '/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_55_9785.jpg', '/home/pi/Desktop/images/02012026/05/39/image_02012026_05_40_04_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_15_9822.jpg
/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_25_9758.jpg
/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_34_9769.jpg
/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_45_10586.jpg
/home/pi/Desktop/images/02012026/05/39/image_02012026_05_39_55_9785.jpg
/home/pi/Desktop/images/02012026/05/39/image_02012026_05_40_04_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":["1402108730","1402108727","1402108721","1402108735","1402108723","1402108731"],"photo_ids_order":["1402108721","1402108723","1402108727","1402108730","1402108731","1402108735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1325d1436ecc16d5ee3839a2ae5c8f99.jpg","text":"TemporaryFile(/tmp/multipartBody8517518626523595871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332123211,"filename":"image_02012026_05_39_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/2/ce57cb83742ba1803cb24bba8823a864.jpg","text":"TemporaryFile(/tmp/multipartBody3546231428990854159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332123211,"filename":"image_02012026_05_39_34_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/2/1f805df5eaccbaa7d3014178d193e084.jpg","text":"TemporaryFile(/tmp/multipartBody9018265599385832856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332123211,"filename":"image_02012026_05_39_15_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/2/ea3d6d6b42aa05ea95e78d10925bdb01.jpg","text":"TemporaryFile(/tmp/multipartBody7283418582155608857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332123211,"filename":"image_02012026_05_40_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/2/ab747355a80ba31005d19685465ed337.jpg","text":"TemporaryFile(/tmp/multipartBody1942013003874101520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332123211,"filename":"image_02012026_05_39_25_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/2/4fc8183326e1ab42043ec77225c055cf.jpg","text":"TemporaryFile(/tmp/multipartBody1674917758917174139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332123211,"filename":"image_02012026_05_39_55_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108727","file1":"1402108723","file0":"1402108721","file4":"1402108731","file5":"1402108735","file3":"1402108730"},"map_files_photo_id_array":[{"photo_id":"1402108735","filename":"file5"},{"photo_id":"1402108727","filename":"file2"},{"photo_id":"1402108731","filename":"file4"},{"photo_id":"1402108723","filename":"file1"},{"photo_id":"1402108721","filename":"file0"},{"photo_id":"1402108730","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108730":["hashtag1","hashtag2"]},{"1402108727":["hashtag1","hashtag2"]},{"1402108721":["hashtag1","hashtag2"]},{"1402108735":["hashtag1","hashtag2"]},{"1402108723":["hashtag1","hashtag2"]},{"1402108731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108730, 1402108727, 1402108721, 1402108735, 1402108723, 1402108731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29475975036621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:35:03.359350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_15_10745.jpg', '/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_25_9635.jpg', '/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_34_9592.jpg', '/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_45_10693.jpg', '/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_55_9590.jpg', '/home/pi/Desktop/images/02012026/05/40/image_02012026_05_41_05_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_15_10745.jpg
/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_25_9635.jpg
/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_34_9592.jpg
/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_45_10693.jpg
/home/pi/Desktop/images/02012026/05/40/image_02012026_05_40_55_9590.jpg
/home/pi/Desktop/images/02012026/05/40/image_02012026_05_41_05_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":["1402108745","1402108750","1402108747","1402108752","1402108749","1402108743"],"photo_ids_order":["1402108743","1402108745","1402108747","1402108749","1402108750","1402108752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9482c6e5ebdd5a18b83707bdfc5f259.jpg","text":"TemporaryFile(/tmp/multipartBody6584936703591861053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332164090,"filename":"image_02012026_05_40_25_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/2/678a4e4d0f8a591073bf8ef3486a48ed.jpg","text":"TemporaryFile(/tmp/multipartBody4163140425924081770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332164090,"filename":"image_02012026_05_40_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/2/e065cabfa695d2a99d86296f90335dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7305617918924308066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332164090,"filename":"image_02012026_05_40_34_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/2/ba424c4658c38270cad6fa8e6fac74fe.jpg","text":"TemporaryFile(/tmp/multipartBody5628487149147993112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332164090,"filename":"image_02012026_05_41_05_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/2/326900db7d28ad2b6dbd1aa7a49c2774.jpg","text":"TemporaryFile(/tmp/multipartBody6341045012143541955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332164090,"filename":"image_02012026_05_40_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/2/daa9951d2523ae451c8a067a4b84745f.jpg","text":"TemporaryFile(/tmp/multipartBody7584594019476688342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332164090,"filename":"image_02012026_05_40_15_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108747","file1":"1402108745","file0":"1402108743","file4":"1402108750","file5":"1402108752","file3":"1402108749"},"map_files_photo_id_array":[{"photo_id":"1402108752","filename":"file5"},{"photo_id":"1402108747","filename":"file2"},{"photo_id":"1402108750","filename":"file4"},{"photo_id":"1402108745","filename":"file1"},{"photo_id":"1402108743","filename":"file0"},{"photo_id":"1402108749","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108745":["hashtag1","hashtag2"]},{"1402108750":["hashtag1","hashtag2"]},{"1402108747":["hashtag1","hashtag2"]},{"1402108752":["hashtag1","hashtag2"]},{"1402108749":["hashtag1","hashtag2"]},{"1402108743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108745, 1402108750, 1402108747, 1402108752, 1402108749, 1402108743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43210554122925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:35:42.748316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_47_19487.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_50_1564.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_52_1591.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_57_1665.jpg', '/home/pi/Desktop/images/04112025/23/31/image_04112025_23_32_00_1636.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_02_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/23/31/image_04112025_23_31_47_19487.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_50_1564.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_52_1591.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_31_57_1665.jpg
/home/pi/Desktop/images/04112025/23/31/image_04112025_23_32_00_1636.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_02_1661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108766","1402108768","1402108765","1402108764","1402108767","1402108761"],"photo_ids_order":["1402108761","1402108764","1402108765","1402108766","1402108767","1402108768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52ab39e08a8cf15bc01deeb39f31206d.jpg","text":"TemporaryFile(/tmp/multipartBody2157073557172030019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332204553,"filename":"image_04112025_23_31_57_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/2/6ce32e87e07a28de281e5dca809096a1.jpg","text":"TemporaryFile(/tmp/multipartBody6381248374314256918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332204553,"filename":"image_04112025_23_32_02_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/2/57f6fd68a1737bb99f5e8d616421d230.jpg","text":"TemporaryFile(/tmp/multipartBody1337751222488826758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332204553,"filename":"image_04112025_23_31_52_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/2/2f19dfbf560e0d409fdb8bba7af3acbe.jpg","text":"TemporaryFile(/tmp/multipartBody447920715561536959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332204553,"filename":"image_04112025_23_31_50_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/2/9d6adf4b46edc29eba73495058309f95.jpg","text":"TemporaryFile(/tmp/multipartBody5959046033967715421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332204553,"filename":"image_04112025_23_32_00_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/2/7de54fe2838d3262f71c8cd7aec6e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8203586151549522200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332204553,"filename":"image_04112025_23_31_47_19487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108765","file1":"1402108764","file0":"1402108761","file4":"1402108767","file5":"1402108768","file3":"1402108766"},"map_files_photo_id_array":[{"photo_id":"1402108768","filename":"file5"},{"photo_id":"1402108765","filename":"file2"},{"photo_id":"1402108767","filename":"file4"},{"photo_id":"1402108764","filename":"file1"},{"photo_id":"1402108761","filename":"file0"},{"photo_id":"1402108766","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108766":["hashtag1","hashtag2"]},{"1402108768":["hashtag1","hashtag2"]},{"1402108765":["hashtag1","hashtag2"]},{"1402108764":["hashtag1","hashtag2"]},{"1402108767":["hashtag1","hashtag2"]},{"1402108761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108766, 1402108768, 1402108765, 1402108764, 1402108767, 1402108761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95483946800232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:36:31.930430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_03_1751.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_07_1806.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_10_2611.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_25_11806.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_26_1526.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_29_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/23/32/image_04112025_23_32_03_1751.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_07_1806.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_10_2611.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_25_11806.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_26_1526.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_29_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":["1402108790","1402108783","1402108791","1402108785","1402108793","1402108787"],"photo_ids_order":["1402108783","1402108785","1402108787","1402108790","1402108791","1402108793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c980b77426e48f362003cde2d182de2f.jpg","text":"TemporaryFile(/tmp/multipartBody4240793395068741756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332253741,"filename":"image_04112025_23_32_25_11806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4865f24400da701869465f2e05aa91b5.jpg","text":"TemporaryFile(/tmp/multipartBody6625683872981910041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332253741,"filename":"image_04112025_23_32_03_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/2/395541daed804c7c9e24131702c21dab.jpg","text":"TemporaryFile(/tmp/multipartBody6845903677095609280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332253741,"filename":"image_04112025_23_32_26_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1dfd3ea517668d78bb345466d2d73cc0.jpg","text":"TemporaryFile(/tmp/multipartBody4530973226031463000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332253741,"filename":"image_04112025_23_32_07_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/2/405cf6a64ea006a2555e2cee35a566fe.jpg","text":"TemporaryFile(/tmp/multipartBody4273817274357492003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332253741,"filename":"image_04112025_23_32_29_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/2/b1a7503fdc10db63e68bf2effb358cfa.jpg","text":"TemporaryFile(/tmp/multipartBody3642635803151962582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332253741,"filename":"image_04112025_23_32_10_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108787","file1":"1402108785","file0":"1402108783","file4":"1402108791","file5":"1402108793","file3":"1402108790"},"map_files_photo_id_array":[{"photo_id":"1402108793","filename":"file5"},{"photo_id":"1402108787","filename":"file2"},{"photo_id":"1402108791","filename":"file4"},{"photo_id":"1402108785","filename":"file1"},{"photo_id":"1402108783","filename":"file0"},{"photo_id":"1402108790","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108790":["hashtag1","hashtag2"]},{"1402108783":["hashtag1","hashtag2"]},{"1402108791":["hashtag1","hashtag2"]},{"1402108785":["hashtag1","hashtag2"]},{"1402108793":["hashtag1","hashtag2"]},{"1402108787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108790, 1402108783, 1402108791, 1402108785, 1402108793, 1402108787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.632652282714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:37:12.212541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_31_1706.jpg', '/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_55_24379.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_10_14531.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_12_1778.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_13_1651.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_15_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_31_1706.jpg
/home/pi/Desktop/images/04112025/23/32/image_04112025_23_32_55_24379.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_10_14531.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_12_1778.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_13_1651.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_15_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108810","1402108807","1402108800","1402108803","1402108812","1402108796"],"photo_ids_order":["1402108796","1402108800","1402108803","1402108807","1402108810","1402108812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2574f2acc02b416e62849e13f34ddf62.jpg","text":"TemporaryFile(/tmp/multipartBody3386048718427258055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332293926,"filename":"image_04112025_23_33_13_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/2/b61cc75812d849a5fdb1a86ef0a2c89e.jpg","text":"TemporaryFile(/tmp/multipartBody3873578854215343647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332293926,"filename":"image_04112025_23_33_12_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/2/6bca418e589fdc436108f6f8729646d3.jpg","text":"TemporaryFile(/tmp/multipartBody616545890704118184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332293926,"filename":"image_04112025_23_32_55_24379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/21faa0de9a82e6fbde0c01df9242ee48.jpg","text":"TemporaryFile(/tmp/multipartBody8513011592370758837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332293926,"filename":"image_04112025_23_33_10_14531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/68a111c05887c45951a75cb05ec0a910.jpg","text":"TemporaryFile(/tmp/multipartBody8172343806430739979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332293926,"filename":"image_04112025_23_33_15_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/2/fb9f96208741cfde3019bf4295a7f09b.jpg","text":"TemporaryFile(/tmp/multipartBody5439646151342905901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332293926,"filename":"image_04112025_23_32_31_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108803","file1":"1402108800","file0":"1402108796","file4":"1402108810","file5":"1402108812","file3":"1402108807"},"map_files_photo_id_array":[{"photo_id":"1402108812","filename":"file5"},{"photo_id":"1402108803","filename":"file2"},{"photo_id":"1402108810","filename":"file4"},{"photo_id":"1402108800","filename":"file1"},{"photo_id":"1402108796","filename":"file0"},{"photo_id":"1402108807","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108810":["hashtag1","hashtag2"]},{"1402108807":["hashtag1","hashtag2"]},{"1402108800":["hashtag1","hashtag2"]},{"1402108803":["hashtag1","hashtag2"]},{"1402108812":["hashtag1","hashtag2"]},{"1402108796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108810, 1402108807, 1402108800, 1402108803, 1402108812, 1402108796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9747200012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:38:02.756035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_14_9726.jpg', '/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_25_10819.jpg', '/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_35_9712.jpg', '/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_45_9791.jpg', '/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_54_9650.jpg', '/home/pi/Desktop/images/02012026/05/41/image_02012026_05_42_05_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_14_9726.jpg
/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_25_10819.jpg
/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_35_9712.jpg
/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_45_9791.jpg
/home/pi/Desktop/images/02012026/05/41/image_02012026_05_41_54_9650.jpg
/home/pi/Desktop/images/02012026/05/41/image_02012026_05_42_05_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":["1402108820","1402108822","1402108825","1402108827","1402108824","1402108818"],"photo_ids_order":["1402108818","1402108820","1402108822","1402108824","1402108825","1402108827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a8f465983bec8742b6c87a634337c43d.jpg","text":"TemporaryFile(/tmp/multipartBody3402403284461581789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332343489,"filename":"image_02012026_05_41_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/2/4320ab0937cb21d799b9ba30da68b197.jpg","text":"TemporaryFile(/tmp/multipartBody4584713207626499496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332343489,"filename":"image_02012026_05_41_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/2/3e2e456184634067d24bf867094e1017.jpg","text":"TemporaryFile(/tmp/multipartBody193575124763889254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332343489,"filename":"image_02012026_05_41_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/2/c8f7607e680cda0271424d87a7c00958.jpg","text":"TemporaryFile(/tmp/multipartBody3763907963321551666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332343489,"filename":"image_02012026_05_42_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/2/dfbb115a1166c879810f2ee4ce6b98a8.jpg","text":"TemporaryFile(/tmp/multipartBody5952325046223914677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332343489,"filename":"image_02012026_05_41_45_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/2/f0345cee51d73c366d2a866b22bf1c73.jpg","text":"TemporaryFile(/tmp/multipartBody6278272121443264509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332343489,"filename":"image_02012026_05_41_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108822","file1":"1402108820","file0":"1402108818","file4":"1402108825","file5":"1402108827","file3":"1402108824"},"map_files_photo_id_array":[{"photo_id":"1402108827","filename":"file5"},{"photo_id":"1402108822","filename":"file2"},{"photo_id":"1402108825","filename":"file4"},{"photo_id":"1402108820","filename":"file1"},{"photo_id":"1402108818","filename":"file0"},{"photo_id":"1402108824","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108820":["hashtag1","hashtag2"]},{"1402108822":["hashtag1","hashtag2"]},{"1402108825":["hashtag1","hashtag2"]},{"1402108827":["hashtag1","hashtag2"]},{"1402108824":["hashtag1","hashtag2"]},{"1402108818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108820, 1402108822, 1402108825, 1402108827, 1402108824, 1402108818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.047765254974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:38:42.311021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_20_1748.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_27_1728.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_30_1657.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_51_1686.jpg', '/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_58_1802.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_01_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/23/33/image_04112025_23_33_20_1748.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_27_1728.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_30_1657.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_51_1686.jpg
/home/pi/Desktop/images/04112025/23/33/image_04112025_23_33_58_1802.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_01_1588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108844","1402108840","1402108843","1402108837","1402108845","1402108842"],"photo_ids_order":["1402108837","1402108840","1402108842","1402108843","1402108844","1402108845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1bb1283b28fe72c80863de17cd574731.jpg","text":"TemporaryFile(/tmp/multipartBody3631728294811070141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332384144,"filename":"image_04112025_23_33_58_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/2/d1f75b43aa2c53edcf2550ae82257b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5675598162469690080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332384144,"filename":"image_04112025_23_33_27_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/2/54a6b5ce034a9d327f625ec799028c23.jpg","text":"TemporaryFile(/tmp/multipartBody4226049741747979821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332384144,"filename":"image_04112025_23_33_51_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/2/e3363f487481c5050f7956b026157718.jpg","text":"TemporaryFile(/tmp/multipartBody3650542441565477732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332384144,"filename":"image_04112025_23_33_20_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/2/443ed3b76b37095b3f766de80abdbb85.jpg","text":"TemporaryFile(/tmp/multipartBody5801771933774624616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332384144,"filename":"image_04112025_23_34_01_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/2/b2e4fd8a1ddee71adb0d0a6782dde22b.jpg","text":"TemporaryFile(/tmp/multipartBody4402600485793632059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332384144,"filename":"image_04112025_23_33_30_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108842","file1":"1402108840","file0":"1402108837","file4":"1402108844","file5":"1402108845","file3":"1402108843"},"map_files_photo_id_array":[{"photo_id":"1402108845","filename":"file5"},{"photo_id":"1402108842","filename":"file2"},{"photo_id":"1402108844","filename":"file4"},{"photo_id":"1402108840","filename":"file1"},{"photo_id":"1402108837","filename":"file0"},{"photo_id":"1402108843","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108844":["hashtag1","hashtag2"]},{"1402108840":["hashtag1","hashtag2"]},{"1402108843":["hashtag1","hashtag2"]},{"1402108837":["hashtag1","hashtag2"]},{"1402108845":["hashtag1","hashtag2"]},{"1402108842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108844, 1402108840, 1402108843, 1402108837, 1402108845, 1402108842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.579885721206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:39:22.494426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_15_9647.jpg', '/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_25_9964.jpg', '/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_34_9778.jpg', '/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_45_10663.jpg', '/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_55_9810.jpg', '/home/pi/Desktop/images/02012026/05/42/image_02012026_05_43_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_15_9647.jpg
/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_25_9964.jpg
/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_34_9778.jpg
/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_45_10663.jpg
/home/pi/Desktop/images/02012026/05/42/image_02012026_05_42_55_9810.jpg
/home/pi/Desktop/images/02012026/05/42/image_02012026_05_43_05_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":["1402108856","1402108850","1402108864","1402108858","1402108860","1402108854"],"photo_ids_order":["1402108850","1402108854","1402108856","1402108858","1402108860","1402108864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1202373bd5a07aba37ed0837e9335ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3095640786586598597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332423108,"filename":"image_02012026_05_42_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/2/31e3f98fbdc1a37515585bf56190c98c.jpg","text":"TemporaryFile(/tmp/multipartBody296535089309495259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332423108,"filename":"image_02012026_05_42_15_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/2/71636eb3144d1d7543f06abc14f6952d.jpg","text":"TemporaryFile(/tmp/multipartBody5413845175195184364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332423108,"filename":"image_02012026_05_43_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/2/28c0902a2d287c0a9d7dd63557d945ed.jpg","text":"TemporaryFile(/tmp/multipartBody1583258729226088195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332423108,"filename":"image_02012026_05_42_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/2/27d2dea9ced540ee1d97957bb8cf4c14.jpg","text":"TemporaryFile(/tmp/multipartBody8896065968314871502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332423108,"filename":"image_02012026_05_42_55_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/2/4b41ee436f2b93899ac889da4c57586a.jpg","text":"TemporaryFile(/tmp/multipartBody4325703614100245708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332423108,"filename":"image_02012026_05_42_25_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108856","file1":"1402108854","file0":"1402108850","file4":"1402108860","file5":"1402108864","file3":"1402108858"},"map_files_photo_id_array":[{"photo_id":"1402108864","filename":"file5"},{"photo_id":"1402108856","filename":"file2"},{"photo_id":"1402108860","filename":"file4"},{"photo_id":"1402108854","filename":"file1"},{"photo_id":"1402108850","filename":"file0"},{"photo_id":"1402108858","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108856":["hashtag1","hashtag2"]},{"1402108850":["hashtag1","hashtag2"]},{"1402108864":["hashtag1","hashtag2"]},{"1402108858":["hashtag1","hashtag2"]},{"1402108860":["hashtag1","hashtag2"]},{"1402108854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108856, 1402108850, 1402108864, 1402108858, 1402108860, 1402108854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6147985458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:40:03.183539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_14_9735.jpg', '/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_25_10833.jpg', '/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_35_9799.jpg', '/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_54_9795.jpg', '/home/pi/Desktop/images/02012026/05/43/image_02012026_05_44_05_10729.jpg', '/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_15_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_14_9735.jpg
/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_25_10833.jpg
/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_35_9799.jpg
/home/pi/Desktop/images/02012026/05/43/image_02012026_05_43_54_9795.jpg
/home/pi/Desktop/images/02012026/05/43/image_02012026_05_44_05_10729.jpg
/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_15_9919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108877","1402108870","1402108873","1402108878","1402108875","1402108880"],"photo_ids_order":["1402108870","1402108873","1402108875","1402108877","1402108878","1402108880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1a7bf629739e006bf53f8b831b2a24d8.jpg","text":"TemporaryFile(/tmp/multipartBody1329512466432597619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332463816,"filename":"image_02012026_05_43_54_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/2/48c33c5cddfb92862feeedbcc36c701b.jpg","text":"TemporaryFile(/tmp/multipartBody3244142858409046382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332463816,"filename":"image_02012026_05_43_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/2/e1ac202019454f4968b4c737f64a69cd.jpg","text":"TemporaryFile(/tmp/multipartBody7592392841524581834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332463816,"filename":"image_02012026_05_43_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/2/bfbd4c854a073db023b2399a2adede8f.jpg","text":"TemporaryFile(/tmp/multipartBody7668091259035329738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332463816,"filename":"image_02012026_05_44_05_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/2/15d5e990dc1924846275cce0198222e4.jpg","text":"TemporaryFile(/tmp/multipartBody3890879886128680977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332463816,"filename":"image_02012026_05_43_35_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/2/23a6cb13d825283c3ad290ac1e298338.jpg","text":"TemporaryFile(/tmp/multipartBody8035081231141115893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332463816,"filename":"image_02012026_05_44_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108875","file1":"1402108873","file0":"1402108870","file4":"1402108878","file5":"1402108880","file3":"1402108877"},"map_files_photo_id_array":[{"photo_id":"1402108880","filename":"file5"},{"photo_id":"1402108875","filename":"file2"},{"photo_id":"1402108878","filename":"file4"},{"photo_id":"1402108873","filename":"file1"},{"photo_id":"1402108870","filename":"file0"},{"photo_id":"1402108877","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108877":["hashtag1","hashtag2"]},{"1402108870":["hashtag1","hashtag2"]},{"1402108873":["hashtag1","hashtag2"]},{"1402108878":["hashtag1","hashtag2"]},{"1402108875":["hashtag1","hashtag2"]},{"1402108880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108877, 1402108870, 1402108873, 1402108878, 1402108875, 1402108880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06229615211487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:40:42.618814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_04_1815.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_08_1833.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_09_1568.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_11_1635.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_13_1588.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_16_1837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_04_1815.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_08_1833.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_09_1568.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_11_1635.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_13_1588.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_16_1837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108891","1402108894","1402108888","1402108896","1402108886","1402108889"],"photo_ids_order":["1402108886","1402108888","1402108889","1402108891","1402108894","1402108896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f448bb884eae60126897aa0ac7c8bfe6.jpg","text":"TemporaryFile(/tmp/multipartBody178138540387704528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332504436,"filename":"image_04112025_23_34_11_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/2/de440760d7fb9381152a618d278b774e.jpg","text":"TemporaryFile(/tmp/multipartBody2060788486427405172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332504436,"filename":"image_04112025_23_34_13_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/2/7fd5dbb211f2e15aeffe7cd4896a2726.jpg","text":"TemporaryFile(/tmp/multipartBody1375894336034408151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332504436,"filename":"image_04112025_23_34_08_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/2/5e2c2ed41a5016a35364aa66e6bfba90.jpg","text":"TemporaryFile(/tmp/multipartBody703244962449144793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332504436,"filename":"image_04112025_23_34_16_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/2/122565b7a47dff2d616d632885f92497.jpg","text":"TemporaryFile(/tmp/multipartBody7810147569546533570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332504436,"filename":"image_04112025_23_34_04_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/2/52090f478ed87962d891ee0d69cac02b.jpg","text":"TemporaryFile(/tmp/multipartBody4330016165584000440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332504436,"filename":"image_04112025_23_34_09_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108889","file1":"1402108888","file0":"1402108886","file4":"1402108894","file5":"1402108896","file3":"1402108891"},"map_files_photo_id_array":[{"photo_id":"1402108896","filename":"file5"},{"photo_id":"1402108889","filename":"file2"},{"photo_id":"1402108894","filename":"file4"},{"photo_id":"1402108888","filename":"file1"},{"photo_id":"1402108886","filename":"file0"},{"photo_id":"1402108891","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108891":["hashtag1","hashtag2"]},{"1402108894":["hashtag1","hashtag2"]},{"1402108888":["hashtag1","hashtag2"]},{"1402108896":["hashtag1","hashtag2"]},{"1402108886":["hashtag1","hashtag2"]},{"1402108889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108891, 1402108894, 1402108888, 1402108896, 1402108886, 1402108889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.549973249435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:41:22.780376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_25_9651.jpg', '/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_34_9589.jpg', '/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_45_10533.jpg', '/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_55_9621.jpg', '/home/pi/Desktop/images/02012026/05/44/image_02012026_05_45_04_9809.jpg', '/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_25_9651.jpg
/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_34_9589.jpg
/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_45_10533.jpg
/home/pi/Desktop/images/02012026/05/44/image_02012026_05_44_55_9621.jpg
/home/pi/Desktop/images/02012026/05/44/image_02012026_05_45_04_9809.jpg
/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_15_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108904","1402108913","1402108907","1402108909","1402108920","1402108911"],"photo_ids_order":["1402108904","1402108907","1402108909","1402108911","1402108913","1402108920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/749fe39ea50f7f2143adef493ea048d4.jpg","text":"TemporaryFile(/tmp/multipartBody1538305829461673971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332543440,"filename":"image_02012026_05_44_25_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/2/c265d8f865bae85ff65469947f7fbb4e.jpg","text":"TemporaryFile(/tmp/multipartBody3369513520236320815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332543440,"filename":"image_02012026_05_45_04_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/2/d6808573534d63804be6606201861157.jpg","text":"TemporaryFile(/tmp/multipartBody7597010624582261414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332543440,"filename":"image_02012026_05_44_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/2/f1998c6eb68eb41a7a3b39108903a5d3.jpg","text":"TemporaryFile(/tmp/multipartBody1732300137104983059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332543440,"filename":"image_02012026_05_44_45_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/2/319ddc50aa19927933733a1333e0c074.jpg","text":"TemporaryFile(/tmp/multipartBody7407403959359276852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332543440,"filename":"image_02012026_05_45_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/2/c214562367118b01ebb4e3d311a582f8.jpg","text":"TemporaryFile(/tmp/multipartBody5417386899633503057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332543440,"filename":"image_02012026_05_44_55_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108909","file1":"1402108907","file0":"1402108904","file4":"1402108913","file5":"1402108920","file3":"1402108911"},"map_files_photo_id_array":[{"photo_id":"1402108920","filename":"file5"},{"photo_id":"1402108909","filename":"file2"},{"photo_id":"1402108913","filename":"file4"},{"photo_id":"1402108907","filename":"file1"},{"photo_id":"1402108904","filename":"file0"},{"photo_id":"1402108911","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108904":["hashtag1","hashtag2"]},{"1402108913":["hashtag1","hashtag2"]},{"1402108907":["hashtag1","hashtag2"]},{"1402108909":["hashtag1","hashtag2"]},{"1402108920":["hashtag1","hashtag2"]},{"1402108911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108904, 1402108913, 1402108907, 1402108909, 1402108920, 1402108911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.447312355041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:42:02.418401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_35_10640.jpg', '/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_45_9663.jpg', '/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_55_9793.jpg', '/home/pi/Desktop/images/02012026/05/45/image_02012026_05_46_04_9706.jpg', '/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_14_10018.jpg', '/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_25_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_35_10640.jpg
/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_45_9663.jpg
/home/pi/Desktop/images/02012026/05/45/image_02012026_05_45_55_9793.jpg
/home/pi/Desktop/images/02012026/05/45/image_02012026_05_46_04_9706.jpg
/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_14_10018.jpg
/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_25_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108922","1402108925","1402108927","1402108926","1402108929","1402108923"],"photo_ids_order":["1402108922","1402108923","1402108925","1402108926","1402108927","1402108929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/260dcd59dd7d9fb58447db7067bc2a04.jpg","text":"TemporaryFile(/tmp/multipartBody1835129668898770368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332583065,"filename":"image_02012026_05_45_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/2/3ff8ac17408252039cbac303f08a880f.jpg","text":"TemporaryFile(/tmp/multipartBody3712454450314194184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332583065,"filename":"image_02012026_05_45_55_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/2/6198cf5c01360e83d343add77d9056e4.jpg","text":"TemporaryFile(/tmp/multipartBody6932385753828708828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332583065,"filename":"image_02012026_05_46_14_10018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/59419035ca1d001ab320c6ceb61e7087.jpg","text":"TemporaryFile(/tmp/multipartBody4496546027585132308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332583065,"filename":"image_02012026_05_46_04_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/2/02b4f5d0009c6709668c7589232358a0.jpg","text":"TemporaryFile(/tmp/multipartBody8926967432410954658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332583065,"filename":"image_02012026_05_46_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/2/84500c70315df76121fd23f6db385229.jpg","text":"TemporaryFile(/tmp/multipartBody4507414646058793152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332583065,"filename":"image_02012026_05_45_45_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108925","file1":"1402108923","file0":"1402108922","file4":"1402108927","file5":"1402108929","file3":"1402108926"},"map_files_photo_id_array":[{"photo_id":"1402108929","filename":"file5"},{"photo_id":"1402108925","filename":"file2"},{"photo_id":"1402108927","filename":"file4"},{"photo_id":"1402108923","filename":"file1"},{"photo_id":"1402108922","filename":"file0"},{"photo_id":"1402108926","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402108922":["hashtag1","hashtag2"]},{"1402108925":["hashtag1","hashtag2"]},{"1402108927":["hashtag1","hashtag2"]},{"1402108926":["hashtag1","hashtag2"]},{"1402108929":["hashtag1","hashtag2"]},{"1402108923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402108922, 1402108925, 1402108927, 1402108926, 1402108929, 1402108923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82776951789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:42:41.906880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_22_1872.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_23_1835.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_25_1610.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_26_1511.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_30_1741.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_32_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_22_1872.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_23_1835.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_25_1610.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_26_1511.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_30_1741.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_32_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402108958","1402108943","1402108946","1402108945","1402108939","1402108941"],"photo_ids_order":["1402108939","1402108941","1402108943","1402108945","1402108946","1402108958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cbf80f43220f6d8ec26481d1304d8d0.jpg","text":"TemporaryFile(/tmp/multipartBody4261034565717752785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332623730,"filename":"image_04112025_23_34_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/2/44ca26de59acaf8ef952e0866d52696b.jpg","text":"TemporaryFile(/tmp/multipartBody17729441530792163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332623730,"filename":"image_04112025_23_34_25_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/2/aae3e2e5bf360884da54c52997a48acc.jpg","text":"TemporaryFile(/tmp/multipartBody1518546213202414637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332623730,"filename":"image_04112025_23_34_30_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/2/85cb76a4e357c2eff456ff8f72f43afc.jpg","text":"TemporaryFile(/tmp/multipartBody6803122740587041196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332623730,"filename":"image_04112025_23_34_26_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/2/d03d2b4284efae4490afeb4e33f06567.jpg","text":"TemporaryFile(/tmp/multipartBody5824105802953451687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332623730,"filename":"image_04112025_23_34_22_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/2/addc71ec3907f66b850559f351104aac.jpg","text":"TemporaryFile(/tmp/multipartBody9198729468480856275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332623730,"filename":"image_04112025_23_34_23_1835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108943","file1":"1402108941","file0":"1402108939","file4":"1402108946","file5":"1402108958","file3":"1402108945"},"map_files_photo_id_array":[{"photo_id":"1402108958","filename":"file5"},{"photo_id":"1402108943","filename":"file2"},{"photo_id":"1402108946","filename":"file4"},{"photo_id":"1402108941","filename":"file1"},{"photo_id":"1402108939","filename":"file0"},{"photo_id":"1402108945","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108958":["hashtag1","hashtag2"]},{"1402108943":["hashtag1","hashtag2"]},{"1402108946":["hashtag1","hashtag2"]},{"1402108945":["hashtag1","hashtag2"]},{"1402108939":["hashtag1","hashtag2"]},{"1402108941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108958, 1402108943, 1402108946, 1402108945, 1402108939, 1402108941)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.38686490058899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:43:32.056312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_35_1629.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_39_2841.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_48_2639.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_54_2967.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_57_2833.jpg', '/home/pi/Desktop/images/04112025/23/34/image_04112025_23_35_01_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/23/34/image_04112025_23_34_35_1629.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_39_2841.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_48_2639.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_54_2967.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_34_57_2833.jpg
/home/pi/Desktop/images/04112025/23/34/image_04112025_23_35_01_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":["1402108972","1402108969","1402108974","1402108965","1402108973","1402108967"],"photo_ids_order":["1402108965","1402108967","1402108969","1402108972","1402108973","1402108974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cff56b8eb964e1c29ff8f94edab5871.jpg","text":"TemporaryFile(/tmp/multipartBody7385546559708315218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332673800,"filename":"image_04112025_23_34_54_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/2/c97869d9b9af2802ebbd9dcd910691a8.jpg","text":"TemporaryFile(/tmp/multipartBody5760900141447097978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332673800,"filename":"image_04112025_23_34_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/2/e07bc9452f4961f64bdc050b4c24dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody5010877139824911288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332673800,"filename":"image_04112025_23_35_01_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/2/5827a20487cca4cdb17a155f10859229.jpg","text":"TemporaryFile(/tmp/multipartBody5875128353089711444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332673800,"filename":"image_04112025_23_34_35_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/2/de57ac34b79364cb3f857ad8e5f7851c.jpg","text":"TemporaryFile(/tmp/multipartBody7124702437738022591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332673800,"filename":"image_04112025_23_34_57_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/2/68cbe6fc462d5e05ca575c1df9cb3b32.jpg","text":"TemporaryFile(/tmp/multipartBody1636130931702517182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332673800,"filename":"image_04112025_23_34_39_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108969","file1":"1402108967","file0":"1402108965","file4":"1402108973","file5":"1402108974","file3":"1402108972"},"map_files_photo_id_array":[{"photo_id":"1402108974","filename":"file5"},{"photo_id":"1402108969","filename":"file2"},{"photo_id":"1402108973","filename":"file4"},{"photo_id":"1402108967","filename":"file1"},{"photo_id":"1402108965","filename":"file0"},{"photo_id":"1402108972","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108972":["hashtag1","hashtag2"]},{"1402108969":["hashtag1","hashtag2"]},{"1402108974":["hashtag1","hashtag2"]},{"1402108965":["hashtag1","hashtag2"]},{"1402108973":["hashtag1","hashtag2"]},{"1402108967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108972, 1402108969, 1402108974, 1402108965, 1402108973, 1402108967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.520708322525024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:44:12.320300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_03_2650.jpg', '/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_18_2586.jpg', '/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_22_3644.jpg', '/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_27_2694.jpg', '/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_35_8295.jpg', '/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_40_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/23/35/image_04112025_23_35_03_2650.jpg
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_18_2586.jpg
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_22_3644.jpg
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_27_2694.jpg
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_35_8295.jpg
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_40_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":["1402108975","1402108980","1402108983","1402108977","1402108986","1402108994"],"photo_ids_order":["1402108975","1402108977","1402108980","1402108983","1402108986","1402108994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3dc2ee6acf3ec873f2e65d1cb6386bd4.jpg","text":"TemporaryFile(/tmp/multipartBody4031417845234461446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332714030,"filename":"image_04112025_23_35_03_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/2/f6741c7359cd94528fa8b95f5f7136dc.jpg","text":"TemporaryFile(/tmp/multipartBody5772657517542009731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332714030,"filename":"image_04112025_23_35_22_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/2/1f010da582f9cf1e8576831a572ee7d3.jpg","text":"TemporaryFile(/tmp/multipartBody6470166275814029074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332714030,"filename":"image_04112025_23_35_27_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/2/78ac4303fe2d28b2488e61d7abfb8f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7361257654217716924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332714030,"filename":"image_04112025_23_35_18_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/2/829eec7329af53b41d7ab6a7e9b07a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2980215010397711281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332714030,"filename":"image_04112025_23_35_35_8295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05dda445299cf85850e9b42a5bb388c6.jpg","text":"TemporaryFile(/tmp/multipartBody3568826879316179984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332714030,"filename":"image_04112025_23_35_40_1511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402108980","file1":"1402108977","file0":"1402108975","file4":"1402108986","file5":"1402108994","file3":"1402108983"},"map_files_photo_id_array":[{"photo_id":"1402108994","filename":"file5"},{"photo_id":"1402108980","filename":"file2"},{"photo_id":"1402108986","filename":"file4"},{"photo_id":"1402108977","filename":"file1"},{"photo_id":"1402108975","filename":"file0"},{"photo_id":"1402108983","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402108975":["hashtag1","hashtag2"]},{"1402108980":["hashtag1","hashtag2"]},{"1402108983":["hashtag1","hashtag2"]},{"1402108977":["hashtag1","hashtag2"]},{"1402108986":["hashtag1","hashtag2"]},{"1402108994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402108975, 1402108980, 1402108983, 1402108977, 1402108986, 1402108994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.300416707992554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:45:03.162822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_45_10600.jpg', '/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_55_9703.jpg', '/home/pi/Desktop/images/02012026/05/46/image_02012026_05_47_04_9549.jpg', '/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_15_10674.jpg', '/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_25_9646.jpg', '/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_35_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_45_10600.jpg
/home/pi/Desktop/images/02012026/05/46/image_02012026_05_46_55_9703.jpg
/home/pi/Desktop/images/02012026/05/46/image_02012026_05_47_04_9549.jpg
/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_15_10674.jpg
/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_25_9646.jpg
/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_35_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402109012","1402109020","1402109014","1402109019","1402109013","1402109016"],"photo_ids_order":["1402109012","1402109013","1402109014","1402109016","1402109019","1402109020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb55d354a12fab15ce10ae5e5f017f43.jpg","text":"TemporaryFile(/tmp/multipartBody556940609137824914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332766373,"filename":"image_02012026_05_46_45_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/2/b9e698297d5d4509c4f3c685430123c6.jpg","text":"TemporaryFile(/tmp/multipartBody4515543389019326109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332766373,"filename":"image_02012026_05_47_35_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/2/50a80d26e38936219217ca83ab03801f.jpg","text":"TemporaryFile(/tmp/multipartBody7737584685193470960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332766373,"filename":"image_02012026_05_47_04_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/2/15a9d97b1c9d95fa357ac379fc0a68c8.jpg","text":"TemporaryFile(/tmp/multipartBody7741584187099264953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332766373,"filename":"image_02012026_05_47_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/2/c5deeadaa6529020f76fb1d072d8ba79.jpg","text":"TemporaryFile(/tmp/multipartBody4201379689847887551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332766373,"filename":"image_02012026_05_46_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/2/406e7b08ced022f303f9563463e41501.jpg","text":"TemporaryFile(/tmp/multipartBody3122324336496045668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332766373,"filename":"image_02012026_05_47_15_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109014","file1":"1402109013","file0":"1402109012","file4":"1402109019","file5":"1402109020","file3":"1402109016"},"map_files_photo_id_array":[{"photo_id":"1402109020","filename":"file5"},{"photo_id":"1402109014","filename":"file2"},{"photo_id":"1402109019","filename":"file4"},{"photo_id":"1402109013","filename":"file1"},{"photo_id":"1402109012","filename":"file0"},{"photo_id":"1402109016","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109012":["hashtag1","hashtag2"]},{"1402109020":["hashtag1","hashtag2"]},{"1402109014":["hashtag1","hashtag2"]},{"1402109019":["hashtag1","hashtag2"]},{"1402109013":["hashtag1","hashtag2"]},{"1402109016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109012, 1402109020, 1402109014, 1402109019, 1402109013, 1402109016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.95300221443176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:46:09.793748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_45_10619.jpg', '/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_55_9787.jpg', '/home/pi/Desktop/images/02012026/05/47/image_02012026_05_48_05_9767.jpg', '/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_14_9707.jpg', '/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_25_10555.jpg', '/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_35_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_45_10619.jpg
/home/pi/Desktop/images/02012026/05/47/image_02012026_05_47_55_9787.jpg
/home/pi/Desktop/images/02012026/05/47/image_02012026_05_48_05_9767.jpg
/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_14_9707.jpg
/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_25_10555.jpg
/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_35_9583.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":["1402109045","1402109050","1402109043","1402109054","1402109048","1402109042"],"photo_ids_order":["1402109042","1402109043","1402109045","1402109048","1402109050","1402109054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f355eab492f78608991155747c8fc769.jpg","text":"TemporaryFile(/tmp/multipartBody9041093237152544037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332831860,"filename":"image_02012026_05_48_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/2/af877ddf053cfa75d1ccfa017d9f4032.jpg","text":"TemporaryFile(/tmp/multipartBody4457669910075209228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332831860,"filename":"image_02012026_05_48_25_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/2/087bd121fa1f97bb8fcb32c2f335fee3.jpg","text":"TemporaryFile(/tmp/multipartBody4734249952988286328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332831860,"filename":"image_02012026_05_47_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/2/fb0e5b2a37595800c9343c1ba958b7ca.jpg","text":"TemporaryFile(/tmp/multipartBody8483876368622214662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332831860,"filename":"image_02012026_05_48_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/2/67d2cd736dbe4f99d1b5d004199266e7.jpg","text":"TemporaryFile(/tmp/multipartBody3581873219508261622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332831860,"filename":"image_02012026_05_48_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/2/ea497757a189da7cb631c757e8496be0.jpg","text":"TemporaryFile(/tmp/multipartBody5091380498104972202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332831860,"filename":"image_02012026_05_47_45_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109045","file1":"1402109043","file0":"1402109042","file4":"1402109050","file5":"1402109054","file3":"1402109048"},"map_files_photo_id_array":[{"photo_id":"1402109054","filename":"file5"},{"photo_id":"1402109045","filename":"file2"},{"photo_id":"1402109050","filename":"file4"},{"photo_id":"1402109043","filename":"file1"},{"photo_id":"1402109042","filename":"file0"},{"photo_id":"1402109048","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109045":["hashtag1","hashtag2"]},{"1402109050":["hashtag1","hashtag2"]},{"1402109043":["hashtag1","hashtag2"]},{"1402109054":["hashtag1","hashtag2"]},{"1402109048":["hashtag1","hashtag2"]},{"1402109042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109045, 1402109050, 1402109043, 1402109054, 1402109048, 1402109042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61020278930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:47:02.908720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_45_10699.jpg', '/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_25_9772.jpg', '/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_35_9752.jpg', '/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_44_9749.jpg', '/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_55_10946.jpg', '/home/pi/Desktop/images/02012026/05/49/image_02012026_05_50_04_9044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/48/image_02012026_05_48_45_10699.jpg
/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_25_9772.jpg
/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_35_9752.jpg
/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_44_9749.jpg
/home/pi/Desktop/images/02012026/05/49/image_02012026_05_49_55_10946.jpg
/home/pi/Desktop/images/02012026/05/49/image_02012026_05_50_04_9044.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109065","1402109062","1402109061","1402109064","1402109067","1402109060"],"photo_ids_order":["1402109060","1402109061","1402109062","1402109064","1402109065","1402109067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f094b2cbfd5493bf4a4d3c80e3bbcd9e.jpg","text":"TemporaryFile(/tmp/multipartBody959389064824429074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332883603,"filename":"image_02012026_05_49_55_10946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d6ca6d8018393f5aadeb4b837cedfa09.jpg","text":"TemporaryFile(/tmp/multipartBody4210635292704517336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332883603,"filename":"image_02012026_05_49_35_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/2/5cb5099c417fec3af8d7ce3ed9ce4159.jpg","text":"TemporaryFile(/tmp/multipartBody6575575426082841270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332883603,"filename":"image_02012026_05_49_25_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/2/2e940ae11c6b4b42e920c30714cbc596.jpg","text":"TemporaryFile(/tmp/multipartBody6099189072377852396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332883603,"filename":"image_02012026_05_49_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/2/fde15e817fd44e135e753d408914a14d.jpg","text":"TemporaryFile(/tmp/multipartBody1338899597493740175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332883603,"filename":"image_02012026_05_50_04_9044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb4d0ddc803dc92e1b1aff5d0b92c683.jpg","text":"TemporaryFile(/tmp/multipartBody8673477456158302979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332883603,"filename":"image_02012026_05_48_45_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109062","file1":"1402109061","file0":"1402109060","file4":"1402109065","file5":"1402109067","file3":"1402109064"},"map_files_photo_id_array":[{"photo_id":"1402109067","filename":"file5"},{"photo_id":"1402109062","filename":"file2"},{"photo_id":"1402109065","filename":"file4"},{"photo_id":"1402109061","filename":"file1"},{"photo_id":"1402109060","filename":"file0"},{"photo_id":"1402109064","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109065":["hashtag1","hashtag2"]},{"1402109062":["hashtag1","hashtag2"]},{"1402109061":["hashtag1","hashtag2"]},{"1402109064":["hashtag1","hashtag2"]},{"1402109067":["hashtag1","hashtag2"]},{"1402109060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109065, 1402109062, 1402109061, 1402109064, 1402109067, 1402109060)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.39758920669556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:48:02.829867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_15_10629.jpg', '/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_25_9781.jpg', '/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_35_9796.jpg', '/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_45_10619.jpg', '/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_55_9721.jpg', '/home/pi/Desktop/images/02012026/05/50/image_02012026_05_51_05_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_15_10629.jpg
/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_25_9781.jpg
/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_35_9796.jpg
/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_45_10619.jpg
/home/pi/Desktop/images/02012026/05/50/image_02012026_05_50_55_9721.jpg
/home/pi/Desktop/images/02012026/05/50/image_02012026_05_51_05_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109080","1402109082","1402109079","1402109084","1402109081","1402109078"],"photo_ids_order":["1402109078","1402109079","1402109080","1402109081","1402109082","1402109084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9376a902b273cb9c3b62684f351764e.jpg","text":"TemporaryFile(/tmp/multipartBody3951145743756753589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332943493,"filename":"image_02012026_05_50_35_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/2/7dfc529cefef324f519ba0d403190aec.jpg","text":"TemporaryFile(/tmp/multipartBody8683721463068668071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332943493,"filename":"image_02012026_05_50_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/2/13efed754488526639b3995b6b6fa489.jpg","text":"TemporaryFile(/tmp/multipartBody1794012345477952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332943493,"filename":"image_02012026_05_50_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/2/cab39ce1f0aaeebb0e874052fba0d416.jpg","text":"TemporaryFile(/tmp/multipartBody4329461422545565624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332943493,"filename":"image_02012026_05_51_05_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/2/1aada37e4f3dadf0c4ec8145791733b9.jpg","text":"TemporaryFile(/tmp/multipartBody638142910627825707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332943493,"filename":"image_02012026_05_50_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/2/93d244975ce0148f52c441fa0e8e4a02.jpg","text":"TemporaryFile(/tmp/multipartBody3122673717605896548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332943493,"filename":"image_02012026_05_50_15_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109080","file1":"1402109079","file0":"1402109078","file4":"1402109082","file5":"1402109084","file3":"1402109081"},"map_files_photo_id_array":[{"photo_id":"1402109084","filename":"file5"},{"photo_id":"1402109080","filename":"file2"},{"photo_id":"1402109082","filename":"file4"},{"photo_id":"1402109079","filename":"file1"},{"photo_id":"1402109078","filename":"file0"},{"photo_id":"1402109081","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109080":["hashtag1","hashtag2"]},{"1402109082":["hashtag1","hashtag2"]},{"1402109079":["hashtag1","hashtag2"]},{"1402109084":["hashtag1","hashtag2"]},{"1402109081":["hashtag1","hashtag2"]},{"1402109078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109080, 1402109082, 1402109079, 1402109084, 1402109081, 1402109078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54736256599426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:48:42.333573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_45_2866.jpg', '/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_54_3703.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_04_3816.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_09_2759.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_12_2999.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_45_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_45_2866.jpg
/home/pi/Desktop/images/04112025/23/35/image_04112025_23_35_54_3703.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_04_3816.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_09_2759.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_12_2999.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_45_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109095","1402109098","1402109107","1402109097","1402109093","1402109096"],"photo_ids_order":["1402109093","1402109095","1402109096","1402109097","1402109098","1402109107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/06366c7d420aba72eaa67995ec0dbd68.jpg","text":"TemporaryFile(/tmp/multipartBody6866082217013449629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332984155,"filename":"image_04112025_23_35_54_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/2/b1b29734036aca64a91d135071a2215c.jpg","text":"TemporaryFile(/tmp/multipartBody5070164787699636423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332984155,"filename":"image_04112025_23_36_12_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ffc2496508192b6f7fff2a0fb92a3374.jpg","text":"TemporaryFile(/tmp/multipartBody3109127141705426251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332984155,"filename":"image_04112025_23_36_45_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/2/cdc4c73853a683095f71c80b0b36950d.jpg","text":"TemporaryFile(/tmp/multipartBody3739940769920102676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332984155,"filename":"image_04112025_23_36_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/2/d9e5e370d6c6ec106b6e234d1cdd6d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4461977977241483666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332984155,"filename":"image_04112025_23_35_45_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e06b8576da5f6465cf98fa674b5609cc.jpg","text":"TemporaryFile(/tmp/multipartBody401100009834330562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767332984155,"filename":"image_04112025_23_36_04_3816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109096","file1":"1402109095","file0":"1402109093","file4":"1402109098","file5":"1402109107","file3":"1402109097"},"map_files_photo_id_array":[{"photo_id":"1402109107","filename":"file5"},{"photo_id":"1402109096","filename":"file2"},{"photo_id":"1402109098","filename":"file4"},{"photo_id":"1402109095","filename":"file1"},{"photo_id":"1402109093","filename":"file0"},{"photo_id":"1402109097","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402109095":["hashtag1","hashtag2"]},{"1402109098":["hashtag1","hashtag2"]},{"1402109107":["hashtag1","hashtag2"]},{"1402109097":["hashtag1","hashtag2"]},{"1402109093":["hashtag1","hashtag2"]},{"1402109096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402109095, 1402109098, 1402109107, 1402109097, 1402109093, 1402109096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.914453983306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:49:22.514054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_14_9807.jpg', '/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_25_10647.jpg', '/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_35_9664.jpg', '/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_55_10676.jpg', '/home/pi/Desktop/images/02012026/05/51/image_02012026_05_52_05_9668.jpg', '/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_25_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_14_9807.jpg
/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_25_10647.jpg
/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_35_9664.jpg
/home/pi/Desktop/images/02012026/05/51/image_02012026_05_51_55_10676.jpg
/home/pi/Desktop/images/02012026/05/51/image_02012026_05_52_05_9668.jpg
/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_25_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109114","1402109116","1402109124","1402109118","1402109112","1402109120"],"photo_ids_order":["1402109112","1402109114","1402109116","1402109118","1402109120","1402109124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/caed0ce4ec18d16585091fe456de3d78.jpg","text":"TemporaryFile(/tmp/multipartBody7781892357291597929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333023124,"filename":"image_02012026_05_51_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/2/3632f48612f5442b8749de363f25a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1518144235137379844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333023124,"filename":"image_02012026_05_51_35_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/2/bc9f27b67a9fd6be110c6f71cf818434.jpg","text":"TemporaryFile(/tmp/multipartBody2697485831878038662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333023124,"filename":"image_02012026_05_52_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/2/b7300cb9cf426090a79499b55cc59fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3930715234309638959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333023124,"filename":"image_02012026_05_51_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/2/f2e693252366c34f158f12a8a393bd86.jpg","text":"TemporaryFile(/tmp/multipartBody3123598019729149925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333023124,"filename":"image_02012026_05_51_14_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/2/57c86dfae3d795f64d3c26dd43c72f10.jpg","text":"TemporaryFile(/tmp/multipartBody7610459640591045947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333023124,"filename":"image_02012026_05_52_05_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109116","file1":"1402109114","file0":"1402109112","file4":"1402109120","file5":"1402109124","file3":"1402109118"},"map_files_photo_id_array":[{"photo_id":"1402109124","filename":"file5"},{"photo_id":"1402109116","filename":"file2"},{"photo_id":"1402109120","filename":"file4"},{"photo_id":"1402109114","filename":"file1"},{"photo_id":"1402109112","filename":"file0"},{"photo_id":"1402109118","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109114":["hashtag1","hashtag2"]},{"1402109116":["hashtag1","hashtag2"]},{"1402109124":["hashtag1","hashtag2"]},{"1402109118":["hashtag1","hashtag2"]},{"1402109112":["hashtag1","hashtag2"]},{"1402109120":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109114, 1402109116, 1402109124, 1402109118, 1402109112, 1402109120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37408399581909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:50:03.179266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_35_9851.jpg', '/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_45_9642.jpg', '/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_54_9785.jpg', '/home/pi/Desktop/images/02012026/05/52/image_02012026_05_53_04_9908.jpg', '/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_15_10660.jpg', '/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_25_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_35_9851.jpg
/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_45_9642.jpg
/home/pi/Desktop/images/02012026/05/52/image_02012026_05_52_54_9785.jpg
/home/pi/Desktop/images/02012026/05/52/image_02012026_05_53_04_9908.jpg
/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_15_10660.jpg
/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_25_9538.jpg
 val : 1 : upload photos already in 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":["1402109132","1402109126","1402109134","1402109125","1402109127","1402109129"],"photo_ids_order":["1402109125","1402109126","1402109127","1402109129","1402109132","1402109134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1d479b6e64abdc936e4dfc80da1953f.jpg","text":"TemporaryFile(/tmp/multipartBody9060310797241037911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333063873,"filename":"image_02012026_05_53_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/2/992de2d930ad3b0b622d8f99bdfe6f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1707835508632039932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333063873,"filename":"image_02012026_05_52_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/2/e6fd202306b36d25bfd910cc40e14480.jpg","text":"TemporaryFile(/tmp/multipartBody3854555867496334407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333063873,"filename":"image_02012026_05_53_25_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/2/572b81d4d3456275fe11d2a4718d8ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4698235284270221981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333063873,"filename":"image_02012026_05_52_35_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/2/e87b174a03ac1622caf23618912d766b.jpg","text":"TemporaryFile(/tmp/multipartBody1085186142650390614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333063873,"filename":"image_02012026_05_52_54_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/2/c3212707266e19f9ae2ef8fa80ea2a61.jpg","text":"TemporaryFile(/tmp/multipartBody9160946462452274029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333063873,"filename":"image_02012026_05_53_04_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109127","file1":"1402109126","file0":"1402109125","file4":"1402109132","file5":"1402109134","file3":"1402109129"},"map_files_photo_id_array":[{"photo_id":"1402109134","filename":"file5"},{"photo_id":"1402109127","filename":"file2"},{"photo_id":"1402109132","filename":"file4"},{"photo_id":"1402109126","filename":"file1"},{"photo_id":"1402109125","filename":"file0"},{"photo_id":"1402109129","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109132":["hashtag1","hashtag2"]},{"1402109126":["hashtag1","hashtag2"]},{"1402109134":["hashtag1","hashtag2"]},{"1402109125":["hashtag1","hashtag2"]},{"1402109127":["hashtag1","hashtag2"]},{"1402109129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109132, 1402109126, 1402109134, 1402109125, 1402109127, 1402109129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02971053123474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:51:03.503006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_35_10617.jpg', '/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_45_9709.jpg', '/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_55_10445.jpg', '/home/pi/Desktop/images/02012026/05/53/image_02012026_05_54_05_9626.jpg', '/home/pi/Desktop/images/02012026/05/54/image_02012026_05_54_34_9696.jpg', '/home/pi/Desktop/images/02012026/05/54/image_02012026_05_54_45_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_35_10617.jpg
/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_45_9709.jpg
/home/pi/Desktop/images/02012026/05/53/image_02012026_05_53_55_10445.jpg
/home/pi/Desktop/images/02012026/05/53/image_02012026_05_54_05_9626.jpg
/home/pi/Desktop/images/02012026/05/54/image_02012026_05_54_34_9696.jpg
/home/pi/Desktop/images/02012026/05/54/image_02012026_05_54_45_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109150","1402109144","1402109152","1402109146","1402109149","1402109148"],"photo_ids_order":["1402109144","1402109146","1402109148","1402109149","1402109150","1402109152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0958757bc093e868b8e2471bd5f6b56.jpg","text":"TemporaryFile(/tmp/multipartBody6242837571355384619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333124198,"filename":"image_02012026_05_54_34_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/2/a26bb0f1e54857f74be9bbdf87328b24.jpg","text":"TemporaryFile(/tmp/multipartBody1528583611812037163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333124198,"filename":"image_02012026_05_53_35_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/2/032767e875f51583a8abc2525ac8526a.jpg","text":"TemporaryFile(/tmp/multipartBody2685472646908462646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333124198,"filename":"image_02012026_05_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/2/c0b547e91ae5c693b10fbee73d4e75b8.jpg","text":"TemporaryFile(/tmp/multipartBody5220817224616635837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333124198,"filename":"image_02012026_05_53_45_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/2/f38a589e752d023a80e62c3733d92afc.jpg","text":"TemporaryFile(/tmp/multipartBody7961039662785262722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333124198,"filename":"image_02012026_05_54_05_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/2/3d69c17e406225c905784bc5dbcbf44c.jpg","text":"TemporaryFile(/tmp/multipartBody8783026997226941475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333124198,"filename":"image_02012026_05_53_55_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109148","file1":"1402109146","file0":"1402109144","file4":"1402109150","file5":"1402109152","file3":"1402109149"},"map_files_photo_id_array":[{"photo_id":"1402109152","filename":"file5"},{"photo_id":"1402109148","filename":"file2"},{"photo_id":"1402109150","filename":"file4"},{"photo_id":"1402109146","filename":"file1"},{"photo_id":"1402109144","filename":"file0"},{"photo_id":"1402109149","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109150":["hashtag1","hashtag2"]},{"1402109144":["hashtag1","hashtag2"]},{"1402109152":["hashtag1","hashtag2"]},{"1402109146":["hashtag1","hashtag2"]},{"1402109149":["hashtag1","hashtag2"]},{"1402109148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109150, 1402109144, 1402109152, 1402109146, 1402109149, 1402109148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97394108772278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:51:42.819983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_48_2896.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_51_2734.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_54_2606.jpg', '/home/pi/Desktop/images/04112025/23/36/image_04112025_23_37_00_2660.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_03_2709.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_24_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_48_2896.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_51_2734.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_36_54_2606.jpg
/home/pi/Desktop/images/04112025/23/36/image_04112025_23_37_00_2660.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_03_2709.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_24_2849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109164","1402109161","1402109160","1402109163","1402109165","1402109162"],"photo_ids_order":["1402109160","1402109161","1402109162","1402109163","1402109164","1402109165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b3951351641ac52ae8bfbd9eccf404e6.jpg","text":"TemporaryFile(/tmp/multipartBody5367035437567245995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333169099,"filename":"image_04112025_23_37_03_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/2/01c4fb11196eb32b2df7f415f07ded76.jpg","text":"TemporaryFile(/tmp/multipartBody4623647471770731801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333169099,"filename":"image_04112025_23_36_51_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/2/bd0d6238647202b0c82e08218271b4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5451686507050096781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333169099,"filename":"image_04112025_23_36_48_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7518049c66d90dd60c7460e5fafa6e10.jpg","text":"TemporaryFile(/tmp/multipartBody1423878383353232528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333169099,"filename":"image_04112025_23_37_00_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/2/95228066ccda750ae91b9eb26ae023e9.jpg","text":"TemporaryFile(/tmp/multipartBody4118222869569604115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333169099,"filename":"image_04112025_23_37_24_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73774013607098f505f7983cf8093223.jpg","text":"TemporaryFile(/tmp/multipartBody4780586469372261843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333169099,"filename":"image_04112025_23_36_54_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109162","file1":"1402109161","file0":"1402109160","file4":"1402109164","file5":"1402109165","file3":"1402109163"},"map_files_photo_id_array":[{"photo_id":"1402109165","filename":"file5"},{"photo_id":"1402109162","filename":"file2"},{"photo_id":"1402109164","filename":"file4"},{"photo_id":"1402109161","filename":"file1"},{"photo_id":"1402109160","filename":"file0"},{"photo_id":"1402109163","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402109164":["hashtag1","hashtag2"]},{"1402109161":["hashtag1","hashtag2"]},{"1402109160":["hashtag1","hashtag2"]},{"1402109163":["hashtag1","hashtag2"]},{"1402109165":["hashtag1","hashtag2"]},{"1402109162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402109164, 1402109161, 1402109160, 1402109163, 1402109165, 1402109162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50675702095032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:52:32.064647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_30_2942.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_33_2789.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_42_2806.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_45_2715.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_48_3655.jpg', '/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_54_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_30_2942.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_33_2789.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_42_2806.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_45_2715.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_48_3655.jpg
/home/pi/Desktop/images/04112025/23/37/image_04112025_23_37_54_2861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109176","1402109173","1402109169","1402109178","1402109171","1402109177"],"photo_ids_order":["1402109169","1402109171","1402109173","1402109176","1402109177","1402109178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5af456d3ef7e9d48e1cef5642a219b6.jpg","text":"TemporaryFile(/tmp/multipartBody187749099978336223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333213872,"filename":"image_04112025_23_37_45_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/2/c66805ccef60adc57e87c878814e2dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5129704046529531256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333213872,"filename":"image_04112025_23_37_42_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/2/3c8ff627571231928c63c483b128438f.jpg","text":"TemporaryFile(/tmp/multipartBody1253631968419541883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333213872,"filename":"image_04112025_23_37_30_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1bc72cd76127b9277f2392406de9e2c0.jpg","text":"TemporaryFile(/tmp/multipartBody5854979968607320804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333213872,"filename":"image_04112025_23_37_54_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e27e857c3da394797b5f80d0fd637ac.jpg","text":"TemporaryFile(/tmp/multipartBody8906895871875732074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333213872,"filename":"image_04112025_23_37_33_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/2/556bd313f1ab75d7d0f07aff728f3d49.jpg","text":"TemporaryFile(/tmp/multipartBody4497373747548478614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333213872,"filename":"image_04112025_23_37_48_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109173","file1":"1402109171","file0":"1402109169","file4":"1402109177","file5":"1402109178","file3":"1402109176"},"map_files_photo_id_array":[{"photo_id":"1402109178","filename":"file5"},{"photo_id":"1402109173","filename":"file2"},{"photo_id":"1402109177","filename":"file4"},{"photo_id":"1402109171","filename":"file1"},{"photo_id":"1402109169","filename":"file0"},{"photo_id":"1402109176","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402109176":["hashtag1","hashtag2"]},{"1402109173":["hashtag1","hashtag2"]},{"1402109169":["hashtag1","hashtag2"]},{"1402109178":["hashtag1","hashtag2"]},{"1402109171":["hashtag1","hashtag2"]},{"1402109177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402109176, 1402109173, 1402109169, 1402109178, 1402109171, 1402109177)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.04119277000427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 06:53:22.188516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/54/image_02012026_05_54_55_9488.jpg', '/home/pi/Desktop/images/02012026/05/54/image_02012026_05_55_05_10538.jpg', '/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_15_9915.jpg', '/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_34_9699.jpg', '/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_45_10645.jpg', '/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_55_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/54/image_02012026_05_54_55_9488.jpg
/home/pi/Desktop/images/02012026/05/54/image_02012026_05_55_05_10538.jpg
/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_15_9915.jpg
/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_34_9699.jpg
/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_45_10645.jpg
/home/pi/Desktop/images/02012026/05/55/image_02012026_05_55_55_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":["1402109182","1402109191","1402109185","1402109187","1402109196","1402109189"],"photo_ids_order":["1402109182","1402109185","1402109187","1402109189","1402109191","1402109196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/41a961c99abee933c1a305a3c798a899.jpg","text":"TemporaryFile(/tmp/multipartBody4823312929471797717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333262773,"filename":"image_02012026_05_54_55_9488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6cff5513232985134f9ee724bc0f26b.jpg","text":"TemporaryFile(/tmp/multipartBody4904225203743805443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333262773,"filename":"image_02012026_05_55_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/2/4c795dd1b5a40a85f771be70c3eacb32.jpg","text":"TemporaryFile(/tmp/multipartBody1312209391932031406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333262773,"filename":"image_02012026_05_55_05_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/45a734c1f610487da29a4824730b1bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8050881435112353684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333262773,"filename":"image_02012026_05_55_15_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d17a7d390c15275a82db8042091752e3.jpg","text":"TemporaryFile(/tmp/multipartBody8183509799370464683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333262773,"filename":"image_02012026_05_55_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/2/fa238f30b17be99c9ea0e52134ba54a3.jpg","text":"TemporaryFile(/tmp/multipartBody6190512090475155075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333262773,"filename":"image_02012026_05_55_34_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109187","file1":"1402109185","file0":"1402109182","file4":"1402109191","file5":"1402109196","file3":"1402109189"},"map_files_photo_id_array":[{"photo_id":"1402109196","filename":"file5"},{"photo_id":"1402109187","filename":"file2"},{"photo_id":"1402109191","filename":"file4"},{"photo_id":"1402109185","filename":"file1"},{"photo_id":"1402109182","filename":"file0"},{"photo_id":"1402109189","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109182":["hashtag1","hashtag2"]},{"1402109191":["hashtag1","hashtag2"]},{"1402109185":["hashtag1","hashtag2"]},{"1402109187":["hashtag1","hashtag2"]},{"1402109196":["hashtag1","hashtag2"]},{"1402109189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109182, 1402109191, 1402109185, 1402109187, 1402109196, 1402109189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99937319755554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:54:03.052827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 06:54:12.426743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_01_1627.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_18_1727.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_20_1614.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_22_1783.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_24_1659.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_30_6853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_01_1627.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_18_1727.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_20_1614.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_22_1783.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_24_1659.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_30_6853.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":["1402109216","1402109207","1402109209","1402109203","1402109211","1402109214"],"photo_ids_order":["1402109203","1402109207","1402109209","1402109211","1402109214","1402109216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d2ffd0232e17568c155de84396ceb1c2.jpg","text":"TemporaryFile(/tmp/multipartBody9149853018217104937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333326183,"filename":"image_04112025_23_38_30_6853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e906c80a3fed12f16209c92cccd683df.jpg","text":"TemporaryFile(/tmp/multipartBody1647301736985705739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333326183,"filename":"image_04112025_23_38_18_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/2/871b07cac810149a4451ffb55944e836.jpg","text":"TemporaryFile(/tmp/multipartBody187277449599562562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333326183,"filename":"image_04112025_23_38_20_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/2/c77108060b5625192245f3e1c53b909d.jpg","text":"TemporaryFile(/tmp/multipartBody3235476357719151282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333326183,"filename":"image_04112025_23_38_01_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/2/918d0ca073c855714cdf1f667d00e6e3.jpg","text":"TemporaryFile(/tmp/multipartBody7141574160502432389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333326183,"filename":"image_04112025_23_38_22_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/2/06d0370fbf4495813c6e405037ec30d1.jpg","text":"TemporaryFile(/tmp/multipartBody6697897046210577112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333326183,"filename":"image_04112025_23_38_24_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109209","file1":"1402109207","file0":"1402109203","file4":"1402109214","file5":"1402109216","file3":"1402109211"},"map_files_photo_id_array":[{"photo_id":"1402109216","filename":"file5"},{"photo_id":"1402109209","filename":"file2"},{"photo_id":"1402109214","filename":"file4"},{"photo_id":"1402109207","filename":"file1"},{"photo_id":"1402109203","filename":"file0"},{"photo_id":"1402109211","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402109216":["hashtag1","hashtag2"]},{"1402109207":["hashtag1","hashtag2"]},{"1402109209":["hashtag1","hashtag2"]},{"1402109203":["hashtag1","hashtag2"]},{"1402109211":["hashtag1","hashtag2"]},{"1402109214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402109216, 1402109207, 1402109209, 1402109203, 1402109211, 1402109214)","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 = 1402109209 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_20_1614.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 72.75112724304199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 06:55:31.955610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 06:55:41.962727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_32_1600.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_34_1613.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_37_1632.jpg', '/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_43_1653.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_06_1574.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_31_6026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_32_1600.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_34_1613.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_37_1632.jpg
/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_43_1653.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_06_1574.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_31_6026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402109230","1402109233","1402109236","1402109235","1402109232","1402109234"],"photo_ids_order":["1402109230","1402109232","1402109233","1402109234","1402109235","1402109236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/63779aada65a41637ed256a53f0dcde4.jpg","text":"TemporaryFile(/tmp/multipartBody515698968291056458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333404769,"filename":"image_04112025_23_38_32_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/2/25a826041cfaa56524840b2885706084.jpg","text":"TemporaryFile(/tmp/multipartBody4492197907709682983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333404769,"filename":"image_04112025_23_38_37_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/2/c529e4c459ca5e6f116e2bcf924d060a.jpg","text":"TemporaryFile(/tmp/multipartBody3896814510554277053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333404769,"filename":"image_04112025_23_39_31_6026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5d9cb95d1001d4441b536406ee165631.jpg","text":"TemporaryFile(/tmp/multipartBody8567504428195609373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333404769,"filename":"image_04112025_23_39_06_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/2/9948f914316d42cb90f1f95be1c2cabe.jpg","text":"TemporaryFile(/tmp/multipartBody4052565612400594443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333404769,"filename":"image_04112025_23_38_34_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/2/585794270d67f60fb3973a3fa2fad335.jpg","text":"TemporaryFile(/tmp/multipartBody1463609037372241866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333404769,"filename":"image_04112025_23_38_43_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109233","file1":"1402109232","file0":"1402109230","file4":"1402109235","file5":"1402109236","file3":"1402109234"},"map_files_photo_id_array":[{"photo_id":"1402109236","filename":"file5"},{"photo_id":"1402109233","filename":"file2"},{"photo_id":"1402109235","filename":"file4"},{"photo_id":"1402109232","filename":"file1"},{"photo_id":"1402109230","filename":"file0"},{"photo_id":"1402109234","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402109230":["hashtag1","hashtag2"]},{"1402109233":["hashtag1","hashtag2"]},{"1402109236":["hashtag1","hashtag2"]},{"1402109235":["hashtag1","hashtag2"]},{"1402109232":["hashtag1","hashtag2"]},{"1402109234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402109230, 1402109233, 1402109236, 1402109235, 1402109232, 1402109234)","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 = 1402109233 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/04112025/23/38/image_04112025_23_38_37_1632.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.197131633758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:57:04.284141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/56/image_02012026_05_56_15_10633.jpg', '/home/pi/Desktop/images/02012026/05/56/image_02012026_05_56_25_9757.jpg', '/home/pi/Desktop/images/02012026/05/56/image_02012026_05_56_55_10589.jpg', '/home/pi/Desktop/images/02012026/05/56/image_02012026_05_57_05_9698.jpg', '/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_14_9670.jpg', '/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_25_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/56/image_02012026_05_56_15_10633.jpg
/home/pi/Desktop/images/02012026/05/56/image_02012026_05_56_25_9757.jpg
/home/pi/Desktop/images/02012026/05/56/image_02012026_05_56_55_10589.jpg
/home/pi/Desktop/images/02012026/05/56/image_02012026_05_57_05_9698.jpg
/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_14_9670.jpg
/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_25_10798.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":["1402109275","1402109278","1402109262","1402109265","1402109259","1402109270"],"photo_ids_order":["1402109259","1402109262","1402109265","1402109270","1402109275","1402109278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/270cb7672e4a05b8842e5b7ca42deac4.jpg","text":"TemporaryFile(/tmp/multipartBody3287083738798371781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333488701,"filename":"image_02012026_05_57_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/2/623aa02c272ecb6a95e0fe21e33f70b2.jpg","text":"TemporaryFile(/tmp/multipartBody1333296731448950107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333488701,"filename":"image_02012026_05_57_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/2/8b93656169c506cf60444546c91da567.jpg","text":"TemporaryFile(/tmp/multipartBody1064292298265653958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333488701,"filename":"image_02012026_05_56_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/2/69891ffa5e9ec5183f1567729dfe38d8.jpg","text":"TemporaryFile(/tmp/multipartBody2829399149361868436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333488701,"filename":"image_02012026_05_56_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/2/95ad1bfa881deaceab38469ddac5b12f.jpg","text":"TemporaryFile(/tmp/multipartBody4554623159077941390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333488701,"filename":"image_02012026_05_56_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/2/617dd82d9d05f1f00496b330be555bd6.jpg","text":"TemporaryFile(/tmp/multipartBody637002413301869294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333488701,"filename":"image_02012026_05_57_05_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109265","file1":"1402109262","file0":"1402109259","file4":"1402109275","file5":"1402109278","file3":"1402109270"},"map_files_photo_id_array":[{"photo_id":"1402109278","filename":"file5"},{"photo_id":"1402109265","filename":"file2"},{"photo_id":"1402109275","filename":"file4"},{"photo_id":"1402109262","filename":"file1"},{"photo_id":"1402109259","filename":"file0"},{"photo_id":"1402109270","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109275":["hashtag1","hashtag2"]},{"1402109278":["hashtag1","hashtag2"]},{"1402109262":["hashtag1","hashtag2"]},{"1402109265":["hashtag1","hashtag2"]},{"1402109259":["hashtag1","hashtag2"]},{"1402109270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109275, 1402109278, 1402109262, 1402109265, 1402109259, 1402109270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.242141008377075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 06:59:02.773178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_45_9671.jpg', '/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_55_9944.jpg', '/home/pi/Desktop/images/02012026/05/57/image_02012026_05_58_05_10711.jpg', '/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_15_9648.jpg', '/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_24_9558.jpg', '/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_35_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_45_9671.jpg
/home/pi/Desktop/images/02012026/05/57/image_02012026_05_57_55_9944.jpg
/home/pi/Desktop/images/02012026/05/57/image_02012026_05_58_05_10711.jpg
/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_15_9648.jpg
/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_24_9558.jpg
/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_35_10742.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":["1402109395","1402109353","1402109512","1402109608","1402109442","1402109307"],"photo_ids_order":["1402109307","1402109353","1402109395","1402109442","1402109512","1402109608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7afddae919e74898328b7ebc60862ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7309856362070885330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333603577,"filename":"image_02012026_05_58_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/2/906942cda0b82db036d381a34f39205a.jpg","text":"TemporaryFile(/tmp/multipartBody9029832838834613425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333603577,"filename":"image_02012026_05_57_55_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36c9f45cf7e4b267dd8e3826c608f708.jpg","text":"TemporaryFile(/tmp/multipartBody6766138023369926775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333603577,"filename":"image_02012026_05_58_24_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/2/54a3b0900ab75f6cc22dca5d65039917.jpg","text":"TemporaryFile(/tmp/multipartBody445385477475172715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333603577,"filename":"image_02012026_05_58_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/2/0c6666c4acd8dd044c3ad3dcdad75b03.jpg","text":"TemporaryFile(/tmp/multipartBody7718904495610481813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333603577,"filename":"image_02012026_05_58_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/2/8ef304e666003cb9d511384af61a5e26.jpg","text":"TemporaryFile(/tmp/multipartBody1938474797909954452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333603577,"filename":"image_02012026_05_57_45_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402109395","file1":"1402109353","file0":"1402109307","file4":"1402109512","file5":"1402109608","file3":"1402109442"},"map_files_photo_id_array":[{"photo_id":"1402109608","filename":"file5"},{"photo_id":"1402109395","filename":"file2"},{"photo_id":"1402109512","filename":"file4"},{"photo_id":"1402109353","filename":"file1"},{"photo_id":"1402109307","filename":"file0"},{"photo_id":"1402109442","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402109395":["hashtag1","hashtag2"]},{"1402109353":["hashtag1","hashtag2"]},{"1402109512":["hashtag1","hashtag2"]},{"1402109608":["hashtag1","hashtag2"]},{"1402109442":["hashtag1","hashtag2"]},{"1402109307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402109395, 1402109353, 1402109512, 1402109608, 1402109442, 1402109307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.288782358169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:00:02.684784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_45_9618.jpg', '/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_54_9598.jpg', '/home/pi/Desktop/images/02012026/05/58/image_02012026_05_59_05_10709.jpg', '/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_15_9833.jpg', '/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_25_9697.jpg', '/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_45_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_45_9618.jpg
/home/pi/Desktop/images/02012026/05/58/image_02012026_05_58_54_9598.jpg
/home/pi/Desktop/images/02012026/05/58/image_02012026_05_59_05_10709.jpg
/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_15_9833.jpg
/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_25_9697.jpg
/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_45_10528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110158","1402110212","1402110088","1402110186","1402110141","1402110176"],"photo_ids_order":["1402110088","1402110141","1402110158","1402110176","1402110186","1402110212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b34e2b4855902eaba27ff7fa62b6caa.jpg","text":"TemporaryFile(/tmp/multipartBody7844013423217850076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333663327,"filename":"image_02012026_05_59_05_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/2/04c36ce36e5d7607308bafaa13fd8c3d.jpg","text":"TemporaryFile(/tmp/multipartBody3630734590338657142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333663327,"filename":"image_02012026_05_59_45_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/2/c6bb9714767ded118fc54ef743139565.jpg","text":"TemporaryFile(/tmp/multipartBody5871162171440477956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333663327,"filename":"image_02012026_05_58_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a4fcf0922895d063f10697bb8f7ec86.jpg","text":"TemporaryFile(/tmp/multipartBody6490834278021759212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333663327,"filename":"image_02012026_05_59_25_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/2/d2905eeb569793570931e1c2dbb7d25e.jpg","text":"TemporaryFile(/tmp/multipartBody6302476977859253744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333663327,"filename":"image_02012026_05_58_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/2/fe2027a531af7c61cb4eb02c2410b917.jpg","text":"TemporaryFile(/tmp/multipartBody4601110639212290735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333663327,"filename":"image_02012026_05_59_15_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110158","file1":"1402110141","file0":"1402110088","file4":"1402110186","file5":"1402110212","file3":"1402110176"},"map_files_photo_id_array":[{"photo_id":"1402110212","filename":"file5"},{"photo_id":"1402110158","filename":"file2"},{"photo_id":"1402110186","filename":"file4"},{"photo_id":"1402110141","filename":"file1"},{"photo_id":"1402110088","filename":"file0"},{"photo_id":"1402110176","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110158":["hashtag1","hashtag2"]},{"1402110212":["hashtag1","hashtag2"]},{"1402110088":["hashtag1","hashtag2"]},{"1402110186":["hashtag1","hashtag2"]},{"1402110141":["hashtag1","hashtag2"]},{"1402110176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110158, 1402110212, 1402110088, 1402110186, 1402110141, 1402110176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38471436500549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:00:42.287786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_34_1851.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_39_1673.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_42_1704.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_46_1841.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_49_1599.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_51_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_34_1851.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_39_1673.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_42_1704.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_46_1841.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_49_1599.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_51_1546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110356","1402110341","1402110361","1402110331","1402110301","1402110360"],"photo_ids_order":["1402110301","1402110331","1402110341","1402110356","1402110360","1402110361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1112d4e69e7bc847949b782cc855205b.jpg","text":"TemporaryFile(/tmp/multipartBody3942713448288981613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333704119,"filename":"image_04112025_23_39_46_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9784da17715c62c7bff69031ee4975d3.jpg","text":"TemporaryFile(/tmp/multipartBody4478731656564571547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333704119,"filename":"image_04112025_23_39_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/2/8d876ac5f409d50cce10d8613a2b3fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3046022529575668855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333704119,"filename":"image_04112025_23_39_51_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/2/1ab88b5b5ab3584398afbb898493cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody3597580095954747779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333704119,"filename":"image_04112025_23_39_39_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/2/35524132a78ccaba138d18312f9728d9.jpg","text":"TemporaryFile(/tmp/multipartBody6542661101573540960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333704119,"filename":"image_04112025_23_39_34_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/2/e73de7f39b2b584d65606d4b020ee111.jpg","text":"TemporaryFile(/tmp/multipartBody1878079492009339152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333704119,"filename":"image_04112025_23_39_49_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110341","file1":"1402110331","file0":"1402110301","file4":"1402110360","file5":"1402110361","file3":"1402110356"},"map_files_photo_id_array":[{"photo_id":"1402110361","filename":"file5"},{"photo_id":"1402110341","filename":"file2"},{"photo_id":"1402110360","filename":"file4"},{"photo_id":"1402110331","filename":"file1"},{"photo_id":"1402110301","filename":"file0"},{"photo_id":"1402110356","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110356":["hashtag1","hashtag2"]},{"1402110341":["hashtag1","hashtag2"]},{"1402110361":["hashtag1","hashtag2"]},{"1402110331":["hashtag1","hashtag2"]},{"1402110301":["hashtag1","hashtag2"]},{"1402110360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110356, 1402110341, 1402110361, 1402110331, 1402110301, 1402110360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.314082622528076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:01:22.463846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_55_9551.jpg', '/home/pi/Desktop/images/02012026/05/59/image_02012026_06_00_05_10654.jpg', '/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_15_9725.jpg', '/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_34_9793.jpg', '/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_45_10790.jpg', '/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_55_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/05/59/image_02012026_05_59_55_9551.jpg
/home/pi/Desktop/images/02012026/05/59/image_02012026_06_00_05_10654.jpg
/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_15_9725.jpg
/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_34_9793.jpg
/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_45_10790.jpg
/home/pi/Desktop/images/02012026/06/00/image_02012026_06_00_55_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":["1402110377","1402110371","1402110368","1402110373","1402110375","1402110380"],"photo_ids_order":["1402110368","1402110371","1402110373","1402110375","1402110377","1402110380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3cee48cb6c219f9f21c0e3a10a250486.jpg","text":"TemporaryFile(/tmp/multipartBody7317144382405624308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333743080,"filename":"image_02012026_06_00_45_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/2/3f69d24ef479ef8fc7338136a09d6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody330613232272851869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333743080,"filename":"image_02012026_06_00_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/2/d4fd59e42640aa4b8ea068041df8471c.jpg","text":"TemporaryFile(/tmp/multipartBody2664757565149979903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333743080,"filename":"image_02012026_05_59_55_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/2/f04c1e7ea0eed5362728b0f6afb0488b.jpg","text":"TemporaryFile(/tmp/multipartBody5953015250080616521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333743080,"filename":"image_02012026_06_00_15_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/2/6f40233ca3a53bf6569ed9ea96c75c70.jpg","text":"TemporaryFile(/tmp/multipartBody4727154074064538891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333743080,"filename":"image_02012026_06_00_34_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/2/b5093a30de9d2c0a312b16877704649b.jpg","text":"TemporaryFile(/tmp/multipartBody5851892537415682056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333743080,"filename":"image_02012026_06_00_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110373","file1":"1402110371","file0":"1402110368","file4":"1402110377","file5":"1402110380","file3":"1402110375"},"map_files_photo_id_array":[{"photo_id":"1402110380","filename":"file5"},{"photo_id":"1402110373","filename":"file2"},{"photo_id":"1402110377","filename":"file4"},{"photo_id":"1402110371","filename":"file1"},{"photo_id":"1402110368","filename":"file0"},{"photo_id":"1402110375","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110377":["hashtag1","hashtag2"]},{"1402110371":["hashtag1","hashtag2"]},{"1402110368":["hashtag1","hashtag2"]},{"1402110373":["hashtag1","hashtag2"]},{"1402110375":["hashtag1","hashtag2"]},{"1402110380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110377, 1402110371, 1402110368, 1402110373, 1402110375, 1402110380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60366225242615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:02:03.102555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/00/image_02012026_06_01_05_9712.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_14_9700.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_25_10644.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_35_9587.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_45_10165.jpg', '/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_16_11394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/00/image_02012026_06_01_05_9712.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_14_9700.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_25_10644.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_35_9587.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_45_10165.jpg
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_16_11394.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5808494091033936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:02:12.626400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/39/image_04112025_23_39_54_1881.jpg', '/home/pi/Desktop/images/04112025/23/39/image_04112025_23_40_00_2661.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_03_3648.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_09_2765.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_50_1616.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_52_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/23/39/image_04112025_23_39_54_1881.jpg
/home/pi/Desktop/images/04112025/23/39/image_04112025_23_40_00_2661.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_03_3648.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_09_2765.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_50_1616.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_52_1659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110386","1402110397","1402110404","1402110390","1402110402","1402110395"],"photo_ids_order":["1402110386","1402110390","1402110395","1402110397","1402110402","1402110404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5720051e6bb2cfa2504b47964ded3570.jpg","text":"TemporaryFile(/tmp/multipartBody4317731128089080922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333794339,"filename":"image_04112025_23_39_54_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/2/60401cd21e0a1a37134aa59580c9c72f.jpg","text":"TemporaryFile(/tmp/multipartBody5293284784360358528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333794339,"filename":"image_04112025_23_40_09_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/2/54b464e2735ad1b7b1ed7071b1e4dc1f.jpg","text":"TemporaryFile(/tmp/multipartBody4855780022120746825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333794339,"filename":"image_04112025_23_40_52_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/2/9ea7d5223069feb20b8e6c829cc1850f.jpg","text":"TemporaryFile(/tmp/multipartBody6367012746774525760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333794339,"filename":"image_04112025_23_40_00_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/2/a6839b2b6a926526ae6234cd82d10a32.jpg","text":"TemporaryFile(/tmp/multipartBody1743677507544672802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333794339,"filename":"image_04112025_23_40_50_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/2/3a26fb64324e21f40c5958951714c902.jpg","text":"TemporaryFile(/tmp/multipartBody6864936975076597893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333794339,"filename":"image_04112025_23_40_03_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110395","file1":"1402110390","file0":"1402110386","file4":"1402110402","file5":"1402110404","file3":"1402110397"},"map_files_photo_id_array":[{"photo_id":"1402110404","filename":"file5"},{"photo_id":"1402110395","filename":"file2"},{"photo_id":"1402110402","filename":"file4"},{"photo_id":"1402110390","filename":"file1"},{"photo_id":"1402110386","filename":"file0"},{"photo_id":"1402110397","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110386":["hashtag1","hashtag2"]},{"1402110397":["hashtag1","hashtag2"]},{"1402110404":["hashtag1","hashtag2"]},{"1402110390":["hashtag1","hashtag2"]},{"1402110402":["hashtag1","hashtag2"]},{"1402110395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110386, 1402110397, 1402110404, 1402110390, 1402110402, 1402110395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94610810279846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:03:02.567233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/00/image_02012026_06_01_05_9712.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_14_9700.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_25_10644.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_35_9587.jpg', '/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_45_10165.jpg', '/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_16_11394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/00/image_02012026_06_01_05_9712.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_14_9700.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_25_10644.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_35_9587.jpg
/home/pi/Desktop/images/02012026/06/01/image_02012026_06_01_45_10165.jpg
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_16_11394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110419","1402110407","1402110409","1402110414","1402110417","1402110411"],"photo_ids_order":["1402110407","1402110409","1402110411","1402110414","1402110417","1402110419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d0f94bff8e55c485693cdb2d91d5aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5174411618402438464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333843260,"filename":"image_02012026_06_02_16_11394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32eae9da4f0447c82fb7caa7e6ebaeb9.jpg","text":"TemporaryFile(/tmp/multipartBody2113367605904346584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333843260,"filename":"image_02012026_06_01_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/2/65e4e772d5ad8285c8ac794ee66493cd.jpg","text":"TemporaryFile(/tmp/multipartBody1327044570802495841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333843260,"filename":"image_02012026_06_01_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/2/3ea4fb79bef7c9c45f633162b4218fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8255368329229744493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333843260,"filename":"image_02012026_06_01_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/2/70f34f9db97ca5efceaedc363897d219.jpg","text":"TemporaryFile(/tmp/multipartBody609600009835129215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333843260,"filename":"image_02012026_06_01_45_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/2/7afec0da8780fb6a10527d8735d28959.jpg","text":"TemporaryFile(/tmp/multipartBody7476681830482038529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333843260,"filename":"image_02012026_06_01_25_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110411","file1":"1402110409","file0":"1402110407","file4":"1402110417","file5":"1402110419","file3":"1402110414"},"map_files_photo_id_array":[{"photo_id":"1402110419","filename":"file5"},{"photo_id":"1402110411","filename":"file2"},{"photo_id":"1402110417","filename":"file4"},{"photo_id":"1402110409","filename":"file1"},{"photo_id":"1402110407","filename":"file0"},{"photo_id":"1402110414","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110419":["hashtag1","hashtag2"]},{"1402110407":["hashtag1","hashtag2"]},{"1402110409":["hashtag1","hashtag2"]},{"1402110414":["hashtag1","hashtag2"]},{"1402110417":["hashtag1","hashtag2"]},{"1402110411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110419, 1402110407, 1402110409, 1402110414, 1402110417, 1402110411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06129193305969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:03:42.054612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_54_1628.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_55_1654.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_57_1670.jpg', '/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_59_1987.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_02_1640.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_04_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/23/40/image_04112025_23_40_54_1628.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_55_1654.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_57_1670.jpg
/home/pi/Desktop/images/04112025/23/40/image_04112025_23_40_59_1987.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_02_1640.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_04_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110431","1402110425","1402110428","1402110436","1402110427","1402110429"],"photo_ids_order":["1402110425","1402110427","1402110428","1402110429","1402110431","1402110436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/202191420845ef723fc38ee90d33b736.jpg","text":"TemporaryFile(/tmp/multipartBody7707454256587252542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333883865,"filename":"image_04112025_23_41_02_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/2/aff6bcf4380b303d5c1e4e209576a21d.jpg","text":"TemporaryFile(/tmp/multipartBody5581623241921258541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333883865,"filename":"image_04112025_23_40_54_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/2/c49be22070e5560858ba32eee59f4cac.jpg","text":"TemporaryFile(/tmp/multipartBody5868349438150610614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333883865,"filename":"image_04112025_23_40_57_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/2/6a6f96743612586185d8af9a1edd1a35.jpg","text":"TemporaryFile(/tmp/multipartBody4220288119816353606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333883865,"filename":"image_04112025_23_41_04_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/2/9b2cf04e27c7b9536cb3a488d76ed218.jpg","text":"TemporaryFile(/tmp/multipartBody97625702532071362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333883865,"filename":"image_04112025_23_40_55_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/2/f13f633050c9a2cedfc28513771489bc.jpg","text":"TemporaryFile(/tmp/multipartBody974185541704047602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333883865,"filename":"image_04112025_23_40_59_1987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110428","file1":"1402110427","file0":"1402110425","file4":"1402110431","file5":"1402110436","file3":"1402110429"},"map_files_photo_id_array":[{"photo_id":"1402110436","filename":"file5"},{"photo_id":"1402110428","filename":"file2"},{"photo_id":"1402110431","filename":"file4"},{"photo_id":"1402110427","filename":"file1"},{"photo_id":"1402110425","filename":"file0"},{"photo_id":"1402110429","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110431":["hashtag1","hashtag2"]},{"1402110425":["hashtag1","hashtag2"]},{"1402110428":["hashtag1","hashtag2"]},{"1402110436":["hashtag1","hashtag2"]},{"1402110427":["hashtag1","hashtag2"]},{"1402110429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110431, 1402110425, 1402110428, 1402110436, 1402110427, 1402110429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21069002151489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:04:22.218725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_25_8741.jpg', '/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_35_9713.jpg', '/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_45_9716.jpg', '/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_54_9741.jpg', '/home/pi/Desktop/images/02012026/06/02/image_02012026_06_03_05_10241.jpg', '/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_15_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_25_8741.jpg
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_35_9713.jpg
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_45_9716.jpg
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_02_54_9741.jpg
/home/pi/Desktop/images/02012026/06/02/image_02012026_06_03_05_10241.jpg
/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_15_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110449","1402110454","1402110463","1402110457","1402110447","1402110488"],"photo_ids_order":["1402110447","1402110449","1402110454","1402110457","1402110463","1402110488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a71433c055eeb69f8b507ef2682fc618.jpg","text":"TemporaryFile(/tmp/multipartBody4752569920485374540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333922823,"filename":"image_02012026_06_02_35_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/2/ef399f449f6e6739513540facf673a24.jpg","text":"TemporaryFile(/tmp/multipartBody8177512352088206957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333922823,"filename":"image_02012026_06_02_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/2/746a68a8d79b991f91b8c0de32693d26.jpg","text":"TemporaryFile(/tmp/multipartBody3776119060936317845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333922823,"filename":"image_02012026_06_03_05_10241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8b2c3dfd1e2412be5f2a710f74dccb00.jpg","text":"TemporaryFile(/tmp/multipartBody3139355617074804815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333922823,"filename":"image_02012026_06_02_54_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/2/f4c749e0b40132ca017aac3a39f24971.jpg","text":"TemporaryFile(/tmp/multipartBody4403303425905979534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333922823,"filename":"image_02012026_06_02_25_8741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/97bff3a46568c239e60dada23b8053b7.jpg","text":"TemporaryFile(/tmp/multipartBody358428900939123366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333922823,"filename":"image_02012026_06_03_15_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110454","file1":"1402110449","file0":"1402110447","file4":"1402110463","file5":"1402110488","file3":"1402110457"},"map_files_photo_id_array":[{"photo_id":"1402110488","filename":"file5"},{"photo_id":"1402110454","filename":"file2"},{"photo_id":"1402110463","filename":"file4"},{"photo_id":"1402110449","filename":"file1"},{"photo_id":"1402110447","filename":"file0"},{"photo_id":"1402110457","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110449":["hashtag1","hashtag2"]},{"1402110454":["hashtag1","hashtag2"]},{"1402110463":["hashtag1","hashtag2"]},{"1402110457":["hashtag1","hashtag2"]},{"1402110447":["hashtag1","hashtag2"]},{"1402110488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110449, 1402110454, 1402110463, 1402110457, 1402110447, 1402110488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.603935956954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:05:02.988618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_25_9702.jpg', '/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_35_9698.jpg', '/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_45_10650.jpg', '/home/pi/Desktop/images/02012026/06/04/image_02012026_06_04_25_9687.jpg', '/home/pi/Desktop/images/02012026/06/04/image_02012026_06_04_35_9972.jpg', '/home/pi/Desktop/images/02012026/06/04/image_02012026_06_04_45_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_25_9702.jpg
/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_35_9698.jpg
/home/pi/Desktop/images/02012026/06/03/image_02012026_06_03_45_10650.jpg
/home/pi/Desktop/images/02012026/06/04/image_02012026_06_04_25_9687.jpg
/home/pi/Desktop/images/02012026/06/04/image_02012026_06_04_35_9972.jpg
/home/pi/Desktop/images/02012026/06/04/image_02012026_06_04_45_9867.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":["1402110640","1402110643","1402110637","1402110645","1402110633","1402110615"],"photo_ids_order":["1402110615","1402110633","1402110637","1402110640","1402110643","1402110645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ded52f632aae0d3ec979f3210f204fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6743330215607374413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333967157,"filename":"image_02012026_06_04_25_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/2/8aae117cceec6848df1bda49a461fb1a.jpg","text":"TemporaryFile(/tmp/multipartBody4872021067063018155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333967157,"filename":"image_02012026_06_04_35_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/2/ac2ce173acd96c5ef2ffa5183c25dff2.jpg","text":"TemporaryFile(/tmp/multipartBody1515556587846392931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333967157,"filename":"image_02012026_06_03_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/2/45c5da15bb70ad36fe2e522477cf1c19.jpg","text":"TemporaryFile(/tmp/multipartBody7789855584577267000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333967157,"filename":"image_02012026_06_04_45_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/2/373dc1e822053054c62c7606ada66ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5493670362271660467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333967157,"filename":"image_02012026_06_03_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/2/73b6de6d6c49fa1e5c2e32988d9212da.jpg","text":"TemporaryFile(/tmp/multipartBody354886018103794435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767333967157,"filename":"image_02012026_06_03_25_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110637","file1":"1402110633","file0":"1402110615","file4":"1402110643","file5":"1402110645","file3":"1402110640"},"map_files_photo_id_array":[{"photo_id":"1402110645","filename":"file5"},{"photo_id":"1402110637","filename":"file2"},{"photo_id":"1402110643","filename":"file4"},{"photo_id":"1402110633","filename":"file1"},{"photo_id":"1402110615","filename":"file0"},{"photo_id":"1402110640","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110640":["hashtag1","hashtag2"]},{"1402110643":["hashtag1","hashtag2"]},{"1402110637":["hashtag1","hashtag2"]},{"1402110645":["hashtag1","hashtag2"]},{"1402110633":["hashtag1","hashtag2"]},{"1402110615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110640, 1402110643, 1402110637, 1402110645, 1402110633, 1402110615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85968852043152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:06:03.006533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/04/image_02012026_06_05_05_9616.jpg', '/home/pi/Desktop/images/02012026/06/05/image_02012026_06_05_14_9651.jpg', '/home/pi/Desktop/images/02012026/06/05/image_02012026_06_05_25_10690.jpg', '/home/pi/Desktop/images/02012026/06/05/image_02012026_06_05_35_9800.jpg', '/home/pi/Desktop/images/02012026/06/05/image_02012026_06_06_05_9675.jpg', '/home/pi/Desktop/images/02012026/06/06/image_02012026_06_06_15_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/04/image_02012026_06_05_05_9616.jpg
/home/pi/Desktop/images/02012026/06/05/image_02012026_06_05_14_9651.jpg
/home/pi/Desktop/images/02012026/06/05/image_02012026_06_05_25_10690.jpg
/home/pi/Desktop/images/02012026/06/05/image_02012026_06_05_35_9800.jpg
/home/pi/Desktop/images/02012026/06/05/image_02012026_06_06_05_9675.jpg
/home/pi/Desktop/images/02012026/06/06/image_02012026_06_06_15_10032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110656","1402110659","1402110664","1402110658","1402110661","1402110654"],"photo_ids_order":["1402110654","1402110656","1402110658","1402110659","1402110661","1402110664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6fccf013076cedbfd2760e0bd4b241e4.jpg","text":"TemporaryFile(/tmp/multipartBody7196097949739654744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334023708,"filename":"image_02012026_06_05_14_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/2/f8b981fb7a96b971aa0303710e34aad4.jpg","text":"TemporaryFile(/tmp/multipartBody1732110510220353023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334023708,"filename":"image_02012026_06_05_35_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/2/f738179e205804ba6090795ac8dab1fa.jpg","text":"TemporaryFile(/tmp/multipartBody174250337079697744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334023708,"filename":"image_02012026_06_06_15_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6e2a56f1bd509b7087c5dd9ae46585a.jpg","text":"TemporaryFile(/tmp/multipartBody5772839152630123954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334023708,"filename":"image_02012026_06_05_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/2/39297b2aa6c33980f8492a1d16e96bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6596408594846697083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334023708,"filename":"image_02012026_06_06_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/2/51a68410ab0033f8b4fd9446e778d525.jpg","text":"TemporaryFile(/tmp/multipartBody5120096513801080453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334023708,"filename":"image_02012026_06_05_05_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110658","file1":"1402110656","file0":"1402110654","file4":"1402110661","file5":"1402110664","file3":"1402110659"},"map_files_photo_id_array":[{"photo_id":"1402110664","filename":"file5"},{"photo_id":"1402110658","filename":"file2"},{"photo_id":"1402110661","filename":"file4"},{"photo_id":"1402110656","filename":"file1"},{"photo_id":"1402110654","filename":"file0"},{"photo_id":"1402110659","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110656":["hashtag1","hashtag2"]},{"1402110659":["hashtag1","hashtag2"]},{"1402110664":["hashtag1","hashtag2"]},{"1402110658":["hashtag1","hashtag2"]},{"1402110661":["hashtag1","hashtag2"]},{"1402110654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110656, 1402110659, 1402110664, 1402110658, 1402110661, 1402110654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566964864730835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:06:42.575223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_06_1583.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_10_1581.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_12_1580.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_15_1631.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_20_1567.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_22_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/23/41/image_04112025_23_41_06_1583.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_10_1581.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_12_1580.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_15_1631.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_20_1567.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_22_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":["1402110674","1402110677","1402110676","1402110673","1402110675","1402110672"],"photo_ids_order":["1402110672","1402110673","1402110674","1402110675","1402110676","1402110677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d57127ff359d1337f41a3683b336569.jpg","text":"TemporaryFile(/tmp/multipartBody8908466391836658404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334064268,"filename":"image_04112025_23_41_12_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/2/186cb2bba952e5f96ff8988574fab194.jpg","text":"TemporaryFile(/tmp/multipartBody4123908907420431965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334064268,"filename":"image_04112025_23_41_22_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/2/bf23aec20e7cc506ac743d20643b20f4.jpg","text":"TemporaryFile(/tmp/multipartBody7793899521490372537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334064268,"filename":"image_04112025_23_41_20_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/2/32f38b858139ca0d7f00d2b07829ef55.jpg","text":"TemporaryFile(/tmp/multipartBody4532568236851737784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334064268,"filename":"image_04112025_23_41_10_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/2/99ee9b9a48fd7cf3497139ef4d17c207.jpg","text":"TemporaryFile(/tmp/multipartBody255661913773492861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334064268,"filename":"image_04112025_23_41_15_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/2/51dfc3ddeb09eed044f6b13bcc206d94.jpg","text":"TemporaryFile(/tmp/multipartBody1638577937113869008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334064268,"filename":"image_04112025_23_41_06_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110674","file1":"1402110673","file0":"1402110672","file4":"1402110676","file5":"1402110677","file3":"1402110675"},"map_files_photo_id_array":[{"photo_id":"1402110677","filename":"file5"},{"photo_id":"1402110674","filename":"file2"},{"photo_id":"1402110676","filename":"file4"},{"photo_id":"1402110673","filename":"file1"},{"photo_id":"1402110672","filename":"file0"},{"photo_id":"1402110675","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110674":["hashtag1","hashtag2"]},{"1402110677":["hashtag1","hashtag2"]},{"1402110676":["hashtag1","hashtag2"]},{"1402110673":["hashtag1","hashtag2"]},{"1402110675":["hashtag1","hashtag2"]},{"1402110672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110674, 1402110677, 1402110676, 1402110673, 1402110675, 1402110672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.427006244659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:07:21.878578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/06/image_02012026_06_06_35_9929.jpg', '/home/pi/Desktop/images/02012026/06/06/image_02012026_06_06_54_9686.jpg', '/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_25_9881.jpg', '/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_34_9685.jpg', '/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_45_10648.jpg', '/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/06/image_02012026_06_06_35_9929.jpg
/home/pi/Desktop/images/02012026/06/06/image_02012026_06_06_54_9686.jpg
/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_25_9881.jpg
/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_34_9685.jpg
/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_45_10648.jpg
/home/pi/Desktop/images/02012026/06/07/image_02012026_06_07_55_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110694","1402110688","1402110690","1402110684","1402110692","1402110686"],"photo_ids_order":["1402110684","1402110686","1402110688","1402110690","1402110692","1402110694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/62f0a074e35a53fafa7f90eb3408a429.jpg","text":"TemporaryFile(/tmp/multipartBody5875109997519583740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334102489,"filename":"image_02012026_06_07_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/2/510f7c6c63cd5e29fab3e265f43d6a89.jpg","text":"TemporaryFile(/tmp/multipartBody2153985647989157835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334102489,"filename":"image_02012026_06_07_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/2/2c87953243109dbd84bc9be913b8d4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1902980161426376240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334102489,"filename":"image_02012026_06_07_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/2/44fdff02de19e83c6ed9308b8d6b7152.jpg","text":"TemporaryFile(/tmp/multipartBody6431085037581204451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334102489,"filename":"image_02012026_06_06_35_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/2/1a6eca89ec5b222be22c718211174b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6390922996884142818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334102489,"filename":"image_02012026_06_07_45_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/2/347ba6845d91f844c29447431fabb8f6.jpg","text":"TemporaryFile(/tmp/multipartBody6644691341537581577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334102489,"filename":"image_02012026_06_06_54_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110688","file1":"1402110686","file0":"1402110684","file4":"1402110692","file5":"1402110694","file3":"1402110690"},"map_files_photo_id_array":[{"photo_id":"1402110694","filename":"file5"},{"photo_id":"1402110688","filename":"file2"},{"photo_id":"1402110692","filename":"file4"},{"photo_id":"1402110686","filename":"file1"},{"photo_id":"1402110684","filename":"file0"},{"photo_id":"1402110690","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110694":["hashtag1","hashtag2"]},{"1402110688":["hashtag1","hashtag2"]},{"1402110690":["hashtag1","hashtag2"]},{"1402110684":["hashtag1","hashtag2"]},{"1402110692":["hashtag1","hashtag2"]},{"1402110686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110694, 1402110688, 1402110690, 1402110684, 1402110692, 1402110686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.302948236465454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:08:02.553546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/07/image_02012026_06_08_05_10620.jpg', '/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_15_9630.jpg', '/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_34_9772.jpg', '/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_45_10594.jpg', '/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_55_9681.jpg', '/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_04_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/07/image_02012026_06_08_05_10620.jpg
/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_15_9630.jpg
/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_34_9772.jpg
/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_45_10594.jpg
/home/pi/Desktop/images/02012026/06/08/image_02012026_06_08_55_9681.jpg
/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_04_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110719","1402110721","1402110700","1402110724","1402110696","1402110698"],"photo_ids_order":["1402110696","1402110698","1402110700","1402110719","1402110721","1402110724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a843ef8c7e36d1e296ce5cb193969930.jpg","text":"TemporaryFile(/tmp/multipartBody7543602887639401951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334143189,"filename":"image_02012026_06_08_45_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/2/0c0bf40d876ae2287df93d6cd663ab61.jpg","text":"TemporaryFile(/tmp/multipartBody5837069540150169662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334143189,"filename":"image_02012026_06_08_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/2/cc4ebdae5df84f22a793f7ea00bb7b42.jpg","text":"TemporaryFile(/tmp/multipartBody1270671907924798173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334143189,"filename":"image_02012026_06_08_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/2/0e3d4da56b6d0464c3918bdf9c2c144c.jpg","text":"TemporaryFile(/tmp/multipartBody5283058979080757657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334143189,"filename":"image_02012026_06_09_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/2/9000c3dc0b859aad01d0f7c4d10ebfc2.jpg","text":"TemporaryFile(/tmp/multipartBody6459572122160714210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334143189,"filename":"image_02012026_06_08_05_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/2/dbe887101c94294f291b66e2744d689a.jpg","text":"TemporaryFile(/tmp/multipartBody5869194232359621868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334143189,"filename":"image_02012026_06_08_15_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110700","file1":"1402110698","file0":"1402110696","file4":"1402110721","file5":"1402110724","file3":"1402110719"},"map_files_photo_id_array":[{"photo_id":"1402110724","filename":"file5"},{"photo_id":"1402110700","filename":"file2"},{"photo_id":"1402110721","filename":"file4"},{"photo_id":"1402110698","filename":"file1"},{"photo_id":"1402110696","filename":"file0"},{"photo_id":"1402110719","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110719":["hashtag1","hashtag2"]},{"1402110721":["hashtag1","hashtag2"]},{"1402110700":["hashtag1","hashtag2"]},{"1402110724":["hashtag1","hashtag2"]},{"1402110696":["hashtag1","hashtag2"]},{"1402110698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110719, 1402110721, 1402110700, 1402110724, 1402110696, 1402110698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46710801124573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:08:42.042891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_25_2765.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_26_1748.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_29_2771.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_33_3495.jpg', '/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_35_2698.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_13_9002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_25_2765.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_26_1748.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_29_2771.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_33_3495.jpg
/home/pi/Desktop/images/04112025/23/41/image_04112025_23_41_35_2698.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_13_9002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110827","1402110818","1402110812","1402110825","1402110819","1402110770"],"photo_ids_order":["1402110770","1402110812","1402110818","1402110819","1402110825","1402110827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/744c1fccf7a1976e51b195ca12cf8a8a.jpg","text":"TemporaryFile(/tmp/multipartBody3899578477944425621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334183868,"filename":"image_04112025_23_42_13_9002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe697ebf6621346875634ca47e070e68.jpg","text":"TemporaryFile(/tmp/multipartBody9100918879585533014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334183868,"filename":"image_04112025_23_41_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/2/805234dd02c1fae85ffc612cdf7d2405.jpg","text":"TemporaryFile(/tmp/multipartBody2811390094217769394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334183868,"filename":"image_04112025_23_41_26_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/2/6c313b873fed97b16c268db9805948c9.jpg","text":"TemporaryFile(/tmp/multipartBody7508784265172972112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334183868,"filename":"image_04112025_23_41_35_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/2/74b4d7b4fec6ceaf9806fed199c5db61.jpg","text":"TemporaryFile(/tmp/multipartBody7771990296018459166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334183868,"filename":"image_04112025_23_41_33_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/732e03ee285e5c8ad9ae1c3d8dd08c31.jpg","text":"TemporaryFile(/tmp/multipartBody528033279937743649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334183868,"filename":"image_04112025_23_41_25_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110818","file1":"1402110812","file0":"1402110770","file4":"1402110825","file5":"1402110827","file3":"1402110819"},"map_files_photo_id_array":[{"photo_id":"1402110827","filename":"file5"},{"photo_id":"1402110818","filename":"file2"},{"photo_id":"1402110825","filename":"file4"},{"photo_id":"1402110812","filename":"file1"},{"photo_id":"1402110770","filename":"file0"},{"photo_id":"1402110819","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110827":["hashtag1","hashtag2"]},{"1402110818":["hashtag1","hashtag2"]},{"1402110812":["hashtag1","hashtag2"]},{"1402110825":["hashtag1","hashtag2"]},{"1402110819":["hashtag1","hashtag2"]},{"1402110770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110827, 1402110818, 1402110812, 1402110825, 1402110819, 1402110770)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.19938921928406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:09:42.206813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_22_9294.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_25_1651.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_29_1867.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_39_1637.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_41_1613.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_42_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_22_9294.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_25_1651.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_29_1867.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_39_1637.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_41_1613.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_42_1701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110869","1402110880","1402110877","1402110879","1402110864","1402110863"],"photo_ids_order":["1402110863","1402110864","1402110869","1402110877","1402110879","1402110880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fd3b48c9a73a7480db3c54b133e6cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3991674068681621818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334244008,"filename":"image_04112025_23_42_29_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a079a69afd5f89005179601f73038db.jpg","text":"TemporaryFile(/tmp/multipartBody138064099399977050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334244008,"filename":"image_04112025_23_42_42_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/2/1099f54a93f569c585f7792db1ec3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2174423028556999193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334244008,"filename":"image_04112025_23_42_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/2/5a010d2d46fa2edc45060460f60406fd.jpg","text":"TemporaryFile(/tmp/multipartBody7848777355398006185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334244008,"filename":"image_04112025_23_42_41_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/2/5d8e15062380f3240342e20cfb12e88f.jpg","text":"TemporaryFile(/tmp/multipartBody3146586956357115206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334244008,"filename":"image_04112025_23_42_25_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/2/5b3df91a5e93371a014e4691b72d8616.jpg","text":"TemporaryFile(/tmp/multipartBody2815897261478248497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334244008,"filename":"image_04112025_23_42_22_9294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110869","file1":"1402110864","file0":"1402110863","file4":"1402110879","file5":"1402110880","file3":"1402110877"},"map_files_photo_id_array":[{"photo_id":"1402110880","filename":"file5"},{"photo_id":"1402110869","filename":"file2"},{"photo_id":"1402110879","filename":"file4"},{"photo_id":"1402110864","filename":"file1"},{"photo_id":"1402110863","filename":"file0"},{"photo_id":"1402110877","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110869":["hashtag1","hashtag2"]},{"1402110880":["hashtag1","hashtag2"]},{"1402110877":["hashtag1","hashtag2"]},{"1402110879":["hashtag1","hashtag2"]},{"1402110864":["hashtag1","hashtag2"]},{"1402110863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110869, 1402110880, 1402110877, 1402110879, 1402110864, 1402110863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85773587226868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:10:22.352612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_35_9880.jpg', '/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_45_9612.jpg', '/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_55_10794.jpg', '/home/pi/Desktop/images/02012026/06/09/image_02012026_06_10_05_9636.jpg', '/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_15_9635.jpg', '/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_25_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_35_9880.jpg
/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_45_9612.jpg
/home/pi/Desktop/images/02012026/06/09/image_02012026_06_09_55_10794.jpg
/home/pi/Desktop/images/02012026/06/09/image_02012026_06_10_05_9636.jpg
/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_15_9635.jpg
/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_25_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":["1402110923","1402110943","1402110891","1402110933","1402110936","1402110939"],"photo_ids_order":["1402110891","1402110923","1402110933","1402110936","1402110939","1402110943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1507088167a2143d31480934f3d8584d.jpg","text":"TemporaryFile(/tmp/multipartBody4261304465000227060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334282938,"filename":"image_02012026_06_09_45_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/2/a2a5d06d4b598c4393708f9fcb4cf20f.jpg","text":"TemporaryFile(/tmp/multipartBody3324470234609665986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334282938,"filename":"image_02012026_06_10_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/2/fa30972edbc82ae6f6ab299a8a9b9354.jpg","text":"TemporaryFile(/tmp/multipartBody7922415235752669296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334282938,"filename":"image_02012026_06_09_35_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/2/8c81520e9142241fd351992e73c5a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4151497718547413265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334282938,"filename":"image_02012026_06_09_55_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/2/ed8ce9f1fc4f7e546ec457ea2f632711.jpg","text":"TemporaryFile(/tmp/multipartBody7380315490787935357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334282938,"filename":"image_02012026_06_10_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/2/22a2bd96ead8ead58afd149024a22365.jpg","text":"TemporaryFile(/tmp/multipartBody8691795024640387201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334282938,"filename":"image_02012026_06_10_15_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110933","file1":"1402110923","file0":"1402110891","file4":"1402110939","file5":"1402110943","file3":"1402110936"},"map_files_photo_id_array":[{"photo_id":"1402110943","filename":"file5"},{"photo_id":"1402110933","filename":"file2"},{"photo_id":"1402110939","filename":"file4"},{"photo_id":"1402110923","filename":"file1"},{"photo_id":"1402110891","filename":"file0"},{"photo_id":"1402110936","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110923":["hashtag1","hashtag2"]},{"1402110943":["hashtag1","hashtag2"]},{"1402110891":["hashtag1","hashtag2"]},{"1402110933":["hashtag1","hashtag2"]},{"1402110936":["hashtag1","hashtag2"]},{"1402110939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110923, 1402110943, 1402110891, 1402110933, 1402110936, 1402110939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.119274854660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:11:03.395863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_35_9740.jpg', '/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_45_9582.jpg', '/home/pi/Desktop/images/02012026/06/10/image_02012026_06_11_05_9717.jpg', '/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_15_10200.jpg', '/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_25_9853.jpg', '/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_35_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_35_9740.jpg
/home/pi/Desktop/images/02012026/06/10/image_02012026_06_10_45_9582.jpg
/home/pi/Desktop/images/02012026/06/10/image_02012026_06_11_05_9717.jpg
/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_15_10200.jpg
/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_25_9853.jpg
/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_35_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":["1402110959","1402110955","1402110949","1402110951","1402110948","1402110957"],"photo_ids_order":["1402110948","1402110949","1402110951","1402110955","1402110957","1402110959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa735516382f2d7331205052ef4e444a.jpg","text":"TemporaryFile(/tmp/multipartBody3010199744981329949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334324076,"filename":"image_02012026_06_11_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/2/d5e84b16ebeb247f479cd1c10f481118.jpg","text":"TemporaryFile(/tmp/multipartBody4119021253419406637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334324076,"filename":"image_02012026_06_11_15_10200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1ed4b9ec9eff0d31d7ea5ab79717bb02.jpg","text":"TemporaryFile(/tmp/multipartBody8779801061285762934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334324076,"filename":"image_02012026_06_10_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/2/aec4dd13559297d5c552620c606cc4d1.jpg","text":"TemporaryFile(/tmp/multipartBody5656463636118140952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334324076,"filename":"image_02012026_06_11_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/2/0306a0645df2972460d81c57eddf6eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1494768938441016314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334324076,"filename":"image_02012026_06_10_35_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/2/f8f2117c1bb569c2118a50a73baf43b1.jpg","text":"TemporaryFile(/tmp/multipartBody2004521671428546105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334324076,"filename":"image_02012026_06_11_25_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110951","file1":"1402110949","file0":"1402110948","file4":"1402110957","file5":"1402110959","file3":"1402110955"},"map_files_photo_id_array":[{"photo_id":"1402110959","filename":"file5"},{"photo_id":"1402110951","filename":"file2"},{"photo_id":"1402110957","filename":"file4"},{"photo_id":"1402110949","filename":"file1"},{"photo_id":"1402110948","filename":"file0"},{"photo_id":"1402110955","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110959":["hashtag1","hashtag2"]},{"1402110955":["hashtag1","hashtag2"]},{"1402110949":["hashtag1","hashtag2"]},{"1402110951":["hashtag1","hashtag2"]},{"1402110948":["hashtag1","hashtag2"]},{"1402110957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110959, 1402110955, 1402110949, 1402110951, 1402110948, 1402110957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36782145500183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:11:42.682204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_44_1670.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_49_1582.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_52_1607.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_55_1620.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_57_1614.jpg', '/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_59_1826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_44_1670.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_49_1582.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_52_1607.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_55_1620.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_57_1614.jpg
/home/pi/Desktop/images/04112025/23/42/image_04112025_23_42_59_1826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110965","1402110974","1402110976","1402110970","1402110975","1402110969"],"photo_ids_order":["1402110965","1402110969","1402110970","1402110974","1402110975","1402110976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb0dcb90d0b04699c6662a2f602add46.jpg","text":"TemporaryFile(/tmp/multipartBody5560207177741547040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334364481,"filename":"image_04112025_23_42_44_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/2/1086ac0b016dd3dcd7967fcbcef2c243.jpg","text":"TemporaryFile(/tmp/multipartBody8297518306578272188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334364481,"filename":"image_04112025_23_42_55_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/2/4d2af91a7cb4f82c282d6ef929a8a988.jpg","text":"TemporaryFile(/tmp/multipartBody2356516258401315435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334364481,"filename":"image_04112025_23_42_59_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10211d3b50663c23118848d02cb2540f.jpg","text":"TemporaryFile(/tmp/multipartBody7174297832690823107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334364481,"filename":"image_04112025_23_42_52_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/2/af05768e73e547ddb5c4fd9580fb528b.jpg","text":"TemporaryFile(/tmp/multipartBody3237818068005451434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334364481,"filename":"image_04112025_23_42_57_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/2/8860701e67b1ac26c7a3d652a18f3ccd.jpg","text":"TemporaryFile(/tmp/multipartBody459724368781247639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334364481,"filename":"image_04112025_23_42_49_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110970","file1":"1402110969","file0":"1402110965","file4":"1402110975","file5":"1402110976","file3":"1402110974"},"map_files_photo_id_array":[{"photo_id":"1402110976","filename":"file5"},{"photo_id":"1402110970","filename":"file2"},{"photo_id":"1402110975","filename":"file4"},{"photo_id":"1402110969","filename":"file1"},{"photo_id":"1402110965","filename":"file0"},{"photo_id":"1402110974","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402110965":["hashtag1","hashtag2"]},{"1402110974":["hashtag1","hashtag2"]},{"1402110976":["hashtag1","hashtag2"]},{"1402110970":["hashtag1","hashtag2"]},{"1402110975":["hashtag1","hashtag2"]},{"1402110969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402110965, 1402110974, 1402110976, 1402110970, 1402110975, 1402110969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.083221673965454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:12:21.869780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_45_10690.jpg', '/home/pi/Desktop/images/02012026/06/11/image_02012026_06_12_05_9700.jpg', '/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_25_10634.jpg', '/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_35_9828.jpg', '/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_44_9561.jpg', '/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_55_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/11/image_02012026_06_11_45_10690.jpg
/home/pi/Desktop/images/02012026/06/11/image_02012026_06_12_05_9700.jpg
/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_25_10634.jpg
/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_35_9828.jpg
/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_44_9561.jpg
/home/pi/Desktop/images/02012026/06/12/image_02012026_06_12_55_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402110992","1402110999","1402110987","1402111002","1402110989","1402110983"],"photo_ids_order":["1402110983","1402110987","1402110989","1402110992","1402110999","1402111002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ddeaeb0979cb0a6f1e176360a47f063.jpg","text":"TemporaryFile(/tmp/multipartBody5819353132238349572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334402495,"filename":"image_02012026_06_12_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/2/20a7f352bfb94f6fc917034896535605.jpg","text":"TemporaryFile(/tmp/multipartBody6892283758600823626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334402495,"filename":"image_02012026_06_12_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/2/2ecd36afe7b2aa373beb853a855c5612.jpg","text":"TemporaryFile(/tmp/multipartBody4502846512966392002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334402495,"filename":"image_02012026_06_12_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/2/e8b2e64d15637e59c51ba49144b9f9e2.jpg","text":"TemporaryFile(/tmp/multipartBody53274754820425208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334402495,"filename":"image_02012026_06_12_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/2/0b5a8f36ef717f59293ab37e3e29d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7456693442539367488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334402495,"filename":"image_02012026_06_12_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/2/0d7b5af446aad067004fde2dcc7bd63e.jpg","text":"TemporaryFile(/tmp/multipartBody1190833297135024503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334402495,"filename":"image_02012026_06_11_45_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402110989","file1":"1402110987","file0":"1402110983","file4":"1402110999","file5":"1402111002","file3":"1402110992"},"map_files_photo_id_array":[{"photo_id":"1402111002","filename":"file5"},{"photo_id":"1402110989","filename":"file2"},{"photo_id":"1402110999","filename":"file4"},{"photo_id":"1402110987","filename":"file1"},{"photo_id":"1402110983","filename":"file0"},{"photo_id":"1402110992","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402110992":["hashtag1","hashtag2"]},{"1402110999":["hashtag1","hashtag2"]},{"1402110987":["hashtag1","hashtag2"]},{"1402111002":["hashtag1","hashtag2"]},{"1402110989":["hashtag1","hashtag2"]},{"1402110983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402110992, 1402110999, 1402110987, 1402111002, 1402110989, 1402110983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63055348396301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:13:02.643520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/12/image_02012026_06_13_05_9695.jpg', '/home/pi/Desktop/images/02012026/06/13/image_02012026_06_13_35_10695.jpg', '/home/pi/Desktop/images/02012026/06/13/image_02012026_06_13_45_9730.jpg', '/home/pi/Desktop/images/02012026/06/13/image_02012026_06_14_05_10602.jpg', '/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_15_9767.jpg', '/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_25_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/12/image_02012026_06_13_05_9695.jpg
/home/pi/Desktop/images/02012026/06/13/image_02012026_06_13_35_10695.jpg
/home/pi/Desktop/images/02012026/06/13/image_02012026_06_13_45_9730.jpg
/home/pi/Desktop/images/02012026/06/13/image_02012026_06_14_05_10602.jpg
/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_15_9767.jpg
/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_25_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111013","1402111016","1402111010","1402111004","1402111006","1402111017"],"photo_ids_order":["1402111004","1402111006","1402111010","1402111013","1402111016","1402111017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c5a76598bf39c7845bc95b225f132cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1999275995956592843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334443324,"filename":"image_02012026_06_14_05_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/2/4f439636453c0e313e3df00634ef1a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3867324743196733466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334443324,"filename":"image_02012026_06_14_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/2/afd99e3fec292ea3756938b193c80ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7064150675668462422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334443324,"filename":"image_02012026_06_13_45_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/2/761dbf012de168f3064404a7425b5eab.jpg","text":"TemporaryFile(/tmp/multipartBody7628603196747686590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334443324,"filename":"image_02012026_06_13_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/2/86a5a6fb731a46d1bc22f72a0362dc4a.jpg","text":"TemporaryFile(/tmp/multipartBody8379279460516550284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334443324,"filename":"image_02012026_06_13_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/2/1895d16cd1699d1686a766a84c54b5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4115027446611666634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334443324,"filename":"image_02012026_06_14_25_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111010","file1":"1402111006","file0":"1402111004","file4":"1402111016","file5":"1402111017","file3":"1402111013"},"map_files_photo_id_array":[{"photo_id":"1402111017","filename":"file5"},{"photo_id":"1402111010","filename":"file2"},{"photo_id":"1402111016","filename":"file4"},{"photo_id":"1402111006","filename":"file1"},{"photo_id":"1402111004","filename":"file0"},{"photo_id":"1402111013","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111013":["hashtag1","hashtag2"]},{"1402111016":["hashtag1","hashtag2"]},{"1402111010":["hashtag1","hashtag2"]},{"1402111004":["hashtag1","hashtag2"]},{"1402111006":["hashtag1","hashtag2"]},{"1402111017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111013, 1402111016, 1402111010, 1402111004, 1402111006, 1402111017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74398422241211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:13:42.019571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_11_2714.jpg', '/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_15_3716.jpg', '/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_26_2780.jpg', '/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_33_2658.jpg', '/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_35_2666.jpg', '/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_44_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_11_2714.jpg
/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_15_3716.jpg
/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_26_2780.jpg
/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_33_2658.jpg
/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_35_2666.jpg
/home/pi/Desktop/images/04112025/23/43/image_04112025_23_43_44_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111034","1402111028","1402111030","1402111032","1402111023","1402111026"],"photo_ids_order":["1402111023","1402111026","1402111028","1402111030","1402111032","1402111034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba7553c8e3f68fb19a71e74cbb21dd88.jpg","text":"TemporaryFile(/tmp/multipartBody6748925324565655897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334483846,"filename":"image_04112025_23_43_44_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/2/c46679701d128ece54e9cda514c0977e.jpg","text":"TemporaryFile(/tmp/multipartBody3855242598069020219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334483846,"filename":"image_04112025_23_43_26_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/080fcc82a12574f70a80d47e766f47d3.jpg","text":"TemporaryFile(/tmp/multipartBody1764564243898959571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334483846,"filename":"image_04112025_23_43_33_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/2/e7f8b28a73dd9a5fcbf3cfe810b2c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody6658834465514428247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334483846,"filename":"image_04112025_23_43_35_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/2/89473c6eaef214b1de363fc8e013eba9.jpg","text":"TemporaryFile(/tmp/multipartBody4089519560462161375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334483846,"filename":"image_04112025_23_43_11_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/2/0fb6dc2d786eb2474c1635b6dac619fc.jpg","text":"TemporaryFile(/tmp/multipartBody1640124183398332751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334483846,"filename":"image_04112025_23_43_15_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111028","file1":"1402111026","file0":"1402111023","file4":"1402111032","file5":"1402111034","file3":"1402111030"},"map_files_photo_id_array":[{"photo_id":"1402111034","filename":"file5"},{"photo_id":"1402111028","filename":"file2"},{"photo_id":"1402111032","filename":"file4"},{"photo_id":"1402111026","filename":"file1"},{"photo_id":"1402111023","filename":"file0"},{"photo_id":"1402111030","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402111034":["hashtag1","hashtag2"]},{"1402111028":["hashtag1","hashtag2"]},{"1402111030":["hashtag1","hashtag2"]},{"1402111032":["hashtag1","hashtag2"]},{"1402111023":["hashtag1","hashtag2"]},{"1402111026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402111034, 1402111028, 1402111030, 1402111032, 1402111023, 1402111026)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.61009168624878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:14:32.208360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_02_17405.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_03_1538.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_05_1840.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_07_1807.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_09_1694.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_10_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_02_17405.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_03_1538.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_05_1840.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_07_1807.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_09_1694.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_10_1671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111069","1402111048","1402111063","1402111050","1402111064","1402111052"],"photo_ids_order":["1402111048","1402111050","1402111052","1402111063","1402111064","1402111069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22d6a396eb160b1d0648d474c66e0ff7.jpg","text":"TemporaryFile(/tmp/multipartBody836927080399598612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334534031,"filename":"image_04112025_23_44_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/2/7bb853f011202ed0f5e4cba01d16fc16.jpg","text":"TemporaryFile(/tmp/multipartBody4097751890165255817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334534031,"filename":"image_04112025_23_44_02_17405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f1f1694bbea1e63e2adea4661712e41.jpg","text":"TemporaryFile(/tmp/multipartBody412486037456188265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334534031,"filename":"image_04112025_23_44_07_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/2/532fcbf014606683d25e2c7d64902c88.jpg","text":"TemporaryFile(/tmp/multipartBody8532133350796323401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334534031,"filename":"image_04112025_23_44_03_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/2/f23e8041fa869d9a661648753f2f0a23.jpg","text":"TemporaryFile(/tmp/multipartBody1312748399618418870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334534031,"filename":"image_04112025_23_44_09_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/2/0b4050a76272be9b385a9b535d6bb3df.jpg","text":"TemporaryFile(/tmp/multipartBody1130841238975702685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334534031,"filename":"image_04112025_23_44_05_1840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111052","file1":"1402111050","file0":"1402111048","file4":"1402111064","file5":"1402111069","file3":"1402111063"},"map_files_photo_id_array":[{"photo_id":"1402111069","filename":"file5"},{"photo_id":"1402111052","filename":"file2"},{"photo_id":"1402111064","filename":"file4"},{"photo_id":"1402111050","filename":"file1"},{"photo_id":"1402111048","filename":"file0"},{"photo_id":"1402111063","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402111069":["hashtag1","hashtag2"]},{"1402111048":["hashtag1","hashtag2"]},{"1402111063":["hashtag1","hashtag2"]},{"1402111050":["hashtag1","hashtag2"]},{"1402111064":["hashtag1","hashtag2"]},{"1402111052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402111069, 1402111048, 1402111063, 1402111050, 1402111064, 1402111052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15841221809387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:15:12.284657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_12_1688.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_14_1636.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_15_1613.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_17_1660.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_19_1735.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_23_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_12_1688.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_14_1636.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_15_1613.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_17_1660.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_19_1735.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_23_2850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111087","1402111078","1402111089","1402111082","1402111076","1402111085"],"photo_ids_order":["1402111076","1402111078","1402111082","1402111085","1402111087","1402111089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/938b20e043c2c194c48dd6b4bb5ebc18.jpg","text":"TemporaryFile(/tmp/multipartBody5125020842418744500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334573990,"filename":"image_04112025_23_44_19_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/2/7ee6890fccee639fb6412c7b48c1fe81.jpg","text":"TemporaryFile(/tmp/multipartBody3132415239685355793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334573990,"filename":"image_04112025_23_44_14_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/2/aff4bfdb7c71e5f9ac7988ce1fb420d2.jpg","text":"TemporaryFile(/tmp/multipartBody332170293787442348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334573990,"filename":"image_04112025_23_44_23_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/2/ffec4461e96d5f6766c4caf3d8429f8f.jpg","text":"TemporaryFile(/tmp/multipartBody589021961608148626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334573990,"filename":"image_04112025_23_44_15_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/2/1e811eae791d9ff2bb9209852d43ef16.jpg","text":"TemporaryFile(/tmp/multipartBody7359617412644864557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334573990,"filename":"image_04112025_23_44_12_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/2/2ee40bb1a02de4fa5bcd94f189953cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7928243169262443186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334573990,"filename":"image_04112025_23_44_17_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111082","file1":"1402111078","file0":"1402111076","file4":"1402111087","file5":"1402111089","file3":"1402111085"},"map_files_photo_id_array":[{"photo_id":"1402111089","filename":"file5"},{"photo_id":"1402111082","filename":"file2"},{"photo_id":"1402111087","filename":"file4"},{"photo_id":"1402111078","filename":"file1"},{"photo_id":"1402111076","filename":"file0"},{"photo_id":"1402111085","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402111087":["hashtag1","hashtag2"]},{"1402111078":["hashtag1","hashtag2"]},{"1402111089":["hashtag1","hashtag2"]},{"1402111082":["hashtag1","hashtag2"]},{"1402111076":["hashtag1","hashtag2"]},{"1402111085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402111087, 1402111078, 1402111089, 1402111082, 1402111076, 1402111085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2434720993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:16:03.073379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_35_9603.jpg', '/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_45_9602.jpg', '/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_54_9820.jpg', '/home/pi/Desktop/images/02012026/06/14/image_02012026_06_15_05_10175.jpg', '/home/pi/Desktop/images/02012026/06/15/image_02012026_06_15_15_10761.jpg', '/home/pi/Desktop/images/02012026/06/15/image_02012026_06_15_25_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_35_9603.jpg
/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_45_9602.jpg
/home/pi/Desktop/images/02012026/06/14/image_02012026_06_14_54_9820.jpg
/home/pi/Desktop/images/02012026/06/14/image_02012026_06_15_05_10175.jpg
/home/pi/Desktop/images/02012026/06/15/image_02012026_06_15_15_10761.jpg
/home/pi/Desktop/images/02012026/06/15/image_02012026_06_15_25_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111109","1402111096","1402111105","1402111098","1402111094","1402111107"],"photo_ids_order":["1402111094","1402111096","1402111098","1402111105","1402111107","1402111109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93deac9e6feab54684e3012c1b384a21.jpg","text":"TemporaryFile(/tmp/multipartBody3288165408024757165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334623727,"filename":"image_02012026_06_15_25_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/2/8a8a79063a00aedb3be21d9abdd04a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7090076600738113611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334623727,"filename":"image_02012026_06_14_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/2/ea9bd7319f1fececc6dfc2df2b8fd76a.jpg","text":"TemporaryFile(/tmp/multipartBody4448492158610834578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334623727,"filename":"image_02012026_06_15_05_10175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e4ab1f17f5902498a92f8b022290626b.jpg","text":"TemporaryFile(/tmp/multipartBody3293025307814814405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334623727,"filename":"image_02012026_06_14_54_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/2/6bbe7c76af6bc578fcaa1e2092923e01.jpg","text":"TemporaryFile(/tmp/multipartBody491438505131753308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334623727,"filename":"image_02012026_06_14_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/2/6e2397c12436a709c63215ed929f3628.jpg","text":"TemporaryFile(/tmp/multipartBody1084455291454702903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334623727,"filename":"image_02012026_06_15_15_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111098","file1":"1402111096","file0":"1402111094","file4":"1402111107","file5":"1402111109","file3":"1402111105"},"map_files_photo_id_array":[{"photo_id":"1402111109","filename":"file5"},{"photo_id":"1402111098","filename":"file2"},{"photo_id":"1402111107","filename":"file4"},{"photo_id":"1402111096","filename":"file1"},{"photo_id":"1402111094","filename":"file0"},{"photo_id":"1402111105","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111109":["hashtag1","hashtag2"]},{"1402111096":["hashtag1","hashtag2"]},{"1402111105":["hashtag1","hashtag2"]},{"1402111098":["hashtag1","hashtag2"]},{"1402111094":["hashtag1","hashtag2"]},{"1402111107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111109, 1402111096, 1402111105, 1402111098, 1402111094, 1402111107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.769612073898315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:16:42.637938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_26_2789.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_33_3722.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_35_2335.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_41_2627.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_07_22684.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_08_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_26_2789.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_33_3722.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_35_2335.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_41_2627.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_07_22684.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_08_1610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7495882511138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:17:03.400584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/15/image_02012026_06_15_55_9871.jpg', '/home/pi/Desktop/images/02012026/06/15/image_02012026_06_16_05_9734.jpg', '/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_14_9577.jpg', '/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_25_10762.jpg', '/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_35_9563.jpg', '/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_55_10817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/15/image_02012026_06_15_55_9871.jpg
/home/pi/Desktop/images/02012026/06/15/image_02012026_06_16_05_9734.jpg
/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_14_9577.jpg
/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_25_10762.jpg
/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_35_9563.jpg
/home/pi/Desktop/images/02012026/06/16/image_02012026_06_16_55_10817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111229","1402111132","1402111188","1402111149","1402111250","1402111130"],"photo_ids_order":["1402111130","1402111132","1402111149","1402111188","1402111229","1402111250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e2ad67dee850b26ecb6149c66c4a8b28.jpg","text":"TemporaryFile(/tmp/multipartBody6300746381349536895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334684134,"filename":"image_02012026_06_16_35_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/2/7056ca6e6e896b24700a72aecc668fb1.jpg","text":"TemporaryFile(/tmp/multipartBody2193491331701469457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334684134,"filename":"image_02012026_06_16_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3da3eb924b1aacbd6f540e056222e43.jpg","text":"TemporaryFile(/tmp/multipartBody1719685472441181770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334684134,"filename":"image_02012026_06_16_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/2/ce5e4cd11741903e7e092108cc7eb6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8696291753977695752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334684134,"filename":"image_02012026_06_16_14_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/2/747a54fa8d3c0ad572931f218b2f99c9.jpg","text":"TemporaryFile(/tmp/multipartBody8508807258006503372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334684134,"filename":"image_02012026_06_16_55_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/2/53a5930f2f635c4ef035e731247851ad.jpg","text":"TemporaryFile(/tmp/multipartBody4113562921093132483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334684134,"filename":"image_02012026_06_15_55_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111149","file1":"1402111132","file0":"1402111130","file4":"1402111229","file5":"1402111250","file3":"1402111188"},"map_files_photo_id_array":[{"photo_id":"1402111250","filename":"file5"},{"photo_id":"1402111149","filename":"file2"},{"photo_id":"1402111229","filename":"file4"},{"photo_id":"1402111132","filename":"file1"},{"photo_id":"1402111130","filename":"file0"},{"photo_id":"1402111188","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111229":["hashtag1","hashtag2"]},{"1402111132":["hashtag1","hashtag2"]},{"1402111188":["hashtag1","hashtag2"]},{"1402111149":["hashtag1","hashtag2"]},{"1402111250":["hashtag1","hashtag2"]},{"1402111130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111229, 1402111132, 1402111188, 1402111149, 1402111250, 1402111130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02099084854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:17:42.870318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_26_2789.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_33_3722.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_35_2335.jpg', '/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_41_2627.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_07_22684.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_08_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_26_2789.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_33_3722.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_35_2335.jpg
/home/pi/Desktop/images/04112025/23/44/image_04112025_23_44_41_2627.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_07_22684.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_08_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111319","1402111321","1402111311","1402111320","1402111323","1402111322"],"photo_ids_order":["1402111311","1402111319","1402111320","1402111321","1402111322","1402111323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e414e7806d00b61acb7c68a6b38abd3e.jpg","text":"TemporaryFile(/tmp/multipartBody7538039937333536607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334724571,"filename":"image_04112025_23_44_33_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/2/029e572396b033e75aad74a57b9b9c26.jpg","text":"TemporaryFile(/tmp/multipartBody4843917983182931994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334724571,"filename":"image_04112025_23_44_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/2/25408ec91c3148c99496319a69be0084.jpg","text":"TemporaryFile(/tmp/multipartBody8632168903132059830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334724571,"filename":"image_04112025_23_44_26_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/2/ce1d90cb2f21524a7f6629faa48d46ac.jpg","text":"TemporaryFile(/tmp/multipartBody2919327923076642003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334724571,"filename":"image_04112025_23_44_35_2335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e602514e782f0a0ed1d026592af53da3.jpg","text":"TemporaryFile(/tmp/multipartBody7279526279329422720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334724571,"filename":"image_04112025_23_45_08_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/2/172c5d8b12f40dd0fcdc119bdbadd8f7.jpg","text":"TemporaryFile(/tmp/multipartBody7179878338661535654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334724571,"filename":"image_04112025_23_45_07_22684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111320","file1":"1402111319","file0":"1402111311","file4":"1402111322","file5":"1402111323","file3":"1402111321"},"map_files_photo_id_array":[{"photo_id":"1402111323","filename":"file5"},{"photo_id":"1402111320","filename":"file2"},{"photo_id":"1402111322","filename":"file4"},{"photo_id":"1402111319","filename":"file1"},{"photo_id":"1402111311","filename":"file0"},{"photo_id":"1402111321","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402111319":["hashtag1","hashtag2"]},{"1402111321":["hashtag1","hashtag2"]},{"1402111311":["hashtag1","hashtag2"]},{"1402111320":["hashtag1","hashtag2"]},{"1402111323":["hashtag1","hashtag2"]},{"1402111322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402111319, 1402111321, 1402111311, 1402111320, 1402111323, 1402111322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.406792879104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:18:22.061193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/16/image_02012026_06_17_05_9739.jpg', '/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_15_9784.jpg', '/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_24_9725.jpg', '/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_35_10632.jpg', '/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_45_9706.jpg', '/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_55_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/16/image_02012026_06_17_05_9739.jpg
/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_15_9784.jpg
/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_24_9725.jpg
/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_35_10632.jpg
/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_45_9706.jpg
/home/pi/Desktop/images/02012026/06/17/image_02012026_06_17_55_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111333","1402111336","1402111330","1402111338","1402111340","1402111343"],"photo_ids_order":["1402111330","1402111333","1402111336","1402111338","1402111340","1402111343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f87d6b6be69d72424c36335fcdefb10.jpg","text":"TemporaryFile(/tmp/multipartBody8659910752504822635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334762687,"filename":"image_02012026_06_17_15_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/2/6072a65602c7c1f59e74c90bf529ee4e.jpg","text":"TemporaryFile(/tmp/multipartBody8764347851259209348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334762687,"filename":"image_02012026_06_17_24_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/2/c26735b2b1af004a0f5cf94537a3f29f.jpg","text":"TemporaryFile(/tmp/multipartBody6926916287978410784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334762687,"filename":"image_02012026_06_17_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/2/8961659838248b43ef4f4ec67921d798.jpg","text":"TemporaryFile(/tmp/multipartBody8693316645636263439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334762687,"filename":"image_02012026_06_17_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/2/d403731319d663594f1cc3610cfd78dc.jpg","text":"TemporaryFile(/tmp/multipartBody6441216314461246544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334762687,"filename":"image_02012026_06_17_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/2/e65429088341656d165f00acd8923ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6377290846322585945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334762687,"filename":"image_02012026_06_17_55_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111336","file1":"1402111333","file0":"1402111330","file4":"1402111340","file5":"1402111343","file3":"1402111338"},"map_files_photo_id_array":[{"photo_id":"1402111343","filename":"file5"},{"photo_id":"1402111336","filename":"file2"},{"photo_id":"1402111340","filename":"file4"},{"photo_id":"1402111333","filename":"file1"},{"photo_id":"1402111330","filename":"file0"},{"photo_id":"1402111338","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111333":["hashtag1","hashtag2"]},{"1402111336":["hashtag1","hashtag2"]},{"1402111330":["hashtag1","hashtag2"]},{"1402111338":["hashtag1","hashtag2"]},{"1402111340":["hashtag1","hashtag2"]},{"1402111343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111333, 1402111336, 1402111330, 1402111338, 1402111340, 1402111343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.391772508621216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:19:03.165667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/17/image_02012026_06_18_04_9661.jpg', '/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_15_10631.jpg', '/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_25_9773.jpg', '/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_44_9629.jpg', '/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_55_10770.jpg', '/home/pi/Desktop/images/02012026/06/18/image_02012026_06_19_05_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/17/image_02012026_06_18_04_9661.jpg
/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_15_10631.jpg
/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_25_9773.jpg
/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_44_9629.jpg
/home/pi/Desktop/images/02012026/06/18/image_02012026_06_18_55_10770.jpg
/home/pi/Desktop/images/02012026/06/18/image_02012026_06_19_05_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111450","1402111411","1402111482","1402111464","1402111545","1402111436"],"photo_ids_order":["1402111411","1402111436","1402111450","1402111464","1402111482","1402111545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ddc24e8de4cd4259d10192f560485a69.jpg","text":"TemporaryFile(/tmp/multipartBody2694666078520170136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334803995,"filename":"image_02012026_06_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/2/4e4392a33fa5c52f5028a340375c0405.jpg","text":"TemporaryFile(/tmp/multipartBody6496832155721670702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334803995,"filename":"image_02012026_06_18_04_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/2/cd2f3a1bbf3b42d41cb2a631e09af7db.jpg","text":"TemporaryFile(/tmp/multipartBody7158211798429168447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334803995,"filename":"image_02012026_06_18_55_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/2/9569fba234db13a536e5a7a42f10cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody8812298004620212738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334803995,"filename":"image_02012026_06_18_44_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/2/2ae8a9d942403826bf055b62ded71491.jpg","text":"TemporaryFile(/tmp/multipartBody3334408289367470304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334803995,"filename":"image_02012026_06_19_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20b3463224aa311633ef4cdbd1d72e49.jpg","text":"TemporaryFile(/tmp/multipartBody8609038283183829738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334803995,"filename":"image_02012026_06_18_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111450","file1":"1402111436","file0":"1402111411","file4":"1402111482","file5":"1402111545","file3":"1402111464"},"map_files_photo_id_array":[{"photo_id":"1402111545","filename":"file5"},{"photo_id":"1402111450","filename":"file2"},{"photo_id":"1402111482","filename":"file4"},{"photo_id":"1402111436","filename":"file1"},{"photo_id":"1402111411","filename":"file0"},{"photo_id":"1402111464","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111450":["hashtag1","hashtag2"]},{"1402111411":["hashtag1","hashtag2"]},{"1402111482":["hashtag1","hashtag2"]},{"1402111464":["hashtag1","hashtag2"]},{"1402111545":["hashtag1","hashtag2"]},{"1402111436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111450, 1402111411, 1402111482, 1402111464, 1402111545, 1402111436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.298187255859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:19:42.342254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_13_1652.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_15_1773.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_16_1548.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_18_1735.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_20_1549.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_21_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/23/45/image_04112025_23_45_13_1652.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_15_1773.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_16_1548.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_18_1735.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_20_1549.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_21_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":["1402111721","1402111672","1402111717","1402111686","1402111644","1402111670"],"photo_ids_order":["1402111644","1402111670","1402111672","1402111686","1402111717","1402111721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6b54866d9071e6ba7d0593728182a468.jpg","text":"TemporaryFile(/tmp/multipartBody1381551190055804600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334844154,"filename":"image_04112025_23_45_21_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/2/eaaa81d90cfbfef225ff3325118a3ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2839399211425610708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334844154,"filename":"image_04112025_23_45_16_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/2/1d0f26f0c06b0a26b6ec32fbbc69737a.jpg","text":"TemporaryFile(/tmp/multipartBody7315374118220334387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334844154,"filename":"image_04112025_23_45_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/2/c424a7d6a2ae2649aec93f5e92116ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8684549853981884935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334844154,"filename":"image_04112025_23_45_18_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/2/fb9b867631250a79d3f07d754150e585.jpg","text":"TemporaryFile(/tmp/multipartBody5435166974053834000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334844154,"filename":"image_04112025_23_45_13_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/2/cedaa18c3d1e44ba6118e907cde03473.jpg","text":"TemporaryFile(/tmp/multipartBody6186158888977044414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334844154,"filename":"image_04112025_23_45_15_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111672","file1":"1402111670","file0":"1402111644","file4":"1402111717","file5":"1402111721","file3":"1402111686"},"map_files_photo_id_array":[{"photo_id":"1402111721","filename":"file5"},{"photo_id":"1402111672","filename":"file2"},{"photo_id":"1402111717","filename":"file4"},{"photo_id":"1402111670","filename":"file1"},{"photo_id":"1402111644","filename":"file0"},{"photo_id":"1402111686","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402111721":["hashtag1","hashtag2"]},{"1402111672":["hashtag1","hashtag2"]},{"1402111717":["hashtag1","hashtag2"]},{"1402111686":["hashtag1","hashtag2"]},{"1402111644":["hashtag1","hashtag2"]},{"1402111670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402111721, 1402111672, 1402111717, 1402111686, 1402111644, 1402111670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47422480583191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:20:22.500822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_14_9663.jpg', '/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_25_10636.jpg', '/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_35_9633.jpg', '/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_44_9626.jpg', '/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_55_10555.jpg', '/home/pi/Desktop/images/02012026/06/19/image_02012026_06_20_05_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_14_9663.jpg
/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_25_10636.jpg
/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_35_9633.jpg
/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_44_9626.jpg
/home/pi/Desktop/images/02012026/06/19/image_02012026_06_19_55_10555.jpg
/home/pi/Desktop/images/02012026/06/19/image_02012026_06_20_05_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":["1402111762","1402111750","1402111747","1402111740","1402111743","1402111745"],"photo_ids_order":["1402111740","1402111743","1402111745","1402111747","1402111750","1402111762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/089644d591dd9b141a22cadcb72df91d.jpg","text":"TemporaryFile(/tmp/multipartBody306175941272473921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334883120,"filename":"image_02012026_06_20_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/2/bc222c969a9b8872111e32ade48fea43.jpg","text":"TemporaryFile(/tmp/multipartBody6524255345817234392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334883120,"filename":"image_02012026_06_19_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/2/023e85ba8664ddeb3c4d7dd9f9027e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5222499028220830472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334883120,"filename":"image_02012026_06_19_44_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/2/cba3839ede5f942f358f44237ffe91ad.jpg","text":"TemporaryFile(/tmp/multipartBody2739281832917362801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334883120,"filename":"image_02012026_06_19_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/2/f35295aeae365e8482be062b1787a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7568758143473637511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334883120,"filename":"image_02012026_06_19_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/2/96a1bd5de41eb3c31b0556715a1785ec.jpg","text":"TemporaryFile(/tmp/multipartBody7254397857775064868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334883120,"filename":"image_02012026_06_19_35_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111745","file1":"1402111743","file0":"1402111740","file4":"1402111750","file5":"1402111762","file3":"1402111747"},"map_files_photo_id_array":[{"photo_id":"1402111762","filename":"file5"},{"photo_id":"1402111745","filename":"file2"},{"photo_id":"1402111750","filename":"file4"},{"photo_id":"1402111743","filename":"file1"},{"photo_id":"1402111740","filename":"file0"},{"photo_id":"1402111747","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111762":["hashtag1","hashtag2"]},{"1402111750":["hashtag1","hashtag2"]},{"1402111747":["hashtag1","hashtag2"]},{"1402111740":["hashtag1","hashtag2"]},{"1402111743":["hashtag1","hashtag2"]},{"1402111745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111762, 1402111750, 1402111747, 1402111740, 1402111743, 1402111745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59785556793213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:21:03.428574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_15_10614.jpg', '/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_25_9710.jpg', '/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_35_9881.jpg', '/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_44_9553.jpg', '/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_55_10841.jpg', '/home/pi/Desktop/images/02012026/06/20/image_02012026_06_21_05_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_15_10614.jpg
/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_25_9710.jpg
/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_35_9881.jpg
/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_44_9553.jpg
/home/pi/Desktop/images/02012026/06/20/image_02012026_06_20_55_10841.jpg
/home/pi/Desktop/images/02012026/06/20/image_02012026_06_21_05_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":["1402111774","1402111785","1402111776","1402111781","1402111778","1402111772"],"photo_ids_order":["1402111772","1402111774","1402111776","1402111778","1402111781","1402111785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7926951a559087cd5b50fb3f1186ba76.jpg","text":"TemporaryFile(/tmp/multipartBody5296898156171309816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334924127,"filename":"image_02012026_06_20_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/2/51879d11d1d85ec4c66ae7e63f6c641e.jpg","text":"TemporaryFile(/tmp/multipartBody1243449712701611244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334924127,"filename":"image_02012026_06_21_05_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/2/0570a3846623de4fe139aa5359934f96.jpg","text":"TemporaryFile(/tmp/multipartBody8514327606705057415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334924127,"filename":"image_02012026_06_20_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/2/9642494d55ea2a7ee6fd57a1d5aaed46.jpg","text":"TemporaryFile(/tmp/multipartBody4318224084389053598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334924127,"filename":"image_02012026_06_20_55_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0aceca5c61762b41023e1aecfdd3158c.jpg","text":"TemporaryFile(/tmp/multipartBody16734945735413485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334924127,"filename":"image_02012026_06_20_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/2/0f2793f6092b8c2d6ecd554be7112d72.jpg","text":"TemporaryFile(/tmp/multipartBody5378582262323228332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334924127,"filename":"image_02012026_06_20_15_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111776","file1":"1402111774","file0":"1402111772","file4":"1402111781","file5":"1402111785","file3":"1402111778"},"map_files_photo_id_array":[{"photo_id":"1402111785","filename":"file5"},{"photo_id":"1402111776","filename":"file2"},{"photo_id":"1402111781","filename":"file4"},{"photo_id":"1402111774","filename":"file1"},{"photo_id":"1402111772","filename":"file0"},{"photo_id":"1402111778","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111774":["hashtag1","hashtag2"]},{"1402111785":["hashtag1","hashtag2"]},{"1402111776":["hashtag1","hashtag2"]},{"1402111781":["hashtag1","hashtag2"]},{"1402111778":["hashtag1","hashtag2"]},{"1402111772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111774, 1402111785, 1402111776, 1402111781, 1402111778, 1402111772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58336663246155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:21:42.763414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_23_1647.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_28_1649.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_30_1584.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_32_2723.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_35_2774.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_39_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_23_1647.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_28_1649.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_30_1584.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_32_2723.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_35_2774.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_39_3554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402111795","1402111849","1402111791","1402111794","1402111812","1402111796"],"photo_ids_order":["1402111791","1402111794","1402111795","1402111796","1402111812","1402111849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8159f491ffd69981bf057c423471daf8.jpg","text":"TemporaryFile(/tmp/multipartBody5164735026837887908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334964582,"filename":"image_04112025_23_45_30_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/2/5f28fa2ab47cb13ed295f83173aaa857.jpg","text":"TemporaryFile(/tmp/multipartBody4879754219148528529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334964582,"filename":"image_04112025_23_45_39_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/2/2ca02ac43c14ee3d0a7339aa95b913ae.jpg","text":"TemporaryFile(/tmp/multipartBody5939952387806693866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334964582,"filename":"image_04112025_23_45_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/2/8567887a9ab12bab1df5d1bc12407075.jpg","text":"TemporaryFile(/tmp/multipartBody8929821266986897803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334964582,"filename":"image_04112025_23_45_28_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/2/dd3f8a0baf5eb630959a1c74c7795537.jpg","text":"TemporaryFile(/tmp/multipartBody1817483581956715367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334964582,"filename":"image_04112025_23_45_35_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/2/59442fc1acf89069d3a7415c27091c65.jpg","text":"TemporaryFile(/tmp/multipartBody5141795059135806056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767334964582,"filename":"image_04112025_23_45_32_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111795","file1":"1402111794","file0":"1402111791","file4":"1402111812","file5":"1402111849","file3":"1402111796"},"map_files_photo_id_array":[{"photo_id":"1402111849","filename":"file5"},{"photo_id":"1402111795","filename":"file2"},{"photo_id":"1402111812","filename":"file4"},{"photo_id":"1402111794","filename":"file1"},{"photo_id":"1402111791","filename":"file0"},{"photo_id":"1402111796","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402111795":["hashtag1","hashtag2"]},{"1402111849":["hashtag1","hashtag2"]},{"1402111791":["hashtag1","hashtag2"]},{"1402111794":["hashtag1","hashtag2"]},{"1402111812":["hashtag1","hashtag2"]},{"1402111796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402111795, 1402111849, 1402111791, 1402111794, 1402111812, 1402111796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.298174142837524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:22:21.945963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_14_9681.jpg', '/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_25_10678.jpg', '/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_35_9671.jpg', '/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_44_9645.jpg', '/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_55_10687.jpg', '/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_15_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_14_9681.jpg
/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_25_10678.jpg
/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_35_9671.jpg
/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_44_9645.jpg
/home/pi/Desktop/images/02012026/06/21/image_02012026_06_21_55_10687.jpg
/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_15_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":["1402111981","1402111942","1402111936","1402111983","1402111974","1402111926"],"photo_ids_order":["1402111926","1402111936","1402111942","1402111974","1402111981","1402111983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9202926177e2bddf7a8a3220b6ee83d4.jpg","text":"TemporaryFile(/tmp/multipartBody6617716234854698493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335002562,"filename":"image_02012026_06_21_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/2/48eeb3f3567e9ec35a2c4a53f754086d.jpg","text":"TemporaryFile(/tmp/multipartBody8216054374042579661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335002562,"filename":"image_02012026_06_21_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/2/1aa6be50f39241db429fd1a4d4acf15e.jpg","text":"TemporaryFile(/tmp/multipartBody9173816028289693173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335002562,"filename":"image_02012026_06_21_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/2/f4a834283d2b766e7194a9a60a4532a0.jpg","text":"TemporaryFile(/tmp/multipartBody8345801036901237690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335002562,"filename":"image_02012026_06_22_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/2/efb7ae4e877bc3ae1ffd8d84848c06b5.jpg","text":"TemporaryFile(/tmp/multipartBody187890327708223061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335002562,"filename":"image_02012026_06_21_44_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/2/b15ce646bf088a789054eb934f38b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody2918127066188114204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335002562,"filename":"image_02012026_06_21_14_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402111942","file1":"1402111936","file0":"1402111926","file4":"1402111981","file5":"1402111983","file3":"1402111974"},"map_files_photo_id_array":[{"photo_id":"1402111983","filename":"file5"},{"photo_id":"1402111942","filename":"file2"},{"photo_id":"1402111981","filename":"file4"},{"photo_id":"1402111936","filename":"file1"},{"photo_id":"1402111926","filename":"file0"},{"photo_id":"1402111974","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402111981":["hashtag1","hashtag2"]},{"1402111942":["hashtag1","hashtag2"]},{"1402111936":["hashtag1","hashtag2"]},{"1402111983":["hashtag1","hashtag2"]},{"1402111974":["hashtag1","hashtag2"]},{"1402111926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402111981, 1402111942, 1402111936, 1402111983, 1402111974, 1402111926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74228310585022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:23:02.753547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_25_10629.jpg', '/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_35_9573.jpg', '/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_44_9630.jpg', '/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_54_9986.jpg', '/home/pi/Desktop/images/02012026/06/23/image_02012026_06_23_25_9816.jpg', '/home/pi/Desktop/images/02012026/06/23/image_02012026_06_23_35_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_25_10629.jpg
/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_35_9573.jpg
/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_44_9630.jpg
/home/pi/Desktop/images/02012026/06/22/image_02012026_06_22_54_9986.jpg
/home/pi/Desktop/images/02012026/06/23/image_02012026_06_23_25_9816.jpg
/home/pi/Desktop/images/02012026/06/23/image_02012026_06_23_35_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":["1402112071","1402112149","1402112221","1402112106","1402112258","1402112182"],"photo_ids_order":["1402112071","1402112106","1402112149","1402112182","1402112221","1402112258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5aca9b0d356261f06732f017df0729e4.jpg","text":"TemporaryFile(/tmp/multipartBody4699982704363639007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335043484,"filename":"image_02012026_06_22_25_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/2/581834dc31e12426cc45a8a58c3c64fa.jpg","text":"TemporaryFile(/tmp/multipartBody4659441139873629037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335043484,"filename":"image_02012026_06_22_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/2/98dcf8b3cb37b1e7d137255f154ba4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5264072191971625271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335043484,"filename":"image_02012026_06_23_25_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/2/a36ed1ef94867e3cc8b8878075e1ef96.jpg","text":"TemporaryFile(/tmp/multipartBody5304080304006104871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335043484,"filename":"image_02012026_06_22_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/2/75752aa127e9b5b48ed93e9bc5ecef22.jpg","text":"TemporaryFile(/tmp/multipartBody3920698869386663141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335043484,"filename":"image_02012026_06_23_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/2/babe5076d4ea26e1d2c56c989b2906c6.jpg","text":"TemporaryFile(/tmp/multipartBody2900087070129100767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335043484,"filename":"image_02012026_06_22_54_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402112149","file1":"1402112106","file0":"1402112071","file4":"1402112221","file5":"1402112258","file3":"1402112182"},"map_files_photo_id_array":[{"photo_id":"1402112258","filename":"file5"},{"photo_id":"1402112149","filename":"file2"},{"photo_id":"1402112221","filename":"file4"},{"photo_id":"1402112106","filename":"file1"},{"photo_id":"1402112071","filename":"file0"},{"photo_id":"1402112182","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402112071":["hashtag1","hashtag2"]},{"1402112149":["hashtag1","hashtag2"]},{"1402112221":["hashtag1","hashtag2"]},{"1402112106":["hashtag1","hashtag2"]},{"1402112258":["hashtag1","hashtag2"]},{"1402112182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402112071, 1402112149, 1402112221, 1402112106, 1402112258, 1402112182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.696895360946655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:23:42.064817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_41_2689.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_47_2815.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_50_3701.jpg', '/home/pi/Desktop/images/04112025/23/45/image_04112025_23_46_00_3626.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_02_2745.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_21_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/23/45/image_04112025_23_45_41_2689.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_47_2815.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_45_50_3701.jpg
/home/pi/Desktop/images/04112025/23/45/image_04112025_23_46_00_3626.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_02_2745.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_21_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402112290","1402112292","1402112280","1402112297","1402112291","1402112303"],"photo_ids_order":["1402112280","1402112290","1402112291","1402112292","1402112297","1402112303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6628acce1b4f846d1b6078b6652514d.jpg","text":"TemporaryFile(/tmp/multipartBody1395115295837887453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335083896,"filename":"image_04112025_23_45_47_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/2/0ebc98e6a07b6feb31368cf983168958.jpg","text":"TemporaryFile(/tmp/multipartBody8550313624778203235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335083896,"filename":"image_04112025_23_46_00_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/2/79d0413f77e8073901213e570fb5da56.jpg","text":"TemporaryFile(/tmp/multipartBody6603107507438103428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335083896,"filename":"image_04112025_23_45_41_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/2/7f6f9c63ca7cb7258e23edc8b663f698.jpg","text":"TemporaryFile(/tmp/multipartBody3592882345129986640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335083896,"filename":"image_04112025_23_46_02_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/2/66d0be5a9136a820b1725f8188827055.jpg","text":"TemporaryFile(/tmp/multipartBody728424499648641419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335083896,"filename":"image_04112025_23_45_50_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/2/ccad472b14ac78f1e0a9a519f91d41cc.jpg","text":"TemporaryFile(/tmp/multipartBody1918373589789129356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335083896,"filename":"image_04112025_23_46_21_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402112291","file1":"1402112290","file0":"1402112280","file4":"1402112297","file5":"1402112303","file3":"1402112292"},"map_files_photo_id_array":[{"photo_id":"1402112303","filename":"file5"},{"photo_id":"1402112291","filename":"file2"},{"photo_id":"1402112297","filename":"file4"},{"photo_id":"1402112290","filename":"file1"},{"photo_id":"1402112280","filename":"file0"},{"photo_id":"1402112292","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402112290":["hashtag1","hashtag2"]},{"1402112292":["hashtag1","hashtag2"]},{"1402112280":["hashtag1","hashtag2"]},{"1402112297":["hashtag1","hashtag2"]},{"1402112291":["hashtag1","hashtag2"]},{"1402112303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402112290, 1402112292, 1402112280, 1402112297, 1402112291, 1402112303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.074403047561646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:24:22.247288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/23/image_02012026_06_24_05_9590.jpg', '/home/pi/Desktop/images/02012026/06/24/image_02012026_06_24_15_10722.jpg', '/home/pi/Desktop/images/02012026/06/24/image_02012026_06_24_25_9750.jpg', '/home/pi/Desktop/images/02012026/06/24/image_02012026_06_24_55_10656.jpg', '/home/pi/Desktop/images/02012026/06/24/image_02012026_06_25_05_9582.jpg', '/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_15_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/23/image_02012026_06_24_05_9590.jpg
/home/pi/Desktop/images/02012026/06/24/image_02012026_06_24_15_10722.jpg
/home/pi/Desktop/images/02012026/06/24/image_02012026_06_24_25_9750.jpg
/home/pi/Desktop/images/02012026/06/24/image_02012026_06_24_55_10656.jpg
/home/pi/Desktop/images/02012026/06/24/image_02012026_06_25_05_9582.jpg
/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_15_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402112311","1402112320","1402112317","1402112313","1402112315","1402112309"],"photo_ids_order":["1402112309","1402112311","1402112313","1402112315","1402112317","1402112320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3869996b8d760f788c56ff01ab3fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody483666003590909552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335122908,"filename":"image_02012026_06_24_15_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/2/88df9415fc27a819474ad92a046a0ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5247670317827293587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335122908,"filename":"image_02012026_06_25_15_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/2/801cc7e0a0c693b72a2cd02634d6440f.jpg","text":"TemporaryFile(/tmp/multipartBody7582866301145319301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335122908,"filename":"image_02012026_06_25_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/2/910dabc5469e659b0cc70d8dfdd91037.jpg","text":"TemporaryFile(/tmp/multipartBody5079397973830191341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335122908,"filename":"image_02012026_06_24_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/2/267b11bcc0ee715e783c095457478af8.jpg","text":"TemporaryFile(/tmp/multipartBody3430529944650625601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335122908,"filename":"image_02012026_06_24_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/2/35b2240327d865ae864ab2e44f8dfc0e.jpg","text":"TemporaryFile(/tmp/multipartBody411192070801770914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335122908,"filename":"image_02012026_06_24_05_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402112313","file1":"1402112311","file0":"1402112309","file4":"1402112317","file5":"1402112320","file3":"1402112315"},"map_files_photo_id_array":[{"photo_id":"1402112320","filename":"file5"},{"photo_id":"1402112313","filename":"file2"},{"photo_id":"1402112317","filename":"file4"},{"photo_id":"1402112311","filename":"file1"},{"photo_id":"1402112309","filename":"file0"},{"photo_id":"1402112315","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402112311":["hashtag1","hashtag2"]},{"1402112320":["hashtag1","hashtag2"]},{"1402112317":["hashtag1","hashtag2"]},{"1402112313":["hashtag1","hashtag2"]},{"1402112315":["hashtag1","hashtag2"]},{"1402112309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402112311, 1402112320, 1402112317, 1402112313, 1402112315, 1402112309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52261972427368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:25:03.165258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_25_9787.jpg', '/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_35_9611.jpg', '/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_44_9674.jpg', '/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_55_10597.jpg', '/home/pi/Desktop/images/02012026/06/25/image_02012026_06_26_05_9589.jpg', '/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_15_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_25_9787.jpg
/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_35_9611.jpg
/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_44_9674.jpg
/home/pi/Desktop/images/02012026/06/25/image_02012026_06_25_55_10597.jpg
/home/pi/Desktop/images/02012026/06/25/image_02012026_06_26_05_9589.jpg
/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_15_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":["1402112326","1402112335","1402112343","1402112322","1402112328","1402112324"],"photo_ids_order":["1402112322","1402112324","1402112326","1402112328","1402112335","1402112343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b9ab3c0b70fded1ce2e0d29b917e7f3.jpg","text":"TemporaryFile(/tmp/multipartBody1416824060594497068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335163841,"filename":"image_02012026_06_25_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/2/36ea81a6bd005664c9f533e2a2ad0224.jpg","text":"TemporaryFile(/tmp/multipartBody5000161404009728790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335163841,"filename":"image_02012026_06_26_05_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/2/6f18607ef08bbf17275d4fadb5d0cac0.jpg","text":"TemporaryFile(/tmp/multipartBody1945667720343847865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335163841,"filename":"image_02012026_06_26_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/2/327b2902b3f003a3e6cfc58768fb0227.jpg","text":"TemporaryFile(/tmp/multipartBody7303705829156838765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335163841,"filename":"image_02012026_06_25_25_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/2/db015897bfd7f4655fede2e38f75ec64.jpg","text":"TemporaryFile(/tmp/multipartBody1605358775584724183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335163841,"filename":"image_02012026_06_25_55_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/2/6b34665641ff0c2fa2a1d418f42817ba.jpg","text":"TemporaryFile(/tmp/multipartBody2026174878892395618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335163841,"filename":"image_02012026_06_25_35_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402112326","file1":"1402112324","file0":"1402112322","file4":"1402112335","file5":"1402112343","file3":"1402112328"},"map_files_photo_id_array":[{"photo_id":"1402112343","filename":"file5"},{"photo_id":"1402112326","filename":"file2"},{"photo_id":"1402112335","filename":"file4"},{"photo_id":"1402112324","filename":"file1"},{"photo_id":"1402112322","filename":"file0"},{"photo_id":"1402112328","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402112326":["hashtag1","hashtag2"]},{"1402112335":["hashtag1","hashtag2"]},{"1402112343":["hashtag1","hashtag2"]},{"1402112322":["hashtag1","hashtag2"]},{"1402112328":["hashtag1","hashtag2"]},{"1402112324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402112326, 1402112335, 1402112343, 1402112322, 1402112328, 1402112324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.68722724914551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:26:03.267735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 07:26:12.771369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_26_2594.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_32_2740.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_41_2690.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_49_8231.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_53_1706.jpg', '/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_59_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_26_2594.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_32_2740.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_41_2690.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_49_8231.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_53_1706.jpg
/home/pi/Desktop/images/04112025/23/46/image_04112025_23_46_59_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402112539","1402112500","1402112463","1402112390","1402112426","1402112357"],"photo_ids_order":["1402112357","1402112390","1402112426","1402112463","1402112500","1402112539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28718e05f359de4d8f970a1a8b8a58b8.jpg","text":"TemporaryFile(/tmp/multipartBody7259332841533082471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335238403,"filename":"image_04112025_23_46_59_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/2/2bf79fc60b9df20143ac0f2c5a8914e0.jpg","text":"TemporaryFile(/tmp/multipartBody2893491664603941697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335238403,"filename":"image_04112025_23_46_53_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/2/83885baa19210dcd4370636b98d3667e.jpg","text":"TemporaryFile(/tmp/multipartBody8540001161212883088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335238403,"filename":"image_04112025_23_46_49_8231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/51863bf61cdc5d08dd3ce52449c838f0.jpg","text":"TemporaryFile(/tmp/multipartBody8933398658398157256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335238403,"filename":"image_04112025_23_46_32_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/2/61bfe1c21687fe8bb2360f912e2a186a.jpg","text":"TemporaryFile(/tmp/multipartBody1477148134618423162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335238403,"filename":"image_04112025_23_46_41_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/2/08bb833fac5fe4967dcbb9c2324cff54.jpg","text":"TemporaryFile(/tmp/multipartBody8759459005372413646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335238403,"filename":"image_04112025_23_46_26_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402112426","file1":"1402112390","file0":"1402112357","file4":"1402112500","file5":"1402112539","file3":"1402112463"},"map_files_photo_id_array":[{"photo_id":"1402112539","filename":"file5"},{"photo_id":"1402112426","filename":"file2"},{"photo_id":"1402112500","filename":"file4"},{"photo_id":"1402112390","filename":"file1"},{"photo_id":"1402112357","filename":"file0"},{"photo_id":"1402112463","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402112539":["hashtag1","hashtag2"]},{"1402112500":["hashtag1","hashtag2"]},{"1402112463":["hashtag1","hashtag2"]},{"1402112390":["hashtag1","hashtag2"]},{"1402112426":["hashtag1","hashtag2"]},{"1402112357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402112539, 1402112500, 1402112463, 1402112390, 1402112426, 1402112357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.51280069351196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:27:04.984553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 07:27:12.102604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_05_3117.jpg', '/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_20_2627.jpg', '/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_33_3632.jpg', '/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_38_2666.jpg', '/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_44_2600.jpg', '/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_59_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_05_3117.jpg
/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_20_2627.jpg
/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_33_3632.jpg
/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_38_2666.jpg
/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_44_2600.jpg
/home/pi/Desktop/images/04112025/23/47/image_04112025_23_47_59_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402112860","1402112904","1402112826","1402112820","1402112867","1402112857"],"photo_ids_order":["1402112820","1402112826","1402112857","1402112860","1402112867","1402112904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95a9be4c8ea3237b179b60b5ddc0eec6.jpg","text":"TemporaryFile(/tmp/multipartBody2229720541884744898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335311786,"filename":"image_04112025_23_47_38_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/2/72d8485ff79dc183b17a3e90166f847f.jpg","text":"TemporaryFile(/tmp/multipartBody6859078118761049894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335311786,"filename":"image_04112025_23_47_59_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/2/badbc37c86d9f7beb652ce6006e74310.jpg","text":"TemporaryFile(/tmp/multipartBody2801805129223737953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335311786,"filename":"image_04112025_23_47_20_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/2/986bd42fe259249e547788ce38d1cea0.jpg","text":"TemporaryFile(/tmp/multipartBody27161183210179128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335311786,"filename":"image_04112025_23_47_05_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/2/d5842c79ed61bc75c760bff34ecc5383.jpg","text":"TemporaryFile(/tmp/multipartBody2810323585377982713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335311786,"filename":"image_04112025_23_47_44_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/2/ea2a51d719377458db381264e7fc32d7.jpg","text":"TemporaryFile(/tmp/multipartBody5963477049562329004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335311786,"filename":"image_04112025_23_47_33_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402112857","file1":"1402112826","file0":"1402112820","file4":"1402112867","file5":"1402112904","file3":"1402112860"},"map_files_photo_id_array":[{"photo_id":"1402112904","filename":"file5"},{"photo_id":"1402112857","filename":"file2"},{"photo_id":"1402112867","filename":"file4"},{"photo_id":"1402112826","filename":"file1"},{"photo_id":"1402112820","filename":"file0"},{"photo_id":"1402112860","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402112860":["hashtag1","hashtag2"]},{"1402112904":["hashtag1","hashtag2"]},{"1402112826":["hashtag1","hashtag2"]},{"1402112820":["hashtag1","hashtag2"]},{"1402112867":["hashtag1","hashtag2"]},{"1402112857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402112860, 1402112904, 1402112826, 1402112820, 1402112867, 1402112857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.132187604904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:28:12.431157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_05_2699.jpg', '/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_20_3617.jpg', '/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_29_1599.jpg', '/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_31_1755.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_16_1614.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_36_12727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_05_2699.jpg
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_20_3617.jpg
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_29_1599.jpg
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_31_1755.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_16_1614.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_36_12727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 13.370951890945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:28:32.279240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_05_2699.jpg', '/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_20_3617.jpg', '/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_29_1599.jpg', '/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_31_1755.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_16_1614.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_36_12727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_05_2699.jpg
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_20_3617.jpg
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_29_1599.jpg
/home/pi/Desktop/images/04112025/23/48/image_04112025_23_48_31_1755.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_16_1614.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_36_12727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113099","1402113090","1402113103","1402113096","1402113111","1402113104"],"photo_ids_order":["1402113090","1402113096","1402113099","1402113103","1402113104","1402113111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a817d84de02ee2dd74159e5b15a2a791.jpg","text":"TemporaryFile(/tmp/multipartBody583980981033975607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335373903,"filename":"image_04112025_23_48_29_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/2/2e2310c4ea763af64da32dff7d4a6d4d.jpg","text":"TemporaryFile(/tmp/multipartBody3687691612234495205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335373903,"filename":"image_04112025_23_48_05_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/2/2b5867f63c2d7ab99846ef3147ef0662.jpg","text":"TemporaryFile(/tmp/multipartBody2448124999285655650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335373903,"filename":"image_04112025_23_48_31_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/2/e86db5f37b6915644efae7a017464ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2695615533581184787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335373903,"filename":"image_04112025_23_48_20_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/2/d6f9ee630ed7ddee1978126257ce3e63.jpg","text":"TemporaryFile(/tmp/multipartBody5711846576662092354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335373903,"filename":"image_04112025_23_49_36_12727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32fffac652b27e675ca99cdfdcb63526.jpg","text":"TemporaryFile(/tmp/multipartBody1221732610056926043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335373903,"filename":"image_04112025_23_49_16_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113099","file1":"1402113096","file0":"1402113090","file4":"1402113104","file5":"1402113111","file3":"1402113103"},"map_files_photo_id_array":[{"photo_id":"1402113111","filename":"file5"},{"photo_id":"1402113099","filename":"file2"},{"photo_id":"1402113104","filename":"file4"},{"photo_id":"1402113096","filename":"file1"},{"photo_id":"1402113090","filename":"file0"},{"photo_id":"1402113103","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402113099":["hashtag1","hashtag2"]},{"1402113090":["hashtag1","hashtag2"]},{"1402113103":["hashtag1","hashtag2"]},{"1402113096":["hashtag1","hashtag2"]},{"1402113111":["hashtag1","hashtag2"]},{"1402113104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402113099, 1402113090, 1402113103, 1402113096, 1402113111, 1402113104)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.01056742668152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:29:26.976821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_25_9767.jpg', '/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_35_9804.jpg', '/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_44_9600.jpg', '/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_55_10850.jpg', '/home/pi/Desktop/images/02012026/06/26/image_02012026_06_27_05_9685.jpg', '/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_15_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_25_9767.jpg
/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_35_9804.jpg
/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_44_9600.jpg
/home/pi/Desktop/images/02012026/06/26/image_02012026_06_26_55_10850.jpg
/home/pi/Desktop/images/02012026/06/26/image_02012026_06_27_05_9685.jpg
/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_15_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113211","1402113202","1402113209","1402113200","1402113193","1402113196"],"photo_ids_order":["1402113193","1402113196","1402113200","1402113202","1402113209","1402113211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/03d1e78ce429e7a91c6e8755499828ea.jpg","text":"TemporaryFile(/tmp/multipartBody671806454908579688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335427605,"filename":"image_02012026_06_27_15_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/2/d2e14f9c372ce78382456c629944ebe6.jpg","text":"TemporaryFile(/tmp/multipartBody7189362603707853877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335427605,"filename":"image_02012026_06_26_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/2/ddc619271c4bb1cd67eb1ae8d695d918.jpg","text":"TemporaryFile(/tmp/multipartBody3126246679214511022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335427605,"filename":"image_02012026_06_27_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/2/9be7ab091c397459341ea51bb0327174.jpg","text":"TemporaryFile(/tmp/multipartBody618057300240475477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335427605,"filename":"image_02012026_06_26_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/2/aaf71f7aa2f7ce89bc0a0ecb38f1ff6d.jpg","text":"TemporaryFile(/tmp/multipartBody1653319330823790165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335427605,"filename":"image_02012026_06_26_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/2/989c7d0d728e1d849d063fff5c004229.jpg","text":"TemporaryFile(/tmp/multipartBody3977064667204317891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335427605,"filename":"image_02012026_06_26_35_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113200","file1":"1402113196","file0":"1402113193","file4":"1402113209","file5":"1402113211","file3":"1402113202"},"map_files_photo_id_array":[{"photo_id":"1402113211","filename":"file5"},{"photo_id":"1402113200","filename":"file2"},{"photo_id":"1402113209","filename":"file4"},{"photo_id":"1402113196","filename":"file1"},{"photo_id":"1402113193","filename":"file0"},{"photo_id":"1402113202","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402113211":["hashtag1","hashtag2"]},{"1402113202":["hashtag1","hashtag2"]},{"1402113209":["hashtag1","hashtag2"]},{"1402113200":["hashtag1","hashtag2"]},{"1402113193":["hashtag1","hashtag2"]},{"1402113196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402113211, 1402113202, 1402113209, 1402113200, 1402113193, 1402113196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42378520965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:30:12.237783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_38_1638.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_40_1714.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_52_1684.jpg', '/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_54_1617.jpg', '/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_08_2086.jpg', '/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_18_8827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_38_1638.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_40_1714.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_52_1684.jpg
/home/pi/Desktop/images/04112025/23/49/image_04112025_23_49_54_1617.jpg
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_08_2086.jpg
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_18_8827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113226","1402113228","1402113224","1402113221","1402113215","1402113218"],"photo_ids_order":["1402113215","1402113218","1402113221","1402113224","1402113226","1402113228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a2275b5ca285cbe9abc401616050596.jpg","text":"TemporaryFile(/tmp/multipartBody1645035492785682839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335473947,"filename":"image_04112025_23_50_08_2086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a640823d49b5a0a397a81a29c39d99d.jpg","text":"TemporaryFile(/tmp/multipartBody6454922889389883108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335473947,"filename":"image_04112025_23_50_18_8827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d4ca159a407f6036cfcd69a40af3ffb0.jpg","text":"TemporaryFile(/tmp/multipartBody5582124954305956255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335473947,"filename":"image_04112025_23_49_54_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/2/bcd9ad19b86d046858da9545eaf5bccb.jpg","text":"TemporaryFile(/tmp/multipartBody712808662803822200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335473947,"filename":"image_04112025_23_49_52_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/2/75461dd2c150b82396ba52f182316bad.jpg","text":"TemporaryFile(/tmp/multipartBody6678170908151240779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335473947,"filename":"image_04112025_23_49_38_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/2/203e47b4a95be661d2753b55a8859f76.jpg","text":"TemporaryFile(/tmp/multipartBody832342993311447118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335473947,"filename":"image_04112025_23_49_40_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113221","file1":"1402113218","file0":"1402113215","file4":"1402113226","file5":"1402113228","file3":"1402113224"},"map_files_photo_id_array":[{"photo_id":"1402113228","filename":"file5"},{"photo_id":"1402113221","filename":"file2"},{"photo_id":"1402113226","filename":"file4"},{"photo_id":"1402113218","filename":"file1"},{"photo_id":"1402113215","filename":"file0"},{"photo_id":"1402113224","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402113226":["hashtag1","hashtag2"]},{"1402113228":["hashtag1","hashtag2"]},{"1402113224":["hashtag1","hashtag2"]},{"1402113221":["hashtag1","hashtag2"]},{"1402113215":["hashtag1","hashtag2"]},{"1402113218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402113226, 1402113228, 1402113224, 1402113221, 1402113215, 1402113218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.823206424713135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:31:03.008983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_35_10638.jpg', '/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_45_9660.jpg', '/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_54_9581.jpg', '/home/pi/Desktop/images/02012026/06/27/image_02012026_06_28_05_10836.jpg', '/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_15_9742.jpg', '/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_25_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_35_10638.jpg
/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_45_9660.jpg
/home/pi/Desktop/images/02012026/06/27/image_02012026_06_27_54_9581.jpg
/home/pi/Desktop/images/02012026/06/27/image_02012026_06_28_05_10836.jpg
/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_15_9742.jpg
/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_25_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113517","1402113579","1402113575","1402113344","1402113448","1402113529"],"photo_ids_order":["1402113344","1402113448","1402113517","1402113529","1402113575","1402113579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd2e616dcf8175b9f10724cbfe1e5e50.jpg","text":"TemporaryFile(/tmp/multipartBody2484686746497284783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335523760,"filename":"image_02012026_06_27_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/2/913aa6781fe6dc3d7a716a1b6eec7064.jpg","text":"TemporaryFile(/tmp/multipartBody3915836583004473094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335523760,"filename":"image_02012026_06_28_25_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/2/6acf043fe98278f2ec10663009226bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6991852548658000338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335523760,"filename":"image_02012026_06_28_15_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/2/05e2abff1b135318450c76f0b2b14818.jpg","text":"TemporaryFile(/tmp/multipartBody8488869260438088104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335523760,"filename":"image_02012026_06_27_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/2/329dcd5d979c06641b754c6f1be4da1e.jpg","text":"TemporaryFile(/tmp/multipartBody4614771635679136024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335523760,"filename":"image_02012026_06_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/2/6eebc4a4eda8a62209b23b68377536a3.jpg","text":"TemporaryFile(/tmp/multipartBody3930910457503140348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335523760,"filename":"image_02012026_06_28_05_10836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113517","file1":"1402113448","file0":"1402113344","file4":"1402113575","file5":"1402113579","file3":"1402113529"},"map_files_photo_id_array":[{"photo_id":"1402113579","filename":"file5"},{"photo_id":"1402113517","filename":"file2"},{"photo_id":"1402113575","filename":"file4"},{"photo_id":"1402113448","filename":"file1"},{"photo_id":"1402113344","filename":"file0"},{"photo_id":"1402113529","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402113517":["hashtag1","hashtag2"]},{"1402113579":["hashtag1","hashtag2"]},{"1402113575":["hashtag1","hashtag2"]},{"1402113344":["hashtag1","hashtag2"]},{"1402113448":["hashtag1","hashtag2"]},{"1402113529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402113517, 1402113579, 1402113575, 1402113344, 1402113448, 1402113529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41147780418396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:31:42.610770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_25_1724.jpg', '/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_38_12707.jpg', '/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_43_1788.jpg', '/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_44_1666.jpg', '/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_53_6605.jpg', '/home/pi/Desktop/images/04112025/23/51/image_04112025_23_51_34_1812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_25_1724.jpg
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_38_12707.jpg
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_43_1788.jpg
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_44_1666.jpg
/home/pi/Desktop/images/04112025/23/50/image_04112025_23_50_53_6605.jpg
/home/pi/Desktop/images/04112025/23/51/image_04112025_23_51_34_1812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113657","1402113651","1402113648","1402113647","1402113646","1402113649"],"photo_ids_order":["1402113646","1402113647","1402113648","1402113649","1402113651","1402113657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ec7808517dadd296e0258a8f2eba440.jpg","text":"TemporaryFile(/tmp/multipartBody5952070597820588798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335564413,"filename":"image_04112025_23_51_34_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e82d6e8f147eb794980fae6c29fba40.jpg","text":"TemporaryFile(/tmp/multipartBody9009171570626399783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335564413,"filename":"image_04112025_23_50_53_6605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa7af514b7d1574f0b43983867b58f22.jpg","text":"TemporaryFile(/tmp/multipartBody8150843436231717675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335564413,"filename":"image_04112025_23_50_43_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/2/aeadd1162ca9e2fa2fdc6c02b15aa4a6.jpg","text":"TemporaryFile(/tmp/multipartBody8418179371974904464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335564413,"filename":"image_04112025_23_50_38_12707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/51b3deb36e267ef0aaa0ac6a8964722a.jpg","text":"TemporaryFile(/tmp/multipartBody1198823721519563315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335564413,"filename":"image_04112025_23_50_25_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/2/6345c75cee945e1edda4ab7c865eaf15.jpg","text":"TemporaryFile(/tmp/multipartBody6680566456301659111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335564413,"filename":"image_04112025_23_50_44_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113648","file1":"1402113647","file0":"1402113646","file4":"1402113651","file5":"1402113657","file3":"1402113649"},"map_files_photo_id_array":[{"photo_id":"1402113657","filename":"file5"},{"photo_id":"1402113648","filename":"file2"},{"photo_id":"1402113651","filename":"file4"},{"photo_id":"1402113647","filename":"file1"},{"photo_id":"1402113646","filename":"file0"},{"photo_id":"1402113649","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402113657":["hashtag1","hashtag2"]},{"1402113651":["hashtag1","hashtag2"]},{"1402113648":["hashtag1","hashtag2"]},{"1402113647":["hashtag1","hashtag2"]},{"1402113646":["hashtag1","hashtag2"]},{"1402113649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402113657, 1402113651, 1402113648, 1402113647, 1402113646, 1402113649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05816388130188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:32:23.423926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_35_10646.jpg', '/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_45_9688.jpg', '/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_55_9746.jpg', '/home/pi/Desktop/images/02012026/06/28/image_02012026_06_29_05_10665.jpg', '/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_15_9829.jpg', '/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_25_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_35_10646.jpg
/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_45_9688.jpg
/home/pi/Desktop/images/02012026/06/28/image_02012026_06_28_55_9746.jpg
/home/pi/Desktop/images/02012026/06/28/image_02012026_06_29_05_10665.jpg
/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_15_9829.jpg
/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_25_9565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113693","1402113687","1402113695","1402113689","1402113704","1402113691"],"photo_ids_order":["1402113687","1402113689","1402113691","1402113693","1402113695","1402113704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/471af7e49f6b715ec2d9ce34bed8a3af.jpg","text":"TemporaryFile(/tmp/multipartBody7339603939781405388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335604043,"filename":"image_02012026_06_29_05_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/2/3b08e43a10b0bc6ac095d46c48b68424.jpg","text":"TemporaryFile(/tmp/multipartBody3199290883025504840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335604043,"filename":"image_02012026_06_28_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/2/6d16ac0cbc80052a7c9f9f5558ca37c7.jpg","text":"TemporaryFile(/tmp/multipartBody3478707549993642651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335604043,"filename":"image_02012026_06_29_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/2/eb624e15385e07660fff2dda236c159a.jpg","text":"TemporaryFile(/tmp/multipartBody7653706552004700014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335604043,"filename":"image_02012026_06_28_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/2/4ebca9ff863d0cda2a283813a1026892.jpg","text":"TemporaryFile(/tmp/multipartBody3620588145224975097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335604043,"filename":"image_02012026_06_29_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/2/cc061d0f61aabfcdee211e4512fc062c.jpg","text":"TemporaryFile(/tmp/multipartBody8656779079166662907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335604043,"filename":"image_02012026_06_28_55_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113691","file1":"1402113689","file0":"1402113687","file4":"1402113695","file5":"1402113704","file3":"1402113693"},"map_files_photo_id_array":[{"photo_id":"1402113704","filename":"file5"},{"photo_id":"1402113691","filename":"file2"},{"photo_id":"1402113695","filename":"file4"},{"photo_id":"1402113689","filename":"file1"},{"photo_id":"1402113687","filename":"file0"},{"photo_id":"1402113693","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402113693":["hashtag1","hashtag2"]},{"1402113687":["hashtag1","hashtag2"]},{"1402113695":["hashtag1","hashtag2"]},{"1402113689":["hashtag1","hashtag2"]},{"1402113704":["hashtag1","hashtag2"]},{"1402113691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402113693, 1402113687, 1402113695, 1402113689, 1402113704, 1402113691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.092193365097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:33:03.344141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_34_9623.jpg', '/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_45_10775.jpg', '/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_55_9773.jpg', '/home/pi/Desktop/images/02012026/06/29/image_02012026_06_30_05_9658.jpg', '/home/pi/Desktop/images/02012026/06/30/image_02012026_06_30_15_10683.jpg', '/home/pi/Desktop/images/02012026/06/30/image_02012026_06_31_05_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_34_9623.jpg
/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_45_10775.jpg
/home/pi/Desktop/images/02012026/06/29/image_02012026_06_29_55_9773.jpg
/home/pi/Desktop/images/02012026/06/29/image_02012026_06_30_05_9658.jpg
/home/pi/Desktop/images/02012026/06/30/image_02012026_06_30_15_10683.jpg
/home/pi/Desktop/images/02012026/06/30/image_02012026_06_31_05_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":["1402113715","1402113718","1402113711","1402113720","1402113722","1402113713"],"photo_ids_order":["1402113711","1402113713","1402113715","1402113718","1402113720","1402113722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1ca1317099f17236b45504d1def9443e.jpg","text":"TemporaryFile(/tmp/multipartBody1335616343446546790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335644093,"filename":"image_02012026_06_29_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/2/d0ebfa74648e9c0a06a5f64258f78fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2144733974400257606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335644093,"filename":"image_02012026_06_30_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/2/347c176bc76f0395e889a97b3b7fd82c.jpg","text":"TemporaryFile(/tmp/multipartBody3817347671394372935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335644093,"filename":"image_02012026_06_29_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/2/dedf72db04f9e8ddc6498375ec5b3b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6075536319964079069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335644093,"filename":"image_02012026_06_30_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/2/ca10a8390e33a7f9b4857de14adc1cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3155126402212491280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335644093,"filename":"image_02012026_06_31_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/2/099378aa5768d22d75107df73d24173a.jpg","text":"TemporaryFile(/tmp/multipartBody7271266633777005976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335644093,"filename":"image_02012026_06_29_45_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113715","file1":"1402113713","file0":"1402113711","file4":"1402113720","file5":"1402113722","file3":"1402113718"},"map_files_photo_id_array":[{"photo_id":"1402113722","filename":"file5"},{"photo_id":"1402113715","filename":"file2"},{"photo_id":"1402113720","filename":"file4"},{"photo_id":"1402113713","filename":"file1"},{"photo_id":"1402113711","filename":"file0"},{"photo_id":"1402113718","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402113715":["hashtag1","hashtag2"]},{"1402113718":["hashtag1","hashtag2"]},{"1402113711":["hashtag1","hashtag2"]},{"1402113720":["hashtag1","hashtag2"]},{"1402113722":["hashtag1","hashtag2"]},{"1402113713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402113715, 1402113718, 1402113711, 1402113720, 1402113722, 1402113713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88059091567993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:33:42.617118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/51/image_04112025_23_51_37_1803.jpg', '/home/pi/Desktop/images/04112025/23/51/image_04112025_23_51_44_1635.jpg', '/home/pi/Desktop/images/04112025/23/51/image_04112025_23_52_00_8860.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_03_2931.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_28_1662.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_34_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/23/51/image_04112025_23_51_37_1803.jpg
/home/pi/Desktop/images/04112025/23/51/image_04112025_23_51_44_1635.jpg
/home/pi/Desktop/images/04112025/23/51/image_04112025_23_52_00_8860.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_03_2931.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_28_1662.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_34_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":["1402113735","1402113732","1402113731","1402113730","1402113733","1402113727"],"photo_ids_order":["1402113727","1402113730","1402113731","1402113732","1402113733","1402113735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d812e8a204e82363c3319126d4fcb681.jpg","text":"TemporaryFile(/tmp/multipartBody3346254904086139159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335684457,"filename":"image_04112025_23_52_34_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/2/d208eeaec5f05d9707b953120dc7d343.jpg","text":"TemporaryFile(/tmp/multipartBody1486012264289436983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335684457,"filename":"image_04112025_23_52_03_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f5fb8c57dbf1f97d2bf3c88ae02cb398.jpg","text":"TemporaryFile(/tmp/multipartBody199124821809719146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335684457,"filename":"image_04112025_23_52_00_8860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/509254b6fe622cec55ba908e019a757c.jpg","text":"TemporaryFile(/tmp/multipartBody5557188954027478628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335684457,"filename":"image_04112025_23_51_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/2/08eba44c332883b6b8958d7ee280d4b9.jpg","text":"TemporaryFile(/tmp/multipartBody8720161032748287118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335684457,"filename":"image_04112025_23_52_28_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/2/dafddc9f195af95631e043e216023b11.jpg","text":"TemporaryFile(/tmp/multipartBody5006562636344410845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335684457,"filename":"image_04112025_23_51_37_1803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113731","file1":"1402113730","file0":"1402113727","file4":"1402113733","file5":"1402113735","file3":"1402113732"},"map_files_photo_id_array":[{"photo_id":"1402113735","filename":"file5"},{"photo_id":"1402113731","filename":"file2"},{"photo_id":"1402113733","filename":"file4"},{"photo_id":"1402113730","filename":"file1"},{"photo_id":"1402113727","filename":"file0"},{"photo_id":"1402113732","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402113735":["hashtag1","hashtag2"]},{"1402113732":["hashtag1","hashtag2"]},{"1402113731":["hashtag1","hashtag2"]},{"1402113730":["hashtag1","hashtag2"]},{"1402113733":["hashtag1","hashtag2"]},{"1402113727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402113735, 1402113732, 1402113731, 1402113730, 1402113733, 1402113727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.777223110198975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:34:22.816711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_14_9639.jpg', '/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_25_10547.jpg', '/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_45_10613.jpg', '/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_55_9693.jpg', '/home/pi/Desktop/images/02012026/06/31/image_02012026_06_32_05_9612.jpg', '/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_15_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_14_9639.jpg
/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_25_10547.jpg
/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_45_10613.jpg
/home/pi/Desktop/images/02012026/06/31/image_02012026_06_31_55_9693.jpg
/home/pi/Desktop/images/02012026/06/31/image_02012026_06_32_05_9612.jpg
/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_15_10742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113913","1402113891","1402113869","1402113836","1402113917","1402113868"],"photo_ids_order":["1402113836","1402113868","1402113869","1402113891","1402113913","1402113917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/398e812f5679e5fd55103d461e9e30ce.jpg","text":"TemporaryFile(/tmp/multipartBody8671142961631639850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335723479,"filename":"image_02012026_06_32_05_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/2/472d64cd9423575db11c3fce4c8a5c25.jpg","text":"TemporaryFile(/tmp/multipartBody237423083227051866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335723479,"filename":"image_02012026_06_31_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/2/33c0e063dad5cd2e6416a366e34377f6.jpg","text":"TemporaryFile(/tmp/multipartBody1782995951664015905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335723479,"filename":"image_02012026_06_31_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/2/49cc32d962e9ad5e9103325843af4b93.jpg","text":"TemporaryFile(/tmp/multipartBody2694534472236006048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335723479,"filename":"image_02012026_06_31_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/2/1e97d6a40b491f1518c755ee1d7e047b.jpg","text":"TemporaryFile(/tmp/multipartBody6019985482280143408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335723479,"filename":"image_02012026_06_32_15_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/2/f4e179c277568a6f1201879edd32a048.jpg","text":"TemporaryFile(/tmp/multipartBody2187513591678035302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335723479,"filename":"image_02012026_06_31_25_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113869","file1":"1402113868","file0":"1402113836","file4":"1402113913","file5":"1402113917","file3":"1402113891"},"map_files_photo_id_array":[{"photo_id":"1402113917","filename":"file5"},{"photo_id":"1402113869","filename":"file2"},{"photo_id":"1402113913","filename":"file4"},{"photo_id":"1402113868","filename":"file1"},{"photo_id":"1402113836","filename":"file0"},{"photo_id":"1402113891","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402113913":["hashtag1","hashtag2"]},{"1402113891":["hashtag1","hashtag2"]},{"1402113869":["hashtag1","hashtag2"]},{"1402113836":["hashtag1","hashtag2"]},{"1402113917":["hashtag1","hashtag2"]},{"1402113868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402113913, 1402113891, 1402113869, 1402113836, 1402113917, 1402113868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40324950218201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:35:02.715100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_25_9574.jpg', '/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_35_9820.jpg', '/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_45_10543.jpg', '/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_55_9810.jpg', '/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_24_9772.jpg', '/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_35_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_25_9574.jpg
/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_35_9820.jpg
/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_45_10543.jpg
/home/pi/Desktop/images/02012026/06/32/image_02012026_06_32_55_9810.jpg
/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_24_9772.jpg
/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_35_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":["1402113966","1402113975","1402113977","1402113968","1402113973","1402113970"],"photo_ids_order":["1402113966","1402113968","1402113970","1402113973","1402113975","1402113977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c94b2b11c40eca4cb3b7b41523fc950e.jpg","text":"TemporaryFile(/tmp/multipartBody7842667540025401182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335763399,"filename":"image_02012026_06_32_25_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/2/34aa74c1ace7f5a8b6f870d3468d34c7.jpg","text":"TemporaryFile(/tmp/multipartBody5923425618357949399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335763399,"filename":"image_02012026_06_33_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/2/ca33ccd0df932c5f3e6c60296370384b.jpg","text":"TemporaryFile(/tmp/multipartBody1298993964618103700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335763399,"filename":"image_02012026_06_33_35_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/2/aaad71f6020977686938f81bb5bc93fd.jpg","text":"TemporaryFile(/tmp/multipartBody1384454552603361071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335763399,"filename":"image_02012026_06_32_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/2/80b3d42cd563ed2421ca3a3c77bd7e32.jpg","text":"TemporaryFile(/tmp/multipartBody4196988833140793242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335763399,"filename":"image_02012026_06_32_55_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/2/a92013d078a61947189ea20de16349c0.jpg","text":"TemporaryFile(/tmp/multipartBody9106185399611899226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335763399,"filename":"image_02012026_06_32_45_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113970","file1":"1402113968","file0":"1402113966","file4":"1402113975","file5":"1402113977","file3":"1402113973"},"map_files_photo_id_array":[{"photo_id":"1402113977","filename":"file5"},{"photo_id":"1402113970","filename":"file2"},{"photo_id":"1402113975","filename":"file4"},{"photo_id":"1402113968","filename":"file1"},{"photo_id":"1402113966","filename":"file0"},{"photo_id":"1402113973","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402113966":["hashtag1","hashtag2"]},{"1402113975":["hashtag1","hashtag2"]},{"1402113977":["hashtag1","hashtag2"]},{"1402113968":["hashtag1","hashtag2"]},{"1402113973":["hashtag1","hashtag2"]},{"1402113970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402113966, 1402113975, 1402113977, 1402113968, 1402113973, 1402113970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.162131786346436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:35:42.017653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_35_1869.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_44_1658.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_49_1581.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_51_1628.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_54_1592.jpg', '/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_59_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_35_1869.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_44_1658.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_49_1581.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_51_1628.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_54_1592.jpg
/home/pi/Desktop/images/04112025/23/52/image_04112025_23_52_59_1705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402113993","1402114119","1402113992","1402113983","1402113991","1402114006"],"photo_ids_order":["1402113983","1402113991","1402113992","1402113993","1402114006","1402114119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a1b0bb1d058fa702397e4a5263767778.jpg","text":"TemporaryFile(/tmp/multipartBody4520387965738080433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335803822,"filename":"image_04112025_23_52_51_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/2/38e80b7830e8433950a06308a8d0daa7.jpg","text":"TemporaryFile(/tmp/multipartBody6320734314456811679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335803822,"filename":"image_04112025_23_52_59_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/2/1dd08c8f8bf78d11eef8f3e64989266d.jpg","text":"TemporaryFile(/tmp/multipartBody182997868098154849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335803822,"filename":"image_04112025_23_52_49_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/2/486a9f3eda04b8b112f0efdd8c3aafd7.jpg","text":"TemporaryFile(/tmp/multipartBody2873720304303215389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335803822,"filename":"image_04112025_23_52_35_1869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4734f15b2c03a25337430d083d81ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody1505334611104438138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335803822,"filename":"image_04112025_23_52_44_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/2/b23691c1481674a85232aa302afa4314.jpg","text":"TemporaryFile(/tmp/multipartBody3740606284309826757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335803822,"filename":"image_04112025_23_52_54_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402113992","file1":"1402113991","file0":"1402113983","file4":"1402114006","file5":"1402114119","file3":"1402113993"},"map_files_photo_id_array":[{"photo_id":"1402114119","filename":"file5"},{"photo_id":"1402113992","filename":"file2"},{"photo_id":"1402114006","filename":"file4"},{"photo_id":"1402113991","filename":"file1"},{"photo_id":"1402113983","filename":"file0"},{"photo_id":"1402113993","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402113993":["hashtag1","hashtag2"]},{"1402114119":["hashtag1","hashtag2"]},{"1402113992":["hashtag1","hashtag2"]},{"1402113983":["hashtag1","hashtag2"]},{"1402113991":["hashtag1","hashtag2"]},{"1402114006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402113993, 1402114119, 1402113992, 1402113983, 1402113991, 1402114006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91430377960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:36:22.226821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_45_9599.jpg', '/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_55_10551.jpg', '/home/pi/Desktop/images/02012026/06/33/image_02012026_06_34_05_9661.jpg', '/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_15_9727.jpg', '/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_25_10704.jpg', '/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_35_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_45_9599.jpg
/home/pi/Desktop/images/02012026/06/33/image_02012026_06_33_55_10551.jpg
/home/pi/Desktop/images/02012026/06/33/image_02012026_06_34_05_9661.jpg
/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_15_9727.jpg
/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_25_10704.jpg
/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_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":["1402114230","1402114298","1402114252","1402114228","1402114300","1402114296"],"photo_ids_order":["1402114228","1402114230","1402114252","1402114296","1402114298","1402114300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/421fb90befd1863844add56638207eae.jpg","text":"TemporaryFile(/tmp/multipartBody7763733119637641781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335842851,"filename":"image_02012026_06_33_55_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/2/e6048a824035875718f8cb1523064d00.jpg","text":"TemporaryFile(/tmp/multipartBody1063182178420764836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335842851,"filename":"image_02012026_06_34_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/2/d559174eb5c5d9044219b0b3421eaca5.jpg","text":"TemporaryFile(/tmp/multipartBody5492644592346377715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335842851,"filename":"image_02012026_06_34_05_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/2/2286329808d853fd8eefcd3512400968.jpg","text":"TemporaryFile(/tmp/multipartBody5604822771557317314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335842851,"filename":"image_02012026_06_33_45_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/2/e6064ec71529dd02e4f4c800e2b32608.jpg","text":"TemporaryFile(/tmp/multipartBody8713617021253141321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335842851,"filename":"image_02012026_06_34_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/2/89e606cc29dec447e980a0d3d14b32c4.jpg","text":"TemporaryFile(/tmp/multipartBody4604091482410474775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335842851,"filename":"image_02012026_06_34_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402114252","file1":"1402114230","file0":"1402114228","file4":"1402114298","file5":"1402114300","file3":"1402114296"},"map_files_photo_id_array":[{"photo_id":"1402114300","filename":"file5"},{"photo_id":"1402114252","filename":"file2"},{"photo_id":"1402114298","filename":"file4"},{"photo_id":"1402114230","filename":"file1"},{"photo_id":"1402114228","filename":"file0"},{"photo_id":"1402114296","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402114230":["hashtag1","hashtag2"]},{"1402114298":["hashtag1","hashtag2"]},{"1402114252":["hashtag1","hashtag2"]},{"1402114228":["hashtag1","hashtag2"]},{"1402114300":["hashtag1","hashtag2"]},{"1402114296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402114230, 1402114298, 1402114252, 1402114228, 1402114300, 1402114296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.297860860824585 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-02 07:37:13.148933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_11_3855.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_16_1652.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_20_3644.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_25_2849.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_31_5743.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_33_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_11_3855.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_16_1652.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_20_3644.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_25_2849.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_31_5743.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_33_1692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402114311","1402114304","1402114313","1402114315","1402114309","1402114306"],"photo_ids_order":["1402114304","1402114306","1402114309","1402114311","1402114313","1402114315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d35a3e50dbf1eb7bd7b94f3cd999d21.jpg","text":"TemporaryFile(/tmp/multipartBody1168906897770475402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335894834,"filename":"image_04112025_23_53_25_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c14f0a95fcbc28023ba5f2478b74a94.jpg","text":"TemporaryFile(/tmp/multipartBody5683054211819694525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335894834,"filename":"image_04112025_23_53_11_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5062c338bfab4943dd3d406f652a9406.jpg","text":"TemporaryFile(/tmp/multipartBody3082908111381917320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335894834,"filename":"image_04112025_23_53_31_5743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/428e9dd9019aba7c97c0d4441f125c66.jpg","text":"TemporaryFile(/tmp/multipartBody4792506819197355469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335894834,"filename":"image_04112025_23_53_33_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/2/4dbcf3a5942b927dc3b927af405e0e80.jpg","text":"TemporaryFile(/tmp/multipartBody9087607399627728887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335894834,"filename":"image_04112025_23_53_20_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/2/dec0feda0796b19366612ae2adbdd583.jpg","text":"TemporaryFile(/tmp/multipartBody8309573966360856501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335894834,"filename":"image_04112025_23_53_16_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402114309","file1":"1402114306","file0":"1402114304","file4":"1402114313","file5":"1402114315","file3":"1402114311"},"map_files_photo_id_array":[{"photo_id":"1402114315","filename":"file5"},{"photo_id":"1402114309","filename":"file2"},{"photo_id":"1402114313","filename":"file4"},{"photo_id":"1402114306","filename":"file1"},{"photo_id":"1402114304","filename":"file0"},{"photo_id":"1402114311","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402114311":["hashtag1","hashtag2"]},{"1402114304":["hashtag1","hashtag2"]},{"1402114313":["hashtag1","hashtag2"]},{"1402114315":["hashtag1","hashtag2"]},{"1402114309":["hashtag1","hashtag2"]},{"1402114306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402114311, 1402114304, 1402114313, 1402114315, 1402114309, 1402114306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.968419790267944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:38:02.790739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_55_9753.jpg', '/home/pi/Desktop/images/02012026/06/34/image_02012026_06_35_04_9878.jpg', '/home/pi/Desktop/images/02012026/06/35/image_02012026_06_35_15_10820.jpg', '/home/pi/Desktop/images/02012026/06/35/image_02012026_06_35_35_9917.jpg', '/home/pi/Desktop/images/02012026/06/35/image_02012026_06_35_45_9649.jpg', '/home/pi/Desktop/images/02012026/06/36/image_02012026_06_36_24_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/34/image_02012026_06_34_55_9753.jpg
/home/pi/Desktop/images/02012026/06/34/image_02012026_06_35_04_9878.jpg
/home/pi/Desktop/images/02012026/06/35/image_02012026_06_35_15_10820.jpg
/home/pi/Desktop/images/02012026/06/35/image_02012026_06_35_35_9917.jpg
/home/pi/Desktop/images/02012026/06/35/image_02012026_06_35_45_9649.jpg
/home/pi/Desktop/images/02012026/06/36/image_02012026_06_36_24_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":["1402114650","1402114490","1402114564","1402114645","1402114618","1402114665"],"photo_ids_order":["1402114490","1402114564","1402114618","1402114645","1402114650","1402114665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d6c3d476f729abef5fd63f790bbeeea.jpg","text":"TemporaryFile(/tmp/multipartBody1225445666043377418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335943434,"filename":"image_02012026_06_35_45_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/2/d1cb518b01c436255221100898097251.jpg","text":"TemporaryFile(/tmp/multipartBody5941756024502098859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335943434,"filename":"image_02012026_06_34_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/2/f15462bca942befdb68824d89ad46b21.jpg","text":"TemporaryFile(/tmp/multipartBody2593611370126817757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335943434,"filename":"image_02012026_06_35_04_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/2/c1ecf83e3bc58e402c3783e5de64585e.jpg","text":"TemporaryFile(/tmp/multipartBody1907033529259320807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335943434,"filename":"image_02012026_06_35_35_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/2/22b1a8cfaac5c6d9e2ead4ef9db4f7db.jpg","text":"TemporaryFile(/tmp/multipartBody5787522240533755872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335943434,"filename":"image_02012026_06_35_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/2/ac45524839743b37a8e6693509d28bec.jpg","text":"TemporaryFile(/tmp/multipartBody7822804273465925511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335943434,"filename":"image_02012026_06_36_24_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402114618","file1":"1402114564","file0":"1402114490","file4":"1402114650","file5":"1402114665","file3":"1402114645"},"map_files_photo_id_array":[{"photo_id":"1402114665","filename":"file5"},{"photo_id":"1402114618","filename":"file2"},{"photo_id":"1402114650","filename":"file4"},{"photo_id":"1402114564","filename":"file1"},{"photo_id":"1402114490","filename":"file0"},{"photo_id":"1402114645","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402114650":["hashtag1","hashtag2"]},{"1402114490":["hashtag1","hashtag2"]},{"1402114564":["hashtag1","hashtag2"]},{"1402114645":["hashtag1","hashtag2"]},{"1402114618":["hashtag1","hashtag2"]},{"1402114665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402114650, 1402114490, 1402114564, 1402114645, 1402114618, 1402114665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.850215435028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:38:42.357547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_34_1669.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_40_2644.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_45_4896.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_46_1584.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_52_2748.jpg', '/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_58_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_34_1669.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_40_2644.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_45_4896.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_46_1584.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_52_2748.jpg
/home/pi/Desktop/images/04112025/23/53/image_04112025_23_53_58_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402114842","1402114742","1402114736","1402114817","1402114744","1402114776"],"photo_ids_order":["1402114736","1402114742","1402114744","1402114776","1402114817","1402114842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d0d3f67ef494168904c85fb7f927d9a6.jpg","text":"TemporaryFile(/tmp/multipartBody8795175494649107353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335984163,"filename":"image_04112025_23_53_58_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/2/d5f642110bffaee817ad3c06aa2c9a38.jpg","text":"TemporaryFile(/tmp/multipartBody3398117907733514432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335984163,"filename":"image_04112025_23_53_40_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/2/23cead7f284aacc541214832c5bdd610.jpg","text":"TemporaryFile(/tmp/multipartBody3497578950969736672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335984163,"filename":"image_04112025_23_53_34_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/2/cc8e39f45ac4d0c89aa90bc98f6f7ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8280276652889731403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335984163,"filename":"image_04112025_23_53_52_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/2/27a2f0c05cc6496907d04c7af316dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody7664639234627579002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335984163,"filename":"image_04112025_23_53_45_4896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/74e30872cc52e04902411c8e26f63265.jpg","text":"TemporaryFile(/tmp/multipartBody6606474182124457551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767335984163,"filename":"image_04112025_23_53_46_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402114744","file1":"1402114742","file0":"1402114736","file4":"1402114817","file5":"1402114842","file3":"1402114776"},"map_files_photo_id_array":[{"photo_id":"1402114842","filename":"file5"},{"photo_id":"1402114744","filename":"file2"},{"photo_id":"1402114817","filename":"file4"},{"photo_id":"1402114742","filename":"file1"},{"photo_id":"1402114736","filename":"file0"},{"photo_id":"1402114776","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402114842":["hashtag1","hashtag2"]},{"1402114742":["hashtag1","hashtag2"]},{"1402114736":["hashtag1","hashtag2"]},{"1402114817":["hashtag1","hashtag2"]},{"1402114744":["hashtag1","hashtag2"]},{"1402114776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402114842, 1402114742, 1402114736, 1402114817, 1402114744, 1402114776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11811876296997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:39:22.548815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/36/image_02012026_06_36_45_9688.jpg', '/home/pi/Desktop/images/02012026/06/36/image_02012026_06_36_55_10532.jpg', '/home/pi/Desktop/images/02012026/06/36/image_02012026_06_37_05_9567.jpg', '/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_15_9930.jpg', '/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_24_9735.jpg', '/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_35_10528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/36/image_02012026_06_36_45_9688.jpg
/home/pi/Desktop/images/02012026/06/36/image_02012026_06_36_55_10532.jpg
/home/pi/Desktop/images/02012026/06/36/image_02012026_06_37_05_9567.jpg
/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_15_9930.jpg
/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_24_9735.jpg
/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_35_10528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402114859","1402114864","1402114852","1402114861","1402114855","1402114857"],"photo_ids_order":["1402114852","1402114855","1402114857","1402114859","1402114861","1402114864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3052758e1581c03c0128989047f4340e.jpg","text":"TemporaryFile(/tmp/multipartBody5305962379936094339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336023166,"filename":"image_02012026_06_37_15_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52293a9a2ab56c2edea0c50114d763c3.jpg","text":"TemporaryFile(/tmp/multipartBody7727077884977146516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336023166,"filename":"image_02012026_06_37_35_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/2/450fd117f08fa76778cdf35167ce15bf.jpg","text":"TemporaryFile(/tmp/multipartBody9044242304032588591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336023166,"filename":"image_02012026_06_36_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/2/b6d2448f0eb793aae1244f5b9968fbcc.jpg","text":"TemporaryFile(/tmp/multipartBody3176688039102685927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336023166,"filename":"image_02012026_06_37_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/2/0f8b3b3af4e3d7c1f7f5a14567d1f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody1419746541768623826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336023166,"filename":"image_02012026_06_36_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/2/5b43d192108e31a320685c65ec257d17.jpg","text":"TemporaryFile(/tmp/multipartBody2911340422072451277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336023166,"filename":"image_02012026_06_37_05_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402114857","file1":"1402114855","file0":"1402114852","file4":"1402114861","file5":"1402114864","file3":"1402114859"},"map_files_photo_id_array":[{"photo_id":"1402114864","filename":"file5"},{"photo_id":"1402114857","filename":"file2"},{"photo_id":"1402114861","filename":"file4"},{"photo_id":"1402114855","filename":"file1"},{"photo_id":"1402114852","filename":"file0"},{"photo_id":"1402114859","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402114859":["hashtag1","hashtag2"]},{"1402114864":["hashtag1","hashtag2"]},{"1402114852":["hashtag1","hashtag2"]},{"1402114861":["hashtag1","hashtag2"]},{"1402114855":["hashtag1","hashtag2"]},{"1402114857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402114859, 1402114864, 1402114852, 1402114861, 1402114855, 1402114857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20163083076477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:40:03.216381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_45_9579.jpg', '/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_55_10589.jpg', '/home/pi/Desktop/images/02012026/06/37/image_02012026_06_38_05_9630.jpg', '/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_15_9836.jpg', '/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_25_10606.jpg', '/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_45_9579.jpg
/home/pi/Desktop/images/02012026/06/37/image_02012026_06_37_55_10589.jpg
/home/pi/Desktop/images/02012026/06/37/image_02012026_06_38_05_9630.jpg
/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_15_9836.jpg
/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_25_10606.jpg
/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_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":["1402114866","1402114868","1402114891","1402114879","1402114870","1402114995"],"photo_ids_order":["1402114866","1402114868","1402114870","1402114879","1402114891","1402114995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8bbbb01759eba633ce7975bf69a365da.jpg","text":"TemporaryFile(/tmp/multipartBody4903017446109936614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336063849,"filename":"image_02012026_06_37_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/2/6a1e9f99a23cee95433ff5b4f163f97f.jpg","text":"TemporaryFile(/tmp/multipartBody5806834068647168869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336063849,"filename":"image_02012026_06_37_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/2/19587155671cfbaa1e4f6cd8cff28a26.jpg","text":"TemporaryFile(/tmp/multipartBody609654818437051760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336063849,"filename":"image_02012026_06_38_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/2/502ce604c92182fc1a54a6fbf20b6552.jpg","text":"TemporaryFile(/tmp/multipartBody8454246844363968610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336063849,"filename":"image_02012026_06_38_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/2/0af33c6a14c555b6a37a14ed1c7c5a89.jpg","text":"TemporaryFile(/tmp/multipartBody8548498549512690738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336063849,"filename":"image_02012026_06_38_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/2/a74cec8b4fd0f8d06014a134b31ace65.jpg","text":"TemporaryFile(/tmp/multipartBody6814086128571011912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336063849,"filename":"image_02012026_06_38_35_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402114870","file1":"1402114868","file0":"1402114866","file4":"1402114891","file5":"1402114995","file3":"1402114879"},"map_files_photo_id_array":[{"photo_id":"1402114995","filename":"file5"},{"photo_id":"1402114870","filename":"file2"},{"photo_id":"1402114891","filename":"file4"},{"photo_id":"1402114868","filename":"file1"},{"photo_id":"1402114866","filename":"file0"},{"photo_id":"1402114879","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402114866":["hashtag1","hashtag2"]},{"1402114868":["hashtag1","hashtag2"]},{"1402114891":["hashtag1","hashtag2"]},{"1402114879":["hashtag1","hashtag2"]},{"1402114870":["hashtag1","hashtag2"]},{"1402114995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402114866, 1402114868, 1402114891, 1402114879, 1402114870, 1402114995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95338249206543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:40:42.648885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_03_5124.jpg', '/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_11_1625.jpg', '/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_16_1587.jpg', '/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_19_2732.jpg', '/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_57_1609.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_21_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_03_5124.jpg
/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_11_1625.jpg
/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_16_1587.jpg
/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_19_2732.jpg
/home/pi/Desktop/images/04112025/23/54/image_04112025_23_54_57_1609.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_21_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402115240","1402115228","1402115210","1402115242","1402115185","1402115196"],"photo_ids_order":["1402115185","1402115196","1402115210","1402115228","1402115240","1402115242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0eba65c1d960b3ee133776261114bff.jpg","text":"TemporaryFile(/tmp/multipartBody7795288608893295263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336104482,"filename":"image_04112025_23_54_57_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/2/84b376843fc912396d7be77e68482c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2922402038982100790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336104482,"filename":"image_04112025_23_54_19_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/2/f2ed42b52e45e7f1a6321381fe7c8a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8861612472060799345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336104482,"filename":"image_04112025_23_54_16_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/2/c29e0da1bf158b5145d1ab5bab07372b.jpg","text":"TemporaryFile(/tmp/multipartBody2710041567313697817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336104482,"filename":"image_04112025_23_57_21_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/2/dae1faf426f9e6193b2147f61edad058.jpg","text":"TemporaryFile(/tmp/multipartBody3077474226194725658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336104482,"filename":"image_04112025_23_54_03_5124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e60f3611d94e7182e59466160984b39e.jpg","text":"TemporaryFile(/tmp/multipartBody1504694332543412574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336104482,"filename":"image_04112025_23_54_11_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115210","file1":"1402115196","file0":"1402115185","file4":"1402115240","file5":"1402115242","file3":"1402115228"},"map_files_photo_id_array":[{"photo_id":"1402115242","filename":"file5"},{"photo_id":"1402115210","filename":"file2"},{"photo_id":"1402115240","filename":"file4"},{"photo_id":"1402115196","filename":"file1"},{"photo_id":"1402115185","filename":"file0"},{"photo_id":"1402115228","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402115240":["hashtag1","hashtag2"]},{"1402115228":["hashtag1","hashtag2"]},{"1402115210":["hashtag1","hashtag2"]},{"1402115242":["hashtag1","hashtag2"]},{"1402115185":["hashtag1","hashtag2"]},{"1402115196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402115240, 1402115228, 1402115210, 1402115242, 1402115185, 1402115196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2791543006897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:41:22.963143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_44_9539.jpg', '/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_55_10617.jpg', '/home/pi/Desktop/images/02012026/06/38/image_02012026_06_39_05_9623.jpg', '/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_14_9737.jpg', '/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_25_10681.jpg', '/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_35_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_44_9539.jpg
/home/pi/Desktop/images/02012026/06/38/image_02012026_06_38_55_10617.jpg
/home/pi/Desktop/images/02012026/06/38/image_02012026_06_39_05_9623.jpg
/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_14_9737.jpg
/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_25_10681.jpg
/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_35_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":["1402115313","1402115315","1402115309","1402115323","1402115311","1402115317"],"photo_ids_order":["1402115309","1402115311","1402115313","1402115315","1402115317","1402115323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0ba970eda10a34891b5ffa5a7686cb7a.jpg","text":"TemporaryFile(/tmp/multipartBody5779235014254033431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336143625,"filename":"image_02012026_06_39_05_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/2/1faefd2af0517f1be47c929293c46dfe.jpg","text":"TemporaryFile(/tmp/multipartBody2691848454823683810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336143625,"filename":"image_02012026_06_39_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/2/149607734db1b7168b35e5424682afcd.jpg","text":"TemporaryFile(/tmp/multipartBody4479227554504753109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336143625,"filename":"image_02012026_06_38_44_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/2/da4bfd52e587c8568d82801528e4596b.jpg","text":"TemporaryFile(/tmp/multipartBody6856275211904386444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336143625,"filename":"image_02012026_06_39_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/2/ff1dbc5a41744759f22adbc3c77f3bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2818185349272524778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336143625,"filename":"image_02012026_06_38_55_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/2/0ebd3b02c0c42b90b9ca500282b58df8.jpg","text":"TemporaryFile(/tmp/multipartBody6354567842619491731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336143625,"filename":"image_02012026_06_39_25_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115313","file1":"1402115311","file0":"1402115309","file4":"1402115317","file5":"1402115323","file3":"1402115315"},"map_files_photo_id_array":[{"photo_id":"1402115323","filename":"file5"},{"photo_id":"1402115313","filename":"file2"},{"photo_id":"1402115317","filename":"file4"},{"photo_id":"1402115311","filename":"file1"},{"photo_id":"1402115309","filename":"file0"},{"photo_id":"1402115315","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402115313":["hashtag1","hashtag2"]},{"1402115315":["hashtag1","hashtag2"]},{"1402115309":["hashtag1","hashtag2"]},{"1402115323":["hashtag1","hashtag2"]},{"1402115311":["hashtag1","hashtag2"]},{"1402115317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402115313, 1402115315, 1402115309, 1402115323, 1402115311, 1402115317)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.67886519432068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:42:11.930235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_27_3599.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_30_2523.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_36_3352.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_42_6147.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_44_1681.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_46_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/23/57/image_04112025_23_57_27_3599.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_30_2523.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_36_3352.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_42_6147.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_44_1681.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_46_1596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402115330","1402115327","1402115335","1402115340","1402115334","1402115337"],"photo_ids_order":["1402115327","1402115330","1402115334","1402115335","1402115337","1402115340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf503d0ec1206bb10563b6bcac9b9604.jpg","text":"TemporaryFile(/tmp/multipartBody7762037768209676069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336193662,"filename":"image_04112025_23_57_30_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/2/6f8dcb997f39b2244364262834367c7d.jpg","text":"TemporaryFile(/tmp/multipartBody92618574143786184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336193662,"filename":"image_04112025_23_57_27_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/2/aac05098174e613b7f90713e18cc6ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4863550386914272973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336193662,"filename":"image_04112025_23_57_42_6147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/930345e1829f858b800acef76ccc8697.jpg","text":"TemporaryFile(/tmp/multipartBody6197808076472047590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336193662,"filename":"image_04112025_23_57_46_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/2/6271445eb28d5f1a67f9493bc82d958b.jpg","text":"TemporaryFile(/tmp/multipartBody8193214600897319790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336193662,"filename":"image_04112025_23_57_36_3352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/910d5dd4c23ce40a1d7411dff9babb17.jpg","text":"TemporaryFile(/tmp/multipartBody6668493932597672034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336193662,"filename":"image_04112025_23_57_44_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115334","file1":"1402115330","file0":"1402115327","file4":"1402115337","file5":"1402115340","file3":"1402115335"},"map_files_photo_id_array":[{"photo_id":"1402115340","filename":"file5"},{"photo_id":"1402115334","filename":"file2"},{"photo_id":"1402115337","filename":"file4"},{"photo_id":"1402115330","filename":"file1"},{"photo_id":"1402115327","filename":"file0"},{"photo_id":"1402115335","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402115330":["hashtag1","hashtag2"]},{"1402115327":["hashtag1","hashtag2"]},{"1402115335":["hashtag1","hashtag2"]},{"1402115340":["hashtag1","hashtag2"]},{"1402115334":["hashtag1","hashtag2"]},{"1402115337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402115330, 1402115327, 1402115335, 1402115340, 1402115334, 1402115337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.401206493377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:43:02.931220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_44_9591.jpg', '/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_55_10659.jpg', '/home/pi/Desktop/images/02012026/06/39/image_02012026_06_40_05_9660.jpg', '/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_15_9706.jpg', '/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_25_10663.jpg', '/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_44_9591.jpg
/home/pi/Desktop/images/02012026/06/39/image_02012026_06_39_55_10659.jpg
/home/pi/Desktop/images/02012026/06/39/image_02012026_06_40_05_9660.jpg
/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_15_9706.jpg
/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_25_10663.jpg
/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_44_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402115474","1402115456","1402115476","1402115446","1402115478","1402115433"],"photo_ids_order":["1402115433","1402115446","1402115456","1402115474","1402115476","1402115478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/954532269ca0907a4fa648fb37e0904b.jpg","text":"TemporaryFile(/tmp/multipartBody8712468703663553768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336243623,"filename":"image_02012026_06_40_15_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/2/186884647a0061797297d14c5c00e785.jpg","text":"TemporaryFile(/tmp/multipartBody933979497077837892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336243623,"filename":"image_02012026_06_40_05_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/2/bb2dda9e943da8f60d314eeeeb059a09.jpg","text":"TemporaryFile(/tmp/multipartBody5036448807256574018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336243623,"filename":"image_02012026_06_40_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/2/1075d9bee9d4e68f36ce3b3d1f25b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5340672156525761853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336243623,"filename":"image_02012026_06_39_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/2/c0f3317fe0ee70d48a99ada4d1fc63c9.jpg","text":"TemporaryFile(/tmp/multipartBody1732754784008594707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336243623,"filename":"image_02012026_06_40_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/2/2ccc9b27e796489ab5f462c85e14cc6e.jpg","text":"TemporaryFile(/tmp/multipartBody8420184431279744227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336243623,"filename":"image_02012026_06_39_44_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115456","file1":"1402115446","file0":"1402115433","file4":"1402115476","file5":"1402115478","file3":"1402115474"},"map_files_photo_id_array":[{"photo_id":"1402115478","filename":"file5"},{"photo_id":"1402115456","filename":"file2"},{"photo_id":"1402115476","filename":"file4"},{"photo_id":"1402115446","filename":"file1"},{"photo_id":"1402115433","filename":"file0"},{"photo_id":"1402115474","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402115474":["hashtag1","hashtag2"]},{"1402115456":["hashtag1","hashtag2"]},{"1402115476":["hashtag1","hashtag2"]},{"1402115446":["hashtag1","hashtag2"]},{"1402115478":["hashtag1","hashtag2"]},{"1402115433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402115474, 1402115456, 1402115476, 1402115446, 1402115478, 1402115433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95561695098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:43:42.326334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_48_2535.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_54_2733.jpg', '/home/pi/Desktop/images/04112025/23/57/image_04112025_23_58_00_2687.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_06_3641.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_11_4982.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_18_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_48_2535.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_57_54_2733.jpg
/home/pi/Desktop/images/04112025/23/57/image_04112025_23_58_00_2687.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_06_3641.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_11_4982.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_18_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402115498","1402115486","1402115497","1402115496","1402115484","1402115487"],"photo_ids_order":["1402115484","1402115486","1402115487","1402115496","1402115497","1402115498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3c2bfbf941d1de76a6f4dd07da88b7e3.jpg","text":"TemporaryFile(/tmp/multipartBody1570510999074279526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336284166,"filename":"image_04112025_23_58_18_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/2/02791aba282be477c94aa8e34963c7fa.jpg","text":"TemporaryFile(/tmp/multipartBody2409313696256849305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336284166,"filename":"image_04112025_23_57_54_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/2/486b8824f38bc809dee6cd175bbdf90d.jpg","text":"TemporaryFile(/tmp/multipartBody4092999392213040690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336284166,"filename":"image_04112025_23_58_11_4982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e100188de3ad7006eb798722990110d.jpg","text":"TemporaryFile(/tmp/multipartBody3604336553482571352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336284166,"filename":"image_04112025_23_58_06_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/2/e39ede145bbc6bd770e734be176640be.jpg","text":"TemporaryFile(/tmp/multipartBody4150286369611636172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336284166,"filename":"image_04112025_23_57_48_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/2/af445e9a7210e47291020fd85a7cb153.jpg","text":"TemporaryFile(/tmp/multipartBody7886217711532621819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336284166,"filename":"image_04112025_23_58_00_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115487","file1":"1402115486","file0":"1402115484","file4":"1402115497","file5":"1402115498","file3":"1402115496"},"map_files_photo_id_array":[{"photo_id":"1402115498","filename":"file5"},{"photo_id":"1402115487","filename":"file2"},{"photo_id":"1402115497","filename":"file4"},{"photo_id":"1402115486","filename":"file1"},{"photo_id":"1402115484","filename":"file0"},{"photo_id":"1402115496","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402115498":["hashtag1","hashtag2"]},{"1402115486":["hashtag1","hashtag2"]},{"1402115497":["hashtag1","hashtag2"]},{"1402115496":["hashtag1","hashtag2"]},{"1402115484":["hashtag1","hashtag2"]},{"1402115487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402115498, 1402115486, 1402115497, 1402115496, 1402115484, 1402115487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.586637020111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:44:22.538107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_55_10714.jpg', '/home/pi/Desktop/images/02012026/06/40/image_02012026_06_41_05_9639.jpg', '/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_14_9625.jpg', '/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_25_10838.jpg', '/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_35_9621.jpg', '/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_45_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/40/image_02012026_06_40_55_10714.jpg
/home/pi/Desktop/images/02012026/06/40/image_02012026_06_41_05_9639.jpg
/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_14_9625.jpg
/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_25_10838.jpg
/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_35_9621.jpg
/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_45_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402115513","1402115516","1402115527","1402115506","1402115509","1402115520"],"photo_ids_order":["1402115506","1402115509","1402115513","1402115516","1402115520","1402115527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/469f46438f31f3e57a291dbda68fcb96.jpg","text":"TemporaryFile(/tmp/multipartBody2785831139717668233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336323170,"filename":"image_02012026_06_41_14_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/2/51580c69104c5b7575735ef06d18902f.jpg","text":"TemporaryFile(/tmp/multipartBody4181444845990657080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336323170,"filename":"image_02012026_06_41_25_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/2/7bbe0ae6e433e35373006a6b69af9602.jpg","text":"TemporaryFile(/tmp/multipartBody4159825718775740546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336323170,"filename":"image_02012026_06_41_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/2/495dd510bcad1e94c2d46a0299cdf901.jpg","text":"TemporaryFile(/tmp/multipartBody708361668444766886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336323170,"filename":"image_02012026_06_40_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/2/eff6ae513de1053e00a5b0114325ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody4869574866004243418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336323170,"filename":"image_02012026_06_41_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/2/a3e59debb5519bd5c3352111a106855b.jpg","text":"TemporaryFile(/tmp/multipartBody2317738495180821694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336323170,"filename":"image_02012026_06_41_35_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115513","file1":"1402115509","file0":"1402115506","file4":"1402115520","file5":"1402115527","file3":"1402115516"},"map_files_photo_id_array":[{"photo_id":"1402115527","filename":"file5"},{"photo_id":"1402115513","filename":"file2"},{"photo_id":"1402115520","filename":"file4"},{"photo_id":"1402115509","filename":"file1"},{"photo_id":"1402115506","filename":"file0"},{"photo_id":"1402115516","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402115513":["hashtag1","hashtag2"]},{"1402115516":["hashtag1","hashtag2"]},{"1402115527":["hashtag1","hashtag2"]},{"1402115506":["hashtag1","hashtag2"]},{"1402115509":["hashtag1","hashtag2"]},{"1402115520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402115513, 1402115516, 1402115527, 1402115506, 1402115509, 1402115520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16729235649109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:45:03.389220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_55_10664.jpg', '/home/pi/Desktop/images/02012026/06/41/image_02012026_06_42_05_9749.jpg', '/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_15_9912.jpg', '/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_25_9711.jpg', '/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_35_10694.jpg', '/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_45_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/41/image_02012026_06_41_55_10664.jpg
/home/pi/Desktop/images/02012026/06/41/image_02012026_06_42_05_9749.jpg
/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_15_9912.jpg
/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_25_9711.jpg
/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_35_10694.jpg
/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_45_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":["1402115538","1402115543","1402115531","1402115540","1402115533","1402115535"],"photo_ids_order":["1402115531","1402115533","1402115535","1402115538","1402115540","1402115543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3cb77e3510e7fbc6d31787ff6756b15d.jpg","text":"TemporaryFile(/tmp/multipartBody6707631122594328457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336364061,"filename":"image_02012026_06_42_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/2/a1b1b30cabd4ffd31bcb31d78865185d.jpg","text":"TemporaryFile(/tmp/multipartBody1499727417486081611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336364061,"filename":"image_02012026_06_42_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/2/67b96c11aca4dea3b1e740e4dddc8144.jpg","text":"TemporaryFile(/tmp/multipartBody1162182105896292451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336364061,"filename":"image_02012026_06_41_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/2/de0382b88fb230f1c8cbf92d8f1bcdcd.jpg","text":"TemporaryFile(/tmp/multipartBody6355539561837227475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336364061,"filename":"image_02012026_06_42_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/2/fb240aa5d09e4dd7f9f8b4fb059be6b7.jpg","text":"TemporaryFile(/tmp/multipartBody5232686138882021401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336364061,"filename":"image_02012026_06_42_05_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/2/1dd8ef9c3f05604163608b6ffc7509b7.jpg","text":"TemporaryFile(/tmp/multipartBody2084266905426371207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336364061,"filename":"image_02012026_06_42_15_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115535","file1":"1402115533","file0":"1402115531","file4":"1402115540","file5":"1402115543","file3":"1402115538"},"map_files_photo_id_array":[{"photo_id":"1402115543","filename":"file5"},{"photo_id":"1402115535","filename":"file2"},{"photo_id":"1402115540","filename":"file4"},{"photo_id":"1402115533","filename":"file1"},{"photo_id":"1402115531","filename":"file0"},{"photo_id":"1402115538","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402115538":["hashtag1","hashtag2"]},{"1402115543":["hashtag1","hashtag2"]},{"1402115531":["hashtag1","hashtag2"]},{"1402115540":["hashtag1","hashtag2"]},{"1402115533":["hashtag1","hashtag2"]},{"1402115535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402115538, 1402115543, 1402115531, 1402115540, 1402115533, 1402115535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80864715576172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:45:42.713553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_34_15995.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_48_14643.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_50_1739.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_52_1710.jpg', '/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_53_1643.jpg', '/home/pi/Desktop/images/04112025/23/59/image_04112025_23_59_19_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_34_15995.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_48_14643.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_50_1739.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_52_1710.jpg
/home/pi/Desktop/images/04112025/23/58/image_04112025_23_58_53_1643.jpg
/home/pi/Desktop/images/04112025/23/59/image_04112025_23_59_19_1679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402115637","1402115555","1402115554","1402115550","1402115553","1402115733"],"photo_ids_order":["1402115550","1402115553","1402115554","1402115555","1402115637","1402115733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f82526b06069bd930e177b8b193d9697.jpg","text":"TemporaryFile(/tmp/multipartBody7491453200908304743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336404572,"filename":"image_04112025_23_58_53_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/2/53310344bcd8a2ece4b299a9250bb056.jpg","text":"TemporaryFile(/tmp/multipartBody6609847987763700945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336404572,"filename":"image_04112025_23_58_52_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/2/bdce2f9117978a472b7554dbc6c38428.jpg","text":"TemporaryFile(/tmp/multipartBody7704973675998962444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336404572,"filename":"image_04112025_23_58_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/2/55885ca0f142eb8a954e14bf048add4e.jpg","text":"TemporaryFile(/tmp/multipartBody4847259480224538834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336404572,"filename":"image_04112025_23_58_34_15995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0600c55cf1523940ef84fdd2bb14fc56.jpg","text":"TemporaryFile(/tmp/multipartBody6957962485078682570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336404572,"filename":"image_04112025_23_58_48_14643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba0426e34242b6f07c4b6d464d4a1c73.jpg","text":"TemporaryFile(/tmp/multipartBody7234587974139815594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336404572,"filename":"image_04112025_23_59_19_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115554","file1":"1402115553","file0":"1402115550","file4":"1402115637","file5":"1402115733","file3":"1402115555"},"map_files_photo_id_array":[{"photo_id":"1402115733","filename":"file5"},{"photo_id":"1402115554","filename":"file2"},{"photo_id":"1402115637","filename":"file4"},{"photo_id":"1402115553","filename":"file1"},{"photo_id":"1402115550","filename":"file0"},{"photo_id":"1402115555","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402115637":["hashtag1","hashtag2"]},{"1402115555":["hashtag1","hashtag2"]},{"1402115554":["hashtag1","hashtag2"]},{"1402115550":["hashtag1","hashtag2"]},{"1402115553":["hashtag1","hashtag2"]},{"1402115733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402115637, 1402115555, 1402115554, 1402115550, 1402115553, 1402115733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83253836631775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:46:21.917114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_55_9706.jpg', '/home/pi/Desktop/images/02012026/06/42/image_02012026_06_43_04_9721.jpg', '/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_15_10721.jpg', '/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_25_9721.jpg', '/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_35_9773.jpg', '/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_44_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/42/image_02012026_06_42_55_9706.jpg
/home/pi/Desktop/images/02012026/06/42/image_02012026_06_43_04_9721.jpg
/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_15_10721.jpg
/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_25_9721.jpg
/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_35_9773.jpg
/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_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":["1402115901","1402116008","1402115972","1402115806","1402115781","1402115937"],"photo_ids_order":["1402115781","1402115806","1402115901","1402115937","1402115972","1402116008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfe974574d8c12e6ff83885950f78c62.jpg","text":"TemporaryFile(/tmp/multipartBody8159250037759456423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336442536,"filename":"image_02012026_06_43_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/2/6af76862b2dd5d64063b4c265ac2aae8.jpg","text":"TemporaryFile(/tmp/multipartBody5244317494179957679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336442536,"filename":"image_02012026_06_43_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/2/cfb748a0d2c16e5f1ef303d49a1f684b.jpg","text":"TemporaryFile(/tmp/multipartBody2110938243858413174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336442536,"filename":"image_02012026_06_43_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/2/392f62403118f052a4f768efc00d510b.jpg","text":"TemporaryFile(/tmp/multipartBody7426419700062692166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336442536,"filename":"image_02012026_06_43_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/2/fa09fa5725ed430f374bf9d228a68252.jpg","text":"TemporaryFile(/tmp/multipartBody6736065534439760226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336442536,"filename":"image_02012026_06_42_55_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/2/c1b15e00ab5a04a7d0426eeabc4dbb34.jpg","text":"TemporaryFile(/tmp/multipartBody8022440336623625481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336442536,"filename":"image_02012026_06_43_25_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402115901","file1":"1402115806","file0":"1402115781","file4":"1402115972","file5":"1402116008","file3":"1402115937"},"map_files_photo_id_array":[{"photo_id":"1402116008","filename":"file5"},{"photo_id":"1402115901","filename":"file2"},{"photo_id":"1402115972","filename":"file4"},{"photo_id":"1402115806","filename":"file1"},{"photo_id":"1402115781","filename":"file0"},{"photo_id":"1402115937","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402115901":["hashtag1","hashtag2"]},{"1402116008":["hashtag1","hashtag2"]},{"1402115972":["hashtag1","hashtag2"]},{"1402115806":["hashtag1","hashtag2"]},{"1402115781":["hashtag1","hashtag2"]},{"1402115937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402115901, 1402116008, 1402115972, 1402115806, 1402115781, 1402115937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.218501567840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:47:02.751510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_55_10792.jpg', '/home/pi/Desktop/images/02012026/06/43/image_02012026_06_44_05_10077.jpg', '/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_15_9632.jpg', '/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_27_11896.jpg', '/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_35_7779.jpg', '/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_45_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/43/image_02012026_06_43_55_10792.jpg
/home/pi/Desktop/images/02012026/06/43/image_02012026_06_44_05_10077.jpg
/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_15_9632.jpg
/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_27_11896.jpg
/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_35_7779.jpg
/home/pi/Desktop/images/02012026/06/44/image_02012026_06_44_45_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":["1402116113","1402116107","1402116104","1402116109","1402116103","1402116111"],"photo_ids_order":["1402116103","1402116104","1402116107","1402116109","1402116111","1402116113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b7a126e0507b187fe4d0c0e2a460f25.jpg","text":"TemporaryFile(/tmp/multipartBody2652551450173295379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336483483,"filename":"image_02012026_06_44_45_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/2/62f79884e8949ce5fd04c8e60980c734.jpg","text":"TemporaryFile(/tmp/multipartBody6180381874511575301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336483483,"filename":"image_02012026_06_44_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/2/5f3fcd8b5c9f48f91c1ae0e4c508e8ec.jpg","text":"TemporaryFile(/tmp/multipartBody6881942257330754494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336483483,"filename":"image_02012026_06_44_05_10077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ecde8342972459ea06072d1135901d7.jpg","text":"TemporaryFile(/tmp/multipartBody1837687699229017183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336483483,"filename":"image_02012026_06_44_27_11896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52f484628ce8920d222dc7bc04128b92.jpg","text":"TemporaryFile(/tmp/multipartBody6406848708349371480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336483483,"filename":"image_02012026_06_43_55_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/2/f88291f17e83dea8e6a2091614e026b7.jpg","text":"TemporaryFile(/tmp/multipartBody9212141433969259037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336483483,"filename":"image_02012026_06_44_35_7779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116107","file1":"1402116104","file0":"1402116103","file4":"1402116111","file5":"1402116113","file3":"1402116109"},"map_files_photo_id_array":[{"photo_id":"1402116113","filename":"file5"},{"photo_id":"1402116107","filename":"file2"},{"photo_id":"1402116111","filename":"file4"},{"photo_id":"1402116104","filename":"file1"},{"photo_id":"1402116103","filename":"file0"},{"photo_id":"1402116109","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116113":["hashtag1","hashtag2"]},{"1402116107":["hashtag1","hashtag2"]},{"1402116104":["hashtag1","hashtag2"]},{"1402116109":["hashtag1","hashtag2"]},{"1402116103":["hashtag1","hashtag2"]},{"1402116111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116113, 1402116107, 1402116104, 1402116109, 1402116103, 1402116111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.565478801727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:47:42.227462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_14_1654.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_16_1694.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_17_1608.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_19_1584.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_22_2646.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_24_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_14_1654.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_16_1694.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_17_1608.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_19_1584.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_22_2646.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_24_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116137","1402116136","1402116130","1402116127","1402116120","1402116126"],"photo_ids_order":["1402116120","1402116126","1402116127","1402116130","1402116136","1402116137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9d82f1c81370f6d321a378e047218ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1829623626965671609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336524010,"filename":"image_05112025_16_59_24_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/2/04351a22be9d1faa5bb9299350dd3e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1369881458259990581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336524010,"filename":"image_05112025_16_59_22_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/2/2dadc1fc8cd9fca5eb3865c0bc1e93cd.jpg","text":"TemporaryFile(/tmp/multipartBody7429593445139119857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336524010,"filename":"image_05112025_16_59_19_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/2/13a0231e18d480bd18c3c0eefa2e10bc.jpg","text":"TemporaryFile(/tmp/multipartBody2502253065002757153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336524010,"filename":"image_05112025_16_59_17_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/2/9529cb9837d4fa954956536ac659040f.jpg","text":"TemporaryFile(/tmp/multipartBody6441356410141390884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336524010,"filename":"image_05112025_16_59_14_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/2/7468bf92b996a8fd37eaffabc2a249c1.jpg","text":"TemporaryFile(/tmp/multipartBody4103162491430484879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336524010,"filename":"image_05112025_16_59_16_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116127","file1":"1402116126","file0":"1402116120","file4":"1402116136","file5":"1402116137","file3":"1402116130"},"map_files_photo_id_array":[{"photo_id":"1402116137","filename":"file5"},{"photo_id":"1402116127","filename":"file2"},{"photo_id":"1402116136","filename":"file4"},{"photo_id":"1402116126","filename":"file1"},{"photo_id":"1402116120","filename":"file0"},{"photo_id":"1402116130","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116137":["hashtag1","hashtag2"]},{"1402116136":["hashtag1","hashtag2"]},{"1402116130":["hashtag1","hashtag2"]},{"1402116127":["hashtag1","hashtag2"]},{"1402116120":["hashtag1","hashtag2"]},{"1402116126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116137, 1402116136, 1402116130, 1402116127, 1402116120, 1402116126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37584853172302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:48:22.410727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_05_6614.jpg', '/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_15_9781.jpg', '/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_25_9786.jpg', '/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_35_9797.jpg', '/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_44_9859.jpg', '/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_55_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_05_6614.jpg
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_15_9781.jpg
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_25_9786.jpg
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_35_9797.jpg
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_44_9859.jpg
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_45_55_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":["1402116143","1402116146","1402116154","1402116148","1402116150","1402116144"],"photo_ids_order":["1402116143","1402116144","1402116146","1402116148","1402116150","1402116154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b68c6831b2f377ccd0f78bddff6f7867.jpg","text":"TemporaryFile(/tmp/multipartBody3837064806734733424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336563078,"filename":"image_02012026_06_45_05_6614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/610c51dd68cef3c4a02b44d861504161.jpg","text":"TemporaryFile(/tmp/multipartBody3815867596582645129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336563078,"filename":"image_02012026_06_45_25_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/2/7af4d696a5fd0580d7f33a3950558a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3139347622082718102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336563078,"filename":"image_02012026_06_45_55_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/2/f32618b4e84fc79da71eb8a21a027aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7298921446611162785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336563078,"filename":"image_02012026_06_45_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/2/0c7d1ca169c85acae1dc624c672b00dc.jpg","text":"TemporaryFile(/tmp/multipartBody6100737549997529179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336563078,"filename":"image_02012026_06_45_44_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/2/e1a0de9bbb0bfa6ba227454feb0e8d9f.jpg","text":"TemporaryFile(/tmp/multipartBody1279515817011998046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336563078,"filename":"image_02012026_06_45_15_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116146","file1":"1402116144","file0":"1402116143","file4":"1402116150","file5":"1402116154","file3":"1402116148"},"map_files_photo_id_array":[{"photo_id":"1402116154","filename":"file5"},{"photo_id":"1402116146","filename":"file2"},{"photo_id":"1402116150","filename":"file4"},{"photo_id":"1402116144","filename":"file1"},{"photo_id":"1402116143","filename":"file0"},{"photo_id":"1402116148","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116143":["hashtag1","hashtag2"]},{"1402116146":["hashtag1","hashtag2"]},{"1402116154":["hashtag1","hashtag2"]},{"1402116148":["hashtag1","hashtag2"]},{"1402116150":["hashtag1","hashtag2"]},{"1402116144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116143, 1402116146, 1402116154, 1402116148, 1402116150, 1402116144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84970164299011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:49:03.356887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/45/image_02012026_06_46_05_9910.jpg', '/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_14_9597.jpg', '/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_25_10803.jpg', '/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_35_9723.jpg', '/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_54_9802.jpg', '/home/pi/Desktop/images/02012026/06/46/image_02012026_06_47_05_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/45/image_02012026_06_46_05_9910.jpg
/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_14_9597.jpg
/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_25_10803.jpg
/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_35_9723.jpg
/home/pi/Desktop/images/02012026/06/46/image_02012026_06_46_54_9802.jpg
/home/pi/Desktop/images/02012026/06/46/image_02012026_06_47_05_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":["1402116170","1402116172","1402116160","1402116163","1402116165","1402116168"],"photo_ids_order":["1402116160","1402116163","1402116165","1402116168","1402116170","1402116172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95c399717ffdcae2713f9cb32c89c48f.jpg","text":"TemporaryFile(/tmp/multipartBody1999356173156621952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336604242,"filename":"image_02012026_06_46_54_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/2/bfc1377a7dc457e2b7c8427b34774bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2462135452514963399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336604242,"filename":"image_02012026_06_47_05_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/2/9f7e68f2bfc3de607bf4dce81f0a2534.jpg","text":"TemporaryFile(/tmp/multipartBody5186535283248537673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336604242,"filename":"image_02012026_06_46_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/2/38a75fe647591665f4c9dc188d63d10a.jpg","text":"TemporaryFile(/tmp/multipartBody6896464234445500608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336604242,"filename":"image_02012026_06_46_14_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/2/2878f57ff7db42a17e9d300b669c8d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5989622594911517513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336604242,"filename":"image_02012026_06_46_25_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/2/8852b3a10e986e185c5780c00453322a.jpg","text":"TemporaryFile(/tmp/multipartBody8890940312223101882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336604242,"filename":"image_02012026_06_46_35_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116165","file1":"1402116163","file0":"1402116160","file4":"1402116170","file5":"1402116172","file3":"1402116168"},"map_files_photo_id_array":[{"photo_id":"1402116172","filename":"file5"},{"photo_id":"1402116165","filename":"file2"},{"photo_id":"1402116170","filename":"file4"},{"photo_id":"1402116163","filename":"file1"},{"photo_id":"1402116160","filename":"file0"},{"photo_id":"1402116168","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116170":["hashtag1","hashtag2"]},{"1402116172":["hashtag1","hashtag2"]},{"1402116160":["hashtag1","hashtag2"]},{"1402116163":["hashtag1","hashtag2"]},{"1402116165":["hashtag1","hashtag2"]},{"1402116168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116170, 1402116172, 1402116160, 1402116163, 1402116165, 1402116168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14602518081665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:49:42.537310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_28_3594.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_45_17030.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_06_3011.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_10_3596.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_13_2890.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_15_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_28_3594.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_45_17030.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_06_3011.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_10_3596.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_13_2890.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_15_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116185","1402116184","1402116181","1402116178","1402116183","1402116182"],"photo_ids_order":["1402116178","1402116181","1402116182","1402116183","1402116184","1402116185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/758026f55dc2af5766f9b2a60294d705.jpg","text":"TemporaryFile(/tmp/multipartBody2283022379131053400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336644328,"filename":"image_05112025_17_01_15_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/2/2a60339663ca8d6c71ab8ac02612b8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1249487965170836545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336644328,"filename":"image_05112025_17_01_13_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2508fed8e6f20e78f2f3d5f4a8d06437.jpg","text":"TemporaryFile(/tmp/multipartBody6456942151087491053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336644328,"filename":"image_05112025_16_59_45_17030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/baa6712418542dc820f31750794b8cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5710135806825297987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336644328,"filename":"image_05112025_16_59_28_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/2/e44e75ad8415563bf8eb8627fcd241d7.jpg","text":"TemporaryFile(/tmp/multipartBody925175124525433333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336644328,"filename":"image_05112025_17_01_10_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/2/99a6dbe5766915c9302e11d6a37d8ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4602457946133028046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336644328,"filename":"image_05112025_17_01_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116182","file1":"1402116181","file0":"1402116178","file4":"1402116184","file5":"1402116185","file3":"1402116183"},"map_files_photo_id_array":[{"photo_id":"1402116185","filename":"file5"},{"photo_id":"1402116182","filename":"file2"},{"photo_id":"1402116184","filename":"file4"},{"photo_id":"1402116181","filename":"file1"},{"photo_id":"1402116178","filename":"file0"},{"photo_id":"1402116183","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116185":["hashtag1","hashtag2"]},{"1402116184":["hashtag1","hashtag2"]},{"1402116181":["hashtag1","hashtag2"]},{"1402116178":["hashtag1","hashtag2"]},{"1402116183":["hashtag1","hashtag2"]},{"1402116182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116185, 1402116184, 1402116181, 1402116178, 1402116183, 1402116182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61807656288147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:50:22.769067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/47/image_02012026_06_47_15_9627.jpg', '/home/pi/Desktop/images/02012026/06/47/image_02012026_06_47_55_9577.jpg', '/home/pi/Desktop/images/02012026/06/47/image_02012026_06_48_05_10071.jpg', '/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_15_9859.jpg', '/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_25_10686.jpg', '/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_35_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/47/image_02012026_06_47_15_9627.jpg
/home/pi/Desktop/images/02012026/06/47/image_02012026_06_47_55_9577.jpg
/home/pi/Desktop/images/02012026/06/47/image_02012026_06_48_05_10071.jpg
/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_15_9859.jpg
/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_25_10686.jpg
/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_35_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116199","1402116190","1402116193","1402116195","1402116202","1402116197"],"photo_ids_order":["1402116190","1402116193","1402116195","1402116197","1402116199","1402116202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b55a794c84c69c80f797daaf4eca3a0d.jpg","text":"TemporaryFile(/tmp/multipartBody4665667608851369570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336683440,"filename":"image_02012026_06_48_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/2/36aeaa8f5de053461dad35769e5adce2.jpg","text":"TemporaryFile(/tmp/multipartBody7414475360398745223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336683440,"filename":"image_02012026_06_47_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/2/d3af6c1206eb4e650421265ff540beab.jpg","text":"TemporaryFile(/tmp/multipartBody942377221598593539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336683440,"filename":"image_02012026_06_47_55_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/2/4b7fdcb39c515a68088115f6fe0d46d2.jpg","text":"TemporaryFile(/tmp/multipartBody6933364523228282781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336683440,"filename":"image_02012026_06_48_05_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/2/dbb69092b826668c425fc1ab025174b4.jpg","text":"TemporaryFile(/tmp/multipartBody904714331104224792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336683440,"filename":"image_02012026_06_48_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/2/1c147a69e834edda24fb316c5a3c8215.jpg","text":"TemporaryFile(/tmp/multipartBody250344314762653038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336683440,"filename":"image_02012026_06_48_15_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116195","file1":"1402116193","file0":"1402116190","file4":"1402116199","file5":"1402116202","file3":"1402116197"},"map_files_photo_id_array":[{"photo_id":"1402116202","filename":"file5"},{"photo_id":"1402116195","filename":"file2"},{"photo_id":"1402116199","filename":"file4"},{"photo_id":"1402116193","filename":"file1"},{"photo_id":"1402116190","filename":"file0"},{"photo_id":"1402116197","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116199":["hashtag1","hashtag2"]},{"1402116190":["hashtag1","hashtag2"]},{"1402116193":["hashtag1","hashtag2"]},{"1402116195":["hashtag1","hashtag2"]},{"1402116202":["hashtag1","hashtag2"]},{"1402116197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116199, 1402116190, 1402116193, 1402116195, 1402116202, 1402116197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07743954658508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:51:02.648680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_55_9718.jpg', '/home/pi/Desktop/images/02012026/06/48/image_02012026_06_49_05_10663.jpg', '/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_25_9583.jpg', '/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_35_10653.jpg', '/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_44_9149.jpg', '/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/48/image_02012026_06_48_55_9718.jpg
/home/pi/Desktop/images/02012026/06/48/image_02012026_06_49_05_10663.jpg
/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_25_9583.jpg
/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_35_10653.jpg
/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_44_9149.jpg
/home/pi/Desktop/images/02012026/06/49/image_02012026_06_49_55_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116209","1402116203","1402116205","1402116222","1402116204","1402116207"],"photo_ids_order":["1402116203","1402116204","1402116205","1402116207","1402116209","1402116222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a752be004804634a7fbc629e7a91b938.jpg","text":"TemporaryFile(/tmp/multipartBody1438520342333534275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336723371,"filename":"image_02012026_06_49_44_9149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/18ae3d65adf700352aebc315a872dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody3659387367693553151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336723371,"filename":"image_02012026_06_48_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/2/9557ceac6fb5b3790334a3d4c20e37b1.jpg","text":"TemporaryFile(/tmp/multipartBody1703136452865138699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336723371,"filename":"image_02012026_06_49_25_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/2/631ba40027f625e95439715b96d09682.jpg","text":"TemporaryFile(/tmp/multipartBody3995211227372166630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336723371,"filename":"image_02012026_06_49_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/2/71d10f69799dc00b3118b53abb74e07a.jpg","text":"TemporaryFile(/tmp/multipartBody8251682682956534157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336723371,"filename":"image_02012026_06_49_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/2/acd9651ad55e70612b53df7616c30a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1057989049811115351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336723371,"filename":"image_02012026_06_49_35_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116205","file1":"1402116204","file0":"1402116203","file4":"1402116209","file5":"1402116222","file3":"1402116207"},"map_files_photo_id_array":[{"photo_id":"1402116222","filename":"file5"},{"photo_id":"1402116205","filename":"file2"},{"photo_id":"1402116209","filename":"file4"},{"photo_id":"1402116204","filename":"file1"},{"photo_id":"1402116203","filename":"file0"},{"photo_id":"1402116207","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116209":["hashtag1","hashtag2"]},{"1402116203":["hashtag1","hashtag2"]},{"1402116205":["hashtag1","hashtag2"]},{"1402116222":["hashtag1","hashtag2"]},{"1402116204":["hashtag1","hashtag2"]},{"1402116207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116209, 1402116203, 1402116205, 1402116222, 1402116204, 1402116207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55503249168396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:51:42.027149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_19_3774.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_22_2628.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_24_2608.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_28_3571.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_31_2751.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_33_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_19_3774.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_22_2628.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_24_2608.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_28_3571.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_31_2751.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_33_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":["1402116292","1402116250","1402116270","1402116300","1402116299","1402116269"],"photo_ids_order":["1402116250","1402116269","1402116270","1402116292","1402116299","1402116300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0416a7b31b84b45ae1c924feb374fc43.jpg","text":"TemporaryFile(/tmp/multipartBody515342939049477257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336763898,"filename":"image_05112025_17_01_28_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c8f1c03c6cfdada3035c4024ea7c6c63.jpg","text":"TemporaryFile(/tmp/multipartBody2697143751428024841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336763898,"filename":"image_05112025_17_01_19_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/2/c63563d399c9a48da2195113a0c35e6d.jpg","text":"TemporaryFile(/tmp/multipartBody1827650262746339457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336763898,"filename":"image_05112025_17_01_24_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/2/f80bac0196cbdf7ab9114b48a86b9ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6829971165790145664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336763898,"filename":"image_05112025_17_01_33_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/2/208868103c469f638172df2ea03bf410.jpg","text":"TemporaryFile(/tmp/multipartBody503283502731155859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336763898,"filename":"image_05112025_17_01_31_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/2/4cdd65f363647b8a9adca16807d685bf.jpg","text":"TemporaryFile(/tmp/multipartBody1068252264472070720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336763898,"filename":"image_05112025_17_01_22_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116270","file1":"1402116269","file0":"1402116250","file4":"1402116299","file5":"1402116300","file3":"1402116292"},"map_files_photo_id_array":[{"photo_id":"1402116300","filename":"file5"},{"photo_id":"1402116270","filename":"file2"},{"photo_id":"1402116299","filename":"file4"},{"photo_id":"1402116269","filename":"file1"},{"photo_id":"1402116250","filename":"file0"},{"photo_id":"1402116292","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116292":["hashtag1","hashtag2"]},{"1402116250":["hashtag1","hashtag2"]},{"1402116270":["hashtag1","hashtag2"]},{"1402116300":["hashtag1","hashtag2"]},{"1402116299":["hashtag1","hashtag2"]},{"1402116269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116292, 1402116250, 1402116270, 1402116300, 1402116299, 1402116269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4629602432251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:52:22.223842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/49/image_02012026_06_50_05_9870.jpg', '/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_15_9651.jpg', '/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_24_9779.jpg', '/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_35_10601.jpg', '/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_44_9524.jpg', '/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/49/image_02012026_06_50_05_9870.jpg
/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_15_9651.jpg
/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_24_9779.jpg
/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_35_10601.jpg
/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_44_9524.jpg
/home/pi/Desktop/images/02012026/06/50/image_02012026_06_50_55_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116305","1402116314","1402116308","1402116316","1402116318","1402116303"],"photo_ids_order":["1402116303","1402116305","1402116308","1402116314","1402116316","1402116318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e3f8c986cd8deb3e7b3eafd0ee35f49.jpg","text":"TemporaryFile(/tmp/multipartBody7063514331573568838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336802885,"filename":"image_02012026_06_50_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/2/6a26d4667e87435bf48df310c68f5c32.jpg","text":"TemporaryFile(/tmp/multipartBody1710502897251967776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336802885,"filename":"image_02012026_06_50_35_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/2/b429a640320d2973cc36939533f939d7.jpg","text":"TemporaryFile(/tmp/multipartBody3542638832658198891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336802885,"filename":"image_02012026_06_50_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/2/404e9ac2d38775c4b9030e0b22473683.jpg","text":"TemporaryFile(/tmp/multipartBody7286702683699551460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336802885,"filename":"image_02012026_06_50_44_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/2/0dc0085d1463dc19f22fef8e85848106.jpg","text":"TemporaryFile(/tmp/multipartBody7577295684820708965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336802885,"filename":"image_02012026_06_50_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/2/e97428e7595deda11825d178f8515ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8503095546706487850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336802885,"filename":"image_02012026_06_50_05_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116308","file1":"1402116305","file0":"1402116303","file4":"1402116316","file5":"1402116318","file3":"1402116314"},"map_files_photo_id_array":[{"photo_id":"1402116318","filename":"file5"},{"photo_id":"1402116308","filename":"file2"},{"photo_id":"1402116316","filename":"file4"},{"photo_id":"1402116305","filename":"file1"},{"photo_id":"1402116303","filename":"file0"},{"photo_id":"1402116314","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116305":["hashtag1","hashtag2"]},{"1402116314":["hashtag1","hashtag2"]},{"1402116308":["hashtag1","hashtag2"]},{"1402116316":["hashtag1","hashtag2"]},{"1402116318":["hashtag1","hashtag2"]},{"1402116303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116305, 1402116314, 1402116308, 1402116316, 1402116318, 1402116303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.934324741363525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:53:03.132345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/50/image_02012026_06_51_05_9785.jpg', '/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_15_9790.jpg', '/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_35_10770.jpg', '/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_47_11306.jpg', '/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_54_7850.jpg', '/home/pi/Desktop/images/02012026/06/51/image_02012026_06_52_05_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/50/image_02012026_06_51_05_9785.jpg
/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_15_9790.jpg
/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_35_10770.jpg
/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_47_11306.jpg
/home/pi/Desktop/images/02012026/06/51/image_02012026_06_51_54_7850.jpg
/home/pi/Desktop/images/02012026/06/51/image_02012026_06_52_05_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116341","1402116352","1402116361","1402116355","1402116358","1402116353"],"photo_ids_order":["1402116341","1402116352","1402116353","1402116355","1402116358","1402116361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88f6b91bf6f039d5aa2b8584006c68e4.jpg","text":"TemporaryFile(/tmp/multipartBody5993895897526562070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336843868,"filename":"image_02012026_06_51_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/2/467737d6a550da0ac2aae4b042235557.jpg","text":"TemporaryFile(/tmp/multipartBody987188778784191693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336843868,"filename":"image_02012026_06_51_15_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/2/21ebf8eac49c46d119dcd92973bcb1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5497657406942691783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336843868,"filename":"image_02012026_06_52_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/2/27ae4c64c9f4fdd8d4390a425b7ad126.jpg","text":"TemporaryFile(/tmp/multipartBody602998931589252710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336843868,"filename":"image_02012026_06_51_47_11306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c71c5691054ad3fc454e0d228ff30326.jpg","text":"TemporaryFile(/tmp/multipartBody7170267593935106423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336843868,"filename":"image_02012026_06_51_54_7850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1db2ff4bd72acf23c4a9a28f49ee5165.jpg","text":"TemporaryFile(/tmp/multipartBody6455571844715057230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336843868,"filename":"image_02012026_06_51_35_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116353","file1":"1402116352","file0":"1402116341","file4":"1402116358","file5":"1402116361","file3":"1402116355"},"map_files_photo_id_array":[{"photo_id":"1402116361","filename":"file5"},{"photo_id":"1402116353","filename":"file2"},{"photo_id":"1402116358","filename":"file4"},{"photo_id":"1402116352","filename":"file1"},{"photo_id":"1402116341","filename":"file0"},{"photo_id":"1402116355","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116341":["hashtag1","hashtag2"]},{"1402116352":["hashtag1","hashtag2"]},{"1402116361":["hashtag1","hashtag2"]},{"1402116355":["hashtag1","hashtag2"]},{"1402116358":["hashtag1","hashtag2"]},{"1402116353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116341, 1402116352, 1402116361, 1402116355, 1402116358, 1402116353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67451596260071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:53:42.367944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_37_3679.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_40_2802.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_42_2767.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_46_3938.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_49_2581.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_52_3466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_37_3679.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_40_2802.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_42_2767.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_46_3938.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_49_2581.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_52_3466.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.840874433517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:54:03.266538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_15_9611.jpg', '/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_25_10645.jpg', '/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_35_9619.jpg', '/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_45_9690.jpg', '/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_55_10447.jpg', '/home/pi/Desktop/images/02012026/06/52/image_02012026_06_53_05_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_15_9611.jpg
/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_25_10645.jpg
/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_35_9619.jpg
/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_45_9690.jpg
/home/pi/Desktop/images/02012026/06/52/image_02012026_06_52_55_10447.jpg
/home/pi/Desktop/images/02012026/06/52/image_02012026_06_53_05_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116397","1402116401","1402116403","1402116399","1402116402","1402116405"],"photo_ids_order":["1402116397","1402116399","1402116401","1402116402","1402116403","1402116405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83da33ab54f1b1ef2d2250d9609ff034.jpg","text":"TemporaryFile(/tmp/multipartBody5493857647566988140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336903969,"filename":"image_02012026_06_52_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/2/195717bde2dbfee7299237f8b44bcea4.jpg","text":"TemporaryFile(/tmp/multipartBody2376508792220461978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336903969,"filename":"image_02012026_06_52_35_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/2/184415171635834adee72a8983b6eb13.jpg","text":"TemporaryFile(/tmp/multipartBody1946392862489020192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336903969,"filename":"image_02012026_06_52_55_10447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6627d27faad09ba8b53008b28a05dd28.jpg","text":"TemporaryFile(/tmp/multipartBody2349389794602080692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336903969,"filename":"image_02012026_06_52_25_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/2/15ebe1c2479ccff0327910f673133e82.jpg","text":"TemporaryFile(/tmp/multipartBody4816038833353653816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336903969,"filename":"image_02012026_06_52_45_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/2/24143d18280e4f1bdd631d4f2cc16ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1736753930410656862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336903969,"filename":"image_02012026_06_53_05_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116401","file1":"1402116399","file0":"1402116397","file4":"1402116403","file5":"1402116405","file3":"1402116402"},"map_files_photo_id_array":[{"photo_id":"1402116405","filename":"file5"},{"photo_id":"1402116401","filename":"file2"},{"photo_id":"1402116403","filename":"file4"},{"photo_id":"1402116399","filename":"file1"},{"photo_id":"1402116397","filename":"file0"},{"photo_id":"1402116402","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116397":["hashtag1","hashtag2"]},{"1402116401":["hashtag1","hashtag2"]},{"1402116403":["hashtag1","hashtag2"]},{"1402116399":["hashtag1","hashtag2"]},{"1402116402":["hashtag1","hashtag2"]},{"1402116405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116397, 1402116401, 1402116403, 1402116399, 1402116402, 1402116405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31831240653992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:54:42.532203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_37_3679.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_40_2802.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_42_2767.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_46_3938.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_49_2581.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_52_3466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_37_3679.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_40_2802.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_42_2767.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_46_3938.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_49_2581.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_52_3466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116422","1402116416","1402116419","1402116420","1402116414","1402116417"],"photo_ids_order":["1402116414","1402116416","1402116417","1402116419","1402116420","1402116422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5deccd9c69cd0535e9921355e280d52.jpg","text":"TemporaryFile(/tmp/multipartBody3714173615236711123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336944273,"filename":"image_05112025_17_01_52_3466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a73741f6fd4a5bfa1807ffc9af5bf67b.jpg","text":"TemporaryFile(/tmp/multipartBody3448445261751582155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336944273,"filename":"image_05112025_17_01_40_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/2/d2a3bd04f7f7da33a273d3d12dd0d717.jpg","text":"TemporaryFile(/tmp/multipartBody2613886251638102905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336944273,"filename":"image_05112025_17_01_46_3938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e49e87358d312be2072125b524da5666.jpg","text":"TemporaryFile(/tmp/multipartBody2129175632649447690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336944273,"filename":"image_05112025_17_01_49_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/2/13a73868280d0d37ce3c92cadc0cd285.jpg","text":"TemporaryFile(/tmp/multipartBody4086787638532217998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336944273,"filename":"image_05112025_17_01_37_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/2/dcf440aa578d0652d1d4c811d8e13caa.jpg","text":"TemporaryFile(/tmp/multipartBody8769270951625949880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336944273,"filename":"image_05112025_17_01_42_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116417","file1":"1402116416","file0":"1402116414","file4":"1402116420","file5":"1402116422","file3":"1402116419"},"map_files_photo_id_array":[{"photo_id":"1402116422","filename":"file5"},{"photo_id":"1402116417","filename":"file2"},{"photo_id":"1402116420","filename":"file4"},{"photo_id":"1402116416","filename":"file1"},{"photo_id":"1402116414","filename":"file0"},{"photo_id":"1402116419","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116422":["hashtag1","hashtag2"]},{"1402116416":["hashtag1","hashtag2"]},{"1402116419":["hashtag1","hashtag2"]},{"1402116420":["hashtag1","hashtag2"]},{"1402116414":["hashtag1","hashtag2"]},{"1402116417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116422, 1402116416, 1402116419, 1402116420, 1402116414, 1402116417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20189571380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:55:22.713820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_15_9837.jpg', '/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_24_9807.jpg', '/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_35_10592.jpg', '/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_45_9757.jpg', '/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_55_10609.jpg', '/home/pi/Desktop/images/02012026/06/53/image_02012026_06_54_05_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_15_9837.jpg
/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_24_9807.jpg
/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_35_10592.jpg
/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_45_9757.jpg
/home/pi/Desktop/images/02012026/06/53/image_02012026_06_53_55_10609.jpg
/home/pi/Desktop/images/02012026/06/53/image_02012026_06_54_05_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116434","1402116437","1402116439","1402116430","1402116432","1402116435"],"photo_ids_order":["1402116430","1402116432","1402116434","1402116435","1402116437","1402116439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05a99f2a441e28816e5c4b38da014a0e.jpg","text":"TemporaryFile(/tmp/multipartBody788113073712128104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336983354,"filename":"image_02012026_06_53_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/2/01cf78f1abd8a5de6964d5be3bf1c259.jpg","text":"TemporaryFile(/tmp/multipartBody8771039573861974940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336983354,"filename":"image_02012026_06_53_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/2/fdbe6c6a911de8d0245cc19b50b3639b.jpg","text":"TemporaryFile(/tmp/multipartBody8728971356787942128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336983354,"filename":"image_02012026_06_54_05_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/2/5abea4ef0f4a4f289d4c4790260a5a80.jpg","text":"TemporaryFile(/tmp/multipartBody3421393528425962671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336983354,"filename":"image_02012026_06_53_15_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/2/d99aa128a76a343a24719f9ef13f017d.jpg","text":"TemporaryFile(/tmp/multipartBody2650181514368261942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336983354,"filename":"image_02012026_06_53_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/2/b174ad5d006d71b095f62ec8b3b19336.jpg","text":"TemporaryFile(/tmp/multipartBody2462939531478099431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767336983354,"filename":"image_02012026_06_53_45_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116434","file1":"1402116432","file0":"1402116430","file4":"1402116437","file5":"1402116439","file3":"1402116435"},"map_files_photo_id_array":[{"photo_id":"1402116439","filename":"file5"},{"photo_id":"1402116434","filename":"file2"},{"photo_id":"1402116437","filename":"file4"},{"photo_id":"1402116432","filename":"file1"},{"photo_id":"1402116430","filename":"file0"},{"photo_id":"1402116435","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116434":["hashtag1","hashtag2"]},{"1402116437":["hashtag1","hashtag2"]},{"1402116439":["hashtag1","hashtag2"]},{"1402116430":["hashtag1","hashtag2"]},{"1402116432":["hashtag1","hashtag2"]},{"1402116435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116434, 1402116437, 1402116439, 1402116430, 1402116432, 1402116435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38448119163513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:56:02.449444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_15_9623.jpg', '/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_25_9740.jpg', '/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_35_10723.jpg', '/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_45_9845.jpg', '/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_55_10211.jpg', '/home/pi/Desktop/images/02012026/06/54/image_02012026_06_55_05_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_15_9623.jpg
/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_25_9740.jpg
/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_35_10723.jpg
/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_45_9845.jpg
/home/pi/Desktop/images/02012026/06/54/image_02012026_06_54_55_10211.jpg
/home/pi/Desktop/images/02012026/06/54/image_02012026_06_55_05_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":["1402116446","1402116448","1402116442","1402116450","1402116444","1402116453"],"photo_ids_order":["1402116442","1402116444","1402116446","1402116448","1402116450","1402116453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd05c343285fb24afda08db6aca6258e.jpg","text":"TemporaryFile(/tmp/multipartBody1061821259371196009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337023121,"filename":"image_02012026_06_54_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/2/013280cf82f5a3c814129815dbdc85d5.jpg","text":"TemporaryFile(/tmp/multipartBody5219534585584553842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337023121,"filename":"image_02012026_06_54_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/2/5f918f06f6ac73be9419bdfdb71a04ec.jpg","text":"TemporaryFile(/tmp/multipartBody3686214995005044394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337023121,"filename":"image_02012026_06_54_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/2/1ef18e058792d14f242d05b65492575d.jpg","text":"TemporaryFile(/tmp/multipartBody778415604550687750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337023121,"filename":"image_02012026_06_54_55_10211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a6295fef4c5691522f42a3f2a8d8a22.jpg","text":"TemporaryFile(/tmp/multipartBody2334500533723763727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337023121,"filename":"image_02012026_06_54_25_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/2/9330c08b1b24b6b0c0bc28504525f476.jpg","text":"TemporaryFile(/tmp/multipartBody4257986603373529515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337023121,"filename":"image_02012026_06_55_05_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116446","file1":"1402116444","file0":"1402116442","file4":"1402116450","file5":"1402116453","file3":"1402116448"},"map_files_photo_id_array":[{"photo_id":"1402116453","filename":"file5"},{"photo_id":"1402116446","filename":"file2"},{"photo_id":"1402116450","filename":"file4"},{"photo_id":"1402116444","filename":"file1"},{"photo_id":"1402116442","filename":"file0"},{"photo_id":"1402116448","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116446":["hashtag1","hashtag2"]},{"1402116448":["hashtag1","hashtag2"]},{"1402116442":["hashtag1","hashtag2"]},{"1402116450":["hashtag1","hashtag2"]},{"1402116444":["hashtag1","hashtag2"]},{"1402116453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116446, 1402116448, 1402116442, 1402116450, 1402116444, 1402116453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25591468811035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:56:42.107082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_55_2689.jpg', '/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_58_3174.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_01_2804.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_04_2808.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_06_2505.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_10_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_55_2689.jpg
/home/pi/Desktop/images/05112025/17/01/image_05112025_17_01_58_3174.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_01_2804.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_04_2808.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_06_2505.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_10_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":["1402116463","1402116472","1402116474","1402116471","1402116470","1402116473"],"photo_ids_order":["1402116463","1402116470","1402116471","1402116472","1402116473","1402116474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6fffc775d86980754857a279bff8bf2a.jpg","text":"TemporaryFile(/tmp/multipartBody261680875976817701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337064008,"filename":"image_05112025_17_01_55_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/2/ccb5cfa4d04d061418394a0c69c68296.jpg","text":"TemporaryFile(/tmp/multipartBody8215999623224224580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337064008,"filename":"image_05112025_17_02_04_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/2/62c8d1b40b2fd7d883c6531cc9f7a808.jpg","text":"TemporaryFile(/tmp/multipartBody7118274101877590599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337064008,"filename":"image_05112025_17_02_10_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/2/e1d334a158110de09593aaf8ac7e0bec.jpg","text":"TemporaryFile(/tmp/multipartBody1924261828558211526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337064008,"filename":"image_05112025_17_02_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/2/a0d8b8a9d70aeafd414bf353621b13c2.jpg","text":"TemporaryFile(/tmp/multipartBody7815850662961439177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337064008,"filename":"image_05112025_17_01_58_3174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/90d2c742d86adf6feae5061da89eb9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2236762490752683231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337064008,"filename":"image_05112025_17_02_06_2505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116471","file1":"1402116470","file0":"1402116463","file4":"1402116473","file5":"1402116474","file3":"1402116472"},"map_files_photo_id_array":[{"photo_id":"1402116474","filename":"file5"},{"photo_id":"1402116471","filename":"file2"},{"photo_id":"1402116473","filename":"file4"},{"photo_id":"1402116470","filename":"file1"},{"photo_id":"1402116463","filename":"file0"},{"photo_id":"1402116472","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116463":["hashtag1","hashtag2"]},{"1402116472":["hashtag1","hashtag2"]},{"1402116474":["hashtag1","hashtag2"]},{"1402116471":["hashtag1","hashtag2"]},{"1402116470":["hashtag1","hashtag2"]},{"1402116473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116463, 1402116472, 1402116474, 1402116471, 1402116470, 1402116473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.923691511154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 07:57:22.354563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_15_9561.jpg', '/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_26_11623.jpg', '/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_35_8718.jpg', '/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_45_9673.jpg', '/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_55_10057.jpg', '/home/pi/Desktop/images/02012026/06/55/image_02012026_06_56_04_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_15_9561.jpg
/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_26_11623.jpg
/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_35_8718.jpg
/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_45_9673.jpg
/home/pi/Desktop/images/02012026/06/55/image_02012026_06_55_55_10057.jpg
/home/pi/Desktop/images/02012026/06/55/image_02012026_06_56_04_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116481","1402116490","1402116493","1402116486","1402116483","1402116488"],"photo_ids_order":["1402116481","1402116483","1402116486","1402116488","1402116490","1402116493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e46a2faf46160d7c9daea528e452839f.jpg","text":"TemporaryFile(/tmp/multipartBody2860982011149523778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337102985,"filename":"image_02012026_06_55_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/2/00277b076eb7199939d1a04fd25e006f.jpg","text":"TemporaryFile(/tmp/multipartBody5794642858953059806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337102985,"filename":"image_02012026_06_55_55_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/2/134fa69d4c70b6540421cf33393d97cb.jpg","text":"TemporaryFile(/tmp/multipartBody5471943261195640370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337102985,"filename":"image_02012026_06_56_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/2/fc354b4bf1605060ea89dcea68f21caf.jpg","text":"TemporaryFile(/tmp/multipartBody7820282709740920743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337102985,"filename":"image_02012026_06_55_35_8718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/143a6df19aaffae787617b04977d2432.jpg","text":"TemporaryFile(/tmp/multipartBody3817863914939087355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337102985,"filename":"image_02012026_06_55_26_11623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/298cc8a529b37bec2cf93dd0b09210b6.jpg","text":"TemporaryFile(/tmp/multipartBody130890819851207883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337102985,"filename":"image_02012026_06_55_45_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116486","file1":"1402116483","file0":"1402116481","file4":"1402116490","file5":"1402116493","file3":"1402116488"},"map_files_photo_id_array":[{"photo_id":"1402116493","filename":"file5"},{"photo_id":"1402116486","filename":"file2"},{"photo_id":"1402116490","filename":"file4"},{"photo_id":"1402116483","filename":"file1"},{"photo_id":"1402116481","filename":"file0"},{"photo_id":"1402116488","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116481":["hashtag1","hashtag2"]},{"1402116490":["hashtag1","hashtag2"]},{"1402116493":["hashtag1","hashtag2"]},{"1402116486":["hashtag1","hashtag2"]},{"1402116483":["hashtag1","hashtag2"]},{"1402116488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116481, 1402116490, 1402116493, 1402116486, 1402116483, 1402116488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25678539276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 07:59:03.285880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_15_10601.jpg', '/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_25_9811.jpg', '/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_35_9709.jpg', '/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_45_10733.jpg', '/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_55_9979.jpg', '/home/pi/Desktop/images/02012026/06/56/image_02012026_06_57_05_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_15_10601.jpg
/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_25_9811.jpg
/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_35_9709.jpg
/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_45_10733.jpg
/home/pi/Desktop/images/02012026/06/56/image_02012026_06_56_55_9979.jpg
/home/pi/Desktop/images/02012026/06/56/image_02012026_06_57_05_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":["1402116614","1402116617","1402116611","1402116605","1402116607","1402116610"],"photo_ids_order":["1402116605","1402116607","1402116610","1402116611","1402116614","1402116617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd9b71ab9eb1956cf006960fd9c2d29f.jpg","text":"TemporaryFile(/tmp/multipartBody1807070066761999915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337204173,"filename":"image_02012026_06_56_55_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/2/af0b9cebcdfba3e82a4f7992f4f55ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3499209503846448444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337204173,"filename":"image_02012026_06_57_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/2/4cac70215fcaf0a9638fb82a8285754c.jpg","text":"TemporaryFile(/tmp/multipartBody3375994743760368735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337204173,"filename":"image_02012026_06_56_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/2/4daac7005ea33877062222dc83c50931.jpg","text":"TemporaryFile(/tmp/multipartBody8871679205308643265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337204173,"filename":"image_02012026_06_56_15_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/2/34c1e0859d75cad7f7d45179efee7106.jpg","text":"TemporaryFile(/tmp/multipartBody7505400302023115265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337204173,"filename":"image_02012026_06_56_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/2/b85e1951cc93fd0dcaa5804154e81b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2829366511861768978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337204173,"filename":"image_02012026_06_56_35_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116610","file1":"1402116607","file0":"1402116605","file4":"1402116614","file5":"1402116617","file3":"1402116611"},"map_files_photo_id_array":[{"photo_id":"1402116617","filename":"file5"},{"photo_id":"1402116610","filename":"file2"},{"photo_id":"1402116614","filename":"file4"},{"photo_id":"1402116607","filename":"file1"},{"photo_id":"1402116605","filename":"file0"},{"photo_id":"1402116611","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116614":["hashtag1","hashtag2"]},{"1402116617":["hashtag1","hashtag2"]},{"1402116611":["hashtag1","hashtag2"]},{"1402116605":["hashtag1","hashtag2"]},{"1402116607":["hashtag1","hashtag2"]},{"1402116610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116614, 1402116617, 1402116611, 1402116605, 1402116607, 1402116610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12098670005798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 07:59:42.583077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_13_2703.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_15_2624.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_19_3669.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_22_2591.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_24_2612.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_28_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_13_2703.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_15_2624.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_19_3669.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_22_2591.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_24_2612.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_28_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116632","1402116634","1402116630","1402116624","1402116633","1402116627"],"photo_ids_order":["1402116624","1402116627","1402116630","1402116632","1402116633","1402116634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5648158c0eff943375c3112963f8a2b0.jpg","text":"TemporaryFile(/tmp/multipartBody3068286131690194761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337244458,"filename":"image_05112025_17_02_22_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/2/8156f90343958a1acd223f284ffbbc04.jpg","text":"TemporaryFile(/tmp/multipartBody981592910710343931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337244458,"filename":"image_05112025_17_02_28_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/2/d669f5c049aac5cc05866023fd245c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4917382335758011262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337244458,"filename":"image_05112025_17_02_19_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/2/1ab32140abe8abef4807bdfd6d001ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5171723507506213046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337244458,"filename":"image_05112025_17_02_13_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/2/f78c2277cdef3681ff405ad032fe2e00.jpg","text":"TemporaryFile(/tmp/multipartBody505422070095869847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337244458,"filename":"image_05112025_17_02_24_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/2/dd0b68419e87b205648ac61e93b8c030.jpg","text":"TemporaryFile(/tmp/multipartBody536523081930572795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337244458,"filename":"image_05112025_17_02_15_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116630","file1":"1402116627","file0":"1402116624","file4":"1402116633","file5":"1402116634","file3":"1402116632"},"map_files_photo_id_array":[{"photo_id":"1402116634","filename":"file5"},{"photo_id":"1402116630","filename":"file2"},{"photo_id":"1402116633","filename":"file4"},{"photo_id":"1402116627","filename":"file1"},{"photo_id":"1402116624","filename":"file0"},{"photo_id":"1402116632","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116632":["hashtag1","hashtag2"]},{"1402116634":["hashtag1","hashtag2"]},{"1402116630":["hashtag1","hashtag2"]},{"1402116624":["hashtag1","hashtag2"]},{"1402116633":["hashtag1","hashtag2"]},{"1402116627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116632, 1402116634, 1402116630, 1402116624, 1402116633, 1402116627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09168457984924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:00:22.747464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_15_9698.jpg', '/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_25_10674.jpg', '/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_35_9664.jpg', '/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_45_9832.jpg', '/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_54_9576.jpg', '/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_05_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_15_9698.jpg
/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_25_10674.jpg
/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_35_9664.jpg
/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_45_9832.jpg
/home/pi/Desktop/images/02012026/06/57/image_02012026_06_57_54_9576.jpg
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_05_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116656","1402116661","1402116658","1402116652","1402116646","1402116654"],"photo_ids_order":["1402116646","1402116652","1402116654","1402116656","1402116658","1402116661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/786f587a28b3bad380f684ffefa7a953.jpg","text":"TemporaryFile(/tmp/multipartBody116173104753931961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337283411,"filename":"image_02012026_06_57_45_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/2/e6e3ed3f287b5e779e8746d47491eca0.jpg","text":"TemporaryFile(/tmp/multipartBody8024178155643464388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337283411,"filename":"image_02012026_06_58_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/2/1ea45d941ceab3507097467cf27b4bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7289453338039000946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337283411,"filename":"image_02012026_06_57_54_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/2/30298a0ee9b4e2a33f9b01b5a414245e.jpg","text":"TemporaryFile(/tmp/multipartBody1126190654708926582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337283411,"filename":"image_02012026_06_57_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/2/94c9e58d3627819a26bab00b7f951790.jpg","text":"TemporaryFile(/tmp/multipartBody3522880770632433329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337283411,"filename":"image_02012026_06_57_15_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/2/ee3b83ed7ee79f26dc1fd5f20b101491.jpg","text":"TemporaryFile(/tmp/multipartBody2763377262937025251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337283411,"filename":"image_02012026_06_57_35_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116654","file1":"1402116652","file0":"1402116646","file4":"1402116658","file5":"1402116661","file3":"1402116656"},"map_files_photo_id_array":[{"photo_id":"1402116661","filename":"file5"},{"photo_id":"1402116654","filename":"file2"},{"photo_id":"1402116658","filename":"file4"},{"photo_id":"1402116652","filename":"file1"},{"photo_id":"1402116646","filename":"file0"},{"photo_id":"1402116656","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402116656":["hashtag1","hashtag2"]},{"1402116661":["hashtag1","hashtag2"]},{"1402116658":["hashtag1","hashtag2"]},{"1402116652":["hashtag1","hashtag2"]},{"1402116646":["hashtag1","hashtag2"]},{"1402116654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402116656, 1402116661, 1402116658, 1402116652, 1402116646, 1402116654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25721073150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:01:02.526819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 08:01:11.907653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_31_2688.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_33_2719.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_37_3651.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_40_2598.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_42_2798.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_45_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_31_2688.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_33_2719.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_37_3651.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_40_2598.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_42_2798.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_45_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402116787","1402116715","1402116864","1402116900","1402116750","1402116825"],"photo_ids_order":["1402116715","1402116750","1402116787","1402116825","1402116864","1402116900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0eae2280a8bdccecef1fa2407d62ede3.jpg","text":"TemporaryFile(/tmp/multipartBody6422103162440936873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337333683,"filename":"image_05112025_17_02_37_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/2/c3b27e5363632d40affef98697d1ba46.jpg","text":"TemporaryFile(/tmp/multipartBody6552116038353594248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337333683,"filename":"image_05112025_17_02_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/2/9ab1a857d7e4af66bb13ceeb2a8b7774.jpg","text":"TemporaryFile(/tmp/multipartBody5863085076565772409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337333683,"filename":"image_05112025_17_02_42_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/2/e8d68eacf7ef02fe08a26d52a6379d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3939150090804670534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337333683,"filename":"image_05112025_17_02_45_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/2/e6af3b64e73a750cc85e9573035d662f.jpg","text":"TemporaryFile(/tmp/multipartBody6697386306523360354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337333683,"filename":"image_05112025_17_02_33_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/2/8f30f9ae0b791007ea21b6b849c4bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3523032903956174208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337333683,"filename":"image_05112025_17_02_40_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402116787","file1":"1402116750","file0":"1402116715","file4":"1402116864","file5":"1402116900","file3":"1402116825"},"map_files_photo_id_array":[{"photo_id":"1402116900","filename":"file5"},{"photo_id":"1402116787","filename":"file2"},{"photo_id":"1402116864","filename":"file4"},{"photo_id":"1402116750","filename":"file1"},{"photo_id":"1402116715","filename":"file0"},{"photo_id":"1402116825","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402116787":["hashtag1","hashtag2"]},{"1402116715":["hashtag1","hashtag2"]},{"1402116864":["hashtag1","hashtag2"]},{"1402116900":["hashtag1","hashtag2"]},{"1402116750":["hashtag1","hashtag2"]},{"1402116825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402116787, 1402116715, 1402116864, 1402116900, 1402116750, 1402116825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.192198753356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:02:02.488662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_15_9666.jpg', '/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_25_10384.jpg', '/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_35_9660.jpg', '/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_45_10658.jpg', '/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_55_9682.jpg', '/home/pi/Desktop/images/02012026/06/58/image_02012026_06_59_05_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_15_9666.jpg
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_25_10384.jpg
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_35_9660.jpg
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_45_10658.jpg
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_58_55_9682.jpg
/home/pi/Desktop/images/02012026/06/58/image_02012026_06_59_05_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":["1402117418","1402117339","1402117267","1402117188","1402117110","1402117148"],"photo_ids_order":["1402117110","1402117148","1402117188","1402117267","1402117339","1402117418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93121d0060bdfc3d6165729f15543931.jpg","text":"TemporaryFile(/tmp/multipartBody3629441410270812457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337383120,"filename":"image_02012026_06_59_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/2/8a58c159cf399613b244602ea55d9098.jpg","text":"TemporaryFile(/tmp/multipartBody6796872003880583720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337383120,"filename":"image_02012026_06_58_55_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/2/934617114b0514d8bf550d9a9285f97d.jpg","text":"TemporaryFile(/tmp/multipartBody6942219219337132769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337383120,"filename":"image_02012026_06_58_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/2/b6833026b5f423e49d011d82b2c91731.jpg","text":"TemporaryFile(/tmp/multipartBody7672361475882733200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337383120,"filename":"image_02012026_06_58_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/2/5db262ac82949e8cfe276adaa0b46a74.jpg","text":"TemporaryFile(/tmp/multipartBody3869429370755533098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337383120,"filename":"image_02012026_06_58_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/2/eb22c69cca528314b013c33b62fa2759.jpg","text":"TemporaryFile(/tmp/multipartBody7630624820496870203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337383120,"filename":"image_02012026_06_58_25_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402117188","file1":"1402117148","file0":"1402117110","file4":"1402117339","file5":"1402117418","file3":"1402117267"},"map_files_photo_id_array":[{"photo_id":"1402117418","filename":"file5"},{"photo_id":"1402117188","filename":"file2"},{"photo_id":"1402117339","filename":"file4"},{"photo_id":"1402117148","filename":"file1"},{"photo_id":"1402117110","filename":"file0"},{"photo_id":"1402117267","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402117418":["hashtag1","hashtag2"]},{"1402117339":["hashtag1","hashtag2"]},{"1402117267":["hashtag1","hashtag2"]},{"1402117188":["hashtag1","hashtag2"]},{"1402117110":["hashtag1","hashtag2"]},{"1402117148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402117418, 1402117339, 1402117267, 1402117188, 1402117110, 1402117148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18697428703308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:02:42.110617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_49_3846.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_51_2616.jpg', '/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_54_2637.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_01_2885.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_03_2549.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_06_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_49_3846.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_51_2616.jpg
/home/pi/Desktop/images/05112025/17/02/image_05112025_17_02_54_2637.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_01_2885.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_03_2549.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_06_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402117802","1402117765","1402117840","1402117695","1402117875","1402117878"],"photo_ids_order":["1402117695","1402117765","1402117802","1402117840","1402117875","1402117878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/04b6759e7fb99168577c84262abff7f2.jpg","text":"TemporaryFile(/tmp/multipartBody902937932847861845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337423869,"filename":"image_05112025_17_02_54_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/2/399e1cb3d84863b109425a7fbe094674.jpg","text":"TemporaryFile(/tmp/multipartBody1964064090748005801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337423869,"filename":"image_05112025_17_02_51_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/2/33ca5d6ed2bce53a3c81e02274b07586.jpg","text":"TemporaryFile(/tmp/multipartBody2708725497392358947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337423869,"filename":"image_05112025_17_03_01_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/2/3c0822c20d6cb432d4ff6a03ac33df77.jpg","text":"TemporaryFile(/tmp/multipartBody5695715181554467054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337423869,"filename":"image_05112025_17_02_49_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9f65b8adfb4e370f4226ee0012f40d4.jpg","text":"TemporaryFile(/tmp/multipartBody2660114539531191567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337423869,"filename":"image_05112025_17_03_03_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/2/195d9f88fb8384680e6bcf2143c0b37d.jpg","text":"TemporaryFile(/tmp/multipartBody5541164240884488579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337423869,"filename":"image_05112025_17_03_06_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402117802","file1":"1402117765","file0":"1402117695","file4":"1402117875","file5":"1402117878","file3":"1402117840"},"map_files_photo_id_array":[{"photo_id":"1402117878","filename":"file5"},{"photo_id":"1402117802","filename":"file2"},{"photo_id":"1402117875","filename":"file4"},{"photo_id":"1402117765","filename":"file1"},{"photo_id":"1402117695","filename":"file0"},{"photo_id":"1402117840","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402117802":["hashtag1","hashtag2"]},{"1402117765":["hashtag1","hashtag2"]},{"1402117840":["hashtag1","hashtag2"]},{"1402117695":["hashtag1","hashtag2"]},{"1402117875":["hashtag1","hashtag2"]},{"1402117878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402117802, 1402117765, 1402117840, 1402117695, 1402117875, 1402117878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9178032875061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:03:22.368786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_15_10733.jpg', '/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_25_9571.jpg', '/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_35_9681.jpg', '/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_45_10753.jpg', '/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_55_9731.jpg', '/home/pi/Desktop/images/02012026/06/59/image_02012026_07_00_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_15_10733.jpg
/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_25_9571.jpg
/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_35_9681.jpg
/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_45_10753.jpg
/home/pi/Desktop/images/02012026/06/59/image_02012026_06_59_55_9731.jpg
/home/pi/Desktop/images/02012026/06/59/image_02012026_07_00_05_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":["1402118185","1402117933","1402118148","1402117884","1402118007","1402118075"],"photo_ids_order":["1402117884","1402117933","1402118007","1402118075","1402118148","1402118185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73c023495a4ed8988900c13334a554ed.jpg","text":"TemporaryFile(/tmp/multipartBody8811709549385026281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337462990,"filename":"image_02012026_07_00_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/2/135af30dc5bb06f47b359a660ce18c21.jpg","text":"TemporaryFile(/tmp/multipartBody9002706537299311207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337462990,"filename":"image_02012026_06_59_25_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/2/5bcbcd7ec48675c53e3b6c3324a7f445.jpg","text":"TemporaryFile(/tmp/multipartBody7823776387103025207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337462990,"filename":"image_02012026_06_59_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/2/cdd775a925cce3026a6fa26118319cdc.jpg","text":"TemporaryFile(/tmp/multipartBody2818640062609923783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337462990,"filename":"image_02012026_06_59_15_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/2/0266c37d42aa39ec45456c921e8325f9.jpg","text":"TemporaryFile(/tmp/multipartBody6734848027547234043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337462990,"filename":"image_02012026_06_59_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/2/98a6261b86b2c2f790da9dc83645ac84.jpg","text":"TemporaryFile(/tmp/multipartBody3604834427478322776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337462990,"filename":"image_02012026_06_59_45_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118007","file1":"1402117933","file0":"1402117884","file4":"1402118148","file5":"1402118185","file3":"1402118075"},"map_files_photo_id_array":[{"photo_id":"1402118185","filename":"file5"},{"photo_id":"1402118007","filename":"file2"},{"photo_id":"1402118148","filename":"file4"},{"photo_id":"1402117933","filename":"file1"},{"photo_id":"1402117884","filename":"file0"},{"photo_id":"1402118075","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118185":["hashtag1","hashtag2"]},{"1402117933":["hashtag1","hashtag2"]},{"1402118148":["hashtag1","hashtag2"]},{"1402117884":["hashtag1","hashtag2"]},{"1402118007":["hashtag1","hashtag2"]},{"1402118075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118185, 1402117933, 1402118148, 1402117884, 1402118007, 1402118075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49168682098389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:04:03.215307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_15_9758.jpg', '/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_25_10750.jpg', '/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_34_9059.jpg', '/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_45_10801.jpg', '/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_55_9613.jpg', '/home/pi/Desktop/images/02012026/07/00/image_02012026_07_01_05_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_15_9758.jpg
/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_25_10750.jpg
/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_34_9059.jpg
/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_45_10801.jpg
/home/pi/Desktop/images/02012026/07/00/image_02012026_07_00_55_9613.jpg
/home/pi/Desktop/images/02012026/07/00/image_02012026_07_01_05_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":["1402118350","1402118367","1402118349","1402118328","1402118399","1402118291"],"photo_ids_order":["1402118291","1402118328","1402118349","1402118350","1402118367","1402118399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9dd8c277da3c7c96a403d3e5cecbe19c.jpg","text":"TemporaryFile(/tmp/multipartBody3511276774450166553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337503921,"filename":"image_02012026_07_00_45_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/2/05a2c2e48212af9ea2d83d36c87074d5.jpg","text":"TemporaryFile(/tmp/multipartBody8706455359423684101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337503921,"filename":"image_02012026_07_00_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/2/7cfb24d31c938a4de0e70fe056b98ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3839761433443956773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337503921,"filename":"image_02012026_07_00_34_9059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/449461115da11ef262c6f118aa2bd6a5.jpg","text":"TemporaryFile(/tmp/multipartBody7299349168236305428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337503921,"filename":"image_02012026_07_00_25_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/2/b6729f3fc4019c57c378ca4a4611e6e6.jpg","text":"TemporaryFile(/tmp/multipartBody7258319809034988306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337503921,"filename":"image_02012026_07_01_05_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/2/a85d54256126c6a9ba40554e8d1d2583.jpg","text":"TemporaryFile(/tmp/multipartBody5199784186970872865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337503921,"filename":"image_02012026_07_00_15_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118349","file1":"1402118328","file0":"1402118291","file4":"1402118367","file5":"1402118399","file3":"1402118350"},"map_files_photo_id_array":[{"photo_id":"1402118399","filename":"file5"},{"photo_id":"1402118349","filename":"file2"},{"photo_id":"1402118367","filename":"file4"},{"photo_id":"1402118328","filename":"file1"},{"photo_id":"1402118291","filename":"file0"},{"photo_id":"1402118350","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118350":["hashtag1","hashtag2"]},{"1402118367":["hashtag1","hashtag2"]},{"1402118349":["hashtag1","hashtag2"]},{"1402118328":["hashtag1","hashtag2"]},{"1402118399":["hashtag1","hashtag2"]},{"1402118291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118350, 1402118367, 1402118349, 1402118328, 1402118399, 1402118291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.790651082992554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:04:42.594456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_10_3582.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_12_2624.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_15_2711.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_18_3528.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_21_2965.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_24_2999.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_10_3582.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_12_2624.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_15_2711.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_18_3528.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_21_2965.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_24_2999.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118422","1402118425","1402118427","1402118424","1402118423","1402118420"],"photo_ids_order":["1402118420","1402118422","1402118423","1402118424","1402118425","1402118427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/980453b3c2c41c66ddc460549f058d28.jpg","text":"TemporaryFile(/tmp/multipartBody360371685403857959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337544522,"filename":"image_05112025_17_03_12_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/2/8756bd68b8ad7a9099cc583f39b540d8.jpg","text":"TemporaryFile(/tmp/multipartBody1772276462355082405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337544522,"filename":"image_05112025_17_03_21_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65aede2488334afc645a27663ad34483.jpg","text":"TemporaryFile(/tmp/multipartBody1341242308048571399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337544522,"filename":"image_05112025_17_03_24_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37e251303a6fcde3d5bbd9af862f2ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8539971272534205220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337544522,"filename":"image_05112025_17_03_18_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/2/0ce5e53f49d5c61c7169e28506242bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7731449488867325058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337544522,"filename":"image_05112025_17_03_15_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/2/43a38b210c86c92eeda8731f732e9452.jpg","text":"TemporaryFile(/tmp/multipartBody8686071346321905465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337544522,"filename":"image_05112025_17_03_10_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118423","file1":"1402118422","file0":"1402118420","file4":"1402118425","file5":"1402118427","file3":"1402118424"},"map_files_photo_id_array":[{"photo_id":"1402118427","filename":"file5"},{"photo_id":"1402118423","filename":"file2"},{"photo_id":"1402118425","filename":"file4"},{"photo_id":"1402118422","filename":"file1"},{"photo_id":"1402118420","filename":"file0"},{"photo_id":"1402118424","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118422":["hashtag1","hashtag2"]},{"1402118425":["hashtag1","hashtag2"]},{"1402118427":["hashtag1","hashtag2"]},{"1402118424":["hashtag1","hashtag2"]},{"1402118423":["hashtag1","hashtag2"]},{"1402118420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118422, 1402118425, 1402118427, 1402118424, 1402118423, 1402118420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00359296798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:05:22.702518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_14_9773.jpg', '/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_25_10755.jpg', '/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_35_9651.jpg', '/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_45_9714.jpg', '/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_55_10676.jpg', '/home/pi/Desktop/images/02012026/07/01/image_02012026_07_02_05_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_14_9773.jpg
/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_25_10755.jpg
/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_35_9651.jpg
/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_45_9714.jpg
/home/pi/Desktop/images/02012026/07/01/image_02012026_07_01_55_10676.jpg
/home/pi/Desktop/images/02012026/07/01/image_02012026_07_02_05_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118440","1402118434","1402118443","1402118431","1402118436","1402118438"],"photo_ids_order":["1402118431","1402118434","1402118436","1402118438","1402118440","1402118443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a290a1dcb3525e590c715180b7d6d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody248922909205187989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337583321,"filename":"image_02012026_07_01_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/2/94f179796321f3300cd740af57bb1868.jpg","text":"TemporaryFile(/tmp/multipartBody9145464742935301546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337583321,"filename":"image_02012026_07_01_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/2/602be441fc0a79f97a7c71c240e16ed8.jpg","text":"TemporaryFile(/tmp/multipartBody8480718957512498985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337583321,"filename":"image_02012026_07_02_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/2/455a7c89c18b55a461bbe1bb7ebf44b3.jpg","text":"TemporaryFile(/tmp/multipartBody7946892301190414675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337583321,"filename":"image_02012026_07_01_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/2/2c8f7e76b48c3a1b0d16747dcd5c1019.jpg","text":"TemporaryFile(/tmp/multipartBody5657811564356470561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337583321,"filename":"image_02012026_07_01_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/2/c33fd778a480dd06e9a70c7969a12f71.jpg","text":"TemporaryFile(/tmp/multipartBody2360223840365393999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337583321,"filename":"image_02012026_07_01_45_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118436","file1":"1402118434","file0":"1402118431","file4":"1402118440","file5":"1402118443","file3":"1402118438"},"map_files_photo_id_array":[{"photo_id":"1402118443","filename":"file5"},{"photo_id":"1402118436","filename":"file2"},{"photo_id":"1402118440","filename":"file4"},{"photo_id":"1402118434","filename":"file1"},{"photo_id":"1402118431","filename":"file0"},{"photo_id":"1402118438","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118440":["hashtag1","hashtag2"]},{"1402118434":["hashtag1","hashtag2"]},{"1402118443":["hashtag1","hashtag2"]},{"1402118431":["hashtag1","hashtag2"]},{"1402118436":["hashtag1","hashtag2"]},{"1402118438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118440, 1402118434, 1402118443, 1402118431, 1402118436, 1402118438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.988240003585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:06:02.484373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_15_9620.jpg', '/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_25_10726.jpg', '/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_35_9693.jpg', '/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_45_9665.jpg', '/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_55_10561.jpg', '/home/pi/Desktop/images/02012026/07/02/image_02012026_07_03_05_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_15_9620.jpg
/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_25_10726.jpg
/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_35_9693.jpg
/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_45_9665.jpg
/home/pi/Desktop/images/02012026/07/02/image_02012026_07_02_55_10561.jpg
/home/pi/Desktop/images/02012026/07/02/image_02012026_07_03_05_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":["1402118446","1402118445","1402118454","1402118456","1402118447","1402118452"],"photo_ids_order":["1402118445","1402118446","1402118447","1402118452","1402118454","1402118456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55e87fceb217adee0875d2906690279a.jpg","text":"TemporaryFile(/tmp/multipartBody971798174142003215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337623119,"filename":"image_02012026_07_02_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/2/c9c817fd408a7dbd984b363500b34d15.jpg","text":"TemporaryFile(/tmp/multipartBody6593183957600065579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337623119,"filename":"image_02012026_07_02_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/2/49a7c402652ddd71fa4b433c42824717.jpg","text":"TemporaryFile(/tmp/multipartBody2758005008823221431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337623119,"filename":"image_02012026_07_02_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/2/55d86ae3c2b855ad151d325567f19a32.jpg","text":"TemporaryFile(/tmp/multipartBody8956581015382718762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337623119,"filename":"image_02012026_07_03_05_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/2/135ab6e8525350f1394f14ade3583c5e.jpg","text":"TemporaryFile(/tmp/multipartBody877623119567468273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337623119,"filename":"image_02012026_07_02_35_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/2/263ac6194f93c6cbc103965986b69e30.jpg","text":"TemporaryFile(/tmp/multipartBody1326486163784127439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337623119,"filename":"image_02012026_07_02_45_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118447","file1":"1402118446","file0":"1402118445","file4":"1402118454","file5":"1402118456","file3":"1402118452"},"map_files_photo_id_array":[{"photo_id":"1402118456","filename":"file5"},{"photo_id":"1402118447","filename":"file2"},{"photo_id":"1402118454","filename":"file4"},{"photo_id":"1402118446","filename":"file1"},{"photo_id":"1402118445","filename":"file0"},{"photo_id":"1402118452","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118446":["hashtag1","hashtag2"]},{"1402118445":["hashtag1","hashtag2"]},{"1402118454":["hashtag1","hashtag2"]},{"1402118456":["hashtag1","hashtag2"]},{"1402118447":["hashtag1","hashtag2"]},{"1402118452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118446, 1402118445, 1402118454, 1402118456, 1402118447, 1402118452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81608772277832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:06:41.912045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_27_2684.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_30_2808.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_34_3625.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_36_2763.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_39_2764.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_43_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_27_2684.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_30_2808.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_34_3625.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_36_2763.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_39_2764.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_43_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118476","1402118475","1402118478","1402118469","1402118468","1402118465"],"photo_ids_order":["1402118465","1402118468","1402118469","1402118475","1402118476","1402118478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5749fb8dfdb3d84fcb6d800b8a76025b.jpg","text":"TemporaryFile(/tmp/multipartBody6043930649314713545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337663781,"filename":"image_05112025_17_03_39_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/2/01e172daf91afbe7d33a5985286f4c83.jpg","text":"TemporaryFile(/tmp/multipartBody8917376662913269620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337663781,"filename":"image_05112025_17_03_36_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/2/4fc6f6e19312b1a3e78dcf9cf479a027.jpg","text":"TemporaryFile(/tmp/multipartBody8391574774669677872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337663781,"filename":"image_05112025_17_03_43_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/2/58cb0820faf3ae21bbf9bf67077259bf.jpg","text":"TemporaryFile(/tmp/multipartBody8877248617102848100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337663781,"filename":"image_05112025_17_03_34_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/2/b3d59bd682d9c907a7237b1daf3d0d07.jpg","text":"TemporaryFile(/tmp/multipartBody8776041095805728381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337663781,"filename":"image_05112025_17_03_30_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/2/db0e59cd77508405ed9620e9dbc59378.jpg","text":"TemporaryFile(/tmp/multipartBody6374654696047026356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337663781,"filename":"image_05112025_17_03_27_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118469","file1":"1402118468","file0":"1402118465","file4":"1402118476","file5":"1402118478","file3":"1402118475"},"map_files_photo_id_array":[{"photo_id":"1402118478","filename":"file5"},{"photo_id":"1402118469","filename":"file2"},{"photo_id":"1402118476","filename":"file4"},{"photo_id":"1402118468","filename":"file1"},{"photo_id":"1402118465","filename":"file0"},{"photo_id":"1402118475","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118476":["hashtag1","hashtag2"]},{"1402118475":["hashtag1","hashtag2"]},{"1402118478":["hashtag1","hashtag2"]},{"1402118469":["hashtag1","hashtag2"]},{"1402118468":["hashtag1","hashtag2"]},{"1402118465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118476, 1402118475, 1402118478, 1402118469, 1402118468, 1402118465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26477384567261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:07:22.078810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_15_9731.jpg', '/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_25_9804.jpg', '/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_34_9815.jpg', '/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_45_10677.jpg', '/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_55_9739.jpg', '/home/pi/Desktop/images/02012026/07/03/image_02012026_07_04_05_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_15_9731.jpg
/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_25_9804.jpg
/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_34_9815.jpg
/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_45_10677.jpg
/home/pi/Desktop/images/02012026/07/03/image_02012026_07_03_55_9739.jpg
/home/pi/Desktop/images/02012026/07/03/image_02012026_07_04_05_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":["1402118490","1402118484","1402118492","1402118486","1402118483","1402118488"],"photo_ids_order":["1402118483","1402118484","1402118486","1402118488","1402118490","1402118492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c444e479bf78535487574e8ef72f086b.jpg","text":"TemporaryFile(/tmp/multipartBody791138600217383392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337702699,"filename":"image_02012026_07_03_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/2/6664482d2f511bef02ab489ab2edb196.jpg","text":"TemporaryFile(/tmp/multipartBody7126667399654050520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337702699,"filename":"image_02012026_07_03_25_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/2/dd5ad5d40458ae38939b8acff759c2b9.jpg","text":"TemporaryFile(/tmp/multipartBody7936280016383457932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337702699,"filename":"image_02012026_07_04_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/2/1bfb8e576ae225789e090e3c6a563922.jpg","text":"TemporaryFile(/tmp/multipartBody3759465140216643600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337702699,"filename":"image_02012026_07_03_34_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/2/a52be7e3e25060d4d12701532c46064e.jpg","text":"TemporaryFile(/tmp/multipartBody1149879926149584637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337702699,"filename":"image_02012026_07_03_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/2/537e599ee1de75a2983447f48e67062f.jpg","text":"TemporaryFile(/tmp/multipartBody5020061258933800691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337702699,"filename":"image_02012026_07_03_45_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118486","file1":"1402118484","file0":"1402118483","file4":"1402118490","file5":"1402118492","file3":"1402118488"},"map_files_photo_id_array":[{"photo_id":"1402118492","filename":"file5"},{"photo_id":"1402118486","filename":"file2"},{"photo_id":"1402118490","filename":"file4"},{"photo_id":"1402118484","filename":"file1"},{"photo_id":"1402118483","filename":"file0"},{"photo_id":"1402118488","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118490":["hashtag1","hashtag2"]},{"1402118484":["hashtag1","hashtag2"]},{"1402118492":["hashtag1","hashtag2"]},{"1402118486":["hashtag1","hashtag2"]},{"1402118483":["hashtag1","hashtag2"]},{"1402118488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118490, 1402118484, 1402118492, 1402118486, 1402118483, 1402118488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12269353866577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:08:02.681445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_15_10525.jpg', '/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_25_9695.jpg', '/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_35_9694.jpg', '/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_45_10764.jpg', '/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_55_9663.jpg', '/home/pi/Desktop/images/02012026/07/04/image_02012026_07_05_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_15_10525.jpg
/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_25_9695.jpg
/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_35_9694.jpg
/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_45_10764.jpg
/home/pi/Desktop/images/02012026/07/04/image_02012026_07_04_55_9663.jpg
/home/pi/Desktop/images/02012026/07/04/image_02012026_07_05_05_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118503","1402118506","1402118509","1402118500","1402118499","1402118508"],"photo_ids_order":["1402118499","1402118500","1402118503","1402118506","1402118508","1402118509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5d3f2c4fc509223efd9bbf13be13a29.jpg","text":"TemporaryFile(/tmp/multipartBody8365467825461677603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337743375,"filename":"image_02012026_07_04_35_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/2/cec1964ef9edca7fb44fdfa0960d9914.jpg","text":"TemporaryFile(/tmp/multipartBody8452325182705654647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337743375,"filename":"image_02012026_07_04_45_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/2/33037dc84a042c433a1c9468bf9af677.jpg","text":"TemporaryFile(/tmp/multipartBody124063571381944561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337743375,"filename":"image_02012026_07_05_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/2/ac6080b36e81e3cbf22fc3a72e9e10ea.jpg","text":"TemporaryFile(/tmp/multipartBody996529942951136093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337743375,"filename":"image_02012026_07_04_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/2/4ffee633aa144fd5f6e6d79c80284fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4350708459184269561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337743375,"filename":"image_02012026_07_04_15_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/2/f67bf8ef439ada28426497daa36ead6b.jpg","text":"TemporaryFile(/tmp/multipartBody7275894983269929661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337743375,"filename":"image_02012026_07_04_55_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118503","file1":"1402118500","file0":"1402118499","file4":"1402118508","file5":"1402118509","file3":"1402118506"},"map_files_photo_id_array":[{"photo_id":"1402118509","filename":"file5"},{"photo_id":"1402118503","filename":"file2"},{"photo_id":"1402118508","filename":"file4"},{"photo_id":"1402118500","filename":"file1"},{"photo_id":"1402118499","filename":"file0"},{"photo_id":"1402118506","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118503":["hashtag1","hashtag2"]},{"1402118506":["hashtag1","hashtag2"]},{"1402118509":["hashtag1","hashtag2"]},{"1402118500":["hashtag1","hashtag2"]},{"1402118499":["hashtag1","hashtag2"]},{"1402118508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118503, 1402118506, 1402118509, 1402118500, 1402118499, 1402118508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4641649723053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:08:42.268797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_45_2535.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_48_2674.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_51_3249.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_55_3679.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_57_2232.jpg', '/home/pi/Desktop/images/05112025/17/03/image_05112025_17_04_01_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_45_2535.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_48_2674.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_51_3249.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_55_3679.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_03_57_2232.jpg
/home/pi/Desktop/images/05112025/17/03/image_05112025_17_04_01_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118569","1402118557","1402118553","1402118555","1402118549","1402118564"],"photo_ids_order":["1402118549","1402118553","1402118555","1402118557","1402118564","1402118569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a97349e0c591946b463ec2108be427bb.jpg","text":"TemporaryFile(/tmp/multipartBody1031366558980079347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337784196,"filename":"image_05112025_17_04_01_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/2/249b1b2a08e04006bf7b3ea91c6aceb6.jpg","text":"TemporaryFile(/tmp/multipartBody5404706489765468860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337784196,"filename":"image_05112025_17_03_55_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/2/44e4b2f2d1a3177be1c20b9adc54462d.jpg","text":"TemporaryFile(/tmp/multipartBody8518775621297643769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337784196,"filename":"image_05112025_17_03_48_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/2/f4af3865e597c90909a67f695bc72511.jpg","text":"TemporaryFile(/tmp/multipartBody1021244817269166229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337784196,"filename":"image_05112025_17_03_51_3249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b3589100b0cd3273ec55e7a6906bd0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3728175754272017624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337784196,"filename":"image_05112025_17_03_45_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/2/3cc2a07deedbd67e58446a929dcce716.jpg","text":"TemporaryFile(/tmp/multipartBody3435224691853706588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337784196,"filename":"image_05112025_17_03_57_2232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118555","file1":"1402118553","file0":"1402118549","file4":"1402118564","file5":"1402118569","file3":"1402118557"},"map_files_photo_id_array":[{"photo_id":"1402118569","filename":"file5"},{"photo_id":"1402118555","filename":"file2"},{"photo_id":"1402118564","filename":"file4"},{"photo_id":"1402118553","filename":"file1"},{"photo_id":"1402118549","filename":"file0"},{"photo_id":"1402118557","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118569":["hashtag1","hashtag2"]},{"1402118557":["hashtag1","hashtag2"]},{"1402118553":["hashtag1","hashtag2"]},{"1402118555":["hashtag1","hashtag2"]},{"1402118549":["hashtag1","hashtag2"]},{"1402118564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118569, 1402118557, 1402118553, 1402118555, 1402118549, 1402118564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01548528671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:09:22.421282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_14_9764.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_25_10636.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_35_9859.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_44_9544.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_54_9926.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_06_05_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_14_9764.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_25_10636.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_35_9859.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_44_9544.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_54_9926.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_06_05_10636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.518240213394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:09:32.468136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_06_5313.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_08_1653.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_24_15977.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_25_1664.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_27_1539.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_28_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_06_5313.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_08_1653.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_24_15977.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_25_1664.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_27_1539.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_28_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":["1402118589","1402118580","1402118583","1402118591","1402118590","1402118587"],"photo_ids_order":["1402118580","1402118583","1402118587","1402118589","1402118590","1402118591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/614906929f19803eec9d595b813245b8.jpg","text":"TemporaryFile(/tmp/multipartBody2820401841823593746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337834338,"filename":"image_05112025_17_04_25_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/2/1fbfa5d024bff1311f928caefe1a8da5.jpg","text":"TemporaryFile(/tmp/multipartBody4374345990650250159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337834338,"filename":"image_05112025_17_04_06_5313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d031050e57961741a316465fc4445603.jpg","text":"TemporaryFile(/tmp/multipartBody5425993723157844637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337834338,"filename":"image_05112025_17_04_08_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/2/ffb1942b1075437db6269c3c8447238b.jpg","text":"TemporaryFile(/tmp/multipartBody1377087254788433645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337834338,"filename":"image_05112025_17_04_28_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/2/5655b86f11913b2752b65195c431c17a.jpg","text":"TemporaryFile(/tmp/multipartBody5337285986293595799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337834338,"filename":"image_05112025_17_04_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/2/72485edb4c5a7d2eb83b138615df5a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4768269177364297322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337834338,"filename":"image_05112025_17_04_24_15977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118587","file1":"1402118583","file0":"1402118580","file4":"1402118590","file5":"1402118591","file3":"1402118589"},"map_files_photo_id_array":[{"photo_id":"1402118591","filename":"file5"},{"photo_id":"1402118587","filename":"file2"},{"photo_id":"1402118590","filename":"file4"},{"photo_id":"1402118583","filename":"file1"},{"photo_id":"1402118580","filename":"file0"},{"photo_id":"1402118589","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118589":["hashtag1","hashtag2"]},{"1402118580":["hashtag1","hashtag2"]},{"1402118583":["hashtag1","hashtag2"]},{"1402118591":["hashtag1","hashtag2"]},{"1402118590":["hashtag1","hashtag2"]},{"1402118587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118589, 1402118580, 1402118583, 1402118591, 1402118590, 1402118587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41261887550354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:10:12.620004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_31_2119.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_32_1793.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_34_1583.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_36_1637.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_37_1664.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_39_1503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_31_2119.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_32_1793.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_34_1583.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_36_1637.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_37_1664.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_39_1503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118602","1402118605","1402118607","1402118594","1402118596","1402118599"],"photo_ids_order":["1402118594","1402118596","1402118599","1402118602","1402118605","1402118607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/430b5fe1513fa26b10a7ab2ff804fc59.jpg","text":"TemporaryFile(/tmp/multipartBody7030210887503708547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337874385,"filename":"image_05112025_17_04_36_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/2/87d1f9d7efc5358d4a6d67a7bb79e41b.jpg","text":"TemporaryFile(/tmp/multipartBody4922983241932445135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337874385,"filename":"image_05112025_17_04_37_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/2/38c28dcef5928017d7df7276a9a5fe14.jpg","text":"TemporaryFile(/tmp/multipartBody3163343407166325972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337874385,"filename":"image_05112025_17_04_39_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/2/b1827c686e9a6f3d9b19f0781c5898e2.jpg","text":"TemporaryFile(/tmp/multipartBody4625843139605421901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337874385,"filename":"image_05112025_17_04_31_2119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2a0bd1889fa2f8fad67117e086073cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4065738012598754302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337874385,"filename":"image_05112025_17_04_32_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e50256c8bd722abf1df4c17bdf707c1.jpg","text":"TemporaryFile(/tmp/multipartBody436372177785007686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337874385,"filename":"image_05112025_17_04_34_1583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118599","file1":"1402118596","file0":"1402118594","file4":"1402118605","file5":"1402118607","file3":"1402118602"},"map_files_photo_id_array":[{"photo_id":"1402118607","filename":"file5"},{"photo_id":"1402118599","filename":"file2"},{"photo_id":"1402118605","filename":"file4"},{"photo_id":"1402118596","filename":"file1"},{"photo_id":"1402118594","filename":"file0"},{"photo_id":"1402118602","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118602":["hashtag1","hashtag2"]},{"1402118605":["hashtag1","hashtag2"]},{"1402118607":["hashtag1","hashtag2"]},{"1402118594":["hashtag1","hashtag2"]},{"1402118596":["hashtag1","hashtag2"]},{"1402118599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118602, 1402118605, 1402118607, 1402118594, 1402118596, 1402118599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94043946266174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:11:03.443193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_14_9764.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_25_10636.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_35_9859.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_44_9544.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_54_9926.jpg', '/home/pi/Desktop/images/02012026/07/05/image_02012026_07_06_05_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_14_9764.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_25_10636.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_35_9859.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_44_9544.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_05_54_9926.jpg
/home/pi/Desktop/images/02012026/07/05/image_02012026_07_06_05_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118620","1402118622","1402118621","1402118630","1402118624","1402118627"],"photo_ids_order":["1402118620","1402118621","1402118622","1402118624","1402118627","1402118630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/07c32142b457b7018a70737ad0146968.jpg","text":"TemporaryFile(/tmp/multipartBody3652983156354493562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337924167,"filename":"image_02012026_07_05_14_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/2/ff4156da78648e7234c25af0ac2a646c.jpg","text":"TemporaryFile(/tmp/multipartBody5282340294800051265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337924167,"filename":"image_02012026_07_05_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/2/2d6482c6cc94362dcf8e442f1afe6d33.jpg","text":"TemporaryFile(/tmp/multipartBody637167547457913620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337924167,"filename":"image_02012026_07_05_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/2/7a5f535901679b4036e82a7d9d838c23.jpg","text":"TemporaryFile(/tmp/multipartBody872816023404070153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337924167,"filename":"image_02012026_07_06_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/2/81539140ceec667b24fffe4f0ee588a1.jpg","text":"TemporaryFile(/tmp/multipartBody7060034209346254841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337924167,"filename":"image_02012026_07_05_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/2/1c5f3214e4ce5af4fe654686ca484532.jpg","text":"TemporaryFile(/tmp/multipartBody5395544018345645860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337924167,"filename":"image_02012026_07_05_54_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118622","file1":"1402118621","file0":"1402118620","file4":"1402118627","file5":"1402118630","file3":"1402118624"},"map_files_photo_id_array":[{"photo_id":"1402118630","filename":"file5"},{"photo_id":"1402118622","filename":"file2"},{"photo_id":"1402118627","filename":"file4"},{"photo_id":"1402118621","filename":"file1"},{"photo_id":"1402118620","filename":"file0"},{"photo_id":"1402118624","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118620":["hashtag1","hashtag2"]},{"1402118622":["hashtag1","hashtag2"]},{"1402118621":["hashtag1","hashtag2"]},{"1402118630":["hashtag1","hashtag2"]},{"1402118624":["hashtag1","hashtag2"]},{"1402118627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118620, 1402118622, 1402118621, 1402118630, 1402118624, 1402118627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99894666671753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:11:42.736082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_41_1872.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_45_2793.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_49_3653.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_51_2732.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_54_2524.jpg', '/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_57_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_41_1872.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_45_2793.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_49_3653.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_51_2732.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_54_2524.jpg
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_04_57_3599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118635","1402118638","1402118643","1402118637","1402118640","1402118639"],"photo_ids_order":["1402118635","1402118637","1402118638","1402118639","1402118640","1402118643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e92ecb954c22e4931d03359b1fa7f545.jpg","text":"TemporaryFile(/tmp/multipartBody3150019142417411578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337964625,"filename":"image_05112025_17_04_41_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/2/3d1c9fb14f9015d28f40bdc34d639a6e.jpg","text":"TemporaryFile(/tmp/multipartBody7403191201166783696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337964625,"filename":"image_05112025_17_04_49_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/2/a8659ee628b60ba0e48f59907188b81a.jpg","text":"TemporaryFile(/tmp/multipartBody3475464140764108322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337964625,"filename":"image_05112025_17_04_57_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/2/ccc40889c5ef5c73aac20f8e52cae332.jpg","text":"TemporaryFile(/tmp/multipartBody3005795046985608835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337964625,"filename":"image_05112025_17_04_45_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/2/26e2bc7829963c408187685455af5d69.jpg","text":"TemporaryFile(/tmp/multipartBody3272869080021542302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337964625,"filename":"image_05112025_17_04_54_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9adc2b5b261b872106488b546f3abf52.jpg","text":"TemporaryFile(/tmp/multipartBody1067556188576672083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767337964625,"filename":"image_05112025_17_04_51_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118638","file1":"1402118637","file0":"1402118635","file4":"1402118640","file5":"1402118643","file3":"1402118639"},"map_files_photo_id_array":[{"photo_id":"1402118643","filename":"file5"},{"photo_id":"1402118638","filename":"file2"},{"photo_id":"1402118640","filename":"file4"},{"photo_id":"1402118637","filename":"file1"},{"photo_id":"1402118635","filename":"file0"},{"photo_id":"1402118639","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118635":["hashtag1","hashtag2"]},{"1402118638":["hashtag1","hashtag2"]},{"1402118643":["hashtag1","hashtag2"]},{"1402118637":["hashtag1","hashtag2"]},{"1402118640":["hashtag1","hashtag2"]},{"1402118639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118635, 1402118638, 1402118643, 1402118637, 1402118640, 1402118639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66269111633301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:12:21.887000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/06/image_02012026_07_06_25_9770.jpg', '/home/pi/Desktop/images/02012026/07/06/image_02012026_07_06_35_10269.jpg', '/home/pi/Desktop/images/02012026/07/06/image_02012026_07_06_55_10607.jpg', '/home/pi/Desktop/images/02012026/07/06/image_02012026_07_07_05_9807.jpg', '/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_25_9690.jpg', '/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_35_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/06/image_02012026_07_06_25_9770.jpg
/home/pi/Desktop/images/02012026/07/06/image_02012026_07_06_35_10269.jpg
/home/pi/Desktop/images/02012026/07/06/image_02012026_07_06_55_10607.jpg
/home/pi/Desktop/images/02012026/07/06/image_02012026_07_07_05_9807.jpg
/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_25_9690.jpg
/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_35_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":["1402118668","1402118653","1402118649","1402118651","1402118665","1402118659"],"photo_ids_order":["1402118649","1402118651","1402118653","1402118659","1402118665","1402118668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/472b6c525d726f7ae48ba8210631ccaf.jpg","text":"TemporaryFile(/tmp/multipartBody4310565644752977118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338002618,"filename":"image_02012026_07_07_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/2/2b3e0b8d82a8f11311d918ab33ecb2ce.jpg","text":"TemporaryFile(/tmp/multipartBody2136708451501254051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338002618,"filename":"image_02012026_07_06_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/2/933721479dc988c6764467ecb9886db1.jpg","text":"TemporaryFile(/tmp/multipartBody1432717746730158536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338002618,"filename":"image_02012026_07_06_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/2/204682362b35304aed56f24d9297e7d2.jpg","text":"TemporaryFile(/tmp/multipartBody546678647646194789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338002618,"filename":"image_02012026_07_06_35_10269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55d298e0d607e9e8a534ca92ccc3bdc5.jpg","text":"TemporaryFile(/tmp/multipartBody3742513189705107248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338002618,"filename":"image_02012026_07_07_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/2/9f269c3a40b2d99fea300c80c9c7aef3.jpg","text":"TemporaryFile(/tmp/multipartBody8852729518588009865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338002618,"filename":"image_02012026_07_07_05_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118653","file1":"1402118651","file0":"1402118649","file4":"1402118665","file5":"1402118668","file3":"1402118659"},"map_files_photo_id_array":[{"photo_id":"1402118668","filename":"file5"},{"photo_id":"1402118653","filename":"file2"},{"photo_id":"1402118665","filename":"file4"},{"photo_id":"1402118651","filename":"file1"},{"photo_id":"1402118649","filename":"file0"},{"photo_id":"1402118659","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118668":["hashtag1","hashtag2"]},{"1402118653":["hashtag1","hashtag2"]},{"1402118649":["hashtag1","hashtag2"]},{"1402118651":["hashtag1","hashtag2"]},{"1402118665":["hashtag1","hashtag2"]},{"1402118659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118668, 1402118653, 1402118649, 1402118651, 1402118665, 1402118659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71994352340698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:13:02.866840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_45_9750.jpg', '/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_55_9754.jpg', '/home/pi/Desktop/images/02012026/07/07/image_02012026_07_08_04_9590.jpg', '/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_15_10672.jpg', '/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_25_9686.jpg', '/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_35_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_45_9750.jpg
/home/pi/Desktop/images/02012026/07/07/image_02012026_07_07_55_9754.jpg
/home/pi/Desktop/images/02012026/07/07/image_02012026_07_08_04_9590.jpg
/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_15_10672.jpg
/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_25_9686.jpg
/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_35_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118674","1402118685","1402118687","1402118672","1402118683","1402118671"],"photo_ids_order":["1402118671","1402118672","1402118674","1402118683","1402118685","1402118687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c3bdab5a53e05f1a9cb77dd911d271cb.jpg","text":"TemporaryFile(/tmp/multipartBody7611364718167722928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338043605,"filename":"image_02012026_07_08_04_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/2/815ffbf3cc4521a2eface8d6ce5f802b.jpg","text":"TemporaryFile(/tmp/multipartBody7019874419519494150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338043605,"filename":"image_02012026_07_08_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/2/fdb76f4a69589560b64a5e92d76bab8a.jpg","text":"TemporaryFile(/tmp/multipartBody2318421410323954999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338043605,"filename":"image_02012026_07_08_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/2/7dcbe252bf3ea91e90ab85fa6921d810.jpg","text":"TemporaryFile(/tmp/multipartBody7262981606838773804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338043605,"filename":"image_02012026_07_07_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/2/7e56e78bfd7f020f1dbd60519162811f.jpg","text":"TemporaryFile(/tmp/multipartBody8391587558248499858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338043605,"filename":"image_02012026_07_08_15_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/2/b186e1a1efe89ef3ea6fbf546a8c66f4.jpg","text":"TemporaryFile(/tmp/multipartBody2484950498173806234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338043605,"filename":"image_02012026_07_07_45_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118674","file1":"1402118672","file0":"1402118671","file4":"1402118685","file5":"1402118687","file3":"1402118683"},"map_files_photo_id_array":[{"photo_id":"1402118687","filename":"file5"},{"photo_id":"1402118674","filename":"file2"},{"photo_id":"1402118685","filename":"file4"},{"photo_id":"1402118672","filename":"file1"},{"photo_id":"1402118671","filename":"file0"},{"photo_id":"1402118683","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118674":["hashtag1","hashtag2"]},{"1402118685":["hashtag1","hashtag2"]},{"1402118687":["hashtag1","hashtag2"]},{"1402118672":["hashtag1","hashtag2"]},{"1402118683":["hashtag1","hashtag2"]},{"1402118671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118674, 1402118685, 1402118687, 1402118672, 1402118683, 1402118671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.091562032699585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:13:42.185028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/04/image_05112025_17_05_00_2598.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_07_3011.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_11_3585.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_14_2617.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_17_3686.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_20_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/04/image_05112025_17_05_00_2598.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_07_3011.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_11_3585.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_14_2617.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_17_3686.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_20_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":["1402118701","1402118704","1402118693","1402118696","1402118705","1402118695"],"photo_ids_order":["1402118693","1402118695","1402118696","1402118701","1402118704","1402118705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbf0c8ed478f2beadcc0005eb1b14f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7045743049846338694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338084074,"filename":"image_05112025_17_06_14_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/2/8238ee2da55b2080430da9d0f86a6c66.jpg","text":"TemporaryFile(/tmp/multipartBody9049399124931608373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338084074,"filename":"image_05112025_17_06_17_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/2/86dd8429d02368699d058619a6d5c0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1402712321891901239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338084074,"filename":"image_05112025_17_05_00_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/2/fee42601c182b2fcf3ef683b44645d30.jpg","text":"TemporaryFile(/tmp/multipartBody7097851154211956148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338084074,"filename":"image_05112025_17_06_11_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/2/0471673e586bad2bbaee256f96c7766a.jpg","text":"TemporaryFile(/tmp/multipartBody7246120491391317818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338084074,"filename":"image_05112025_17_06_20_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/2/97ef31365e323fe79bc36ede6478d026.jpg","text":"TemporaryFile(/tmp/multipartBody5403796726791432024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338084074,"filename":"image_05112025_17_06_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118696","file1":"1402118695","file0":"1402118693","file4":"1402118704","file5":"1402118705","file3":"1402118701"},"map_files_photo_id_array":[{"photo_id":"1402118705","filename":"file5"},{"photo_id":"1402118696","filename":"file2"},{"photo_id":"1402118704","filename":"file4"},{"photo_id":"1402118695","filename":"file1"},{"photo_id":"1402118693","filename":"file0"},{"photo_id":"1402118701","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118701":["hashtag1","hashtag2"]},{"1402118704":["hashtag1","hashtag2"]},{"1402118693":["hashtag1","hashtag2"]},{"1402118696":["hashtag1","hashtag2"]},{"1402118705":["hashtag1","hashtag2"]},{"1402118695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118701, 1402118704, 1402118693, 1402118696, 1402118705, 1402118695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84878635406494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:14:22.370291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_45_10670.jpg', '/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_55_9553.jpg', '/home/pi/Desktop/images/02012026/07/08/image_02012026_07_09_04_9615.jpg', '/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_15_10626.jpg', '/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_25_9617.jpg', '/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_34_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_45_10670.jpg
/home/pi/Desktop/images/02012026/07/08/image_02012026_07_08_55_9553.jpg
/home/pi/Desktop/images/02012026/07/08/image_02012026_07_09_04_9615.jpg
/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_15_10626.jpg
/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_25_9617.jpg
/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_34_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118728","1402118722","1402118733","1402118709","1402118711","1402118714"],"photo_ids_order":["1402118709","1402118711","1402118714","1402118722","1402118728","1402118733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5b9b1c385d41afb1ab8da62e750417a5.jpg","text":"TemporaryFile(/tmp/multipartBody1413988901211147932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338123026,"filename":"image_02012026_07_09_25_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/2/76418973fa93dc37890b2526ea81a888.jpg","text":"TemporaryFile(/tmp/multipartBody7608519138149986999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338123026,"filename":"image_02012026_07_09_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/2/b8b71e6b2ffca3da4c80b00cffe3bf4b.jpg","text":"TemporaryFile(/tmp/multipartBody9075662758498648319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338123026,"filename":"image_02012026_07_09_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/2/6214c7200731565c96638d83f75dcbdf.jpg","text":"TemporaryFile(/tmp/multipartBody1248065658177954526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338123026,"filename":"image_02012026_07_08_45_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/2/0312f3db5c5423b8634d4237ad017be4.jpg","text":"TemporaryFile(/tmp/multipartBody8588904664847602506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338123026,"filename":"image_02012026_07_08_55_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/2/2f74ca068c7c7e969d8ba516fa6faca6.jpg","text":"TemporaryFile(/tmp/multipartBody4195736074845152391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338123026,"filename":"image_02012026_07_09_04_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118714","file1":"1402118711","file0":"1402118709","file4":"1402118728","file5":"1402118733","file3":"1402118722"},"map_files_photo_id_array":[{"photo_id":"1402118733","filename":"file5"},{"photo_id":"1402118714","filename":"file2"},{"photo_id":"1402118728","filename":"file4"},{"photo_id":"1402118711","filename":"file1"},{"photo_id":"1402118709","filename":"file0"},{"photo_id":"1402118722","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118728":["hashtag1","hashtag2"]},{"1402118722":["hashtag1","hashtag2"]},{"1402118733":["hashtag1","hashtag2"]},{"1402118709":["hashtag1","hashtag2"]},{"1402118711":["hashtag1","hashtag2"]},{"1402118714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118728, 1402118722, 1402118733, 1402118709, 1402118711, 1402118714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04385042190552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:15:03.125408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_45_10567.jpg', '/home/pi/Desktop/images/02012026/07/09/image_02012026_07_10_05_10704.jpg', '/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_15_9683.jpg', '/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_25_9758.jpg', '/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_35_9962.jpg', '/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_45_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/09/image_02012026_07_09_45_10567.jpg
/home/pi/Desktop/images/02012026/07/09/image_02012026_07_10_05_10704.jpg
/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_15_9683.jpg
/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_25_9758.jpg
/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_35_9962.jpg
/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_45_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118755","1402118800","1402118803","1402118772","1402118798","1402118797"],"photo_ids_order":["1402118755","1402118772","1402118797","1402118798","1402118800","1402118803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09384b82fef2dd5ab22d4ccb9369091a.jpg","text":"TemporaryFile(/tmp/multipartBody8276828512897961807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338163853,"filename":"image_02012026_07_09_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/2/1c17ff193fceb69a8643b4b2d87d6156.jpg","text":"TemporaryFile(/tmp/multipartBody5643758291776151142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338163853,"filename":"image_02012026_07_10_35_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/2/5d041cad7f11b2403df5bd55a1c5fe16.jpg","text":"TemporaryFile(/tmp/multipartBody6692024322253232163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338163853,"filename":"image_02012026_07_10_45_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/2/ad73e0bc55c4c8313e20cfc3fe750bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7563730868136867043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338163853,"filename":"image_02012026_07_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/2/f9848ffdc2bb031f6a54640378156b24.jpg","text":"TemporaryFile(/tmp/multipartBody6510264907531909059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338163853,"filename":"image_02012026_07_10_25_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/2/d512f34c8517e2ecabd1cc05203c8f57.jpg","text":"TemporaryFile(/tmp/multipartBody4788842452323591547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338163853,"filename":"image_02012026_07_10_15_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118797","file1":"1402118772","file0":"1402118755","file4":"1402118800","file5":"1402118803","file3":"1402118798"},"map_files_photo_id_array":[{"photo_id":"1402118803","filename":"file5"},{"photo_id":"1402118797","filename":"file2"},{"photo_id":"1402118800","filename":"file4"},{"photo_id":"1402118772","filename":"file1"},{"photo_id":"1402118755","filename":"file0"},{"photo_id":"1402118798","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118755":["hashtag1","hashtag2"]},{"1402118800":["hashtag1","hashtag2"]},{"1402118803":["hashtag1","hashtag2"]},{"1402118772":["hashtag1","hashtag2"]},{"1402118798":["hashtag1","hashtag2"]},{"1402118797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118755, 1402118800, 1402118803, 1402118772, 1402118798, 1402118797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1117742061615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:15:42.583049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_22_2666.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_27_5006.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_29_1869.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_32_2662.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_35_2661.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_38_2994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_22_2666.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_27_5006.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_29_1869.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_32_2662.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_35_2661.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_38_2994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118812","1402118815","1402118809","1402118811","1402118814","1402118813"],"photo_ids_order":["1402118809","1402118811","1402118812","1402118813","1402118814","1402118815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7fc45023660b3704a42e3bf7af050bb2.jpg","text":"TemporaryFile(/tmp/multipartBody3690129517768976332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338204439,"filename":"image_05112025_17_06_29_1869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ca3f7cca48a8835b8f3ae90f05ae0d2.jpg","text":"TemporaryFile(/tmp/multipartBody4843961028009973252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338204439,"filename":"image_05112025_17_06_38_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/2/f57e58e1289edfd07e22be4635303e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2193552912188169750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338204439,"filename":"image_05112025_17_06_22_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/2/3fbf5f0e680fe99f324068a1e63223fd.jpg","text":"TemporaryFile(/tmp/multipartBody5057129772983785076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338204439,"filename":"image_05112025_17_06_27_5006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a845a7fc19b364115b22c3336af0cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody2129130064261175448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338204439,"filename":"image_05112025_17_06_35_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/2/15b31ba414203d55e3b8907344fed15d.jpg","text":"TemporaryFile(/tmp/multipartBody6008822448628340068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338204439,"filename":"image_05112025_17_06_32_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118812","file1":"1402118811","file0":"1402118809","file4":"1402118814","file5":"1402118815","file3":"1402118813"},"map_files_photo_id_array":[{"photo_id":"1402118815","filename":"file5"},{"photo_id":"1402118812","filename":"file2"},{"photo_id":"1402118814","filename":"file4"},{"photo_id":"1402118811","filename":"file1"},{"photo_id":"1402118809","filename":"file0"},{"photo_id":"1402118813","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118812":["hashtag1","hashtag2"]},{"1402118815":["hashtag1","hashtag2"]},{"1402118809":["hashtag1","hashtag2"]},{"1402118811":["hashtag1","hashtag2"]},{"1402118814":["hashtag1","hashtag2"]},{"1402118813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118812, 1402118815, 1402118809, 1402118811, 1402118814, 1402118813)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.33627486228943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:16:32.796123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_41_3568.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_44_2572.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_47_3378.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_50_2662.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_55_5305.jpg', '/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_57_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_41_3568.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_44_2572.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_47_3378.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_50_2662.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_55_5305.jpg
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_57_1720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118830","1402118821","1402118838","1402118834","1402118843","1402118837"],"photo_ids_order":["1402118821","1402118830","1402118834","1402118837","1402118838","1402118843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c27d2c2e6ec17adb94cb0b3525e6b70e.jpg","text":"TemporaryFile(/tmp/multipartBody8637936947799783908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338254658,"filename":"image_05112025_17_06_44_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/2/f77361e5e2195d4934351a02006c11ac.jpg","text":"TemporaryFile(/tmp/multipartBody3830201490035539016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338254658,"filename":"image_05112025_17_06_41_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/2/b3d83fc967b88de9f54a2ae54203898d.jpg","text":"TemporaryFile(/tmp/multipartBody6643582073956521242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338254658,"filename":"image_05112025_17_06_55_5305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/69d611cb29e43d1050c75e07bdada9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5134462041951151326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338254658,"filename":"image_05112025_17_06_47_3378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bef3d8e4c690690b7217964c67414c84.jpg","text":"TemporaryFile(/tmp/multipartBody4473178543346382544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338254658,"filename":"image_05112025_17_06_57_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/2/530d56e0db128211dfd63eb3a307cb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5369487101557675354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338254658,"filename":"image_05112025_17_06_50_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118834","file1":"1402118830","file0":"1402118821","file4":"1402118838","file5":"1402118843","file3":"1402118837"},"map_files_photo_id_array":[{"photo_id":"1402118843","filename":"file5"},{"photo_id":"1402118834","filename":"file2"},{"photo_id":"1402118838","filename":"file4"},{"photo_id":"1402118830","filename":"file1"},{"photo_id":"1402118821","filename":"file0"},{"photo_id":"1402118837","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118830":["hashtag1","hashtag2"]},{"1402118821":["hashtag1","hashtag2"]},{"1402118838":["hashtag1","hashtag2"]},{"1402118834":["hashtag1","hashtag2"]},{"1402118843":["hashtag1","hashtag2"]},{"1402118837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118830, 1402118821, 1402118838, 1402118834, 1402118843, 1402118837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58462476730347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:17:11.907644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_58_1574.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_02_3600.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_05_2753.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_07_2621.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_11_3629.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_14_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/06/image_05112025_17_06_58_1574.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_02_3600.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_05_2753.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_07_2621.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_11_3629.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_14_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118851","1402118853","1402118847","1402118855","1402118849","1402118857"],"photo_ids_order":["1402118847","1402118849","1402118851","1402118853","1402118855","1402118857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4e9f5325317311337b3e0b0827f0c41.jpg","text":"TemporaryFile(/tmp/multipartBody5489143194822091942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338293669,"filename":"image_05112025_17_07_05_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/2/d1dcf4081bae6819473d747fe4a5fccb.jpg","text":"TemporaryFile(/tmp/multipartBody4588303987862281820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338293669,"filename":"image_05112025_17_07_07_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/2/1c050d4017ab61a1ff05f0ccfdefda5f.jpg","text":"TemporaryFile(/tmp/multipartBody4268022182858712043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338293669,"filename":"image_05112025_17_06_58_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/2/0274a7925d02f518b1f348a10437ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody6699297986129908653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338293669,"filename":"image_05112025_17_07_11_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/2/0f929526e3715f49d3c1d1b1c16d1f0d.jpg","text":"TemporaryFile(/tmp/multipartBody8453760155611465705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338293669,"filename":"image_05112025_17_07_02_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/2/6b56ab00aa55fcec47089a890a988310.jpg","text":"TemporaryFile(/tmp/multipartBody8994784545040652887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338293669,"filename":"image_05112025_17_07_14_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118851","file1":"1402118849","file0":"1402118847","file4":"1402118855","file5":"1402118857","file3":"1402118853"},"map_files_photo_id_array":[{"photo_id":"1402118857","filename":"file5"},{"photo_id":"1402118851","filename":"file2"},{"photo_id":"1402118855","filename":"file4"},{"photo_id":"1402118849","filename":"file1"},{"photo_id":"1402118847","filename":"file0"},{"photo_id":"1402118853","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118851":["hashtag1","hashtag2"]},{"1402118853":["hashtag1","hashtag2"]},{"1402118847":["hashtag1","hashtag2"]},{"1402118855":["hashtag1","hashtag2"]},{"1402118849":["hashtag1","hashtag2"]},{"1402118857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118851, 1402118853, 1402118847, 1402118855, 1402118849, 1402118857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.893436670303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:18:02.462354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_55_9739.jpg', '/home/pi/Desktop/images/02012026/07/10/image_02012026_07_11_05_10038.jpg', '/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_15_9708.jpg', '/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_24_9708.jpg', '/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_35_10730.jpg', '/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_45_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/10/image_02012026_07_10_55_9739.jpg
/home/pi/Desktop/images/02012026/07/10/image_02012026_07_11_05_10038.jpg
/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_15_9708.jpg
/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_24_9708.jpg
/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_35_10730.jpg
/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_45_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118871","1402118862","1402118865","1402118867","1402118861","1402118869"],"photo_ids_order":["1402118861","1402118862","1402118865","1402118867","1402118869","1402118871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef013f15272c82d83e7cc1f0fbf1d13f.jpg","text":"TemporaryFile(/tmp/multipartBody3616447541307808862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338343109,"filename":"image_02012026_07_11_45_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/2/076e230f19d6dacdac9daea5c94c7d6a.jpg","text":"TemporaryFile(/tmp/multipartBody9217353734507844482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338343109,"filename":"image_02012026_07_11_05_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/2/5393c6c116a00753cad80e348557c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody4668667498001026437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338343109,"filename":"image_02012026_07_11_15_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/2/5c6036d0cf45b5f86fa04bc163eb4a1e.jpg","text":"TemporaryFile(/tmp/multipartBody6288051588692746039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338343109,"filename":"image_02012026_07_11_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/2/b98d1c02a6d7700c4df97b8867d241b5.jpg","text":"TemporaryFile(/tmp/multipartBody19788176686993865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338343109,"filename":"image_02012026_07_10_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/2/8a303a372f6822ddeb928d5e8daddc36.jpg","text":"TemporaryFile(/tmp/multipartBody3250220700821613547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338343109,"filename":"image_02012026_07_11_35_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118865","file1":"1402118862","file0":"1402118861","file4":"1402118869","file5":"1402118871","file3":"1402118867"},"map_files_photo_id_array":[{"photo_id":"1402118871","filename":"file5"},{"photo_id":"1402118865","filename":"file2"},{"photo_id":"1402118869","filename":"file4"},{"photo_id":"1402118862","filename":"file1"},{"photo_id":"1402118861","filename":"file0"},{"photo_id":"1402118867","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118871":["hashtag1","hashtag2"]},{"1402118862":["hashtag1","hashtag2"]},{"1402118865":["hashtag1","hashtag2"]},{"1402118867":["hashtag1","hashtag2"]},{"1402118861":["hashtag1","hashtag2"]},{"1402118869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118871, 1402118862, 1402118865, 1402118867, 1402118861, 1402118869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69771099090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:18:42.119188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_16_2711.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_20_3535.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_23_2730.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_25_2588.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_29_3739.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_32_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_16_2711.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_20_3535.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_23_2730.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_25_2588.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_29_3739.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_32_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118886","1402118883","1402118894","1402118885","1402118887","1402118896"],"photo_ids_order":["1402118883","1402118885","1402118886","1402118887","1402118894","1402118896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/31ee097855c9537361e152ac3a487f08.jpg","text":"TemporaryFile(/tmp/multipartBody356549457192100340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338384009,"filename":"image_05112025_17_07_23_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/2/73d8e6c52e23e3c254613eec00862efb.jpg","text":"TemporaryFile(/tmp/multipartBody1441817825507383105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338384009,"filename":"image_05112025_17_07_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/2/8733b73e01c4afdb8b40f9a036bc3063.jpg","text":"TemporaryFile(/tmp/multipartBody963162004394578385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338384009,"filename":"image_05112025_17_07_29_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/2/a7b3937d354b26650cab839900522efd.jpg","text":"TemporaryFile(/tmp/multipartBody1168420007426583029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338384009,"filename":"image_05112025_17_07_20_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/2/53e3cb475bf2271da3e593a437a56c39.jpg","text":"TemporaryFile(/tmp/multipartBody939860786744009163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338384009,"filename":"image_05112025_17_07_25_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/2/74af86079cef66e56e31a82f3da60bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3594217689374137907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338384009,"filename":"image_05112025_17_07_32_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118886","file1":"1402118885","file0":"1402118883","file4":"1402118894","file5":"1402118896","file3":"1402118887"},"map_files_photo_id_array":[{"photo_id":"1402118896","filename":"file5"},{"photo_id":"1402118886","filename":"file2"},{"photo_id":"1402118894","filename":"file4"},{"photo_id":"1402118885","filename":"file1"},{"photo_id":"1402118883","filename":"file0"},{"photo_id":"1402118887","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118886":["hashtag1","hashtag2"]},{"1402118883":["hashtag1","hashtag2"]},{"1402118894":["hashtag1","hashtag2"]},{"1402118885":["hashtag1","hashtag2"]},{"1402118887":["hashtag1","hashtag2"]},{"1402118896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118886, 1402118883, 1402118894, 1402118885, 1402118887, 1402118896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91431283950806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:19:22.310956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_55_9701.jpg', '/home/pi/Desktop/images/02012026/07/11/image_02012026_07_12_05_10806.jpg', '/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_15_9629.jpg', '/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_25_9624.jpg', '/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_35_10676.jpg', '/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_45_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/11/image_02012026_07_11_55_9701.jpg
/home/pi/Desktop/images/02012026/07/11/image_02012026_07_12_05_10806.jpg
/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_15_9629.jpg
/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_25_9624.jpg
/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_35_10676.jpg
/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_45_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118916","1402118901","1402118924","1402118903","1402118906","1402118899"],"photo_ids_order":["1402118899","1402118901","1402118903","1402118906","1402118916","1402118924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7718ea0a51ac32a8819b4fa83279249f.jpg","text":"TemporaryFile(/tmp/multipartBody8490541624931410562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338422969,"filename":"image_02012026_07_12_35_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/2/7246356151ac6277308cae6c71c1599e.jpg","text":"TemporaryFile(/tmp/multipartBody6255978710429765848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338422969,"filename":"image_02012026_07_12_05_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/2/bf43659c91c25b096c4b6dc39da706e2.jpg","text":"TemporaryFile(/tmp/multipartBody8264231211147796922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338422969,"filename":"image_02012026_07_12_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/2/eea23d28ee1fd24330433c2b9ba44a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1850396485506461297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338422969,"filename":"image_02012026_07_12_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/2/dd17116baca4a3e5454586b06aac85dc.jpg","text":"TemporaryFile(/tmp/multipartBody3441517682798741266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338422969,"filename":"image_02012026_07_12_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/2/10638a161b35fc8aa1ae43c7584f6be0.jpg","text":"TemporaryFile(/tmp/multipartBody2239972723342806301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338422969,"filename":"image_02012026_07_11_55_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118903","file1":"1402118901","file0":"1402118899","file4":"1402118916","file5":"1402118924","file3":"1402118906"},"map_files_photo_id_array":[{"photo_id":"1402118924","filename":"file5"},{"photo_id":"1402118903","filename":"file2"},{"photo_id":"1402118916","filename":"file4"},{"photo_id":"1402118901","filename":"file1"},{"photo_id":"1402118899","filename":"file0"},{"photo_id":"1402118906","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118916":["hashtag1","hashtag2"]},{"1402118901":["hashtag1","hashtag2"]},{"1402118924":["hashtag1","hashtag2"]},{"1402118903":["hashtag1","hashtag2"]},{"1402118906":["hashtag1","hashtag2"]},{"1402118899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118916, 1402118901, 1402118924, 1402118903, 1402118906, 1402118899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.640158891677856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:20:02.999030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_55_9792.jpg', '/home/pi/Desktop/images/02012026/07/12/image_02012026_07_13_05_10675.jpg', '/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_15_9846.jpg', '/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_25_9879.jpg', '/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_35_9637.jpg', '/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/12/image_02012026_07_12_55_9792.jpg
/home/pi/Desktop/images/02012026/07/12/image_02012026_07_13_05_10675.jpg
/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_15_9846.jpg
/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_25_9879.jpg
/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_35_9637.jpg
/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_45_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402118926","1402118925","1402118928","1402118930","1402118933","1402118927"],"photo_ids_order":["1402118925","1402118926","1402118927","1402118928","1402118930","1402118933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8548e1424223c3672750025ee85336e.jpg","text":"TemporaryFile(/tmp/multipartBody669202265807319225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338463655,"filename":"image_02012026_07_13_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/2/b063c9694d5ad00e19f526fbadbe8907.jpg","text":"TemporaryFile(/tmp/multipartBody6776362752700039594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338463655,"filename":"image_02012026_07_12_55_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/2/2bafe351f10ff6fd3d905e66154ddcf1.jpg","text":"TemporaryFile(/tmp/multipartBody2398819485663910901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338463655,"filename":"image_02012026_07_13_25_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/2/82dbded974e270b4639bebb78b244e58.jpg","text":"TemporaryFile(/tmp/multipartBody8753323138313185046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338463655,"filename":"image_02012026_07_13_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/2/4d7f7b347c31d233ef479bb9f3c15bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2244555825979517798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338463655,"filename":"image_02012026_07_13_45_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/2/b40e031ef035269e3e47001cf0979adb.jpg","text":"TemporaryFile(/tmp/multipartBody2715417842724404685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338463655,"filename":"image_02012026_07_13_15_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118927","file1":"1402118926","file0":"1402118925","file4":"1402118930","file5":"1402118933","file3":"1402118928"},"map_files_photo_id_array":[{"photo_id":"1402118933","filename":"file5"},{"photo_id":"1402118927","filename":"file2"},{"photo_id":"1402118930","filename":"file4"},{"photo_id":"1402118926","filename":"file1"},{"photo_id":"1402118925","filename":"file0"},{"photo_id":"1402118928","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118926":["hashtag1","hashtag2"]},{"1402118925":["hashtag1","hashtag2"]},{"1402118928":["hashtag1","hashtag2"]},{"1402118930":["hashtag1","hashtag2"]},{"1402118933":["hashtag1","hashtag2"]},{"1402118927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118926, 1402118925, 1402118928, 1402118930, 1402118933, 1402118927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.676499128341675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:20:42.633567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_34_2536.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_38_3580.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_40_2611.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_44_3662.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_51_6708.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_52_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_34_2536.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_38_3580.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_40_2611.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_44_3662.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_51_6708.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_52_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":["1402118959","1402118952","1402118949","1402118945","1402118948","1402118962"],"photo_ids_order":["1402118945","1402118948","1402118949","1402118952","1402118959","1402118962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d4ce6d6d086d606b3a71f51e91e8070.jpg","text":"TemporaryFile(/tmp/multipartBody943978348138460735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338504518,"filename":"image_05112025_17_07_51_6708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78ff7dc1f38d337d32f9d55ea7f8ecb9.jpg","text":"TemporaryFile(/tmp/multipartBody1412273748448763603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338504518,"filename":"image_05112025_17_07_44_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/2/4861264d22abfb7a50a88fed30dbfad7.jpg","text":"TemporaryFile(/tmp/multipartBody5835659324783184886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338504518,"filename":"image_05112025_17_07_40_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/2/5e4a84d3abf82b39ca20ed327fe9d4d0.jpg","text":"TemporaryFile(/tmp/multipartBody1188884257011026173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338504518,"filename":"image_05112025_17_07_34_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/2/a15ee49b07618cbfcb655b6b8897aba3.jpg","text":"TemporaryFile(/tmp/multipartBody4005120672639271112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338504518,"filename":"image_05112025_17_07_38_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/2/c7008e6760110af60ad3ac6ce92e1086.jpg","text":"TemporaryFile(/tmp/multipartBody3994083249345566745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338504518,"filename":"image_05112025_17_07_52_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118949","file1":"1402118948","file0":"1402118945","file4":"1402118959","file5":"1402118962","file3":"1402118952"},"map_files_photo_id_array":[{"photo_id":"1402118962","filename":"file5"},{"photo_id":"1402118949","filename":"file2"},{"photo_id":"1402118959","filename":"file4"},{"photo_id":"1402118948","filename":"file1"},{"photo_id":"1402118945","filename":"file0"},{"photo_id":"1402118952","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402118959":["hashtag1","hashtag2"]},{"1402118952":["hashtag1","hashtag2"]},{"1402118949":["hashtag1","hashtag2"]},{"1402118945":["hashtag1","hashtag2"]},{"1402118948":["hashtag1","hashtag2"]},{"1402118962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402118959, 1402118952, 1402118949, 1402118945, 1402118948, 1402118962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.324931383132935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:21:22.824040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_55_9724.jpg', '/home/pi/Desktop/images/02012026/07/13/image_02012026_07_14_05_9733.jpg', '/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_14_9612.jpg', '/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_25_10719.jpg', '/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_35_9780.jpg', '/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_45_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/13/image_02012026_07_13_55_9724.jpg
/home/pi/Desktop/images/02012026/07/13/image_02012026_07_14_05_9733.jpg
/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_14_9612.jpg
/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_25_10719.jpg
/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_35_9780.jpg
/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_45_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":["1402118971","1402118973","1402118967","1402118975","1402118969","1402118977"],"photo_ids_order":["1402118967","1402118969","1402118971","1402118973","1402118975","1402118977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b647fa93c89be80f73f8874a25bb0e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2386169087870438134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338543441,"filename":"image_02012026_07_14_14_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/2/8442703ae8bf706add8d2ed59d870549.jpg","text":"TemporaryFile(/tmp/multipartBody4159311341374025209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338543441,"filename":"image_02012026_07_14_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/2/d65fb8151eef1e8276c983221a33238c.jpg","text":"TemporaryFile(/tmp/multipartBody3475104569586744799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338543441,"filename":"image_02012026_07_13_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/2/9e4e1511fe25c5ad30f8da2adefc683d.jpg","text":"TemporaryFile(/tmp/multipartBody81060340101708812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338543441,"filename":"image_02012026_07_14_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/2/524fbf11f12e82c6159d737660fcd6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5086647360275887112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338543441,"filename":"image_02012026_07_14_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/2/9f0a1e38f50b1e5bc62119101970690e.jpg","text":"TemporaryFile(/tmp/multipartBody3505450219593254735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338543441,"filename":"image_02012026_07_14_45_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118971","file1":"1402118969","file0":"1402118967","file4":"1402118975","file5":"1402118977","file3":"1402118973"},"map_files_photo_id_array":[{"photo_id":"1402118977","filename":"file5"},{"photo_id":"1402118971","filename":"file2"},{"photo_id":"1402118975","filename":"file4"},{"photo_id":"1402118969","filename":"file1"},{"photo_id":"1402118967","filename":"file0"},{"photo_id":"1402118973","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118971":["hashtag1","hashtag2"]},{"1402118973":["hashtag1","hashtag2"]},{"1402118967":["hashtag1","hashtag2"]},{"1402118975":["hashtag1","hashtag2"]},{"1402118969":["hashtag1","hashtag2"]},{"1402118977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118971, 1402118973, 1402118967, 1402118975, 1402118969, 1402118977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50822329521179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:22:02.468778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_55_10645.jpg', '/home/pi/Desktop/images/02012026/07/14/image_02012026_07_15_05_9594.jpg', '/home/pi/Desktop/images/02012026/07/15/image_02012026_07_15_14_9612.jpg', '/home/pi/Desktop/images/02012026/07/15/image_02012026_07_15_25_10419.jpg', '/home/pi/Desktop/images/02012026/07/15/image_02012026_07_15_35_9774.jpg', '/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_15_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/14/image_02012026_07_14_55_10645.jpg
/home/pi/Desktop/images/02012026/07/14/image_02012026_07_15_05_9594.jpg
/home/pi/Desktop/images/02012026/07/15/image_02012026_07_15_14_9612.jpg
/home/pi/Desktop/images/02012026/07/15/image_02012026_07_15_25_10419.jpg
/home/pi/Desktop/images/02012026/07/15/image_02012026_07_15_35_9774.jpg
/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_15_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":["1402118979","1402118978","1402119002","1402118980","1402119004","1402118998"],"photo_ids_order":["1402118978","1402118979","1402118980","1402118998","1402119002","1402119004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/151515994c1224aedffc733ef6ea5908.jpg","text":"TemporaryFile(/tmp/multipartBody611176076003520188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338583115,"filename":"image_02012026_07_15_05_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/2/fde0db71ff8904f9655c9daf22c4e6ae.jpg","text":"TemporaryFile(/tmp/multipartBody4168786328513280924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338583115,"filename":"image_02012026_07_14_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/2/9fc4c21662d124796eb52691936ceb6f.jpg","text":"TemporaryFile(/tmp/multipartBody6783031837905320049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338583115,"filename":"image_02012026_07_15_35_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/2/09b80b6562593e61a0882a3f2522c8ce.jpg","text":"TemporaryFile(/tmp/multipartBody6928463829113376733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338583115,"filename":"image_02012026_07_15_14_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/2/c980880d82c878c2ae40fd80d8594e9e.jpg","text":"TemporaryFile(/tmp/multipartBody5495595886155332002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338583115,"filename":"image_02012026_07_16_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/2/e06a5b5b64a8da913f65a871e90be41d.jpg","text":"TemporaryFile(/tmp/multipartBody2904786994664847707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338583115,"filename":"image_02012026_07_15_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402118980","file1":"1402118979","file0":"1402118978","file4":"1402119002","file5":"1402119004","file3":"1402118998"},"map_files_photo_id_array":[{"photo_id":"1402119004","filename":"file5"},{"photo_id":"1402118980","filename":"file2"},{"photo_id":"1402119002","filename":"file4"},{"photo_id":"1402118979","filename":"file1"},{"photo_id":"1402118978","filename":"file0"},{"photo_id":"1402118998","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402118979":["hashtag1","hashtag2"]},{"1402118978":["hashtag1","hashtag2"]},{"1402119002":["hashtag1","hashtag2"]},{"1402118980":["hashtag1","hashtag2"]},{"1402119004":["hashtag1","hashtag2"]},{"1402118998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402118979, 1402118978, 1402119002, 1402118980, 1402119004, 1402118998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50464105606079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:22:41.999268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_54_1550.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_56_1645.jpg', '/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_58_2549.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_02_3670.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_05_2622.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_08_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_54_1550.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_56_1645.jpg
/home/pi/Desktop/images/05112025/17/07/image_05112025_17_07_58_2549.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_02_3670.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_05_2622.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_08_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119078","1402119081","1402119080","1402119027","1402119079","1402119058"],"photo_ids_order":["1402119027","1402119058","1402119078","1402119079","1402119080","1402119081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e7b21118902ee10cbbd6239791f07cbf.jpg","text":"TemporaryFile(/tmp/multipartBody3394031764460717891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338623872,"filename":"image_05112025_17_07_58_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/2/a91df2a02f2eb6150a24b054dc595331.jpg","text":"TemporaryFile(/tmp/multipartBody883853928736489453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338623872,"filename":"image_05112025_17_08_08_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/2/6d528f17a0839ed3bade67f97255e0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7701140614550441217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338623872,"filename":"image_05112025_17_08_05_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/2/110671a93765c769fe080bcf0722e0ad.jpg","text":"TemporaryFile(/tmp/multipartBody2116720283638355765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338623872,"filename":"image_05112025_17_07_54_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/2/9339363b66ad8e7cf8a1e8672559b474.jpg","text":"TemporaryFile(/tmp/multipartBody4491715860134823448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338623872,"filename":"image_05112025_17_08_02_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/2/1d3c07637f1bb0323965f04562e8be91.jpg","text":"TemporaryFile(/tmp/multipartBody9124554264686609603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338623872,"filename":"image_05112025_17_07_56_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119078","file1":"1402119058","file0":"1402119027","file4":"1402119080","file5":"1402119081","file3":"1402119079"},"map_files_photo_id_array":[{"photo_id":"1402119081","filename":"file5"},{"photo_id":"1402119078","filename":"file2"},{"photo_id":"1402119080","filename":"file4"},{"photo_id":"1402119058","filename":"file1"},{"photo_id":"1402119027","filename":"file0"},{"photo_id":"1402119079","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119078":["hashtag1","hashtag2"]},{"1402119081":["hashtag1","hashtag2"]},{"1402119080":["hashtag1","hashtag2"]},{"1402119027":["hashtag1","hashtag2"]},{"1402119079":["hashtag1","hashtag2"]},{"1402119058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119078, 1402119081, 1402119080, 1402119027, 1402119079, 1402119058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.760274171829224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:23:22.180381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_25_9731.jpg', '/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_35_10631.jpg', '/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_45_9613.jpg', '/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_55_9779.jpg', '/home/pi/Desktop/images/02012026/07/16/image_02012026_07_17_04_9744.jpg', '/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_15_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_25_9731.jpg
/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_35_10631.jpg
/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_45_9613.jpg
/home/pi/Desktop/images/02012026/07/16/image_02012026_07_16_55_9779.jpg
/home/pi/Desktop/images/02012026/07/16/image_02012026_07_17_04_9744.jpg
/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_15_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119087","1402119089","1402119083","1402119091","1402119085","1402119094"],"photo_ids_order":["1402119083","1402119085","1402119087","1402119089","1402119091","1402119094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/64c0b2908e2af8b83e6a4a3645e4939c.jpg","text":"TemporaryFile(/tmp/multipartBody4169709355985757756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338662796,"filename":"image_02012026_07_16_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/2/900a0b264584cf86cb75f761fba3f06e.jpg","text":"TemporaryFile(/tmp/multipartBody2303068327111410746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338662796,"filename":"image_02012026_07_16_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/2/18322e4cccb3265b584e38692b014f3b.jpg","text":"TemporaryFile(/tmp/multipartBody2395276675575761286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338662796,"filename":"image_02012026_07_16_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/2/65b382ce666063d1dbdf10960734cb8d.jpg","text":"TemporaryFile(/tmp/multipartBody4178015406427248549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338662796,"filename":"image_02012026_07_17_04_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/2/20d7e72f1a09d63735c94f508196c197.jpg","text":"TemporaryFile(/tmp/multipartBody1187778646059877334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338662796,"filename":"image_02012026_07_16_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/2/9b7547a89ca4228fe9ea68879b042660.jpg","text":"TemporaryFile(/tmp/multipartBody7553905116826530961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338662796,"filename":"image_02012026_07_17_15_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119087","file1":"1402119085","file0":"1402119083","file4":"1402119091","file5":"1402119094","file3":"1402119089"},"map_files_photo_id_array":[{"photo_id":"1402119094","filename":"file5"},{"photo_id":"1402119087","filename":"file2"},{"photo_id":"1402119091","filename":"file4"},{"photo_id":"1402119085","filename":"file1"},{"photo_id":"1402119083","filename":"file0"},{"photo_id":"1402119089","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119087":["hashtag1","hashtag2"]},{"1402119089":["hashtag1","hashtag2"]},{"1402119083":["hashtag1","hashtag2"]},{"1402119091":["hashtag1","hashtag2"]},{"1402119085":["hashtag1","hashtag2"]},{"1402119094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119087, 1402119089, 1402119083, 1402119091, 1402119085, 1402119094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.967597246170044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:24:03.033332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_25_9365.jpg', '/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_35_10786.jpg', '/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_45_9575.jpg', '/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_55_9813.jpg', '/home/pi/Desktop/images/02012026/07/17/image_02012026_07_18_05_10571.jpg', '/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_15_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_25_9365.jpg
/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_35_10786.jpg
/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_45_9575.jpg
/home/pi/Desktop/images/02012026/07/17/image_02012026_07_17_55_9813.jpg
/home/pi/Desktop/images/02012026/07/17/image_02012026_07_18_05_10571.jpg
/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_15_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":["1402119096","1402119099","1402119098","1402119101","1402119104","1402119097"],"photo_ids_order":["1402119096","1402119097","1402119098","1402119099","1402119101","1402119104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e88e6e1abef61ff7e0959054acff0dec.jpg","text":"TemporaryFile(/tmp/multipartBody3664733795691977168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338703791,"filename":"image_02012026_07_17_25_9365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9f52ba44b8f451bfa102cdb656c7c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1431645542829832435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338703791,"filename":"image_02012026_07_17_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/2/909d33c8eb9cc502f568df5678673868.jpg","text":"TemporaryFile(/tmp/multipartBody5823012577517421657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338703791,"filename":"image_02012026_07_17_45_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/2/cf565a1d44be103c8a0a98cadd7dafbe.jpg","text":"TemporaryFile(/tmp/multipartBody2303492152804527736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338703791,"filename":"image_02012026_07_18_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/2/8ad2d0349b06e8015fbf70ffb4ed1e59.jpg","text":"TemporaryFile(/tmp/multipartBody2260108592338662094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338703791,"filename":"image_02012026_07_18_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/2/afb00be1c6aba85103b42342564e668e.jpg","text":"TemporaryFile(/tmp/multipartBody3667402769604860686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338703791,"filename":"image_02012026_07_17_35_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119098","file1":"1402119097","file0":"1402119096","file4":"1402119101","file5":"1402119104","file3":"1402119099"},"map_files_photo_id_array":[{"photo_id":"1402119104","filename":"file5"},{"photo_id":"1402119098","filename":"file2"},{"photo_id":"1402119101","filename":"file4"},{"photo_id":"1402119097","filename":"file1"},{"photo_id":"1402119096","filename":"file0"},{"photo_id":"1402119099","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119096":["hashtag1","hashtag2"]},{"1402119099":["hashtag1","hashtag2"]},{"1402119098":["hashtag1","hashtag2"]},{"1402119101":["hashtag1","hashtag2"]},{"1402119104":["hashtag1","hashtag2"]},{"1402119097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119096, 1402119099, 1402119098, 1402119101, 1402119104, 1402119097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58711504936218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:24:42.416823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_11_2791.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_14_2775.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_16_2819.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_19_2735.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_23_3565.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_26_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_11_2791.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_14_2775.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_16_2819.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_19_2735.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_23_3565.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_26_2821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119120","1402119117","1402119119","1402119113","1402119116","1402119118"],"photo_ids_order":["1402119113","1402119116","1402119117","1402119118","1402119119","1402119120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1407edb0b3f08be0e4e66fb86127680e.jpg","text":"TemporaryFile(/tmp/multipartBody4660568649036586491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338744275,"filename":"image_05112025_17_08_26_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29096396e4ca59d7ed7e0f5fed72f4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8158034852594313520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338744275,"filename":"image_05112025_17_08_16_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/2/4a150e10bf6b8046509b6ba9c9c63e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8132250537537318707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338744275,"filename":"image_05112025_17_08_23_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/2/996ac41d5ff9c28773b6486e0e8817f0.jpg","text":"TemporaryFile(/tmp/multipartBody7714613264542838795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338744275,"filename":"image_05112025_17_08_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/2/f352ed718e0189c33eead80ecb785b30.jpg","text":"TemporaryFile(/tmp/multipartBody2122695822107527394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338744275,"filename":"image_05112025_17_08_14_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/2/d82d5464e8a033d0e56f5f6116a3f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody3897313873636406349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338744275,"filename":"image_05112025_17_08_19_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119117","file1":"1402119116","file0":"1402119113","file4":"1402119119","file5":"1402119120","file3":"1402119118"},"map_files_photo_id_array":[{"photo_id":"1402119120","filename":"file5"},{"photo_id":"1402119117","filename":"file2"},{"photo_id":"1402119119","filename":"file4"},{"photo_id":"1402119116","filename":"file1"},{"photo_id":"1402119113","filename":"file0"},{"photo_id":"1402119118","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119120":["hashtag1","hashtag2"]},{"1402119117":["hashtag1","hashtag2"]},{"1402119119":["hashtag1","hashtag2"]},{"1402119113":["hashtag1","hashtag2"]},{"1402119116":["hashtag1","hashtag2"]},{"1402119118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119120, 1402119117, 1402119119, 1402119113, 1402119116, 1402119118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24348497390747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:25:22.656181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_25_9813.jpg', '/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_35_9861.jpg', '/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_44_9665.jpg', '/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_55_10673.jpg', '/home/pi/Desktop/images/02012026/07/18/image_02012026_07_19_05_9578.jpg', '/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_25_9813.jpg
/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_35_9861.jpg
/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_44_9665.jpg
/home/pi/Desktop/images/02012026/07/18/image_02012026_07_18_55_10673.jpg
/home/pi/Desktop/images/02012026/07/18/image_02012026_07_19_05_9578.jpg
/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_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":["1402119133","1402119126","1402119123","1402119125","1402119128","1402119130"],"photo_ids_order":["1402119123","1402119125","1402119126","1402119128","1402119130","1402119133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/755c4c3d3e2c5e5b6cdc5e1b167b77ef.jpg","text":"TemporaryFile(/tmp/multipartBody3762041822144780043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338783316,"filename":"image_02012026_07_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/2/bf4eb47e721b18c01663f8ff3b58ffff.jpg","text":"TemporaryFile(/tmp/multipartBody3394312184355929278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338783316,"filename":"image_02012026_07_18_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/2/3897c6c22131186868e4be6d889eec9e.jpg","text":"TemporaryFile(/tmp/multipartBody1913438068574014708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338783316,"filename":"image_02012026_07_18_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/2/d0f53abcde4467048c36c8188dfc6dc1.jpg","text":"TemporaryFile(/tmp/multipartBody8451399773438705948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338783316,"filename":"image_02012026_07_18_35_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/2/68b4e77cd8b33f424ce4a25c9e7e3fac.jpg","text":"TemporaryFile(/tmp/multipartBody7842036465974770673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338783316,"filename":"image_02012026_07_18_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/2/0d6067cafadd25263df9097a65c72643.jpg","text":"TemporaryFile(/tmp/multipartBody3772139218778532135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338783316,"filename":"image_02012026_07_19_05_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119126","file1":"1402119125","file0":"1402119123","file4":"1402119130","file5":"1402119133","file3":"1402119128"},"map_files_photo_id_array":[{"photo_id":"1402119133","filename":"file5"},{"photo_id":"1402119126","filename":"file2"},{"photo_id":"1402119130","filename":"file4"},{"photo_id":"1402119125","filename":"file1"},{"photo_id":"1402119123","filename":"file0"},{"photo_id":"1402119128","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119133":["hashtag1","hashtag2"]},{"1402119126":["hashtag1","hashtag2"]},{"1402119123":["hashtag1","hashtag2"]},{"1402119125":["hashtag1","hashtag2"]},{"1402119128":["hashtag1","hashtag2"]},{"1402119130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119133, 1402119126, 1402119123, 1402119125, 1402119128, 1402119130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03955149650574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:26:03.357348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_25_10667.jpg', '/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_35_9707.jpg', '/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_44_9694.jpg', '/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_55_10592.jpg', '/home/pi/Desktop/images/02012026/07/19/image_02012026_07_20_05_9744.jpg', '/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_14_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_25_10667.jpg
/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_35_9707.jpg
/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_44_9694.jpg
/home/pi/Desktop/images/02012026/07/19/image_02012026_07_19_55_10592.jpg
/home/pi/Desktop/images/02012026/07/19/image_02012026_07_20_05_9744.jpg
/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_14_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119135","1402119137","1402119140","1402119142","1402119136","1402119139"],"photo_ids_order":["1402119135","1402119136","1402119137","1402119139","1402119140","1402119142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/69701c0acf58dce96d79b4bd58682919.jpg","text":"TemporaryFile(/tmp/multipartBody2413487973094541237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338824005,"filename":"image_02012026_07_19_25_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/2/49c7f3f54379bd681e87b2576c1205ae.jpg","text":"TemporaryFile(/tmp/multipartBody8084443544239670469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338824005,"filename":"image_02012026_07_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/2/3e0ee28e5a8c7e5d825d8f7db5d6cad1.jpg","text":"TemporaryFile(/tmp/multipartBody8716944676725897619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338824005,"filename":"image_02012026_07_20_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/2/ff875bbd638f7ac8e4c12f717dd9439f.jpg","text":"TemporaryFile(/tmp/multipartBody3005227235734561670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338824005,"filename":"image_02012026_07_20_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/2/a794471bfbcf0b047ec7365993744e08.jpg","text":"TemporaryFile(/tmp/multipartBody854446565415869827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338824005,"filename":"image_02012026_07_19_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/2/1ac085b740e48976056832c63aa49a07.jpg","text":"TemporaryFile(/tmp/multipartBody8213128026676021641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338824005,"filename":"image_02012026_07_19_55_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119137","file1":"1402119136","file0":"1402119135","file4":"1402119140","file5":"1402119142","file3":"1402119139"},"map_files_photo_id_array":[{"photo_id":"1402119142","filename":"file5"},{"photo_id":"1402119137","filename":"file2"},{"photo_id":"1402119140","filename":"file4"},{"photo_id":"1402119136","filename":"file1"},{"photo_id":"1402119135","filename":"file0"},{"photo_id":"1402119139","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119135":["hashtag1","hashtag2"]},{"1402119137":["hashtag1","hashtag2"]},{"1402119140":["hashtag1","hashtag2"]},{"1402119142":["hashtag1","hashtag2"]},{"1402119136":["hashtag1","hashtag2"]},{"1402119139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119135, 1402119137, 1402119140, 1402119142, 1402119136, 1402119139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15315222740173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:26:42.850158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_28_2702.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_32_3624.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_35_2676.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_37_2684.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_41_3671.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_44_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_28_2702.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_32_3624.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_35_2676.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_37_2684.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_41_3671.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_44_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119189","1402119180","1402119150","1402119153","1402119194","1402119172"],"photo_ids_order":["1402119150","1402119153","1402119172","1402119180","1402119189","1402119194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cc4ae4bb8aa25e883b2548fd8884b668.jpg","text":"TemporaryFile(/tmp/multipartBody8265019555660499610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338864769,"filename":"image_05112025_17_08_41_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/2/5ec0d39f1cc7bd2d822768ae2bd4f5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2996983293934983835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338864769,"filename":"image_05112025_17_08_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/2/366e1a5802619ffccad5015aaf6cb889.jpg","text":"TemporaryFile(/tmp/multipartBody4483614469364633208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338864769,"filename":"image_05112025_17_08_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/2/09b8044ae54817c7de24214ee3aee97d.jpg","text":"TemporaryFile(/tmp/multipartBody3915777200149084355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338864769,"filename":"image_05112025_17_08_32_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/2/80a328700e3f71fe77a41955966efb9a.jpg","text":"TemporaryFile(/tmp/multipartBody213829253975277434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338864769,"filename":"image_05112025_17_08_44_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/2/9560dcbda8abf8d35ffb14920b04113e.jpg","text":"TemporaryFile(/tmp/multipartBody4934833095691127310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338864769,"filename":"image_05112025_17_08_35_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119172","file1":"1402119153","file0":"1402119150","file4":"1402119189","file5":"1402119194","file3":"1402119180"},"map_files_photo_id_array":[{"photo_id":"1402119194","filename":"file5"},{"photo_id":"1402119172","filename":"file2"},{"photo_id":"1402119189","filename":"file4"},{"photo_id":"1402119153","filename":"file1"},{"photo_id":"1402119150","filename":"file0"},{"photo_id":"1402119180","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119189":["hashtag1","hashtag2"]},{"1402119180":["hashtag1","hashtag2"]},{"1402119150":["hashtag1","hashtag2"]},{"1402119153":["hashtag1","hashtag2"]},{"1402119194":["hashtag1","hashtag2"]},{"1402119172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119189, 1402119180, 1402119150, 1402119153, 1402119194, 1402119172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.056572914123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:27:32.103642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_46_2720.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_49_2649.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_57_7532.jpg', '/home/pi/Desktop/images/05112025/17/08/image_05112025_17_09_00_2936.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_01_1544.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_08_7244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_46_2720.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_49_2649.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_08_57_7532.jpg
/home/pi/Desktop/images/05112025/17/08/image_05112025_17_09_00_2936.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_01_1544.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_08_7244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119213","1402119222","1402119218","1402119221","1402119215","1402119220"],"photo_ids_order":["1402119213","1402119215","1402119218","1402119220","1402119221","1402119222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff8c2f92b0fcf937f5c79bab81fc31cc.jpg","text":"TemporaryFile(/tmp/multipartBody4229825859559490340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338913969,"filename":"image_05112025_17_08_46_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/2/408053455c76393a4d2430124d78480b.jpg","text":"TemporaryFile(/tmp/multipartBody7520054093313951506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338913969,"filename":"image_05112025_17_09_08_7244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8e4b6fc6c2c99a4fbb713a870ab7fda.jpg","text":"TemporaryFile(/tmp/multipartBody8527839281728384156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338913969,"filename":"image_05112025_17_08_57_7532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e65a037b37dbf5e417a7902fa62a5233.jpg","text":"TemporaryFile(/tmp/multipartBody1492439055178056166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338913969,"filename":"image_05112025_17_09_01_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/2/220352b3b927fae2ad102f378f86b87c.jpg","text":"TemporaryFile(/tmp/multipartBody4396296360535635125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338913969,"filename":"image_05112025_17_08_49_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/2/69ba02e8615ad5444849026e3791d4a3.jpg","text":"TemporaryFile(/tmp/multipartBody6657267630823661679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338913969,"filename":"image_05112025_17_09_00_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119218","file1":"1402119215","file0":"1402119213","file4":"1402119221","file5":"1402119222","file3":"1402119220"},"map_files_photo_id_array":[{"photo_id":"1402119222","filename":"file5"},{"photo_id":"1402119218","filename":"file2"},{"photo_id":"1402119221","filename":"file4"},{"photo_id":"1402119215","filename":"file1"},{"photo_id":"1402119213","filename":"file0"},{"photo_id":"1402119220","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119213":["hashtag1","hashtag2"]},{"1402119222":["hashtag1","hashtag2"]},{"1402119218":["hashtag1","hashtag2"]},{"1402119221":["hashtag1","hashtag2"]},{"1402119215":["hashtag1","hashtag2"]},{"1402119220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119213, 1402119222, 1402119218, 1402119221, 1402119215, 1402119220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95319151878357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:28:12.208852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_10_1592.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_12_1844.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_13_1656.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_15_1656.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_17_1674.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_19_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_10_1592.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_12_1844.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_13_1656.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_15_1656.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_17_1674.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_19_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119232","1402119226","1402119225","1402119234","1402119228","1402119223"],"photo_ids_order":["1402119223","1402119225","1402119226","1402119228","1402119232","1402119234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f6063e500a4ed44a464eae586f231466.jpg","text":"TemporaryFile(/tmp/multipartBody7926705533795596887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338953971,"filename":"image_05112025_17_09_17_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/2/73da8dc5df9d9adaaf4f891218b69aed.jpg","text":"TemporaryFile(/tmp/multipartBody1394568401549396860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338953971,"filename":"image_05112025_17_09_13_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/2/305152deee3b5c11f29f2525d6a158a9.jpg","text":"TemporaryFile(/tmp/multipartBody3767603871741870496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338953971,"filename":"image_05112025_17_09_12_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/2/7f38dd19f705a052ac4dfb9930c6927b.jpg","text":"TemporaryFile(/tmp/multipartBody5011585205461030039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338953971,"filename":"image_05112025_17_09_19_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/2/4d87dfe4fc0eddc6907863f2ab568327.jpg","text":"TemporaryFile(/tmp/multipartBody5594109985791978828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338953971,"filename":"image_05112025_17_09_15_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/2/cac0cb45447e7a38d79f695bf140eb5e.jpg","text":"TemporaryFile(/tmp/multipartBody3035271477590540712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767338953971,"filename":"image_05112025_17_09_10_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119226","file1":"1402119225","file0":"1402119223","file4":"1402119232","file5":"1402119234","file3":"1402119228"},"map_files_photo_id_array":[{"photo_id":"1402119234","filename":"file5"},{"photo_id":"1402119226","filename":"file2"},{"photo_id":"1402119232","filename":"file4"},{"photo_id":"1402119225","filename":"file1"},{"photo_id":"1402119223","filename":"file0"},{"photo_id":"1402119228","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119232":["hashtag1","hashtag2"]},{"1402119226":["hashtag1","hashtag2"]},{"1402119225":["hashtag1","hashtag2"]},{"1402119234":["hashtag1","hashtag2"]},{"1402119228":["hashtag1","hashtag2"]},{"1402119223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119232, 1402119226, 1402119225, 1402119234, 1402119228, 1402119223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.278531312942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:29:03.164389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_25_10901.jpg', '/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_35_9835.jpg', '/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_45_9570.jpg', '/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_54_9676.jpg', '/home/pi/Desktop/images/02012026/07/20/image_02012026_07_21_05_10718.jpg', '/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_25_10901.jpg
/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_35_9835.jpg
/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_45_9570.jpg
/home/pi/Desktop/images/02012026/07/20/image_02012026_07_20_54_9676.jpg
/home/pi/Desktop/images/02012026/07/20/image_02012026_07_21_05_10718.jpg
/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_15_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":["1402119243","1402119240","1402119296","1402119242","1402119245","1402119259"],"photo_ids_order":["1402119240","1402119242","1402119243","1402119245","1402119259","1402119296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/920f82fef1b12f7b358a7f1705cb8bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1908876438909853231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339003905,"filename":"image_02012026_07_20_45_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/2/e43d0a5d27ea9996a8cb23871fde35cb.jpg","text":"TemporaryFile(/tmp/multipartBody2282896518283610099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339003905,"filename":"image_02012026_07_20_25_10901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5530cb479ff97c145da2d0ff8f351fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5423565859280109174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339003905,"filename":"image_02012026_07_21_15_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/2/774d854ac0e6ccdc28ded7bcbb3b8de0.jpg","text":"TemporaryFile(/tmp/multipartBody165077964178361019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339003905,"filename":"image_02012026_07_20_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/2/39b97da72adaaefd03c5bb939c83ea42.jpg","text":"TemporaryFile(/tmp/multipartBody6643053530003720945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339003905,"filename":"image_02012026_07_20_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/2/19b193b91ddf2c5e17a986e90befa9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8787205791055958593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339003905,"filename":"image_02012026_07_21_05_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119243","file1":"1402119242","file0":"1402119240","file4":"1402119259","file5":"1402119296","file3":"1402119245"},"map_files_photo_id_array":[{"photo_id":"1402119296","filename":"file5"},{"photo_id":"1402119243","filename":"file2"},{"photo_id":"1402119259","filename":"file4"},{"photo_id":"1402119242","filename":"file1"},{"photo_id":"1402119240","filename":"file0"},{"photo_id":"1402119245","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119243":["hashtag1","hashtag2"]},{"1402119240":["hashtag1","hashtag2"]},{"1402119296":["hashtag1","hashtag2"]},{"1402119242":["hashtag1","hashtag2"]},{"1402119245":["hashtag1","hashtag2"]},{"1402119259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119243, 1402119240, 1402119296, 1402119242, 1402119245, 1402119259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11612391471863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:29:42.562347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_22_2710.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_26_3784.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_29_2605.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_31_2703.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_35_3673.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_38_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_22_2710.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_26_3784.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_29_2605.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_31_2703.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_35_3673.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_38_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":["1402119393","1402119378","1402119386","1402119395","1402119394","1402119367"],"photo_ids_order":["1402119367","1402119378","1402119386","1402119393","1402119394","1402119395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/59d6366a9802df9b4237e724bc409fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5212127381125240585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339044442,"filename":"image_05112025_17_09_31_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/2/6a9bf11d11e09f43f8a22cff004189d2.jpg","text":"TemporaryFile(/tmp/multipartBody2353311593157570378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339044442,"filename":"image_05112025_17_09_26_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/2/4ba8f72551ce3627b17f852591bb8828.jpg","text":"TemporaryFile(/tmp/multipartBody1583260725298263508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339044442,"filename":"image_05112025_17_09_29_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/2/b9a0ed91a211e01b03cc5731e817e984.jpg","text":"TemporaryFile(/tmp/multipartBody8685546094648924012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339044442,"filename":"image_05112025_17_09_38_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/2/912faf00e4bb5b3e69fd30d3efc09dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2169021033915118392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339044442,"filename":"image_05112025_17_09_35_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/2/8555133bb84ee1a97cc54f1ebada8021.jpg","text":"TemporaryFile(/tmp/multipartBody2505514467367055398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339044442,"filename":"image_05112025_17_09_22_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119386","file1":"1402119378","file0":"1402119367","file4":"1402119394","file5":"1402119395","file3":"1402119393"},"map_files_photo_id_array":[{"photo_id":"1402119395","filename":"file5"},{"photo_id":"1402119386","filename":"file2"},{"photo_id":"1402119394","filename":"file4"},{"photo_id":"1402119378","filename":"file1"},{"photo_id":"1402119367","filename":"file0"},{"photo_id":"1402119393","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119393":["hashtag1","hashtag2"]},{"1402119378":["hashtag1","hashtag2"]},{"1402119386":["hashtag1","hashtag2"]},{"1402119395":["hashtag1","hashtag2"]},{"1402119394":["hashtag1","hashtag2"]},{"1402119367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119393, 1402119378, 1402119386, 1402119395, 1402119394, 1402119367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.855748653411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:30:22.732809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_24_9745.jpg', '/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_35_10631.jpg', '/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_45_9691.jpg', '/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_54_9635.jpg', '/home/pi/Desktop/images/02012026/07/21/image_02012026_07_22_05_10614.jpg', '/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_15_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_24_9745.jpg
/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_35_10631.jpg
/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_45_9691.jpg
/home/pi/Desktop/images/02012026/07/21/image_02012026_07_21_54_9635.jpg
/home/pi/Desktop/images/02012026/07/21/image_02012026_07_22_05_10614.jpg
/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_15_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119399","1402119450","1402119416","1402119401","1402119439","1402119400"],"photo_ids_order":["1402119399","1402119400","1402119401","1402119416","1402119439","1402119450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e4005becee23f864512202d2078aca5c.jpg","text":"TemporaryFile(/tmp/multipartBody3035297735062108339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339083386,"filename":"image_02012026_07_21_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/2/cad98b33982785e802795733c27ce1ec.jpg","text":"TemporaryFile(/tmp/multipartBody652058700855419037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339083386,"filename":"image_02012026_07_22_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/2/860c38e3124f17d08b771428807c39e2.jpg","text":"TemporaryFile(/tmp/multipartBody4903930585088495180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339083386,"filename":"image_02012026_07_21_54_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/2/6001f3bc470afe4802b2e13d6093f741.jpg","text":"TemporaryFile(/tmp/multipartBody8829871462989324162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339083386,"filename":"image_02012026_07_21_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/2/0c8a86476d6ba30d8bdec4f5e610429f.jpg","text":"TemporaryFile(/tmp/multipartBody247634193522578536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339083386,"filename":"image_02012026_07_22_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/2/9b061504aee7047c9e5e9276e2cdb9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2852129168882300787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339083386,"filename":"image_02012026_07_21_35_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119401","file1":"1402119400","file0":"1402119399","file4":"1402119439","file5":"1402119450","file3":"1402119416"},"map_files_photo_id_array":[{"photo_id":"1402119450","filename":"file5"},{"photo_id":"1402119401","filename":"file2"},{"photo_id":"1402119439","filename":"file4"},{"photo_id":"1402119400","filename":"file1"},{"photo_id":"1402119399","filename":"file0"},{"photo_id":"1402119416","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119399":["hashtag1","hashtag2"]},{"1402119450":["hashtag1","hashtag2"]},{"1402119416":["hashtag1","hashtag2"]},{"1402119401":["hashtag1","hashtag2"]},{"1402119439":["hashtag1","hashtag2"]},{"1402119400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119399, 1402119450, 1402119416, 1402119401, 1402119439, 1402119400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66743493080139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:31:02.664157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_24_9652.jpg', '/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_35_10757.jpg', '/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_45_9632.jpg', '/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_54_9587.jpg', '/home/pi/Desktop/images/02012026/07/22/image_02012026_07_23_04_9990.jpg', '/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_15_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_24_9652.jpg
/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_35_10757.jpg
/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_45_9632.jpg
/home/pi/Desktop/images/02012026/07/22/image_02012026_07_22_54_9587.jpg
/home/pi/Desktop/images/02012026/07/22/image_02012026_07_23_04_9990.jpg
/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_15_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119502","1402119492","1402119497","1402119476","1402119500","1402119499"],"photo_ids_order":["1402119476","1402119492","1402119497","1402119499","1402119500","1402119502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ffca4d0c2b1d7b7e51767319228d53b6.jpg","text":"TemporaryFile(/tmp/multipartBody8629085431193210588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339123403,"filename":"image_02012026_07_23_15_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/2/35297683089899141b4e620ec5b63d20.jpg","text":"TemporaryFile(/tmp/multipartBody5035204460250484562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339123403,"filename":"image_02012026_07_22_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/2/eb2d41d491705005335e1ad127f3a43d.jpg","text":"TemporaryFile(/tmp/multipartBody3549912665052022577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339123403,"filename":"image_02012026_07_22_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/2/db10bae69ace14758415fc8a811f2422.jpg","text":"TemporaryFile(/tmp/multipartBody6322616269075179393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339123403,"filename":"image_02012026_07_22_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/2/578bbbb819cd8bee4b72e4f6f4b0db53.jpg","text":"TemporaryFile(/tmp/multipartBody236727887535166806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339123403,"filename":"image_02012026_07_23_04_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5f2b46704f2e2e0c2464452995db6b4.jpg","text":"TemporaryFile(/tmp/multipartBody630626664981690509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339123403,"filename":"image_02012026_07_22_54_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119497","file1":"1402119492","file0":"1402119476","file4":"1402119500","file5":"1402119502","file3":"1402119499"},"map_files_photo_id_array":[{"photo_id":"1402119502","filename":"file5"},{"photo_id":"1402119497","filename":"file2"},{"photo_id":"1402119500","filename":"file4"},{"photo_id":"1402119492","filename":"file1"},{"photo_id":"1402119476","filename":"file0"},{"photo_id":"1402119499","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119502":["hashtag1","hashtag2"]},{"1402119492":["hashtag1","hashtag2"]},{"1402119497":["hashtag1","hashtag2"]},{"1402119476":["hashtag1","hashtag2"]},{"1402119500":["hashtag1","hashtag2"]},{"1402119499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119502, 1402119492, 1402119497, 1402119476, 1402119500, 1402119499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.174161434173584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:31:41.977822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_40_2772.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_43_2627.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_47_3683.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_49_2554.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_52_2761.jpg', '/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_55_3195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_40_2772.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_43_2627.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_47_3683.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_49_2554.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_52_2761.jpg
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_55_3195.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119510","1402119513","1402119515","1402119512","1402119511","1402119508"],"photo_ids_order":["1402119508","1402119510","1402119511","1402119512","1402119513","1402119515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6b66a5e3ec2f3a7639c66e70f51b5885.jpg","text":"TemporaryFile(/tmp/multipartBody3630801935151255000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339163864,"filename":"image_05112025_17_09_43_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/2/532533706188d35dd2f97bd5476174fe.jpg","text":"TemporaryFile(/tmp/multipartBody1692251678970433332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339163864,"filename":"image_05112025_17_09_52_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/2/2c1f776854ebba48dae40ef10ac66643.jpg","text":"TemporaryFile(/tmp/multipartBody6938445637346300629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339163864,"filename":"image_05112025_17_09_55_3195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3a7b4a72f4146c459758b599b353f54.jpg","text":"TemporaryFile(/tmp/multipartBody1791678356594208071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339163864,"filename":"image_05112025_17_09_49_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/2/3519f7f170df0266d7ce08b52f70a23f.jpg","text":"TemporaryFile(/tmp/multipartBody7981500141031473946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339163864,"filename":"image_05112025_17_09_47_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/2/c847be10b0606352093ac3ad81c4dc19.jpg","text":"TemporaryFile(/tmp/multipartBody3394353133470126065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339163864,"filename":"image_05112025_17_09_40_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119511","file1":"1402119510","file0":"1402119508","file4":"1402119513","file5":"1402119515","file3":"1402119512"},"map_files_photo_id_array":[{"photo_id":"1402119515","filename":"file5"},{"photo_id":"1402119511","filename":"file2"},{"photo_id":"1402119513","filename":"file4"},{"photo_id":"1402119510","filename":"file1"},{"photo_id":"1402119508","filename":"file0"},{"photo_id":"1402119512","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119510":["hashtag1","hashtag2"]},{"1402119513":["hashtag1","hashtag2"]},{"1402119515":["hashtag1","hashtag2"]},{"1402119512":["hashtag1","hashtag2"]},{"1402119511":["hashtag1","hashtag2"]},{"1402119508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119510, 1402119513, 1402119515, 1402119512, 1402119511, 1402119508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63318967819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:32:22.186698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_25_9982.jpg', '/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_44_9665.jpg', '/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_55_10816.jpg', '/home/pi/Desktop/images/02012026/07/23/image_02012026_07_24_05_9649.jpg', '/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_25_9718.jpg', '/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_34_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_25_9982.jpg
/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_44_9665.jpg
/home/pi/Desktop/images/02012026/07/23/image_02012026_07_23_55_10816.jpg
/home/pi/Desktop/images/02012026/07/23/image_02012026_07_24_05_9649.jpg
/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_25_9718.jpg
/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_34_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119522","1402119525","1402119524","1402119526","1402119529","1402119520"],"photo_ids_order":["1402119520","1402119522","1402119524","1402119525","1402119526","1402119529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/44e7d2fa938f6b8a4922e542a8696e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3163958523897175835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339202897,"filename":"image_02012026_07_23_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/2/a548fed3a8a9450e87187ded836b30f5.jpg","text":"TemporaryFile(/tmp/multipartBody1838391373851807875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339202897,"filename":"image_02012026_07_24_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/2/d0f4ef09133d9086b8cfb5328b25bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody2842762051122448750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339202897,"filename":"image_02012026_07_23_55_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8c362e37604bb7f26df4a0cb669d2b76.jpg","text":"TemporaryFile(/tmp/multipartBody532867157376804479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339202897,"filename":"image_02012026_07_24_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/2/18ed8b5bcea341a8dbe68de90630c974.jpg","text":"TemporaryFile(/tmp/multipartBody6683085530121893208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339202897,"filename":"image_02012026_07_24_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/2/162f416fc06ae35d608bf677a65acea8.jpg","text":"TemporaryFile(/tmp/multipartBody7409532561983375841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339202897,"filename":"image_02012026_07_23_25_9982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119524","file1":"1402119522","file0":"1402119520","file4":"1402119526","file5":"1402119529","file3":"1402119525"},"map_files_photo_id_array":[{"photo_id":"1402119529","filename":"file5"},{"photo_id":"1402119524","filename":"file2"},{"photo_id":"1402119526","filename":"file4"},{"photo_id":"1402119522","filename":"file1"},{"photo_id":"1402119520","filename":"file0"},{"photo_id":"1402119525","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119522":["hashtag1","hashtag2"]},{"1402119525":["hashtag1","hashtag2"]},{"1402119524":["hashtag1","hashtag2"]},{"1402119526":["hashtag1","hashtag2"]},{"1402119529":["hashtag1","hashtag2"]},{"1402119520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119522, 1402119525, 1402119524, 1402119526, 1402119529, 1402119520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80287408828735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:33:02.867581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_45_10661.jpg', '/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_55_9609.jpg', '/home/pi/Desktop/images/02012026/07/24/image_02012026_07_25_05_9935.jpg', '/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_15_10723.jpg', '/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_25_9663.jpg', '/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_35_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_45_10661.jpg
/home/pi/Desktop/images/02012026/07/24/image_02012026_07_24_55_9609.jpg
/home/pi/Desktop/images/02012026/07/24/image_02012026_07_25_05_9935.jpg
/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_15_10723.jpg
/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_25_9663.jpg
/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_35_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":["1402119540","1402119537","1402119534","1402119536","1402119538","1402119535"],"photo_ids_order":["1402119534","1402119535","1402119536","1402119537","1402119538","1402119540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1863afbcf1a21a24c4bc74e67afb9448.jpg","text":"TemporaryFile(/tmp/multipartBody6964058239669869469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339243584,"filename":"image_02012026_07_25_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/2/0199194852048eca17edf762a90aa795.jpg","text":"TemporaryFile(/tmp/multipartBody2810212619325651805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339243584,"filename":"image_02012026_07_25_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/2/5120833f9baed6e0fce61ef6a8709493.jpg","text":"TemporaryFile(/tmp/multipartBody6871346948751610851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339243584,"filename":"image_02012026_07_24_45_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/2/558186e128d4049182340c40433216e1.jpg","text":"TemporaryFile(/tmp/multipartBody3970293097978127864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339243584,"filename":"image_02012026_07_25_05_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/2/491db8326e218afca408b64cc7760026.jpg","text":"TemporaryFile(/tmp/multipartBody3116913097115188284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339243584,"filename":"image_02012026_07_25_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/2/54986b1970e7879cd390bbdc2265e149.jpg","text":"TemporaryFile(/tmp/multipartBody4520713608073915019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339243584,"filename":"image_02012026_07_24_55_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119536","file1":"1402119535","file0":"1402119534","file4":"1402119538","file5":"1402119540","file3":"1402119537"},"map_files_photo_id_array":[{"photo_id":"1402119540","filename":"file5"},{"photo_id":"1402119536","filename":"file2"},{"photo_id":"1402119538","filename":"file4"},{"photo_id":"1402119535","filename":"file1"},{"photo_id":"1402119534","filename":"file0"},{"photo_id":"1402119537","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119540":["hashtag1","hashtag2"]},{"1402119537":["hashtag1","hashtag2"]},{"1402119534":["hashtag1","hashtag2"]},{"1402119536":["hashtag1","hashtag2"]},{"1402119538":["hashtag1","hashtag2"]},{"1402119535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119540, 1402119537, 1402119534, 1402119536, 1402119538, 1402119535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93006420135498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:33:42.396588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_59_3633.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_08_3011.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_11_3662.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_14_2653.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_17_2675.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_20_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/09/image_05112025_17_09_59_3633.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_08_3011.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_11_3662.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_14_2653.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_17_2675.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_20_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119549","1402119552","1402119546","1402119551","1402119548","1402119550"],"photo_ids_order":["1402119546","1402119548","1402119549","1402119550","1402119551","1402119552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5659f9301995df4535915734105cc125.jpg","text":"TemporaryFile(/tmp/multipartBody1608848843261912380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339284286,"filename":"image_05112025_17_10_11_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/2/a90a20d9ab53123d86fbf5b8e4ee3e2e.jpg","text":"TemporaryFile(/tmp/multipartBody21385793946765919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339284286,"filename":"image_05112025_17_10_20_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/2/293721b44a550203b170d4c4b2ca78d8.jpg","text":"TemporaryFile(/tmp/multipartBody8722819775761353037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339284286,"filename":"image_05112025_17_09_59_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/2/975112be90281388de34196190a555d9.jpg","text":"TemporaryFile(/tmp/multipartBody7130343701616282002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339284286,"filename":"image_05112025_17_10_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/2/67d56e710564450cb768aa4388766298.jpg","text":"TemporaryFile(/tmp/multipartBody4160593999207858743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339284286,"filename":"image_05112025_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/2/764536a58a111430e3dafc5c06490da4.jpg","text":"TemporaryFile(/tmp/multipartBody7573837298440076808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339284286,"filename":"image_05112025_17_10_14_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119549","file1":"1402119548","file0":"1402119546","file4":"1402119551","file5":"1402119552","file3":"1402119550"},"map_files_photo_id_array":[{"photo_id":"1402119552","filename":"file5"},{"photo_id":"1402119549","filename":"file2"},{"photo_id":"1402119551","filename":"file4"},{"photo_id":"1402119548","filename":"file1"},{"photo_id":"1402119546","filename":"file0"},{"photo_id":"1402119550","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119549":["hashtag1","hashtag2"]},{"1402119552":["hashtag1","hashtag2"]},{"1402119546":["hashtag1","hashtag2"]},{"1402119551":["hashtag1","hashtag2"]},{"1402119548":["hashtag1","hashtag2"]},{"1402119550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119549, 1402119552, 1402119546, 1402119551, 1402119548, 1402119550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17187213897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:34:22.567174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_44_9679.jpg', '/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_55_10721.jpg', '/home/pi/Desktop/images/02012026/07/25/image_02012026_07_26_05_9681.jpg', '/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_14_9609.jpg', '/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_24_10046.jpg', '/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_35_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_44_9679.jpg
/home/pi/Desktop/images/02012026/07/25/image_02012026_07_25_55_10721.jpg
/home/pi/Desktop/images/02012026/07/25/image_02012026_07_26_05_9681.jpg
/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_14_9609.jpg
/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_24_10046.jpg
/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_35_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119563","1402119560","1402119554","1402119557","1402119565","1402119568"],"photo_ids_order":["1402119554","1402119557","1402119560","1402119563","1402119565","1402119568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ab3161fc05e0c195bf72401b87e5db04.jpg","text":"TemporaryFile(/tmp/multipartBody6448619906988161898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339323227,"filename":"image_02012026_07_26_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/2/3b641a8d2e3719a9ed109e40b0827fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4420087065508109484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339323227,"filename":"image_02012026_07_26_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/2/e549459e7019a912feeaa1574a920009.jpg","text":"TemporaryFile(/tmp/multipartBody7633595594088134883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339323227,"filename":"image_02012026_07_25_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5e7067b89de5ccada1b456c8f9890e30.jpg","text":"TemporaryFile(/tmp/multipartBody7161373789431388889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339323227,"filename":"image_02012026_07_25_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/2/545431547e491dfd9fdde1769892a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5344514135081724691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339323227,"filename":"image_02012026_07_26_24_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/07cef70faa5746e94d23084a361a7003.jpg","text":"TemporaryFile(/tmp/multipartBody1751601937376861665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339323227,"filename":"image_02012026_07_26_35_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119560","file1":"1402119557","file0":"1402119554","file4":"1402119565","file5":"1402119568","file3":"1402119563"},"map_files_photo_id_array":[{"photo_id":"1402119568","filename":"file5"},{"photo_id":"1402119560","filename":"file2"},{"photo_id":"1402119565","filename":"file4"},{"photo_id":"1402119557","filename":"file1"},{"photo_id":"1402119554","filename":"file0"},{"photo_id":"1402119563","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119563":["hashtag1","hashtag2"]},{"1402119560":["hashtag1","hashtag2"]},{"1402119554":["hashtag1","hashtag2"]},{"1402119557":["hashtag1","hashtag2"]},{"1402119565":["hashtag1","hashtag2"]},{"1402119568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119563, 1402119560, 1402119554, 1402119557, 1402119565, 1402119568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20725893974304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:35:03.349902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_45_9780.jpg', '/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_55_9711.jpg', '/home/pi/Desktop/images/02012026/07/26/image_02012026_07_27_04_9778.jpg', '/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_15_10755.jpg', '/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_25_9827.jpg', '/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_35_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_45_9780.jpg
/home/pi/Desktop/images/02012026/07/26/image_02012026_07_26_55_9711.jpg
/home/pi/Desktop/images/02012026/07/26/image_02012026_07_27_04_9778.jpg
/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_15_10755.jpg
/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_25_9827.jpg
/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_35_9884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119576","1402119570","1402119587","1402119572","1402119589","1402119574"],"photo_ids_order":["1402119570","1402119572","1402119574","1402119576","1402119587","1402119589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c2b48163b782dbfded82e5ccaa28087.jpg","text":"TemporaryFile(/tmp/multipartBody2141910260523511657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339364121,"filename":"image_02012026_07_27_15_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/2/6eb9f01ebd9bcff7459af4ba7d600a3d.jpg","text":"TemporaryFile(/tmp/multipartBody163956878365235437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339364121,"filename":"image_02012026_07_26_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/2/0101ea576147a67311c22f0e633d0531.jpg","text":"TemporaryFile(/tmp/multipartBody963390545081332540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339364121,"filename":"image_02012026_07_27_25_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/2/ebfe094ea8daa631ea5d359d5292c092.jpg","text":"TemporaryFile(/tmp/multipartBody4437920480631388812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339364121,"filename":"image_02012026_07_26_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/2/8bae6bdcad9daaf89fe55b2611a848e0.jpg","text":"TemporaryFile(/tmp/multipartBody4081844517456653329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339364121,"filename":"image_02012026_07_27_35_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/2/e93eb7731531fcc822c6910973268034.jpg","text":"TemporaryFile(/tmp/multipartBody6093635734095673783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339364121,"filename":"image_02012026_07_27_04_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119574","file1":"1402119572","file0":"1402119570","file4":"1402119587","file5":"1402119589","file3":"1402119576"},"map_files_photo_id_array":[{"photo_id":"1402119589","filename":"file5"},{"photo_id":"1402119574","filename":"file2"},{"photo_id":"1402119587","filename":"file4"},{"photo_id":"1402119572","filename":"file1"},{"photo_id":"1402119570","filename":"file0"},{"photo_id":"1402119576","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119576":["hashtag1","hashtag2"]},{"1402119570":["hashtag1","hashtag2"]},{"1402119587":["hashtag1","hashtag2"]},{"1402119572":["hashtag1","hashtag2"]},{"1402119589":["hashtag1","hashtag2"]},{"1402119574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119576, 1402119570, 1402119587, 1402119572, 1402119589, 1402119574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9185688495636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:35:42.857623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_23_2682.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_26_3585.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_29_2956.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_32_2728.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_35_2523.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_37_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_23_2682.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_26_3585.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_29_2956.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_32_2728.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_35_2523.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_37_2834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119601","1402119603","1402119596","1402119599","1402119605","1402119607"],"photo_ids_order":["1402119596","1402119599","1402119601","1402119603","1402119605","1402119607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3f55a192169efffd3065b15e813dccd0.jpg","text":"TemporaryFile(/tmp/multipartBody6670515077823528067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339404722,"filename":"image_05112025_17_10_29_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/2/c107405255906b61fcdc94cf8d15e147.jpg","text":"TemporaryFile(/tmp/multipartBody4668637128191235317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339404722,"filename":"image_05112025_17_10_32_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/2/582e053e7a3d721889cc61df21d7aed8.jpg","text":"TemporaryFile(/tmp/multipartBody7845693325209669394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339404722,"filename":"image_05112025_17_10_23_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/2/b9b25c517c74e7ad4269e64d57356893.jpg","text":"TemporaryFile(/tmp/multipartBody6209222701651807741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339404722,"filename":"image_05112025_17_10_26_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/2/767a9d7f9da07819e4460b82b7d6cb46.jpg","text":"TemporaryFile(/tmp/multipartBody8203210212245744580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339404722,"filename":"image_05112025_17_10_35_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/2/d42dcd2a5202949e440d5ac1b6895e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7447261262731293182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339404722,"filename":"image_05112025_17_10_37_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119601","file1":"1402119599","file0":"1402119596","file4":"1402119605","file5":"1402119607","file3":"1402119603"},"map_files_photo_id_array":[{"photo_id":"1402119607","filename":"file5"},{"photo_id":"1402119601","filename":"file2"},{"photo_id":"1402119605","filename":"file4"},{"photo_id":"1402119599","filename":"file1"},{"photo_id":"1402119596","filename":"file0"},{"photo_id":"1402119603","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119601":["hashtag1","hashtag2"]},{"1402119603":["hashtag1","hashtag2"]},{"1402119596":["hashtag1","hashtag2"]},{"1402119599":["hashtag1","hashtag2"]},{"1402119605":["hashtag1","hashtag2"]},{"1402119607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119601, 1402119603, 1402119596, 1402119599, 1402119605, 1402119607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.793421030044556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:36:32.019780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_41_3834.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_44_2878.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_47_2535.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_49_2716.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_53_3790.jpg', '/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_56_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_41_3834.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_44_2878.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_47_2535.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_49_2716.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_53_3790.jpg
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_56_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":["1402119621","1402119618","1402119615","1402119620","1402119611","1402119613"],"photo_ids_order":["1402119611","1402119613","1402119615","1402119618","1402119620","1402119621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d3894e5bbd64b6fc49cd09244de324d.jpg","text":"TemporaryFile(/tmp/multipartBody8327479555959989039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339453869,"filename":"image_05112025_17_10_56_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/2/f80406a6e3e66758a99114474473fed9.jpg","text":"TemporaryFile(/tmp/multipartBody8807183786406493152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339453869,"filename":"image_05112025_17_10_49_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/2/53d1830bdb88aa81b8826de9c5fcae8b.jpg","text":"TemporaryFile(/tmp/multipartBody3519445909065652858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339453869,"filename":"image_05112025_17_10_47_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/2/2b413c274bbf8f71484aa80d4a007429.jpg","text":"TemporaryFile(/tmp/multipartBody1584754113679094153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339453869,"filename":"image_05112025_17_10_53_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/2/dfdbe77029170d85ec19d06b6eba8f70.jpg","text":"TemporaryFile(/tmp/multipartBody6762130888392712697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339453869,"filename":"image_05112025_17_10_41_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d738622969e9ad25296aed3effa8e4a8.jpg","text":"TemporaryFile(/tmp/multipartBody6437381967101738355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339453869,"filename":"image_05112025_17_10_44_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119615","file1":"1402119613","file0":"1402119611","file4":"1402119620","file5":"1402119621","file3":"1402119618"},"map_files_photo_id_array":[{"photo_id":"1402119621","filename":"file5"},{"photo_id":"1402119615","filename":"file2"},{"photo_id":"1402119620","filename":"file4"},{"photo_id":"1402119613","filename":"file1"},{"photo_id":"1402119611","filename":"file0"},{"photo_id":"1402119618","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119621":["hashtag1","hashtag2"]},{"1402119618":["hashtag1","hashtag2"]},{"1402119615":["hashtag1","hashtag2"]},{"1402119620":["hashtag1","hashtag2"]},{"1402119611":["hashtag1","hashtag2"]},{"1402119613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119621, 1402119618, 1402119615, 1402119620, 1402119611, 1402119613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66282510757446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:37:12.083774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_59_3022.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_10_10649.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_11_1663.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_13_1760.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_15_1690.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_19_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/10/image_05112025_17_10_59_3022.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_10_10649.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_11_1663.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_13_1760.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_15_1690.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_19_1693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119622","1402119627","1402119629","1402119623","1402119631","1402119625"],"photo_ids_order":["1402119622","1402119623","1402119625","1402119627","1402119629","1402119631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/985e34eac80f03a8443657cbcad816ec.jpg","text":"TemporaryFile(/tmp/multipartBody4407562918789802467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339493971,"filename":"image_05112025_17_10_59_3022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d23637fa4d3494665d7f4aefbf65143.jpg","text":"TemporaryFile(/tmp/multipartBody5638260676783915739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339493971,"filename":"image_05112025_17_11_13_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/2/1740625ec4203fa39a9fd3baf4911427.jpg","text":"TemporaryFile(/tmp/multipartBody5274611997896031417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339493971,"filename":"image_05112025_17_11_15_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/2/b62f78157ffa887c64babcd2afba39a5.jpg","text":"TemporaryFile(/tmp/multipartBody4673893328940978876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339493971,"filename":"image_05112025_17_11_10_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/2/9e4325ad613b39237d9f8eaa4a68962e.jpg","text":"TemporaryFile(/tmp/multipartBody434119956305182301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339493971,"filename":"image_05112025_17_11_19_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/2/88d03622908304a7fb8cf391fe8b7e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7514865025011851411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339493971,"filename":"image_05112025_17_11_11_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119625","file1":"1402119623","file0":"1402119622","file4":"1402119629","file5":"1402119631","file3":"1402119627"},"map_files_photo_id_array":[{"photo_id":"1402119631","filename":"file5"},{"photo_id":"1402119625","filename":"file2"},{"photo_id":"1402119629","filename":"file4"},{"photo_id":"1402119623","filename":"file1"},{"photo_id":"1402119622","filename":"file0"},{"photo_id":"1402119627","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119622":["hashtag1","hashtag2"]},{"1402119627":["hashtag1","hashtag2"]},{"1402119629":["hashtag1","hashtag2"]},{"1402119623":["hashtag1","hashtag2"]},{"1402119631":["hashtag1","hashtag2"]},{"1402119625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119622, 1402119627, 1402119629, 1402119623, 1402119631, 1402119625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69408106803894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:38:02.892855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 08:38:22.493214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_44_9680.jpg', '/home/pi/Desktop/images/02012026/07/27/image_02012026_07_28_05_9663.jpg', '/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_15_9625.jpg', '/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_25_10667.jpg', '/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_35_9522.jpg', '/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/27/image_02012026_07_27_44_9680.jpg
/home/pi/Desktop/images/02012026/07/27/image_02012026_07_28_05_9663.jpg
/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_15_9625.jpg
/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_25_10667.jpg
/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_35_9522.jpg
/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_44_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":["1402119698","1402119668","1402119713","1402119710","1402119704","1402119706"],"photo_ids_order":["1402119668","1402119698","1402119704","1402119706","1402119710","1402119713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8993b7cefca694da9fa7f44ec7256bf7.jpg","text":"TemporaryFile(/tmp/multipartBody1397160650041519253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339563550,"filename":"image_02012026_07_28_05_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/2/cf4f97dd9495be3e1f841d550080a183.jpg","text":"TemporaryFile(/tmp/multipartBody4725640497887584104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339563550,"filename":"image_02012026_07_27_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/2/e4b5a0332baf2fd20af54dc78d8e6ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6151823776836072300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339563550,"filename":"image_02012026_07_28_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/2/e6bd4474a8a12b508cd386dd419cc7ae.jpg","text":"TemporaryFile(/tmp/multipartBody4128032003471727833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339563550,"filename":"image_02012026_07_28_35_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/2/96974dec850266eacfca3e02d950a557.jpg","text":"TemporaryFile(/tmp/multipartBody7625799457876258007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339563550,"filename":"image_02012026_07_28_15_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/2/6410a97ff1c363897ce23b799670ca41.jpg","text":"TemporaryFile(/tmp/multipartBody8612789053909378484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339563550,"filename":"image_02012026_07_28_25_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119704","file1":"1402119698","file0":"1402119668","file4":"1402119710","file5":"1402119713","file3":"1402119706"},"map_files_photo_id_array":[{"photo_id":"1402119713","filename":"file5"},{"photo_id":"1402119704","filename":"file2"},{"photo_id":"1402119710","filename":"file4"},{"photo_id":"1402119698","filename":"file1"},{"photo_id":"1402119668","filename":"file0"},{"photo_id":"1402119706","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119698":["hashtag1","hashtag2"]},{"1402119668":["hashtag1","hashtag2"]},{"1402119713":["hashtag1","hashtag2"]},{"1402119710":["hashtag1","hashtag2"]},{"1402119704":["hashtag1","hashtag2"]},{"1402119706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119698, 1402119668, 1402119713, 1402119710, 1402119704, 1402119706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.601632595062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:39:12.514305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_21_1611.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_23_2176.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_26_2773.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_37_10762.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_38_1860.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_40_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_21_1611.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_23_2176.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_26_2773.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_37_10762.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_38_1860.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_40_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119741","1402119744","1402119738","1402119740","1402119734","1402119736"],"photo_ids_order":["1402119734","1402119736","1402119738","1402119740","1402119741","1402119744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/62127368465b3652ccedc264e96c0452.jpg","text":"TemporaryFile(/tmp/multipartBody3615183326350142029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339614461,"filename":"image_05112025_17_11_38_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/2/118ada201594e94614e314a18aa31413.jpg","text":"TemporaryFile(/tmp/multipartBody8176868038298840046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339614461,"filename":"image_05112025_17_11_40_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/2/dfc0997e0d80b49840d5e94e2b28b2aa.jpg","text":"TemporaryFile(/tmp/multipartBody5442642920246658902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339614461,"filename":"image_05112025_17_11_26_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/2/c204f557294cfa524d6a2cdd935e4c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3512138085323087515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339614461,"filename":"image_05112025_17_11_37_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/2/39a91b7dc7e80fc2a8966ec6b9698ebc.jpg","text":"TemporaryFile(/tmp/multipartBody3224344683113523147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339614461,"filename":"image_05112025_17_11_21_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/2/ea8acaf447b0a87236b8cd20b109b15c.jpg","text":"TemporaryFile(/tmp/multipartBody3247108158497716752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339614461,"filename":"image_05112025_17_11_23_2176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119738","file1":"1402119736","file0":"1402119734","file4":"1402119741","file5":"1402119744","file3":"1402119740"},"map_files_photo_id_array":[{"photo_id":"1402119744","filename":"file5"},{"photo_id":"1402119738","filename":"file2"},{"photo_id":"1402119741","filename":"file4"},{"photo_id":"1402119736","filename":"file1"},{"photo_id":"1402119734","filename":"file0"},{"photo_id":"1402119740","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119741":["hashtag1","hashtag2"]},{"1402119744":["hashtag1","hashtag2"]},{"1402119738":["hashtag1","hashtag2"]},{"1402119740":["hashtag1","hashtag2"]},{"1402119734":["hashtag1","hashtag2"]},{"1402119736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119741, 1402119744, 1402119738, 1402119740, 1402119734, 1402119736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38895130157471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:40:02.301167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_55_10702.jpg', '/home/pi/Desktop/images/02012026/07/28/image_02012026_07_29_05_9696.jpg', '/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_15_9710.jpg', '/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_25_10709.jpg', '/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_35_9595.jpg', '/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_45_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/28/image_02012026_07_28_55_10702.jpg
/home/pi/Desktop/images/02012026/07/28/image_02012026_07_29_05_9696.jpg
/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_15_9710.jpg
/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_25_10709.jpg
/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_35_9595.jpg
/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_45_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402119882","1402119852","1402119884","1402119883","1402119889","1402119880"],"photo_ids_order":["1402119852","1402119880","1402119882","1402119883","1402119884","1402119889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/00ad7d2083a6fec1330b67a98a7033b7.jpg","text":"TemporaryFile(/tmp/multipartBody6490266624370961949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339662947,"filename":"image_02012026_07_29_15_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/2/a015a065c97f4193112659ac9f4be3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1099558844957367192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339662947,"filename":"image_02012026_07_28_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/2/077987c2772728f639b1c62a37418d45.jpg","text":"TemporaryFile(/tmp/multipartBody3933892676145663311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339662947,"filename":"image_02012026_07_29_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/2/ade1f16c30bf99becc5d5817a2ee23cf.jpg","text":"TemporaryFile(/tmp/multipartBody7611684614223911918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339662947,"filename":"image_02012026_07_29_25_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/2/2a9bfe71455ce6713b3e795d39e64994.jpg","text":"TemporaryFile(/tmp/multipartBody1656430442654344995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339662947,"filename":"image_02012026_07_29_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/2/8c717af70575d90b9454998358cfc29f.jpg","text":"TemporaryFile(/tmp/multipartBody9084782468440293227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339662947,"filename":"image_02012026_07_29_05_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119882","file1":"1402119880","file0":"1402119852","file4":"1402119884","file5":"1402119889","file3":"1402119883"},"map_files_photo_id_array":[{"photo_id":"1402119889","filename":"file5"},{"photo_id":"1402119882","filename":"file2"},{"photo_id":"1402119884","filename":"file4"},{"photo_id":"1402119880","filename":"file1"},{"photo_id":"1402119852","filename":"file0"},{"photo_id":"1402119883","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119882":["hashtag1","hashtag2"]},{"1402119852":["hashtag1","hashtag2"]},{"1402119884":["hashtag1","hashtag2"]},{"1402119883":["hashtag1","hashtag2"]},{"1402119889":["hashtag1","hashtag2"]},{"1402119880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119882, 1402119852, 1402119884, 1402119883, 1402119889, 1402119880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.011205434799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:41:02.654941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_55_10393.jpg', '/home/pi/Desktop/images/02012026/07/29/image_02012026_07_30_05_9659.jpg', '/home/pi/Desktop/images/02012026/07/30/image_02012026_07_30_25_9688.jpg', '/home/pi/Desktop/images/02012026/07/30/image_02012026_07_30_35_9949.jpg', '/home/pi/Desktop/images/02012026/07/30/image_02012026_07_30_55_9962.jpg', '/home/pi/Desktop/images/02012026/07/30/image_02012026_07_31_05_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/29/image_02012026_07_29_55_10393.jpg
/home/pi/Desktop/images/02012026/07/29/image_02012026_07_30_05_9659.jpg
/home/pi/Desktop/images/02012026/07/30/image_02012026_07_30_25_9688.jpg
/home/pi/Desktop/images/02012026/07/30/image_02012026_07_30_35_9949.jpg
/home/pi/Desktop/images/02012026/07/30/image_02012026_07_30_55_9962.jpg
/home/pi/Desktop/images/02012026/07/30/image_02012026_07_31_05_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119912","1402119915","1402119918","1402119914","1402119916","1402119910"],"photo_ids_order":["1402119910","1402119912","1402119914","1402119915","1402119916","1402119918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57244b2a583e13a55e17f471052fba21.jpg","text":"TemporaryFile(/tmp/multipartBody4443891198587177254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339723415,"filename":"image_02012026_07_30_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/2/0db76fd3708bf1188a86737b4fb29d18.jpg","text":"TemporaryFile(/tmp/multipartBody4354987922989224823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339723415,"filename":"image_02012026_07_30_35_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/2/a786c12f632c8dcd3a16089258c96ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4688667490903726282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339723415,"filename":"image_02012026_07_31_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/2/46dcd8283514fd47423c71750f9f61c7.jpg","text":"TemporaryFile(/tmp/multipartBody483561117366954148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339723415,"filename":"image_02012026_07_30_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/2/73ee4697a6c61c4c92aafd8a2df58faa.jpg","text":"TemporaryFile(/tmp/multipartBody4190806785231622513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339723415,"filename":"image_02012026_07_30_55_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/2/268febfde0883f82214c91c65047c346.jpg","text":"TemporaryFile(/tmp/multipartBody4479673265018977124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339723415,"filename":"image_02012026_07_29_55_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119914","file1":"1402119912","file0":"1402119910","file4":"1402119916","file5":"1402119918","file3":"1402119915"},"map_files_photo_id_array":[{"photo_id":"1402119918","filename":"file5"},{"photo_id":"1402119914","filename":"file2"},{"photo_id":"1402119916","filename":"file4"},{"photo_id":"1402119912","filename":"file1"},{"photo_id":"1402119910","filename":"file0"},{"photo_id":"1402119915","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119912":["hashtag1","hashtag2"]},{"1402119915":["hashtag1","hashtag2"]},{"1402119918":["hashtag1","hashtag2"]},{"1402119914":["hashtag1","hashtag2"]},{"1402119916":["hashtag1","hashtag2"]},{"1402119910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119912, 1402119915, 1402119918, 1402119914, 1402119916, 1402119910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51502275466919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:41:41.970451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_42_1649.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_52_1777.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_54_1710.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_56_1799.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_57_1683.jpg', '/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_59_1538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_42_1649.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_52_1777.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_54_1710.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_56_1799.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_57_1683.jpg
/home/pi/Desktop/images/05112025/17/11/image_05112025_17_11_59_1538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402119927","1402119924","1402119926","1402119929","1402119928","1402119925"],"photo_ids_order":["1402119924","1402119925","1402119926","1402119927","1402119928","1402119929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9105c07a0108ced1e435a5d24d97ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4110469116909311160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339763780,"filename":"image_05112025_17_11_56_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/2/0d318d53ffdecc51a9578509f3186378.jpg","text":"TemporaryFile(/tmp/multipartBody9070967361899461359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339763780,"filename":"image_05112025_17_11_42_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/2/3bf25c25e6ffd1a5775e1d19b0e2f5a4.jpg","text":"TemporaryFile(/tmp/multipartBody4911502252687382756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339763780,"filename":"image_05112025_17_11_54_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/2/a67fb6f3a0415338245a0c46b518753c.jpg","text":"TemporaryFile(/tmp/multipartBody6260690070736521377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339763780,"filename":"image_05112025_17_11_59_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/2/3297dfa6c6d7334091f15a621299fdb3.jpg","text":"TemporaryFile(/tmp/multipartBody3629152248413111059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339763780,"filename":"image_05112025_17_11_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/2/d9aa3cd5e7f70414adb128267796f0eb.jpg","text":"TemporaryFile(/tmp/multipartBody7002239952186002567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339763780,"filename":"image_05112025_17_11_52_1777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119926","file1":"1402119925","file0":"1402119924","file4":"1402119928","file5":"1402119929","file3":"1402119927"},"map_files_photo_id_array":[{"photo_id":"1402119929","filename":"file5"},{"photo_id":"1402119926","filename":"file2"},{"photo_id":"1402119928","filename":"file4"},{"photo_id":"1402119925","filename":"file1"},{"photo_id":"1402119924","filename":"file0"},{"photo_id":"1402119927","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402119927":["hashtag1","hashtag2"]},{"1402119924":["hashtag1","hashtag2"]},{"1402119926":["hashtag1","hashtag2"]},{"1402119929":["hashtag1","hashtag2"]},{"1402119928":["hashtag1","hashtag2"]},{"1402119925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402119927, 1402119924, 1402119926, 1402119929, 1402119928, 1402119925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50834846496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:42:22.242426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_15_9728.jpg', '/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_25_9649.jpg', '/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_45_9911.jpg', '/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_55_9695.jpg', '/home/pi/Desktop/images/02012026/07/31/image_02012026_07_32_05_9900.jpg', '/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_15_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_15_9728.jpg
/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_25_9649.jpg
/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_45_9911.jpg
/home/pi/Desktop/images/02012026/07/31/image_02012026_07_31_55_9695.jpg
/home/pi/Desktop/images/02012026/07/31/image_02012026_07_32_05_9900.jpg
/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_15_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":["1402119957","1402119959","1402119938","1402119947","1402119932","1402119934"],"photo_ids_order":["1402119932","1402119934","1402119938","1402119947","1402119957","1402119959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d04bd6bd36a7cbe1dc9a37d9703d6bf.jpg","text":"TemporaryFile(/tmp/multipartBody4615116852543434430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339802895,"filename":"image_02012026_07_32_05_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/2/bdb66abb205b620d453fb3a6684723c5.jpg","text":"TemporaryFile(/tmp/multipartBody3945768035644884449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339802895,"filename":"image_02012026_07_32_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/2/08f809570f03e15dabd35e7380706b90.jpg","text":"TemporaryFile(/tmp/multipartBody1248419672240394551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339802895,"filename":"image_02012026_07_31_45_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/2/e44ea07067ff6eb370161770e0e5b90b.jpg","text":"TemporaryFile(/tmp/multipartBody9128099415581061473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339802895,"filename":"image_02012026_07_31_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/2/c5010aab8087ebf6fbe761666b08bcf9.jpg","text":"TemporaryFile(/tmp/multipartBody3772918578857392291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339802895,"filename":"image_02012026_07_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/2/dbe707d4555d8947a00e39de269b1c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3147481212409134832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339802895,"filename":"image_02012026_07_31_25_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402119938","file1":"1402119934","file0":"1402119932","file4":"1402119957","file5":"1402119959","file3":"1402119947"},"map_files_photo_id_array":[{"photo_id":"1402119959","filename":"file5"},{"photo_id":"1402119938","filename":"file2"},{"photo_id":"1402119957","filename":"file4"},{"photo_id":"1402119934","filename":"file1"},{"photo_id":"1402119932","filename":"file0"},{"photo_id":"1402119947","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402119957":["hashtag1","hashtag2"]},{"1402119959":["hashtag1","hashtag2"]},{"1402119938":["hashtag1","hashtag2"]},{"1402119947":["hashtag1","hashtag2"]},{"1402119932":["hashtag1","hashtag2"]},{"1402119934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402119957, 1402119959, 1402119938, 1402119947, 1402119932, 1402119934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31157398223877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:43:03.156243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_25_10623.jpg', '/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_35_9613.jpg', '/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_45_9693.jpg', '/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_55_10646.jpg', '/home/pi/Desktop/images/02012026/07/32/image_02012026_07_33_05_9633.jpg', '/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_15_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_25_10623.jpg
/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_35_9613.jpg
/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_45_9693.jpg
/home/pi/Desktop/images/02012026/07/32/image_02012026_07_32_55_10646.jpg
/home/pi/Desktop/images/02012026/07/32/image_02012026_07_33_05_9633.jpg
/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_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":["1402120042","1402120032","1402120008","1402120040","1402120007","1402120001"],"photo_ids_order":["1402120001","1402120007","1402120008","1402120032","1402120040","1402120042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/891d485e2ecebc9665e11cc3f8e23ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4402598283664658840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339843854,"filename":"image_02012026_07_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/2/7c7325b5eb1f8f028c2a4b815a81208a.jpg","text":"TemporaryFile(/tmp/multipartBody7506861017738009045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339843854,"filename":"image_02012026_07_32_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/2/9d1c2193294bcfcc752b476feef462fc.jpg","text":"TemporaryFile(/tmp/multipartBody6576476695045418665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339843854,"filename":"image_02012026_07_32_45_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/2/72bf1cdc53d8e370404ee3435ee93cec.jpg","text":"TemporaryFile(/tmp/multipartBody325052143935767966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339843854,"filename":"image_02012026_07_33_05_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/2/361f7d60405ecf217dbe201974b566f4.jpg","text":"TemporaryFile(/tmp/multipartBody3441944799947022747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339843854,"filename":"image_02012026_07_32_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/2/fecab8323a3a8c2adc0703aaf204a546.jpg","text":"TemporaryFile(/tmp/multipartBody2905954735226179998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339843854,"filename":"image_02012026_07_32_25_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120008","file1":"1402120007","file0":"1402120001","file4":"1402120040","file5":"1402120042","file3":"1402120032"},"map_files_photo_id_array":[{"photo_id":"1402120042","filename":"file5"},{"photo_id":"1402120008","filename":"file2"},{"photo_id":"1402120040","filename":"file4"},{"photo_id":"1402120007","filename":"file1"},{"photo_id":"1402120001","filename":"file0"},{"photo_id":"1402120032","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120042":["hashtag1","hashtag2"]},{"1402120032":["hashtag1","hashtag2"]},{"1402120008":["hashtag1","hashtag2"]},{"1402120040":["hashtag1","hashtag2"]},{"1402120007":["hashtag1","hashtag2"]},{"1402120001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120042, 1402120032, 1402120008, 1402120040, 1402120007, 1402120001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3685884475708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:43:42.509972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_01_2661.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_05_3609.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_08_2658.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_10_2681.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_14_3554.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_17_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_01_2661.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_05_3609.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_08_2658.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_10_2681.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_14_3554.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_17_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402120101","1402120082","1402120100","1402120099","1402120084","1402120103"],"photo_ids_order":["1402120082","1402120084","1402120099","1402120100","1402120101","1402120103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d37c001bd8a17a4b28da0c491b7843b.jpg","text":"TemporaryFile(/tmp/multipartBody5651562108917381966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339884369,"filename":"image_05112025_17_12_14_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/2/de3d58c44b87811c0117f8cda9e8b86e.jpg","text":"TemporaryFile(/tmp/multipartBody3384565300275578356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339884369,"filename":"image_05112025_17_12_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/2/5580748c93d6e5497dec96b8d1f7c914.jpg","text":"TemporaryFile(/tmp/multipartBody661995047579837070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339884369,"filename":"image_05112025_17_12_10_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/2/5d512be2c789be5140b5f570053e115c.jpg","text":"TemporaryFile(/tmp/multipartBody5876777411937396150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339884369,"filename":"image_05112025_17_12_08_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/2/51b54d8618e426270a54dc562be9e736.jpg","text":"TemporaryFile(/tmp/multipartBody9102171916605955441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339884369,"filename":"image_05112025_17_12_05_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/2/148c28cf469d075ef130b5262e2ab328.jpg","text":"TemporaryFile(/tmp/multipartBody2283455584458299827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339884369,"filename":"image_05112025_17_12_17_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120099","file1":"1402120084","file0":"1402120082","file4":"1402120101","file5":"1402120103","file3":"1402120100"},"map_files_photo_id_array":[{"photo_id":"1402120103","filename":"file5"},{"photo_id":"1402120099","filename":"file2"},{"photo_id":"1402120101","filename":"file4"},{"photo_id":"1402120084","filename":"file1"},{"photo_id":"1402120082","filename":"file0"},{"photo_id":"1402120100","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402120101":["hashtag1","hashtag2"]},{"1402120082":["hashtag1","hashtag2"]},{"1402120100":["hashtag1","hashtag2"]},{"1402120099":["hashtag1","hashtag2"]},{"1402120084":["hashtag1","hashtag2"]},{"1402120103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402120101, 1402120082, 1402120100, 1402120099, 1402120084, 1402120103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29560852050781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:44:22.719557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_25_10640.jpg', '/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_35_9718.jpg', '/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_45_9676.jpg', '/home/pi/Desktop/images/02012026/07/34/image_02012026_07_34_15_9606.jpg', '/home/pi/Desktop/images/02012026/07/34/image_02012026_07_34_24_9791.jpg', '/home/pi/Desktop/images/02012026/07/34/image_02012026_07_34_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_25_10640.jpg
/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_35_9718.jpg
/home/pi/Desktop/images/02012026/07/33/image_02012026_07_33_45_9676.jpg
/home/pi/Desktop/images/02012026/07/34/image_02012026_07_34_15_9606.jpg
/home/pi/Desktop/images/02012026/07/34/image_02012026_07_34_24_9791.jpg
/home/pi/Desktop/images/02012026/07/34/image_02012026_07_34_55_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402120120","1402120111","1402120131","1402120128","1402120148","1402120157"],"photo_ids_order":["1402120111","1402120120","1402120128","1402120131","1402120148","1402120157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9829e0204e8aaac99a7827647d645899.jpg","text":"TemporaryFile(/tmp/multipartBody4402755500001399331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339923340,"filename":"image_02012026_07_33_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/2/dbbf7580468e599df352dc649e8e487c.jpg","text":"TemporaryFile(/tmp/multipartBody6298797687797176833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339923340,"filename":"image_02012026_07_33_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/2/58cada4b39c41164452f26a589252d22.jpg","text":"TemporaryFile(/tmp/multipartBody1431746357851570270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339923340,"filename":"image_02012026_07_34_15_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/2/e7fa5f1baa3cd438cd19dc58fcc279cd.jpg","text":"TemporaryFile(/tmp/multipartBody8276157320257563475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339923340,"filename":"image_02012026_07_33_45_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/2/ca6c2a91b5905127e707db3749f5697c.jpg","text":"TemporaryFile(/tmp/multipartBody3099047260769683604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339923340,"filename":"image_02012026_07_34_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/2/8b765b0e46175e2e8327d679b8a6195a.jpg","text":"TemporaryFile(/tmp/multipartBody7627622249035355374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339923340,"filename":"image_02012026_07_34_55_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120128","file1":"1402120120","file0":"1402120111","file4":"1402120148","file5":"1402120157","file3":"1402120131"},"map_files_photo_id_array":[{"photo_id":"1402120157","filename":"file5"},{"photo_id":"1402120128","filename":"file2"},{"photo_id":"1402120148","filename":"file4"},{"photo_id":"1402120120","filename":"file1"},{"photo_id":"1402120111","filename":"file0"},{"photo_id":"1402120131","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120120":["hashtag1","hashtag2"]},{"1402120111":["hashtag1","hashtag2"]},{"1402120131":["hashtag1","hashtag2"]},{"1402120128":["hashtag1","hashtag2"]},{"1402120148":["hashtag1","hashtag2"]},{"1402120157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120120, 1402120111, 1402120131, 1402120128, 1402120148, 1402120157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37183403968811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:45:02.441056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/34/image_02012026_07_35_05_10696.jpg', '/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_15_9818.jpg', '/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_25_9597.jpg', '/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_34_9818.jpg', '/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_45_10835.jpg', '/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/34/image_02012026_07_35_05_10696.jpg
/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_15_9818.jpg
/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_25_9597.jpg
/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_34_9818.jpg
/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_45_10835.jpg
/home/pi/Desktop/images/02012026/07/35/image_02012026_07_35_55_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402120174","1402120176","1402120179","1402120181","1402120178","1402120177"],"photo_ids_order":["1402120174","1402120176","1402120177","1402120178","1402120179","1402120181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cc607f86ff05e9a889e27a12d45107a6.jpg","text":"TemporaryFile(/tmp/multipartBody4864977577857465653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339963156,"filename":"image_02012026_07_35_05_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/2/a2d57694bfa61ca6ff9455efe3c97880.jpg","text":"TemporaryFile(/tmp/multipartBody7661679691785959408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339963156,"filename":"image_02012026_07_35_15_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/2/6101b4dbf5b327ccaab52f73231a996c.jpg","text":"TemporaryFile(/tmp/multipartBody4129728768760083231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339963156,"filename":"image_02012026_07_35_45_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e8b06fa658eeacb92222e11a2886ce96.jpg","text":"TemporaryFile(/tmp/multipartBody98589319571562744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339963156,"filename":"image_02012026_07_35_55_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/2/d3707e28a3ac76aa4f5d2e6defa09ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2892163523077357165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339963156,"filename":"image_02012026_07_35_34_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/2/3f0067ddf74a8fc6227bfdabea0fdf10.jpg","text":"TemporaryFile(/tmp/multipartBody5178793612217648052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767339963156,"filename":"image_02012026_07_35_25_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120177","file1":"1402120176","file0":"1402120174","file4":"1402120179","file5":"1402120181","file3":"1402120178"},"map_files_photo_id_array":[{"photo_id":"1402120181","filename":"file5"},{"photo_id":"1402120177","filename":"file2"},{"photo_id":"1402120179","filename":"file4"},{"photo_id":"1402120176","filename":"file1"},{"photo_id":"1402120174","filename":"file0"},{"photo_id":"1402120178","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120174":["hashtag1","hashtag2"]},{"1402120176":["hashtag1","hashtag2"]},{"1402120179":["hashtag1","hashtag2"]},{"1402120181":["hashtag1","hashtag2"]},{"1402120178":["hashtag1","hashtag2"]},{"1402120177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120174, 1402120176, 1402120179, 1402120181, 1402120178, 1402120177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17238450050354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:45:41.985157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_22_4999.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_25_2850.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_26_1644.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_32_2727.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_35_3229.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_37_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_22_4999.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_25_2850.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_26_1644.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_32_2727.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_35_3229.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_37_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":["1402120222","1402120201","1402120197","1402120223","1402120198","1402120186"],"photo_ids_order":["1402120186","1402120197","1402120198","1402120201","1402120222","1402120223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42adf422d25e00ccc693dfa93bbf9fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8132485603865335439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340003836,"filename":"image_05112025_17_12_35_3229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4579f4455e2606c39a5a04870070baa9.jpg","text":"TemporaryFile(/tmp/multipartBody8277367754562203315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340003836,"filename":"image_05112025_17_12_32_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1e2467396699ac365bbc2b0d08b7532.jpg","text":"TemporaryFile(/tmp/multipartBody7234096497717974818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340003836,"filename":"image_05112025_17_12_25_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/2/af008bf82e73928aad708e6988f93524.jpg","text":"TemporaryFile(/tmp/multipartBody1555543161273635897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340003836,"filename":"image_05112025_17_12_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/2/f4831e0de28d365f2e7c744f397aaf8a.jpg","text":"TemporaryFile(/tmp/multipartBody3450237119070007952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340003836,"filename":"image_05112025_17_12_26_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/2/67258dde977b4c3888bf1bcd0df695bd.jpg","text":"TemporaryFile(/tmp/multipartBody7852511849762723091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340003836,"filename":"image_05112025_17_12_22_4999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120198","file1":"1402120197","file0":"1402120186","file4":"1402120222","file5":"1402120223","file3":"1402120201"},"map_files_photo_id_array":[{"photo_id":"1402120223","filename":"file5"},{"photo_id":"1402120198","filename":"file2"},{"photo_id":"1402120222","filename":"file4"},{"photo_id":"1402120197","filename":"file1"},{"photo_id":"1402120186","filename":"file0"},{"photo_id":"1402120201","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402120222":["hashtag1","hashtag2"]},{"1402120201":["hashtag1","hashtag2"]},{"1402120197":["hashtag1","hashtag2"]},{"1402120223":["hashtag1","hashtag2"]},{"1402120198":["hashtag1","hashtag2"]},{"1402120186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402120222, 1402120201, 1402120197, 1402120223, 1402120198, 1402120186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.451735734939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:46:22.140106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/35/image_02012026_07_36_05_9703.jpg', '/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_25_9675.jpg', '/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_34_9623.jpg', '/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_45_10634.jpg', '/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_55_9740.jpg', '/home/pi/Desktop/images/02012026/07/36/image_02012026_07_37_05_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/35/image_02012026_07_36_05_9703.jpg
/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_25_9675.jpg
/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_34_9623.jpg
/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_45_10634.jpg
/home/pi/Desktop/images/02012026/07/36/image_02012026_07_36_55_9740.jpg
/home/pi/Desktop/images/02012026/07/36/image_02012026_07_37_05_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":["1402120246","1402120255","1402120225","1402120227","1402120229","1402120250"],"photo_ids_order":["1402120225","1402120227","1402120229","1402120246","1402120250","1402120255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dbee0aa524120463014e23639034d016.jpg","text":"TemporaryFile(/tmp/multipartBody1697162384091551055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340042792,"filename":"image_02012026_07_36_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/2/415584a45c6b6d46871576c0eb29c077.jpg","text":"TemporaryFile(/tmp/multipartBody1787922588391097343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340042792,"filename":"image_02012026_07_37_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/2/b3af62e1afa4c1d0d1ca51e1722b48ec.jpg","text":"TemporaryFile(/tmp/multipartBody5236363739829380820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340042792,"filename":"image_02012026_07_36_05_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/2/db65e17e72273d65d8d86b756e5eb7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7289106464481489541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340042792,"filename":"image_02012026_07_36_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/2/3286b8690e99171c50337e3164daf9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7114269012838354104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340042792,"filename":"image_02012026_07_36_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/2/658fab14b667eb3d13f594a75863f3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3515794724379155088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340042792,"filename":"image_02012026_07_36_55_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120229","file1":"1402120227","file0":"1402120225","file4":"1402120250","file5":"1402120255","file3":"1402120246"},"map_files_photo_id_array":[{"photo_id":"1402120255","filename":"file5"},{"photo_id":"1402120229","filename":"file2"},{"photo_id":"1402120250","filename":"file4"},{"photo_id":"1402120227","filename":"file1"},{"photo_id":"1402120225","filename":"file0"},{"photo_id":"1402120246","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120246":["hashtag1","hashtag2"]},{"1402120255":["hashtag1","hashtag2"]},{"1402120225":["hashtag1","hashtag2"]},{"1402120227":["hashtag1","hashtag2"]},{"1402120229":["hashtag1","hashtag2"]},{"1402120250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120246, 1402120255, 1402120225, 1402120227, 1402120229, 1402120250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77927756309509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:47:02.992703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/37/image_02012026_07_37_14_9724.jpg', '/home/pi/Desktop/images/02012026/07/37/image_02012026_07_37_25_10745.jpg', '/home/pi/Desktop/images/02012026/07/37/image_02012026_07_37_54_9717.jpg', '/home/pi/Desktop/images/02012026/07/37/image_02012026_07_38_05_10749.jpg', '/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_15_9637.jpg', '/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_24_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/37/image_02012026_07_37_14_9724.jpg
/home/pi/Desktop/images/02012026/07/37/image_02012026_07_37_25_10745.jpg
/home/pi/Desktop/images/02012026/07/37/image_02012026_07_37_54_9717.jpg
/home/pi/Desktop/images/02012026/07/37/image_02012026_07_38_05_10749.jpg
/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_15_9637.jpg
/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_24_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":["1402120386","1402120343","1402120322","1402120316","1402120363","1402120279"],"photo_ids_order":["1402120279","1402120316","1402120322","1402120343","1402120363","1402120386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d155bdbbaf5bbd04a2798fc1e46f60cf.jpg","text":"TemporaryFile(/tmp/multipartBody996297989167679726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340083672,"filename":"image_02012026_07_38_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/2/c4d7ba1460f2c9c35651da1e212ecb46.jpg","text":"TemporaryFile(/tmp/multipartBody5164070419539040565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340083672,"filename":"image_02012026_07_38_05_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/2/c991a2796e0955658d72dcb259a6b4f7.jpg","text":"TemporaryFile(/tmp/multipartBody6109066685615449477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340083672,"filename":"image_02012026_07_37_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/2/b7718a8cf63ac3385dba8a15250f5ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3092263129227074684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340083672,"filename":"image_02012026_07_37_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/2/400d712cec6c3678eb7609eca9f1e0cb.jpg","text":"TemporaryFile(/tmp/multipartBody7517510156296835369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340083672,"filename":"image_02012026_07_38_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/2/35c354774bf72fa186f6abbd2c054666.jpg","text":"TemporaryFile(/tmp/multipartBody5433452274890022069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340083672,"filename":"image_02012026_07_37_14_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120322","file1":"1402120316","file0":"1402120279","file4":"1402120363","file5":"1402120386","file3":"1402120343"},"map_files_photo_id_array":[{"photo_id":"1402120386","filename":"file5"},{"photo_id":"1402120322","filename":"file2"},{"photo_id":"1402120363","filename":"file4"},{"photo_id":"1402120316","filename":"file1"},{"photo_id":"1402120279","filename":"file0"},{"photo_id":"1402120343","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120386":["hashtag1","hashtag2"]},{"1402120343":["hashtag1","hashtag2"]},{"1402120322":["hashtag1","hashtag2"]},{"1402120316":["hashtag1","hashtag2"]},{"1402120363":["hashtag1","hashtag2"]},{"1402120279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120386, 1402120343, 1402120322, 1402120316, 1402120363, 1402120279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31058168411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:47:42.279476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_41_3705.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_44_2683.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_52_8029.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_55_3079.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_57_1633.jpg', '/home/pi/Desktop/images/05112025/17/12/image_05112025_17_13_00_3365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_41_3705.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_44_2683.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_52_8029.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_55_3079.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_12_57_1633.jpg
/home/pi/Desktop/images/05112025/17/12/image_05112025_17_13_00_3365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402120651","1402120551","1402120614","1402120694","1402120509","1402120466"],"photo_ids_order":["1402120466","1402120509","1402120551","1402120614","1402120651","1402120694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/520f5166d63ace6d10ed19a41b451a59.jpg","text":"TemporaryFile(/tmp/multipartBody8320572931376999897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340124177,"filename":"image_05112025_17_12_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/2/a5a231afcf74334a0a3caa26f930c44c.jpg","text":"TemporaryFile(/tmp/multipartBody6747183400065261309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340124177,"filename":"image_05112025_17_12_52_8029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f9f30dbbdc5308965fae958523663db.jpg","text":"TemporaryFile(/tmp/multipartBody345184505748788028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340124177,"filename":"image_05112025_17_12_55_3079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/281aac193906f05cd4beb2c4cf1b5527.jpg","text":"TemporaryFile(/tmp/multipartBody5890614243347753871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340124177,"filename":"image_05112025_17_13_00_3365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83af75ed5b951aa20368c8fea6f4f49f.jpg","text":"TemporaryFile(/tmp/multipartBody1508470257029137029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340124177,"filename":"image_05112025_17_12_44_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/2/869638e6bcce8613f708730c859ffcec.jpg","text":"TemporaryFile(/tmp/multipartBody2513698448045149657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340124177,"filename":"image_05112025_17_12_41_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120551","file1":"1402120509","file0":"1402120466","file4":"1402120651","file5":"1402120694","file3":"1402120614"},"map_files_photo_id_array":[{"photo_id":"1402120694","filename":"file5"},{"photo_id":"1402120551","filename":"file2"},{"photo_id":"1402120651","filename":"file4"},{"photo_id":"1402120509","filename":"file1"},{"photo_id":"1402120466","filename":"file0"},{"photo_id":"1402120614","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402120651":["hashtag1","hashtag2"]},{"1402120551":["hashtag1","hashtag2"]},{"1402120614":["hashtag1","hashtag2"]},{"1402120694":["hashtag1","hashtag2"]},{"1402120509":["hashtag1","hashtag2"]},{"1402120466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402120651, 1402120551, 1402120614, 1402120694, 1402120509, 1402120466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31902766227722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:48:22.424871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_35_10710.jpg', '/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_45_9764.jpg', '/home/pi/Desktop/images/02012026/07/38/image_02012026_07_39_05_10589.jpg', '/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_15_9786.jpg', '/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_25_9572.jpg', '/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_35_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_35_10710.jpg
/home/pi/Desktop/images/02012026/07/38/image_02012026_07_38_45_9764.jpg
/home/pi/Desktop/images/02012026/07/38/image_02012026_07_39_05_10589.jpg
/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_15_9786.jpg
/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_25_9572.jpg
/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_35_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402120762","1402120785","1402120764","1402120790","1402120787","1402120753"],"photo_ids_order":["1402120753","1402120762","1402120764","1402120785","1402120787","1402120790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6be8f91a4c59f374a0ee75ee62a7fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody3015043856871183109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340163042,"filename":"image_02012026_07_38_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/2/dc91762f60626b8e98da310ba1216bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1160985411901226622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340163042,"filename":"image_02012026_07_39_15_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/2/375fb97c2a301ca21dfd5bd311fd951e.jpg","text":"TemporaryFile(/tmp/multipartBody1607501191194392188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340163042,"filename":"image_02012026_07_39_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/2/a4b1e69a7f45595d018f843e67d2e178.jpg","text":"TemporaryFile(/tmp/multipartBody1121320269455523073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340163042,"filename":"image_02012026_07_39_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/2/cd9ab7cac35f0c02ae8705fc9f11ef35.jpg","text":"TemporaryFile(/tmp/multipartBody1802948884828451448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340163042,"filename":"image_02012026_07_39_25_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/2/6cb071079a9e3241cd2302576f65e47b.jpg","text":"TemporaryFile(/tmp/multipartBody1660273978161972845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340163042,"filename":"image_02012026_07_38_35_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120764","file1":"1402120762","file0":"1402120753","file4":"1402120787","file5":"1402120790","file3":"1402120785"},"map_files_photo_id_array":[{"photo_id":"1402120790","filename":"file5"},{"photo_id":"1402120764","filename":"file2"},{"photo_id":"1402120787","filename":"file4"},{"photo_id":"1402120762","filename":"file1"},{"photo_id":"1402120753","filename":"file0"},{"photo_id":"1402120785","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120762":["hashtag1","hashtag2"]},{"1402120785":["hashtag1","hashtag2"]},{"1402120764":["hashtag1","hashtag2"]},{"1402120790":["hashtag1","hashtag2"]},{"1402120787":["hashtag1","hashtag2"]},{"1402120753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120762, 1402120785, 1402120764, 1402120790, 1402120787, 1402120753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.044305086135864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:49:03.601036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_45_9768.jpg', '/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_55_9544.jpg', '/home/pi/Desktop/images/02012026/07/39/image_02012026_07_40_04_9915.jpg', '/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_15_10763.jpg', '/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_25_9576.jpg', '/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_35_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_45_9768.jpg
/home/pi/Desktop/images/02012026/07/39/image_02012026_07_39_55_9544.jpg
/home/pi/Desktop/images/02012026/07/39/image_02012026_07_40_04_9915.jpg
/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_15_10763.jpg
/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_25_9576.jpg
/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_35_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":["1402120822","1402120810","1402120823","1402120829","1402120798","1402120795"],"photo_ids_order":["1402120795","1402120798","1402120810","1402120822","1402120823","1402120829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4dfc0c7195b9c2e8ab48c34fa4331a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1712468840186054380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340204423,"filename":"image_02012026_07_40_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/2/20f5c1bbb430267795fb7d6e3f9a949c.jpg","text":"TemporaryFile(/tmp/multipartBody6398479626663185269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340204423,"filename":"image_02012026_07_40_04_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/60d708242c923132b5648e9b9ff7efdc.jpg","text":"TemporaryFile(/tmp/multipartBody5462012790808318414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340204423,"filename":"image_02012026_07_40_25_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/2/a00f0c6ef00de77074373c75ddf5d81a.jpg","text":"TemporaryFile(/tmp/multipartBody8440660348731269330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340204423,"filename":"image_02012026_07_40_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/2/289d1ec4a2ba34c6aece0080af1e31a7.jpg","text":"TemporaryFile(/tmp/multipartBody2392399610532152886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340204423,"filename":"image_02012026_07_39_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/2/36d11d8adcb04990159a5f3836858b38.jpg","text":"TemporaryFile(/tmp/multipartBody6383793903799706319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340204423,"filename":"image_02012026_07_39_45_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402120810","file1":"1402120798","file0":"1402120795","file4":"1402120823","file5":"1402120829","file3":"1402120822"},"map_files_photo_id_array":[{"photo_id":"1402120829","filename":"file5"},{"photo_id":"1402120810","filename":"file2"},{"photo_id":"1402120823","filename":"file4"},{"photo_id":"1402120798","filename":"file1"},{"photo_id":"1402120795","filename":"file0"},{"photo_id":"1402120822","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402120822":["hashtag1","hashtag2"]},{"1402120810":["hashtag1","hashtag2"]},{"1402120823":["hashtag1","hashtag2"]},{"1402120829":["hashtag1","hashtag2"]},{"1402120798":["hashtag1","hashtag2"]},{"1402120795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402120822, 1402120810, 1402120823, 1402120829, 1402120798, 1402120795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71938943862915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:49:42.691165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_01_1510.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_03_1754.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_05_1643.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_11_3679.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_14_2709.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_16_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_01_1510.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_03_1754.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_05_1643.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_11_3679.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_14_2709.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_16_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402121055","1402121079","1402120956","1402121021","1402120994","1402121029"],"photo_ids_order":["1402120956","1402120994","1402121021","1402121029","1402121055","1402121079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/27f1952010506f87ff57c090bf23481f.jpg","text":"TemporaryFile(/tmp/multipartBody4365125328554563599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340244549,"filename":"image_05112025_17_13_14_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/2/b552933650101f63b74e7cbf395fb23d.jpg","text":"TemporaryFile(/tmp/multipartBody5793209740407414711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340244549,"filename":"image_05112025_17_13_16_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/2/a4f6bc7efb48e4ab83559d5080ad2fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4556624781160773106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340244549,"filename":"image_05112025_17_13_01_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/2/6448a84c6c3d5e98b43763deea0c21ad.jpg","text":"TemporaryFile(/tmp/multipartBody6195793138869993343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340244549,"filename":"image_05112025_17_13_05_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/2/fe4340141f9d3b8b11d00177e56aa48d.jpg","text":"TemporaryFile(/tmp/multipartBody862539242229142805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340244549,"filename":"image_05112025_17_13_03_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/2/fd7b5befba320ae5d2782c4b420f8667.jpg","text":"TemporaryFile(/tmp/multipartBody6856236531780384577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340244549,"filename":"image_05112025_17_13_11_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121021","file1":"1402120994","file0":"1402120956","file4":"1402121055","file5":"1402121079","file3":"1402121029"},"map_files_photo_id_array":[{"photo_id":"1402121079","filename":"file5"},{"photo_id":"1402121021","filename":"file2"},{"photo_id":"1402121055","filename":"file4"},{"photo_id":"1402120994","filename":"file1"},{"photo_id":"1402120956","filename":"file0"},{"photo_id":"1402121029","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402121055":["hashtag1","hashtag2"]},{"1402121079":["hashtag1","hashtag2"]},{"1402120956":["hashtag1","hashtag2"]},{"1402121021":["hashtag1","hashtag2"]},{"1402120994":["hashtag1","hashtag2"]},{"1402121029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402121055, 1402121079, 1402120956, 1402121021, 1402120994, 1402121029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53939723968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:50:31.866947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_20_3642.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_23_2607.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_25_2740.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_29_3516.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_32_2756.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_34_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_20_3642.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_23_2607.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_25_2740.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_29_3516.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_32_2756.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_34_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":["1402121209","1402121271","1402121169","1402121279","1402121252","1402121140"],"photo_ids_order":["1402121140","1402121169","1402121209","1402121252","1402121271","1402121279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed6df31964a14e7d0348cb457bf95562.jpg","text":"TemporaryFile(/tmp/multipartBody4032307849101965860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340293727,"filename":"image_05112025_17_13_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/2/e938a990eb3184828b9298d336ac4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody8000921107990939122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340293727,"filename":"image_05112025_17_13_32_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/2/f211385e1ceea553d793941fcc0ffdef.jpg","text":"TemporaryFile(/tmp/multipartBody3640597793262803351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340293727,"filename":"image_05112025_17_13_23_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/2/56f5db3f2098bdb6748ec344f84cae6b.jpg","text":"TemporaryFile(/tmp/multipartBody4074261888769169480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340293727,"filename":"image_05112025_17_13_34_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/2/059fcc93ee07909ef12ceb50e3dd3d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7176522692178446452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340293727,"filename":"image_05112025_17_13_29_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3c9be6bb7c42a6b62455d5cbefa8dcf8.jpg","text":"TemporaryFile(/tmp/multipartBody625418609574334979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340293727,"filename":"image_05112025_17_13_20_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121209","file1":"1402121169","file0":"1402121140","file4":"1402121271","file5":"1402121279","file3":"1402121252"},"map_files_photo_id_array":[{"photo_id":"1402121279","filename":"file5"},{"photo_id":"1402121209","filename":"file2"},{"photo_id":"1402121271","filename":"file4"},{"photo_id":"1402121169","filename":"file1"},{"photo_id":"1402121140","filename":"file0"},{"photo_id":"1402121252","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402121209":["hashtag1","hashtag2"]},{"1402121271":["hashtag1","hashtag2"]},{"1402121169":["hashtag1","hashtag2"]},{"1402121279":["hashtag1","hashtag2"]},{"1402121252":["hashtag1","hashtag2"]},{"1402121140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402121209, 1402121271, 1402121169, 1402121279, 1402121252, 1402121140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71057486534119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:51:22.031902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_55_10638.jpg', '/home/pi/Desktop/images/02012026/07/40/image_02012026_07_41_05_9574.jpg', '/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_14_9751.jpg', '/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_25_10870.jpg', '/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_35_9683.jpg', '/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_44_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/40/image_02012026_07_40_55_10638.jpg
/home/pi/Desktop/images/02012026/07/40/image_02012026_07_41_05_9574.jpg
/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_14_9751.jpg
/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_25_10870.jpg
/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_35_9683.jpg
/home/pi/Desktop/images/02012026/07/41/image_02012026_07_41_44_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":["1402121334","1402121337","1402121331","1402121339","1402121333","1402121341"],"photo_ids_order":["1402121331","1402121333","1402121334","1402121337","1402121339","1402121341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8fe38bca5e248d41b902bceb9cc9d305.jpg","text":"TemporaryFile(/tmp/multipartBody6631336747338241860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340342647,"filename":"image_02012026_07_41_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/2/06f1ddea10eaad73a2ef0bf7a501e6ee.jpg","text":"TemporaryFile(/tmp/multipartBody361901405649224653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340342647,"filename":"image_02012026_07_41_25_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e82fb51ff8c4985522a7ba567606aa15.jpg","text":"TemporaryFile(/tmp/multipartBody7571334645886327088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340342647,"filename":"image_02012026_07_40_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/2/2dcd1f3de6510087ac686aa0fa004e87.jpg","text":"TemporaryFile(/tmp/multipartBody2438052027203077491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340342647,"filename":"image_02012026_07_41_35_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/2/ddaf8d6720203d31be9d12813204a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6902365211191290319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340342647,"filename":"image_02012026_07_41_05_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/2/ea56185ee04768618ae8fd957c7efa6e.jpg","text":"TemporaryFile(/tmp/multipartBody5833741949740827434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340342647,"filename":"image_02012026_07_41_44_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121334","file1":"1402121333","file0":"1402121331","file4":"1402121339","file5":"1402121341","file3":"1402121337"},"map_files_photo_id_array":[{"photo_id":"1402121341","filename":"file5"},{"photo_id":"1402121334","filename":"file2"},{"photo_id":"1402121339","filename":"file4"},{"photo_id":"1402121333","filename":"file1"},{"photo_id":"1402121331","filename":"file0"},{"photo_id":"1402121337","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402121334":["hashtag1","hashtag2"]},{"1402121337":["hashtag1","hashtag2"]},{"1402121331":["hashtag1","hashtag2"]},{"1402121339":["hashtag1","hashtag2"]},{"1402121333":["hashtag1","hashtag2"]},{"1402121341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402121334, 1402121337, 1402121331, 1402121339, 1402121333, 1402121341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59589147567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:52:02.654654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/41/image_02012026_07_42_05_9679.jpg', '/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_25_10839.jpg', '/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_35_9544.jpg', '/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_45_9800.jpg', '/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_54_9806.jpg', '/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_15_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/41/image_02012026_07_42_05_9679.jpg
/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_25_10839.jpg
/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_35_9544.jpg
/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_45_9800.jpg
/home/pi/Desktop/images/02012026/07/42/image_02012026_07_42_54_9806.jpg
/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_15_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":["1402121373","1402121355","1402121345","1402121342","1402121353","1402121344"],"photo_ids_order":["1402121342","1402121344","1402121345","1402121353","1402121355","1402121373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e6eef91ba17ab3b7d877932a93c26366.jpg","text":"TemporaryFile(/tmp/multipartBody8990433217372955780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340383339,"filename":"image_02012026_07_43_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/2/4d0221540a7faf8febbea6f789425343.jpg","text":"TemporaryFile(/tmp/multipartBody5373544525514737391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340383339,"filename":"image_02012026_07_42_54_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/2/74d2f9f4ee1b1638e4bd8155d22d38fa.jpg","text":"TemporaryFile(/tmp/multipartBody8876074078571804128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340383339,"filename":"image_02012026_07_42_35_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/2/1e51c4ecd377be65d49c329a06701278.jpg","text":"TemporaryFile(/tmp/multipartBody1377562869515055179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340383339,"filename":"image_02012026_07_42_05_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/2/feca54016538a6fac6264c6c48b6bb50.jpg","text":"TemporaryFile(/tmp/multipartBody4658200914584836940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340383339,"filename":"image_02012026_07_42_45_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/2/3aff6c73f3eac53d03fcf3cfe7ea9951.jpg","text":"TemporaryFile(/tmp/multipartBody3548485225355246349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340383339,"filename":"image_02012026_07_42_25_10839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121345","file1":"1402121344","file0":"1402121342","file4":"1402121355","file5":"1402121373","file3":"1402121353"},"map_files_photo_id_array":[{"photo_id":"1402121373","filename":"file5"},{"photo_id":"1402121345","filename":"file2"},{"photo_id":"1402121355","filename":"file4"},{"photo_id":"1402121344","filename":"file1"},{"photo_id":"1402121342","filename":"file0"},{"photo_id":"1402121353","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402121373":["hashtag1","hashtag2"]},{"1402121355":["hashtag1","hashtag2"]},{"1402121345":["hashtag1","hashtag2"]},{"1402121342":["hashtag1","hashtag2"]},{"1402121353":["hashtag1","hashtag2"]},{"1402121344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402121373, 1402121355, 1402121345, 1402121342, 1402121353, 1402121344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.225093603134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:52:42.306082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_45_10806.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_47_1528.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_14_00_13058.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_02_1943.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_18_15958.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_21_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_45_10806.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_47_1528.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_14_00_13058.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_02_1943.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_18_15958.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_21_1653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.767944574356079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:53:03.214087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_25_9644.jpg', '/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_34_9739.jpg', '/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_45_10693.jpg', '/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_55_9671.jpg', '/home/pi/Desktop/images/02012026/07/43/image_02012026_07_44_05_10553.jpg', '/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_15_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_25_9644.jpg
/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_34_9739.jpg
/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_45_10693.jpg
/home/pi/Desktop/images/02012026/07/43/image_02012026_07_43_55_9671.jpg
/home/pi/Desktop/images/02012026/07/43/image_02012026_07_44_05_10553.jpg
/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_15_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":["1402121481","1402121484","1402121486","1402121468","1402121470","1402121482"],"photo_ids_order":["1402121468","1402121470","1402121481","1402121482","1402121484","1402121486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/832a746d7801300c06df97e0ee9c9880.jpg","text":"TemporaryFile(/tmp/multipartBody5022278486724071790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340443953,"filename":"image_02012026_07_43_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/2/c462bbde6b88bff062a875dec6a1b202.jpg","text":"TemporaryFile(/tmp/multipartBody4165577387555341087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340443953,"filename":"image_02012026_07_44_05_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/2/68479f8fde0f4c1109de2afd40acfa5e.jpg","text":"TemporaryFile(/tmp/multipartBody1300437301155951648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340443953,"filename":"image_02012026_07_44_15_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/2/ce93890d1da00cd324880e4923b3d1dc.jpg","text":"TemporaryFile(/tmp/multipartBody1654255691738816213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340443953,"filename":"image_02012026_07_43_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/2/89dd4631b8236ecb42f08d8994d9a6de.jpg","text":"TemporaryFile(/tmp/multipartBody830793921424163161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340443953,"filename":"image_02012026_07_43_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0fee0290036c473fd942548584624142.jpg","text":"TemporaryFile(/tmp/multipartBody559498413430234928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340443953,"filename":"image_02012026_07_43_55_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121481","file1":"1402121470","file0":"1402121468","file4":"1402121484","file5":"1402121486","file3":"1402121482"},"map_files_photo_id_array":[{"photo_id":"1402121486","filename":"file5"},{"photo_id":"1402121481","filename":"file2"},{"photo_id":"1402121484","filename":"file4"},{"photo_id":"1402121470","filename":"file1"},{"photo_id":"1402121468","filename":"file0"},{"photo_id":"1402121482","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402121481":["hashtag1","hashtag2"]},{"1402121484":["hashtag1","hashtag2"]},{"1402121486":["hashtag1","hashtag2"]},{"1402121468":["hashtag1","hashtag2"]},{"1402121470":["hashtag1","hashtag2"]},{"1402121482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402121481, 1402121484, 1402121486, 1402121468, 1402121470, 1402121482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10574388504028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:53:42.583623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_45_10806.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_47_1528.jpg', '/home/pi/Desktop/images/05112025/17/13/image_05112025_17_14_00_13058.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_02_1943.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_18_15958.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_21_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_45_10806.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_13_47_1528.jpg
/home/pi/Desktop/images/05112025/17/13/image_05112025_17_14_00_13058.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_02_1943.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_18_15958.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_21_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402121517","1402121543","1402121516","1402121542","1402121539","1402121493"],"photo_ids_order":["1402121493","1402121516","1402121517","1402121539","1402121542","1402121543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0dddf9e8502ac73a4327ef016a3bd54c.jpg","text":"TemporaryFile(/tmp/multipartBody83751541982163897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340484329,"filename":"image_05112025_17_14_00_13058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67aba4406d98993e9babc9027993ad63.jpg","text":"TemporaryFile(/tmp/multipartBody1765742112680533459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340484329,"filename":"image_05112025_17_14_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/2/ea86f271490aaac1e58e55e3b41a1dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5222679582793089726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340484329,"filename":"image_05112025_17_13_47_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/2/0750bd98ea9304116421533f13fafcd8.jpg","text":"TemporaryFile(/tmp/multipartBody1416289379410927240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340484329,"filename":"image_05112025_17_14_18_15958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ae473294526f6b4798d223a0476bbc47.jpg","text":"TemporaryFile(/tmp/multipartBody1924074838086940094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340484329,"filename":"image_05112025_17_14_02_1943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46e91c3e2f0e7d8f4d84ade4ea19e218.jpg","text":"TemporaryFile(/tmp/multipartBody59341567882644280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340484329,"filename":"image_05112025_17_13_45_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121517","file1":"1402121516","file0":"1402121493","file4":"1402121542","file5":"1402121543","file3":"1402121539"},"map_files_photo_id_array":[{"photo_id":"1402121543","filename":"file5"},{"photo_id":"1402121517","filename":"file2"},{"photo_id":"1402121542","filename":"file4"},{"photo_id":"1402121516","filename":"file1"},{"photo_id":"1402121493","filename":"file0"},{"photo_id":"1402121539","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402121517":["hashtag1","hashtag2"]},{"1402121543":["hashtag1","hashtag2"]},{"1402121516":["hashtag1","hashtag2"]},{"1402121542":["hashtag1","hashtag2"]},{"1402121539":["hashtag1","hashtag2"]},{"1402121493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402121517, 1402121543, 1402121516, 1402121542, 1402121539, 1402121493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.729407787323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 08:54:22.728270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_25_9592.jpg', '/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_34_9675.jpg', '/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_45_10648.jpg', '/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_55_9685.jpg', '/home/pi/Desktop/images/02012026/07/44/image_02012026_07_45_05_10633.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_15_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_25_9592.jpg
/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_34_9675.jpg
/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_45_10648.jpg
/home/pi/Desktop/images/02012026/07/44/image_02012026_07_44_55_9685.jpg
/home/pi/Desktop/images/02012026/07/44/image_02012026_07_45_05_10633.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_15_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402121601","1402121573","1402121681","1402121714","1402121572","1402121638"],"photo_ids_order":["1402121572","1402121573","1402121601","1402121638","1402121681","1402121714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8278128509202ebface4ec92b2ffead4.jpg","text":"TemporaryFile(/tmp/multipartBody5795977944109949495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340528350,"filename":"image_02012026_07_44_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a1ac170d0dbd3110a498efbeb059020a.jpg","text":"TemporaryFile(/tmp/multipartBody8535053395666325596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340528350,"filename":"image_02012026_07_44_34_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/2/c24ec6dc9db57e01b8e474202113e4fa.jpg","text":"TemporaryFile(/tmp/multipartBody3399542889438711645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340528350,"filename":"image_02012026_07_45_05_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/2/7af1654bc7f7ed7b5661917b53d675f4.jpg","text":"TemporaryFile(/tmp/multipartBody6584663157155683538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340528350,"filename":"image_02012026_07_45_15_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/2/b64452e91c5e76a341726257644d6247.jpg","text":"TemporaryFile(/tmp/multipartBody6456697675356118564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340528350,"filename":"image_02012026_07_44_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/2/94f96603ede5b70fcb6e4fc5129bc9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7667251196912017970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340528350,"filename":"image_02012026_07_44_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121601","file1":"1402121573","file0":"1402121572","file4":"1402121681","file5":"1402121714","file3":"1402121638"},"map_files_photo_id_array":[{"photo_id":"1402121714","filename":"file5"},{"photo_id":"1402121601","filename":"file2"},{"photo_id":"1402121681","filename":"file4"},{"photo_id":"1402121573","filename":"file1"},{"photo_id":"1402121572","filename":"file0"},{"photo_id":"1402121638","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402121601":["hashtag1","hashtag2"]},{"1402121573":["hashtag1","hashtag2"]},{"1402121681":["hashtag1","hashtag2"]},{"1402121714":["hashtag1","hashtag2"]},{"1402121572":["hashtag1","hashtag2"]},{"1402121638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402121601, 1402121573, 1402121681, 1402121714, 1402121572, 1402121638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87921476364136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:55:12.085461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_24_1683.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_26_1650.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_28_1637.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_29_1754.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_31_1551.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_33_1819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_24_1683.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_26_1650.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_28_1637.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_29_1754.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_31_1551.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_33_1819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402121748","1402121750","1402121744","1402121743","1402121752","1402121746"],"photo_ids_order":["1402121743","1402121744","1402121746","1402121748","1402121750","1402121752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d033bceb2ea7342a10b98d6cb63dc85.jpg","text":"TemporaryFile(/tmp/multipartBody7830802224739777981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340573829,"filename":"image_05112025_17_14_29_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/2/313a750b540a4929fb6bb3148be3c36d.jpg","text":"TemporaryFile(/tmp/multipartBody6873509657588593396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340573829,"filename":"image_05112025_17_14_31_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/2/ba4643557b3cd8a056edf0f00d38935c.jpg","text":"TemporaryFile(/tmp/multipartBody3497737358066216823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340573829,"filename":"image_05112025_17_14_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/2/25f8f8f5212a3275cc0ab159f98ebfef.jpg","text":"TemporaryFile(/tmp/multipartBody9135337290538222144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340573829,"filename":"image_05112025_17_14_24_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/2/26848eb87eeab14d37a0b852bb86d4bd.jpg","text":"TemporaryFile(/tmp/multipartBody2958473678475304137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340573829,"filename":"image_05112025_17_14_33_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5ed713a84739f66df0203145a72094e6.jpg","text":"TemporaryFile(/tmp/multipartBody5672200457696852839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340573829,"filename":"image_05112025_17_14_28_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121746","file1":"1402121744","file0":"1402121743","file4":"1402121750","file5":"1402121752","file3":"1402121748"},"map_files_photo_id_array":[{"photo_id":"1402121752","filename":"file5"},{"photo_id":"1402121746","filename":"file2"},{"photo_id":"1402121750","filename":"file4"},{"photo_id":"1402121744","filename":"file1"},{"photo_id":"1402121743","filename":"file0"},{"photo_id":"1402121748","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402121748":["hashtag1","hashtag2"]},{"1402121750":["hashtag1","hashtag2"]},{"1402121744":["hashtag1","hashtag2"]},{"1402121743":["hashtag1","hashtag2"]},{"1402121752":["hashtag1","hashtag2"]},{"1402121746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402121748, 1402121750, 1402121744, 1402121743, 1402121752, 1402121746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0848913192749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:56:02.829093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_25_9746.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_34_9580.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_45_10679.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_55_9536.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_46_05_10597.jpg', '/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_14_9029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_25_9746.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_34_9580.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_45_10679.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_55_9536.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_46_05_10597.jpg
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_14_9029.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5719265937805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 08:56:12.321775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_34_1600.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_36_1730.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_38_1784.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_40_1743.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_43_1772.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_45_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_34_1600.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_36_1730.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_38_1784.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_40_1743.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_43_1772.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_45_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402121818","1402121841","1402121831","1402121878","1402121872","1402121848"],"photo_ids_order":["1402121818","1402121831","1402121841","1402121848","1402121872","1402121878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0137d03c936ce03b3b9f1ca1b65dc59a.jpg","text":"TemporaryFile(/tmp/multipartBody8520499795449819931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340634077,"filename":"image_05112025_17_14_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/2/7df2e63920d84ec042590cd0de797d41.jpg","text":"TemporaryFile(/tmp/multipartBody508512004524895751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340634077,"filename":"image_05112025_17_14_38_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/2/af192c6ecb2ec5c42eadc516a4b9a97e.jpg","text":"TemporaryFile(/tmp/multipartBody1460979205019955877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340634077,"filename":"image_05112025_17_14_36_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/2/217be25fefefe2ce8e0ceb25100c8153.jpg","text":"TemporaryFile(/tmp/multipartBody2973376717183218525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340634077,"filename":"image_05112025_17_14_45_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/2/fae926a5eb867c797263445898df6782.jpg","text":"TemporaryFile(/tmp/multipartBody8265611674793770928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340634077,"filename":"image_05112025_17_14_43_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54969fcf89fc19fa5d17583db20ffdce.jpg","text":"TemporaryFile(/tmp/multipartBody6046159469726666899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340634077,"filename":"image_05112025_17_14_40_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121841","file1":"1402121831","file0":"1402121818","file4":"1402121872","file5":"1402121878","file3":"1402121848"},"map_files_photo_id_array":[{"photo_id":"1402121878","filename":"file5"},{"photo_id":"1402121841","filename":"file2"},{"photo_id":"1402121872","filename":"file4"},{"photo_id":"1402121831","filename":"file1"},{"photo_id":"1402121818","filename":"file0"},{"photo_id":"1402121848","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402121818":["hashtag1","hashtag2"]},{"1402121841":["hashtag1","hashtag2"]},{"1402121831":["hashtag1","hashtag2"]},{"1402121878":["hashtag1","hashtag2"]},{"1402121872":["hashtag1","hashtag2"]},{"1402121848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402121818, 1402121841, 1402121831, 1402121878, 1402121872, 1402121848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09872388839722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:57:03.304056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_25_9746.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_34_9580.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_45_10679.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_55_9536.jpg', '/home/pi/Desktop/images/02012026/07/45/image_02012026_07_46_05_10597.jpg', '/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_14_9029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_25_9746.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_34_9580.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_45_10679.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_45_55_9536.jpg
/home/pi/Desktop/images/02012026/07/45/image_02012026_07_46_05_10597.jpg
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_14_9029.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402122021","1402121955","1402121916","1402121913","1402121912","1402121914"],"photo_ids_order":["1402121912","1402121913","1402121914","1402121916","1402121955","1402122021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/867b58713b5ce1130ec914db4e47ee0d.jpg","text":"TemporaryFile(/tmp/multipartBody4942786626360821467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340684008,"filename":"image_02012026_07_46_14_9029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f5dedd663d77f1469c4f417665d582a.jpg","text":"TemporaryFile(/tmp/multipartBody1837194728570816485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340684008,"filename":"image_02012026_07_46_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/2/da520b190cc242d8a5df5e387bd144a0.jpg","text":"TemporaryFile(/tmp/multipartBody3501359943871682694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340684008,"filename":"image_02012026_07_45_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/2/7afd639cdb21058fbe47e211ecbf0cca.jpg","text":"TemporaryFile(/tmp/multipartBody6224228789891948252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340684008,"filename":"image_02012026_07_45_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/2/34a23b5f92639a94aee359bdec6011b6.jpg","text":"TemporaryFile(/tmp/multipartBody721417049019430093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340684008,"filename":"image_02012026_07_45_25_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/2/ed6aa4e54624a24161613a1aae7410a0.jpg","text":"TemporaryFile(/tmp/multipartBody2427004731809031154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340684008,"filename":"image_02012026_07_45_45_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402121914","file1":"1402121913","file0":"1402121912","file4":"1402121955","file5":"1402122021","file3":"1402121916"},"map_files_photo_id_array":[{"photo_id":"1402122021","filename":"file5"},{"photo_id":"1402121914","filename":"file2"},{"photo_id":"1402121955","filename":"file4"},{"photo_id":"1402121913","filename":"file1"},{"photo_id":"1402121912","filename":"file0"},{"photo_id":"1402121916","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402122021":["hashtag1","hashtag2"]},{"1402121955":["hashtag1","hashtag2"]},{"1402121916":["hashtag1","hashtag2"]},{"1402121913":["hashtag1","hashtag2"]},{"1402121912":["hashtag1","hashtag2"]},{"1402121914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402122021, 1402121955, 1402121916, 1402121913, 1402121912, 1402121914)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.65691804885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 08:59:02.853317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_25_10706.jpg', '/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_35_9681.jpg', '/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_45_9813.jpg', '/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_55_10555.jpg', '/home/pi/Desktop/images/02012026/07/46/image_02012026_07_47_05_9713.jpg', '/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_14_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_25_10706.jpg
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_35_9681.jpg
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_45_9813.jpg
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_46_55_10555.jpg
/home/pi/Desktop/images/02012026/07/46/image_02012026_07_47_05_9713.jpg
/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_14_9675.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":["1402122828","1402122977","1402123018","1402122937","1402122808","1402122901"],"photo_ids_order":["1402122808","1402122828","1402122901","1402122937","1402122977","1402123018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/997c83934d5917f8e682b95ab53e8474.jpg","text":"TemporaryFile(/tmp/multipartBody862155284659913567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340803616,"filename":"image_02012026_07_46_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/2/cb28278225267016b23e51d0bf164ef2.jpg","text":"TemporaryFile(/tmp/multipartBody3459881265898311064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340803616,"filename":"image_02012026_07_47_05_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/2/6560a28e902b68ceba528da3076aeab8.jpg","text":"TemporaryFile(/tmp/multipartBody4126280810301105044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340803616,"filename":"image_02012026_07_47_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/2/99af44a019df83626ed6e458cb8a6d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7625231653254704182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340803616,"filename":"image_02012026_07_46_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/2/1d5f88fb2d1236da1dae6037cde0d21c.jpg","text":"TemporaryFile(/tmp/multipartBody4559174611376133908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340803616,"filename":"image_02012026_07_46_25_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/2/543d71c3972990be8325f04fed06cfba.jpg","text":"TemporaryFile(/tmp/multipartBody5094969972599508822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340803616,"filename":"image_02012026_07_46_45_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402122901","file1":"1402122828","file0":"1402122808","file4":"1402122977","file5":"1402123018","file3":"1402122937"},"map_files_photo_id_array":[{"photo_id":"1402123018","filename":"file5"},{"photo_id":"1402122901","filename":"file2"},{"photo_id":"1402122977","filename":"file4"},{"photo_id":"1402122828","filename":"file1"},{"photo_id":"1402122808","filename":"file0"},{"photo_id":"1402122937","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402122828":["hashtag1","hashtag2"]},{"1402122977":["hashtag1","hashtag2"]},{"1402123018":["hashtag1","hashtag2"]},{"1402122937":["hashtag1","hashtag2"]},{"1402122808":["hashtag1","hashtag2"]},{"1402122901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402122828, 1402122977, 1402123018, 1402122937, 1402122808, 1402122901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.923136472702026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:00:02.567502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_25_10693.jpg', '/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_35_9771.jpg', '/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_45_9610.jpg', '/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_55_10705.jpg', '/home/pi/Desktop/images/02012026/07/47/image_02012026_07_48_05_9602.jpg', '/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_25_10693.jpg
/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_35_9771.jpg
/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_45_9610.jpg
/home/pi/Desktop/images/02012026/07/47/image_02012026_07_47_55_10705.jpg
/home/pi/Desktop/images/02012026/07/47/image_02012026_07_48_05_9602.jpg
/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_14_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":["1402123364","1402123367","1402123369","1402123366","1402123318","1402123368"],"photo_ids_order":["1402123318","1402123364","1402123366","1402123367","1402123368","1402123369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e41f15bd6b310852e64f1e1d2ec18ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2384780345177390975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340863220,"filename":"image_02012026_07_47_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/2/189a998e63f355a5f6c4bcc021411421.jpg","text":"TemporaryFile(/tmp/multipartBody6646611234236536093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340863220,"filename":"image_02012026_07_47_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/2/f566fa2f7b77d87cdea4655f4dcde757.jpg","text":"TemporaryFile(/tmp/multipartBody3252759453075415080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340863220,"filename":"image_02012026_07_48_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/2/34c0c34dc730f8e7613c3fed695c1761.jpg","text":"TemporaryFile(/tmp/multipartBody5543536056727983498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340863220,"filename":"image_02012026_07_47_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/2/c9ec2335a61d2234a34d5678c64626dd.jpg","text":"TemporaryFile(/tmp/multipartBody4704222034584001457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340863220,"filename":"image_02012026_07_47_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/2/b76951ac131ff5197d2f34bf603e6ead.jpg","text":"TemporaryFile(/tmp/multipartBody3773703484001160085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340863220,"filename":"image_02012026_07_48_05_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402123366","file1":"1402123364","file0":"1402123318","file4":"1402123368","file5":"1402123369","file3":"1402123367"},"map_files_photo_id_array":[{"photo_id":"1402123369","filename":"file5"},{"photo_id":"1402123366","filename":"file2"},{"photo_id":"1402123368","filename":"file4"},{"photo_id":"1402123364","filename":"file1"},{"photo_id":"1402123318","filename":"file0"},{"photo_id":"1402123367","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402123364":["hashtag1","hashtag2"]},{"1402123367":["hashtag1","hashtag2"]},{"1402123369":["hashtag1","hashtag2"]},{"1402123366":["hashtag1","hashtag2"]},{"1402123318":["hashtag1","hashtag2"]},{"1402123368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402123364, 1402123367, 1402123369, 1402123366, 1402123318, 1402123368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24299097061157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:00:42.105826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_46_1660.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_48_1730.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_50_1629.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_51_1719.jpg', '/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_53_1677.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_46_1660.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_48_1730.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_50_1629.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_51_1719.jpg
/home/pi/Desktop/images/05112025/17/14/image_05112025_17_14_53_1677.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_06_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":["1402123611","1402123574","1402123570","1402123504","1402123497","1402123530"],"photo_ids_order":["1402123497","1402123504","1402123530","1402123570","1402123574","1402123611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4a7d3fe2e8b3cc8839f5854e92309f25.jpg","text":"TemporaryFile(/tmp/multipartBody1822295613902921042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340903957,"filename":"image_05112025_17_16_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/2/36d58faddf38678e231055b5385686f7.jpg","text":"TemporaryFile(/tmp/multipartBody389583872402393934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340903957,"filename":"image_05112025_17_14_53_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/2/638441c8280ccd18189ef063b24a9344.jpg","text":"TemporaryFile(/tmp/multipartBody8300697889721070381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340903957,"filename":"image_05112025_17_14_51_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/2/18edcbc9609aeb21969bed4d16603328.jpg","text":"TemporaryFile(/tmp/multipartBody6280893128541235123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340903957,"filename":"image_05112025_17_14_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/2/fd6091ef05b005aa324ff95a3961f8d2.jpg","text":"TemporaryFile(/tmp/multipartBody6459963418235730695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340903957,"filename":"image_05112025_17_14_46_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/2/cf089bc1dd2d2702f1edba8582183e91.jpg","text":"TemporaryFile(/tmp/multipartBody3420763141793786710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340903957,"filename":"image_05112025_17_14_50_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402123530","file1":"1402123504","file0":"1402123497","file4":"1402123574","file5":"1402123611","file3":"1402123570"},"map_files_photo_id_array":[{"photo_id":"1402123611","filename":"file5"},{"photo_id":"1402123530","filename":"file2"},{"photo_id":"1402123574","filename":"file4"},{"photo_id":"1402123504","filename":"file1"},{"photo_id":"1402123497","filename":"file0"},{"photo_id":"1402123570","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402123611":["hashtag1","hashtag2"]},{"1402123574":["hashtag1","hashtag2"]},{"1402123570":["hashtag1","hashtag2"]},{"1402123504":["hashtag1","hashtag2"]},{"1402123497":["hashtag1","hashtag2"]},{"1402123530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402123611, 1402123574, 1402123570, 1402123504, 1402123497, 1402123530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.500598192214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:01:22.330781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_25_10653.jpg', '/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_35_9676.jpg', '/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_44_9608.jpg', '/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_55_10603.jpg', '/home/pi/Desktop/images/02012026/07/48/image_02012026_07_49_05_9882.jpg', '/home/pi/Desktop/images/02012026/07/49/image_02012026_07_49_15_9892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_25_10653.jpg
/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_35_9676.jpg
/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_44_9608.jpg
/home/pi/Desktop/images/02012026/07/48/image_02012026_07_48_55_10603.jpg
/home/pi/Desktop/images/02012026/07/48/image_02012026_07_49_05_9882.jpg
/home/pi/Desktop/images/02012026/07/49/image_02012026_07_49_15_9892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402123637","1402123631","1402123640","1402123621","1402123633","1402123635"],"photo_ids_order":["1402123621","1402123631","1402123633","1402123635","1402123637","1402123640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29310686736468a7b931179e945285fe.jpg","text":"TemporaryFile(/tmp/multipartBody1407284809043061939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340942957,"filename":"image_02012026_07_49_05_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/2/f5752c71098bf8203d7eed19fbb4e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4144701202992227308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340942957,"filename":"image_02012026_07_48_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/2/36f58d86d7e50f3025575571dc42e8ea.jpg","text":"TemporaryFile(/tmp/multipartBody6956286460366161469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340942957,"filename":"image_02012026_07_49_15_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/2/28d95f65ec53624bc216865281ad6757.jpg","text":"TemporaryFile(/tmp/multipartBody3771867824011418095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340942957,"filename":"image_02012026_07_48_25_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/2/307c0e417862ebf824aa8eb6f8499452.jpg","text":"TemporaryFile(/tmp/multipartBody1574455365973944187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340942957,"filename":"image_02012026_07_48_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/2/5af67be98cc1852a70bea6f2ef820550.jpg","text":"TemporaryFile(/tmp/multipartBody6999453532096463680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340942957,"filename":"image_02012026_07_48_55_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402123633","file1":"1402123631","file0":"1402123621","file4":"1402123637","file5":"1402123640","file3":"1402123635"},"map_files_photo_id_array":[{"photo_id":"1402123640","filename":"file5"},{"photo_id":"1402123633","filename":"file2"},{"photo_id":"1402123637","filename":"file4"},{"photo_id":"1402123631","filename":"file1"},{"photo_id":"1402123621","filename":"file0"},{"photo_id":"1402123635","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402123637":["hashtag1","hashtag2"]},{"1402123631":["hashtag1","hashtag2"]},{"1402123640":["hashtag1","hashtag2"]},{"1402123621":["hashtag1","hashtag2"]},{"1402123633":["hashtag1","hashtag2"]},{"1402123635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402123637, 1402123631, 1402123640, 1402123621, 1402123633, 1402123635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54580640792847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:02:02.879225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/49/image_02012026_07_49_24_9639.jpg', '/home/pi/Desktop/images/02012026/07/49/image_02012026_07_49_54_9676.jpg', '/home/pi/Desktop/images/02012026/07/49/image_02012026_07_50_05_10649.jpg', '/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_15_9599.jpg', '/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_25_9964.jpg', '/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_35_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/49/image_02012026_07_49_24_9639.jpg
/home/pi/Desktop/images/02012026/07/49/image_02012026_07_49_54_9676.jpg
/home/pi/Desktop/images/02012026/07/49/image_02012026_07_50_05_10649.jpg
/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_15_9599.jpg
/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_25_9964.jpg
/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_35_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":["1402123706","1402123717","1402123711","1402123695","1402123686","1402123731"],"photo_ids_order":["1402123686","1402123695","1402123706","1402123711","1402123717","1402123731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bc8e9f41aad85b7510726e39b7c09b6.jpg","text":"TemporaryFile(/tmp/multipartBody5625313955058229179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340983516,"filename":"image_02012026_07_50_05_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/2/a26c5bf01f3a157dc773be022fdff20a.jpg","text":"TemporaryFile(/tmp/multipartBody2721555721227439756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340983516,"filename":"image_02012026_07_50_25_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da671eeca8febfc333142446037b0858.jpg","text":"TemporaryFile(/tmp/multipartBody5274880391875828104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340983516,"filename":"image_02012026_07_50_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/2/018c4d5c9c285b5994ddd08d60d4b5c1.jpg","text":"TemporaryFile(/tmp/multipartBody7945162084192028694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340983516,"filename":"image_02012026_07_49_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/2/7079bc1074439c7deacd3a789e1d6db8.jpg","text":"TemporaryFile(/tmp/multipartBody846772559370392044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340983516,"filename":"image_02012026_07_49_24_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/2/a576f7dc746c136509bb9a8fd469227d.jpg","text":"TemporaryFile(/tmp/multipartBody1741347539905207282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767340983516,"filename":"image_02012026_07_50_35_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402123706","file1":"1402123695","file0":"1402123686","file4":"1402123717","file5":"1402123731","file3":"1402123711"},"map_files_photo_id_array":[{"photo_id":"1402123731","filename":"file5"},{"photo_id":"1402123706","filename":"file2"},{"photo_id":"1402123717","filename":"file4"},{"photo_id":"1402123695","filename":"file1"},{"photo_id":"1402123686","filename":"file0"},{"photo_id":"1402123711","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402123706":["hashtag1","hashtag2"]},{"1402123717":["hashtag1","hashtag2"]},{"1402123711":["hashtag1","hashtag2"]},{"1402123695":["hashtag1","hashtag2"]},{"1402123686":["hashtag1","hashtag2"]},{"1402123731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402123706, 1402123717, 1402123711, 1402123695, 1402123686, 1402123731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86085557937622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:02:42.420409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_10_3605.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_13_2632.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_16_3624.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_19_2622.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_25_2956.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_28_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_10_3605.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_13_2632.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_16_3624.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_19_2622.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_25_2956.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_28_3768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402123754","1402123748","1402123814","1402123756","1402123779","1402123752"],"photo_ids_order":["1402123748","1402123752","1402123754","1402123756","1402123779","1402123814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b4917ec1aaf8544b8aac42f1dd38aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7790495679478262929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341024272,"filename":"image_05112025_17_16_16_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/2/5ce931b6a074f49130f25a22cb75a801.jpg","text":"TemporaryFile(/tmp/multipartBody3908311444367686704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341024272,"filename":"image_05112025_17_16_10_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38c1fe0c04c95accf78b7213fc09f1e4.jpg","text":"TemporaryFile(/tmp/multipartBody5782002132879266429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341024272,"filename":"image_05112025_17_16_28_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/2/7863120bb3b75319bd52994262bd9033.jpg","text":"TemporaryFile(/tmp/multipartBody2819624678622431306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341024272,"filename":"image_05112025_17_16_19_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/2/89d198eb9244334e0e97c60faf5d8a77.jpg","text":"TemporaryFile(/tmp/multipartBody2119483741907316099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341024272,"filename":"image_05112025_17_16_25_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/2/79cae5864e502a8f2200715efc081b66.jpg","text":"TemporaryFile(/tmp/multipartBody2193011731677787293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341024272,"filename":"image_05112025_17_16_13_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402123754","file1":"1402123752","file0":"1402123748","file4":"1402123779","file5":"1402123814","file3":"1402123756"},"map_files_photo_id_array":[{"photo_id":"1402123814","filename":"file5"},{"photo_id":"1402123754","filename":"file2"},{"photo_id":"1402123779","filename":"file4"},{"photo_id":"1402123752","filename":"file1"},{"photo_id":"1402123748","filename":"file0"},{"photo_id":"1402123756","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402123754":["hashtag1","hashtag2"]},{"1402123748":["hashtag1","hashtag2"]},{"1402123814":["hashtag1","hashtag2"]},{"1402123756":["hashtag1","hashtag2"]},{"1402123779":["hashtag1","hashtag2"]},{"1402123752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402123754, 1402123748, 1402123814, 1402123756, 1402123779, 1402123752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55342483520508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:03:22.594969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_45_9836.jpg', '/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_55_9773.jpg', '/home/pi/Desktop/images/02012026/07/50/image_02012026_07_51_05_9698.jpg', '/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_15_10617.jpg', '/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_25_9821.jpg', '/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_35_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_45_9836.jpg
/home/pi/Desktop/images/02012026/07/50/image_02012026_07_50_55_9773.jpg
/home/pi/Desktop/images/02012026/07/50/image_02012026_07_51_05_9698.jpg
/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_15_10617.jpg
/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_25_9821.jpg
/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_35_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402124141","1402123934","1402124257","1402124067","1402124214","1402123997"],"photo_ids_order":["1402123934","1402123997","1402124067","1402124141","1402124214","1402124257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3657921c9b1a595e1a2f9acdcb853226.jpg","text":"TemporaryFile(/tmp/multipartBody3162958445822979703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341063218,"filename":"image_02012026_07_51_15_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/2/988417326b2c0c53163848c3809396f0.jpg","text":"TemporaryFile(/tmp/multipartBody4390331608550604702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341063218,"filename":"image_02012026_07_50_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/2/09be5bfcf0bb3cbc9588f9fc4e017ef9.jpg","text":"TemporaryFile(/tmp/multipartBody8796496060128936494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341063218,"filename":"image_02012026_07_51_35_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/2/a2ff728d22304338e0a099e576f845c6.jpg","text":"TemporaryFile(/tmp/multipartBody632105108732674399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341063218,"filename":"image_02012026_07_51_05_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/2/9587d4213142e25fcade358de96d0fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4716858987602864298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341063218,"filename":"image_02012026_07_51_25_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/2/71ce11c48f3699092597f6a0df0049c1.jpg","text":"TemporaryFile(/tmp/multipartBody3596016019031643232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341063218,"filename":"image_02012026_07_50_55_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402124067","file1":"1402123997","file0":"1402123934","file4":"1402124214","file5":"1402124257","file3":"1402124141"},"map_files_photo_id_array":[{"photo_id":"1402124257","filename":"file5"},{"photo_id":"1402124067","filename":"file2"},{"photo_id":"1402124214","filename":"file4"},{"photo_id":"1402123997","filename":"file1"},{"photo_id":"1402123934","filename":"file0"},{"photo_id":"1402124141","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402124141":["hashtag1","hashtag2"]},{"1402123934":["hashtag1","hashtag2"]},{"1402124257":["hashtag1","hashtag2"]},{"1402124067":["hashtag1","hashtag2"]},{"1402124214":["hashtag1","hashtag2"]},{"1402123997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402124141, 1402123934, 1402124257, 1402124067, 1402124214, 1402123997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87087416648865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:04:03.554313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_45_10634.jpg', '/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_55_9875.jpg', '/home/pi/Desktop/images/02012026/07/51/image_02012026_07_52_05_9723.jpg', '/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_15_9676.jpg', '/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_25_10556.jpg', '/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_35_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_45_10634.jpg
/home/pi/Desktop/images/02012026/07/51/image_02012026_07_51_55_9875.jpg
/home/pi/Desktop/images/02012026/07/51/image_02012026_07_52_05_9723.jpg
/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_15_9676.jpg
/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_25_10556.jpg
/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_35_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402124656","1402124542","1402124697","1402124736","1402124460","1402124616"],"photo_ids_order":["1402124460","1402124542","1402124616","1402124656","1402124697","1402124736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/066ff1af7bbdfd9052d0921d25fa533b.jpg","text":"TemporaryFile(/tmp/multipartBody7410169618185252345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341104233,"filename":"image_02012026_07_52_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/2/49fb2bcabb50dd37ccb2c533c91fa2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1556067625975861106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341104233,"filename":"image_02012026_07_51_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/2/8e25c61607102569872908e9f3d9f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3839653978666654406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341104233,"filename":"image_02012026_07_52_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/2/d86d4356bbab6ecaa3a1c68969f626dd.jpg","text":"TemporaryFile(/tmp/multipartBody3133367400780871998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341104233,"filename":"image_02012026_07_52_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/2/a7ead91f113b569c820a1b5837018376.jpg","text":"TemporaryFile(/tmp/multipartBody4901655082263325692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341104233,"filename":"image_02012026_07_51_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/2/a3b55cab33f0750c3ef4394009efe5c9.jpg","text":"TemporaryFile(/tmp/multipartBody8748806789412006247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341104233,"filename":"image_02012026_07_52_05_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402124616","file1":"1402124542","file0":"1402124460","file4":"1402124697","file5":"1402124736","file3":"1402124656"},"map_files_photo_id_array":[{"photo_id":"1402124736","filename":"file5"},{"photo_id":"1402124616","filename":"file2"},{"photo_id":"1402124697","filename":"file4"},{"photo_id":"1402124542","filename":"file1"},{"photo_id":"1402124460","filename":"file0"},{"photo_id":"1402124656","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402124656":["hashtag1","hashtag2"]},{"1402124542":["hashtag1","hashtag2"]},{"1402124697":["hashtag1","hashtag2"]},{"1402124736":["hashtag1","hashtag2"]},{"1402124460":["hashtag1","hashtag2"]},{"1402124616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402124656, 1402124542, 1402124697, 1402124736, 1402124460, 1402124616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10409164428711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:04:42.812954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_31_2608.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_34_2647.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_37_3690.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_40_2643.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_43_2618.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_46_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_31_2608.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_34_2647.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_37_3690.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_40_2643.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_43_2618.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_46_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125085","1402124924","1402124997","1402125048","1402125047","1402124873"],"photo_ids_order":["1402124873","1402124924","1402124997","1402125047","1402125048","1402125085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/408efd2b553c06c430ca326ef852a17d.jpg","text":"TemporaryFile(/tmp/multipartBody3790619541510717020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341144715,"filename":"image_05112025_17_16_46_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/2/da535fc28259dd66bfd8fec59e34f262.jpg","text":"TemporaryFile(/tmp/multipartBody3032580091386750344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341144715,"filename":"image_05112025_17_16_34_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/2/9e758ec803c1f6fdb26d4314891c3f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5008998543620698675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341144715,"filename":"image_05112025_17_16_37_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/2/5f0e11c64882b22a764e602be78b9486.jpg","text":"TemporaryFile(/tmp/multipartBody6137888331123926539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341144715,"filename":"image_05112025_17_16_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/2/3896d65f6c5e8aeb7f17aca38d212c97.jpg","text":"TemporaryFile(/tmp/multipartBody7751287263724231839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341144715,"filename":"image_05112025_17_16_40_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/2/07df7e9fd3033f06ab3bfa3eef1cb647.jpg","text":"TemporaryFile(/tmp/multipartBody4048189006788036636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341144715,"filename":"image_05112025_17_16_31_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402124997","file1":"1402124924","file0":"1402124873","file4":"1402125048","file5":"1402125085","file3":"1402125047"},"map_files_photo_id_array":[{"photo_id":"1402125085","filename":"file5"},{"photo_id":"1402124997","filename":"file2"},{"photo_id":"1402125048","filename":"file4"},{"photo_id":"1402124924","filename":"file1"},{"photo_id":"1402124873","filename":"file0"},{"photo_id":"1402125047","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125085":["hashtag1","hashtag2"]},{"1402124924":["hashtag1","hashtag2"]},{"1402124997":["hashtag1","hashtag2"]},{"1402125048":["hashtag1","hashtag2"]},{"1402125047":["hashtag1","hashtag2"]},{"1402124873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125085, 1402124924, 1402124997, 1402125048, 1402125047, 1402124873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52012538909912 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-02 09:05:31.955750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_49_2778.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_52_2889.jpg', '/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_55_2646.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_07_3012.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_11_3537.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_14_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_49_2778.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_52_2889.jpg
/home/pi/Desktop/images/05112025/17/16/image_05112025_17_16_55_2646.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_07_3012.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_11_3537.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_14_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125241","1402125235","1402125244","1402125243","1402125237","1402125245"],"photo_ids_order":["1402125235","1402125237","1402125241","1402125243","1402125244","1402125245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8fa7185d308f75379ec4079e881b84f.jpg","text":"TemporaryFile(/tmp/multipartBody609464700555457372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341193787,"filename":"image_05112025_17_16_55_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/2/701448db817286b0d965d187190ccd0c.jpg","text":"TemporaryFile(/tmp/multipartBody5826326631703103837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341193787,"filename":"image_05112025_17_16_49_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/2/be9d166bcdeb466139e9b5bd1c4231de.jpg","text":"TemporaryFile(/tmp/multipartBody8718251384861683827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341193787,"filename":"image_05112025_17_18_11_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/2/b71440d15511af7923cb197e4c1f0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6135458667297771719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341193787,"filename":"image_05112025_17_18_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/2/708c83e2d70fc52ab930ff356c3a8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3434416965835579146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341193787,"filename":"image_05112025_17_16_52_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/2/cce57cc0a891ad07a805438046274360.jpg","text":"TemporaryFile(/tmp/multipartBody1362947021093067315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341193787,"filename":"image_05112025_17_18_14_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125241","file1":"1402125237","file0":"1402125235","file4":"1402125244","file5":"1402125245","file3":"1402125243"},"map_files_photo_id_array":[{"photo_id":"1402125245","filename":"file5"},{"photo_id":"1402125241","filename":"file2"},{"photo_id":"1402125244","filename":"file4"},{"photo_id":"1402125237","filename":"file1"},{"photo_id":"1402125235","filename":"file0"},{"photo_id":"1402125243","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125241":["hashtag1","hashtag2"]},{"1402125235":["hashtag1","hashtag2"]},{"1402125244":["hashtag1","hashtag2"]},{"1402125243":["hashtag1","hashtag2"]},{"1402125237":["hashtag1","hashtag2"]},{"1402125245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125241, 1402125235, 1402125244, 1402125243, 1402125237, 1402125245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.091785192489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:06:12.137260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_17_3573.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_20_2697.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_23_2763.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_26_3611.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_38_1656.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_42_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_17_3573.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_20_2697.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_23_2763.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_26_3611.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_38_1656.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_42_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":["1402125250","1402125247","1402125256","1402125252","1402125254","1402125248"],"photo_ids_order":["1402125247","1402125248","1402125250","1402125252","1402125254","1402125256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/49543b7d2aba832f16772ec77faefaa6.jpg","text":"TemporaryFile(/tmp/multipartBody3885466842495383879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341233872,"filename":"image_05112025_17_18_23_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/2/f700dbe7ac25bf4de7500b49be982050.jpg","text":"TemporaryFile(/tmp/multipartBody6989438192157687124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341233872,"filename":"image_05112025_17_18_17_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/2/9cfc59ae7968bb32beaf1d22b8d57d90.jpg","text":"TemporaryFile(/tmp/multipartBody3172003334262860564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341233872,"filename":"image_05112025_17_18_42_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/2/a65d396a9b2261cf30bda735482c5c64.jpg","text":"TemporaryFile(/tmp/multipartBody937997644953453030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341233872,"filename":"image_05112025_17_18_26_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/2/537b8dbe1caaba9439dcf93250467aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8855921457796800252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341233872,"filename":"image_05112025_17_18_38_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/2/bfda1f74248d6ea6b64af1776a617a98.jpg","text":"TemporaryFile(/tmp/multipartBody7307539117410856250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341233872,"filename":"image_05112025_17_18_20_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125250","file1":"1402125248","file0":"1402125247","file4":"1402125254","file5":"1402125256","file3":"1402125252"},"map_files_photo_id_array":[{"photo_id":"1402125256","filename":"file5"},{"photo_id":"1402125250","filename":"file2"},{"photo_id":"1402125254","filename":"file4"},{"photo_id":"1402125248","filename":"file1"},{"photo_id":"1402125247","filename":"file0"},{"photo_id":"1402125252","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125250":["hashtag1","hashtag2"]},{"1402125247":["hashtag1","hashtag2"]},{"1402125256":["hashtag1","hashtag2"]},{"1402125252":["hashtag1","hashtag2"]},{"1402125254":["hashtag1","hashtag2"]},{"1402125248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125250, 1402125247, 1402125256, 1402125252, 1402125254, 1402125248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12149524688721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:07:03.178930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_45_10623.jpg', '/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_55_9596.jpg', '/home/pi/Desktop/images/02012026/07/52/image_02012026_07_53_05_9967.jpg', '/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_14_9574.jpg', '/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_25_10838.jpg', '/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_35_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_45_10623.jpg
/home/pi/Desktop/images/02012026/07/52/image_02012026_07_52_55_9596.jpg
/home/pi/Desktop/images/02012026/07/52/image_02012026_07_53_05_9967.jpg
/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_14_9574.jpg
/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_25_10838.jpg
/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_35_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":["1402125265","1402125262","1402125261","1402125264","1402125267","1402125263"],"photo_ids_order":["1402125261","1402125262","1402125263","1402125264","1402125265","1402125267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b9b7651c10f3b968766ca56cec7880d.jpg","text":"TemporaryFile(/tmp/multipartBody3486199687027002151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341283891,"filename":"image_02012026_07_53_25_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/2/3e4238fc11f71a4a5a59593436913cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8591582405984919347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341283891,"filename":"image_02012026_07_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/2/5b6c0bd6e309033375996acc7f9e6ae1.jpg","text":"TemporaryFile(/tmp/multipartBody5611816807410861622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341283891,"filename":"image_02012026_07_52_45_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/2/b6b9f59ee45519457543434c3446faf6.jpg","text":"TemporaryFile(/tmp/multipartBody6819440126414362407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341283891,"filename":"image_02012026_07_53_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/2/a08b3933118bc7118f14f143c033e88e.jpg","text":"TemporaryFile(/tmp/multipartBody6732218306442645078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341283891,"filename":"image_02012026_07_53_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/2/2d75361d17c91aa2ea5321c6e2eb30e2.jpg","text":"TemporaryFile(/tmp/multipartBody2662320937913907092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341283891,"filename":"image_02012026_07_53_05_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125263","file1":"1402125262","file0":"1402125261","file4":"1402125265","file5":"1402125267","file3":"1402125264"},"map_files_photo_id_array":[{"photo_id":"1402125267","filename":"file5"},{"photo_id":"1402125263","filename":"file2"},{"photo_id":"1402125265","filename":"file4"},{"photo_id":"1402125262","filename":"file1"},{"photo_id":"1402125261","filename":"file0"},{"photo_id":"1402125264","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402125265":["hashtag1","hashtag2"]},{"1402125262":["hashtag1","hashtag2"]},{"1402125261":["hashtag1","hashtag2"]},{"1402125264":["hashtag1","hashtag2"]},{"1402125267":["hashtag1","hashtag2"]},{"1402125263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402125265, 1402125262, 1402125261, 1402125264, 1402125267, 1402125263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33258628845215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:07:42.422435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_43_1639.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_47_1715.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_50_3602.jpg', '/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_53_2700.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_04_11363.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_06_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_43_1639.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_47_1715.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_50_3602.jpg
/home/pi/Desktop/images/05112025/17/18/image_05112025_17_18_53_2700.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_04_11363.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_06_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":["1402125307","1402125282","1402125279","1402125306","1402125281","1402125305"],"photo_ids_order":["1402125279","1402125281","1402125282","1402125305","1402125306","1402125307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bc2a4a5188b3856c47cec470bbe5c01d.jpg","text":"TemporaryFile(/tmp/multipartBody2052132490919836361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341324293,"filename":"image_05112025_17_19_06_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/2/be0af11a5c59aa7657506a2d81fc2d32.jpg","text":"TemporaryFile(/tmp/multipartBody9099457184546677864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341324293,"filename":"image_05112025_17_18_50_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/2/d1b87f1314f0506cf7497b7d62efb093.jpg","text":"TemporaryFile(/tmp/multipartBody1173475095876096403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341324293,"filename":"image_05112025_17_18_43_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/2/be684a749de96a51300d166eaf04e511.jpg","text":"TemporaryFile(/tmp/multipartBody471980218737674476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341324293,"filename":"image_05112025_17_19_04_11363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e1d0aa50ae7462bb0e2e952477365466.jpg","text":"TemporaryFile(/tmp/multipartBody7610002939113735166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341324293,"filename":"image_05112025_17_18_47_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/2/db0d555611d4d356373d3e39f3d8cea8.jpg","text":"TemporaryFile(/tmp/multipartBody7046328890911118125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341324293,"filename":"image_05112025_17_18_53_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125282","file1":"1402125281","file0":"1402125279","file4":"1402125306","file5":"1402125307","file3":"1402125305"},"map_files_photo_id_array":[{"photo_id":"1402125307","filename":"file5"},{"photo_id":"1402125282","filename":"file2"},{"photo_id":"1402125306","filename":"file4"},{"photo_id":"1402125281","filename":"file1"},{"photo_id":"1402125279","filename":"file0"},{"photo_id":"1402125305","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125307":["hashtag1","hashtag2"]},{"1402125282":["hashtag1","hashtag2"]},{"1402125279":["hashtag1","hashtag2"]},{"1402125306":["hashtag1","hashtag2"]},{"1402125281":["hashtag1","hashtag2"]},{"1402125305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125307, 1402125282, 1402125279, 1402125306, 1402125281, 1402125305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.631349325180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:08:22.625666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_44_9571.jpg', '/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_55_10605.jpg', '/home/pi/Desktop/images/02012026/07/53/image_02012026_07_54_05_9705.jpg', '/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_15_9825.jpg', '/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_25_10701.jpg', '/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_35_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_44_9571.jpg
/home/pi/Desktop/images/02012026/07/53/image_02012026_07_53_55_10605.jpg
/home/pi/Desktop/images/02012026/07/53/image_02012026_07_54_05_9705.jpg
/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_15_9825.jpg
/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_25_10701.jpg
/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_35_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125313","1402125309","1402125329","1402125323","1402125317","1402125311"],"photo_ids_order":["1402125309","1402125311","1402125313","1402125317","1402125323","1402125329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d3d4030b90a6ba7d00b6e9bb0cc2826f.jpg","text":"TemporaryFile(/tmp/multipartBody988797286589948437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341363279,"filename":"image_02012026_07_54_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/2/10d84168852656d9f989be4da8a5fe32.jpg","text":"TemporaryFile(/tmp/multipartBody1934343969863538369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341363279,"filename":"image_02012026_07_53_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/2/ce4a7f985aae3391c45d4743f8299ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4987523786419951544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341363279,"filename":"image_02012026_07_54_35_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/2/d6417a5562c7e4877fca0b9bc6b4d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1112683224326606276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341363279,"filename":"image_02012026_07_54_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/2/458b2498a44f87fdf4b6c83a078bb59d.jpg","text":"TemporaryFile(/tmp/multipartBody3273789322836879830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341363279,"filename":"image_02012026_07_54_15_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/2/42468cf9ed1dad759c9dd8c7fe79e213.jpg","text":"TemporaryFile(/tmp/multipartBody1632429745088204277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341363279,"filename":"image_02012026_07_53_55_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125313","file1":"1402125311","file0":"1402125309","file4":"1402125323","file5":"1402125329","file3":"1402125317"},"map_files_photo_id_array":[{"photo_id":"1402125329","filename":"file5"},{"photo_id":"1402125313","filename":"file2"},{"photo_id":"1402125323","filename":"file4"},{"photo_id":"1402125311","filename":"file1"},{"photo_id":"1402125309","filename":"file0"},{"photo_id":"1402125317","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402125313":["hashtag1","hashtag2"]},{"1402125309":["hashtag1","hashtag2"]},{"1402125329":["hashtag1","hashtag2"]},{"1402125323":["hashtag1","hashtag2"]},{"1402125317":["hashtag1","hashtag2"]},{"1402125311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402125313, 1402125309, 1402125329, 1402125323, 1402125317, 1402125311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.531009912490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:09:03.711496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_45_9681.jpg', '/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_55_10626.jpg', '/home/pi/Desktop/images/02012026/07/54/image_02012026_07_55_05_9632.jpg', '/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_14_9665.jpg', '/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_25_10644.jpg', '/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_45_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_45_9681.jpg
/home/pi/Desktop/images/02012026/07/54/image_02012026_07_54_55_10626.jpg
/home/pi/Desktop/images/02012026/07/54/image_02012026_07_55_05_9632.jpg
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_14_9665.jpg
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_25_10644.jpg
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_45_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":["1402125364","1402125358","1402125355","1402125354","1402125357","1402125356"],"photo_ids_order":["1402125354","1402125355","1402125356","1402125357","1402125358","1402125364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/14ddc9d8107bbc768569950bef8c99c0.jpg","text":"TemporaryFile(/tmp/multipartBody5982307306104845759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341404569,"filename":"image_02012026_07_55_45_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/2/7f1f21ff181a6e1c745d82c55cb43acd.jpg","text":"TemporaryFile(/tmp/multipartBody8100593995737097467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341404569,"filename":"image_02012026_07_55_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/2/34c25f972fe8410b93b9c7fb58cb7ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4422143548549147492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341404569,"filename":"image_02012026_07_54_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/2/cc25933ed96ddd21828a3ae65803aa83.jpg","text":"TemporaryFile(/tmp/multipartBody8737439263019780532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341404569,"filename":"image_02012026_07_54_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/2/90c0a7471a0d2b1b7627629271554c32.jpg","text":"TemporaryFile(/tmp/multipartBody1017866406009696529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341404569,"filename":"image_02012026_07_55_14_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/2/c3f34f5b7bd3597592f22ab4531406c7.jpg","text":"TemporaryFile(/tmp/multipartBody2481449713980519325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341404569,"filename":"image_02012026_07_55_05_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125356","file1":"1402125355","file0":"1402125354","file4":"1402125358","file5":"1402125364","file3":"1402125357"},"map_files_photo_id_array":[{"photo_id":"1402125364","filename":"file5"},{"photo_id":"1402125356","filename":"file2"},{"photo_id":"1402125358","filename":"file4"},{"photo_id":"1402125355","filename":"file1"},{"photo_id":"1402125354","filename":"file0"},{"photo_id":"1402125357","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402125364":["hashtag1","hashtag2"]},{"1402125358":["hashtag1","hashtag2"]},{"1402125355":["hashtag1","hashtag2"]},{"1402125354":["hashtag1","hashtag2"]},{"1402125357":["hashtag1","hashtag2"]},{"1402125356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402125364, 1402125358, 1402125355, 1402125354, 1402125357, 1402125356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81888818740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:09:42.911348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_08_1582.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_09_1544.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_12_1505.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_20_3672.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_23_2679.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_29_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_08_1582.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_09_1544.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_12_1505.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_20_3672.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_23_2679.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_29_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125397","1402125400","1402125399","1402125396","1402125398","1402125395"],"photo_ids_order":["1402125395","1402125396","1402125397","1402125398","1402125399","1402125400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/505db7281a14b6ebd2237e6ce54f5616.jpg","text":"TemporaryFile(/tmp/multipartBody2052018460869832018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341444781,"filename":"image_05112025_17_19_12_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ccc9e9560ea0fcf4d63d5ed252f1ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody1974158945404069536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341444781,"filename":"image_05112025_17_19_29_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/2/c0fd4defd39ac16581d74ac422592ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6088287531007252934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341444781,"filename":"image_05112025_17_19_23_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/2/8aebaa9082ea0eaa69a4a589d692e071.jpg","text":"TemporaryFile(/tmp/multipartBody7543451319135034917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341444781,"filename":"image_05112025_17_19_09_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/2/3f06fcdcb96d8d3884555a03b53b8b94.jpg","text":"TemporaryFile(/tmp/multipartBody6142774298350239203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341444781,"filename":"image_05112025_17_19_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/2/e7305bd80b5e1d2d17d8fc5ce87d9af8.jpg","text":"TemporaryFile(/tmp/multipartBody35350788807680174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341444781,"filename":"image_05112025_17_19_08_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125397","file1":"1402125396","file0":"1402125395","file4":"1402125399","file5":"1402125400","file3":"1402125398"},"map_files_photo_id_array":[{"photo_id":"1402125400","filename":"file5"},{"photo_id":"1402125397","filename":"file2"},{"photo_id":"1402125399","filename":"file4"},{"photo_id":"1402125396","filename":"file1"},{"photo_id":"1402125395","filename":"file0"},{"photo_id":"1402125398","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125397":["hashtag1","hashtag2"]},{"1402125400":["hashtag1","hashtag2"]},{"1402125399":["hashtag1","hashtag2"]},{"1402125396":["hashtag1","hashtag2"]},{"1402125398":["hashtag1","hashtag2"]},{"1402125395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125397, 1402125400, 1402125399, 1402125396, 1402125398, 1402125395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.189706325531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:10:35.906396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_32_2813.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_35_2989.jpg', '/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_38_2625.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_07_3017.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_11_3777.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_13_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_32_2813.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_35_2989.jpg
/home/pi/Desktop/images/05112025/17/19/image_05112025_17_19_38_2625.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_07_3017.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_11_3777.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_13_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125413","1402125407","1402125412","1402125415","1402125409","1402125411"],"photo_ids_order":["1402125407","1402125409","1402125411","1402125412","1402125413","1402125415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8774cd6303afaff1b7e78d9fccb03197.jpg","text":"TemporaryFile(/tmp/multipartBody801182021081951172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341501859,"filename":"image_05112025_17_21_11_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e436e7bd05395ac7468661aba8cec96a.jpg","text":"TemporaryFile(/tmp/multipartBody177470567166748102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341501859,"filename":"image_05112025_17_19_32_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/2/c64b4febdab31ba52d9052035d44a0ac.jpg","text":"TemporaryFile(/tmp/multipartBody8349730432393893955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341501859,"filename":"image_05112025_17_21_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/2/1b1edbf03c7ae7dde7fe07afd98f6212.jpg","text":"TemporaryFile(/tmp/multipartBody3895560510525966272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341501859,"filename":"image_05112025_17_21_13_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/2/ed5b9b6a2066d0f969694d64838fb67f.jpg","text":"TemporaryFile(/tmp/multipartBody8883426246646152915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341501859,"filename":"image_05112025_17_19_35_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/2/00c2999f82845033845d4ef6ec0072ec.jpg","text":"TemporaryFile(/tmp/multipartBody5980096963051586665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341501859,"filename":"image_05112025_17_19_38_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125411","file1":"1402125409","file0":"1402125407","file4":"1402125413","file5":"1402125415","file3":"1402125412"},"map_files_photo_id_array":[{"photo_id":"1402125415","filename":"file5"},{"photo_id":"1402125411","filename":"file2"},{"photo_id":"1402125413","filename":"file4"},{"photo_id":"1402125409","filename":"file1"},{"photo_id":"1402125407","filename":"file0"},{"photo_id":"1402125412","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125413":["hashtag1","hashtag2"]},{"1402125407":["hashtag1","hashtag2"]},{"1402125412":["hashtag1","hashtag2"]},{"1402125415":["hashtag1","hashtag2"]},{"1402125409":["hashtag1","hashtag2"]},{"1402125411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125413, 1402125407, 1402125412, 1402125415, 1402125409, 1402125411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60351634025574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:11:28.448542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_55_10632.jpg', '/home/pi/Desktop/images/02012026/07/55/image_02012026_07_56_05_9694.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_15_9725.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_25_9900.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_45_9609.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_55_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_55_10632.jpg
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_56_05_9694.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_15_9725.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_25_9900.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_45_9609.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_55_9826.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5092296600341797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:11:38.532797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_16_2675.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_20_3615.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_34_9114.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_36_1622.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_37_1558.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_39_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_16_2675.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_20_3615.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_34_9114.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_36_1622.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_37_1558.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_39_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125475","1402125445","1402125474","1402125456","1402125446","1402125443"],"photo_ids_order":["1402125443","1402125445","1402125446","1402125456","1402125474","1402125475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8983e9a298f57ec696adaaf0d9579a79.jpg","text":"TemporaryFile(/tmp/multipartBody7635807824303455056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341563343,"filename":"image_05112025_17_21_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/2/fb3a341745b8ac6eeb3dfb4db797818d.jpg","text":"TemporaryFile(/tmp/multipartBody6881387930026287522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341563343,"filename":"image_05112025_17_21_20_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/2/c3089e8ed8b67593e6b8f79d5514cbde.jpg","text":"TemporaryFile(/tmp/multipartBody1736711838952494800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341563343,"filename":"image_05112025_17_21_37_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/2/75cc2da2a33d287a2c9dd0dacf0360f5.jpg","text":"TemporaryFile(/tmp/multipartBody1648254802786021832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341563343,"filename":"image_05112025_17_21_36_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/2/e227ba4967da1603a2154b68367d83b8.jpg","text":"TemporaryFile(/tmp/multipartBody4541903179192425319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341563343,"filename":"image_05112025_17_21_34_9114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/48c16c6340b853cd2a2fc1f1c7498de5.jpg","text":"TemporaryFile(/tmp/multipartBody2663818747775349922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341563343,"filename":"image_05112025_17_21_16_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125446","file1":"1402125445","file0":"1402125443","file4":"1402125474","file5":"1402125475","file3":"1402125456"},"map_files_photo_id_array":[{"photo_id":"1402125475","filename":"file5"},{"photo_id":"1402125446","filename":"file2"},{"photo_id":"1402125474","filename":"file4"},{"photo_id":"1402125445","filename":"file1"},{"photo_id":"1402125443","filename":"file0"},{"photo_id":"1402125456","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125475":["hashtag1","hashtag2"]},{"1402125445":["hashtag1","hashtag2"]},{"1402125474":["hashtag1","hashtag2"]},{"1402125456":["hashtag1","hashtag2"]},{"1402125446":["hashtag1","hashtag2"]},{"1402125443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125475, 1402125445, 1402125474, 1402125456, 1402125446, 1402125443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91235423088074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:12:22.664312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_55_10632.jpg', '/home/pi/Desktop/images/02012026/07/55/image_02012026_07_56_05_9694.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_15_9725.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_25_9900.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_45_9609.jpg', '/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_55_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_55_55_10632.jpg
/home/pi/Desktop/images/02012026/07/55/image_02012026_07_56_05_9694.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_15_9725.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_25_9900.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_45_9609.jpg
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_56_55_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125556","1402125559","1402125553","1402125505","1402125555","1402125546"],"photo_ids_order":["1402125505","1402125546","1402125553","1402125555","1402125556","1402125559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/840162e5008103f0fdc0d544ee3aaf9d.jpg","text":"TemporaryFile(/tmp/multipartBody326823914709884497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341603249,"filename":"image_02012026_07_56_45_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/2/1d66562c5e39985d525ee5099b425e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6214950514712708000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341603249,"filename":"image_02012026_07_56_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/2/124aeb2867c3fabae41de29d14f0553c.jpg","text":"TemporaryFile(/tmp/multipartBody9075887076685290907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341603249,"filename":"image_02012026_07_56_15_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/2/ad05ac666533ee1e1268f27bb0926d8a.jpg","text":"TemporaryFile(/tmp/multipartBody9081590555837300288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341603249,"filename":"image_02012026_07_55_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/2/d6144af7ee44088be0635bf41f39298f.jpg","text":"TemporaryFile(/tmp/multipartBody1306164585912769381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341603249,"filename":"image_02012026_07_56_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/2/0dc03c6fb221acbf989b7b78bc46fa58.jpg","text":"TemporaryFile(/tmp/multipartBody5401246935750479743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341603249,"filename":"image_02012026_07_56_05_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125553","file1":"1402125546","file0":"1402125505","file4":"1402125556","file5":"1402125559","file3":"1402125555"},"map_files_photo_id_array":[{"photo_id":"1402125559","filename":"file5"},{"photo_id":"1402125553","filename":"file2"},{"photo_id":"1402125556","filename":"file4"},{"photo_id":"1402125546","filename":"file1"},{"photo_id":"1402125505","filename":"file0"},{"photo_id":"1402125555","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402125556":["hashtag1","hashtag2"]},{"1402125559":["hashtag1","hashtag2"]},{"1402125553":["hashtag1","hashtag2"]},{"1402125505":["hashtag1","hashtag2"]},{"1402125555":["hashtag1","hashtag2"]},{"1402125546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402125556, 1402125559, 1402125553, 1402125505, 1402125555, 1402125546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46172046661377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:13:02.616745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/56/image_02012026_07_57_04_9765.jpg', '/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_15_10795.jpg', '/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_25_9797.jpg', '/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_35_9640.jpg', '/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_44_9696.jpg', '/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_55_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/56/image_02012026_07_57_04_9765.jpg
/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_15_10795.jpg
/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_25_9797.jpg
/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_35_9640.jpg
/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_44_9696.jpg
/home/pi/Desktop/images/02012026/07/57/image_02012026_07_57_55_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":["1402125661","1402125679","1402125777","1402125666","1402125665","1402125839"],"photo_ids_order":["1402125661","1402125665","1402125666","1402125679","1402125777","1402125839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36a9146756fe6ccfe3bd0dde76877c92.jpg","text":"TemporaryFile(/tmp/multipartBody8221839137975701287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341643359,"filename":"image_02012026_07_57_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/2/653a3d58ce52fedbffe0aa93714053f2.jpg","text":"TemporaryFile(/tmp/multipartBody7018726592948843830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341643359,"filename":"image_02012026_07_57_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/2/d1f9ef7f040f7bd70bb145dc699eb2ee.jpg","text":"TemporaryFile(/tmp/multipartBody798763093655272748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341643359,"filename":"image_02012026_07_57_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/2/1748d254f6233204fe0180024073865d.jpg","text":"TemporaryFile(/tmp/multipartBody2207203435740624208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341643359,"filename":"image_02012026_07_57_25_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/2/efdaef48d491685eb2f24ff098bbbd48.jpg","text":"TemporaryFile(/tmp/multipartBody5814117417488437804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341643359,"filename":"image_02012026_07_57_15_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/2/4d07d6dafdb4870b19d0b035404ec37f.jpg","text":"TemporaryFile(/tmp/multipartBody1658274271978221151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341643359,"filename":"image_02012026_07_57_55_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125666","file1":"1402125665","file0":"1402125661","file4":"1402125777","file5":"1402125839","file3":"1402125679"},"map_files_photo_id_array":[{"photo_id":"1402125839","filename":"file5"},{"photo_id":"1402125666","filename":"file2"},{"photo_id":"1402125777","filename":"file4"},{"photo_id":"1402125665","filename":"file1"},{"photo_id":"1402125661","filename":"file0"},{"photo_id":"1402125679","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402125661":["hashtag1","hashtag2"]},{"1402125679":["hashtag1","hashtag2"]},{"1402125777":["hashtag1","hashtag2"]},{"1402125666":["hashtag1","hashtag2"]},{"1402125665":["hashtag1","hashtag2"]},{"1402125839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402125661, 1402125679, 1402125777, 1402125666, 1402125665, 1402125839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81585431098938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:13:42.046132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_41_1523.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_46_2598.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_50_3757.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_52_2668.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_55_2698.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_59_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_41_1523.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_46_2598.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_50_3757.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_52_2668.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_55_2698.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_59_3654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7362232208251953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:14:02.855732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/57/image_02012026_07_58_05_9672.jpg', '/home/pi/Desktop/images/02012026/07/58/image_02012026_07_58_14_9645.jpg', '/home/pi/Desktop/images/02012026/07/58/image_02012026_07_58_55_10638.jpg', '/home/pi/Desktop/images/02012026/07/58/image_02012026_07_59_05_9622.jpg', '/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_14_9663.jpg', '/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_24_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/57/image_02012026_07_58_05_9672.jpg
/home/pi/Desktop/images/02012026/07/58/image_02012026_07_58_14_9645.jpg
/home/pi/Desktop/images/02012026/07/58/image_02012026_07_58_55_10638.jpg
/home/pi/Desktop/images/02012026/07/58/image_02012026_07_59_05_9622.jpg
/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_14_9663.jpg
/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_24_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125961","1402125958","1402125943","1402125960","1402125963","1402125957"],"photo_ids_order":["1402125943","1402125957","1402125958","1402125960","1402125961","1402125963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3af49ccc2cd637866135df083cf39f03.jpg","text":"TemporaryFile(/tmp/multipartBody8402504579768241001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341703566,"filename":"image_02012026_07_59_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/2/b839d9fd8bba1610d4e36e9ba1ef2196.jpg","text":"TemporaryFile(/tmp/multipartBody311388044592410883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341703566,"filename":"image_02012026_07_58_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/2/b9186c0c55303775ea31fc942e754600.jpg","text":"TemporaryFile(/tmp/multipartBody3854586173577419783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341703566,"filename":"image_02012026_07_58_05_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/2/bb8a7c2b15164c1193725b52dbbe58bd.jpg","text":"TemporaryFile(/tmp/multipartBody5925058743178669107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341703566,"filename":"image_02012026_07_59_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/2/dae10da8bbd54ec81f4fca2898d138f3.jpg","text":"TemporaryFile(/tmp/multipartBody4201596143052502166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341703566,"filename":"image_02012026_07_59_24_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/81c3644a4cc6979504ddf16934f6790f.jpg","text":"TemporaryFile(/tmp/multipartBody3178255486940198339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341703566,"filename":"image_02012026_07_58_14_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125958","file1":"1402125957","file0":"1402125943","file4":"1402125961","file5":"1402125963","file3":"1402125960"},"map_files_photo_id_array":[{"photo_id":"1402125963","filename":"file5"},{"photo_id":"1402125958","filename":"file2"},{"photo_id":"1402125961","filename":"file4"},{"photo_id":"1402125957","filename":"file1"},{"photo_id":"1402125943","filename":"file0"},{"photo_id":"1402125960","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402125961":["hashtag1","hashtag2"]},{"1402125958":["hashtag1","hashtag2"]},{"1402125943":["hashtag1","hashtag2"]},{"1402125960":["hashtag1","hashtag2"]},{"1402125963":["hashtag1","hashtag2"]},{"1402125957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402125961, 1402125958, 1402125943, 1402125960, 1402125963, 1402125957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0069317817688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:14:42.198929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_41_1523.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_46_2598.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_50_3757.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_52_2668.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_55_2698.jpg', '/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_59_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_41_1523.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_46_2598.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_50_3757.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_52_2668.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_55_2698.jpg
/home/pi/Desktop/images/05112025/17/21/image_05112025_17_21_59_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402125979","1402125970","1402125981","1402125980","1402125983","1402125982"],"photo_ids_order":["1402125970","1402125979","1402125980","1402125981","1402125982","1402125983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d09a70d4059f7271475dc9790755c605.jpg","text":"TemporaryFile(/tmp/multipartBody69670643276953170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341743942,"filename":"image_05112025_17_21_46_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/2/f47536135a40ead4beb533ba6ed01598.jpg","text":"TemporaryFile(/tmp/multipartBody2308795611956204857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341743942,"filename":"image_05112025_17_21_41_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/2/589c74b98015fe0bbd133dd457f29b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1274075906456264888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341743942,"filename":"image_05112025_17_21_52_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/2/ffcec2908761c34dea80370502eb72fc.jpg","text":"TemporaryFile(/tmp/multipartBody5081407265235205202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341743942,"filename":"image_05112025_17_21_50_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/2/1362a302f02a64bf510584d5fc73ff32.jpg","text":"TemporaryFile(/tmp/multipartBody1296563542839976780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341743942,"filename":"image_05112025_17_21_59_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/2/9bcd42f02a5ad01812b5a5645eec8b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5192192493821987554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341743942,"filename":"image_05112025_17_21_55_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402125980","file1":"1402125979","file0":"1402125970","file4":"1402125982","file5":"1402125983","file3":"1402125981"},"map_files_photo_id_array":[{"photo_id":"1402125983","filename":"file5"},{"photo_id":"1402125980","filename":"file2"},{"photo_id":"1402125982","filename":"file4"},{"photo_id":"1402125979","filename":"file1"},{"photo_id":"1402125970","filename":"file0"},{"photo_id":"1402125981","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402125979":["hashtag1","hashtag2"]},{"1402125970":["hashtag1","hashtag2"]},{"1402125981":["hashtag1","hashtag2"]},{"1402125980":["hashtag1","hashtag2"]},{"1402125983":["hashtag1","hashtag2"]},{"1402125982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402125979, 1402125970, 1402125981, 1402125980, 1402125983, 1402125982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28722167015076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:15:22.492765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_35_10713.jpg', '/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_45_9593.jpg', '/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_54_9655.jpg', '/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_15_10058.jpg', '/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_35_9603.jpg', '/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_46_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_35_10713.jpg
/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_45_9593.jpg
/home/pi/Desktop/images/02012026/07/59/image_02012026_07_59_54_9655.jpg
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_15_10058.jpg
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_35_9603.jpg
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_46_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126014","1402126022","1402126016","1402125995","1402126019","1402125997"],"photo_ids_order":["1402125995","1402125997","1402126014","1402126016","1402126019","1402126022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/739880d4f97e84907368c6a0bd6cd1bc.jpg","text":"TemporaryFile(/tmp/multipartBody4107880767809375714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341783147,"filename":"image_02012026_07_59_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/2/eb9bce9fffce227e5db261611b5f1e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6878505342307650585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341783147,"filename":"image_02012026_08_00_46_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/2/826f65f9a461cfbb0a5b153083d0dd8a.jpg","text":"TemporaryFile(/tmp/multipartBody4461489491079473439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341783147,"filename":"image_02012026_08_00_15_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/2/b2ebde527ecf7cf784ec5c65c1112dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7400376053126983807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341783147,"filename":"image_02012026_07_59_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/2/e33242a9171401b61ae61a40487bba5d.jpg","text":"TemporaryFile(/tmp/multipartBody108611902497490965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341783147,"filename":"image_02012026_08_00_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/2/0ec7ec029732d37b616d567d3436a396.jpg","text":"TemporaryFile(/tmp/multipartBody9015225094868324006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341783147,"filename":"image_02012026_07_59_45_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126014","file1":"1402125997","file0":"1402125995","file4":"1402126019","file5":"1402126022","file3":"1402126016"},"map_files_photo_id_array":[{"photo_id":"1402126022","filename":"file5"},{"photo_id":"1402126014","filename":"file2"},{"photo_id":"1402126019","filename":"file4"},{"photo_id":"1402125997","filename":"file1"},{"photo_id":"1402125995","filename":"file0"},{"photo_id":"1402126016","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126014":["hashtag1","hashtag2"]},{"1402126022":["hashtag1","hashtag2"]},{"1402126016":["hashtag1","hashtag2"]},{"1402125995":["hashtag1","hashtag2"]},{"1402126019":["hashtag1","hashtag2"]},{"1402125997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126014, 1402126022, 1402126016, 1402125995, 1402126019, 1402125997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72613024711609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:16:03.313236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_55_9568.jpg', '/home/pi/Desktop/images/02012026/08/00/image_02012026_08_01_05_9620.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_16_10715.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_35_9618.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_45_9769.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_56_10897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_55_9568.jpg
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_01_05_9620.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_16_10715.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_35_9618.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_45_9769.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_56_10897.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5181355476379395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:16:12.786546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_05_4132.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_07_1596.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_42_31007.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_43_1612.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_50_1616.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_51_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_05_4132.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_07_1596.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_42_31007.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_43_1612.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_50_1616.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_51_1710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126033","1402126039","1402126026","1402126035","1402126029","1402126037"],"photo_ids_order":["1402126026","1402126029","1402126033","1402126035","1402126037","1402126039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b6df1788fca205984c5a7ce6756c120.jpg","text":"TemporaryFile(/tmp/multipartBody4303574434153518427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341834595,"filename":"image_05112025_17_22_42_31007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3374e962a56d41d4d66af7b0d985dc4c.jpg","text":"TemporaryFile(/tmp/multipartBody5289017304742115884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341834595,"filename":"image_05112025_17_22_51_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/2/92bc4b772bc5fbc002ea46b096162fee.jpg","text":"TemporaryFile(/tmp/multipartBody5942825976195427606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341834595,"filename":"image_05112025_17_22_05_4132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce848bf878d24d211af9aa24fd5455c7.jpg","text":"TemporaryFile(/tmp/multipartBody6810297580226135308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341834595,"filename":"image_05112025_17_22_43_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/2/0cd8a9dcb11378aca4fbf905853fa67e.jpg","text":"TemporaryFile(/tmp/multipartBody2695096193138899072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341834595,"filename":"image_05112025_17_22_07_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/2/0f91c49f3b90546eb746b17691d82809.jpg","text":"TemporaryFile(/tmp/multipartBody6735198042179023512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341834595,"filename":"image_05112025_17_22_50_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126033","file1":"1402126029","file0":"1402126026","file4":"1402126037","file5":"1402126039","file3":"1402126035"},"map_files_photo_id_array":[{"photo_id":"1402126039","filename":"file5"},{"photo_id":"1402126033","filename":"file2"},{"photo_id":"1402126037","filename":"file4"},{"photo_id":"1402126029","filename":"file1"},{"photo_id":"1402126026","filename":"file0"},{"photo_id":"1402126035","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126033":["hashtag1","hashtag2"]},{"1402126039":["hashtag1","hashtag2"]},{"1402126026":["hashtag1","hashtag2"]},{"1402126035":["hashtag1","hashtag2"]},{"1402126029":["hashtag1","hashtag2"]},{"1402126037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126033, 1402126039, 1402126026, 1402126035, 1402126029, 1402126037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40805506706238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-02 09:17:18.204408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_55_9568.jpg', '/home/pi/Desktop/images/02012026/08/00/image_02012026_08_01_05_9620.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_16_10715.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_35_9618.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_45_9769.jpg', '/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_56_10897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_00_55_9568.jpg
/home/pi/Desktop/images/02012026/08/00/image_02012026_08_01_05_9620.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_16_10715.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_35_9618.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_45_9769.jpg
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_01_56_10897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126048","1402126053","1402126052","1402126055","1402126049","1402126045"],"photo_ids_order":["1402126045","1402126048","1402126049","1402126052","1402126053","1402126055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcc817791d2c80a7e4dab321a0e18807.jpg","text":"TemporaryFile(/tmp/multipartBody8080047529961075049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341898911,"filename":"image_02012026_08_01_05_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/2/dcda4b6818fbea67a7bf309dd5dbf233.jpg","text":"TemporaryFile(/tmp/multipartBody6555731411870688931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341898911,"filename":"image_02012026_08_01_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/2/6ae745f7e9e003e90204bad355f5c93b.jpg","text":"TemporaryFile(/tmp/multipartBody885014452150900198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341898911,"filename":"image_02012026_08_01_35_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/2/884d1844b60cd3058f65d989f9538f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7191264798607295403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341898911,"filename":"image_02012026_08_01_56_10897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd04caa08cb686a7cf54f7b60540f427.jpg","text":"TemporaryFile(/tmp/multipartBody1705959678253375938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341898911,"filename":"image_02012026_08_01_16_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/2/0ce04f16e9aa202768317dc2bc942c92.jpg","text":"TemporaryFile(/tmp/multipartBody4197943303642479430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341898911,"filename":"image_02012026_08_00_55_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126049","file1":"1402126048","file0":"1402126045","file4":"1402126053","file5":"1402126055","file3":"1402126052"},"map_files_photo_id_array":[{"photo_id":"1402126055","filename":"file5"},{"photo_id":"1402126049","filename":"file2"},{"photo_id":"1402126053","filename":"file4"},{"photo_id":"1402126048","filename":"file1"},{"photo_id":"1402126045","filename":"file0"},{"photo_id":"1402126052","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126048":["hashtag1","hashtag2"]},{"1402126053":["hashtag1","hashtag2"]},{"1402126052":["hashtag1","hashtag2"]},{"1402126055":["hashtag1","hashtag2"]},{"1402126049":["hashtag1","hashtag2"]},{"1402126045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126048, 1402126053, 1402126052, 1402126055, 1402126049, 1402126045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.563206911087036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:18:02.400192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/01/image_02012026_08_02_05_9678.jpg', '/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_16_10139.jpg', '/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_35_9872.jpg', '/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_45_9691.jpg', '/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_56_10717.jpg', '/home/pi/Desktop/images/02012026/08/02/image_02012026_08_03_05_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/01/image_02012026_08_02_05_9678.jpg
/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_16_10139.jpg
/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_35_9872.jpg
/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_45_9691.jpg
/home/pi/Desktop/images/02012026/08/02/image_02012026_08_02_56_10717.jpg
/home/pi/Desktop/images/02012026/08/02/image_02012026_08_03_05_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":["1402126068","1402126062","1402126070","1402126064","1402126063","1402126066"],"photo_ids_order":["1402126062","1402126063","1402126064","1402126066","1402126068","1402126070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bfd1052ca4d18ed054c57b80d8b1d0dd.jpg","text":"TemporaryFile(/tmp/multipartBody8701179717811626904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341943059,"filename":"image_02012026_08_02_56_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/2/f0fb8b7dbe65f9bd0cd80e06c30dc3c1.jpg","text":"TemporaryFile(/tmp/multipartBody217799052118772758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341943059,"filename":"image_02012026_08_02_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/2/dfa2796784d6948e8c624702dda0b24e.jpg","text":"TemporaryFile(/tmp/multipartBody8868134791491581039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341943059,"filename":"image_02012026_08_03_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/2/6765c545f1a290d923be1077ad2c4229.jpg","text":"TemporaryFile(/tmp/multipartBody1920063649220892554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341943059,"filename":"image_02012026_08_02_35_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7863fa86585b0f0e7961a66ae0d8da5b.jpg","text":"TemporaryFile(/tmp/multipartBody1510935591563219729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341943059,"filename":"image_02012026_08_02_16_10139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b023d2c4f36601c910c78bb6618201da.jpg","text":"TemporaryFile(/tmp/multipartBody661349147241982748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341943059,"filename":"image_02012026_08_02_45_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126064","file1":"1402126063","file0":"1402126062","file4":"1402126068","file5":"1402126070","file3":"1402126066"},"map_files_photo_id_array":[{"photo_id":"1402126070","filename":"file5"},{"photo_id":"1402126064","filename":"file2"},{"photo_id":"1402126068","filename":"file4"},{"photo_id":"1402126063","filename":"file1"},{"photo_id":"1402126062","filename":"file0"},{"photo_id":"1402126066","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126068":["hashtag1","hashtag2"]},{"1402126062":["hashtag1","hashtag2"]},{"1402126070":["hashtag1","hashtag2"]},{"1402126064":["hashtag1","hashtag2"]},{"1402126063":["hashtag1","hashtag2"]},{"1402126066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126068, 1402126062, 1402126070, 1402126064, 1402126063, 1402126066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17210412025452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:18:42.125743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_55_1686.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_56_1859.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_58_1691.jpg', '/home/pi/Desktop/images/05112025/17/22/image_05112025_17_23_00_1530.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_01_1635.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_06_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_55_1686.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_56_1859.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_22_58_1691.jpg
/home/pi/Desktop/images/05112025/17/22/image_05112025_17_23_00_1530.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_01_1635.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_06_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":["1402126080","1402126083","1402126079","1402126082","1402126076","1402126081"],"photo_ids_order":["1402126076","1402126079","1402126080","1402126081","1402126082","1402126083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a295d850976bf913d5c2663d082e742.jpg","text":"TemporaryFile(/tmp/multipartBody8569444498585492846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341984219,"filename":"image_05112025_17_22_58_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/2/e7c3593680386c58f2ab89e9fc56ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody3312922104214657568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341984219,"filename":"image_05112025_17_23_06_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/2/19f7e7e4c83ac75be2e5d8d9a306c9e3.jpg","text":"TemporaryFile(/tmp/multipartBody4956381287735420913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341984219,"filename":"image_05112025_17_22_56_1859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd3268fecfd3cde782532794939cb20d.jpg","text":"TemporaryFile(/tmp/multipartBody2143782578759070497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341984219,"filename":"image_05112025_17_23_01_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/2/c5fa5112d224369dcb067efc3a75b2d7.jpg","text":"TemporaryFile(/tmp/multipartBody2185016006759114668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341984219,"filename":"image_05112025_17_22_55_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/2/21527deec8a2d96c21a5aa0e00a989b9.jpg","text":"TemporaryFile(/tmp/multipartBody6880787182183855843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767341984219,"filename":"image_05112025_17_23_00_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126080","file1":"1402126079","file0":"1402126076","file4":"1402126082","file5":"1402126083","file3":"1402126081"},"map_files_photo_id_array":[{"photo_id":"1402126083","filename":"file5"},{"photo_id":"1402126080","filename":"file2"},{"photo_id":"1402126082","filename":"file4"},{"photo_id":"1402126079","filename":"file1"},{"photo_id":"1402126076","filename":"file0"},{"photo_id":"1402126081","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126080":["hashtag1","hashtag2"]},{"1402126083":["hashtag1","hashtag2"]},{"1402126079":["hashtag1","hashtag2"]},{"1402126082":["hashtag1","hashtag2"]},{"1402126076":["hashtag1","hashtag2"]},{"1402126081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126080, 1402126083, 1402126079, 1402126082, 1402126076, 1402126081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.479904890060425 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-02 09:19:32.190602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_08_1667.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_09_1513.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_11_1834.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_13_1637.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_15_2181.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_17_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_08_1667.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_09_1513.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_11_1834.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_13_1637.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_15_2181.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_17_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":["1402126089","1402126098","1402126097","1402126091","1402126094","1402126096"],"photo_ids_order":["1402126089","1402126091","1402126094","1402126096","1402126097","1402126098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b2f5d5b58c0b63e6d7c04209bd0cc2d.jpg","text":"TemporaryFile(/tmp/multipartBody248062497865767187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342033928,"filename":"image_05112025_17_23_08_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/2/5d79c99b8df494aa235cf10856bfbafe.jpg","text":"TemporaryFile(/tmp/multipartBody6949458357658711761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342033928,"filename":"image_05112025_17_23_17_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/2/6004dd718a3ac53073046d30d2a674d9.jpg","text":"TemporaryFile(/tmp/multipartBody4210816232419030717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342033928,"filename":"image_05112025_17_23_15_2181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4c85b20bfb41a57a22f60133b32b8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4002156025973486057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342033928,"filename":"image_05112025_17_23_09_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/251f8dcb1666b073de6896b92e4b6471.jpg","text":"TemporaryFile(/tmp/multipartBody6442970667617641447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342033928,"filename":"image_05112025_17_23_11_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/2/950c0a5ae2cfbc76ca87a2b7ca5ee1d6.jpg","text":"TemporaryFile(/tmp/multipartBody4695047573824561670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342033928,"filename":"image_05112025_17_23_13_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126094","file1":"1402126091","file0":"1402126089","file4":"1402126097","file5":"1402126098","file3":"1402126096"},"map_files_photo_id_array":[{"photo_id":"1402126098","filename":"file5"},{"photo_id":"1402126094","filename":"file2"},{"photo_id":"1402126097","filename":"file4"},{"photo_id":"1402126091","filename":"file1"},{"photo_id":"1402126089","filename":"file0"},{"photo_id":"1402126096","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126089":["hashtag1","hashtag2"]},{"1402126098":["hashtag1","hashtag2"]},{"1402126097":["hashtag1","hashtag2"]},{"1402126091":["hashtag1","hashtag2"]},{"1402126094":["hashtag1","hashtag2"]},{"1402126096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126089, 1402126098, 1402126097, 1402126091, 1402126094, 1402126096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80052065849304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:20:12.449008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_20_1649.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_23_2510.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_26_2907.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_29_2961.jpg', '/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_41_4006.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_16_34791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_20_1649.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_23_2510.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_26_2907.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_29_2961.jpg
/home/pi/Desktop/images/05112025/17/23/image_05112025_17_23_41_4006.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_16_34791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126105","1402126107","1402126101","1402126103","1402126109","1402126099"],"photo_ids_order":["1402126099","1402126101","1402126103","1402126105","1402126107","1402126109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb660c01cadc7e79145d4c5705324b73.jpg","text":"TemporaryFile(/tmp/multipartBody8332020050687886921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342074240,"filename":"image_05112025_17_23_29_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8c1ca41971403e5d31ebcdeac50ecb29.jpg","text":"TemporaryFile(/tmp/multipartBody8276598337294263928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342074240,"filename":"image_05112025_17_23_41_4006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2c81bc9aef333cda0658d9f66a2c455e.jpg","text":"TemporaryFile(/tmp/multipartBody5372909736482257777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342074240,"filename":"image_05112025_17_23_23_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/2/4806a6b683b4e3f74dedfa6399bdbbf2.jpg","text":"TemporaryFile(/tmp/multipartBody5016484772889521007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342074240,"filename":"image_05112025_17_23_26_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6075030f1d3cddac26af861b47c0bc22.jpg","text":"TemporaryFile(/tmp/multipartBody1985807510828724769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342074240,"filename":"image_05112025_17_24_16_34791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8b99e631cdf7915fe1f44e366093ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7967880161041114922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342074240,"filename":"image_05112025_17_23_20_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126103","file1":"1402126101","file0":"1402126099","file4":"1402126107","file5":"1402126109","file3":"1402126105"},"map_files_photo_id_array":[{"photo_id":"1402126109","filename":"file5"},{"photo_id":"1402126103","filename":"file2"},{"photo_id":"1402126107","filename":"file4"},{"photo_id":"1402126101","filename":"file1"},{"photo_id":"1402126099","filename":"file0"},{"photo_id":"1402126105","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126105":["hashtag1","hashtag2"]},{"1402126107":["hashtag1","hashtag2"]},{"1402126101":["hashtag1","hashtag2"]},{"1402126103":["hashtag1","hashtag2"]},{"1402126109":["hashtag1","hashtag2"]},{"1402126099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126105, 1402126107, 1402126101, 1402126103, 1402126109, 1402126099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04198098182678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:21:03.368088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_25_9841.jpg', '/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_35_10575.jpg', '/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_45_9899.jpg', '/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_55_9733.jpg', '/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_15_9597.jpg', '/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_36_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_25_9841.jpg
/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_35_10575.jpg
/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_45_9899.jpg
/home/pi/Desktop/images/02012026/08/03/image_02012026_08_03_55_9733.jpg
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_15_9597.jpg
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_36_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":["1402126120","1402126123","1402126117","1402126122","1402126115","1402126118"],"photo_ids_order":["1402126115","1402126117","1402126118","1402126120","1402126122","1402126123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b7d59bfef8f98661d51614baa17a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody1026612098302355313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342124095,"filename":"image_02012026_08_03_55_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/2/5e6b61bee7c491efff36ad231656ef76.jpg","text":"TemporaryFile(/tmp/multipartBody5055258892822452345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342124095,"filename":"image_02012026_08_04_36_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/2/d3d6671887bd92034f746dc667ad2bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6940900387124948009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342124095,"filename":"image_02012026_08_03_35_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/2/9436d608f34ed41c0e527791fa916d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2533574965138550886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342124095,"filename":"image_02012026_08_04_15_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/2/939042597bba56127b99529200e2fc0a.jpg","text":"TemporaryFile(/tmp/multipartBody3341387258021478104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342124095,"filename":"image_02012026_08_03_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/2/aeb046dff5f82ab5fb2aa00218915c9a.jpg","text":"TemporaryFile(/tmp/multipartBody4098216472787233734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342124095,"filename":"image_02012026_08_03_45_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126118","file1":"1402126117","file0":"1402126115","file4":"1402126122","file5":"1402126123","file3":"1402126120"},"map_files_photo_id_array":[{"photo_id":"1402126123","filename":"file5"},{"photo_id":"1402126118","filename":"file2"},{"photo_id":"1402126122","filename":"file4"},{"photo_id":"1402126117","filename":"file1"},{"photo_id":"1402126115","filename":"file0"},{"photo_id":"1402126120","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126120":["hashtag1","hashtag2"]},{"1402126123":["hashtag1","hashtag2"]},{"1402126117":["hashtag1","hashtag2"]},{"1402126122":["hashtag1","hashtag2"]},{"1402126115":["hashtag1","hashtag2"]},{"1402126118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126120, 1402126123, 1402126117, 1402126122, 1402126115, 1402126118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16817259788513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:21:42.887169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_18_1573.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_21_1593.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_23_1702.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_24_1688.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_26_1630.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_28_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_18_1573.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_21_1593.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_23_1702.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_24_1688.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_26_1630.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_28_1558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126132","1402126129","1402126138","1402126140","1402126134","1402126136"],"photo_ids_order":["1402126129","1402126132","1402126134","1402126136","1402126138","1402126140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6afb7bf398c8faae4fcc2875089f4f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6620342119822091705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342164767,"filename":"image_05112025_17_24_21_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/2/f51da0b6a39e31326d3f5000d645014f.jpg","text":"TemporaryFile(/tmp/multipartBody8225464822549447025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342164767,"filename":"image_05112025_17_24_18_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/2/dda6bc28d6269f58a104670e02a301a0.jpg","text":"TemporaryFile(/tmp/multipartBody7423997389753744065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342164767,"filename":"image_05112025_17_24_26_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/2/8209369e56cb37dd2ef3d222d505d543.jpg","text":"TemporaryFile(/tmp/multipartBody6431981966180181826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342164767,"filename":"image_05112025_17_24_28_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/2/04bfc83fe09b3bdc347571812541eb17.jpg","text":"TemporaryFile(/tmp/multipartBody8826427020288124704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342164767,"filename":"image_05112025_17_24_23_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/2/e400e0e115af21ba2c5bf42daee37a80.jpg","text":"TemporaryFile(/tmp/multipartBody9047358873666961668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342164767,"filename":"image_05112025_17_24_24_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126134","file1":"1402126132","file0":"1402126129","file4":"1402126138","file5":"1402126140","file3":"1402126136"},"map_files_photo_id_array":[{"photo_id":"1402126140","filename":"file5"},{"photo_id":"1402126134","filename":"file2"},{"photo_id":"1402126138","filename":"file4"},{"photo_id":"1402126132","filename":"file1"},{"photo_id":"1402126129","filename":"file0"},{"photo_id":"1402126136","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126132":["hashtag1","hashtag2"]},{"1402126129":["hashtag1","hashtag2"]},{"1402126138":["hashtag1","hashtag2"]},{"1402126140":["hashtag1","hashtag2"]},{"1402126134":["hashtag1","hashtag2"]},{"1402126136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126132, 1402126129, 1402126138, 1402126140, 1402126134, 1402126136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64044260978699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:22:22.040808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_45_9680.jpg', '/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_55_9737.jpg', '/home/pi/Desktop/images/02012026/08/04/image_02012026_08_05_05_9655.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_25_9876.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_35_9553.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_45_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_45_9680.jpg
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_55_9737.jpg
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_05_05_9655.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_25_9876.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_35_9553.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_45_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.5175528526306152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:22:32.218969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_29_1780.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_33_1556.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_34_1761.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_36_1709.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_38_1603.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_39_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_29_1780.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_33_1556.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_34_1761.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_36_1709.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_38_1603.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_39_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":["1402126156","1402126149","1402126158","1402126152","1402126160","1402126159"],"photo_ids_order":["1402126149","1402126152","1402126156","1402126158","1402126159","1402126160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be46463e62cb9c5cbda6b64b8c676d33.jpg","text":"TemporaryFile(/tmp/multipartBody2682024937337623089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342214070,"filename":"image_05112025_17_24_34_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/2/ad9e9c577b13490dcd35268f03985193.jpg","text":"TemporaryFile(/tmp/multipartBody2126640381428127310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342214070,"filename":"image_05112025_17_24_29_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/2/6cf9ce0ab7cd61ef5da80ac8bc40833e.jpg","text":"TemporaryFile(/tmp/multipartBody5379295482322334882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342214070,"filename":"image_05112025_17_24_36_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/2/643eb91178060e09dd1eff63247cbdb9.jpg","text":"TemporaryFile(/tmp/multipartBody4581155253965995476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342214070,"filename":"image_05112025_17_24_33_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/2/e8d9d4d3d9b04d9ce0b386135f3dab1b.jpg","text":"TemporaryFile(/tmp/multipartBody1709345358749168717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342214070,"filename":"image_05112025_17_24_39_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/2/b7dd5c1859d69dd6094777577cd494fc.jpg","text":"TemporaryFile(/tmp/multipartBody4109723814260211976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342214070,"filename":"image_05112025_17_24_38_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126156","file1":"1402126152","file0":"1402126149","file4":"1402126159","file5":"1402126160","file3":"1402126158"},"map_files_photo_id_array":[{"photo_id":"1402126160","filename":"file5"},{"photo_id":"1402126156","filename":"file2"},{"photo_id":"1402126159","filename":"file4"},{"photo_id":"1402126152","filename":"file1"},{"photo_id":"1402126149","filename":"file0"},{"photo_id":"1402126158","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126156":["hashtag1","hashtag2"]},{"1402126149":["hashtag1","hashtag2"]},{"1402126158":["hashtag1","hashtag2"]},{"1402126152":["hashtag1","hashtag2"]},{"1402126160":["hashtag1","hashtag2"]},{"1402126159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126156, 1402126149, 1402126158, 1402126152, 1402126160, 1402126159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.082162380218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:23:12.292690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_41_1633.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_43_1683.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_44_1637.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_46_1547.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_47_1627.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_49_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_41_1633.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_43_1683.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_44_1637.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_46_1547.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_47_1627.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_49_1782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126168","1402126161","1402126170","1402126172","1402126166","1402126163"],"photo_ids_order":["1402126161","1402126163","1402126166","1402126168","1402126170","1402126172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84a1438e510a718c6df28c07792089db.jpg","text":"TemporaryFile(/tmp/multipartBody5627789816605952479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342254025,"filename":"image_05112025_17_24_46_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/2/1ef9d0275212509b7c7b2f2e9ef9c5e7.jpg","text":"TemporaryFile(/tmp/multipartBody9166232844809511525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342254025,"filename":"image_05112025_17_24_41_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/2/999216ddd463b3750a8295946a76b1ad.jpg","text":"TemporaryFile(/tmp/multipartBody2007779791168278788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342254025,"filename":"image_05112025_17_24_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/2/e354ead77d835edc501d61d7ea28c4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1954319436985655395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342254025,"filename":"image_05112025_17_24_49_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/2/8d7a627121155de02c7cbecafd15f050.jpg","text":"TemporaryFile(/tmp/multipartBody120670810672933079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342254025,"filename":"image_05112025_17_24_44_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/2/517f8a63d8f4cf8e5532a2024bf6f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody6795526583036716142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342254025,"filename":"image_05112025_17_24_43_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126166","file1":"1402126163","file0":"1402126161","file4":"1402126170","file5":"1402126172","file3":"1402126168"},"map_files_photo_id_array":[{"photo_id":"1402126172","filename":"file5"},{"photo_id":"1402126166","filename":"file2"},{"photo_id":"1402126170","filename":"file4"},{"photo_id":"1402126163","filename":"file1"},{"photo_id":"1402126161","filename":"file0"},{"photo_id":"1402126168","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126168":["hashtag1","hashtag2"]},{"1402126161":["hashtag1","hashtag2"]},{"1402126170":["hashtag1","hashtag2"]},{"1402126172":["hashtag1","hashtag2"]},{"1402126166":["hashtag1","hashtag2"]},{"1402126163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126168, 1402126161, 1402126170, 1402126172, 1402126166, 1402126163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74551320075989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:24:02.985026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_45_9680.jpg', '/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_55_9737.jpg', '/home/pi/Desktop/images/02012026/08/04/image_02012026_08_05_05_9655.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_25_9876.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_35_9553.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_45_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_45_9680.jpg
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_04_55_9737.jpg
/home/pi/Desktop/images/02012026/08/04/image_02012026_08_05_05_9655.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_25_9876.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_35_9553.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_45_10577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126185","1402126179","1402126178","1402126187","1402126181","1402126183"],"photo_ids_order":["1402126178","1402126179","1402126181","1402126183","1402126185","1402126187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f6d2d116f031f687a1ed29d89a98c740.jpg","text":"TemporaryFile(/tmp/multipartBody1199669245606387067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342306338,"filename":"image_02012026_08_05_35_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/2/0adeea156bd873e5e7e3980d0d955b11.jpg","text":"TemporaryFile(/tmp/multipartBody7691055203175385048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342306338,"filename":"image_02012026_08_04_55_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/2/bac064fe1e790302e1dee6e3ff6a8850.jpg","text":"TemporaryFile(/tmp/multipartBody2728658356172489361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342306338,"filename":"image_02012026_08_04_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/2/02fb329105208715b421dbbbf572db07.jpg","text":"TemporaryFile(/tmp/multipartBody1205617641805677029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342306338,"filename":"image_02012026_08_05_45_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/2/6380d6fe61d940e60918956f2a5f7b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2416758072768226353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342306338,"filename":"image_02012026_08_05_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/2/0192dae237a6dcbe1df292d90e24d17f.jpg","text":"TemporaryFile(/tmp/multipartBody618012728741936726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342306338,"filename":"image_02012026_08_05_25_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126181","file1":"1402126179","file0":"1402126178","file4":"1402126185","file5":"1402126187","file3":"1402126183"},"map_files_photo_id_array":[{"photo_id":"1402126187","filename":"file5"},{"photo_id":"1402126181","filename":"file2"},{"photo_id":"1402126185","filename":"file4"},{"photo_id":"1402126179","filename":"file1"},{"photo_id":"1402126178","filename":"file0"},{"photo_id":"1402126183","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126185":["hashtag1","hashtag2"]},{"1402126179":["hashtag1","hashtag2"]},{"1402126178":["hashtag1","hashtag2"]},{"1402126187":["hashtag1","hashtag2"]},{"1402126181":["hashtag1","hashtag2"]},{"1402126183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126185, 1402126179, 1402126178, 1402126187, 1402126181, 1402126183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69525933265686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:24:42.535495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_51_1689.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_52_1575.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_54_1792.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_56_1753.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_58_1751.jpg', '/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_06_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_51_1689.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_52_1575.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_54_1792.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_56_1753.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_58_1751.jpg
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_06_3019.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7381045818328857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:25:03.432726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_55_9612.jpg', '/home/pi/Desktop/images/02012026/08/05/image_02012026_08_06_06_10573.jpg', '/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_15_9619.jpg', '/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_25_9632.jpg', '/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_36_10590.jpg', '/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_05_55_9612.jpg
/home/pi/Desktop/images/02012026/08/05/image_02012026_08_06_06_10573.jpg
/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_15_9619.jpg
/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_25_9632.jpg
/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_36_10590.jpg
/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126201","1402126204","1402126206","1402126199","1402126202","1402126208"],"photo_ids_order":["1402126199","1402126201","1402126202","1402126204","1402126206","1402126208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e813f88e9a50f49014e240cb01970577.jpg","text":"TemporaryFile(/tmp/multipartBody2105414723468116666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342364098,"filename":"image_02012026_08_06_06_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/2/c326da659bf818604d540fd66289bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody6476924090689546985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342364098,"filename":"image_02012026_08_06_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/2/430956e937a61efb15896dc961e5982e.jpg","text":"TemporaryFile(/tmp/multipartBody4594418029825278013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342364098,"filename":"image_02012026_08_06_36_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/2/b685221052441fdb8629cb02db2382bb.jpg","text":"TemporaryFile(/tmp/multipartBody3745616681580246510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342364098,"filename":"image_02012026_08_05_55_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/2/c4e372f741354154a7d11d870a57f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody4607457682551022141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342364098,"filename":"image_02012026_08_06_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/2/18527828a0776ab21a2e6dc9f29bd117.jpg","text":"TemporaryFile(/tmp/multipartBody3539130401827611864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342364098,"filename":"image_02012026_08_06_45_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126202","file1":"1402126201","file0":"1402126199","file4":"1402126206","file5":"1402126208","file3":"1402126204"},"map_files_photo_id_array":[{"photo_id":"1402126208","filename":"file5"},{"photo_id":"1402126202","filename":"file2"},{"photo_id":"1402126206","filename":"file4"},{"photo_id":"1402126201","filename":"file1"},{"photo_id":"1402126199","filename":"file0"},{"photo_id":"1402126204","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126201":["hashtag1","hashtag2"]},{"1402126204":["hashtag1","hashtag2"]},{"1402126206":["hashtag1","hashtag2"]},{"1402126199":["hashtag1","hashtag2"]},{"1402126202":["hashtag1","hashtag2"]},{"1402126208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126201, 1402126204, 1402126206, 1402126199, 1402126202, 1402126208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66236734390259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:25:42.700968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_51_1689.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_52_1575.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_54_1792.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_56_1753.jpg', '/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_58_1751.jpg', '/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_06_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_51_1689.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_52_1575.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_54_1792.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_56_1753.jpg
/home/pi/Desktop/images/05112025/17/24/image_05112025_17_24_58_1751.jpg
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_06_3019.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126219","1402126213","1402126216","1402126218","1402126215","1402126217"],"photo_ids_order":["1402126213","1402126215","1402126216","1402126217","1402126218","1402126219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1a6628f7efab029c18e324c91197955.jpg","text":"TemporaryFile(/tmp/multipartBody3604930701830649326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342404422,"filename":"image_05112025_17_25_06_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/2/b211f865790224c965d94a7533b41e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4581731930801132144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342404422,"filename":"image_05112025_17_24_51_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/2/729593eae6c0b4410ad67cad8d0d3cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1243059224422241546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342404422,"filename":"image_05112025_17_24_54_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/268cb532a59b322cec5ee05a3f8350ac.jpg","text":"TemporaryFile(/tmp/multipartBody6764517083176407568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342404422,"filename":"image_05112025_17_24_58_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/2/4f9b65a0172ed135e78e75d77b3d0791.jpg","text":"TemporaryFile(/tmp/multipartBody3897981544333400751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342404422,"filename":"image_05112025_17_24_52_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/2/9550b7bf08e60e6fe54d611831f01dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1956425677309754371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342404422,"filename":"image_05112025_17_24_56_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126216","file1":"1402126215","file0":"1402126213","file4":"1402126218","file5":"1402126219","file3":"1402126217"},"map_files_photo_id_array":[{"photo_id":"1402126219","filename":"file5"},{"photo_id":"1402126216","filename":"file2"},{"photo_id":"1402126218","filename":"file4"},{"photo_id":"1402126215","filename":"file1"},{"photo_id":"1402126213","filename":"file0"},{"photo_id":"1402126217","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126219":["hashtag1","hashtag2"]},{"1402126213":["hashtag1","hashtag2"]},{"1402126216":["hashtag1","hashtag2"]},{"1402126218":["hashtag1","hashtag2"]},{"1402126215":["hashtag1","hashtag2"]},{"1402126217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126219, 1402126213, 1402126216, 1402126218, 1402126215, 1402126217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34014320373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:26:21.862115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_55_9677.jpg', '/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_15_9699.jpg', '/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_25_9836.jpg', '/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_35_9931.jpg', '/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_45_9771.jpg', '/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_56_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/06/image_02012026_08_06_55_9677.jpg
/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_15_9699.jpg
/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_25_9836.jpg
/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_35_9931.jpg
/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_45_9771.jpg
/home/pi/Desktop/images/02012026/08/07/image_02012026_08_07_56_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126228","1402126222","1402126230","1402126224","1402126226","1402126237"],"photo_ids_order":["1402126222","1402126224","1402126226","1402126228","1402126230","1402126237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/845fbf8fa7ef6807b3c2e7ae01b6d237.jpg","text":"TemporaryFile(/tmp/multipartBody6544606900387321278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342442478,"filename":"image_02012026_08_07_35_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/2/de569c5699be07b7fc7b5fe26305b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody5607267560733824677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342442478,"filename":"image_02012026_08_06_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/2/36948a88b239f5b7c194a54fa949b858.jpg","text":"TemporaryFile(/tmp/multipartBody371478944416853463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342442478,"filename":"image_02012026_08_07_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/2/52fda6e0321658a820013e2beee878cd.jpg","text":"TemporaryFile(/tmp/multipartBody3685732684738878006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342442478,"filename":"image_02012026_08_07_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/2/5324ee8b402e94c9a17a770e0df83606.jpg","text":"TemporaryFile(/tmp/multipartBody3354174586017324620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342442478,"filename":"image_02012026_08_07_25_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/2/0e0e2e94aa4c39248e21dabb83bfe3e5.jpg","text":"TemporaryFile(/tmp/multipartBody5467372561648755502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342442478,"filename":"image_02012026_08_07_56_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126226","file1":"1402126224","file0":"1402126222","file4":"1402126230","file5":"1402126237","file3":"1402126228"},"map_files_photo_id_array":[{"photo_id":"1402126237","filename":"file5"},{"photo_id":"1402126226","filename":"file2"},{"photo_id":"1402126230","filename":"file4"},{"photo_id":"1402126224","filename":"file1"},{"photo_id":"1402126222","filename":"file0"},{"photo_id":"1402126228","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126228":["hashtag1","hashtag2"]},{"1402126222":["hashtag1","hashtag2"]},{"1402126230":["hashtag1","hashtag2"]},{"1402126224":["hashtag1","hashtag2"]},{"1402126226":["hashtag1","hashtag2"]},{"1402126237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126228, 1402126222, 1402126230, 1402126224, 1402126226, 1402126237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52281975746155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:27:02.506232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/07/image_02012026_08_08_05_9595.jpg', '/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_15_9865.jpg', '/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_26_10652.jpg', '/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_35_9801.jpg', '/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_55_9621.jpg', '/home/pi/Desktop/images/02012026/08/08/image_02012026_08_09_06_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/07/image_02012026_08_08_05_9595.jpg
/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_15_9865.jpg
/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_26_10652.jpg
/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_35_9801.jpg
/home/pi/Desktop/images/02012026/08/08/image_02012026_08_08_55_9621.jpg
/home/pi/Desktop/images/02012026/08/08/image_02012026_08_09_06_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":["1402126240","1402126245","1402126247","1402126241","1402126238","1402126243"],"photo_ids_order":["1402126238","1402126240","1402126241","1402126243","1402126245","1402126247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c36ef26063e8fe22580e7b3944cee9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4580473210732983510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342483181,"filename":"image_02012026_08_08_15_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/2/103da7aa39a62a08fa2dbedeb6b28a92.jpg","text":"TemporaryFile(/tmp/multipartBody2629520140555620766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342483181,"filename":"image_02012026_08_08_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/2/9ee61e74c83c8866eb2334f0a1a91edb.jpg","text":"TemporaryFile(/tmp/multipartBody5739919624838043048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342483181,"filename":"image_02012026_08_09_06_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/2/4136b3415ab439f123a0cf2049dd1cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4837367640809350518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342483181,"filename":"image_02012026_08_08_26_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/2/01597a0472d5b99ee77d6718a188d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody9128407029210054313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342483181,"filename":"image_02012026_08_08_05_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/2/3f49b01bfcaf1a02882ba325d7477fad.jpg","text":"TemporaryFile(/tmp/multipartBody8272652117337171947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342483181,"filename":"image_02012026_08_08_35_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126241","file1":"1402126240","file0":"1402126238","file4":"1402126245","file5":"1402126247","file3":"1402126243"},"map_files_photo_id_array":[{"photo_id":"1402126247","filename":"file5"},{"photo_id":"1402126241","filename":"file2"},{"photo_id":"1402126245","filename":"file4"},{"photo_id":"1402126240","filename":"file1"},{"photo_id":"1402126238","filename":"file0"},{"photo_id":"1402126243","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126240":["hashtag1","hashtag2"]},{"1402126245":["hashtag1","hashtag2"]},{"1402126247":["hashtag1","hashtag2"]},{"1402126241":["hashtag1","hashtag2"]},{"1402126238":["hashtag1","hashtag2"]},{"1402126243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126240, 1402126245, 1402126247, 1402126241, 1402126238, 1402126243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0951886177063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:27:42.170048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_10_3749.jpg', '/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_36_26328.jpg', '/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_38_1691.jpg', '/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_57_19047.jpg', '/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_59_1723.jpg', '/home/pi/Desktop/images/05112025/17/26/image_05112025_17_26_01_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_10_3749.jpg
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_36_26328.jpg
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_38_1691.jpg
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_57_19047.jpg
/home/pi/Desktop/images/05112025/17/25/image_05112025_17_25_59_1723.jpg
/home/pi/Desktop/images/05112025/17/26/image_05112025_17_26_01_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":["1402126252","1402126254","1402126257","1402126256","1402126255","1402126258"],"photo_ids_order":["1402126252","1402126254","1402126255","1402126256","1402126257","1402126258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec76317e86fa257f8ca08c072a2fea56.jpg","text":"TemporaryFile(/tmp/multipartBody1519324635017148193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342524063,"filename":"image_05112025_17_25_10_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/2/1f2bb718be6f4887534aa359902772c7.jpg","text":"TemporaryFile(/tmp/multipartBody6005028686760449613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342524063,"filename":"image_05112025_17_25_36_26328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d2eb098437aba1f3b5d13506a974b95f.jpg","text":"TemporaryFile(/tmp/multipartBody2118803803230819299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342524063,"filename":"image_05112025_17_25_59_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/2/07ad09fa70a37a6715da5fcc94316705.jpg","text":"TemporaryFile(/tmp/multipartBody3512289928442665767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342524063,"filename":"image_05112025_17_25_57_19047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea003c8ea61fc5ac965046c79f3a9f27.jpg","text":"TemporaryFile(/tmp/multipartBody5226972827381102717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342524063,"filename":"image_05112025_17_25_38_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/2/4017ba81701b9cf135e535f9194fe840.jpg","text":"TemporaryFile(/tmp/multipartBody6081373984156634195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342524063,"filename":"image_05112025_17_26_01_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126255","file1":"1402126254","file0":"1402126252","file4":"1402126257","file5":"1402126258","file3":"1402126256"},"map_files_photo_id_array":[{"photo_id":"1402126258","filename":"file5"},{"photo_id":"1402126255","filename":"file2"},{"photo_id":"1402126257","filename":"file4"},{"photo_id":"1402126254","filename":"file1"},{"photo_id":"1402126252","filename":"file0"},{"photo_id":"1402126256","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126252":["hashtag1","hashtag2"]},{"1402126254":["hashtag1","hashtag2"]},{"1402126257":["hashtag1","hashtag2"]},{"1402126256":["hashtag1","hashtag2"]},{"1402126255":["hashtag1","hashtag2"]},{"1402126258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126252, 1402126254, 1402126257, 1402126256, 1402126255, 1402126258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4936957359314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:28:22.342090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/09/image_02012026_08_09_15_9692.jpg', '/home/pi/Desktop/images/02012026/08/09/image_02012026_08_09_25_9688.jpg', '/home/pi/Desktop/images/02012026/08/09/image_02012026_08_09_36_10738.jpg', '/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_16_10703.jpg', '/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_26_9909.jpg', '/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_35_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/09/image_02012026_08_09_15_9692.jpg
/home/pi/Desktop/images/02012026/08/09/image_02012026_08_09_25_9688.jpg
/home/pi/Desktop/images/02012026/08/09/image_02012026_08_09_36_10738.jpg
/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_16_10703.jpg
/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_26_9909.jpg
/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_35_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":["1402126267","1402126272","1402126269","1402126263","1402126265","1402126261"],"photo_ids_order":["1402126261","1402126263","1402126265","1402126267","1402126269","1402126272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17b27dc7363a11d18023c2e9143e7f93.jpg","text":"TemporaryFile(/tmp/multipartBody8152272367044779577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342562958,"filename":"image_02012026_08_10_16_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/2/5925c510a23e554456c045bbf122e2fc.jpg","text":"TemporaryFile(/tmp/multipartBody3386954059066310631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342562958,"filename":"image_02012026_08_10_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/2/b605242f47c8fde470e5c6da064e7d65.jpg","text":"TemporaryFile(/tmp/multipartBody4925997872112214520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342562958,"filename":"image_02012026_08_10_26_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/2/54c79d87f5ffc68ceb60c08ce95194e9.jpg","text":"TemporaryFile(/tmp/multipartBody2763623464414035584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342562958,"filename":"image_02012026_08_09_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/2/ef06f0ac41900387b0a4766b722e01e6.jpg","text":"TemporaryFile(/tmp/multipartBody6476606575819978882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342562958,"filename":"image_02012026_08_09_36_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/2/7fbb24e7f869b832b5faf2a9f34b4ec3.jpg","text":"TemporaryFile(/tmp/multipartBody4401966169051195292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342562958,"filename":"image_02012026_08_09_15_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126265","file1":"1402126263","file0":"1402126261","file4":"1402126269","file5":"1402126272","file3":"1402126267"},"map_files_photo_id_array":[{"photo_id":"1402126272","filename":"file5"},{"photo_id":"1402126265","filename":"file2"},{"photo_id":"1402126269","filename":"file4"},{"photo_id":"1402126263","filename":"file1"},{"photo_id":"1402126261","filename":"file0"},{"photo_id":"1402126267","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126267":["hashtag1","hashtag2"]},{"1402126272":["hashtag1","hashtag2"]},{"1402126269":["hashtag1","hashtag2"]},{"1402126263":["hashtag1","hashtag2"]},{"1402126265":["hashtag1","hashtag2"]},{"1402126261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126267, 1402126272, 1402126269, 1402126263, 1402126265, 1402126261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.149858236312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:29:03.481798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_45_9725.jpg', '/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_56_10731.jpg', '/home/pi/Desktop/images/02012026/08/10/image_02012026_08_11_05_9695.jpg', '/home/pi/Desktop/images/02012026/08/11/image_02012026_08_11_15_9695.jpg', '/home/pi/Desktop/images/02012026/08/11/image_02012026_08_11_25_9774.jpg', '/home/pi/Desktop/images/02012026/08/11/image_02012026_08_11_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_45_9725.jpg
/home/pi/Desktop/images/02012026/08/10/image_02012026_08_10_56_10731.jpg
/home/pi/Desktop/images/02012026/08/10/image_02012026_08_11_05_9695.jpg
/home/pi/Desktop/images/02012026/08/11/image_02012026_08_11_15_9695.jpg
/home/pi/Desktop/images/02012026/08/11/image_02012026_08_11_25_9774.jpg
/home/pi/Desktop/images/02012026/08/11/image_02012026_08_11_55_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":["1402126281","1402126275","1402126277","1402126274","1402126285","1402126279"],"photo_ids_order":["1402126274","1402126275","1402126277","1402126279","1402126281","1402126285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f8d8f168a6bff1a6def43ddb6a2f62b.jpg","text":"TemporaryFile(/tmp/multipartBody714118902374280962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342604322,"filename":"image_02012026_08_11_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/2/15e781c92f681fd9194f3d92706fd714.jpg","text":"TemporaryFile(/tmp/multipartBody5476024582377965517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342604322,"filename":"image_02012026_08_10_56_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/2/76f1fc68ef837e581518817a0008a704.jpg","text":"TemporaryFile(/tmp/multipartBody5801986858593461211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342604322,"filename":"image_02012026_08_11_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/2/6eb5ebb4ce297b51bda0b4db1545edf9.jpg","text":"TemporaryFile(/tmp/multipartBody8153965784922946174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342604322,"filename":"image_02012026_08_10_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/2/8997ff61a8ead906b88d310cd2dadf40.jpg","text":"TemporaryFile(/tmp/multipartBody6477933712888240570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342604322,"filename":"image_02012026_08_11_55_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/2/390d38174a8434c6c493fbc6dfb29cc2.jpg","text":"TemporaryFile(/tmp/multipartBody8538522660245121150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342604322,"filename":"image_02012026_08_11_15_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126277","file1":"1402126275","file0":"1402126274","file4":"1402126281","file5":"1402126285","file3":"1402126279"},"map_files_photo_id_array":[{"photo_id":"1402126285","filename":"file5"},{"photo_id":"1402126277","filename":"file2"},{"photo_id":"1402126281","filename":"file4"},{"photo_id":"1402126275","filename":"file1"},{"photo_id":"1402126274","filename":"file0"},{"photo_id":"1402126279","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126281":["hashtag1","hashtag2"]},{"1402126275":["hashtag1","hashtag2"]},{"1402126277":["hashtag1","hashtag2"]},{"1402126274":["hashtag1","hashtag2"]},{"1402126285":["hashtag1","hashtag2"]},{"1402126279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126281, 1402126275, 1402126277, 1402126274, 1402126285, 1402126279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13913178443909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:29:42.631673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_07_3018.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_13_2642.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_16_2780.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_19_3837.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_22_2663.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_25_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_07_3018.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_13_2642.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_16_2780.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_19_3837.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_22_2663.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_25_2736.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":["1402126306","1402126300","1402126303","1402126296","1402126295","1402126294"],"photo_ids_order":["1402126294","1402126295","1402126296","1402126300","1402126303","1402126306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef9ece497036e9fbb40cb798610d050c.jpg","text":"TemporaryFile(/tmp/multipartBody7487087579650611772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342644466,"filename":"image_05112025_17_27_25_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/2/ba467573898287e85b47efa8ccf39f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5102945368092326892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342644466,"filename":"image_05112025_17_27_19_3837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bab972cbfecd99217f1819e34d103970.jpg","text":"TemporaryFile(/tmp/multipartBody8302645435381677395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342644466,"filename":"image_05112025_17_27_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/2/4b0afc1853ed557a06a8b616c462d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6474954786473325573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342644466,"filename":"image_05112025_17_27_16_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6509634e88a0a585d5b73d6c3d66f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8870240084828177983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342644466,"filename":"image_05112025_17_27_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/2/f423dfee3ede6db3f7ce3d0a7130a080.jpg","text":"TemporaryFile(/tmp/multipartBody5197128584570758017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342644466,"filename":"image_05112025_17_27_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126296","file1":"1402126295","file0":"1402126294","file4":"1402126303","file5":"1402126306","file3":"1402126300"},"map_files_photo_id_array":[{"photo_id":"1402126306","filename":"file5"},{"photo_id":"1402126296","filename":"file2"},{"photo_id":"1402126303","filename":"file4"},{"photo_id":"1402126295","filename":"file1"},{"photo_id":"1402126294","filename":"file0"},{"photo_id":"1402126300","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126306":["hashtag1","hashtag2"]},{"1402126300":["hashtag1","hashtag2"]},{"1402126303":["hashtag1","hashtag2"]},{"1402126296":["hashtag1","hashtag2"]},{"1402126295":["hashtag1","hashtag2"]},{"1402126294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126306, 1402126300, 1402126303, 1402126296, 1402126295, 1402126294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.32963728904724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:31:02.678493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/11/image_02012026_08_12_06_10655.jpg', '/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_15_9802.jpg', '/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_25_9751.jpg', '/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_36_10621.jpg', '/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_45_9735.jpg', '/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_55_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/11/image_02012026_08_12_06_10655.jpg
/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_15_9802.jpg
/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_25_9751.jpg
/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_36_10621.jpg
/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_45_9735.jpg
/home/pi/Desktop/images/02012026/08/12/image_02012026_08_12_55_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126318","1402126320","1402126311","1402126314","1402126313","1402126316"],"photo_ids_order":["1402126311","1402126313","1402126314","1402126316","1402126318","1402126320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fc0bcdc54251221a9cdcd4e135319dcb.jpg","text":"TemporaryFile(/tmp/multipartBody584400004956173248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342723427,"filename":"image_02012026_08_12_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/2/8ca268f49402d9d61f81e9da36d300a4.jpg","text":"TemporaryFile(/tmp/multipartBody7776159986513631658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342723427,"filename":"image_02012026_08_12_55_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/2/d150a140047ffdc353b7b858d6e77c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3023640719518461416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342723427,"filename":"image_02012026_08_12_06_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/2/8c0aead457f112636a5c321cf63749ba.jpg","text":"TemporaryFile(/tmp/multipartBody14430605349423318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342723427,"filename":"image_02012026_08_12_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/2/d69090be5f766f47a7118373111677e3.jpg","text":"TemporaryFile(/tmp/multipartBody887943677865677215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342723427,"filename":"image_02012026_08_12_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/2/a9e9ea42d3d3512ee7939d52b372642f.jpg","text":"TemporaryFile(/tmp/multipartBody6831236871865074213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342723427,"filename":"image_02012026_08_12_36_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126314","file1":"1402126313","file0":"1402126311","file4":"1402126318","file5":"1402126320","file3":"1402126316"},"map_files_photo_id_array":[{"photo_id":"1402126320","filename":"file5"},{"photo_id":"1402126314","filename":"file2"},{"photo_id":"1402126318","filename":"file4"},{"photo_id":"1402126313","filename":"file1"},{"photo_id":"1402126311","filename":"file0"},{"photo_id":"1402126316","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126318":["hashtag1","hashtag2"]},{"1402126320":["hashtag1","hashtag2"]},{"1402126311":["hashtag1","hashtag2"]},{"1402126314":["hashtag1","hashtag2"]},{"1402126313":["hashtag1","hashtag2"]},{"1402126316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126318, 1402126320, 1402126311, 1402126314, 1402126313, 1402126316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.145644664764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:31:41.905394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_30_5341.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_34_1639.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_38_4298.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_40_1727.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_50_9949.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_51_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_30_5341.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_34_1639.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_38_4298.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_40_1727.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_50_9949.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_51_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126330","1402126327","1402126329","1402126326","1402126331","1402126328"],"photo_ids_order":["1402126326","1402126327","1402126328","1402126329","1402126330","1402126331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2e33402318cfc5bfc381a8ed34d771e.jpg","text":"TemporaryFile(/tmp/multipartBody962146138805983219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342763908,"filename":"image_05112025_17_27_50_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/2/69b972bd60c77db9ee3629447fce60bb.jpg","text":"TemporaryFile(/tmp/multipartBody1102166423256689822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342763908,"filename":"image_05112025_17_27_34_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/2/cd5a70a498f15e2ead9d6f9823c62967.jpg","text":"TemporaryFile(/tmp/multipartBody9017535681711970534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342763908,"filename":"image_05112025_17_27_40_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/2/a7d3f5fe8d3e9be304d503c5b158bddc.jpg","text":"TemporaryFile(/tmp/multipartBody31648687478074443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342763908,"filename":"image_05112025_17_27_30_5341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f85eb9eb24f14f93c28cdab225353afd.jpg","text":"TemporaryFile(/tmp/multipartBody6141873405379952473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342763908,"filename":"image_05112025_17_27_51_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/2/af17edfe55609c3483faa7ac7bc4e887.jpg","text":"TemporaryFile(/tmp/multipartBody8892933378498172596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342763908,"filename":"image_05112025_17_27_38_4298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126328","file1":"1402126327","file0":"1402126326","file4":"1402126330","file5":"1402126331","file3":"1402126329"},"map_files_photo_id_array":[{"photo_id":"1402126331","filename":"file5"},{"photo_id":"1402126328","filename":"file2"},{"photo_id":"1402126330","filename":"file4"},{"photo_id":"1402126327","filename":"file1"},{"photo_id":"1402126326","filename":"file0"},{"photo_id":"1402126329","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126330":["hashtag1","hashtag2"]},{"1402126327":["hashtag1","hashtag2"]},{"1402126329":["hashtag1","hashtag2"]},{"1402126326":["hashtag1","hashtag2"]},{"1402126331":["hashtag1","hashtag2"]},{"1402126328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126330, 1402126327, 1402126329, 1402126326, 1402126331, 1402126328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23387622833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:32:22.123304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/12/image_02012026_08_13_05_9690.jpg', '/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_16_10737.jpg', '/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_25_9708.jpg', '/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_35_9610.jpg', '/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_46_10592.jpg', '/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_55_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/12/image_02012026_08_13_05_9690.jpg
/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_16_10737.jpg
/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_25_9708.jpg
/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_35_9610.jpg
/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_46_10592.jpg
/home/pi/Desktop/images/02012026/08/13/image_02012026_08_13_55_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":["1402126479","1402126452","1402126410","1402126373","1402126514","1402126483"],"photo_ids_order":["1402126373","1402126410","1402126452","1402126479","1402126483","1402126514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a454fb38dd5e91a0553fd3ea2c8455b2.jpg","text":"TemporaryFile(/tmp/multipartBody5907917965369487476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342802751,"filename":"image_02012026_08_13_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/2/e55435797027a13e49569606b862a257.jpg","text":"TemporaryFile(/tmp/multipartBody1017407531237544394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342802751,"filename":"image_02012026_08_13_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/2/005b1e57e4c6c0b176dd02e6c3916f47.jpg","text":"TemporaryFile(/tmp/multipartBody2695661181983042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342802751,"filename":"image_02012026_08_13_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/2/b6eb92474fa848e3bd83c8dddbf9b578.jpg","text":"TemporaryFile(/tmp/multipartBody6612262592398198046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342802751,"filename":"image_02012026_08_13_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/2/5223557b23b6505a17b55c7707067a1a.jpg","text":"TemporaryFile(/tmp/multipartBody3125054112590646030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342802751,"filename":"image_02012026_08_13_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/2/fe171eaf9a6093eec409443705d2e2bb.jpg","text":"TemporaryFile(/tmp/multipartBody4882837857400358669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342802751,"filename":"image_02012026_08_13_46_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126452","file1":"1402126410","file0":"1402126373","file4":"1402126483","file5":"1402126514","file3":"1402126479"},"map_files_photo_id_array":[{"photo_id":"1402126514","filename":"file5"},{"photo_id":"1402126452","filename":"file2"},{"photo_id":"1402126483","filename":"file4"},{"photo_id":"1402126410","filename":"file1"},{"photo_id":"1402126373","filename":"file0"},{"photo_id":"1402126479","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126479":["hashtag1","hashtag2"]},{"1402126452":["hashtag1","hashtag2"]},{"1402126410":["hashtag1","hashtag2"]},{"1402126373":["hashtag1","hashtag2"]},{"1402126514":["hashtag1","hashtag2"]},{"1402126483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126479, 1402126452, 1402126410, 1402126373, 1402126514, 1402126483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99634337425232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:33:03.029453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/13/image_02012026_08_14_05_9721.jpg', '/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_16_10716.jpg', '/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_25_9613.jpg', '/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_35_9666.jpg', '/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_45_9876.jpg', '/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_56_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/13/image_02012026_08_14_05_9721.jpg
/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_16_10716.jpg
/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_25_9613.jpg
/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_35_9666.jpg
/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_45_9876.jpg
/home/pi/Desktop/images/02012026/08/14/image_02012026_08_14_56_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":["1402126564","1402126563","1402126572","1402126562","1402126567","1402126561"],"photo_ids_order":["1402126561","1402126562","1402126563","1402126564","1402126567","1402126572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5954f84b5ae72b79b0e9e88070d7967.jpg","text":"TemporaryFile(/tmp/multipartBody7148973444104765007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342843702,"filename":"image_02012026_08_14_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/2/1c82c78760c2cc4cec3232ca007db348.jpg","text":"TemporaryFile(/tmp/multipartBody4013415425353482980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342843702,"filename":"image_02012026_08_14_25_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/2/8dc0a8cddac6018c9c4e51cc4fe5b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody1775622521010949516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342843702,"filename":"image_02012026_08_14_56_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/2/fe3c44e37baf266619e5faa785ef6073.jpg","text":"TemporaryFile(/tmp/multipartBody6457594815958170841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342843702,"filename":"image_02012026_08_14_16_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/2/923b033cc6f73157474220c67a4f919e.jpg","text":"TemporaryFile(/tmp/multipartBody3672030372369529103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342843702,"filename":"image_02012026_08_14_45_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/2/b167a441e060e79155a3338506bfbbba.jpg","text":"TemporaryFile(/tmp/multipartBody3409001050236627962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342843702,"filename":"image_02012026_08_14_05_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126563","file1":"1402126562","file0":"1402126561","file4":"1402126567","file5":"1402126572","file3":"1402126564"},"map_files_photo_id_array":[{"photo_id":"1402126572","filename":"file5"},{"photo_id":"1402126563","filename":"file2"},{"photo_id":"1402126567","filename":"file4"},{"photo_id":"1402126562","filename":"file1"},{"photo_id":"1402126561","filename":"file0"},{"photo_id":"1402126564","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126564":["hashtag1","hashtag2"]},{"1402126563":["hashtag1","hashtag2"]},{"1402126572":["hashtag1","hashtag2"]},{"1402126562":["hashtag1","hashtag2"]},{"1402126567":["hashtag1","hashtag2"]},{"1402126561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126564, 1402126563, 1402126572, 1402126562, 1402126567, 1402126561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12240505218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:33:42.312034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_53_1563.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_56_1746.jpg', '/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_58_1557.jpg', '/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_01_2632.jpg', '/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_04_3736.jpg', '/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_07_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_53_1563.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_56_1746.jpg
/home/pi/Desktop/images/05112025/17/27/image_05112025_17_27_58_1557.jpg
/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_01_2632.jpg
/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_04_3736.jpg
/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_07_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126578","1402126659","1402126668","1402126623","1402126580","1402126585"],"photo_ids_order":["1402126578","1402126580","1402126585","1402126623","1402126659","1402126668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4571f11f4437ccbb5635146fe12b7dcb.jpg","text":"TemporaryFile(/tmp/multipartBody29794488978885251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342884171,"filename":"image_05112025_17_27_53_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/2/25834ccf14a7a0e4c220abe8871bf90f.jpg","text":"TemporaryFile(/tmp/multipartBody2925076538559069606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342884171,"filename":"image_05112025_17_28_04_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/2/23484db9cef22ea99f4beca90c952e11.jpg","text":"TemporaryFile(/tmp/multipartBody5143548057223134218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342884171,"filename":"image_05112025_17_28_07_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/2/022d01c94ec85b278e4ce379d4239824.jpg","text":"TemporaryFile(/tmp/multipartBody1343542426790082365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342884171,"filename":"image_05112025_17_28_01_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/2/271b022fee3d6718c5f3bbea407fa655.jpg","text":"TemporaryFile(/tmp/multipartBody5768914688772732581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342884171,"filename":"image_05112025_17_27_56_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/2/c0e93ac9e37fb86d3a88d1244f9c2952.jpg","text":"TemporaryFile(/tmp/multipartBody4477023009896153431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342884171,"filename":"image_05112025_17_27_58_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126585","file1":"1402126580","file0":"1402126578","file4":"1402126659","file5":"1402126668","file3":"1402126623"},"map_files_photo_id_array":[{"photo_id":"1402126668","filename":"file5"},{"photo_id":"1402126585","filename":"file2"},{"photo_id":"1402126659","filename":"file4"},{"photo_id":"1402126580","filename":"file1"},{"photo_id":"1402126578","filename":"file0"},{"photo_id":"1402126623","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126578":["hashtag1","hashtag2"]},{"1402126659":["hashtag1","hashtag2"]},{"1402126668":["hashtag1","hashtag2"]},{"1402126623":["hashtag1","hashtag2"]},{"1402126580":["hashtag1","hashtag2"]},{"1402126585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126578, 1402126659, 1402126668, 1402126623, 1402126580, 1402126585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37097668647766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:34:22.569276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/14/image_02012026_08_15_05_9625.jpg', '/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_15_9716.jpg', '/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_26_10716.jpg', '/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_35_9743.jpg', '/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_45_9719.jpg', '/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_56_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/14/image_02012026_08_15_05_9625.jpg
/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_15_9716.jpg
/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_26_10716.jpg
/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_35_9743.jpg
/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_45_9719.jpg
/home/pi/Desktop/images/02012026/08/15/image_02012026_08_15_56_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402126720","1402126714","1402126723","1402126718","1402126712","1402126715"],"photo_ids_order":["1402126712","1402126714","1402126715","1402126718","1402126720","1402126723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c10a78d0bc9e07be2b4ac5e9430c056b.jpg","text":"TemporaryFile(/tmp/multipartBody6863459217928045019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342923177,"filename":"image_02012026_08_15_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/2/32ddad5fce8f12a66d7f8580a6196d3c.jpg","text":"TemporaryFile(/tmp/multipartBody6175388213644604384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342923177,"filename":"image_02012026_08_15_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/2/f7dc9d253f076c81e19929268d77025a.jpg","text":"TemporaryFile(/tmp/multipartBody2994953203099452286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342923177,"filename":"image_02012026_08_15_56_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/2/83a37eb79641cc7221bbb9b844ad5662.jpg","text":"TemporaryFile(/tmp/multipartBody4379762040183633329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342923177,"filename":"image_02012026_08_15_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/2/5f1dab5b671babc01d5bc898ce84e22b.jpg","text":"TemporaryFile(/tmp/multipartBody6281529774428417378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342923177,"filename":"image_02012026_08_15_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/2/422095fb88573e13b08136c3f8e42969.jpg","text":"TemporaryFile(/tmp/multipartBody5970934207576548034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342923177,"filename":"image_02012026_08_15_26_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126715","file1":"1402126714","file0":"1402126712","file4":"1402126720","file5":"1402126723","file3":"1402126718"},"map_files_photo_id_array":[{"photo_id":"1402126723","filename":"file5"},{"photo_id":"1402126715","filename":"file2"},{"photo_id":"1402126720","filename":"file4"},{"photo_id":"1402126714","filename":"file1"},{"photo_id":"1402126712","filename":"file0"},{"photo_id":"1402126718","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126720":["hashtag1","hashtag2"]},{"1402126714":["hashtag1","hashtag2"]},{"1402126723":["hashtag1","hashtag2"]},{"1402126718":["hashtag1","hashtag2"]},{"1402126712":["hashtag1","hashtag2"]},{"1402126715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126720, 1402126714, 1402126723, 1402126718, 1402126712, 1402126715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71115064620972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:35:03.287133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/15/image_02012026_08_16_05_9693.jpg', '/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_15_9692.jpg', '/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_25_9803.jpg', '/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_36_10836.jpg', '/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_45_9777.jpg', '/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_55_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/15/image_02012026_08_16_05_9693.jpg
/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_15_9692.jpg
/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_25_9803.jpg
/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_36_10836.jpg
/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_45_9777.jpg
/home/pi/Desktop/images/02012026/08/16/image_02012026_08_16_55_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":["1402126785","1402126752","1402126725","1402126799","1402126766","1402126796"],"photo_ids_order":["1402126725","1402126752","1402126766","1402126785","1402126796","1402126799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6fffa0c9d4514387dec51e7dd32b516.jpg","text":"TemporaryFile(/tmp/multipartBody7667752596480594965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342963985,"filename":"image_02012026_08_16_36_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cc289a8129d8815709534cb0601f65fb.jpg","text":"TemporaryFile(/tmp/multipartBody8255334804189491057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342963985,"filename":"image_02012026_08_16_15_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/2/eecd287d597f0bbea2e8d78f1289eea1.jpg","text":"TemporaryFile(/tmp/multipartBody1704018206211677825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342963985,"filename":"image_02012026_08_16_05_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/2/17c0efcf20c8bfe8328708a9ab552dab.jpg","text":"TemporaryFile(/tmp/multipartBody8628638881447617890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342963985,"filename":"image_02012026_08_16_55_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/2/b24e84fe600dd6c3343a656634cdaa3c.jpg","text":"TemporaryFile(/tmp/multipartBody46549076172048377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342963985,"filename":"image_02012026_08_16_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/2/f08bed3b5a3190968ec5061c66cd747e.jpg","text":"TemporaryFile(/tmp/multipartBody6160963463414349104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767342963985,"filename":"image_02012026_08_16_45_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126766","file1":"1402126752","file0":"1402126725","file4":"1402126796","file5":"1402126799","file3":"1402126785"},"map_files_photo_id_array":[{"photo_id":"1402126799","filename":"file5"},{"photo_id":"1402126766","filename":"file2"},{"photo_id":"1402126796","filename":"file4"},{"photo_id":"1402126752","filename":"file1"},{"photo_id":"1402126725","filename":"file0"},{"photo_id":"1402126785","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402126785":["hashtag1","hashtag2"]},{"1402126752":["hashtag1","hashtag2"]},{"1402126725":["hashtag1","hashtag2"]},{"1402126799":["hashtag1","hashtag2"]},{"1402126766":["hashtag1","hashtag2"]},{"1402126796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402126785, 1402126752, 1402126725, 1402126799, 1402126766, 1402126796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.921215772628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:35:42.715952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_12_5021.jpg', '/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_14_1825.jpg', '/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_44_30056.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_08_3019.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_11_3685.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_14_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_12_5021.jpg
/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_14_1825.jpg
/home/pi/Desktop/images/05112025/17/28/image_05112025_17_28_44_30056.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_08_3019.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_11_3685.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_14_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":["1402126983","1402126868","1402126829","1402127065","1402126984","1402127029"],"photo_ids_order":["1402126829","1402126868","1402126983","1402126984","1402127029","1402127065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0af8ee326691805ca09c559a5343b36a.jpg","text":"TemporaryFile(/tmp/multipartBody3243243575686810124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343004582,"filename":"image_05112025_17_28_44_30056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/56de0be2a43eec24a2a53de5321bc34c.jpg","text":"TemporaryFile(/tmp/multipartBody6972720494450064495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343004582,"filename":"image_05112025_17_28_14_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cfcad8da8b0d416a8c61c011fab518d.jpg","text":"TemporaryFile(/tmp/multipartBody606687833206802239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343004582,"filename":"image_05112025_17_28_12_5021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26be724f66f87a158c6e6d8120ee8f42.jpg","text":"TemporaryFile(/tmp/multipartBody6220675563278531708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343004582,"filename":"image_05112025_17_30_14_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/2/14b22505e4caf305284f011ff526c412.jpg","text":"TemporaryFile(/tmp/multipartBody6220177615863725863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343004582,"filename":"image_05112025_17_30_08_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/2/aacc4a46ce7d3305fd4c37c37d2516a9.jpg","text":"TemporaryFile(/tmp/multipartBody297866111650890910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343004582,"filename":"image_05112025_17_30_11_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402126983","file1":"1402126868","file0":"1402126829","file4":"1402127029","file5":"1402127065","file3":"1402126984"},"map_files_photo_id_array":[{"photo_id":"1402127065","filename":"file5"},{"photo_id":"1402126983","filename":"file2"},{"photo_id":"1402127029","filename":"file4"},{"photo_id":"1402126868","filename":"file1"},{"photo_id":"1402126829","filename":"file0"},{"photo_id":"1402126984","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402126983":["hashtag1","hashtag2"]},{"1402126868":["hashtag1","hashtag2"]},{"1402126829":["hashtag1","hashtag2"]},{"1402127065":["hashtag1","hashtag2"]},{"1402126984":["hashtag1","hashtag2"]},{"1402127029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402126983, 1402126868, 1402126829, 1402127065, 1402126984, 1402127029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.406343936920166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:36:21.899464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/16/image_02012026_08_17_05_9654.jpg', '/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_16_10836.jpg', '/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_26_9716.jpg', '/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_35_9835.jpg', '/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_45_9646.jpg', '/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_56_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/16/image_02012026_08_17_05_9654.jpg
/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_16_10836.jpg
/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_26_9716.jpg
/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_35_9835.jpg
/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_45_9646.jpg
/home/pi/Desktop/images/02012026/08/17/image_02012026_08_17_56_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402127133","1402127139","1402127144","1402127141","1402127135","1402127137"],"photo_ids_order":["1402127133","1402127135","1402127137","1402127139","1402127141","1402127144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3171b2f7068d20a71c18b5a8218be44d.jpg","text":"TemporaryFile(/tmp/multipartBody6694642341633296615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343042520,"filename":"image_02012026_08_17_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/2/ae71d34fb680c646b9358c866b4dd88b.jpg","text":"TemporaryFile(/tmp/multipartBody569381438198794421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343042520,"filename":"image_02012026_08_17_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/2/caf6659c7d334bd6972a839602a6db18.jpg","text":"TemporaryFile(/tmp/multipartBody7573309872564852203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343042520,"filename":"image_02012026_08_17_56_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/2/32cf56c8e45a5899a4b846547b9a1931.jpg","text":"TemporaryFile(/tmp/multipartBody5021269958753949084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343042520,"filename":"image_02012026_08_17_45_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/2/873fff43150439a7be7c0f9a001c2a91.jpg","text":"TemporaryFile(/tmp/multipartBody1029511564771568064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343042520,"filename":"image_02012026_08_17_16_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/2/5450faac8efb0b9ef19ec73485cd6199.jpg","text":"TemporaryFile(/tmp/multipartBody8071720364063873553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343042520,"filename":"image_02012026_08_17_26_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127137","file1":"1402127135","file0":"1402127133","file4":"1402127141","file5":"1402127144","file3":"1402127139"},"map_files_photo_id_array":[{"photo_id":"1402127144","filename":"file5"},{"photo_id":"1402127137","filename":"file2"},{"photo_id":"1402127141","filename":"file4"},{"photo_id":"1402127135","filename":"file1"},{"photo_id":"1402127133","filename":"file0"},{"photo_id":"1402127139","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402127133":["hashtag1","hashtag2"]},{"1402127139":["hashtag1","hashtag2"]},{"1402127144":["hashtag1","hashtag2"]},{"1402127141":["hashtag1","hashtag2"]},{"1402127135":["hashtag1","hashtag2"]},{"1402127137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402127133, 1402127139, 1402127144, 1402127141, 1402127135, 1402127137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.922666788101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:37:02.767253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/17/image_02012026_08_18_05_9691.jpg', '/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_15_9812.jpg', '/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_25_9824.jpg', '/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_36_10683.jpg', '/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_45_9732.jpg', '/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_55_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/17/image_02012026_08_18_05_9691.jpg
/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_15_9812.jpg
/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_25_9824.jpg
/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_36_10683.jpg
/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_45_9732.jpg
/home/pi/Desktop/images/02012026/08/18/image_02012026_08_18_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":["1402127154","1402127163","1402127156","1402127165","1402127168","1402127158"],"photo_ids_order":["1402127154","1402127156","1402127158","1402127163","1402127165","1402127168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5b6032aa967fb7c7062c02b28661698c.jpg","text":"TemporaryFile(/tmp/multipartBody4028226774815283332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343083454,"filename":"image_02012026_08_18_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/2/71ddf2422c3c8db2b015e697ba51f7a9.jpg","text":"TemporaryFile(/tmp/multipartBody5142310890416475397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343083454,"filename":"image_02012026_08_18_36_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/2/08618fe2bd1d1cd7dca3a93f403448a3.jpg","text":"TemporaryFile(/tmp/multipartBody2894220539621740010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343083454,"filename":"image_02012026_08_18_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/2/43058ff817a1f719da638b0bd79fd354.jpg","text":"TemporaryFile(/tmp/multipartBody2106199391140382125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343083454,"filename":"image_02012026_08_18_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/2/381b8fcc9cd7b2a3e2af3dbe82cfbf24.jpg","text":"TemporaryFile(/tmp/multipartBody702071575224339899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343083454,"filename":"image_02012026_08_18_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/2/fd90cdcdbe54009f6dfbe2a8adeee43a.jpg","text":"TemporaryFile(/tmp/multipartBody1896488963566070087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343083454,"filename":"image_02012026_08_18_25_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127158","file1":"1402127156","file0":"1402127154","file4":"1402127165","file5":"1402127168","file3":"1402127163"},"map_files_photo_id_array":[{"photo_id":"1402127168","filename":"file5"},{"photo_id":"1402127158","filename":"file2"},{"photo_id":"1402127165","filename":"file4"},{"photo_id":"1402127156","filename":"file1"},{"photo_id":"1402127154","filename":"file0"},{"photo_id":"1402127163","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402127154":["hashtag1","hashtag2"]},{"1402127163":["hashtag1","hashtag2"]},{"1402127156":["hashtag1","hashtag2"]},{"1402127165":["hashtag1","hashtag2"]},{"1402127168":["hashtag1","hashtag2"]},{"1402127158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402127154, 1402127163, 1402127156, 1402127165, 1402127168, 1402127158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4919331073761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:37:42.224477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_17_3665.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_20_2647.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_23_2639.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_26_3680.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_31_4391.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_32_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_17_3665.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_20_2647.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_23_2639.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_26_3680.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_31_4391.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_32_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":["1402127178","1402127180","1402127177","1402127182","1402127176","1402127179"],"photo_ids_order":["1402127176","1402127177","1402127178","1402127179","1402127180","1402127182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98dbe833da3488dbf69b4ab566cd04a4.jpg","text":"TemporaryFile(/tmp/multipartBody5066942006195946422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343124071,"filename":"image_05112025_17_30_23_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/2/5d8808f642444adfd82e2e2137f22ee1.jpg","text":"TemporaryFile(/tmp/multipartBody8316339389984634008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343124071,"filename":"image_05112025_17_30_31_4391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/609f95fccbc90f9238d3d96906939af9.jpg","text":"TemporaryFile(/tmp/multipartBody2899342076391565884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343124071,"filename":"image_05112025_17_30_20_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/2/3bbc51afb03a4bafb4c17eaf830995b7.jpg","text":"TemporaryFile(/tmp/multipartBody7978000462467995367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343124071,"filename":"image_05112025_17_30_32_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/2/6aca98e46eff380274880fadf1810a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7921907280283657765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343124071,"filename":"image_05112025_17_30_17_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/2/36d92d2a3c0eebcf0e5c4c8ab892721d.jpg","text":"TemporaryFile(/tmp/multipartBody3878873229676108600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343124071,"filename":"image_05112025_17_30_26_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127178","file1":"1402127177","file0":"1402127176","file4":"1402127180","file5":"1402127182","file3":"1402127179"},"map_files_photo_id_array":[{"photo_id":"1402127182","filename":"file5"},{"photo_id":"1402127178","filename":"file2"},{"photo_id":"1402127180","filename":"file4"},{"photo_id":"1402127177","filename":"file1"},{"photo_id":"1402127176","filename":"file0"},{"photo_id":"1402127179","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402127178":["hashtag1","hashtag2"]},{"1402127180":["hashtag1","hashtag2"]},{"1402127177":["hashtag1","hashtag2"]},{"1402127182":["hashtag1","hashtag2"]},{"1402127176":["hashtag1","hashtag2"]},{"1402127179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402127178, 1402127180, 1402127177, 1402127182, 1402127176, 1402127179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.839730978012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:38:22.481916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/18/image_02012026_08_19_05_9847.jpg', '/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_16_10680.jpg', '/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_25_9804.jpg', '/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_35_9652.jpg', '/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_45_9767.jpg', '/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/18/image_02012026_08_19_05_9847.jpg
/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_16_10680.jpg
/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_25_9804.jpg
/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_35_9652.jpg
/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_45_9767.jpg
/home/pi/Desktop/images/02012026/08/19/image_02012026_08_19_55_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402127200","1402127190","1402127193","1402127186","1402127188","1402127196"],"photo_ids_order":["1402127186","1402127188","1402127190","1402127193","1402127196","1402127200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f07aaea893275714458a772a03cfb5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4871708895442436514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343163109,"filename":"image_02012026_08_19_55_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/2/9da5ec6cfc34dc43481767800787a4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4684028398588747616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343163109,"filename":"image_02012026_08_19_25_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/2/25d11dce693f08c7cbc30b672d024be3.jpg","text":"TemporaryFile(/tmp/multipartBody692959684798680193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343163109,"filename":"image_02012026_08_19_35_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/2/78af22d61df4bd6b11c95df34125af86.jpg","text":"TemporaryFile(/tmp/multipartBody5668512072681066383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343163109,"filename":"image_02012026_08_19_05_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/2/c689b60705153879920d1ab7abd0c534.jpg","text":"TemporaryFile(/tmp/multipartBody3552023356328881615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343163109,"filename":"image_02012026_08_19_16_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/2/02632ca7a194707dfa44358ea522a966.jpg","text":"TemporaryFile(/tmp/multipartBody6764175504781034375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343163109,"filename":"image_02012026_08_19_45_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127190","file1":"1402127188","file0":"1402127186","file4":"1402127196","file5":"1402127200","file3":"1402127193"},"map_files_photo_id_array":[{"photo_id":"1402127200","filename":"file5"},{"photo_id":"1402127190","filename":"file2"},{"photo_id":"1402127196","filename":"file4"},{"photo_id":"1402127188","filename":"file1"},{"photo_id":"1402127186","filename":"file0"},{"photo_id":"1402127193","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402127200":["hashtag1","hashtag2"]},{"1402127190":["hashtag1","hashtag2"]},{"1402127193":["hashtag1","hashtag2"]},{"1402127186":["hashtag1","hashtag2"]},{"1402127188":["hashtag1","hashtag2"]},{"1402127196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402127200, 1402127190, 1402127193, 1402127186, 1402127188, 1402127196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41620993614197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:39:03.422122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/19/image_02012026_08_20_05_9742.jpg', '/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_15_9638.jpg', '/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_25_10650.jpg', '/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_35_9710.jpg', '/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_45_9715.jpg', '/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_56_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/19/image_02012026_08_20_05_9742.jpg
/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_15_9638.jpg
/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_25_10650.jpg
/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_35_9710.jpg
/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_45_9715.jpg
/home/pi/Desktop/images/02012026/08/20/image_02012026_08_20_56_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":["1402127215","1402127217","1402127219","1402127221","1402127224","1402127212"],"photo_ids_order":["1402127212","1402127215","1402127217","1402127219","1402127221","1402127224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f053c2450017524edbb498d97c36b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1254287813343259865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343204289,"filename":"image_02012026_08_20_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/2/280de09b69ff778974601906d321193b.jpg","text":"TemporaryFile(/tmp/multipartBody5352443464810637186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343204289,"filename":"image_02012026_08_20_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/2/b5a15bccc89f21b24ee02997ea5a7fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1430665745759265291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343204289,"filename":"image_02012026_08_20_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/2/4d23c0215186c5e528ce8cea53216223.jpg","text":"TemporaryFile(/tmp/multipartBody7780232099027461139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343204289,"filename":"image_02012026_08_20_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/2/f6b0ac79da8f36b27c1d0825ac18d205.jpg","text":"TemporaryFile(/tmp/multipartBody3527615386360976566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343204289,"filename":"image_02012026_08_20_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/2/1db8ba9c4f782ce95593702555567b5c.jpg","text":"TemporaryFile(/tmp/multipartBody4133766267379431859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343204289,"filename":"image_02012026_08_20_05_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127217","file1":"1402127215","file0":"1402127212","file4":"1402127221","file5":"1402127224","file3":"1402127219"},"map_files_photo_id_array":[{"photo_id":"1402127224","filename":"file5"},{"photo_id":"1402127217","filename":"file2"},{"photo_id":"1402127221","filename":"file4"},{"photo_id":"1402127215","filename":"file1"},{"photo_id":"1402127212","filename":"file0"},{"photo_id":"1402127219","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402127215":["hashtag1","hashtag2"]},{"1402127217":["hashtag1","hashtag2"]},{"1402127219":["hashtag1","hashtag2"]},{"1402127221":["hashtag1","hashtag2"]},{"1402127224":["hashtag1","hashtag2"]},{"1402127212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402127215, 1402127217, 1402127219, 1402127221, 1402127224, 1402127212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27047419548035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:39:42.628909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_37_4328.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_38_1614.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_41_2529.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_56_15277.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_58_1668.jpg', '/home/pi/Desktop/images/05112025/17/30/image_05112025_17_31_00_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_37_4328.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_38_1614.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_41_2529.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_56_15277.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_30_58_1668.jpg
/home/pi/Desktop/images/05112025/17/30/image_05112025_17_31_00_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402127262","1402127256","1402127255","1402127252","1402127260","1402127254"],"photo_ids_order":["1402127252","1402127254","1402127255","1402127256","1402127260","1402127262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bba18f60e702dbedad43cda958e6c698.jpg","text":"TemporaryFile(/tmp/multipartBody8790478853874839007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343244445,"filename":"image_05112025_17_31_00_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/2/8054b3960b5c0b90cf5afa67555c072a.jpg","text":"TemporaryFile(/tmp/multipartBody1980061245413450054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343244445,"filename":"image_05112025_17_30_56_15277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/643af654ea2109db568a37af8059ae89.jpg","text":"TemporaryFile(/tmp/multipartBody2532998077085575578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343244445,"filename":"image_05112025_17_30_41_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/2/4839bfb22dad6f84bb4bed6c45155258.jpg","text":"TemporaryFile(/tmp/multipartBody8784340911191102364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343244445,"filename":"image_05112025_17_30_37_4328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ffa0e4515486901feb262e38112bbd28.jpg","text":"TemporaryFile(/tmp/multipartBody5572143870235787718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343244445,"filename":"image_05112025_17_30_58_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/2/34f7e187a5de9c20bc8760ca72a3de75.jpg","text":"TemporaryFile(/tmp/multipartBody45354046437394943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343244445,"filename":"image_05112025_17_30_38_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127255","file1":"1402127254","file0":"1402127252","file4":"1402127260","file5":"1402127262","file3":"1402127256"},"map_files_photo_id_array":[{"photo_id":"1402127262","filename":"file5"},{"photo_id":"1402127255","filename":"file2"},{"photo_id":"1402127260","filename":"file4"},{"photo_id":"1402127254","filename":"file1"},{"photo_id":"1402127252","filename":"file0"},{"photo_id":"1402127256","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402127262":["hashtag1","hashtag2"]},{"1402127256":["hashtag1","hashtag2"]},{"1402127255":["hashtag1","hashtag2"]},{"1402127252":["hashtag1","hashtag2"]},{"1402127260":["hashtag1","hashtag2"]},{"1402127254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402127262, 1402127256, 1402127255, 1402127252, 1402127260, 1402127254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83342456817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:40:22.835165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/20/image_02012026_08_21_05_9675.jpg', '/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_15_9728.jpg', '/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_26_10644.jpg', '/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_35_9565.jpg', '/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_45_9816.jpg', '/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_55_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/20/image_02012026_08_21_05_9675.jpg
/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_15_9728.jpg
/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_26_10644.jpg
/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_35_9565.jpg
/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_45_9816.jpg
/home/pi/Desktop/images/02012026/08/21/image_02012026_08_21_55_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402127334","1402127549","1402127462","1402127398","1402127293","1402127503"],"photo_ids_order":["1402127293","1402127334","1402127398","1402127462","1402127503","1402127549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22e16d899c1b7ba40e34cbc8c73e0ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4293294017770821791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343283512,"filename":"image_02012026_08_21_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/2/d3365ec2aabef8ac400b12a3c9c9fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody6906913693785134997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343283512,"filename":"image_02012026_08_21_55_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/2/f5af87713d53e4526d93ece1ee08f536.jpg","text":"TemporaryFile(/tmp/multipartBody6503705654543895516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343283512,"filename":"image_02012026_08_21_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/2/0aa03b631c0bc8b5478dd07e2347bb6e.jpg","text":"TemporaryFile(/tmp/multipartBody5031314728159562760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343283512,"filename":"image_02012026_08_21_26_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/2/2be5bee86d3ebea1cb0cc22507f860fc.jpg","text":"TemporaryFile(/tmp/multipartBody7737906913133784857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343283512,"filename":"image_02012026_08_21_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/2/77e219703cb940a679466a2a1008467a.jpg","text":"TemporaryFile(/tmp/multipartBody8692847999295745003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343283512,"filename":"image_02012026_08_21_45_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127398","file1":"1402127334","file0":"1402127293","file4":"1402127503","file5":"1402127549","file3":"1402127462"},"map_files_photo_id_array":[{"photo_id":"1402127549","filename":"file5"},{"photo_id":"1402127398","filename":"file2"},{"photo_id":"1402127503","filename":"file4"},{"photo_id":"1402127334","filename":"file1"},{"photo_id":"1402127293","filename":"file0"},{"photo_id":"1402127462","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402127334":["hashtag1","hashtag2"]},{"1402127549":["hashtag1","hashtag2"]},{"1402127462":["hashtag1","hashtag2"]},{"1402127398":["hashtag1","hashtag2"]},{"1402127293":["hashtag1","hashtag2"]},{"1402127503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402127334, 1402127549, 1402127462, 1402127398, 1402127293, 1402127503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60173225402832 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-02 09:41:11.963286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_01_1729.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_03_1602.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_10_7184.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_12_1762.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_13_1657.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_15_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_01_1729.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_03_1602.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_10_7184.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_12_1762.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_13_1657.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_15_1553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402127865","1402127949","1402127783","1402127747","1402127824","1402127905"],"photo_ids_order":["1402127747","1402127783","1402127824","1402127865","1402127905","1402127949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea207ad379bce2fe743f150c4bbdec04.jpg","text":"TemporaryFile(/tmp/multipartBody5973570166529850191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343333676,"filename":"image_05112025_17_31_12_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/2/0ed6e75696af704f8972b07c67184029.jpg","text":"TemporaryFile(/tmp/multipartBody6520136178831562865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343333676,"filename":"image_05112025_17_31_15_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/2/61bf64bfdbc5872e538c61062dba7770.jpg","text":"TemporaryFile(/tmp/multipartBody1562033183072907336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343333676,"filename":"image_05112025_17_31_03_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/2/23e4b130d82d2b115db6e1edd1ad26e0.jpg","text":"TemporaryFile(/tmp/multipartBody3813287927494741718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343333676,"filename":"image_05112025_17_31_01_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/2/8ec17d85286a5a50625b34029f582eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6141420392250825192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343333676,"filename":"image_05112025_17_31_10_7184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9c952186da7d43ba087300e6a33e685.jpg","text":"TemporaryFile(/tmp/multipartBody1729439964541380971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343333676,"filename":"image_05112025_17_31_13_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402127824","file1":"1402127783","file0":"1402127747","file4":"1402127905","file5":"1402127949","file3":"1402127865"},"map_files_photo_id_array":[{"photo_id":"1402127949","filename":"file5"},{"photo_id":"1402127824","filename":"file2"},{"photo_id":"1402127905","filename":"file4"},{"photo_id":"1402127783","filename":"file1"},{"photo_id":"1402127747","filename":"file0"},{"photo_id":"1402127865","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402127865":["hashtag1","hashtag2"]},{"1402127949":["hashtag1","hashtag2"]},{"1402127783":["hashtag1","hashtag2"]},{"1402127747":["hashtag1","hashtag2"]},{"1402127824":["hashtag1","hashtag2"]},{"1402127905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402127865, 1402127949, 1402127783, 1402127747, 1402127824, 1402127905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28217101097107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:42:02.704032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/21/image_02012026_08_22_06_10670.jpg', '/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_15_9716.jpg', '/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_35_9691.jpg', '/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_45_10000.jpg', '/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_55_9744.jpg', '/home/pi/Desktop/images/02012026/08/22/image_02012026_08_23_05_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/21/image_02012026_08_22_06_10670.jpg
/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_15_9716.jpg
/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_35_9691.jpg
/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_45_10000.jpg
/home/pi/Desktop/images/02012026/08/22/image_02012026_08_22_55_9744.jpg
/home/pi/Desktop/images/02012026/08/22/image_02012026_08_23_05_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402128231","1402128228","1402128187","1402128151","1402128235","1402128237"],"photo_ids_order":["1402128151","1402128187","1402128228","1402128231","1402128235","1402128237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b01e115cf083f04f225e9fe2fca33df4.jpg","text":"TemporaryFile(/tmp/multipartBody773036461256927380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343383403,"filename":"image_02012026_08_22_45_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/2/ba3573312550309bea1cbc7f3aac2ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7607142571577756532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343383403,"filename":"image_02012026_08_22_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/2/87d6e5ea59689b36fab644456296fbee.jpg","text":"TemporaryFile(/tmp/multipartBody2359833438189579099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343383403,"filename":"image_02012026_08_22_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/2/8f3927eb4e6c07861fe29e0b2097b502.jpg","text":"TemporaryFile(/tmp/multipartBody8394645065491058794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343383403,"filename":"image_02012026_08_22_06_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/2/883aa8be164272a3f515101921cc6ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2129344237022787240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343383403,"filename":"image_02012026_08_22_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/2/924719c95fea20c36421a32fef8c452b.jpg","text":"TemporaryFile(/tmp/multipartBody1234637790217262036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343383403,"filename":"image_02012026_08_23_05_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402128228","file1":"1402128187","file0":"1402128151","file4":"1402128235","file5":"1402128237","file3":"1402128231"},"map_files_photo_id_array":[{"photo_id":"1402128237","filename":"file5"},{"photo_id":"1402128228","filename":"file2"},{"photo_id":"1402128235","filename":"file4"},{"photo_id":"1402128187","filename":"file1"},{"photo_id":"1402128151","filename":"file0"},{"photo_id":"1402128231","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402128231":["hashtag1","hashtag2"]},{"1402128228":["hashtag1","hashtag2"]},{"1402128187":["hashtag1","hashtag2"]},{"1402128151":["hashtag1","hashtag2"]},{"1402128235":["hashtag1","hashtag2"]},{"1402128237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402128231, 1402128228, 1402128187, 1402128151, 1402128235, 1402128237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08409905433655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:42:42.179852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_17_1775.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_18_1537.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_20_1543.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_22_1639.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_23_1608.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_26_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_17_1775.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_18_1537.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_20_1543.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_22_1639.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_23_1608.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_26_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402128423","1402128278","1402128248","1402128250","1402128331","1402128372"],"photo_ids_order":["1402128248","1402128250","1402128278","1402128331","1402128372","1402128423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/06a7ebeff65bf2dcd684f112630d818c.jpg","text":"TemporaryFile(/tmp/multipartBody5201796278666976952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343424481,"filename":"image_05112025_17_31_26_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/2/5282560592399f5483a1246109050218.jpg","text":"TemporaryFile(/tmp/multipartBody4358393325493437485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343424481,"filename":"image_05112025_17_31_20_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/2/333b0854a49975eb9e2221053b3142ef.jpg","text":"TemporaryFile(/tmp/multipartBody6848504162687571937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343424481,"filename":"image_05112025_17_31_17_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/2/234fb8c9b775f2be8ed8733501792d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2410400536694301253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343424481,"filename":"image_05112025_17_31_18_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/2/8ebf1b18e38d14136926195b2aa055d6.jpg","text":"TemporaryFile(/tmp/multipartBody1475949801641609024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343424481,"filename":"image_05112025_17_31_22_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/2/86ab57b79f52650b371ac0d6073add04.jpg","text":"TemporaryFile(/tmp/multipartBody9014926598446894191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343424481,"filename":"image_05112025_17_31_23_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402128278","file1":"1402128250","file0":"1402128248","file4":"1402128372","file5":"1402128423","file3":"1402128331"},"map_files_photo_id_array":[{"photo_id":"1402128423","filename":"file5"},{"photo_id":"1402128278","filename":"file2"},{"photo_id":"1402128372","filename":"file4"},{"photo_id":"1402128250","filename":"file1"},{"photo_id":"1402128248","filename":"file0"},{"photo_id":"1402128331","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402128423":["hashtag1","hashtag2"]},{"1402128278":["hashtag1","hashtag2"]},{"1402128248":["hashtag1","hashtag2"]},{"1402128250":["hashtag1","hashtag2"]},{"1402128331":["hashtag1","hashtag2"]},{"1402128372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402128423, 1402128278, 1402128248, 1402128250, 1402128331, 1402128372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81199359893799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:43:32.494208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_29_2659.jpg', '/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_32_3620.jpg', '/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_02_29673.jpg', '/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_15_1557.jpg', '/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_37_22104.jpg', '/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_46_8595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_29_2659.jpg
/home/pi/Desktop/images/05112025/17/31/image_05112025_17_31_32_3620.jpg
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_02_29673.jpg
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_15_1557.jpg
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_37_22104.jpg
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_46_8595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402128665","1402128533","1402128559","1402128538","1402128597","1402128535"],"photo_ids_order":["1402128533","1402128535","1402128538","1402128559","1402128597","1402128665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65583ac57102d6985ac93dfb818a3135.jpg","text":"TemporaryFile(/tmp/multipartBody5782195915361772467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343474537,"filename":"image_05112025_17_32_46_8595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54d20d00e18eee529aba337597dae548.jpg","text":"TemporaryFile(/tmp/multipartBody7057638362235625833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343474537,"filename":"image_05112025_17_31_29_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/2/d9c2061fcce42a4289de723ef8221c24.jpg","text":"TemporaryFile(/tmp/multipartBody2673426146590833844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343474537,"filename":"image_05112025_17_32_15_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/2/074e4d17961e89ac6488d5401ca9a3a2.jpg","text":"TemporaryFile(/tmp/multipartBody945698020139643773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343474537,"filename":"image_05112025_17_32_02_29673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fffafddb8c7a8c3227cf86aa0385c0f0.jpg","text":"TemporaryFile(/tmp/multipartBody2444985553556484551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343474537,"filename":"image_05112025_17_32_37_22104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75b349f4e7ca3a37933387cde6ac6b78.jpg","text":"TemporaryFile(/tmp/multipartBody848455576215182015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343474537,"filename":"image_05112025_17_31_32_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402128538","file1":"1402128535","file0":"1402128533","file4":"1402128597","file5":"1402128665","file3":"1402128559"},"map_files_photo_id_array":[{"photo_id":"1402128665","filename":"file5"},{"photo_id":"1402128538","filename":"file2"},{"photo_id":"1402128597","filename":"file4"},{"photo_id":"1402128535","filename":"file1"},{"photo_id":"1402128533","filename":"file0"},{"photo_id":"1402128559","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402128665":["hashtag1","hashtag2"]},{"1402128533":["hashtag1","hashtag2"]},{"1402128559":["hashtag1","hashtag2"]},{"1402128538":["hashtag1","hashtag2"]},{"1402128597":["hashtag1","hashtag2"]},{"1402128535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402128665, 1402128533, 1402128559, 1402128538, 1402128597, 1402128535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38426923751831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:44:12.603310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_47_1490.jpg', '/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_49_1770.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_03_14223.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_07_1542.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_08_1664.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_11_1508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_47_1490.jpg
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_49_1770.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_03_14223.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_07_1542.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_08_1664.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_11_1508.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6219522953033447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:44:22.754676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_15_9791.jpg', '/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_25_9655.jpg', '/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_35_9928.jpg', '/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_46_10748.jpg', '/home/pi/Desktop/images/02012026/08/24/image_02012026_08_24_56_10667.jpg', '/home/pi/Desktop/images/02012026/08/24/image_02012026_08_25_05_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_15_9791.jpg
/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_25_9655.jpg
/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_35_9928.jpg
/home/pi/Desktop/images/02012026/08/23/image_02012026_08_23_46_10748.jpg
/home/pi/Desktop/images/02012026/08/24/image_02012026_08_24_56_10667.jpg
/home/pi/Desktop/images/02012026/08/24/image_02012026_08_25_05_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402128855","1402128857","1402128913","1402128862","1402128901","1402128945"],"photo_ids_order":["1402128855","1402128857","1402128862","1402128901","1402128913","1402128945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/410136cd8caad8947541110da49151cb.jpg","text":"TemporaryFile(/tmp/multipartBody2522301338199539924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343523420,"filename":"image_02012026_08_23_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/2/7beda9817b1ee468bfcb8c55bd966029.jpg","text":"TemporaryFile(/tmp/multipartBody5863669403776420787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343523420,"filename":"image_02012026_08_23_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/2/82f78cd5ebf182e78f9420c4a01a5cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4008942694219429497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343523420,"filename":"image_02012026_08_24_56_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/2/b671b2216f8d719ff154956b2221370d.jpg","text":"TemporaryFile(/tmp/multipartBody2177396793992531487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343523420,"filename":"image_02012026_08_23_35_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/79ff4b6aa8a6fde65aed96641a29d38d.jpg","text":"TemporaryFile(/tmp/multipartBody5503799801827461019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343523420,"filename":"image_02012026_08_23_46_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/2/9b53d72e0e276d71788d41c00d45d34e.jpg","text":"TemporaryFile(/tmp/multipartBody6642113758887890381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343523420,"filename":"image_02012026_08_25_05_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402128862","file1":"1402128857","file0":"1402128855","file4":"1402128913","file5":"1402128945","file3":"1402128901"},"map_files_photo_id_array":[{"photo_id":"1402128945","filename":"file5"},{"photo_id":"1402128862","filename":"file2"},{"photo_id":"1402128913","filename":"file4"},{"photo_id":"1402128857","filename":"file1"},{"photo_id":"1402128855","filename":"file0"},{"photo_id":"1402128901","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402128855":["hashtag1","hashtag2"]},{"1402128857":["hashtag1","hashtag2"]},{"1402128913":["hashtag1","hashtag2"]},{"1402128862":["hashtag1","hashtag2"]},{"1402128901":["hashtag1","hashtag2"]},{"1402128945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402128855, 1402128857, 1402128913, 1402128862, 1402128901, 1402128945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23949432373047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:45:03.387895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_15_9824.jpg', '/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_25_9920.jpg', '/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_36_10742.jpg', '/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_45_9753.jpg', '/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_55_9821.jpg', '/home/pi/Desktop/images/02012026/08/25/image_02012026_08_26_05_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_15_9824.jpg
/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_25_9920.jpg
/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_36_10742.jpg
/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_45_9753.jpg
/home/pi/Desktop/images/02012026/08/25/image_02012026_08_25_55_9821.jpg
/home/pi/Desktop/images/02012026/08/25/image_02012026_08_26_05_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":["1402129145","1402129202","1402129207","1402129245","1402129181","1402129107"],"photo_ids_order":["1402129107","1402129145","1402129181","1402129202","1402129207","1402129245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa34184c779ae7339ca85c3a73513b64.jpg","text":"TemporaryFile(/tmp/multipartBody7227793237376061260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343564160,"filename":"image_02012026_08_25_25_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/2/475bd1816cf60d440707245ade3c1314.jpg","text":"TemporaryFile(/tmp/multipartBody3975488482469399144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343564160,"filename":"image_02012026_08_25_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/2/5f8fbbe9bf147b034400d40e665fd63e.jpg","text":"TemporaryFile(/tmp/multipartBody5533766662256505564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343564160,"filename":"image_02012026_08_25_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/2/8fa57307af9312c108c85f8d773b8bf7.jpg","text":"TemporaryFile(/tmp/multipartBody9014138039680299412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343564160,"filename":"image_02012026_08_26_05_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/2/a446bb0a1f47f579acda587227812a24.jpg","text":"TemporaryFile(/tmp/multipartBody1713867700088227039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343564160,"filename":"image_02012026_08_25_36_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/2/a14e679797811c7ad3fade7c399d2528.jpg","text":"TemporaryFile(/tmp/multipartBody6551919667829557723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343564160,"filename":"image_02012026_08_25_15_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129181","file1":"1402129145","file0":"1402129107","file4":"1402129207","file5":"1402129245","file3":"1402129202"},"map_files_photo_id_array":[{"photo_id":"1402129245","filename":"file5"},{"photo_id":"1402129181","filename":"file2"},{"photo_id":"1402129207","filename":"file4"},{"photo_id":"1402129145","filename":"file1"},{"photo_id":"1402129107","filename":"file0"},{"photo_id":"1402129202","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129145":["hashtag1","hashtag2"]},{"1402129202":["hashtag1","hashtag2"]},{"1402129207":["hashtag1","hashtag2"]},{"1402129245":["hashtag1","hashtag2"]},{"1402129181":["hashtag1","hashtag2"]},{"1402129107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129145, 1402129202, 1402129207, 1402129245, 1402129181, 1402129107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46025085449219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:45:42.808971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_47_1490.jpg', '/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_49_1770.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_03_14223.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_07_1542.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_08_1664.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_11_1508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_47_1490.jpg
/home/pi/Desktop/images/05112025/17/32/image_05112025_17_32_49_1770.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_03_14223.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_07_1542.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_08_1664.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_11_1508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402129297","1402129330","1402129306","1402129296","1402129299","1402129303"],"photo_ids_order":["1402129296","1402129297","1402129299","1402129303","1402129306","1402129330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/488834a4dac5b91f0995cc3e9ffe6d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7197286169673925059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343604565,"filename":"image_05112025_17_32_49_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/2/3746fc54405d565b39c42948536beec5.jpg","text":"TemporaryFile(/tmp/multipartBody4275924779205481992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343604565,"filename":"image_05112025_17_33_11_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/2/6bab793728158f417d9c90b6efe8fe0b.jpg","text":"TemporaryFile(/tmp/multipartBody1060473417509199082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343604565,"filename":"image_05112025_17_33_08_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/2/5c834f4aaaba9e6a4b7611aa3e025916.jpg","text":"TemporaryFile(/tmp/multipartBody4097941057894264042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343604565,"filename":"image_05112025_17_32_47_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/2/88a756fca039db1d66a73f6a4019763d.jpg","text":"TemporaryFile(/tmp/multipartBody7071158306542976763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343604565,"filename":"image_05112025_17_33_03_14223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9b77a552373202bc6af9ea8acd26388d.jpg","text":"TemporaryFile(/tmp/multipartBody56968604966058537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343604565,"filename":"image_05112025_17_33_07_1542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129299","file1":"1402129297","file0":"1402129296","file4":"1402129306","file5":"1402129330","file3":"1402129303"},"map_files_photo_id_array":[{"photo_id":"1402129330","filename":"file5"},{"photo_id":"1402129299","filename":"file2"},{"photo_id":"1402129306","filename":"file4"},{"photo_id":"1402129297","filename":"file1"},{"photo_id":"1402129296","filename":"file0"},{"photo_id":"1402129303","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129297":["hashtag1","hashtag2"]},{"1402129330":["hashtag1","hashtag2"]},{"1402129306":["hashtag1","hashtag2"]},{"1402129296":["hashtag1","hashtag2"]},{"1402129299":["hashtag1","hashtag2"]},{"1402129303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129297, 1402129330, 1402129306, 1402129296, 1402129299, 1402129303)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.49508547782898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:46:32.065316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_13_1631.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_25_12453.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_29_3903.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_31_1553.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_47_15804.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_48_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_13_1631.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_25_12453.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_29_3903.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_31_1553.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_47_15804.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_48_1611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402129385","1402129399","1402129396","1402129378","1402129402","1402129401"],"photo_ids_order":["1402129378","1402129385","1402129396","1402129399","1402129401","1402129402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/449343216f82812a790b82d2fb40f5ce.jpg","text":"TemporaryFile(/tmp/multipartBody4408489428713198840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343653934,"filename":"image_05112025_17_33_25_12453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6c93481dd2d5f62463bea30de19ad9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4556035297011793445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343653934,"filename":"image_05112025_17_33_31_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/2/db654f8139f1b9c66eddf27c024adb2e.jpg","text":"TemporaryFile(/tmp/multipartBody2402952120134536487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343653934,"filename":"image_05112025_17_33_29_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/2/bdc8773a90edb29cddee8a940f53342d.jpg","text":"TemporaryFile(/tmp/multipartBody6343795450043356859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343653934,"filename":"image_05112025_17_33_13_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/2/9362a1563fc7fe1a35a2b2decafbf968.jpg","text":"TemporaryFile(/tmp/multipartBody6860379653350067548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343653934,"filename":"image_05112025_17_33_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/2/cf415a7c1b2c970bb58f85824a76795e.jpg","text":"TemporaryFile(/tmp/multipartBody4864152386693442417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343653934,"filename":"image_05112025_17_33_47_15804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129396","file1":"1402129385","file0":"1402129378","file4":"1402129401","file5":"1402129402","file3":"1402129399"},"map_files_photo_id_array":[{"photo_id":"1402129402","filename":"file5"},{"photo_id":"1402129396","filename":"file2"},{"photo_id":"1402129401","filename":"file4"},{"photo_id":"1402129385","filename":"file1"},{"photo_id":"1402129378","filename":"file0"},{"photo_id":"1402129399","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129385":["hashtag1","hashtag2"]},{"1402129399":["hashtag1","hashtag2"]},{"1402129396":["hashtag1","hashtag2"]},{"1402129378":["hashtag1","hashtag2"]},{"1402129402":["hashtag1","hashtag2"]},{"1402129401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129385, 1402129399, 1402129396, 1402129378, 1402129402, 1402129401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44856095314026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:47:12.182227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_50_1989.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_55_5190.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_57_1569.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_59_1559.jpg', '/home/pi/Desktop/images/05112025/17/33/image_05112025_17_34_00_1696.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_02_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_50_1989.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_55_5190.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_57_1569.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_33_59_1559.jpg
/home/pi/Desktop/images/05112025/17/33/image_05112025_17_34_00_1696.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_02_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":["1402129418","1402129420","1402129413","1402129422","1402129416","1402129410"],"photo_ids_order":["1402129410","1402129413","1402129416","1402129418","1402129420","1402129422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc856227078d8cc912b9a7200d4df4ba.jpg","text":"TemporaryFile(/tmp/multipartBody5796515380834992281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343693890,"filename":"image_05112025_17_33_59_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/2/15a5487c682e7d6cc4d3b39f2dc18884.jpg","text":"TemporaryFile(/tmp/multipartBody3340646923465389470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343693890,"filename":"image_05112025_17_34_00_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/2/b2077d720c04aa0eea4db66222578b65.jpg","text":"TemporaryFile(/tmp/multipartBody3972410062729884877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343693890,"filename":"image_05112025_17_33_55_5190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a40d71d5a6604253ba8173e3d43ede2c.jpg","text":"TemporaryFile(/tmp/multipartBody222622013111501070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343693890,"filename":"image_05112025_17_34_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/2/b35a1551b768600504f09306168ab81a.jpg","text":"TemporaryFile(/tmp/multipartBody2467436930450933993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343693890,"filename":"image_05112025_17_33_57_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/2/a61dffe89ffc72cc0e0e9a7a444ba003.jpg","text":"TemporaryFile(/tmp/multipartBody3924629938843436469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343693890,"filename":"image_05112025_17_33_50_1989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129416","file1":"1402129413","file0":"1402129410","file4":"1402129420","file5":"1402129422","file3":"1402129418"},"map_files_photo_id_array":[{"photo_id":"1402129422","filename":"file5"},{"photo_id":"1402129416","filename":"file2"},{"photo_id":"1402129420","filename":"file4"},{"photo_id":"1402129413","filename":"file1"},{"photo_id":"1402129410","filename":"file0"},{"photo_id":"1402129418","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129418":["hashtag1","hashtag2"]},{"1402129420":["hashtag1","hashtag2"]},{"1402129413":["hashtag1","hashtag2"]},{"1402129422":["hashtag1","hashtag2"]},{"1402129416":["hashtag1","hashtag2"]},{"1402129410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129418, 1402129420, 1402129413, 1402129422, 1402129416, 1402129410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77718639373779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:48:02.708617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_16_10691.jpg', '/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_25_9708.jpg', '/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_35_9625.jpg', '/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_46_10707.jpg', '/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_55_9692.jpg', '/home/pi/Desktop/images/02012026/08/26/image_02012026_08_27_05_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_16_10691.jpg
/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_25_9708.jpg
/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_35_9625.jpg
/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_46_10707.jpg
/home/pi/Desktop/images/02012026/08/26/image_02012026_08_26_55_9692.jpg
/home/pi/Desktop/images/02012026/08/26/image_02012026_08_27_05_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":["1402129448","1402129436","1402129455","1402129440","1402129443","1402129437"],"photo_ids_order":["1402129436","1402129437","1402129440","1402129443","1402129448","1402129455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1890e4047835cceafcc6bac745704e28.jpg","text":"TemporaryFile(/tmp/multipartBody652930634528740542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343743430,"filename":"image_02012026_08_26_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/2/6b17287c028cf7a19009498e4008109b.jpg","text":"TemporaryFile(/tmp/multipartBody1776315857198335462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343743430,"filename":"image_02012026_08_26_16_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/2/447e9d9d048a6183feb52c8a1c06f7db.jpg","text":"TemporaryFile(/tmp/multipartBody8522283609778797017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343743430,"filename":"image_02012026_08_27_05_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/2/ffb8ea23210fa92090d4a9e36fd8d8de.jpg","text":"TemporaryFile(/tmp/multipartBody6707745174326648798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343743430,"filename":"image_02012026_08_26_35_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/2/35a515d7380c24d14b93fa9d5ccaf7fb.jpg","text":"TemporaryFile(/tmp/multipartBody9204065767683329708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343743430,"filename":"image_02012026_08_26_46_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/2/b4bff286051f7fbf34f76b1c79d0ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody9025740793701756402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343743430,"filename":"image_02012026_08_26_25_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129440","file1":"1402129437","file0":"1402129436","file4":"1402129448","file5":"1402129455","file3":"1402129443"},"map_files_photo_id_array":[{"photo_id":"1402129455","filename":"file5"},{"photo_id":"1402129440","filename":"file2"},{"photo_id":"1402129448","filename":"file4"},{"photo_id":"1402129437","filename":"file1"},{"photo_id":"1402129436","filename":"file0"},{"photo_id":"1402129443","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129448":["hashtag1","hashtag2"]},{"1402129436":["hashtag1","hashtag2"]},{"1402129455":["hashtag1","hashtag2"]},{"1402129440":["hashtag1","hashtag2"]},{"1402129443":["hashtag1","hashtag2"]},{"1402129437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129448, 1402129436, 1402129455, 1402129440, 1402129443, 1402129437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03001070022583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:48:42.287221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_05_1504.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_10_1850.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_12_1621.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_13_1498.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_15_1596.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_17_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_05_1504.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_10_1850.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_12_1621.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_13_1498.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_15_1596.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_17_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":["1402129718","1402129604","1402129681","1402129529","1402129644","1402129566"],"photo_ids_order":["1402129529","1402129566","1402129604","1402129644","1402129681","1402129718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9b2d221e21223a2045ac152420b8bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6475361654765145844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343784098,"filename":"image_05112025_17_34_17_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/2/6cf194cfd2fb9610e3636384034454b9.jpg","text":"TemporaryFile(/tmp/multipartBody867938477627517685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343784098,"filename":"image_05112025_17_34_12_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/2/c528bbf8ea0e91aa682eea810f32f389.jpg","text":"TemporaryFile(/tmp/multipartBody6128434827674849978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343784098,"filename":"image_05112025_17_34_15_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/2/17a6ad5e193f51827ea00fc0486e45ea.jpg","text":"TemporaryFile(/tmp/multipartBody1533175205162597012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343784098,"filename":"image_05112025_17_34_05_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/2/beeb9a96eb4eda1f5d497f3b903bc00e.jpg","text":"TemporaryFile(/tmp/multipartBody5349504113505678166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343784098,"filename":"image_05112025_17_34_13_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/2/b8a3969b68444e458f0d3c3ca17d2047.jpg","text":"TemporaryFile(/tmp/multipartBody4456869320053333891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343784098,"filename":"image_05112025_17_34_10_1850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129604","file1":"1402129566","file0":"1402129529","file4":"1402129681","file5":"1402129718","file3":"1402129644"},"map_files_photo_id_array":[{"photo_id":"1402129718","filename":"file5"},{"photo_id":"1402129604","filename":"file2"},{"photo_id":"1402129681","filename":"file4"},{"photo_id":"1402129566","filename":"file1"},{"photo_id":"1402129529","filename":"file0"},{"photo_id":"1402129644","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129718":["hashtag1","hashtag2"]},{"1402129604":["hashtag1","hashtag2"]},{"1402129681":["hashtag1","hashtag2"]},{"1402129529":["hashtag1","hashtag2"]},{"1402129644":["hashtag1","hashtag2"]},{"1402129566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129718, 1402129604, 1402129681, 1402129529, 1402129644, 1402129566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23930740356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:49:22.443308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_15_9888.jpg', '/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_26_10651.jpg', '/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_36_9929.jpg', '/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_45_9714.jpg', '/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_55_9697.jpg', '/home/pi/Desktop/images/02012026/08/27/image_02012026_08_28_05_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_15_9888.jpg
/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_26_10651.jpg
/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_36_9929.jpg
/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_45_9714.jpg
/home/pi/Desktop/images/02012026/08/27/image_02012026_08_27_55_9697.jpg
/home/pi/Desktop/images/02012026/08/27/image_02012026_08_28_05_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402129808","1402129813","1402129810","1402129803","1402129806","1402129800"],"photo_ids_order":["1402129800","1402129803","1402129806","1402129808","1402129810","1402129813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1eb8f1b4fdf16f9dffa274e1e9a98418.jpg","text":"TemporaryFile(/tmp/multipartBody8536035944056761900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343823184,"filename":"image_02012026_08_27_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/2/97d3bfad976db09576f7834f1c6f7d53.jpg","text":"TemporaryFile(/tmp/multipartBody4578722774280989059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343823184,"filename":"image_02012026_08_28_05_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/2/341dfa139a0f4be63927a8ec62172684.jpg","text":"TemporaryFile(/tmp/multipartBody8901577119156673003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343823184,"filename":"image_02012026_08_27_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb075d455d2c11a0fb04f4c123c0fc03.jpg","text":"TemporaryFile(/tmp/multipartBody2667879776668236180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343823184,"filename":"image_02012026_08_27_26_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/2/9aaf2679283814658c25d0fa8a45ba3d.jpg","text":"TemporaryFile(/tmp/multipartBody7059143721038443909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343823184,"filename":"image_02012026_08_27_36_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/2/10e57d1db6c2bf30496ac70a6b7ce6af.jpg","text":"TemporaryFile(/tmp/multipartBody3754145293412521352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343823184,"filename":"image_02012026_08_27_15_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129806","file1":"1402129803","file0":"1402129800","file4":"1402129810","file5":"1402129813","file3":"1402129808"},"map_files_photo_id_array":[{"photo_id":"1402129813","filename":"file5"},{"photo_id":"1402129806","filename":"file2"},{"photo_id":"1402129810","filename":"file4"},{"photo_id":"1402129803","filename":"file1"},{"photo_id":"1402129800","filename":"file0"},{"photo_id":"1402129808","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129808":["hashtag1","hashtag2"]},{"1402129813":["hashtag1","hashtag2"]},{"1402129810":["hashtag1","hashtag2"]},{"1402129803":["hashtag1","hashtag2"]},{"1402129806":["hashtag1","hashtag2"]},{"1402129800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129808, 1402129813, 1402129810, 1402129803, 1402129806, 1402129800)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.943320989608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:50:13.802924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_18_1657.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_20_1661.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_21_1602.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_23_1585.jpg', '/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_52_28564.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_18_1657.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_20_1661.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_21_1602.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_23_1585.jpg
/home/pi/Desktop/images/05112025/17/34/image_05112025_17_34_52_28564.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_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":["1402129829","1402129831","1402129822","1402129816","1402129819","1402129824"],"photo_ids_order":["1402129816","1402129819","1402129822","1402129824","1402129829","1402129831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da2ca86ec3c58b90948dbbcd5933002a.jpg","text":"TemporaryFile(/tmp/multipartBody6310914046582461124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343875508,"filename":"image_05112025_17_34_52_28564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a2c64d5a3abd40a01c1ee6ec0bd35a3a.jpg","text":"TemporaryFile(/tmp/multipartBody2364744071610479434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343875508,"filename":"image_05112025_17_37_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/2/02df0989a1e69385b9549dda3373cca3.jpg","text":"TemporaryFile(/tmp/multipartBody6597978443145191160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343875508,"filename":"image_05112025_17_34_21_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/2/42e5458856becf9b1a87fd58ca10b6cc.jpg","text":"TemporaryFile(/tmp/multipartBody5763493410208649478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343875508,"filename":"image_05112025_17_34_18_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/2/fb8d120642357cf03e3105eaf95c57ca.jpg","text":"TemporaryFile(/tmp/multipartBody456435670781264140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343875508,"filename":"image_05112025_17_34_20_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/2/ad6ade4f648900189bc6cdef6fac1961.jpg","text":"TemporaryFile(/tmp/multipartBody1001466970493988918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343875508,"filename":"image_05112025_17_34_23_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129822","file1":"1402129819","file0":"1402129816","file4":"1402129829","file5":"1402129831","file3":"1402129824"},"map_files_photo_id_array":[{"photo_id":"1402129831","filename":"file5"},{"photo_id":"1402129822","filename":"file2"},{"photo_id":"1402129829","filename":"file4"},{"photo_id":"1402129819","filename":"file1"},{"photo_id":"1402129816","filename":"file0"},{"photo_id":"1402129824","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129829":["hashtag1","hashtag2"]},{"1402129831":["hashtag1","hashtag2"]},{"1402129822":["hashtag1","hashtag2"]},{"1402129816":["hashtag1","hashtag2"]},{"1402129819":["hashtag1","hashtag2"]},{"1402129824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129829, 1402129831, 1402129822, 1402129816, 1402129819, 1402129824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.912381410598755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:51:02.622965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 09:51:22.017499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_16_10805.jpg', '/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_25_9636.jpg', '/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_35_9664.jpg', '/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_46_10645.jpg', '/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_55_9613.jpg', '/home/pi/Desktop/images/02012026/08/28/image_02012026_08_29_05_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_16_10805.jpg
/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_25_9636.jpg
/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_35_9664.jpg
/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_46_10645.jpg
/home/pi/Desktop/images/02012026/08/28/image_02012026_08_28_55_9613.jpg
/home/pi/Desktop/images/02012026/08/28/image_02012026_08_29_05_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402129865","1402129868","1402129861","1402129858","1402129869","1402129863"],"photo_ids_order":["1402129858","1402129861","1402129863","1402129865","1402129868","1402129869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/13bcd7a13bc83982173af4bd5f42b003.jpg","text":"TemporaryFile(/tmp/multipartBody6738558631928506083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343944743,"filename":"image_02012026_08_28_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/2/454339728a62a84e72a02d812b8b5256.jpg","text":"TemporaryFile(/tmp/multipartBody6263024702439025979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343944743,"filename":"image_02012026_08_28_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/2/96a738c7d61878e058e218cff5edbc8f.jpg","text":"TemporaryFile(/tmp/multipartBody4903541292029496012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343944743,"filename":"image_02012026_08_28_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/2/014b886b931c7188b289895e3e9490b9.jpg","text":"TemporaryFile(/tmp/multipartBody1037357987184759771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343944743,"filename":"image_02012026_08_28_16_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/2/1694f5aadc4b4a22f7207dc5846f8598.jpg","text":"TemporaryFile(/tmp/multipartBody4238147676785931046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343944743,"filename":"image_02012026_08_29_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/2/aa0f1f213656af248ceb9e3dfa553384.jpg","text":"TemporaryFile(/tmp/multipartBody1168821675120682589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343944743,"filename":"image_02012026_08_28_35_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129863","file1":"1402129861","file0":"1402129858","file4":"1402129868","file5":"1402129869","file3":"1402129865"},"map_files_photo_id_array":[{"photo_id":"1402129869","filename":"file5"},{"photo_id":"1402129863","filename":"file2"},{"photo_id":"1402129868","filename":"file4"},{"photo_id":"1402129861","filename":"file1"},{"photo_id":"1402129858","filename":"file0"},{"photo_id":"1402129865","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129865":["hashtag1","hashtag2"]},{"1402129868":["hashtag1","hashtag2"]},{"1402129861":["hashtag1","hashtag2"]},{"1402129858":["hashtag1","hashtag2"]},{"1402129869":["hashtag1","hashtag2"]},{"1402129863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129865, 1402129868, 1402129861, 1402129858, 1402129869, 1402129863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.68357729911804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:52:12.397314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_10_3497.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_13_2691.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_16_3685.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_22_3592.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_25_2678.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_28_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_10_3497.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_13_2691.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_16_3685.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_22_3592.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_25_2678.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_28_2537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402129874","1402129882","1402129879","1402129884","1402129872","1402129877"],"photo_ids_order":["1402129872","1402129874","1402129877","1402129879","1402129882","1402129884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6bc636af054864001d1afa3eba6a443.jpg","text":"TemporaryFile(/tmp/multipartBody5899917859111046168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343994225,"filename":"image_05112025_17_37_13_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/2/ad15b58c73367f5e3b55655ad9f98dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6501002783507894643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343994225,"filename":"image_05112025_17_37_25_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/2/efe50839f9d07f24a2e0611d78fd868d.jpg","text":"TemporaryFile(/tmp/multipartBody531622455076394832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343994225,"filename":"image_05112025_17_37_22_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/2/013ef6890ee80f8dc439f0e2d2f1373f.jpg","text":"TemporaryFile(/tmp/multipartBody6329714094287708994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343994225,"filename":"image_05112025_17_37_28_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5339ad8f4e155496a5eee69e1bc8f5c2.jpg","text":"TemporaryFile(/tmp/multipartBody9176683662318677228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343994225,"filename":"image_05112025_17_37_10_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/2/5f45a3d08e9f683e000c4e62075d41bc.jpg","text":"TemporaryFile(/tmp/multipartBody5660598758794144157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767343994225,"filename":"image_05112025_17_37_16_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129877","file1":"1402129874","file0":"1402129872","file4":"1402129882","file5":"1402129884","file3":"1402129879"},"map_files_photo_id_array":[{"photo_id":"1402129884","filename":"file5"},{"photo_id":"1402129877","filename":"file2"},{"photo_id":"1402129882","filename":"file4"},{"photo_id":"1402129874","filename":"file1"},{"photo_id":"1402129872","filename":"file0"},{"photo_id":"1402129879","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129874":["hashtag1","hashtag2"]},{"1402129882":["hashtag1","hashtag2"]},{"1402129879":["hashtag1","hashtag2"]},{"1402129884":["hashtag1","hashtag2"]},{"1402129872":["hashtag1","hashtag2"]},{"1402129877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129874, 1402129882, 1402129879, 1402129884, 1402129872, 1402129877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.45448040962219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:53:05.544388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_16_10728.jpg', '/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_25_9686.jpg', '/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_35_9613.jpg', '/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_45_9833.jpg', '/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_56_10692.jpg', '/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_16_10728.jpg
/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_25_9686.jpg
/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_35_9613.jpg
/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_45_9833.jpg
/home/pi/Desktop/images/02012026/08/29/image_02012026_08_29_56_10692.jpg
/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_14_10037.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":["1402129901","1402129891","1402129899","1402129903","1402129893","1402129896"],"photo_ids_order":["1402129891","1402129893","1402129896","1402129899","1402129901","1402129903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c62c83d7b08700e541a9d3fd2614c30.jpg","text":"TemporaryFile(/tmp/multipartBody8205490837330568582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344050611,"filename":"image_02012026_08_29_56_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/2/369e664e7ff62402649263ab0d50f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody4278613548775657295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344050611,"filename":"image_02012026_08_29_16_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/2/b4d75c9267fdc22522f460deb42e9825.jpg","text":"TemporaryFile(/tmp/multipartBody3857515216584870076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344050611,"filename":"image_02012026_08_29_45_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/2/aca896b9789b1d4b7ebb767c42b9990f.jpg","text":"TemporaryFile(/tmp/multipartBody3629694115621500479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344050611,"filename":"image_02012026_08_31_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/2/33c2a4709242dedfbd871aa75328fcb1.jpg","text":"TemporaryFile(/tmp/multipartBody5163262255199141462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344050611,"filename":"image_02012026_08_29_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/2/5294da3efbab760943435b4da94fd08b.jpg","text":"TemporaryFile(/tmp/multipartBody8936352428213749593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344050611,"filename":"image_02012026_08_29_35_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129896","file1":"1402129893","file0":"1402129891","file4":"1402129901","file5":"1402129903","file3":"1402129899"},"map_files_photo_id_array":[{"photo_id":"1402129903","filename":"file5"},{"photo_id":"1402129896","filename":"file2"},{"photo_id":"1402129901","filename":"file4"},{"photo_id":"1402129893","filename":"file1"},{"photo_id":"1402129891","filename":"file0"},{"photo_id":"1402129899","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129901":["hashtag1","hashtag2"]},{"1402129891":["hashtag1","hashtag2"]},{"1402129899":["hashtag1","hashtag2"]},{"1402129903":["hashtag1","hashtag2"]},{"1402129893":["hashtag1","hashtag2"]},{"1402129896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129901, 1402129891, 1402129899, 1402129903, 1402129893, 1402129896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90715169906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:54:02.750719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_25_10705.jpg', '/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_34_9801.jpg', '/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_44_9702.jpg', '/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_55_10751.jpg', '/home/pi/Desktop/images/02012026/08/31/image_02012026_08_32_05_9742.jpg', '/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_14_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_25_10705.jpg
/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_34_9801.jpg
/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_44_9702.jpg
/home/pi/Desktop/images/02012026/08/31/image_02012026_08_31_55_10751.jpg
/home/pi/Desktop/images/02012026/08/31/image_02012026_08_32_05_9742.jpg
/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_14_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":["1402129928","1402129919","1402129924","1402129921","1402129917","1402129926"],"photo_ids_order":["1402129917","1402129919","1402129921","1402129924","1402129926","1402129928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78d179694cff156a94a232eaad424789.jpg","text":"TemporaryFile(/tmp/multipartBody8901804837961457597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344103634,"filename":"image_02012026_08_32_14_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/2/18b3d270c47b2ea6ebcace543fea75c2.jpg","text":"TemporaryFile(/tmp/multipartBody2121615429220801622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344103634,"filename":"image_02012026_08_31_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/2/fa0b9d852c26d712b30691c288be2b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4502319960682072183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344103634,"filename":"image_02012026_08_31_55_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/2/3254edecd1b5ec6ac225c2ca305b005d.jpg","text":"TemporaryFile(/tmp/multipartBody6091953236006580923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344103634,"filename":"image_02012026_08_31_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/2/8b88d4994f90bc19d568ace4a1df7419.jpg","text":"TemporaryFile(/tmp/multipartBody7007789004368619285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344103634,"filename":"image_02012026_08_31_25_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/2/42a063eb41cb903a3069cdd9e800f0ab.jpg","text":"TemporaryFile(/tmp/multipartBody8027513513594640105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344103634,"filename":"image_02012026_08_32_05_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129921","file1":"1402129919","file0":"1402129917","file4":"1402129926","file5":"1402129928","file3":"1402129924"},"map_files_photo_id_array":[{"photo_id":"1402129928","filename":"file5"},{"photo_id":"1402129921","filename":"file2"},{"photo_id":"1402129926","filename":"file4"},{"photo_id":"1402129919","filename":"file1"},{"photo_id":"1402129917","filename":"file0"},{"photo_id":"1402129924","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129928":["hashtag1","hashtag2"]},{"1402129919":["hashtag1","hashtag2"]},{"1402129924":["hashtag1","hashtag2"]},{"1402129921":["hashtag1","hashtag2"]},{"1402129917":["hashtag1","hashtag2"]},{"1402129926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129928, 1402129919, 1402129924, 1402129921, 1402129917, 1402129926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57920265197754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:54:41.957279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_31_3544.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_34_2642.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_37_3626.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_49_11590.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_51_1628.jpg', '/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_52_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_31_3544.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_34_2642.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_37_3626.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_49_11590.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_51_1628.jpg
/home/pi/Desktop/images/05112025/17/37/image_05112025_17_37_52_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":["1402129940","1402129937","1402129936","1402129939","1402129941","1402129938"],"photo_ids_order":["1402129936","1402129937","1402129938","1402129939","1402129940","1402129941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0c403b3715c0e9c47716905f2843521b.jpg","text":"TemporaryFile(/tmp/multipartBody4422182311899266314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344143657,"filename":"image_05112025_17_37_51_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/2/31b3485a2f42f7d90ac3d0348106a95a.jpg","text":"TemporaryFile(/tmp/multipartBody8423570006958567812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344143657,"filename":"image_05112025_17_37_34_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/2/563e100fdcf1c55afc538b321bcd9b8f.jpg","text":"TemporaryFile(/tmp/multipartBody901864418318793610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344143657,"filename":"image_05112025_17_37_31_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/2/13be5e896fd0eabefb51ae61e1db4c83.jpg","text":"TemporaryFile(/tmp/multipartBody5653185875844655926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344143657,"filename":"image_05112025_17_37_49_11590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9ea2c409f238e87cd30be17cf9e7e77.jpg","text":"TemporaryFile(/tmp/multipartBody8802817486205091975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344143657,"filename":"image_05112025_17_37_52_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/2/ff62104be56ade665700a69597f56b53.jpg","text":"TemporaryFile(/tmp/multipartBody5491026304713353756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344143657,"filename":"image_05112025_17_37_37_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129938","file1":"1402129937","file0":"1402129936","file4":"1402129940","file5":"1402129941","file3":"1402129939"},"map_files_photo_id_array":[{"photo_id":"1402129941","filename":"file5"},{"photo_id":"1402129938","filename":"file2"},{"photo_id":"1402129940","filename":"file4"},{"photo_id":"1402129937","filename":"file1"},{"photo_id":"1402129936","filename":"file0"},{"photo_id":"1402129939","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402129940":["hashtag1","hashtag2"]},{"1402129937":["hashtag1","hashtag2"]},{"1402129936":["hashtag1","hashtag2"]},{"1402129939":["hashtag1","hashtag2"]},{"1402129941":["hashtag1","hashtag2"]},{"1402129938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402129940, 1402129937, 1402129936, 1402129939, 1402129941, 1402129938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90115475654602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 09:55:22.181560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_25_10638.jpg', '/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_35_9725.jpg', '/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_44_9719.jpg', '/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_54_9625.jpg', '/home/pi/Desktop/images/02012026/08/32/image_02012026_08_33_05_10746.jpg', '/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_14_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_25_10638.jpg
/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_35_9725.jpg
/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_44_9719.jpg
/home/pi/Desktop/images/02012026/08/32/image_02012026_08_32_54_9625.jpg
/home/pi/Desktop/images/02012026/08/32/image_02012026_08_33_05_10746.jpg
/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_14_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":["1402129991","1402129970","1402129988","1402129973","1402129994","1402129976"],"photo_ids_order":["1402129970","1402129973","1402129976","1402129988","1402129991","1402129994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/763e212aff943b516ad87f37792929ba.jpg","text":"TemporaryFile(/tmp/multipartBody4921624093478951890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344182901,"filename":"image_02012026_08_33_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/2/b66bc9b6cb1ae28ad26ecb6c0c29cb95.jpg","text":"TemporaryFile(/tmp/multipartBody9094874288306352129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344182901,"filename":"image_02012026_08_32_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/2/743b87de652c390df2fce543468a4255.jpg","text":"TemporaryFile(/tmp/multipartBody3855574309234561311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344182901,"filename":"image_02012026_08_32_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/2/a0c8b2ccb3bc1ee55bbabbde174f3d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4215337670880683610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344182901,"filename":"image_02012026_08_32_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/2/e4354f598f4142fc2bb5ea4e87acf38e.jpg","text":"TemporaryFile(/tmp/multipartBody5078635344780522699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344182901,"filename":"image_02012026_08_33_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/2/84dd4d44b5c4c6f12a174d360dbbd6b2.jpg","text":"TemporaryFile(/tmp/multipartBody126491039463145127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344182901,"filename":"image_02012026_08_32_44_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402129976","file1":"1402129973","file0":"1402129970","file4":"1402129991","file5":"1402129994","file3":"1402129988"},"map_files_photo_id_array":[{"photo_id":"1402129994","filename":"file5"},{"photo_id":"1402129976","filename":"file2"},{"photo_id":"1402129991","filename":"file4"},{"photo_id":"1402129973","filename":"file1"},{"photo_id":"1402129970","filename":"file0"},{"photo_id":"1402129988","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402129991":["hashtag1","hashtag2"]},{"1402129970":["hashtag1","hashtag2"]},{"1402129988":["hashtag1","hashtag2"]},{"1402129973":["hashtag1","hashtag2"]},{"1402129994":["hashtag1","hashtag2"]},{"1402129976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402129991, 1402129970, 1402129988, 1402129973, 1402129994, 1402129976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.029366970062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:56:02.676914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_24_9759.jpg', '/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_35_10749.jpg', '/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_45_9669.jpg', '/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_54_9739.jpg', '/home/pi/Desktop/images/02012026/08/33/image_02012026_08_34_04_9813.jpg', '/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_14_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_24_9759.jpg
/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_35_10749.jpg
/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_45_9669.jpg
/home/pi/Desktop/images/02012026/08/33/image_02012026_08_33_54_9739.jpg
/home/pi/Desktop/images/02012026/08/33/image_02012026_08_34_04_9813.jpg
/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_14_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402130081","1402130078","1402130060","1402130085","1402130082","1402130049"],"photo_ids_order":["1402130049","1402130060","1402130078","1402130081","1402130082","1402130085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fc5ac3ffe806ad7988169b438686a056.jpg","text":"TemporaryFile(/tmp/multipartBody5601686243686763099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344223422,"filename":"image_02012026_08_33_54_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/2/12a43af55199ddffc2300015c5fd773e.jpg","text":"TemporaryFile(/tmp/multipartBody8259594937757343406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344223422,"filename":"image_02012026_08_33_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/2/0ad4c5108533ac2dad704fc99ed0bf23.jpg","text":"TemporaryFile(/tmp/multipartBody6023782489084783951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344223422,"filename":"image_02012026_08_33_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/2/3c4f26f8ce970e1816dfd60c4aa243ee.jpg","text":"TemporaryFile(/tmp/multipartBody7804521584469471732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344223422,"filename":"image_02012026_08_34_14_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/2/b636391b388fb02f881b51b9a762ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody6897927455645743726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344223422,"filename":"image_02012026_08_34_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/2/4e68acd41b0da61e11050359f817754c.jpg","text":"TemporaryFile(/tmp/multipartBody7964512731505606621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344223422,"filename":"image_02012026_08_33_24_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402130078","file1":"1402130060","file0":"1402130049","file4":"1402130082","file5":"1402130085","file3":"1402130081"},"map_files_photo_id_array":[{"photo_id":"1402130085","filename":"file5"},{"photo_id":"1402130078","filename":"file2"},{"photo_id":"1402130082","filename":"file4"},{"photo_id":"1402130060","filename":"file1"},{"photo_id":"1402130049","filename":"file0"},{"photo_id":"1402130081","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402130081":["hashtag1","hashtag2"]},{"1402130078":["hashtag1","hashtag2"]},{"1402130060":["hashtag1","hashtag2"]},{"1402130085":["hashtag1","hashtag2"]},{"1402130082":["hashtag1","hashtag2"]},{"1402130049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402130081, 1402130078, 1402130060, 1402130085, 1402130082, 1402130049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.413461446762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 09:56:42.166806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_06_3012.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_13_2672.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_16_3634.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_19_2699.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_22_2699.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_28_5825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_06_3012.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_13_2672.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_16_3634.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_19_2699.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_22_2699.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_28_5825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402130115","1402130118","1402130100","1402130114","1402130113","1402130116"],"photo_ids_order":["1402130100","1402130113","1402130114","1402130115","1402130116","1402130118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d6ffaf6db27da763d5ae3ed96f4beda9.jpg","text":"TemporaryFile(/tmp/multipartBody6127049923947198899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344263852,"filename":"image_05112025_17_39_19_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/2/5237fc23b3b18f221cc0bea57de874a0.jpg","text":"TemporaryFile(/tmp/multipartBody7045766500010753918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344263852,"filename":"image_05112025_17_39_28_5825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec0474f0783a9fed09a4168ebed10371.jpg","text":"TemporaryFile(/tmp/multipartBody6355146059786043415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344263852,"filename":"image_05112025_17_39_06_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/2/62425fd3318cd097f1a7d4d266a239f6.jpg","text":"TemporaryFile(/tmp/multipartBody149101219136017247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344263852,"filename":"image_05112025_17_39_16_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/2/2f3dbe7f3fa3f94a4282856ab346b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody2608179291796762249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344263852,"filename":"image_05112025_17_39_13_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/2/66efe73ecde405e508782c51e46c00bf.jpg","text":"TemporaryFile(/tmp/multipartBody7515913374946331413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344263852,"filename":"image_05112025_17_39_22_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402130114","file1":"1402130113","file0":"1402130100","file4":"1402130116","file5":"1402130118","file3":"1402130115"},"map_files_photo_id_array":[{"photo_id":"1402130118","filename":"file5"},{"photo_id":"1402130114","filename":"file2"},{"photo_id":"1402130116","filename":"file4"},{"photo_id":"1402130113","filename":"file1"},{"photo_id":"1402130100","filename":"file0"},{"photo_id":"1402130115","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402130115":["hashtag1","hashtag2"]},{"1402130118":["hashtag1","hashtag2"]},{"1402130100":["hashtag1","hashtag2"]},{"1402130114":["hashtag1","hashtag2"]},{"1402130113":["hashtag1","hashtag2"]},{"1402130116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402130115, 1402130118, 1402130100, 1402130114, 1402130113, 1402130116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58898663520813 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-02 09:57:32.467429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_31_1516.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_34_3642.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_37_2575.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_39_2581.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_43_3523.jpg', '/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_46_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_31_1516.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_34_3642.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_37_2575.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_39_2581.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_43_3523.jpg
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_46_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402130171","1402130167","1402130161","1402130140","1402130128","1402130172"],"photo_ids_order":["1402130128","1402130140","1402130161","1402130167","1402130171","1402130172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d10179dcd993838526ff2c91fc4ef33.jpg","text":"TemporaryFile(/tmp/multipartBody4067724236566434634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344314253,"filename":"image_05112025_17_39_43_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/2/fd13535c7f832d2739921ecb59d60b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3681643244595679821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344314253,"filename":"image_05112025_17_39_39_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/2/ef14a6d0be540ba208a6701d9c206523.jpg","text":"TemporaryFile(/tmp/multipartBody7802459382798690467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344314253,"filename":"image_05112025_17_39_37_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/2/2b839d63c8a4420f54f5798065dcdf44.jpg","text":"TemporaryFile(/tmp/multipartBody5471036867310261527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344314253,"filename":"image_05112025_17_39_34_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/2/ba1d9a954bd357bcc24c29027d044550.jpg","text":"TemporaryFile(/tmp/multipartBody2618571286980668936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344314253,"filename":"image_05112025_17_39_31_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/096a7f95a16a264e6b578eb587aa4b15.jpg","text":"TemporaryFile(/tmp/multipartBody4206085161144957281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344314253,"filename":"image_05112025_17_39_46_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402130161","file1":"1402130140","file0":"1402130128","file4":"1402130171","file5":"1402130172","file3":"1402130167"},"map_files_photo_id_array":[{"photo_id":"1402130172","filename":"file5"},{"photo_id":"1402130161","filename":"file2"},{"photo_id":"1402130171","filename":"file4"},{"photo_id":"1402130140","filename":"file1"},{"photo_id":"1402130128","filename":"file0"},{"photo_id":"1402130167","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402130171":["hashtag1","hashtag2"]},{"1402130167":["hashtag1","hashtag2"]},{"1402130161":["hashtag1","hashtag2"]},{"1402130140":["hashtag1","hashtag2"]},{"1402130128":["hashtag1","hashtag2"]},{"1402130172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402130171, 1402130167, 1402130161, 1402130140, 1402130128, 1402130172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18475341796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 09:59:03.450554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 09:59:12.706910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_48_2819.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_10_3601.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_13_2751.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_18_4910.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_19_1669.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_22_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/39/image_05112025_17_39_48_2819.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_10_3601.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_13_2751.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_18_4910.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_19_1669.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_22_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402131317","1402131058","1402131337","1402131291","1402131297","1402131141"],"photo_ids_order":["1402131058","1402131141","1402131291","1402131297","1402131317","1402131337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/041cb56d4b6d0a795387dd025c633770.jpg","text":"TemporaryFile(/tmp/multipartBody7203669711842306035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344414810,"filename":"image_05112025_17_41_19_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/2/dfd34cbb6c8e1cfed9e08ad325dab218.jpg","text":"TemporaryFile(/tmp/multipartBody5358085930432034276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344414810,"filename":"image_05112025_17_39_48_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/2/d452f18f18dd067c10d53a6ab1c2d584.jpg","text":"TemporaryFile(/tmp/multipartBody2605137117313059063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344414810,"filename":"image_05112025_17_41_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/2/25bf7975d4771100e90e78bb85ff1067.jpg","text":"TemporaryFile(/tmp/multipartBody6663328325494303049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344414810,"filename":"image_05112025_17_41_13_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/2/a6cb9c23702133c416369bd6b58ce983.jpg","text":"TemporaryFile(/tmp/multipartBody3922195234425232434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344414810,"filename":"image_05112025_17_41_18_4910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87da5dfd6c84cac07c746891c4afbec9.jpg","text":"TemporaryFile(/tmp/multipartBody6710016428784055501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344414810,"filename":"image_05112025_17_41_10_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402131291","file1":"1402131141","file0":"1402131058","file4":"1402131317","file5":"1402131337","file3":"1402131297"},"map_files_photo_id_array":[{"photo_id":"1402131337","filename":"file5"},{"photo_id":"1402131291","filename":"file2"},{"photo_id":"1402131317","filename":"file4"},{"photo_id":"1402131141","filename":"file1"},{"photo_id":"1402131058","filename":"file0"},{"photo_id":"1402131297","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402131317":["hashtag1","hashtag2"]},{"1402131058":["hashtag1","hashtag2"]},{"1402131337":["hashtag1","hashtag2"]},{"1402131291":["hashtag1","hashtag2"]},{"1402131297":["hashtag1","hashtag2"]},{"1402131141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402131317, 1402131058, 1402131337, 1402131291, 1402131297, 1402131141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84815454483032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:00:02.372108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 10:00:11.970658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_25_2552.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_28_3579.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_31_2696.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_34_2750.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_36_2684.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_40_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_25_2552.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_28_3579.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_31_2696.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_34_2750.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_36_2684.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_40_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402131677","1402131740","1402131693","1402131660","1402131735","1402131674"],"photo_ids_order":["1402131660","1402131674","1402131677","1402131693","1402131735","1402131740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e7031168e82f6e8dad0f44f3c551677.jpg","text":"TemporaryFile(/tmp/multipartBody7317028886200776031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344473771,"filename":"image_05112025_17_41_31_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/2/67f9d433c7bd5ac106594934966b98fe.jpg","text":"TemporaryFile(/tmp/multipartBody3356957523776697945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344473771,"filename":"image_05112025_17_41_40_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/2/f143665853ee20e54f3d31c93c013273.jpg","text":"TemporaryFile(/tmp/multipartBody1235599735091864796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344473771,"filename":"image_05112025_17_41_34_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/2/955f242e77e8f1a360992d640de3e044.jpg","text":"TemporaryFile(/tmp/multipartBody1567304009766983899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344473771,"filename":"image_05112025_17_41_25_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/2/6e4844b5b637a54bdcbefb9aec6fd68f.jpg","text":"TemporaryFile(/tmp/multipartBody546537739058394593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344473771,"filename":"image_05112025_17_41_36_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/2/f33fa277a5e7e6b2a1c311f08b5b2c66.jpg","text":"TemporaryFile(/tmp/multipartBody314041050697955576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344473771,"filename":"image_05112025_17_41_28_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402131677","file1":"1402131674","file0":"1402131660","file4":"1402131735","file5":"1402131740","file3":"1402131693"},"map_files_photo_id_array":[{"photo_id":"1402131740","filename":"file5"},{"photo_id":"1402131677","filename":"file2"},{"photo_id":"1402131735","filename":"file4"},{"photo_id":"1402131674","filename":"file1"},{"photo_id":"1402131660","filename":"file0"},{"photo_id":"1402131693","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402131677":["hashtag1","hashtag2"]},{"1402131740":["hashtag1","hashtag2"]},{"1402131693":["hashtag1","hashtag2"]},{"1402131660":["hashtag1","hashtag2"]},{"1402131735":["hashtag1","hashtag2"]},{"1402131674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402131677, 1402131740, 1402131693, 1402131660, 1402131735, 1402131674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.349234104156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:01:02.784705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_25_10753.jpg', '/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_34_9677.jpg', '/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_44_9679.jpg', '/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_55_10723.jpg', '/home/pi/Desktop/images/02012026/08/34/image_02012026_08_35_05_9701.jpg', '/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_14_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_25_10753.jpg
/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_34_9677.jpg
/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_44_9679.jpg
/home/pi/Desktop/images/02012026/08/34/image_02012026_08_34_55_10723.jpg
/home/pi/Desktop/images/02012026/08/34/image_02012026_08_35_05_9701.jpg
/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_14_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402131806","1402131814","1402131808","1402131867","1402131807","1402131918"],"photo_ids_order":["1402131806","1402131807","1402131808","1402131814","1402131867","1402131918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f58b4aba742a390af0ede277f397c50d.jpg","text":"TemporaryFile(/tmp/multipartBody4246858588329138375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344528529,"filename":"image_02012026_08_34_25_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/2/039a6e57936080e327a7cad819d17cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7190597508195603883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344528529,"filename":"image_02012026_08_34_55_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/2/3ee2128df93e0b854056bf68ce838a31.jpg","text":"TemporaryFile(/tmp/multipartBody6613955968628811675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344528529,"filename":"image_02012026_08_34_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/2/713003926ce7029ce645fcf106166963.jpg","text":"TemporaryFile(/tmp/multipartBody5230165983335551672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344528529,"filename":"image_02012026_08_35_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/2/924c8309db79984f9fab7f0cd8d6ba23.jpg","text":"TemporaryFile(/tmp/multipartBody6192936541020544227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344528529,"filename":"image_02012026_08_34_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/2/25425734210b5d3dbc23a70f07ef15df.jpg","text":"TemporaryFile(/tmp/multipartBody4315523956330232597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344528529,"filename":"image_02012026_08_35_14_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402131808","file1":"1402131807","file0":"1402131806","file4":"1402131867","file5":"1402131918","file3":"1402131814"},"map_files_photo_id_array":[{"photo_id":"1402131918","filename":"file5"},{"photo_id":"1402131808","filename":"file2"},{"photo_id":"1402131867","filename":"file4"},{"photo_id":"1402131807","filename":"file1"},{"photo_id":"1402131806","filename":"file0"},{"photo_id":"1402131814","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402131806":["hashtag1","hashtag2"]},{"1402131814":["hashtag1","hashtag2"]},{"1402131808":["hashtag1","hashtag2"]},{"1402131867":["hashtag1","hashtag2"]},{"1402131807":["hashtag1","hashtag2"]},{"1402131918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402131806, 1402131814, 1402131808, 1402131867, 1402131807, 1402131918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.834789514541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:02:04.515213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 10:02:12.576580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_42_2591.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_45_2801.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_49_3659.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_52_2662.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_54_2714.jpg', '/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_58_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_42_2591.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_45_2801.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_49_3659.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_52_2662.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_54_2714.jpg
/home/pi/Desktop/images/05112025/17/41/image_05112025_17_41_58_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132007","1402132001","1402132009","1402132003","1402131999","1402132011"],"photo_ids_order":["1402131999","1402132001","1402132003","1402132007","1402132009","1402132011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f08eea83e30853a637d11f77de50fecc.jpg","text":"TemporaryFile(/tmp/multipartBody3621279865597667402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344596586,"filename":"image_05112025_17_41_52_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/2/8137d0b24a29b16c2bc5ee16938a0d96.jpg","text":"TemporaryFile(/tmp/multipartBody8284470688990077239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344596586,"filename":"image_05112025_17_41_45_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/2/2f4ae3a4cb3dc563bde3dfa8cc3cba8d.jpg","text":"TemporaryFile(/tmp/multipartBody4679846485137899240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344596586,"filename":"image_05112025_17_41_54_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/2/fd227fd783015b2ea1b3f874277b6fac.jpg","text":"TemporaryFile(/tmp/multipartBody375860892074296669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344596586,"filename":"image_05112025_17_41_49_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/2/f79db8685da3cca83e369924b131b621.jpg","text":"TemporaryFile(/tmp/multipartBody7022371070782509749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344596586,"filename":"image_05112025_17_41_42_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/2/f03c2ced4c95913d5110c1d90d36c765.jpg","text":"TemporaryFile(/tmp/multipartBody3324130247606057545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344596586,"filename":"image_05112025_17_41_58_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132003","file1":"1402132001","file0":"1402131999","file4":"1402132009","file5":"1402132011","file3":"1402132007"},"map_files_photo_id_array":[{"photo_id":"1402132011","filename":"file5"},{"photo_id":"1402132003","filename":"file2"},{"photo_id":"1402132009","filename":"file4"},{"photo_id":"1402132001","filename":"file1"},{"photo_id":"1402131999","filename":"file0"},{"photo_id":"1402132007","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132007":["hashtag1","hashtag2"]},{"1402132001":["hashtag1","hashtag2"]},{"1402132009":["hashtag1","hashtag2"]},{"1402132003":["hashtag1","hashtag2"]},{"1402131999":["hashtag1","hashtag2"]},{"1402132011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132007, 1402132001, 1402132009, 1402132003, 1402131999, 1402132011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63024878501892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:03:04.756151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 10:03:14.198090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_13_15347.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_22_8834.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_25_3104.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_27_1608.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_28_1465.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_30_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_13_15347.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_22_8834.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_25_3104.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_27_1608.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_28_1465.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_30_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132043","1402132033","1402132029","1402132052","1402132046","1402132040"],"photo_ids_order":["1402132029","1402132033","1402132040","1402132043","1402132046","1402132052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7dd9516911e75cf61aa0fcf60e876a3d.jpg","text":"TemporaryFile(/tmp/multipartBody3167550546150389794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344658908,"filename":"image_05112025_17_42_27_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/2/cce878b795588cee8d89855d9dade5da.jpg","text":"TemporaryFile(/tmp/multipartBody4399311525577984028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344658908,"filename":"image_05112025_17_42_22_8834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/806fb00785b0181b9640018e9fe1b1a4.jpg","text":"TemporaryFile(/tmp/multipartBody7987612647729091415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344658908,"filename":"image_05112025_17_42_13_15347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/141f2755c10400fc7ef60bb54d2a6180.jpg","text":"TemporaryFile(/tmp/multipartBody2644135877195604039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344658908,"filename":"image_05112025_17_42_30_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/2/4db871b7a04d817aeec7b22e04411524.jpg","text":"TemporaryFile(/tmp/multipartBody2612647321062344103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344658908,"filename":"image_05112025_17_42_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/2/e6a76c1ec570d5f96a89c3049b738ff5.jpg","text":"TemporaryFile(/tmp/multipartBody1552275345338377616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344658908,"filename":"image_05112025_17_42_25_3104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132040","file1":"1402132033","file0":"1402132029","file4":"1402132046","file5":"1402132052","file3":"1402132043"},"map_files_photo_id_array":[{"photo_id":"1402132052","filename":"file5"},{"photo_id":"1402132040","filename":"file2"},{"photo_id":"1402132046","filename":"file4"},{"photo_id":"1402132033","filename":"file1"},{"photo_id":"1402132029","filename":"file0"},{"photo_id":"1402132043","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132043":["hashtag1","hashtag2"]},{"1402132033":["hashtag1","hashtag2"]},{"1402132029":["hashtag1","hashtag2"]},{"1402132052":["hashtag1","hashtag2"]},{"1402132046":["hashtag1","hashtag2"]},{"1402132040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132043, 1402132033, 1402132029, 1402132052, 1402132046, 1402132040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93677592277527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:04:07.644293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_24_9747.jpg', '/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_35_10758.jpg', '/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_45_9814.jpg', '/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_54_9808.jpg', '/home/pi/Desktop/images/02012026/08/35/image_02012026_08_36_04_9651.jpg', '/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_15_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_24_9747.jpg
/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_35_10758.jpg
/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_45_9814.jpg
/home/pi/Desktop/images/02012026/08/35/image_02012026_08_35_54_9808.jpg
/home/pi/Desktop/images/02012026/08/35/image_02012026_08_36_04_9651.jpg
/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_15_10740.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":["1402132078","1402132063","1402132066","1402132069","1402132071","1402132073"],"photo_ids_order":["1402132063","1402132066","1402132069","1402132071","1402132073","1402132078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/115df263401b373afab6d0b983aa6095.jpg","text":"TemporaryFile(/tmp/multipartBody1407771730173467410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344713069,"filename":"image_02012026_08_36_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/2/9c0325542aa1a5b4a3f55239b3a43fed.jpg","text":"TemporaryFile(/tmp/multipartBody741692163891590616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344713069,"filename":"image_02012026_08_35_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/2/ef7735b568d568d03e2088b3d3d81b8a.jpg","text":"TemporaryFile(/tmp/multipartBody925137119781774096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344713069,"filename":"image_02012026_08_35_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/2/1e64a843c05b0a3488ae577700414031.jpg","text":"TemporaryFile(/tmp/multipartBody4605337379144642512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344713069,"filename":"image_02012026_08_35_45_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/2/78f8c73108dfaa0283894a2cdc6f9711.jpg","text":"TemporaryFile(/tmp/multipartBody1736557653525879710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344713069,"filename":"image_02012026_08_35_54_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3f0b95bc1fedd9ecf37c1d75e692dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2572080920936552563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344713069,"filename":"image_02012026_08_36_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132069","file1":"1402132066","file0":"1402132063","file4":"1402132073","file5":"1402132078","file3":"1402132071"},"map_files_photo_id_array":[{"photo_id":"1402132078","filename":"file5"},{"photo_id":"1402132069","filename":"file2"},{"photo_id":"1402132073","filename":"file4"},{"photo_id":"1402132066","filename":"file1"},{"photo_id":"1402132063","filename":"file0"},{"photo_id":"1402132071","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132078":["hashtag1","hashtag2"]},{"1402132063":["hashtag1","hashtag2"]},{"1402132066":["hashtag1","hashtag2"]},{"1402132069":["hashtag1","hashtag2"]},{"1402132071":["hashtag1","hashtag2"]},{"1402132073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132078, 1402132063, 1402132066, 1402132069, 1402132071, 1402132073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83835315704346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:05:02.839904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_25_9754.jpg', '/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_34_9813.jpg', '/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_44_9661.jpg', '/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_55_10756.jpg', '/home/pi/Desktop/images/02012026/08/36/image_02012026_08_37_05_9775.jpg', '/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_14_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_25_9754.jpg
/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_34_9813.jpg
/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_44_9661.jpg
/home/pi/Desktop/images/02012026/08/36/image_02012026_08_36_55_10756.jpg
/home/pi/Desktop/images/02012026/08/36/image_02012026_08_37_05_9775.jpg
/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_14_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":["1402132099","1402132108","1402132104","1402132097","1402132101","1402132094"],"photo_ids_order":["1402132094","1402132097","1402132099","1402132101","1402132104","1402132108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/47e8265ef32a6585a281bde7649ba9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3980927227218325462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344763554,"filename":"image_02012026_08_36_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/2/012e9def3e671fb9ab8295eba1b5e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody9046087238823732375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344763554,"filename":"image_02012026_08_37_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/2/dbe673d14dc39f942bb68fefd8ef1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4695079057919814787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344763554,"filename":"image_02012026_08_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/2/8d6261f1d533b043acdf3b6e52864bc5.jpg","text":"TemporaryFile(/tmp/multipartBody422450080938442491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344763554,"filename":"image_02012026_08_36_34_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/2/5357c2f73fb2ac48fafb41f10f5dbcd0.jpg","text":"TemporaryFile(/tmp/multipartBody4819831341809877482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344763554,"filename":"image_02012026_08_36_55_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/2/3f69a108908361398a9511510be70507.jpg","text":"TemporaryFile(/tmp/multipartBody4410841945733646943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344763554,"filename":"image_02012026_08_36_25_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132099","file1":"1402132097","file0":"1402132094","file4":"1402132104","file5":"1402132108","file3":"1402132101"},"map_files_photo_id_array":[{"photo_id":"1402132108","filename":"file5"},{"photo_id":"1402132099","filename":"file2"},{"photo_id":"1402132104","filename":"file4"},{"photo_id":"1402132097","filename":"file1"},{"photo_id":"1402132094","filename":"file0"},{"photo_id":"1402132101","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132099":["hashtag1","hashtag2"]},{"1402132108":["hashtag1","hashtag2"]},{"1402132104":["hashtag1","hashtag2"]},{"1402132097":["hashtag1","hashtag2"]},{"1402132101":["hashtag1","hashtag2"]},{"1402132094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132099, 1402132108, 1402132104, 1402132097, 1402132101, 1402132094)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.18087649345398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:06:03.050569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 10:06:12.660919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_32_1513.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_33_1593.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_35_1596.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_37_1766.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_38_1619.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_40_2010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_32_1513.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_33_1593.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_35_1596.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_37_1766.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_38_1619.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_40_2010.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132150","1402132176","1402132140","1402132143","1402132146","1402132148"],"photo_ids_order":["1402132140","1402132143","1402132146","1402132148","1402132150","1402132176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b41ee1b20c085c8cf1d32984b3845d03.jpg","text":"TemporaryFile(/tmp/multipartBody7884387505567664184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344834412,"filename":"image_05112025_17_42_38_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/2/5e979d2b7cf03b0a68780a758f59c93e.jpg","text":"TemporaryFile(/tmp/multipartBody8429585052250366652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344834412,"filename":"image_05112025_17_42_40_2010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95deee39c037fed6689f643b5eee24a9.jpg","text":"TemporaryFile(/tmp/multipartBody8684698346716217405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344834412,"filename":"image_05112025_17_42_32_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/240ccef8d30581cdd3c851a10746579d.jpg","text":"TemporaryFile(/tmp/multipartBody6839483471231147596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344834412,"filename":"image_05112025_17_42_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/2/0b931bd1c2f524d74bb8cb9c525a0a2d.jpg","text":"TemporaryFile(/tmp/multipartBody799812592158388510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344834412,"filename":"image_05112025_17_42_35_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/2/4ee0a8ab695560df80ab2983f0a1fbb8.jpg","text":"TemporaryFile(/tmp/multipartBody5143109179352552305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344834412,"filename":"image_05112025_17_42_37_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132146","file1":"1402132143","file0":"1402132140","file4":"1402132150","file5":"1402132176","file3":"1402132148"},"map_files_photo_id_array":[{"photo_id":"1402132176","filename":"file5"},{"photo_id":"1402132146","filename":"file2"},{"photo_id":"1402132150","filename":"file4"},{"photo_id":"1402132143","filename":"file1"},{"photo_id":"1402132140","filename":"file0"},{"photo_id":"1402132148","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132150":["hashtag1","hashtag2"]},{"1402132176":["hashtag1","hashtag2"]},{"1402132140":["hashtag1","hashtag2"]},{"1402132143":["hashtag1","hashtag2"]},{"1402132146":["hashtag1","hashtag2"]},{"1402132148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132150, 1402132176, 1402132140, 1402132143, 1402132146, 1402132148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54049277305603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:07:03.337839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_25_10572.jpg', '/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_35_9770.jpg', '/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_45_9823.jpg', '/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_54_9651.jpg', '/home/pi/Desktop/images/02012026/08/37/image_02012026_08_38_05_10668.jpg', '/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_15_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_25_10572.jpg
/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_35_9770.jpg
/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_45_9823.jpg
/home/pi/Desktop/images/02012026/08/37/image_02012026_08_37_54_9651.jpg
/home/pi/Desktop/images/02012026/08/37/image_02012026_08_38_05_10668.jpg
/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_15_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":["1402132282","1402132276","1402132279","1402132269","1402132274","1402132232"],"photo_ids_order":["1402132232","1402132269","1402132274","1402132276","1402132279","1402132282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e239c37175f07ac8a8fd3af9f2e8be8a.jpg","text":"TemporaryFile(/tmp/multipartBody6167810350494247218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344884053,"filename":"image_02012026_08_38_15_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/2/535d5803555d763cbf5749d81243a287.jpg","text":"TemporaryFile(/tmp/multipartBody9122646006532534273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344884053,"filename":"image_02012026_08_37_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/2/c708e57501bd375335c6fa53a50dad9b.jpg","text":"TemporaryFile(/tmp/multipartBody8153851356979473816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344884053,"filename":"image_02012026_08_38_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/2/2819c75961f5ce201e9a05a5bf9a1d7c.jpg","text":"TemporaryFile(/tmp/multipartBody7799199199602939530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344884053,"filename":"image_02012026_08_37_35_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/2/bffc03ef8d2a0bab4f79278ea3134e15.jpg","text":"TemporaryFile(/tmp/multipartBody2888970321469143359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344884053,"filename":"image_02012026_08_37_45_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/2/56cdca87da6d955bd7ef1687ce0c3e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2575698222255571549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344884053,"filename":"image_02012026_08_37_25_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132274","file1":"1402132269","file0":"1402132232","file4":"1402132279","file5":"1402132282","file3":"1402132276"},"map_files_photo_id_array":[{"photo_id":"1402132282","filename":"file5"},{"photo_id":"1402132274","filename":"file2"},{"photo_id":"1402132279","filename":"file4"},{"photo_id":"1402132269","filename":"file1"},{"photo_id":"1402132232","filename":"file0"},{"photo_id":"1402132276","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132282":["hashtag1","hashtag2"]},{"1402132276":["hashtag1","hashtag2"]},{"1402132279":["hashtag1","hashtag2"]},{"1402132269":["hashtag1","hashtag2"]},{"1402132274":["hashtag1","hashtag2"]},{"1402132232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132282, 1402132276, 1402132279, 1402132269, 1402132274, 1402132232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821706771850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:07:42.763111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_42_1707.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_43_1521.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_45_1513.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_47_1658.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_48_1540.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_52_3524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_42_1707.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_43_1521.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_45_1513.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_47_1658.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_48_1540.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_52_3524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132291","1402132294","1402132288","1402132290","1402132293","1402132292"],"photo_ids_order":["1402132288","1402132290","1402132291","1402132292","1402132293","1402132294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b9bb8dd635bd91f1e0deb3f5443294f3.jpg","text":"TemporaryFile(/tmp/multipartBody4109106074969717113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344924559,"filename":"image_05112025_17_42_45_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f77ca7838e5eaa15e0bf593393b71bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7602507373307622203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344924559,"filename":"image_05112025_17_42_52_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/2/847d901e8de5a3479937d814d007760b.jpg","text":"TemporaryFile(/tmp/multipartBody7193971767447281434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344924559,"filename":"image_05112025_17_42_42_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/2/34601bfd34419cd1b37f866a79e5d85e.jpg","text":"TemporaryFile(/tmp/multipartBody2544616106125619060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344924559,"filename":"image_05112025_17_42_43_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/2/d3ba34157b071f2f457026207e5411cc.jpg","text":"TemporaryFile(/tmp/multipartBody1587631484603082754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344924559,"filename":"image_05112025_17_42_48_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/2/f6505156ac43b97214b0ef1efc1018f0.jpg","text":"TemporaryFile(/tmp/multipartBody4008530466504615920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344924559,"filename":"image_05112025_17_42_47_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132291","file1":"1402132290","file0":"1402132288","file4":"1402132293","file5":"1402132294","file3":"1402132292"},"map_files_photo_id_array":[{"photo_id":"1402132294","filename":"file5"},{"photo_id":"1402132291","filename":"file2"},{"photo_id":"1402132293","filename":"file4"},{"photo_id":"1402132290","filename":"file1"},{"photo_id":"1402132288","filename":"file0"},{"photo_id":"1402132292","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132291":["hashtag1","hashtag2"]},{"1402132294":["hashtag1","hashtag2"]},{"1402132288":["hashtag1","hashtag2"]},{"1402132290":["hashtag1","hashtag2"]},{"1402132293":["hashtag1","hashtag2"]},{"1402132292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132291, 1402132294, 1402132288, 1402132290, 1402132293, 1402132292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07353925704956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:08:21.942258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_24_9701.jpg', '/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_34_9784.jpg', '/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_45_10840.jpg', '/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_54_9651.jpg', '/home/pi/Desktop/images/02012026/08/38/image_02012026_08_39_04_9792.jpg', '/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_14_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_24_9701.jpg
/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_34_9784.jpg
/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_45_10840.jpg
/home/pi/Desktop/images/02012026/08/38/image_02012026_08_38_54_9651.jpg
/home/pi/Desktop/images/02012026/08/38/image_02012026_08_39_04_9792.jpg
/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_14_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132328","1402132303","1402132338","1402132323","1402132305","1402132343"],"photo_ids_order":["1402132303","1402132305","1402132323","1402132328","1402132338","1402132343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d37b3555358af522b0833a6c68c0f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7469946929405858414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344962584,"filename":"image_02012026_08_38_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/2/697c073040a0bbe9ad55218c340ee157.jpg","text":"TemporaryFile(/tmp/multipartBody4716788806164066287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344962584,"filename":"image_02012026_08_38_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/2/d79f6326bb340eba88b28933105010eb.jpg","text":"TemporaryFile(/tmp/multipartBody5512346652398992949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344962584,"filename":"image_02012026_08_39_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/2/62e41672f92e9e62a642e9a974378e8b.jpg","text":"TemporaryFile(/tmp/multipartBody3561420925231071677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344962584,"filename":"image_02012026_08_38_45_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/485b5e4fcacfd33198e8b930a2d9c24e.jpg","text":"TemporaryFile(/tmp/multipartBody8148206400158929947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344962584,"filename":"image_02012026_08_38_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/2/15d6a2177c58fe04bc7777ab38231528.jpg","text":"TemporaryFile(/tmp/multipartBody2720620251447148169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767344962584,"filename":"image_02012026_08_39_14_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132323","file1":"1402132305","file0":"1402132303","file4":"1402132338","file5":"1402132343","file3":"1402132328"},"map_files_photo_id_array":[{"photo_id":"1402132343","filename":"file5"},{"photo_id":"1402132323","filename":"file2"},{"photo_id":"1402132338","filename":"file4"},{"photo_id":"1402132305","filename":"file1"},{"photo_id":"1402132303","filename":"file0"},{"photo_id":"1402132328","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132328":["hashtag1","hashtag2"]},{"1402132303":["hashtag1","hashtag2"]},{"1402132338":["hashtag1","hashtag2"]},{"1402132323":["hashtag1","hashtag2"]},{"1402132305":["hashtag1","hashtag2"]},{"1402132343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132328, 1402132303, 1402132338, 1402132323, 1402132305, 1402132343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76618266105652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:09:02.937926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_25_10632.jpg', '/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_34_9675.jpg', '/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_44_9686.jpg', '/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_55_10724.jpg', '/home/pi/Desktop/images/02012026/08/39/image_02012026_08_40_04_9535.jpg', '/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_14_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_25_10632.jpg
/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_34_9675.jpg
/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_44_9686.jpg
/home/pi/Desktop/images/02012026/08/39/image_02012026_08_39_55_10724.jpg
/home/pi/Desktop/images/02012026/08/39/image_02012026_08_40_04_9535.jpg
/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_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":["1402132435","1402132513","1402132359","1402132473","1402132569","1402132397"],"photo_ids_order":["1402132359","1402132397","1402132435","1402132473","1402132513","1402132569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfd9030c11a827eefccb56f7709c6839.jpg","text":"TemporaryFile(/tmp/multipartBody1614529355362135314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345003647,"filename":"image_02012026_08_39_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/2/68d0d3cfd621383b0a9d5737127d9345.jpg","text":"TemporaryFile(/tmp/multipartBody331825334554031863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345003647,"filename":"image_02012026_08_40_04_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/2/64d663453734702dcc6606b6c9b527b8.jpg","text":"TemporaryFile(/tmp/multipartBody2787064170877599920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345003647,"filename":"image_02012026_08_39_25_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/2/2dfb2322cd577774ef8f2b3ec1d6eff0.jpg","text":"TemporaryFile(/tmp/multipartBody8637619859643815689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345003647,"filename":"image_02012026_08_39_55_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/2/0c92e6250f8ace7a63c047d8e364cb9c.jpg","text":"TemporaryFile(/tmp/multipartBody519223408594391718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345003647,"filename":"image_02012026_08_40_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/2/fc78b6561474db466dcb25507983f9c1.jpg","text":"TemporaryFile(/tmp/multipartBody7833149409418312243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345003647,"filename":"image_02012026_08_39_34_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132435","file1":"1402132397","file0":"1402132359","file4":"1402132513","file5":"1402132569","file3":"1402132473"},"map_files_photo_id_array":[{"photo_id":"1402132569","filename":"file5"},{"photo_id":"1402132435","filename":"file2"},{"photo_id":"1402132513","filename":"file4"},{"photo_id":"1402132397","filename":"file1"},{"photo_id":"1402132359","filename":"file0"},{"photo_id":"1402132473","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132435":["hashtag1","hashtag2"]},{"1402132513":["hashtag1","hashtag2"]},{"1402132359":["hashtag1","hashtag2"]},{"1402132473":["hashtag1","hashtag2"]},{"1402132569":["hashtag1","hashtag2"]},{"1402132397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132435, 1402132513, 1402132359, 1402132473, 1402132569, 1402132397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49167799949646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:09:42.057734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_54_2623.jpg', '/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_58_3509.jpg', '/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_01_2745.jpg', '/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_03_2600.jpg', '/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_07_3778.jpg', '/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_55_47895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_54_2623.jpg
/home/pi/Desktop/images/05112025/17/42/image_05112025_17_42_58_3509.jpg
/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_01_2745.jpg
/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_03_2600.jpg
/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_07_3778.jpg
/home/pi/Desktop/images/05112025/17/43/image_05112025_17_43_55_47895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132625","1402132591","1402132588","1402132695","1402132590","1402132665"],"photo_ids_order":["1402132588","1402132590","1402132591","1402132625","1402132665","1402132695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e27cd1f3ef5f8b2b5ed0896a1df0cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2016841479222431155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345043858,"filename":"image_05112025_17_43_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/2/718680ea13469ab813f068d806aa4665.jpg","text":"TemporaryFile(/tmp/multipartBody8866287769195421337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345043858,"filename":"image_05112025_17_43_01_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/2/a63940b81dbc3a9b23e10eae75ea8c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2754731671810459275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345043858,"filename":"image_05112025_17_42_54_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/2/f7363bc6b2b212c3a75034ebadae9c01.jpg","text":"TemporaryFile(/tmp/multipartBody8867285282182466311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345043858,"filename":"image_05112025_17_43_55_47895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b73f6683e2f275ce20a05563600b50f7.jpg","text":"TemporaryFile(/tmp/multipartBody2104149726407606992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345043858,"filename":"image_05112025_17_42_58_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/2/38052aadff3472df193c1d4c45d37b68.jpg","text":"TemporaryFile(/tmp/multipartBody4990017870802283081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345043858,"filename":"image_05112025_17_43_07_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132591","file1":"1402132590","file0":"1402132588","file4":"1402132665","file5":"1402132695","file3":"1402132625"},"map_files_photo_id_array":[{"photo_id":"1402132695","filename":"file5"},{"photo_id":"1402132591","filename":"file2"},{"photo_id":"1402132665","filename":"file4"},{"photo_id":"1402132590","filename":"file1"},{"photo_id":"1402132588","filename":"file0"},{"photo_id":"1402132625","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132625":["hashtag1","hashtag2"]},{"1402132591":["hashtag1","hashtag2"]},{"1402132588":["hashtag1","hashtag2"]},{"1402132695":["hashtag1","hashtag2"]},{"1402132590":["hashtag1","hashtag2"]},{"1402132665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132625, 1402132591, 1402132588, 1402132695, 1402132590, 1402132665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79460430145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:10:22.203752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_24_9859.jpg', '/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_35_10836.jpg', '/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_44_9651.jpg', '/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_54_9665.jpg', '/home/pi/Desktop/images/02012026/08/40/image_02012026_08_41_05_10763.jpg', '/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_15_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_24_9859.jpg
/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_35_10836.jpg
/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_44_9651.jpg
/home/pi/Desktop/images/02012026/08/40/image_02012026_08_40_54_9665.jpg
/home/pi/Desktop/images/02012026/08/40/image_02012026_08_41_05_10763.jpg
/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_15_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":["1402132706","1402132699","1402132708","1402132702","1402132711","1402132704"],"photo_ids_order":["1402132699","1402132702","1402132704","1402132706","1402132708","1402132711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5128a36f0773709653b2677a3584c6c8.jpg","text":"TemporaryFile(/tmp/multipartBody585501465954438883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345082826,"filename":"image_02012026_08_40_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/2/a9c6b7d9ee7dbd64d9de3a230145f669.jpg","text":"TemporaryFile(/tmp/multipartBody1997235514745662506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345082826,"filename":"image_02012026_08_40_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/2/bbf9f934959a70ad5d9d651f881a0c74.jpg","text":"TemporaryFile(/tmp/multipartBody1354523034750082852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345082826,"filename":"image_02012026_08_41_05_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/2/60ec3a6b62d289f1740958a69ea21b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8654312009522360916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345082826,"filename":"image_02012026_08_40_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/2/7a7a2b6e622f6a2bbe3f6fec0a696c69.jpg","text":"TemporaryFile(/tmp/multipartBody1631572723393441999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345082826,"filename":"image_02012026_08_41_15_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/2/f0a74ea2859fee4ad3a5ac2f433cea55.jpg","text":"TemporaryFile(/tmp/multipartBody6783040786459105567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345082826,"filename":"image_02012026_08_40_44_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132704","file1":"1402132702","file0":"1402132699","file4":"1402132708","file5":"1402132711","file3":"1402132706"},"map_files_photo_id_array":[{"photo_id":"1402132711","filename":"file5"},{"photo_id":"1402132704","filename":"file2"},{"photo_id":"1402132708","filename":"file4"},{"photo_id":"1402132702","filename":"file1"},{"photo_id":"1402132699","filename":"file0"},{"photo_id":"1402132706","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132706":["hashtag1","hashtag2"]},{"1402132699":["hashtag1","hashtag2"]},{"1402132708":["hashtag1","hashtag2"]},{"1402132702":["hashtag1","hashtag2"]},{"1402132711":["hashtag1","hashtag2"]},{"1402132704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132706, 1402132699, 1402132708, 1402132702, 1402132711, 1402132704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.206241846084595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:11:03.251119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_24_9652.jpg', '/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_35_10537.jpg', '/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_55_10826.jpg', '/home/pi/Desktop/images/02012026/08/41/image_02012026_08_42_05_9777.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_14_9706.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_25_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_24_9652.jpg
/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_35_10537.jpg
/home/pi/Desktop/images/02012026/08/41/image_02012026_08_41_55_10826.jpg
/home/pi/Desktop/images/02012026/08/41/image_02012026_08_42_05_9777.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_14_9706.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_25_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132712","1402132723","1402132717","1402132746","1402132722","1402132715"],"photo_ids_order":["1402132712","1402132715","1402132717","1402132722","1402132723","1402132746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/51118a597f9d038a3239a2efcf52fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody8556561639663104465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345123926,"filename":"image_02012026_08_41_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/2/c91515106bccdfaef80fddff9ff5cd47.jpg","text":"TemporaryFile(/tmp/multipartBody4660164276128144611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345123926,"filename":"image_02012026_08_42_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/2/60359b214df4444df11234fd1ce3d53d.jpg","text":"TemporaryFile(/tmp/multipartBody813370494205471451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345123926,"filename":"image_02012026_08_41_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/2/9404435f6b41517dd663ea6fee0f2b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2539497768012493317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345123926,"filename":"image_02012026_08_42_25_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/2/3973805e008140ef2f2424cecc016455.jpg","text":"TemporaryFile(/tmp/multipartBody7963213844761844756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345123926,"filename":"image_02012026_08_42_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/2/a775b707f09242b4a7b9394a4b60a929.jpg","text":"TemporaryFile(/tmp/multipartBody52679843689606402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345123926,"filename":"image_02012026_08_41_35_10537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132717","file1":"1402132715","file0":"1402132712","file4":"1402132723","file5":"1402132746","file3":"1402132722"},"map_files_photo_id_array":[{"photo_id":"1402132746","filename":"file5"},{"photo_id":"1402132717","filename":"file2"},{"photo_id":"1402132723","filename":"file4"},{"photo_id":"1402132715","filename":"file1"},{"photo_id":"1402132712","filename":"file0"},{"photo_id":"1402132722","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132712":["hashtag1","hashtag2"]},{"1402132723":["hashtag1","hashtag2"]},{"1402132717":["hashtag1","hashtag2"]},{"1402132746":["hashtag1","hashtag2"]},{"1402132722":["hashtag1","hashtag2"]},{"1402132715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132712, 1402132723, 1402132717, 1402132746, 1402132722, 1402132715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93005704879761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:11:42.492388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_06_3020.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_10_3529.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_12_2527.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_16_3635.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_19_2740.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_21_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_06_3020.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_10_3529.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_12_2527.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_16_3635.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_19_2740.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_21_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":["1402132765","1402132767","1402132764","1402132752","1402132769","1402132763"],"photo_ids_order":["1402132752","1402132763","1402132764","1402132765","1402132767","1402132769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f813da9f1f1837086a2c000adbf8f401.jpg","text":"TemporaryFile(/tmp/multipartBody5845660795807623888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345164293,"filename":"image_05112025_17_45_16_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/2/7117c6683140becd6ede3dcd34d23df9.jpg","text":"TemporaryFile(/tmp/multipartBody1540044799631456116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345164293,"filename":"image_05112025_17_45_19_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/2/75cf96856d71fc7b43c95a6b4522ac59.jpg","text":"TemporaryFile(/tmp/multipartBody2733587284957414592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345164293,"filename":"image_05112025_17_45_12_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ddf171e4bf78a6aa3e4ff23c2c6f885.jpg","text":"TemporaryFile(/tmp/multipartBody964596463418035864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345164293,"filename":"image_05112025_17_45_06_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20e16d016ed54f8f731d336a0a63e17c.jpg","text":"TemporaryFile(/tmp/multipartBody6323413116193846656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345164293,"filename":"image_05112025_17_45_21_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/2/362633d972666ce3cbb7899041a651d1.jpg","text":"TemporaryFile(/tmp/multipartBody5006563464543886100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345164293,"filename":"image_05112025_17_45_10_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132764","file1":"1402132763","file0":"1402132752","file4":"1402132767","file5":"1402132769","file3":"1402132765"},"map_files_photo_id_array":[{"photo_id":"1402132769","filename":"file5"},{"photo_id":"1402132764","filename":"file2"},{"photo_id":"1402132767","filename":"file4"},{"photo_id":"1402132763","filename":"file1"},{"photo_id":"1402132752","filename":"file0"},{"photo_id":"1402132765","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132765":["hashtag1","hashtag2"]},{"1402132767":["hashtag1","hashtag2"]},{"1402132764":["hashtag1","hashtag2"]},{"1402132752":["hashtag1","hashtag2"]},{"1402132769":["hashtag1","hashtag2"]},{"1402132763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132765, 1402132767, 1402132764, 1402132752, 1402132769, 1402132763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41694641113281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:12:22.673900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_35_9788.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_44_9666.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_54_9734.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_43_05_10664.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_14_9710.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_35_9788.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_44_9666.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_54_9734.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_43_05_10664.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_14_9710.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_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.5139675140380859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:12:32.776165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_25_3557.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_28_2608.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_31_3561.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_34_2618.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_36_2544.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_40_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_25_3557.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_28_2608.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_31_3561.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_34_2618.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_36_2544.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_40_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132792","1402132791","1402132788","1402132784","1402132793","1402132781"],"photo_ids_order":["1402132781","1402132784","1402132788","1402132791","1402132792","1402132793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e4a08fda7dae250ce82734ccf0f7650.jpg","text":"TemporaryFile(/tmp/multipartBody4043703903988020050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345214588,"filename":"image_05112025_17_45_36_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/2/d39d4e1dbb85f8a4bfd6d1b21e0e9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3586303001533708550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345214588,"filename":"image_05112025_17_45_34_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/2/75770f686d81d6139d04bdd4729071c4.jpg","text":"TemporaryFile(/tmp/multipartBody1613528836866612756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345214588,"filename":"image_05112025_17_45_31_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/2/c662adb171d357f3029debb0a8b56d65.jpg","text":"TemporaryFile(/tmp/multipartBody1727100481173976605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345214588,"filename":"image_05112025_17_45_28_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/2/a3b04ea398afc3b4ee3fb05e9acfa812.jpg","text":"TemporaryFile(/tmp/multipartBody6453947782172970656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345214588,"filename":"image_05112025_17_45_40_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/2/39de74e188706a1c211f67051b6c2d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5623841746807514415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345214588,"filename":"image_05112025_17_45_25_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132788","file1":"1402132784","file0":"1402132781","file4":"1402132792","file5":"1402132793","file3":"1402132791"},"map_files_photo_id_array":[{"photo_id":"1402132793","filename":"file5"},{"photo_id":"1402132788","filename":"file2"},{"photo_id":"1402132792","filename":"file4"},{"photo_id":"1402132784","filename":"file1"},{"photo_id":"1402132781","filename":"file0"},{"photo_id":"1402132791","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132792":["hashtag1","hashtag2"]},{"1402132791":["hashtag1","hashtag2"]},{"1402132788":["hashtag1","hashtag2"]},{"1402132784":["hashtag1","hashtag2"]},{"1402132793":["hashtag1","hashtag2"]},{"1402132781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132792, 1402132791, 1402132788, 1402132784, 1402132793, 1402132781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.455355405807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:13:12.038469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_43_2801.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_45_2606.jpg', '/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_59_14055.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_01_1668.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_03_1660.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_04_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_43_2801.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_45_2606.jpg
/home/pi/Desktop/images/05112025/17/45/image_05112025_17_45_59_14055.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_01_1668.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_03_1660.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_04_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402132808","1402132798","1402132806","1402132796","1402132800","1402132803"],"photo_ids_order":["1402132796","1402132798","1402132800","1402132803","1402132806","1402132808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2875a199dbe4e8210f06bcce6b9d7389.jpg","text":"TemporaryFile(/tmp/multipartBody8142786092460594105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345253728,"filename":"image_05112025_17_46_04_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/2/0b54acc229b8dd1bd86827a1939ce395.jpg","text":"TemporaryFile(/tmp/multipartBody7125743403790855488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345253728,"filename":"image_05112025_17_45_45_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/2/4732c1faa1dacc264c0900cc06aa091c.jpg","text":"TemporaryFile(/tmp/multipartBody1847063354849920792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345253728,"filename":"image_05112025_17_46_03_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/2/94da5007e629dac650cfb0c90a33b4bc.jpg","text":"TemporaryFile(/tmp/multipartBody1753052868518020039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345253728,"filename":"image_05112025_17_45_43_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/2/12a3adf83030c4fcc9e665ef66f4a398.jpg","text":"TemporaryFile(/tmp/multipartBody6581705529463928234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345253728,"filename":"image_05112025_17_45_59_14055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ca5ca9efe783621d8c592153bf335c0.jpg","text":"TemporaryFile(/tmp/multipartBody7159112029835284039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345253728,"filename":"image_05112025_17_46_01_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402132800","file1":"1402132798","file0":"1402132796","file4":"1402132806","file5":"1402132808","file3":"1402132803"},"map_files_photo_id_array":[{"photo_id":"1402132808","filename":"file5"},{"photo_id":"1402132800","filename":"file2"},{"photo_id":"1402132806","filename":"file4"},{"photo_id":"1402132798","filename":"file1"},{"photo_id":"1402132796","filename":"file0"},{"photo_id":"1402132803","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402132808":["hashtag1","hashtag2"]},{"1402132798":["hashtag1","hashtag2"]},{"1402132806":["hashtag1","hashtag2"]},{"1402132796":["hashtag1","hashtag2"]},{"1402132800":["hashtag1","hashtag2"]},{"1402132803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402132808, 1402132798, 1402132806, 1402132796, 1402132800, 1402132803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.834983348846436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:14:02.659379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_35_9788.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_44_9666.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_54_9734.jpg', '/home/pi/Desktop/images/02012026/08/42/image_02012026_08_43_05_10664.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_14_9710.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_35_9788.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_44_9666.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_42_54_9734.jpg
/home/pi/Desktop/images/02012026/08/42/image_02012026_08_43_05_10664.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_14_9710.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_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":["1402132957","1402133016","1402133019","1402132917","1402133001","1402133021"],"photo_ids_order":["1402132917","1402132957","1402133001","1402133016","1402133019","1402133021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e9b9ca8b05a891f40cb683c16e746a3.jpg","text":"TemporaryFile(/tmp/multipartBody6503053269814266974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345303301,"filename":"image_02012026_08_42_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/2/3fd1aec9602d2621a0a9fabdcfc02b09.jpg","text":"TemporaryFile(/tmp/multipartBody5631305128927838492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345303301,"filename":"image_02012026_08_43_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/2/9c5d6763e9477a2930d83ab99a9b5778.jpg","text":"TemporaryFile(/tmp/multipartBody3638568370065947459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345303301,"filename":"image_02012026_08_43_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/2/1fb5b544a2df48edeaef6fe87a1e73a0.jpg","text":"TemporaryFile(/tmp/multipartBody5210380654373014266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345303301,"filename":"image_02012026_08_42_35_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/2/b17d6ee47ebdabc11c3b4dd0ad73a5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2976676585210314768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345303301,"filename":"image_02012026_08_42_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/2/c1739beea6595431e4bab1a288692f37.jpg","text":"TemporaryFile(/tmp/multipartBody6174510856655460362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345303301,"filename":"image_02012026_08_43_24_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133001","file1":"1402132957","file0":"1402132917","file4":"1402133019","file5":"1402133021","file3":"1402133016"},"map_files_photo_id_array":[{"photo_id":"1402133021","filename":"file5"},{"photo_id":"1402133001","filename":"file2"},{"photo_id":"1402133019","filename":"file4"},{"photo_id":"1402132957","filename":"file1"},{"photo_id":"1402132917","filename":"file0"},{"photo_id":"1402133016","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402132957":["hashtag1","hashtag2"]},{"1402133016":["hashtag1","hashtag2"]},{"1402133019":["hashtag1","hashtag2"]},{"1402132917":["hashtag1","hashtag2"]},{"1402133001":["hashtag1","hashtag2"]},{"1402133021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402132957, 1402133016, 1402133019, 1402132917, 1402133001, 1402133021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.574944496154785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:14:42.101364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_06_1620.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_08_1685.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_09_1619.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_11_1577.jpg', '/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_35_24509.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_05_29259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_06_1620.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_08_1685.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_09_1619.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_11_1577.jpg
/home/pi/Desktop/images/05112025/17/46/image_05112025_17_46_35_24509.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_05_29259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133056","1402133050","1402133055","1402133049","1402133039","1402133054"],"photo_ids_order":["1402133039","1402133049","1402133050","1402133054","1402133055","1402133056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6709aed4040bb802b7828094c4f349d.jpg","text":"TemporaryFile(/tmp/multipartBody1284726255786193485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345343914,"filename":"image_05112025_17_47_05_29259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4738cd15dbb175186b08bfbfc6fbf48c.jpg","text":"TemporaryFile(/tmp/multipartBody9015046800762515180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345343914,"filename":"image_05112025_17_46_09_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/2/ec5b3727d86888966c9b40d263a2d024.jpg","text":"TemporaryFile(/tmp/multipartBody806841253327836533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345343914,"filename":"image_05112025_17_46_35_24509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bfdbb3cf25a3dddb3339e1c061c9b993.jpg","text":"TemporaryFile(/tmp/multipartBody7090808599667143678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345343914,"filename":"image_05112025_17_46_08_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/2/27e56fb8a13ccaf2f49ec6b8bd0bc2af.jpg","text":"TemporaryFile(/tmp/multipartBody1660308528507187071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345343914,"filename":"image_05112025_17_46_06_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/2/125fe481fcbd937cffbf05e9cf4c17ad.jpg","text":"TemporaryFile(/tmp/multipartBody3942758932640078703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345343914,"filename":"image_05112025_17_46_11_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133050","file1":"1402133049","file0":"1402133039","file4":"1402133055","file5":"1402133056","file3":"1402133054"},"map_files_photo_id_array":[{"photo_id":"1402133056","filename":"file5"},{"photo_id":"1402133050","filename":"file2"},{"photo_id":"1402133055","filename":"file4"},{"photo_id":"1402133049","filename":"file1"},{"photo_id":"1402133039","filename":"file0"},{"photo_id":"1402133054","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133056":["hashtag1","hashtag2"]},{"1402133050":["hashtag1","hashtag2"]},{"1402133055":["hashtag1","hashtag2"]},{"1402133049":["hashtag1","hashtag2"]},{"1402133039":["hashtag1","hashtag2"]},{"1402133054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133056, 1402133050, 1402133055, 1402133049, 1402133039, 1402133054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37619948387146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:15:22.234127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_34_9765.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_45_10844.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_54_9628.jpg', '/home/pi/Desktop/images/02012026/08/43/image_02012026_08_44_04_9681.jpg', '/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_15_10641.jpg', '/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_34_9765.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_45_10844.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_43_54_9628.jpg
/home/pi/Desktop/images/02012026/08/43/image_02012026_08_44_04_9681.jpg
/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_15_10641.jpg
/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_24_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":["1402133079","1402133061","1402133192","1402133195","1402133153","1402133117"],"photo_ids_order":["1402133061","1402133079","1402133117","1402133153","1402133192","1402133195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4216ebf6ab6c1f002b063966b7e4593e.jpg","text":"TemporaryFile(/tmp/multipartBody560987428522574595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345382881,"filename":"image_02012026_08_43_45_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fd34ce4508441cd5d60f714ed91ccf1.jpg","text":"TemporaryFile(/tmp/multipartBody4679206173801942475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345382881,"filename":"image_02012026_08_43_34_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/2/787fad57939e01bedfa43b15f3221c25.jpg","text":"TemporaryFile(/tmp/multipartBody4216189862611548538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345382881,"filename":"image_02012026_08_44_15_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/2/e0771aedeec79116b3c198f38cf89007.jpg","text":"TemporaryFile(/tmp/multipartBody654450323501441535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345382881,"filename":"image_02012026_08_44_24_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/2/2cd630b5be1705e704e55ebe931bb402.jpg","text":"TemporaryFile(/tmp/multipartBody110210590695027415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345382881,"filename":"image_02012026_08_44_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/2/57ba07cf711b87711fafed26116cda31.jpg","text":"TemporaryFile(/tmp/multipartBody8174633311340542284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345382881,"filename":"image_02012026_08_43_54_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133117","file1":"1402133079","file0":"1402133061","file4":"1402133192","file5":"1402133195","file3":"1402133153"},"map_files_photo_id_array":[{"photo_id":"1402133195","filename":"file5"},{"photo_id":"1402133117","filename":"file2"},{"photo_id":"1402133192","filename":"file4"},{"photo_id":"1402133079","filename":"file1"},{"photo_id":"1402133061","filename":"file0"},{"photo_id":"1402133153","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133079":["hashtag1","hashtag2"]},{"1402133061":["hashtag1","hashtag2"]},{"1402133192":["hashtag1","hashtag2"]},{"1402133195":["hashtag1","hashtag2"]},{"1402133153":["hashtag1","hashtag2"]},{"1402133117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133079, 1402133061, 1402133192, 1402133195, 1402133153, 1402133117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74987173080444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:16:02.909826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_34_9616.jpg', '/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_45_10701.jpg', '/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_54_9659.jpg', '/home/pi/Desktop/images/02012026/08/44/image_02012026_08_45_04_9753.jpg', '/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_14_9800.jpg', '/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_25_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_34_9616.jpg
/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_45_10701.jpg
/home/pi/Desktop/images/02012026/08/44/image_02012026_08_44_54_9659.jpg
/home/pi/Desktop/images/02012026/08/44/image_02012026_08_45_04_9753.jpg
/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_14_9800.jpg
/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_25_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133203","1402133206","1402133196","1402133209","1402133199","1402133201"],"photo_ids_order":["1402133196","1402133199","1402133201","1402133203","1402133206","1402133209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2144070ed460be6b8be4e9946ab32607.jpg","text":"TemporaryFile(/tmp/multipartBody2481401856606403711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345423553,"filename":"image_02012026_08_45_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/2/d4c385376011e04840c048005df7f207.jpg","text":"TemporaryFile(/tmp/multipartBody4374307840514038582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345423553,"filename":"image_02012026_08_45_14_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/2/ac20ea2b0920c9822b8c88fb9462e365.jpg","text":"TemporaryFile(/tmp/multipartBody920579468646125276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345423553,"filename":"image_02012026_08_44_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/2/9c252ecf82d80712ee7016c6e6fe58a5.jpg","text":"TemporaryFile(/tmp/multipartBody6414643389523556321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345423553,"filename":"image_02012026_08_45_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/2/5eaa125c9ef973e8763b5df320ec5c65.jpg","text":"TemporaryFile(/tmp/multipartBody5124253414816258159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345423553,"filename":"image_02012026_08_44_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/2/520cec68ec3876e285b4d04a1bdb88b9.jpg","text":"TemporaryFile(/tmp/multipartBody8016714899295577383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345423553,"filename":"image_02012026_08_44_54_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133201","file1":"1402133199","file0":"1402133196","file4":"1402133206","file5":"1402133209","file3":"1402133203"},"map_files_photo_id_array":[{"photo_id":"1402133209","filename":"file5"},{"photo_id":"1402133201","filename":"file2"},{"photo_id":"1402133206","filename":"file4"},{"photo_id":"1402133199","filename":"file1"},{"photo_id":"1402133196","filename":"file0"},{"photo_id":"1402133203","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133203":["hashtag1","hashtag2"]},{"1402133206":["hashtag1","hashtag2"]},{"1402133196":["hashtag1","hashtag2"]},{"1402133209":["hashtag1","hashtag2"]},{"1402133199":["hashtag1","hashtag2"]},{"1402133201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133203, 1402133206, 1402133196, 1402133209, 1402133199, 1402133201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.793808698654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:16:42.486957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_06_1773.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_08_1602.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_10_1696.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_11_1555.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_13_1739.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_15_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_06_1773.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_08_1602.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_10_1696.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_11_1555.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_13_1739.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_15_1717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6690168380737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:17:03.245147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_34_9717.jpg', '/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_44_9786.jpg', '/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_55_10616.jpg', '/home/pi/Desktop/images/02012026/08/45/image_02012026_08_46_04_9669.jpg', '/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_14_9726.jpg', '/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_25_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_34_9717.jpg
/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_44_9786.jpg
/home/pi/Desktop/images/02012026/08/45/image_02012026_08_45_55_10616.jpg
/home/pi/Desktop/images/02012026/08/45/image_02012026_08_46_04_9669.jpg
/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_14_9726.jpg
/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_25_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":["1402133233","1402133230","1402133224","1402133226","1402133228","1402133222"],"photo_ids_order":["1402133222","1402133224","1402133226","1402133228","1402133230","1402133233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a12cc7e6184e1ed80f8ce1b14c22078e.jpg","text":"TemporaryFile(/tmp/multipartBody6280309222787695047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345483988,"filename":"image_02012026_08_46_25_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/2/c4b8cb71e8f43723de923db174e22044.jpg","text":"TemporaryFile(/tmp/multipartBody167932353129209167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345483988,"filename":"image_02012026_08_46_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/2/e75fc9c85b01f38253c904d09790eccd.jpg","text":"TemporaryFile(/tmp/multipartBody5752938346485817066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345483988,"filename":"image_02012026_08_45_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/2/2e2647c68555f93d7e6017082cf82b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3419910241800557651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345483988,"filename":"image_02012026_08_45_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/2/dd29e95e64eb0efb6af3445d219d7068.jpg","text":"TemporaryFile(/tmp/multipartBody7522059972566150122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345483988,"filename":"image_02012026_08_46_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/2/fa09e03f0fc04bee6003e2c3de04b0c6.jpg","text":"TemporaryFile(/tmp/multipartBody4494956975458671133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345483988,"filename":"image_02012026_08_45_34_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133226","file1":"1402133224","file0":"1402133222","file4":"1402133230","file5":"1402133233","file3":"1402133228"},"map_files_photo_id_array":[{"photo_id":"1402133233","filename":"file5"},{"photo_id":"1402133226","filename":"file2"},{"photo_id":"1402133230","filename":"file4"},{"photo_id":"1402133224","filename":"file1"},{"photo_id":"1402133222","filename":"file0"},{"photo_id":"1402133228","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133233":["hashtag1","hashtag2"]},{"1402133230":["hashtag1","hashtag2"]},{"1402133224":["hashtag1","hashtag2"]},{"1402133226":["hashtag1","hashtag2"]},{"1402133228":["hashtag1","hashtag2"]},{"1402133222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133233, 1402133230, 1402133224, 1402133226, 1402133228, 1402133222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2254376411438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:17:42.756590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_06_1773.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_08_1602.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_10_1696.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_11_1555.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_13_1739.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_15_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_06_1773.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_08_1602.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_10_1696.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_11_1555.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_13_1739.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_15_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":["1402133335","1402133376","1402133379","1402133390","1402133291","1402133366"],"photo_ids_order":["1402133291","1402133335","1402133366","1402133376","1402133379","1402133390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75299d60e9a8934baf7919ff815fd999.jpg","text":"TemporaryFile(/tmp/multipartBody2760892404470357132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345524463,"filename":"image_05112025_17_47_08_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/2/8fe21526d11064e04dc7857229ff0120.jpg","text":"TemporaryFile(/tmp/multipartBody317702670992774505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345524463,"filename":"image_05112025_17_47_11_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/2/da698261576408e82ae0d2f945d0ff38.jpg","text":"TemporaryFile(/tmp/multipartBody1777470609483154219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345524463,"filename":"image_05112025_17_47_13_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/2/969a7148fd03a75a4cb009fedc6872a7.jpg","text":"TemporaryFile(/tmp/multipartBody7968214328167847111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345524463,"filename":"image_05112025_17_47_15_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/2/920929b93172cfcad483ebfa70d56088.jpg","text":"TemporaryFile(/tmp/multipartBody7817521973878058239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345524463,"filename":"image_05112025_17_47_06_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/2/cf5af83afd7768a69ccdfec8b728dd2f.jpg","text":"TemporaryFile(/tmp/multipartBody7628361202148658061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345524463,"filename":"image_05112025_17_47_10_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133366","file1":"1402133335","file0":"1402133291","file4":"1402133379","file5":"1402133390","file3":"1402133376"},"map_files_photo_id_array":[{"photo_id":"1402133390","filename":"file5"},{"photo_id":"1402133366","filename":"file2"},{"photo_id":"1402133379","filename":"file4"},{"photo_id":"1402133335","filename":"file1"},{"photo_id":"1402133291","filename":"file0"},{"photo_id":"1402133376","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133335":["hashtag1","hashtag2"]},{"1402133376":["hashtag1","hashtag2"]},{"1402133379":["hashtag1","hashtag2"]},{"1402133390":["hashtag1","hashtag2"]},{"1402133291":["hashtag1","hashtag2"]},{"1402133366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133335, 1402133376, 1402133379, 1402133390, 1402133291, 1402133366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44345259666443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:18:21.892373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_34_9648.jpg', '/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_44_9692.jpg', '/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_55_10604.jpg', '/home/pi/Desktop/images/02012026/08/46/image_02012026_08_47_04_9702.jpg', '/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_14_9609.jpg', '/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_25_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_34_9648.jpg
/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_44_9692.jpg
/home/pi/Desktop/images/02012026/08/46/image_02012026_08_46_55_10604.jpg
/home/pi/Desktop/images/02012026/08/46/image_02012026_08_47_04_9702.jpg
/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_14_9609.jpg
/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_25_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133431","1402133541","1402133505","1402133468","1402133543","1402133402"],"photo_ids_order":["1402133402","1402133431","1402133468","1402133505","1402133541","1402133543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53ee8cb2b7f5380c7d6da37f4b240384.jpg","text":"TemporaryFile(/tmp/multipartBody5572322527607784487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345562501,"filename":"image_02012026_08_46_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/2/ad2a8d25e59761b86107fe1d3d219d66.jpg","text":"TemporaryFile(/tmp/multipartBody5641090025095141496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345562501,"filename":"image_02012026_08_47_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/2/0003f2dc994b28d54ef44a71d5240c2b.jpg","text":"TemporaryFile(/tmp/multipartBody9076839631934002320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345562501,"filename":"image_02012026_08_47_04_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/2/9453ce519b17e81e307e37cfe941eab1.jpg","text":"TemporaryFile(/tmp/multipartBody438255042155899507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345562501,"filename":"image_02012026_08_46_55_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/2/17a0012fbc3deabd1c21bf8f6e301a73.jpg","text":"TemporaryFile(/tmp/multipartBody1135279809232637023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345562501,"filename":"image_02012026_08_47_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/2/27281199f815b6ab73efb729f62c378b.jpg","text":"TemporaryFile(/tmp/multipartBody6671146360170389730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345562501,"filename":"image_02012026_08_46_34_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133468","file1":"1402133431","file0":"1402133402","file4":"1402133541","file5":"1402133543","file3":"1402133505"},"map_files_photo_id_array":[{"photo_id":"1402133543","filename":"file5"},{"photo_id":"1402133468","filename":"file2"},{"photo_id":"1402133541","filename":"file4"},{"photo_id":"1402133431","filename":"file1"},{"photo_id":"1402133402","filename":"file0"},{"photo_id":"1402133505","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133431":["hashtag1","hashtag2"]},{"1402133541":["hashtag1","hashtag2"]},{"1402133505":["hashtag1","hashtag2"]},{"1402133468":["hashtag1","hashtag2"]},{"1402133543":["hashtag1","hashtag2"]},{"1402133402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133431, 1402133541, 1402133505, 1402133468, 1402133543, 1402133402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.946093797683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:19:03.175470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_34_9734.jpg', '/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_44_9620.jpg', '/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_55_10674.jpg', '/home/pi/Desktop/images/02012026/08/47/image_02012026_08_48_04_9708.jpg', '/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_14_9701.jpg', '/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_24_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_34_9734.jpg
/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_44_9620.jpg
/home/pi/Desktop/images/02012026/08/47/image_02012026_08_47_55_10674.jpg
/home/pi/Desktop/images/02012026/08/47/image_02012026_08_48_04_9708.jpg
/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_14_9701.jpg
/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_24_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":["1402133557","1402133551","1402133545","1402133554","1402133548","1402133546"],"photo_ids_order":["1402133545","1402133546","1402133548","1402133551","1402133554","1402133557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0741cb88e307338eaf4e7a5d63bd2789.jpg","text":"TemporaryFile(/tmp/multipartBody2747421910423629252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345603904,"filename":"image_02012026_08_48_24_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/2/da78aa7780de5536d58a0e83a451eb00.jpg","text":"TemporaryFile(/tmp/multipartBody5448038300609241397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345603904,"filename":"image_02012026_08_48_04_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/2/ff643b5dfcbbff15abf8536a57718736.jpg","text":"TemporaryFile(/tmp/multipartBody2052238248553287170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345603904,"filename":"image_02012026_08_47_34_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/2/01a12d6db34d15b905d40ded329dcdab.jpg","text":"TemporaryFile(/tmp/multipartBody817457029698466103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345603904,"filename":"image_02012026_08_48_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/2/1edb7262e0028b394adae68683b66dee.jpg","text":"TemporaryFile(/tmp/multipartBody1281236662208655331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345603904,"filename":"image_02012026_08_47_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/2/97e6f7b7fb90bb8d0d83c37296bedb6d.jpg","text":"TemporaryFile(/tmp/multipartBody6091568051757986951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345603904,"filename":"image_02012026_08_47_44_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133548","file1":"1402133546","file0":"1402133545","file4":"1402133554","file5":"1402133557","file3":"1402133551"},"map_files_photo_id_array":[{"photo_id":"1402133557","filename":"file5"},{"photo_id":"1402133548","filename":"file2"},{"photo_id":"1402133554","filename":"file4"},{"photo_id":"1402133546","filename":"file1"},{"photo_id":"1402133545","filename":"file0"},{"photo_id":"1402133551","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133557":["hashtag1","hashtag2"]},{"1402133551":["hashtag1","hashtag2"]},{"1402133545":["hashtag1","hashtag2"]},{"1402133554":["hashtag1","hashtag2"]},{"1402133548":["hashtag1","hashtag2"]},{"1402133546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133557, 1402133551, 1402133545, 1402133554, 1402133548, 1402133546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9500949382782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:19:42.051408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_16_1512.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_18_1740.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_20_1645.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_21_1508.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_23_1502.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_24_1539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_16_1512.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_18_1740.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_20_1645.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_21_1508.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_23_1502.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_24_1539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133569","1402133571","1402133564","1402133573","1402133567","1402133575"],"photo_ids_order":["1402133564","1402133567","1402133569","1402133571","1402133573","1402133575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/646248ac2565c29475979248e2a3e67b.jpg","text":"TemporaryFile(/tmp/multipartBody639271036396193277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345643852,"filename":"image_05112025_17_47_20_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/2/7815118e2b50375f0315638f8201c343.jpg","text":"TemporaryFile(/tmp/multipartBody8911267169052382726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345643852,"filename":"image_05112025_17_47_21_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/2/01e7e86b7fc760b369a3f2ee58918977.jpg","text":"TemporaryFile(/tmp/multipartBody4611147325461913944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345643852,"filename":"image_05112025_17_47_16_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a3161c5ff39ea6d96ae58a81d559a005.jpg","text":"TemporaryFile(/tmp/multipartBody4965270554052674899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345643852,"filename":"image_05112025_17_47_23_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/2/c30f57162de460dd551129e36bf46dbd.jpg","text":"TemporaryFile(/tmp/multipartBody2248527086618097176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345643852,"filename":"image_05112025_17_47_18_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/2/cc8687af8ef32070328e8f7fc6939a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3687497258573612379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345643852,"filename":"image_05112025_17_47_24_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133569","file1":"1402133567","file0":"1402133564","file4":"1402133573","file5":"1402133575","file3":"1402133571"},"map_files_photo_id_array":[{"photo_id":"1402133575","filename":"file5"},{"photo_id":"1402133569","filename":"file2"},{"photo_id":"1402133573","filename":"file4"},{"photo_id":"1402133567","filename":"file1"},{"photo_id":"1402133564","filename":"file0"},{"photo_id":"1402133571","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133569":["hashtag1","hashtag2"]},{"1402133571":["hashtag1","hashtag2"]},{"1402133564":["hashtag1","hashtag2"]},{"1402133573":["hashtag1","hashtag2"]},{"1402133567":["hashtag1","hashtag2"]},{"1402133575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133569, 1402133571, 1402133564, 1402133573, 1402133567, 1402133575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.217222690582275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:20:22.190171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_35_10802.jpg', '/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_44_9754.jpg', '/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_54_9711.jpg', '/home/pi/Desktop/images/02012026/08/48/image_02012026_08_49_05_10560.jpg', '/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_14_9551.jpg', '/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_24_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_35_10802.jpg
/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_44_9754.jpg
/home/pi/Desktop/images/02012026/08/48/image_02012026_08_48_54_9711.jpg
/home/pi/Desktop/images/02012026/08/48/image_02012026_08_49_05_10560.jpg
/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_14_9551.jpg
/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_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":["1402133605","1402133580","1402133582","1402133591","1402133585","1402133594"],"photo_ids_order":["1402133580","1402133582","1402133585","1402133591","1402133594","1402133605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c69f3b0ba902b1fbc1e5f7d60cab4094.jpg","text":"TemporaryFile(/tmp/multipartBody1630963644939433175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345682793,"filename":"image_02012026_08_49_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/2/aa04df48b04b6d6aa65b8f8cb5d66952.jpg","text":"TemporaryFile(/tmp/multipartBody2266966427355330405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345682793,"filename":"image_02012026_08_48_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/2/b21219ee42cc06c68999a2a817fb3025.jpg","text":"TemporaryFile(/tmp/multipartBody942230388495416099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345682793,"filename":"image_02012026_08_48_44_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/2/6864d56401dc8ae9a2c41dbbdbc9b33d.jpg","text":"TemporaryFile(/tmp/multipartBody1960214049499465028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345682793,"filename":"image_02012026_08_49_05_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/2/c82c49d97db97b3ff6c91c0a479b4751.jpg","text":"TemporaryFile(/tmp/multipartBody7393392938044061689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345682793,"filename":"image_02012026_08_48_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/2/ae782ddbecf742385f221857fa5bfb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7950363733270262656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345682793,"filename":"image_02012026_08_49_14_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133585","file1":"1402133582","file0":"1402133580","file4":"1402133594","file5":"1402133605","file3":"1402133591"},"map_files_photo_id_array":[{"photo_id":"1402133605","filename":"file5"},{"photo_id":"1402133585","filename":"file2"},{"photo_id":"1402133594","filename":"file4"},{"photo_id":"1402133582","filename":"file1"},{"photo_id":"1402133580","filename":"file0"},{"photo_id":"1402133591","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133605":["hashtag1","hashtag2"]},{"1402133580":["hashtag1","hashtag2"]},{"1402133582":["hashtag1","hashtag2"]},{"1402133591":["hashtag1","hashtag2"]},{"1402133585":["hashtag1","hashtag2"]},{"1402133594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133605, 1402133580, 1402133582, 1402133591, 1402133585, 1402133594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.944161891937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:21:02.991455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_35_10695.jpg', '/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_45_9731.jpg', '/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_54_9665.jpg', '/home/pi/Desktop/images/02012026/08/49/image_02012026_08_50_04_9752.jpg', '/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_15_10644.jpg', '/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_24_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_35_10695.jpg
/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_45_9731.jpg
/home/pi/Desktop/images/02012026/08/49/image_02012026_08_49_54_9665.jpg
/home/pi/Desktop/images/02012026/08/49/image_02012026_08_50_04_9752.jpg
/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_15_10644.jpg
/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_24_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":["1402133611","1402133616","1402133619","1402133613","1402133621","1402133609"],"photo_ids_order":["1402133609","1402133611","1402133613","1402133616","1402133619","1402133621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ddcf28fcff87fde2cb35d7983fc1255.jpg","text":"TemporaryFile(/tmp/multipartBody2442521666514078047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345723771,"filename":"image_02012026_08_49_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/2/3dad16a0e58c5980f36d75159e6b9a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8675746200623062073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345723771,"filename":"image_02012026_08_50_04_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/2/0590afd94bd1a4d4b3262b2b10a26763.jpg","text":"TemporaryFile(/tmp/multipartBody1388610723179871173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345723771,"filename":"image_02012026_08_50_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/2/3f13e343e229a4e9b867c8e5f328a99f.jpg","text":"TemporaryFile(/tmp/multipartBody8567605009986039814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345723771,"filename":"image_02012026_08_49_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/2/d5a351a57183d4d9c25451d833337afe.jpg","text":"TemporaryFile(/tmp/multipartBody4009191506964135990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345723771,"filename":"image_02012026_08_50_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/2/bef30fcc61a899b9fac62e6f2f00ee10.jpg","text":"TemporaryFile(/tmp/multipartBody2070353464761464055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345723771,"filename":"image_02012026_08_49_35_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133613","file1":"1402133611","file0":"1402133609","file4":"1402133619","file5":"1402133621","file3":"1402133616"},"map_files_photo_id_array":[{"photo_id":"1402133621","filename":"file5"},{"photo_id":"1402133613","filename":"file2"},{"photo_id":"1402133619","filename":"file4"},{"photo_id":"1402133611","filename":"file1"},{"photo_id":"1402133609","filename":"file0"},{"photo_id":"1402133616","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133611":["hashtag1","hashtag2"]},{"1402133616":["hashtag1","hashtag2"]},{"1402133619":["hashtag1","hashtag2"]},{"1402133613":["hashtag1","hashtag2"]},{"1402133621":["hashtag1","hashtag2"]},{"1402133609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133611, 1402133616, 1402133619, 1402133613, 1402133621, 1402133609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9575891494751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:21:42.405998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_26_1627.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_27_1535.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_33_5995.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_35_1621.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_37_1563.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_38_1705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_26_1627.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_27_1535.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_33_5995.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_35_1621.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_37_1563.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_38_1705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133629","1402133631","1402133627","1402133657","1402133630","1402133668"],"photo_ids_order":["1402133627","1402133629","1402133630","1402133631","1402133657","1402133668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/db6ce713d0b41dad5f3a0126585373cc.jpg","text":"TemporaryFile(/tmp/multipartBody2167967522104551925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345764206,"filename":"image_05112025_17_47_27_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/2/106fd4b8004341ed85dbf472265da2ba.jpg","text":"TemporaryFile(/tmp/multipartBody8327740198256307654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345764206,"filename":"image_05112025_17_47_35_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/2/5ddde1a2cbeb840e90cac6685eb108c8.jpg","text":"TemporaryFile(/tmp/multipartBody5376529351669970517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345764206,"filename":"image_05112025_17_47_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/2/ac43666ce1eb9318d5976e84f2b55e24.jpg","text":"TemporaryFile(/tmp/multipartBody3904568485941033796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345764206,"filename":"image_05112025_17_47_37_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/2/96c3a33ee3036f444a242c1246525a29.jpg","text":"TemporaryFile(/tmp/multipartBody6752961097816179522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345764206,"filename":"image_05112025_17_47_33_5995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1596c6ede4f77f29b7461ebfb3ae86e1.jpg","text":"TemporaryFile(/tmp/multipartBody1286863719216550262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345764206,"filename":"image_05112025_17_47_38_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133630","file1":"1402133629","file0":"1402133627","file4":"1402133657","file5":"1402133668","file3":"1402133631"},"map_files_photo_id_array":[{"photo_id":"1402133668","filename":"file5"},{"photo_id":"1402133630","filename":"file2"},{"photo_id":"1402133657","filename":"file4"},{"photo_id":"1402133629","filename":"file1"},{"photo_id":"1402133627","filename":"file0"},{"photo_id":"1402133631","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133629":["hashtag1","hashtag2"]},{"1402133631":["hashtag1","hashtag2"]},{"1402133627":["hashtag1","hashtag2"]},{"1402133657":["hashtag1","hashtag2"]},{"1402133630":["hashtag1","hashtag2"]},{"1402133668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133629, 1402133631, 1402133627, 1402133657, 1402133630, 1402133668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.534279108047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:22:22.554729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_34_9793.jpg', '/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_55_10888.jpg', '/home/pi/Desktop/images/02012026/08/50/image_02012026_08_51_05_9802.jpg', '/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_14_9777.jpg', '/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_24_9833.jpg', '/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_34_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_34_9793.jpg
/home/pi/Desktop/images/02012026/08/50/image_02012026_08_50_55_10888.jpg
/home/pi/Desktop/images/02012026/08/50/image_02012026_08_51_05_9802.jpg
/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_14_9777.jpg
/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_24_9833.jpg
/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_34_9980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133683","1402133731","1402133725","1402133734","1402133687","1402133726"],"photo_ids_order":["1402133683","1402133687","1402133725","1402133726","1402133731","1402133734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1b2e1c5824d455f8df543544b7973d64.jpg","text":"TemporaryFile(/tmp/multipartBody1912736494169631366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345803200,"filename":"image_02012026_08_50_34_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/2/fa6fc98a4069cd8c78b7fcd2d2c73b93.jpg","text":"TemporaryFile(/tmp/multipartBody3743023494232986531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345803200,"filename":"image_02012026_08_51_24_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/2/8f3f08815e889cd4b99e689a9c8196ab.jpg","text":"TemporaryFile(/tmp/multipartBody2749982583494766417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345803200,"filename":"image_02012026_08_51_05_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/2/596ddd05267be01b3c357e8f814e2d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7003878462248405387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345803200,"filename":"image_02012026_08_51_34_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/2/e2586dfe946c4b28a5cea70185bf239e.jpg","text":"TemporaryFile(/tmp/multipartBody4900730905691780263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345803200,"filename":"image_02012026_08_50_55_10888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcb159e9927256426413bf701b8b094b.jpg","text":"TemporaryFile(/tmp/multipartBody4886633894134597536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345803200,"filename":"image_02012026_08_51_14_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133725","file1":"1402133687","file0":"1402133683","file4":"1402133731","file5":"1402133734","file3":"1402133726"},"map_files_photo_id_array":[{"photo_id":"1402133734","filename":"file5"},{"photo_id":"1402133725","filename":"file2"},{"photo_id":"1402133731","filename":"file4"},{"photo_id":"1402133687","filename":"file1"},{"photo_id":"1402133683","filename":"file0"},{"photo_id":"1402133726","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133683":["hashtag1","hashtag2"]},{"1402133731":["hashtag1","hashtag2"]},{"1402133725":["hashtag1","hashtag2"]},{"1402133734":["hashtag1","hashtag2"]},{"1402133687":["hashtag1","hashtag2"]},{"1402133726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133683, 1402133731, 1402133725, 1402133734, 1402133687, 1402133726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62741136550903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:23:03.531014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_44_9692.jpg', '/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_55_10698.jpg', '/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_14_9714.jpg', '/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_25_10764.jpg', '/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_35_9838.jpg', '/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_44_9692.jpg
/home/pi/Desktop/images/02012026/08/51/image_02012026_08_51_55_10698.jpg
/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_14_9714.jpg
/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_25_10764.jpg
/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_35_9838.jpg
/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_44_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":["1402133743","1402133746","1402133740","1402133748","1402133736","1402133738"],"photo_ids_order":["1402133736","1402133738","1402133740","1402133743","1402133746","1402133748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6544cd5b9df1ad3ac493614dc9adf6d8.jpg","text":"TemporaryFile(/tmp/multipartBody346843871729312559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345844250,"filename":"image_02012026_08_52_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/2/b4dd0b0c41d3e336b30c9bd873c6b68a.jpg","text":"TemporaryFile(/tmp/multipartBody6860530351274985977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345844250,"filename":"image_02012026_08_52_35_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/2/a455f29daba5fb510d77014bd646359c.jpg","text":"TemporaryFile(/tmp/multipartBody6158807593327885851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345844250,"filename":"image_02012026_08_52_14_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/2/1e118d23c8968133688ff34411cb78e3.jpg","text":"TemporaryFile(/tmp/multipartBody6234963762023736613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345844250,"filename":"image_02012026_08_52_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/2/0b22e7d4ee04b36b8a161cbf79fb617c.jpg","text":"TemporaryFile(/tmp/multipartBody4283007107813069554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345844250,"filename":"image_02012026_08_51_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/2/d24bc95317d093432d7fc065b3bfb935.jpg","text":"TemporaryFile(/tmp/multipartBody2044091982446104055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345844250,"filename":"image_02012026_08_51_55_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133740","file1":"1402133738","file0":"1402133736","file4":"1402133746","file5":"1402133748","file3":"1402133743"},"map_files_photo_id_array":[{"photo_id":"1402133748","filename":"file5"},{"photo_id":"1402133740","filename":"file2"},{"photo_id":"1402133746","filename":"file4"},{"photo_id":"1402133738","filename":"file1"},{"photo_id":"1402133736","filename":"file0"},{"photo_id":"1402133743","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133743":["hashtag1","hashtag2"]},{"1402133746":["hashtag1","hashtag2"]},{"1402133740":["hashtag1","hashtag2"]},{"1402133748":["hashtag1","hashtag2"]},{"1402133736":["hashtag1","hashtag2"]},{"1402133738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133743, 1402133746, 1402133740, 1402133748, 1402133736, 1402133738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.461843729019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:23:42.730176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_40_1649.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_42_1658.jpg', '/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_43_1571.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_08_3011.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_17_2583.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_20_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_40_1649.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_42_1658.jpg
/home/pi/Desktop/images/05112025/17/47/image_05112025_17_47_43_1571.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_08_3011.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_17_2583.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_20_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":["1402133797","1402133755","1402133796","1402133754","1402133795","1402133771"],"photo_ids_order":["1402133754","1402133755","1402133771","1402133795","1402133796","1402133797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e11621b1da90c8bd74452a54ef453767.jpg","text":"TemporaryFile(/tmp/multipartBody579138292514306677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345884520,"filename":"image_05112025_17_50_20_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/2/577fa3a92f0c3a59fbdb51d88abe0768.jpg","text":"TemporaryFile(/tmp/multipartBody5653178495855971924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345884520,"filename":"image_05112025_17_47_42_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/2/b20fd1d8286b87fd19ee9e5805171d55.jpg","text":"TemporaryFile(/tmp/multipartBody5638730694011309289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345884520,"filename":"image_05112025_17_50_17_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/2/e20db630f645a69aa77b2f579a396cab.jpg","text":"TemporaryFile(/tmp/multipartBody3125192021613563439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345884520,"filename":"image_05112025_17_47_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/2/b161552651fecc681c30e11842d84ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2566057801032542348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345884520,"filename":"image_05112025_17_50_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/2/b7b97521cafc56142fbfeb740d196848.jpg","text":"TemporaryFile(/tmp/multipartBody1791325734801011114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345884520,"filename":"image_05112025_17_47_43_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133771","file1":"1402133755","file0":"1402133754","file4":"1402133796","file5":"1402133797","file3":"1402133795"},"map_files_photo_id_array":[{"photo_id":"1402133797","filename":"file5"},{"photo_id":"1402133771","filename":"file2"},{"photo_id":"1402133796","filename":"file4"},{"photo_id":"1402133755","filename":"file1"},{"photo_id":"1402133754","filename":"file0"},{"photo_id":"1402133795","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133797":["hashtag1","hashtag2"]},{"1402133755":["hashtag1","hashtag2"]},{"1402133796":["hashtag1","hashtag2"]},{"1402133754":["hashtag1","hashtag2"]},{"1402133795":["hashtag1","hashtag2"]},{"1402133771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133797, 1402133755, 1402133796, 1402133754, 1402133795, 1402133771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78673553466797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:24:21.880547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_54_9726.jpg', '/home/pi/Desktop/images/02012026/08/52/image_02012026_08_53_05_10589.jpg', '/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_15_9772.jpg', '/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_35_10742.jpg', '/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_45_9697.jpg', '/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_54_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/52/image_02012026_08_52_54_9726.jpg
/home/pi/Desktop/images/02012026/08/52/image_02012026_08_53_05_10589.jpg
/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_15_9772.jpg
/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_35_10742.jpg
/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_45_9697.jpg
/home/pi/Desktop/images/02012026/08/53/image_02012026_08_53_54_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133812","1402133820","1402133817","1402133808","1402133810","1402133804"],"photo_ids_order":["1402133804","1402133808","1402133810","1402133812","1402133817","1402133820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfeed10ed344d7c62af00b6aa4041162.jpg","text":"TemporaryFile(/tmp/multipartBody2281173408487952718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345922507,"filename":"image_02012026_08_53_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/2/3a649995328eb328749e4f7ee11bc334.jpg","text":"TemporaryFile(/tmp/multipartBody3625113670564960492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345922507,"filename":"image_02012026_08_53_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/2/efd7609ed1d8b565e8649702e4c874c6.jpg","text":"TemporaryFile(/tmp/multipartBody2731053757428227978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345922507,"filename":"image_02012026_08_53_45_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/2/6dc424f109a480236f805b514435c4be.jpg","text":"TemporaryFile(/tmp/multipartBody8535968354921011153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345922507,"filename":"image_02012026_08_53_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/2/3e7b23d18b4562be491ecf86c692602a.jpg","text":"TemporaryFile(/tmp/multipartBody2368805339780619229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345922507,"filename":"image_02012026_08_53_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/2/381c299b8fc33cdb49a0a473898cf99e.jpg","text":"TemporaryFile(/tmp/multipartBody141855591262962051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345922507,"filename":"image_02012026_08_52_54_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133810","file1":"1402133808","file0":"1402133804","file4":"1402133817","file5":"1402133820","file3":"1402133812"},"map_files_photo_id_array":[{"photo_id":"1402133820","filename":"file5"},{"photo_id":"1402133810","filename":"file2"},{"photo_id":"1402133817","filename":"file4"},{"photo_id":"1402133808","filename":"file1"},{"photo_id":"1402133804","filename":"file0"},{"photo_id":"1402133812","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133812":["hashtag1","hashtag2"]},{"1402133820":["hashtag1","hashtag2"]},{"1402133817":["hashtag1","hashtag2"]},{"1402133808":["hashtag1","hashtag2"]},{"1402133810":["hashtag1","hashtag2"]},{"1402133804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133812, 1402133820, 1402133817, 1402133808, 1402133810, 1402133804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68655490875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:25:02.742604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/08/53/image_02012026_08_54_04_9804.jpg', '/home/pi/Desktop/images/02012026/08/54/image_02012026_08_54_34_9598.jpg', '/home/pi/Desktop/images/02012026/08/57/image_02012026_08_57_54_10182.jpg', '/home/pi/Desktop/images/02012026/08/58/image_02012026_08_58_34_9687.jpg', '/home/pi/Desktop/images/02012026/09/00/image_02012026_09_00_25_10634.jpg', '/home/pi/Desktop/images/02012026/09/01/image_02012026_09_01_24_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/08/53/image_02012026_08_54_04_9804.jpg
/home/pi/Desktop/images/02012026/08/54/image_02012026_08_54_34_9598.jpg
/home/pi/Desktop/images/02012026/08/57/image_02012026_08_57_54_10182.jpg
/home/pi/Desktop/images/02012026/08/58/image_02012026_08_58_34_9687.jpg
/home/pi/Desktop/images/02012026/09/00/image_02012026_09_00_25_10634.jpg
/home/pi/Desktop/images/02012026/09/01/image_02012026_09_01_24_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133836","1402133833","1402133827","1402133829","1402133831","1402133840"],"photo_ids_order":["1402133827","1402133829","1402133831","1402133833","1402133836","1402133840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57a8c5d4fc67e44ee60aec8b394b9099.jpg","text":"TemporaryFile(/tmp/multipartBody1297281488501631684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345963342,"filename":"image_02012026_09_00_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/2/baf395ab5d8e6d1a7d77580919e298b2.jpg","text":"TemporaryFile(/tmp/multipartBody1457980223904460808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345963342,"filename":"image_02012026_08_58_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/2/cc7cb4343e6aa16d105f4da8462323ab.jpg","text":"TemporaryFile(/tmp/multipartBody1441931155871767727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345963342,"filename":"image_02012026_08_54_04_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/2/dca05495ec4341b5a6d2dfb0333f2f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1891643091086184042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345963342,"filename":"image_02012026_08_54_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/2/dffe51f08cc20974adf67d6ff396dbf8.jpg","text":"TemporaryFile(/tmp/multipartBody2888341557872724223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345963342,"filename":"image_02012026_08_57_54_10182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ac4638c7dfec5962cbe6295d265d25b0.jpg","text":"TemporaryFile(/tmp/multipartBody4519183108378019101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767345963342,"filename":"image_02012026_09_01_24_9965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133831","file1":"1402133829","file0":"1402133827","file4":"1402133836","file5":"1402133840","file3":"1402133833"},"map_files_photo_id_array":[{"photo_id":"1402133840","filename":"file5"},{"photo_id":"1402133831","filename":"file2"},{"photo_id":"1402133836","filename":"file4"},{"photo_id":"1402133829","filename":"file1"},{"photo_id":"1402133827","filename":"file0"},{"photo_id":"1402133833","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133836":["hashtag1","hashtag2"]},{"1402133833":["hashtag1","hashtag2"]},{"1402133827":["hashtag1","hashtag2"]},{"1402133829":["hashtag1","hashtag2"]},{"1402133831":["hashtag1","hashtag2"]},{"1402133840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133836, 1402133833, 1402133827, 1402133829, 1402133831, 1402133840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.093477964401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:25:42.090490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_23_2672.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_26_2585.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_30_3873.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_32_2526.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_35_2778.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_38_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_23_2672.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_26_2585.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_30_3873.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_32_2526.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_35_2778.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_38_3565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133854","1402133848","1402133853","1402133852","1402133846","1402133849"],"photo_ids_order":["1402133846","1402133848","1402133849","1402133852","1402133853","1402133854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b73fbe3f49c9d4389b28ed891c20519.jpg","text":"TemporaryFile(/tmp/multipartBody8649042450756854599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346003922,"filename":"image_05112025_17_50_38_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/2/d64603c032ed38bd0e6c190def6d8ab9.jpg","text":"TemporaryFile(/tmp/multipartBody103231059838217621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346003922,"filename":"image_05112025_17_50_26_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/2/3f6e92b575b54b1c003fec5e8ca19ad7.jpg","text":"TemporaryFile(/tmp/multipartBody980110721530940087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346003922,"filename":"image_05112025_17_50_35_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/2/e20cc27e0b75780ba3a0e154425cc6be.jpg","text":"TemporaryFile(/tmp/multipartBody2709944980118686611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346003922,"filename":"image_05112025_17_50_32_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/2/2154cfe1466440354b51792c3c8b56c7.jpg","text":"TemporaryFile(/tmp/multipartBody953203496400703662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346003922,"filename":"image_05112025_17_50_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/2/350b97cbd2015815ab1530eaf6ee04fa.jpg","text":"TemporaryFile(/tmp/multipartBody7685808855355390931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346003922,"filename":"image_05112025_17_50_30_3873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133849","file1":"1402133848","file0":"1402133846","file4":"1402133853","file5":"1402133854","file3":"1402133852"},"map_files_photo_id_array":[{"photo_id":"1402133854","filename":"file5"},{"photo_id":"1402133849","filename":"file2"},{"photo_id":"1402133853","filename":"file4"},{"photo_id":"1402133848","filename":"file1"},{"photo_id":"1402133846","filename":"file0"},{"photo_id":"1402133852","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133854":["hashtag1","hashtag2"]},{"1402133848":["hashtag1","hashtag2"]},{"1402133853":["hashtag1","hashtag2"]},{"1402133852":["hashtag1","hashtag2"]},{"1402133846":["hashtag1","hashtag2"]},{"1402133849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133854, 1402133848, 1402133853, 1402133852, 1402133846, 1402133849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.049889087677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:26:22.268100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/01/image_02012026_09_01_54_9626.jpg', '/home/pi/Desktop/images/02012026/09/01/image_02012026_09_02_05_10665.jpg', '/home/pi/Desktop/images/02012026/09/02/image_02012026_09_02_14_9563.jpg', '/home/pi/Desktop/images/02012026/09/02/image_02012026_09_02_35_10619.jpg', '/home/pi/Desktop/images/02012026/09/02/image_02012026_09_02_45_9762.jpg', '/home/pi/Desktop/images/02012026/09/05/image_02012026_09_05_25_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/01/image_02012026_09_01_54_9626.jpg
/home/pi/Desktop/images/02012026/09/01/image_02012026_09_02_05_10665.jpg
/home/pi/Desktop/images/02012026/09/02/image_02012026_09_02_14_9563.jpg
/home/pi/Desktop/images/02012026/09/02/image_02012026_09_02_35_10619.jpg
/home/pi/Desktop/images/02012026/09/02/image_02012026_09_02_45_9762.jpg
/home/pi/Desktop/images/02012026/09/05/image_02012026_09_05_25_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133860","1402133863","1402133880","1402133870","1402133867","1402133872"],"photo_ids_order":["1402133860","1402133863","1402133867","1402133870","1402133872","1402133880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2e69b68673b0432222c205c777e019ca.jpg","text":"TemporaryFile(/tmp/multipartBody5572629062519599387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346042859,"filename":"image_02012026_09_01_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/2/5b8a1861b02cef89244578cb71e5c368.jpg","text":"TemporaryFile(/tmp/multipartBody1505584384061277225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346042859,"filename":"image_02012026_09_02_05_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/2/cb5c31f214553605a881683ef87c64b9.jpg","text":"TemporaryFile(/tmp/multipartBody4382515407031051416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346042859,"filename":"image_02012026_09_05_25_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/2/03e372611193fa84a78a24d123f2b9c0.jpg","text":"TemporaryFile(/tmp/multipartBody1157665150100742734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346042859,"filename":"image_02012026_09_02_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/2/4460fe12500eddd7d5ccc5b9f012d596.jpg","text":"TemporaryFile(/tmp/multipartBody7868260889391901487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346042859,"filename":"image_02012026_09_02_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/2/ff8ba0ae568cc06dd706b98a8399fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody7890072106845713917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346042859,"filename":"image_02012026_09_02_45_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133867","file1":"1402133863","file0":"1402133860","file4":"1402133872","file5":"1402133880","file3":"1402133870"},"map_files_photo_id_array":[{"photo_id":"1402133880","filename":"file5"},{"photo_id":"1402133867","filename":"file2"},{"photo_id":"1402133872","filename":"file4"},{"photo_id":"1402133863","filename":"file1"},{"photo_id":"1402133860","filename":"file0"},{"photo_id":"1402133870","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133860":["hashtag1","hashtag2"]},{"1402133863":["hashtag1","hashtag2"]},{"1402133880":["hashtag1","hashtag2"]},{"1402133870":["hashtag1","hashtag2"]},{"1402133867":["hashtag1","hashtag2"]},{"1402133872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133860, 1402133863, 1402133880, 1402133870, 1402133867, 1402133872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.431506395339966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:27:03.094928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/05/image_02012026_09_05_55_10537.jpg', '/home/pi/Desktop/images/02012026/09/05/image_02012026_09_06_04_9636.jpg', '/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_15_10585.jpg', '/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_34_9626.jpg', '/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_45_10668.jpg', '/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_55_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/05/image_02012026_09_05_55_10537.jpg
/home/pi/Desktop/images/02012026/09/05/image_02012026_09_06_04_9636.jpg
/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_15_10585.jpg
/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_34_9626.jpg
/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_45_10668.jpg
/home/pi/Desktop/images/02012026/09/06/image_02012026_09_06_55_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":["1402133911","1402133913","1402133922","1402133916","1402133919","1402133909"],"photo_ids_order":["1402133909","1402133911","1402133913","1402133916","1402133919","1402133922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/360332163d6c3dcaabd38249f1d8ef93.jpg","text":"TemporaryFile(/tmp/multipartBody1146417039021652668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346083742,"filename":"image_02012026_09_06_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/2/68e6587cdfd2e97081f5ab5720a47b96.jpg","text":"TemporaryFile(/tmp/multipartBody8137525213392525341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346083742,"filename":"image_02012026_09_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/2/44b9089ac741f74808393f3654cfd869.jpg","text":"TemporaryFile(/tmp/multipartBody8873377347303938944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346083742,"filename":"image_02012026_09_06_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/2/a0a5d61d57b4c62ba988e041914b951a.jpg","text":"TemporaryFile(/tmp/multipartBody1385868912128988954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346083742,"filename":"image_02012026_09_06_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/2/e898089413d43748040b1fec7c9d03b5.jpg","text":"TemporaryFile(/tmp/multipartBody1364444695417248239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346083742,"filename":"image_02012026_09_06_45_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/2/c91aa0aa76eb9513f65e4b2745f2ea0c.jpg","text":"TemporaryFile(/tmp/multipartBody7174128605866703584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346083742,"filename":"image_02012026_09_05_55_10537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133913","file1":"1402133911","file0":"1402133909","file4":"1402133919","file5":"1402133922","file3":"1402133916"},"map_files_photo_id_array":[{"photo_id":"1402133922","filename":"file5"},{"photo_id":"1402133913","filename":"file2"},{"photo_id":"1402133919","filename":"file4"},{"photo_id":"1402133911","filename":"file1"},{"photo_id":"1402133909","filename":"file0"},{"photo_id":"1402133916","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402133911":["hashtag1","hashtag2"]},{"1402133913":["hashtag1","hashtag2"]},{"1402133922":["hashtag1","hashtag2"]},{"1402133916":["hashtag1","hashtag2"]},{"1402133919":["hashtag1","hashtag2"]},{"1402133909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402133911, 1402133913, 1402133922, 1402133916, 1402133919, 1402133909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72688817977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:27:42.434500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_52_13854.jpg', '/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_54_1654.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_10_15954.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_11_1518.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_13_1718.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_16_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_52_13854.jpg
/home/pi/Desktop/images/05112025/17/50/image_05112025_17_50_54_1654.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_10_15954.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_11_1518.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_13_1718.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_16_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":["1402133932","1402133931","1402133934","1402133928","1402133930","1402133933"],"photo_ids_order":["1402133928","1402133930","1402133931","1402133932","1402133933","1402133934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/336593e2ae6c37f3b43d39a53b33c488.jpg","text":"TemporaryFile(/tmp/multipartBody8733512011873320001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346124249,"filename":"image_05112025_17_51_11_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/2/ac0953bb3cd0efd0fdc38e5cbb1df935.jpg","text":"TemporaryFile(/tmp/multipartBody2684648852741638108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346124249,"filename":"image_05112025_17_51_10_15954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b742409c56fa8418bbaab0d490074488.jpg","text":"TemporaryFile(/tmp/multipartBody7115218721058979640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346124249,"filename":"image_05112025_17_51_16_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/2/a24f0960d78702c1858a0fb4311ca2ee.jpg","text":"TemporaryFile(/tmp/multipartBody3372931824228848614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346124249,"filename":"image_05112025_17_50_52_13854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b45ab78cdfec0d27929498fa845a116a.jpg","text":"TemporaryFile(/tmp/multipartBody5303417596882951288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346124249,"filename":"image_05112025_17_50_54_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/2/08f62bfc01c7d026322a0e28f3987f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2124108634365816046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346124249,"filename":"image_05112025_17_51_13_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133931","file1":"1402133930","file0":"1402133928","file4":"1402133933","file5":"1402133934","file3":"1402133932"},"map_files_photo_id_array":[{"photo_id":"1402133934","filename":"file5"},{"photo_id":"1402133931","filename":"file2"},{"photo_id":"1402133933","filename":"file4"},{"photo_id":"1402133930","filename":"file1"},{"photo_id":"1402133928","filename":"file0"},{"photo_id":"1402133932","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133932":["hashtag1","hashtag2"]},{"1402133931":["hashtag1","hashtag2"]},{"1402133934":["hashtag1","hashtag2"]},{"1402133928":["hashtag1","hashtag2"]},{"1402133930":["hashtag1","hashtag2"]},{"1402133933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133932, 1402133931, 1402133934, 1402133928, 1402133930, 1402133933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.047924757003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:28:22.623952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_15_10835.jpg', '/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_35_9609.jpg', '/home/pi/Desktop/images/02012026/09/08/image_02012026_09_08_55_9684.jpg', '/home/pi/Desktop/images/02012026/09/08/image_02012026_09_09_04_9669.jpg', '/home/pi/Desktop/images/02012026/09/10/image_02012026_09_10_45_9668.jpg', '/home/pi/Desktop/images/02012026/09/20/image_02012026_09_20_08_13013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_15_10835.jpg
/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_35_9609.jpg
/home/pi/Desktop/images/02012026/09/08/image_02012026_09_08_55_9684.jpg
/home/pi/Desktop/images/02012026/09/08/image_02012026_09_09_04_9669.jpg
/home/pi/Desktop/images/02012026/09/10/image_02012026_09_10_45_9668.jpg
/home/pi/Desktop/images/02012026/09/20/image_02012026_09_20_08_13013.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4553647041320801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:28:32.662692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_18_1545.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_19_1612.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_21_1542.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_23_1721.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_24_1646.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_26_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_18_1545.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_19_1612.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_21_1542.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_23_1721.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_24_1646.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_26_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":["1402133956","1402133964","1402133960","1402133963","1402133945","1402133965"],"photo_ids_order":["1402133945","1402133956","1402133960","1402133963","1402133964","1402133965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c5adfe3aa81a0a0f00b24a0e275c9b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6279749309879101415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346174526,"filename":"image_05112025_17_51_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/2/82f0556d88c947707b6865a92407fe14.jpg","text":"TemporaryFile(/tmp/multipartBody4209837834624781192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346174526,"filename":"image_05112025_17_51_24_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/2/1268449faa6984ec7f19db734cb5d07f.jpg","text":"TemporaryFile(/tmp/multipartBody7425814583723759836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346174526,"filename":"image_05112025_17_51_21_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/2/5e1e59b3045f48c030150ecf8e0d4b14.jpg","text":"TemporaryFile(/tmp/multipartBody7735322841097136301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346174526,"filename":"image_05112025_17_51_23_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/2/a186b58b8c350f8ee29f07e39c84820b.jpg","text":"TemporaryFile(/tmp/multipartBody6042654354106116223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346174526,"filename":"image_05112025_17_51_18_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/2/c0cce71ce014254926de22889869f54b.jpg","text":"TemporaryFile(/tmp/multipartBody6423126692215505651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346174526,"filename":"image_05112025_17_51_26_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133960","file1":"1402133956","file0":"1402133945","file4":"1402133964","file5":"1402133965","file3":"1402133963"},"map_files_photo_id_array":[{"photo_id":"1402133965","filename":"file5"},{"photo_id":"1402133960","filename":"file2"},{"photo_id":"1402133964","filename":"file4"},{"photo_id":"1402133956","filename":"file1"},{"photo_id":"1402133945","filename":"file0"},{"photo_id":"1402133963","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133956":["hashtag1","hashtag2"]},{"1402133964":["hashtag1","hashtag2"]},{"1402133960":["hashtag1","hashtag2"]},{"1402133963":["hashtag1","hashtag2"]},{"1402133945":["hashtag1","hashtag2"]},{"1402133965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133956, 1402133964, 1402133960, 1402133963, 1402133945, 1402133965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79225039482117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:29:12.851821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_28_1721.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_37_8942.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_38_1506.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_40_1756.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_42_1731.jpg', '/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_48_6027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_28_1721.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_37_8942.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_38_1506.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_40_1756.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_42_1731.jpg
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_48_6027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402133974","1402133982","1402133976","1402133979","1402133984","1402133986"],"photo_ids_order":["1402133974","1402133976","1402133979","1402133982","1402133984","1402133986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e47037a30e25e836977b663f298e744.jpg","text":"TemporaryFile(/tmp/multipartBody4616826677014771003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346214574,"filename":"image_05112025_17_51_28_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/2/f085d999c875cfb6771430e890228ce4.jpg","text":"TemporaryFile(/tmp/multipartBody6948535542594407946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346214574,"filename":"image_05112025_17_51_40_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/2/7edc1bde5c98aff52ffc8a7e8a986dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1010940927529790084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346214574,"filename":"image_05112025_17_51_37_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/2/5fe4e73f7def9739400a01b551263b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5309217636043192299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346214574,"filename":"image_05112025_17_51_38_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/2/c95f42e711204a66d772f8b504d1d1a6.jpg","text":"TemporaryFile(/tmp/multipartBody8098495448731798855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346214574,"filename":"image_05112025_17_51_42_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/2/07afb228f579956c29b1d0bb2bf268e6.jpg","text":"TemporaryFile(/tmp/multipartBody5855134997543038148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346214574,"filename":"image_05112025_17_51_48_6027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402133979","file1":"1402133976","file0":"1402133974","file4":"1402133984","file5":"1402133986","file3":"1402133982"},"map_files_photo_id_array":[{"photo_id":"1402133986","filename":"file5"},{"photo_id":"1402133979","filename":"file2"},{"photo_id":"1402133984","filename":"file4"},{"photo_id":"1402133976","filename":"file1"},{"photo_id":"1402133974","filename":"file0"},{"photo_id":"1402133982","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402133974":["hashtag1","hashtag2"]},{"1402133982":["hashtag1","hashtag2"]},{"1402133976":["hashtag1","hashtag2"]},{"1402133979":["hashtag1","hashtag2"]},{"1402133984":["hashtag1","hashtag2"]},{"1402133986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402133974, 1402133982, 1402133976, 1402133979, 1402133984, 1402133986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20420241355896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:30:02.451918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_15_10835.jpg', '/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_35_9609.jpg', '/home/pi/Desktop/images/02012026/09/08/image_02012026_09_08_55_9684.jpg', '/home/pi/Desktop/images/02012026/09/08/image_02012026_09_09_04_9669.jpg', '/home/pi/Desktop/images/02012026/09/10/image_02012026_09_10_45_9668.jpg', '/home/pi/Desktop/images/02012026/09/20/image_02012026_09_20_08_13013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_15_10835.jpg
/home/pi/Desktop/images/02012026/09/07/image_02012026_09_07_35_9609.jpg
/home/pi/Desktop/images/02012026/09/08/image_02012026_09_08_55_9684.jpg
/home/pi/Desktop/images/02012026/09/08/image_02012026_09_09_04_9669.jpg
/home/pi/Desktop/images/02012026/09/10/image_02012026_09_10_45_9668.jpg
/home/pi/Desktop/images/02012026/09/20/image_02012026_09_20_08_13013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134022","1402134016","1402134019","1402134012","1402134006","1402134014"],"photo_ids_order":["1402134006","1402134012","1402134014","1402134016","1402134019","1402134022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/315f977f848ecbc135f49c5c17dd5bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5896074799020030017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346263067,"filename":"image_02012026_09_20_08_13013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0081a451c5e63edaeb9d8706fc7546fc.jpg","text":"TemporaryFile(/tmp/multipartBody6824048729076469023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346263067,"filename":"image_02012026_09_09_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/2/59eb23b0de4651a5ca7e36fd126c01bb.jpg","text":"TemporaryFile(/tmp/multipartBody9200291887049780664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346263067,"filename":"image_02012026_09_10_45_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/2/dd535157d287f75dea6eec311fbe4411.jpg","text":"TemporaryFile(/tmp/multipartBody8286306796461542871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346263067,"filename":"image_02012026_09_07_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/2/feb962081cc54a8f85a89b92e12dda6b.jpg","text":"TemporaryFile(/tmp/multipartBody4716138075540269568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346263067,"filename":"image_02012026_09_07_15_10835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e07b9415957822d6a39ef7bb0283b514.jpg","text":"TemporaryFile(/tmp/multipartBody4518585940471237626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346263067,"filename":"image_02012026_09_08_55_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134014","file1":"1402134012","file0":"1402134006","file4":"1402134019","file5":"1402134022","file3":"1402134016"},"map_files_photo_id_array":[{"photo_id":"1402134022","filename":"file5"},{"photo_id":"1402134014","filename":"file2"},{"photo_id":"1402134019","filename":"file4"},{"photo_id":"1402134012","filename":"file1"},{"photo_id":"1402134006","filename":"file0"},{"photo_id":"1402134016","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134022":["hashtag1","hashtag2"]},{"1402134016":["hashtag1","hashtag2"]},{"1402134019":["hashtag1","hashtag2"]},{"1402134012":["hashtag1","hashtag2"]},{"1402134006":["hashtag1","hashtag2"]},{"1402134014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134022, 1402134016, 1402134019, 1402134012, 1402134006, 1402134014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09441876411438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:30:42.165807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_59_11710.jpg', '/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_01_1515.jpg', '/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_03_1735.jpg', '/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_57_17648.jpg', '/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_59_1588.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_01_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/51/image_05112025_17_51_59_11710.jpg
/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_01_1515.jpg
/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_03_1735.jpg
/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_57_17648.jpg
/home/pi/Desktop/images/05112025/17/52/image_05112025_17_52_59_1588.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_01_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134037","1402134030","1402134033","1402134036","1402134035","1402134034"],"photo_ids_order":["1402134030","1402134033","1402134034","1402134035","1402134036","1402134037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0298ae4f9b3475a88147360358aa8539.jpg","text":"TemporaryFile(/tmp/multipartBody7965946366922112640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346304005,"filename":"image_05112025_17_53_01_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/2/7d4c05eb97fa90deaab3f5546d6c6465.jpg","text":"TemporaryFile(/tmp/multipartBody6583878807780652241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346304005,"filename":"image_05112025_17_51_59_11710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/041ed247873e6751d270bf2a35c31090.jpg","text":"TemporaryFile(/tmp/multipartBody332003587284427010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346304005,"filename":"image_05112025_17_52_01_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/2/42e221d5c4ee37fadb1a6eb27030944f.jpg","text":"TemporaryFile(/tmp/multipartBody1914722978285495130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346304005,"filename":"image_05112025_17_52_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/2/dfffa75d5ed2ff6a992e94b698b69dae.jpg","text":"TemporaryFile(/tmp/multipartBody1564456157559547922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346304005,"filename":"image_05112025_17_52_57_17648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/022dd1edb71f23b378770690aff26d1f.jpg","text":"TemporaryFile(/tmp/multipartBody8910591843799598300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346304005,"filename":"image_05112025_17_52_03_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134034","file1":"1402134033","file0":"1402134030","file4":"1402134036","file5":"1402134037","file3":"1402134035"},"map_files_photo_id_array":[{"photo_id":"1402134037","filename":"file5"},{"photo_id":"1402134034","filename":"file2"},{"photo_id":"1402134036","filename":"file4"},{"photo_id":"1402134033","filename":"file1"},{"photo_id":"1402134030","filename":"file0"},{"photo_id":"1402134035","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134037":["hashtag1","hashtag2"]},{"1402134030":["hashtag1","hashtag2"]},{"1402134033":["hashtag1","hashtag2"]},{"1402134036":["hashtag1","hashtag2"]},{"1402134035":["hashtag1","hashtag2"]},{"1402134034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134037, 1402134030, 1402134033, 1402134036, 1402134035, 1402134034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30635976791382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:31:22.310692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/22/image_02012026_09_22_54_9697.jpg', '/home/pi/Desktop/images/02012026/09/22/image_02012026_09_23_05_10786.jpg', '/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_15_9779.jpg', '/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_25_9775.jpg', '/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_35_10410.jpg', '/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_45_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/22/image_02012026_09_22_54_9697.jpg
/home/pi/Desktop/images/02012026/09/22/image_02012026_09_23_05_10786.jpg
/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_15_9779.jpg
/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_25_9775.jpg
/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_35_10410.jpg
/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_45_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134043","1402134051","1402134054","1402134047","1402134046","1402134049"],"photo_ids_order":["1402134043","1402134046","1402134047","1402134049","1402134051","1402134054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ddef621897562963be9404cade540eb.jpg","text":"TemporaryFile(/tmp/multipartBody5485877216958397021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346342917,"filename":"image_02012026_09_22_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/2/c667ffbc9af76c78e76c6ce34719e682.jpg","text":"TemporaryFile(/tmp/multipartBody3088628131991695118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346342917,"filename":"image_02012026_09_23_35_10410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/768ac0a750fc18c66541e1749b52bd68.jpg","text":"TemporaryFile(/tmp/multipartBody6187892819298755151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346342917,"filename":"image_02012026_09_23_45_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/2/422ba91cb4f7a43a35e1cb5a3cd7f952.jpg","text":"TemporaryFile(/tmp/multipartBody7034438297802865202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346342917,"filename":"image_02012026_09_23_15_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/2/b999f010f6f244b731c9a09067782f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4158547520057189502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346342917,"filename":"image_02012026_09_23_05_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/2/76e8bcb4d59c6f31d3450f4d93c7fa7f.jpg","text":"TemporaryFile(/tmp/multipartBody3418372678579299927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346342917,"filename":"image_02012026_09_23_25_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134047","file1":"1402134046","file0":"1402134043","file4":"1402134051","file5":"1402134054","file3":"1402134049"},"map_files_photo_id_array":[{"photo_id":"1402134054","filename":"file5"},{"photo_id":"1402134047","filename":"file2"},{"photo_id":"1402134051","filename":"file4"},{"photo_id":"1402134046","filename":"file1"},{"photo_id":"1402134043","filename":"file0"},{"photo_id":"1402134049","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134043":["hashtag1","hashtag2"]},{"1402134051":["hashtag1","hashtag2"]},{"1402134054":["hashtag1","hashtag2"]},{"1402134047":["hashtag1","hashtag2"]},{"1402134046":["hashtag1","hashtag2"]},{"1402134049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134043, 1402134051, 1402134054, 1402134047, 1402134046, 1402134049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45126676559448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:32:03.018706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_54_9684.jpg', '/home/pi/Desktop/images/02012026/09/23/image_02012026_09_24_04_10066.jpg', '/home/pi/Desktop/images/02012026/09/24/image_02012026_09_24_34_9674.jpg', '/home/pi/Desktop/images/02012026/09/24/image_02012026_09_24_45_10675.jpg', '/home/pi/Desktop/images/02012026/09/24/image_02012026_09_24_55_9564.jpg', '/home/pi/Desktop/images/02012026/09/24/image_02012026_09_25_04_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/23/image_02012026_09_23_54_9684.jpg
/home/pi/Desktop/images/02012026/09/23/image_02012026_09_24_04_10066.jpg
/home/pi/Desktop/images/02012026/09/24/image_02012026_09_24_34_9674.jpg
/home/pi/Desktop/images/02012026/09/24/image_02012026_09_24_45_10675.jpg
/home/pi/Desktop/images/02012026/09/24/image_02012026_09_24_55_9564.jpg
/home/pi/Desktop/images/02012026/09/24/image_02012026_09_25_04_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":["1402134058","1402134063","1402134057","1402134069","1402134060","1402134056"],"photo_ids_order":["1402134056","1402134057","1402134058","1402134060","1402134063","1402134069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d7fe708f924a3dea21605d09f097a150.jpg","text":"TemporaryFile(/tmp/multipartBody7018066459178984453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346383602,"filename":"image_02012026_09_24_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/2/03bc74d444532c426732b0dfbc7a9509.jpg","text":"TemporaryFile(/tmp/multipartBody7730171630174336185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346383602,"filename":"image_02012026_09_24_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/2/7d7b8ba62ae9afb086570c6644fa7439.jpg","text":"TemporaryFile(/tmp/multipartBody6057954213953523307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346383602,"filename":"image_02012026_09_24_04_10066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d307307677646a08d188fcf42b4820f0.jpg","text":"TemporaryFile(/tmp/multipartBody5089982999687901418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346383602,"filename":"image_02012026_09_25_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fcbfd30e5682eb701d6111a14bfd65bf.jpg","text":"TemporaryFile(/tmp/multipartBody2396576022390054366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346383602,"filename":"image_02012026_09_24_45_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/2/47693da6a6813b8294508d8299a5af67.jpg","text":"TemporaryFile(/tmp/multipartBody5343339999492060158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346383602,"filename":"image_02012026_09_23_54_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134058","file1":"1402134057","file0":"1402134056","file4":"1402134063","file5":"1402134069","file3":"1402134060"},"map_files_photo_id_array":[{"photo_id":"1402134069","filename":"file5"},{"photo_id":"1402134058","filename":"file2"},{"photo_id":"1402134063","filename":"file4"},{"photo_id":"1402134057","filename":"file1"},{"photo_id":"1402134056","filename":"file0"},{"photo_id":"1402134060","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134058":["hashtag1","hashtag2"]},{"1402134063":["hashtag1","hashtag2"]},{"1402134057":["hashtag1","hashtag2"]},{"1402134069":["hashtag1","hashtag2"]},{"1402134060":["hashtag1","hashtag2"]},{"1402134056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134058, 1402134063, 1402134057, 1402134069, 1402134060, 1402134056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.514171838760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:32:42.726787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_02_1690.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_04_1745.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_06_1562.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_07_1640.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_09_1710.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_11_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_02_1690.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_04_1745.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_06_1562.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_07_1640.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_09_1710.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_11_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134118","1402134103","1402134120","1402134117","1402134089","1402134119"],"photo_ids_order":["1402134089","1402134103","1402134117","1402134118","1402134119","1402134120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5d9b9ccd6e5cf422f878c9d21ac12baf.jpg","text":"TemporaryFile(/tmp/multipartBody276597367023868005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346424545,"filename":"image_05112025_17_53_07_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/2/4cea655f8e28183d6dbeda852fc10a2a.jpg","text":"TemporaryFile(/tmp/multipartBody5785445616687035864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346424545,"filename":"image_05112025_17_53_04_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/2/c7c4770667a08e036cf099b643c4be91.jpg","text":"TemporaryFile(/tmp/multipartBody8406838952658942844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346424545,"filename":"image_05112025_17_53_11_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/2/22e50af1bbbea31c39fd7b1f31a4abbe.jpg","text":"TemporaryFile(/tmp/multipartBody9064477104361041275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346424545,"filename":"image_05112025_17_53_06_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/2/ffbdce5239569f5d8a1ca1b63fa64cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2921085083928354054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346424545,"filename":"image_05112025_17_53_02_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/2/f072b82e0a6a7195eaf99bde144ab3a3.jpg","text":"TemporaryFile(/tmp/multipartBody1139009664903489445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346424545,"filename":"image_05112025_17_53_09_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134117","file1":"1402134103","file0":"1402134089","file4":"1402134119","file5":"1402134120","file3":"1402134118"},"map_files_photo_id_array":[{"photo_id":"1402134120","filename":"file5"},{"photo_id":"1402134117","filename":"file2"},{"photo_id":"1402134119","filename":"file4"},{"photo_id":"1402134103","filename":"file1"},{"photo_id":"1402134089","filename":"file0"},{"photo_id":"1402134118","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134118":["hashtag1","hashtag2"]},{"1402134103":["hashtag1","hashtag2"]},{"1402134120":["hashtag1","hashtag2"]},{"1402134117":["hashtag1","hashtag2"]},{"1402134089":["hashtag1","hashtag2"]},{"1402134119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134118, 1402134103, 1402134120, 1402134117, 1402134089, 1402134119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04839611053467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:33:21.884800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_14_9711.jpg', '/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_25_10656.jpg', '/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_34_9568.jpg', '/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_44_9772.jpg', '/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_55_10738.jpg', '/home/pi/Desktop/images/02012026/09/25/image_02012026_09_26_05_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_14_9711.jpg
/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_25_10656.jpg
/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_34_9568.jpg
/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_44_9772.jpg
/home/pi/Desktop/images/02012026/09/25/image_02012026_09_25_55_10738.jpg
/home/pi/Desktop/images/02012026/09/25/image_02012026_09_26_05_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":["1402134129","1402134123","1402134131","1402134125","1402134133","1402134127"],"photo_ids_order":["1402134123","1402134125","1402134127","1402134129","1402134131","1402134133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7fdafbcd26f877b21b21c359230e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1987152186821975735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346462451,"filename":"image_02012026_09_25_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/2/970d43aab0d6e0f9728b26115a1dec51.jpg","text":"TemporaryFile(/tmp/multipartBody7972961908665361385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346462451,"filename":"image_02012026_09_25_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/2/89ad78a61b8b7d26dec7e420d0e2482e.jpg","text":"TemporaryFile(/tmp/multipartBody5670529309116979645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346462451,"filename":"image_02012026_09_25_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/2/b8f087e04a2460a01440c6a028e244db.jpg","text":"TemporaryFile(/tmp/multipartBody4037663376636327749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346462451,"filename":"image_02012026_09_25_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/2/b80d8d065db7bb6401bbb80d3ac0d92b.jpg","text":"TemporaryFile(/tmp/multipartBody6763627098693958567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346462451,"filename":"image_02012026_09_26_05_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/2/aa05c392d3d743bf6b02f90d94d53bf4.jpg","text":"TemporaryFile(/tmp/multipartBody9039374285013680842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346462451,"filename":"image_02012026_09_25_34_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134127","file1":"1402134125","file0":"1402134123","file4":"1402134131","file5":"1402134133","file3":"1402134129"},"map_files_photo_id_array":[{"photo_id":"1402134133","filename":"file5"},{"photo_id":"1402134127","filename":"file2"},{"photo_id":"1402134131","filename":"file4"},{"photo_id":"1402134125","filename":"file1"},{"photo_id":"1402134123","filename":"file0"},{"photo_id":"1402134129","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134129":["hashtag1","hashtag2"]},{"1402134123":["hashtag1","hashtag2"]},{"1402134131":["hashtag1","hashtag2"]},{"1402134125":["hashtag1","hashtag2"]},{"1402134133":["hashtag1","hashtag2"]},{"1402134127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134129, 1402134123, 1402134131, 1402134125, 1402134133, 1402134127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87586307525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:34:02.919098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_14_9666.jpg', '/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_25_10727.jpg', '/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_45_9784.jpg', '/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_54_9682.jpg', '/home/pi/Desktop/images/02012026/09/27/image_02012026_09_27_15_9687.jpg', '/home/pi/Desktop/images/02012026/09/27/image_02012026_09_27_45_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_14_9666.jpg
/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_25_10727.jpg
/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_45_9784.jpg
/home/pi/Desktop/images/02012026/09/26/image_02012026_09_26_54_9682.jpg
/home/pi/Desktop/images/02012026/09/27/image_02012026_09_27_15_9687.jpg
/home/pi/Desktop/images/02012026/09/27/image_02012026_09_27_45_10755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134142","1402134147","1402134149","1402134140","1402134143","1402134145"],"photo_ids_order":["1402134140","1402134142","1402134143","1402134145","1402134147","1402134149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d62969689d9fb3ad3b2ba065899c704.jpg","text":"TemporaryFile(/tmp/multipartBody612674574825579229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346503545,"filename":"image_02012026_09_26_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/2/d2b913fd9228a421c0a147f766fd5a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1243816143108759523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346503545,"filename":"image_02012026_09_27_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/2/a9b6ac1dd3ae088190e4cbcc59fd8281.jpg","text":"TemporaryFile(/tmp/multipartBody1597918938686156002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346503545,"filename":"image_02012026_09_27_45_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/2/ed79bc694f78f4f0f2af11c9b7b41e43.jpg","text":"TemporaryFile(/tmp/multipartBody271449370431730821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346503545,"filename":"image_02012026_09_26_14_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/2/8da9902bed0ff9048dadbe0ebf45f970.jpg","text":"TemporaryFile(/tmp/multipartBody6316680724406418878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346503545,"filename":"image_02012026_09_26_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/2/62d68659a2c1f97803527ce4e053f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody1148980577258904780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346503545,"filename":"image_02012026_09_26_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134143","file1":"1402134142","file0":"1402134140","file4":"1402134147","file5":"1402134149","file3":"1402134145"},"map_files_photo_id_array":[{"photo_id":"1402134149","filename":"file5"},{"photo_id":"1402134143","filename":"file2"},{"photo_id":"1402134147","filename":"file4"},{"photo_id":"1402134142","filename":"file1"},{"photo_id":"1402134140","filename":"file0"},{"photo_id":"1402134145","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134142":["hashtag1","hashtag2"]},{"1402134147":["hashtag1","hashtag2"]},{"1402134149":["hashtag1","hashtag2"]},{"1402134140":["hashtag1","hashtag2"]},{"1402134143":["hashtag1","hashtag2"]},{"1402134145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134142, 1402134147, 1402134149, 1402134140, 1402134143, 1402134145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48983645439148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:34:42.108085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_12_1598.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_19_6175.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_20_1567.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_22_1740.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_28_1650.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_37_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_12_1598.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_19_6175.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_20_1567.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_22_1740.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_28_1650.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_37_9445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.756303071975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:35:02.969533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/27/image_02012026_09_27_54_9545.jpg', '/home/pi/Desktop/images/02012026/09/27/image_02012026_09_28_04_9712.jpg', '/home/pi/Desktop/images/02012026/09/28/image_02012026_09_29_04_9643.jpg', '/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_15_10775.jpg', '/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_25_9613.jpg', '/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/27/image_02012026_09_27_54_9545.jpg
/home/pi/Desktop/images/02012026/09/27/image_02012026_09_28_04_9712.jpg
/home/pi/Desktop/images/02012026/09/28/image_02012026_09_29_04_9643.jpg
/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_15_10775.jpg
/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_25_9613.jpg
/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134180","1402134177","1402134185","1402134179","1402134182","1402134178"],"photo_ids_order":["1402134177","1402134178","1402134179","1402134180","1402134182","1402134185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87dcb2215964cbe713c05777f34e26a0.jpg","text":"TemporaryFile(/tmp/multipartBody5085847741012524113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346563635,"filename":"image_02012026_09_29_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/2/d5927f1e308a37e03ddfe94f1a0f57b1.jpg","text":"TemporaryFile(/tmp/multipartBody150223403556855188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346563635,"filename":"image_02012026_09_27_54_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/2/522d02bdfc0cac93980a9b45bc592bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2885584521460756426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346563635,"filename":"image_02012026_09_29_34_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/2/45f0d70eeea5b58f63f4af45718a59fa.jpg","text":"TemporaryFile(/tmp/multipartBody3073479696782033870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346563635,"filename":"image_02012026_09_29_04_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/2/70e11c09d21993e3871cfe0a2cc23c76.jpg","text":"TemporaryFile(/tmp/multipartBody9048404403997960312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346563635,"filename":"image_02012026_09_29_25_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/2/ab77e3391a618f2c5431fbcc50e03b47.jpg","text":"TemporaryFile(/tmp/multipartBody5759928409229886646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346563635,"filename":"image_02012026_09_28_04_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134179","file1":"1402134178","file0":"1402134177","file4":"1402134182","file5":"1402134185","file3":"1402134180"},"map_files_photo_id_array":[{"photo_id":"1402134185","filename":"file5"},{"photo_id":"1402134179","filename":"file2"},{"photo_id":"1402134182","filename":"file4"},{"photo_id":"1402134178","filename":"file1"},{"photo_id":"1402134177","filename":"file0"},{"photo_id":"1402134180","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134180":["hashtag1","hashtag2"]},{"1402134177":["hashtag1","hashtag2"]},{"1402134185":["hashtag1","hashtag2"]},{"1402134179":["hashtag1","hashtag2"]},{"1402134182":["hashtag1","hashtag2"]},{"1402134178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134180, 1402134177, 1402134185, 1402134179, 1402134182, 1402134178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.024256467819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:35:42.305395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_12_1598.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_19_6175.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_20_1567.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_22_1740.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_28_1650.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_37_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_12_1598.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_19_6175.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_20_1567.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_22_1740.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_28_1650.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_37_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134235","1402134234","1402134191","1402134233","1402134221","1402134193"],"photo_ids_order":["1402134191","1402134193","1402134221","1402134233","1402134234","1402134235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1da2a68f3836123b773f8ca1eb4c20e4.jpg","text":"TemporaryFile(/tmp/multipartBody7047557059824995801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346604015,"filename":"image_05112025_17_53_37_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/2/7db4420db1afe75280a2c9a6b4f57547.jpg","text":"TemporaryFile(/tmp/multipartBody7245310268985932321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346604015,"filename":"image_05112025_17_53_28_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/2/674e5b9aa0ab9e23d42b3e8e7b75060a.jpg","text":"TemporaryFile(/tmp/multipartBody9058392447197285234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346604015,"filename":"image_05112025_17_53_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/2/aab7cb1f14b287d712e01e4f6105af7f.jpg","text":"TemporaryFile(/tmp/multipartBody8155289945800120297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346604015,"filename":"image_05112025_17_53_22_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/2/e996bef91ee94f552c900e3ab7070c51.jpg","text":"TemporaryFile(/tmp/multipartBody3383605581037711069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346604015,"filename":"image_05112025_17_53_20_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/2/3da4c5cf331a20f230f3c1e48a837d62.jpg","text":"TemporaryFile(/tmp/multipartBody3814310023534343870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346604015,"filename":"image_05112025_17_53_19_6175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134221","file1":"1402134193","file0":"1402134191","file4":"1402134234","file5":"1402134235","file3":"1402134233"},"map_files_photo_id_array":[{"photo_id":"1402134235","filename":"file5"},{"photo_id":"1402134221","filename":"file2"},{"photo_id":"1402134234","filename":"file4"},{"photo_id":"1402134193","filename":"file1"},{"photo_id":"1402134191","filename":"file0"},{"photo_id":"1402134233","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134235":["hashtag1","hashtag2"]},{"1402134234":["hashtag1","hashtag2"]},{"1402134191":["hashtag1","hashtag2"]},{"1402134233":["hashtag1","hashtag2"]},{"1402134221":["hashtag1","hashtag2"]},{"1402134193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134235, 1402134234, 1402134191, 1402134233, 1402134221, 1402134193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.224820375442505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:36:22.500566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_45_10783.jpg', '/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_55_9707.jpg', '/home/pi/Desktop/images/02012026/09/30/image_02012026_09_30_25_10702.jpg', '/home/pi/Desktop/images/02012026/09/30/image_02012026_09_30_55_9631.jpg', '/home/pi/Desktop/images/02012026/09/30/image_02012026_09_31_05_9715.jpg', '/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_45_10783.jpg
/home/pi/Desktop/images/02012026/09/29/image_02012026_09_29_55_9707.jpg
/home/pi/Desktop/images/02012026/09/30/image_02012026_09_30_25_10702.jpg
/home/pi/Desktop/images/02012026/09/30/image_02012026_09_30_55_9631.jpg
/home/pi/Desktop/images/02012026/09/30/image_02012026_09_31_05_9715.jpg
/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_25_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":["1402134243","1402134246","1402134266","1402134239","1402134262","1402134274"],"photo_ids_order":["1402134239","1402134243","1402134246","1402134262","1402134266","1402134274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4bdd304210c1deee4c186bbeb53d646e.jpg","text":"TemporaryFile(/tmp/multipartBody2841588975539811966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346643082,"filename":"image_02012026_09_29_55_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/2/6d4a188c45ff7bb858212baa4ef7e13a.jpg","text":"TemporaryFile(/tmp/multipartBody2535274547942817769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346643082,"filename":"image_02012026_09_30_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/2/9d35c5e66ab4818605749f101b871fec.jpg","text":"TemporaryFile(/tmp/multipartBody6104283244952560215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346643082,"filename":"image_02012026_09_31_05_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/2/fb9560e33db92b0c21724aae059b9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1126297712678625995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346643082,"filename":"image_02012026_09_29_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/2/3b323ef398d42f6286ba187b48ffa8ed.jpg","text":"TemporaryFile(/tmp/multipartBody3767163613248899377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346643082,"filename":"image_02012026_09_30_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/2/5d7df87635dada920a4ae61992b983bf.jpg","text":"TemporaryFile(/tmp/multipartBody6936977725644168324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346643082,"filename":"image_02012026_09_31_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134246","file1":"1402134243","file0":"1402134239","file4":"1402134266","file5":"1402134274","file3":"1402134262"},"map_files_photo_id_array":[{"photo_id":"1402134274","filename":"file5"},{"photo_id":"1402134246","filename":"file2"},{"photo_id":"1402134266","filename":"file4"},{"photo_id":"1402134243","filename":"file1"},{"photo_id":"1402134239","filename":"file0"},{"photo_id":"1402134262","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134243":["hashtag1","hashtag2"]},{"1402134246":["hashtag1","hashtag2"]},{"1402134266":["hashtag1","hashtag2"]},{"1402134239":["hashtag1","hashtag2"]},{"1402134262":["hashtag1","hashtag2"]},{"1402134274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134243, 1402134246, 1402134266, 1402134239, 1402134262, 1402134274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06677436828613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:37:03.180412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_35_9620.jpg', '/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_46_10598.jpg', '/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_55_9676.jpg', '/home/pi/Desktop/images/02012026/09/32/image_02012026_09_32_55_9591.jpg', '/home/pi/Desktop/images/02012026/09/32/image_02012026_09_33_05_9674.jpg', '/home/pi/Desktop/images/02012026/09/33/image_02012026_09_33_25_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_35_9620.jpg
/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_46_10598.jpg
/home/pi/Desktop/images/02012026/09/31/image_02012026_09_31_55_9676.jpg
/home/pi/Desktop/images/02012026/09/32/image_02012026_09_32_55_9591.jpg
/home/pi/Desktop/images/02012026/09/32/image_02012026_09_33_05_9674.jpg
/home/pi/Desktop/images/02012026/09/33/image_02012026_09_33_25_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134285","1402134276","1402134279","1402134278","1402134281","1402134283"],"photo_ids_order":["1402134276","1402134278","1402134279","1402134281","1402134283","1402134285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dbd65e545ba72c43436f576a6224852e.jpg","text":"TemporaryFile(/tmp/multipartBody1093392962765671107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346683874,"filename":"image_02012026_09_33_25_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/2/8d9b1ae3ec084761100afef394c0c35e.jpg","text":"TemporaryFile(/tmp/multipartBody6555936800260150022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346683874,"filename":"image_02012026_09_31_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/2/b38d25a0cdf53f0e9fee7b05fe5b6c96.jpg","text":"TemporaryFile(/tmp/multipartBody3895116811901235327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346683874,"filename":"image_02012026_09_31_55_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/2/b84047f93cfb7d9350bea035755937a7.jpg","text":"TemporaryFile(/tmp/multipartBody3299507347309694968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346683874,"filename":"image_02012026_09_31_46_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/2/ee212ba03e30ab7709f1d075bef7c0e2.jpg","text":"TemporaryFile(/tmp/multipartBody6660673325144616858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346683874,"filename":"image_02012026_09_32_55_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/2/eb56b1eb1648e3fe8c10252cca6eb948.jpg","text":"TemporaryFile(/tmp/multipartBody778329540615897753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346683874,"filename":"image_02012026_09_33_05_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134279","file1":"1402134278","file0":"1402134276","file4":"1402134283","file5":"1402134285","file3":"1402134281"},"map_files_photo_id_array":[{"photo_id":"1402134285","filename":"file5"},{"photo_id":"1402134279","filename":"file2"},{"photo_id":"1402134283","filename":"file4"},{"photo_id":"1402134278","filename":"file1"},{"photo_id":"1402134276","filename":"file0"},{"photo_id":"1402134281","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134285":["hashtag1","hashtag2"]},{"1402134276":["hashtag1","hashtag2"]},{"1402134279":["hashtag1","hashtag2"]},{"1402134278":["hashtag1","hashtag2"]},{"1402134281":["hashtag1","hashtag2"]},{"1402134283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134285, 1402134276, 1402134279, 1402134278, 1402134281, 1402134283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58897614479065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:37:42.653008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_43_5917.jpg', '/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_45_1784.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_07_3011.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_10_3627.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_14_3103.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_20_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_43_5917.jpg
/home/pi/Desktop/images/05112025/17/53/image_05112025_17_53_45_1784.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_07_3011.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_10_3627.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_14_3103.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_20_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134294","1402134296","1402134290","1402134293","1402134295","1402134292"],"photo_ids_order":["1402134290","1402134292","1402134293","1402134294","1402134295","1402134296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f5d362b9540f6ebef4c12d020f9760c6.jpg","text":"TemporaryFile(/tmp/multipartBody595395492036967271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346724523,"filename":"image_05112025_17_57_10_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/2/ea5bab9906bcf0d9e384bc041af8b665.jpg","text":"TemporaryFile(/tmp/multipartBody258501312923219439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346724523,"filename":"image_05112025_17_57_20_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/2/228560fe8572edea4610130699a34929.jpg","text":"TemporaryFile(/tmp/multipartBody4048852013172582675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346724523,"filename":"image_05112025_17_53_43_5917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/182b977b1eddd237c2370ea2721d0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7306808393960179808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346724523,"filename":"image_05112025_17_57_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/2/4feb43e18f612981e9af8f4d7450ee75.jpg","text":"TemporaryFile(/tmp/multipartBody1155624230377715687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346724523,"filename":"image_05112025_17_57_14_3103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8079b72d0ef1f9d1746d2e0c090c28e5.jpg","text":"TemporaryFile(/tmp/multipartBody1233146766229117436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346724523,"filename":"image_05112025_17_53_45_1784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134293","file1":"1402134292","file0":"1402134290","file4":"1402134295","file5":"1402134296","file3":"1402134294"},"map_files_photo_id_array":[{"photo_id":"1402134296","filename":"file5"},{"photo_id":"1402134293","filename":"file2"},{"photo_id":"1402134295","filename":"file4"},{"photo_id":"1402134292","filename":"file1"},{"photo_id":"1402134290","filename":"file0"},{"photo_id":"1402134294","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134294":["hashtag1","hashtag2"]},{"1402134296":["hashtag1","hashtag2"]},{"1402134290":["hashtag1","hashtag2"]},{"1402134293":["hashtag1","hashtag2"]},{"1402134295":["hashtag1","hashtag2"]},{"1402134292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134294, 1402134296, 1402134290, 1402134293, 1402134295, 1402134292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54738092422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:38:22.898818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/34/image_02012026_09_34_45_9760.jpg', '/home/pi/Desktop/images/02012026/09/34/image_02012026_09_34_55_10608.jpg', '/home/pi/Desktop/images/02012026/09/34/image_02012026_09_35_05_9850.jpg', '/home/pi/Desktop/images/02012026/09/35/image_02012026_09_35_15_9750.jpg', '/home/pi/Desktop/images/02012026/09/35/image_02012026_09_35_26_10661.jpg', '/home/pi/Desktop/images/02012026/09/35/image_02012026_09_35_45_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/34/image_02012026_09_34_45_9760.jpg
/home/pi/Desktop/images/02012026/09/34/image_02012026_09_34_55_10608.jpg
/home/pi/Desktop/images/02012026/09/34/image_02012026_09_35_05_9850.jpg
/home/pi/Desktop/images/02012026/09/35/image_02012026_09_35_15_9750.jpg
/home/pi/Desktop/images/02012026/09/35/image_02012026_09_35_26_10661.jpg
/home/pi/Desktop/images/02012026/09/35/image_02012026_09_35_45_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134304","1402134315","1402134300","1402134302","1402134308","1402134325"],"photo_ids_order":["1402134300","1402134302","1402134304","1402134308","1402134315","1402134325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c1f79f0c86bce9248a00d53a04ca5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6517511788483093868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346763504,"filename":"image_02012026_09_35_05_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/2/15000d76f898d3a67b546e8424c409c6.jpg","text":"TemporaryFile(/tmp/multipartBody574301419527344991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346763504,"filename":"image_02012026_09_35_26_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/2/a70cb8de0c0a8f48b1f423e690d1ff95.jpg","text":"TemporaryFile(/tmp/multipartBody1776317271710279378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346763504,"filename":"image_02012026_09_34_45_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/2/7d7c966dda68f6efdd337d071e4b2aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5041984138998149741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346763504,"filename":"image_02012026_09_34_55_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/2/f9d2f6137771743e1f3621e1a877dafc.jpg","text":"TemporaryFile(/tmp/multipartBody2730073539744832952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346763504,"filename":"image_02012026_09_35_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/2/fc1c50ce11cfe5883bc3504de462b0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6959401431310667757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346763504,"filename":"image_02012026_09_35_45_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134304","file1":"1402134302","file0":"1402134300","file4":"1402134315","file5":"1402134325","file3":"1402134308"},"map_files_photo_id_array":[{"photo_id":"1402134325","filename":"file5"},{"photo_id":"1402134304","filename":"file2"},{"photo_id":"1402134315","filename":"file4"},{"photo_id":"1402134302","filename":"file1"},{"photo_id":"1402134300","filename":"file0"},{"photo_id":"1402134308","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134304":["hashtag1","hashtag2"]},{"1402134315":["hashtag1","hashtag2"]},{"1402134300":["hashtag1","hashtag2"]},{"1402134302":["hashtag1","hashtag2"]},{"1402134308":["hashtag1","hashtag2"]},{"1402134325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134304, 1402134315, 1402134300, 1402134302, 1402134308, 1402134325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3603777885437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:39:03.087579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/35/image_02012026_09_36_05_9733.jpg', '/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_15_9753.jpg', '/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_25_9610.jpg', '/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_35_10666.jpg', '/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_45_9659.jpg', '/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/35/image_02012026_09_36_05_9733.jpg
/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_15_9753.jpg
/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_25_9610.jpg
/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_35_10666.jpg
/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_45_9659.jpg
/home/pi/Desktop/images/02012026/09/36/image_02012026_09_36_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":["1402134349","1402134354","1402134350","1402134347","1402134356","1402134352"],"photo_ids_order":["1402134347","1402134349","1402134350","1402134352","1402134354","1402134356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4edf9c0e6c9a7751a45cb9189b503460.jpg","text":"TemporaryFile(/tmp/multipartBody7376187587782839365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346803799,"filename":"image_02012026_09_36_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/2/d7c9083cfc86c22c34ac3563d3f695a2.jpg","text":"TemporaryFile(/tmp/multipartBody2802735630295571634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346803799,"filename":"image_02012026_09_36_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/2/d915468b71ebf466e1180935f2cec614.jpg","text":"TemporaryFile(/tmp/multipartBody7354209857975826428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346803799,"filename":"image_02012026_09_36_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/2/2564f7399608a458e44bc751f0fa87f9.jpg","text":"TemporaryFile(/tmp/multipartBody3407496047573643308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346803799,"filename":"image_02012026_09_36_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/2/ef5a3d2395ab6af6e06049390d49eac3.jpg","text":"TemporaryFile(/tmp/multipartBody1117064099586717743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346803799,"filename":"image_02012026_09_36_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/2/e43115faf98985929d0b7b897c81d326.jpg","text":"TemporaryFile(/tmp/multipartBody5904480298456442979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346803799,"filename":"image_02012026_09_36_35_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134350","file1":"1402134349","file0":"1402134347","file4":"1402134354","file5":"1402134356","file3":"1402134352"},"map_files_photo_id_array":[{"photo_id":"1402134356","filename":"file5"},{"photo_id":"1402134350","filename":"file2"},{"photo_id":"1402134354","filename":"file4"},{"photo_id":"1402134349","filename":"file1"},{"photo_id":"1402134347","filename":"file0"},{"photo_id":"1402134352","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134349":["hashtag1","hashtag2"]},{"1402134354":["hashtag1","hashtag2"]},{"1402134350":["hashtag1","hashtag2"]},{"1402134347":["hashtag1","hashtag2"]},{"1402134356":["hashtag1","hashtag2"]},{"1402134352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134349, 1402134354, 1402134350, 1402134347, 1402134356, 1402134352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23413038253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:39:42.000162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_22_2683.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_27_4347.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_29_1698.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_31_2618.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_40_2540.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_45_5206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_22_2683.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_27_4347.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_29_1698.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_31_2618.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_40_2540.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_45_5206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134366","1402134371","1402134374","1402134362","1402134373","1402134364"],"photo_ids_order":["1402134362","1402134364","1402134366","1402134371","1402134373","1402134374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a0aca2d6f8109cfae196e7951e35d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7041378050276428471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346843835,"filename":"image_05112025_17_57_29_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/2/8c4b13eda89ab079bb914c0de2fa0771.jpg","text":"TemporaryFile(/tmp/multipartBody4385872237580464176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346843835,"filename":"image_05112025_17_57_31_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/2/88fbc3b49fd60b4e3e9c30866b1e63c7.jpg","text":"TemporaryFile(/tmp/multipartBody2064359759017595611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346843835,"filename":"image_05112025_17_57_45_5206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75996ad2f53cca3af393c0ce8a92bb07.jpg","text":"TemporaryFile(/tmp/multipartBody8924193092290699695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346843835,"filename":"image_05112025_17_57_22_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/2/41e0ed8db12e04b7e7c818d88d253671.jpg","text":"TemporaryFile(/tmp/multipartBody1045372788434618499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346843835,"filename":"image_05112025_17_57_40_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/2/7684197c8c4dd2ec85b4b42a50c31057.jpg","text":"TemporaryFile(/tmp/multipartBody4358157957611939956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346843835,"filename":"image_05112025_17_57_27_4347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134366","file1":"1402134364","file0":"1402134362","file4":"1402134373","file5":"1402134374","file3":"1402134371"},"map_files_photo_id_array":[{"photo_id":"1402134374","filename":"file5"},{"photo_id":"1402134366","filename":"file2"},{"photo_id":"1402134373","filename":"file4"},{"photo_id":"1402134364","filename":"file1"},{"photo_id":"1402134362","filename":"file0"},{"photo_id":"1402134371","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134366":["hashtag1","hashtag2"]},{"1402134371":["hashtag1","hashtag2"]},{"1402134374":["hashtag1","hashtag2"]},{"1402134362":["hashtag1","hashtag2"]},{"1402134373":["hashtag1","hashtag2"]},{"1402134364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134366, 1402134371, 1402134374, 1402134362, 1402134373, 1402134364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2354998588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:40:22.142625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/36/image_02012026_09_37_05_10634.jpg', '/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_15_9638.jpg', '/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_26_10582.jpg', '/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_35_9667.jpg', '/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_45_9762.jpg', '/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_56_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/36/image_02012026_09_37_05_10634.jpg
/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_15_9638.jpg
/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_26_10582.jpg
/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_35_9667.jpg
/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_45_9762.jpg
/home/pi/Desktop/images/02012026/09/37/image_02012026_09_37_56_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134381","1402134423","1402134377","1402134460","1402134385","1402134379"],"photo_ids_order":["1402134377","1402134379","1402134381","1402134385","1402134423","1402134460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3e3246cadfea4a304c91862e6558c325.jpg","text":"TemporaryFile(/tmp/multipartBody6264141056784817396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346882754,"filename":"image_02012026_09_37_26_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/2/a02f46aff1eea86c6b611ae57aaf93f1.jpg","text":"TemporaryFile(/tmp/multipartBody2237294325083818353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346882754,"filename":"image_02012026_09_37_45_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/2/1e3a101abbe0c7f6c9481e1e8ebb2873.jpg","text":"TemporaryFile(/tmp/multipartBody4340011203134513043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346882754,"filename":"image_02012026_09_37_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/2/e9b6ecc35bf2590de989a83a33b795e0.jpg","text":"TemporaryFile(/tmp/multipartBody1860609840942314172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346882754,"filename":"image_02012026_09_37_56_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/2/cf0de86806cf52bcdfda45469c317a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2869880006597343384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346882754,"filename":"image_02012026_09_37_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/2/2d5d18fcff8c052c3d659db5edac2e43.jpg","text":"TemporaryFile(/tmp/multipartBody5480331486187323436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346882754,"filename":"image_02012026_09_37_15_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134381","file1":"1402134379","file0":"1402134377","file4":"1402134423","file5":"1402134460","file3":"1402134385"},"map_files_photo_id_array":[{"photo_id":"1402134460","filename":"file5"},{"photo_id":"1402134381","filename":"file2"},{"photo_id":"1402134423","filename":"file4"},{"photo_id":"1402134379","filename":"file1"},{"photo_id":"1402134377","filename":"file0"},{"photo_id":"1402134385","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134381":["hashtag1","hashtag2"]},{"1402134423":["hashtag1","hashtag2"]},{"1402134377":["hashtag1","hashtag2"]},{"1402134460":["hashtag1","hashtag2"]},{"1402134385":["hashtag1","hashtag2"]},{"1402134379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134381, 1402134423, 1402134377, 1402134460, 1402134385, 1402134379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.421364307403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:41:02.885999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/37/image_02012026_09_38_05_9694.jpg', '/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_15_9774.jpg', '/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_25_9586.jpg', '/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_35_10590.jpg', '/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_45_9691.jpg', '/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_56_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/37/image_02012026_09_38_05_9694.jpg
/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_15_9774.jpg
/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_25_9586.jpg
/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_35_10590.jpg
/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_45_9691.jpg
/home/pi/Desktop/images/02012026/09/38/image_02012026_09_38_56_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134526","1402134520","1402134519","1402134536","1402134541","1402134538"],"photo_ids_order":["1402134519","1402134520","1402134526","1402134536","1402134538","1402134541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1a865c2a816487019a403cd6f10ed6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6434478069539676627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346923587,"filename":"image_02012026_09_38_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/2/0ef8dc57e9ec8b09f4016035413215ad.jpg","text":"TemporaryFile(/tmp/multipartBody4074167643660693852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346923587,"filename":"image_02012026_09_38_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/2/6e9a7e6e9efa9001688a352cfde9e1fd.jpg","text":"TemporaryFile(/tmp/multipartBody6643807198756394657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346923587,"filename":"image_02012026_09_38_05_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/2/b52a6eb5d91d3c074a0890e6f3469cee.jpg","text":"TemporaryFile(/tmp/multipartBody4319768127186993990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346923587,"filename":"image_02012026_09_38_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/2/6cfcba7c0abc00f3bcb38bf12c85e24c.jpg","text":"TemporaryFile(/tmp/multipartBody3769798844989456899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346923587,"filename":"image_02012026_09_38_56_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/2/7287e7ba1e869c9a189eb6e6e15dcec0.jpg","text":"TemporaryFile(/tmp/multipartBody5747583370862695958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346923587,"filename":"image_02012026_09_38_45_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134526","file1":"1402134520","file0":"1402134519","file4":"1402134538","file5":"1402134541","file3":"1402134536"},"map_files_photo_id_array":[{"photo_id":"1402134541","filename":"file5"},{"photo_id":"1402134526","filename":"file2"},{"photo_id":"1402134538","filename":"file4"},{"photo_id":"1402134520","filename":"file1"},{"photo_id":"1402134519","filename":"file0"},{"photo_id":"1402134536","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134526":["hashtag1","hashtag2"]},{"1402134520":["hashtag1","hashtag2"]},{"1402134519":["hashtag1","hashtag2"]},{"1402134536":["hashtag1","hashtag2"]},{"1402134541":["hashtag1","hashtag2"]},{"1402134538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134526, 1402134520, 1402134519, 1402134536, 1402134541, 1402134538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08638906478882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:41:42.399516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_52_2528.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_55_2792.jpg', '/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_59_3656.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_01_2582.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_04_2628.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_07_3049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_52_2528.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_55_2792.jpg
/home/pi/Desktop/images/05112025/17/57/image_05112025_17_57_59_3656.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_01_2582.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_04_2628.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_07_3049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134547","1402134591","1402134588","1402134546","1402134589","1402134574"],"photo_ids_order":["1402134546","1402134547","1402134574","1402134588","1402134589","1402134591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a1387dc465e01255d178670f8eb42c2.jpg","text":"TemporaryFile(/tmp/multipartBody4013170308367923548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346964288,"filename":"image_05112025_17_57_55_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/2/f71b66d5f69ddc2d71ab5f695606042a.jpg","text":"TemporaryFile(/tmp/multipartBody2199048970739750234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346964288,"filename":"image_05112025_17_58_07_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/2/c460b722dc9d456c5ec9bed75cd8816e.jpg","text":"TemporaryFile(/tmp/multipartBody5401240240917641799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346964288,"filename":"image_05112025_17_58_01_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/2/34d86a4dbd26f40cb9f405c725b53fb9.jpg","text":"TemporaryFile(/tmp/multipartBody1649418295595482441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346964288,"filename":"image_05112025_17_57_52_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/2/c5b5b1cc8f8aea2b841f78d5a37fc0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1528379228332842863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346964288,"filename":"image_05112025_17_58_04_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/2/5b7a15394a92805cd1fb5afa78c05036.jpg","text":"TemporaryFile(/tmp/multipartBody8169599803173531428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767346964288,"filename":"image_05112025_17_57_59_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134574","file1":"1402134547","file0":"1402134546","file4":"1402134589","file5":"1402134591","file3":"1402134588"},"map_files_photo_id_array":[{"photo_id":"1402134591","filename":"file5"},{"photo_id":"1402134574","filename":"file2"},{"photo_id":"1402134589","filename":"file4"},{"photo_id":"1402134547","filename":"file1"},{"photo_id":"1402134546","filename":"file0"},{"photo_id":"1402134588","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134547":["hashtag1","hashtag2"]},{"1402134591":["hashtag1","hashtag2"]},{"1402134588":["hashtag1","hashtag2"]},{"1402134546":["hashtag1","hashtag2"]},{"1402134589":["hashtag1","hashtag2"]},{"1402134574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134547, 1402134591, 1402134588, 1402134546, 1402134589, 1402134574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31100392341614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:42:22.629943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/38/image_02012026_09_39_05_9723.jpg', '/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_15_9673.jpg', '/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_25_9752.jpg', '/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_36_10668.jpg', '/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_45_9662.jpg', '/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/38/image_02012026_09_39_05_9723.jpg
/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_15_9673.jpg
/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_25_9752.jpg
/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_36_10668.jpg
/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_45_9662.jpg
/home/pi/Desktop/images/02012026/09/39/image_02012026_09_39_55_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134594","1402134612","1402134606","1402134608","1402134598","1402134592"],"photo_ids_order":["1402134592","1402134594","1402134598","1402134606","1402134608","1402134612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5e3e8e8816259c3c1b7d9d23b6e337a.jpg","text":"TemporaryFile(/tmp/multipartBody5301402457884474483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347003292,"filename":"image_02012026_09_39_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/2/cebc42c8cc3e5746dedf840d9e0e76d9.jpg","text":"TemporaryFile(/tmp/multipartBody4164123161436273170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347003292,"filename":"image_02012026_09_39_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/2/4321c912de813936285ddb845556d091.jpg","text":"TemporaryFile(/tmp/multipartBody7882753702941721937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347003292,"filename":"image_02012026_09_39_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/2/cd276d7d97be7229878a2f42aec21d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4153591630902679306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347003292,"filename":"image_02012026_09_39_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/2/9e27df628ba3313608dd41094ed48f40.jpg","text":"TemporaryFile(/tmp/multipartBody3226334211205152589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347003292,"filename":"image_02012026_09_39_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/2/274ca3e8906d5bac6a3c1e41f6448851.jpg","text":"TemporaryFile(/tmp/multipartBody8234741593784905980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347003292,"filename":"image_02012026_09_39_05_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134598","file1":"1402134594","file0":"1402134592","file4":"1402134608","file5":"1402134612","file3":"1402134606"},"map_files_photo_id_array":[{"photo_id":"1402134612","filename":"file5"},{"photo_id":"1402134598","filename":"file2"},{"photo_id":"1402134608","filename":"file4"},{"photo_id":"1402134594","filename":"file1"},{"photo_id":"1402134592","filename":"file0"},{"photo_id":"1402134606","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134594":["hashtag1","hashtag2"]},{"1402134612":["hashtag1","hashtag2"]},{"1402134606":["hashtag1","hashtag2"]},{"1402134608":["hashtag1","hashtag2"]},{"1402134598":["hashtag1","hashtag2"]},{"1402134592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134594, 1402134612, 1402134606, 1402134608, 1402134598, 1402134592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86304998397827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:43:03.564424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/39/image_02012026_09_40_06_10668.jpg', '/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_15_9691.jpg', '/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_25_9644.jpg', '/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_36_10747.jpg', '/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_45_9789.jpg', '/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/39/image_02012026_09_40_06_10668.jpg
/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_15_9691.jpg
/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_25_9644.jpg
/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_36_10747.jpg
/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_45_9789.jpg
/home/pi/Desktop/images/02012026/09/40/image_02012026_09_40_55_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":["1402134631","1402134625","1402134627","1402134621","1402134624","1402134629"],"photo_ids_order":["1402134621","1402134624","1402134625","1402134627","1402134629","1402134631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5fbfb9e23d2013bef6fccc0905e693c4.jpg","text":"TemporaryFile(/tmp/multipartBody719358073918382501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347044301,"filename":"image_02012026_09_40_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/2/90f5bca9ee28d91ce1cdadde8190e69a.jpg","text":"TemporaryFile(/tmp/multipartBody4250747097941646137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347044301,"filename":"image_02012026_09_40_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/2/1d3c3614e0d9e931d5c2ee8c390fdb67.jpg","text":"TemporaryFile(/tmp/multipartBody6341807767790408935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347044301,"filename":"image_02012026_09_40_36_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/2/9e694b4c0b50df1f8c6015a1fddbd093.jpg","text":"TemporaryFile(/tmp/multipartBody5153336243487973690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347044301,"filename":"image_02012026_09_40_06_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/2/726b15d5f083080eccfccf75adf0cc86.jpg","text":"TemporaryFile(/tmp/multipartBody7676855856242384524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347044301,"filename":"image_02012026_09_40_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/2/b92c7278483c38ea539c2a374feeeb0f.jpg","text":"TemporaryFile(/tmp/multipartBody5870983054166225455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347044301,"filename":"image_02012026_09_40_45_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134625","file1":"1402134624","file0":"1402134621","file4":"1402134629","file5":"1402134631","file3":"1402134627"},"map_files_photo_id_array":[{"photo_id":"1402134631","filename":"file5"},{"photo_id":"1402134625","filename":"file2"},{"photo_id":"1402134629","filename":"file4"},{"photo_id":"1402134624","filename":"file1"},{"photo_id":"1402134621","filename":"file0"},{"photo_id":"1402134627","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134631":["hashtag1","hashtag2"]},{"1402134625":["hashtag1","hashtag2"]},{"1402134627":["hashtag1","hashtag2"]},{"1402134621":["hashtag1","hashtag2"]},{"1402134624":["hashtag1","hashtag2"]},{"1402134629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134631, 1402134625, 1402134627, 1402134621, 1402134624, 1402134629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83177065849304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:43:42.782266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_11_3758.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_46_1884.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_48_1506.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_55_1729.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_57_1827.jpg', '/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_58_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_11_3758.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_46_1884.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_48_1506.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_55_1729.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_57_1827.jpg
/home/pi/Desktop/images/05112025/17/58/image_05112025_17_58_58_1653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134678","1402134677","1402134641","1402134652","1402134676","1402134643"],"photo_ids_order":["1402134641","1402134643","1402134652","1402134676","1402134677","1402134678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e5e1d752a86ce6b4ad11b2f2e9cd976b.jpg","text":"TemporaryFile(/tmp/multipartBody2647194214701168104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347084604,"filename":"image_05112025_17_58_58_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/2/d175cb881c1cc9db658a3c1bd2b5876d.jpg","text":"TemporaryFile(/tmp/multipartBody8452418736792059718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347084604,"filename":"image_05112025_17_58_57_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4f2034e189dfc02c5404769b9e3463bc.jpg","text":"TemporaryFile(/tmp/multipartBody2836524174894492033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347084604,"filename":"image_05112025_17_58_11_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/2/6cbf2095a83034432c50e0ae8dd8085b.jpg","text":"TemporaryFile(/tmp/multipartBody6565938899868817470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347084604,"filename":"image_05112025_17_58_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/2/91044ab96583e8024b164d22a3f12360.jpg","text":"TemporaryFile(/tmp/multipartBody2490838108592818936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347084604,"filename":"image_05112025_17_58_55_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/2/931cd8e66167618d102c188af8e38b88.jpg","text":"TemporaryFile(/tmp/multipartBody1990992460621401064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347084604,"filename":"image_05112025_17_58_46_1884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134652","file1":"1402134643","file0":"1402134641","file4":"1402134677","file5":"1402134678","file3":"1402134676"},"map_files_photo_id_array":[{"photo_id":"1402134678","filename":"file5"},{"photo_id":"1402134652","filename":"file2"},{"photo_id":"1402134677","filename":"file4"},{"photo_id":"1402134643","filename":"file1"},{"photo_id":"1402134641","filename":"file0"},{"photo_id":"1402134676","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134678":["hashtag1","hashtag2"]},{"1402134677":["hashtag1","hashtag2"]},{"1402134641":["hashtag1","hashtag2"]},{"1402134652":["hashtag1","hashtag2"]},{"1402134676":["hashtag1","hashtag2"]},{"1402134643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134678, 1402134677, 1402134641, 1402134652, 1402134676, 1402134643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51554250717163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:44:22.097999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/40/image_02012026_09_41_05_9737.jpg', '/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_16_10673.jpg', '/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_25_9613.jpg', '/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_35_9912.jpg', '/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_45_9779.jpg', '/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_56_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/40/image_02012026_09_41_05_9737.jpg
/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_16_10673.jpg
/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_25_9613.jpg
/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_35_9912.jpg
/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_45_9779.jpg
/home/pi/Desktop/images/02012026/09/41/image_02012026_09_41_56_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134692","1402134695","1402134698","1402134691","1402134685","1402134682"],"photo_ids_order":["1402134682","1402134685","1402134691","1402134692","1402134695","1402134698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c3f9cf98c990fe375abc7b24f37940c5.jpg","text":"TemporaryFile(/tmp/multipartBody720615635092910290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347122719,"filename":"image_02012026_09_41_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/2/dcee9a9e141beb79b91ae5571ee4bda6.jpg","text":"TemporaryFile(/tmp/multipartBody2288271956707036103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347122719,"filename":"image_02012026_09_41_45_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/2/fe451d0aa4ded06c675eafb84ffabf1d.jpg","text":"TemporaryFile(/tmp/multipartBody2219720796265977666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347122719,"filename":"image_02012026_09_41_56_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/2/4debc333cceecd6e61ca8ee3b95b4154.jpg","text":"TemporaryFile(/tmp/multipartBody7318872418486909753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347122719,"filename":"image_02012026_09_41_25_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/2/0408d3c36912b3a9db1c9f33de61984c.jpg","text":"TemporaryFile(/tmp/multipartBody1885632704876696507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347122719,"filename":"image_02012026_09_41_16_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/2/db7262ec158b03e28a1b70c4b8198ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6880022671051268548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347122719,"filename":"image_02012026_09_41_05_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134691","file1":"1402134685","file0":"1402134682","file4":"1402134695","file5":"1402134698","file3":"1402134692"},"map_files_photo_id_array":[{"photo_id":"1402134698","filename":"file5"},{"photo_id":"1402134691","filename":"file2"},{"photo_id":"1402134695","filename":"file4"},{"photo_id":"1402134685","filename":"file1"},{"photo_id":"1402134682","filename":"file0"},{"photo_id":"1402134692","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134692":["hashtag1","hashtag2"]},{"1402134695":["hashtag1","hashtag2"]},{"1402134698":["hashtag1","hashtag2"]},{"1402134691":["hashtag1","hashtag2"]},{"1402134685":["hashtag1","hashtag2"]},{"1402134682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134692, 1402134695, 1402134698, 1402134691, 1402134685, 1402134682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.151068687438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:45:03.082750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/41/image_02012026_09_42_05_9678.jpg', '/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_15_9781.jpg', '/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_25_10046.jpg', '/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_36_10600.jpg', '/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_46_9868.jpg', '/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/41/image_02012026_09_42_05_9678.jpg
/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_15_9781.jpg
/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_25_10046.jpg
/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_36_10600.jpg
/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_46_9868.jpg
/home/pi/Desktop/images/02012026/09/42/image_02012026_09_42_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":["1402134745","1402134739","1402134747","1402134741","1402134740","1402134743"],"photo_ids_order":["1402134739","1402134740","1402134741","1402134743","1402134745","1402134747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b137a5bedfa64a957e7bd3ae5a9bbd9e.jpg","text":"TemporaryFile(/tmp/multipartBody3717477375817688844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347163757,"filename":"image_02012026_09_42_46_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/2/249b51d08a19f34c60c86e175946059d.jpg","text":"TemporaryFile(/tmp/multipartBody4436857483480282986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347163757,"filename":"image_02012026_09_42_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/2/95ec7c24e04f7adca2357437008b82b0.jpg","text":"TemporaryFile(/tmp/multipartBody2913290272033383849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347163757,"filename":"image_02012026_09_42_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/2/43ec12e87df7eafbc1ee343bc3930c2e.jpg","text":"TemporaryFile(/tmp/multipartBody6090373468882981875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347163757,"filename":"image_02012026_09_42_25_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5ec831bfaebd0fd419b37bb9822cf3de.jpg","text":"TemporaryFile(/tmp/multipartBody402195202006853614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347163757,"filename":"image_02012026_09_42_15_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/2/5be1c272fcece69dbaec26aeaab541fd.jpg","text":"TemporaryFile(/tmp/multipartBody4674561506856532324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347163757,"filename":"image_02012026_09_42_36_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134741","file1":"1402134740","file0":"1402134739","file4":"1402134745","file5":"1402134747","file3":"1402134743"},"map_files_photo_id_array":[{"photo_id":"1402134747","filename":"file5"},{"photo_id":"1402134741","filename":"file2"},{"photo_id":"1402134745","filename":"file4"},{"photo_id":"1402134740","filename":"file1"},{"photo_id":"1402134739","filename":"file0"},{"photo_id":"1402134743","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134745":["hashtag1","hashtag2"]},{"1402134739":["hashtag1","hashtag2"]},{"1402134747":["hashtag1","hashtag2"]},{"1402134741":["hashtag1","hashtag2"]},{"1402134740":["hashtag1","hashtag2"]},{"1402134743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134745, 1402134739, 1402134747, 1402134741, 1402134740, 1402134743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64257025718689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:45:42.229089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_02_1680.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_04_2600.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_06_1613.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_07_1562.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_09_1786.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_11_1820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_02_1680.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_04_2600.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_06_1613.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_07_1562.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_09_1786.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_11_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":["1402134762","1402134759","1402134761","1402134760","1402134763","1402134757"],"photo_ids_order":["1402134757","1402134759","1402134760","1402134761","1402134762","1402134763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10923286123cafa1e30be8ecaa8dba00.jpg","text":"TemporaryFile(/tmp/multipartBody682091701580515396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347204040,"filename":"image_05112025_17_59_09_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/2/aaecf5b65669972b378c236776326b93.jpg","text":"TemporaryFile(/tmp/multipartBody2683629780229854197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347204040,"filename":"image_05112025_17_59_04_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/2/faf184747cb71a3a6b24c2240f9fa07f.jpg","text":"TemporaryFile(/tmp/multipartBody3008204093348906837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347204040,"filename":"image_05112025_17_59_07_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/2/fea2d7d2a2710f678b79e1b9197fa743.jpg","text":"TemporaryFile(/tmp/multipartBody7942960406431693005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347204040,"filename":"image_05112025_17_59_06_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/2/4def3c98c5e0e68572e0c538d769fb21.jpg","text":"TemporaryFile(/tmp/multipartBody4325753073874472954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347204040,"filename":"image_05112025_17_59_11_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/2/9d50c6e559b8193decf84f6f5034a436.jpg","text":"TemporaryFile(/tmp/multipartBody4712879316282639968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347204040,"filename":"image_05112025_17_59_02_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134760","file1":"1402134759","file0":"1402134757","file4":"1402134762","file5":"1402134763","file3":"1402134761"},"map_files_photo_id_array":[{"photo_id":"1402134763","filename":"file5"},{"photo_id":"1402134760","filename":"file2"},{"photo_id":"1402134762","filename":"file4"},{"photo_id":"1402134759","filename":"file1"},{"photo_id":"1402134757","filename":"file0"},{"photo_id":"1402134761","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134762":["hashtag1","hashtag2"]},{"1402134759":["hashtag1","hashtag2"]},{"1402134761":["hashtag1","hashtag2"]},{"1402134760":["hashtag1","hashtag2"]},{"1402134763":["hashtag1","hashtag2"]},{"1402134757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134762, 1402134759, 1402134761, 1402134760, 1402134763, 1402134757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45739197731018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:46:22.474882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/42/image_02012026_09_43_05_9659.jpg', '/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_16_10727.jpg', '/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_25_9680.jpg', '/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_35_9882.jpg', '/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_45_9759.jpg', '/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_56_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/42/image_02012026_09_43_05_9659.jpg
/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_16_10727.jpg
/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_25_9680.jpg
/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_35_9882.jpg
/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_45_9759.jpg
/home/pi/Desktop/images/02012026/09/43/image_02012026_09_43_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":["1402134774","1402134771","1402134773","1402134767","1402134781","1402134769"],"photo_ids_order":["1402134767","1402134769","1402134771","1402134773","1402134774","1402134781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1851a564e6ed29178aecbe2d62c5c444.jpg","text":"TemporaryFile(/tmp/multipartBody608375263769392467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347243094,"filename":"image_02012026_09_43_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/2/59dd8ae155e11af0df5585c228a00abf.jpg","text":"TemporaryFile(/tmp/multipartBody4256786362432947765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347243094,"filename":"image_02012026_09_43_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/2/c9aceb02b6780889fb7b12bcd48ea1c8.jpg","text":"TemporaryFile(/tmp/multipartBody5821962072876135824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347243094,"filename":"image_02012026_09_43_35_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/2/a2da74329c3b8dacbcba2ca4a3c99872.jpg","text":"TemporaryFile(/tmp/multipartBody5559648190601880840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347243094,"filename":"image_02012026_09_43_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/2/6e37ff850a56c16c0353628ca14c0b97.jpg","text":"TemporaryFile(/tmp/multipartBody6195065878119140681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347243094,"filename":"image_02012026_09_43_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/2/e28063a2665b8365b5cb02a3c534259e.jpg","text":"TemporaryFile(/tmp/multipartBody432059364970984361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347243094,"filename":"image_02012026_09_43_16_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134771","file1":"1402134769","file0":"1402134767","file4":"1402134774","file5":"1402134781","file3":"1402134773"},"map_files_photo_id_array":[{"photo_id":"1402134781","filename":"file5"},{"photo_id":"1402134771","filename":"file2"},{"photo_id":"1402134774","filename":"file4"},{"photo_id":"1402134769","filename":"file1"},{"photo_id":"1402134767","filename":"file0"},{"photo_id":"1402134773","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134774":["hashtag1","hashtag2"]},{"1402134771":["hashtag1","hashtag2"]},{"1402134773":["hashtag1","hashtag2"]},{"1402134767":["hashtag1","hashtag2"]},{"1402134781":["hashtag1","hashtag2"]},{"1402134769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134774, 1402134771, 1402134773, 1402134767, 1402134781, 1402134769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5524365901947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:47:03.051073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/43/image_02012026_09_44_06_10018.jpg', '/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_15_9725.jpg', '/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_25_9788.jpg', '/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_35_9745.jpg', '/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_45_9806.jpg', '/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_56_10874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/43/image_02012026_09_44_06_10018.jpg
/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_15_9725.jpg
/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_25_9788.jpg
/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_35_9745.jpg
/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_45_9806.jpg
/home/pi/Desktop/images/02012026/09/44/image_02012026_09_44_56_10874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134817","1402134798","1402134807","1402134815","1402134800","1402134799"],"photo_ids_order":["1402134798","1402134799","1402134800","1402134807","1402134815","1402134817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30ab83c8c11f952bf39437f01798fa5c.jpg","text":"TemporaryFile(/tmp/multipartBody8643888077315476091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347283705,"filename":"image_02012026_09_44_56_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5696da3e81917bb3dc085d0c07c11f64.jpg","text":"TemporaryFile(/tmp/multipartBody1807908332163103314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347283705,"filename":"image_02012026_09_44_06_10018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5692f3403a145d2fd1c734fa9b4528cd.jpg","text":"TemporaryFile(/tmp/multipartBody3471061207321477884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347283705,"filename":"image_02012026_09_44_35_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/2/3a4e9c366fc3403c5c37afd5e6896676.jpg","text":"TemporaryFile(/tmp/multipartBody7042732798991752533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347283705,"filename":"image_02012026_09_44_45_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/2/72c8afca5a0659b229207f64142cac64.jpg","text":"TemporaryFile(/tmp/multipartBody3821480981189298960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347283705,"filename":"image_02012026_09_44_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/2/e1e0c4a03ebeb7ac53b412281e8bafcc.jpg","text":"TemporaryFile(/tmp/multipartBody5331717838247382240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347283705,"filename":"image_02012026_09_44_15_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134800","file1":"1402134799","file0":"1402134798","file4":"1402134815","file5":"1402134817","file3":"1402134807"},"map_files_photo_id_array":[{"photo_id":"1402134817","filename":"file5"},{"photo_id":"1402134800","filename":"file2"},{"photo_id":"1402134815","filename":"file4"},{"photo_id":"1402134799","filename":"file1"},{"photo_id":"1402134798","filename":"file0"},{"photo_id":"1402134807","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134817":["hashtag1","hashtag2"]},{"1402134798":["hashtag1","hashtag2"]},{"1402134807":["hashtag1","hashtag2"]},{"1402134815":["hashtag1","hashtag2"]},{"1402134800":["hashtag1","hashtag2"]},{"1402134799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134817, 1402134798, 1402134807, 1402134815, 1402134800, 1402134799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91481590270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:47:42.599111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_14_1704.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_16_1607.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_18_1707.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_19_1756.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_21_1588.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_23_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_14_1704.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_16_1607.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_18_1707.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_19_1756.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_21_1588.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_23_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":["1402134897","1402134872","1402134896","1402134881","1402134895","1402134898"],"photo_ids_order":["1402134872","1402134881","1402134895","1402134896","1402134897","1402134898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e51aff6b55da60bf7610ec1deaf304ea.jpg","text":"TemporaryFile(/tmp/multipartBody3312162921730551676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347324434,"filename":"image_05112025_17_59_21_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/2/6ac6a70c53e0f1b63af66665eff7d6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2487487862798586002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347324434,"filename":"image_05112025_17_59_14_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/2/473cc287f460c10bd0e9c4909c234c73.jpg","text":"TemporaryFile(/tmp/multipartBody1876297081752660740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347324434,"filename":"image_05112025_17_59_19_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/2/b94f02ac49d457490aeb29a700ee342f.jpg","text":"TemporaryFile(/tmp/multipartBody157057988808939205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347324434,"filename":"image_05112025_17_59_16_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/2/12147e03ab275ecc981d8ae6fbaa9a93.jpg","text":"TemporaryFile(/tmp/multipartBody4504029073494022855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347324434,"filename":"image_05112025_17_59_18_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/2/57a5e10e1930e7be88e8a05708307759.jpg","text":"TemporaryFile(/tmp/multipartBody6573249064810969023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347324434,"filename":"image_05112025_17_59_23_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134895","file1":"1402134881","file0":"1402134872","file4":"1402134897","file5":"1402134898","file3":"1402134896"},"map_files_photo_id_array":[{"photo_id":"1402134898","filename":"file5"},{"photo_id":"1402134895","filename":"file2"},{"photo_id":"1402134897","filename":"file4"},{"photo_id":"1402134881","filename":"file1"},{"photo_id":"1402134872","filename":"file0"},{"photo_id":"1402134896","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134897":["hashtag1","hashtag2"]},{"1402134872":["hashtag1","hashtag2"]},{"1402134896":["hashtag1","hashtag2"]},{"1402134881":["hashtag1","hashtag2"]},{"1402134895":["hashtag1","hashtag2"]},{"1402134898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134897, 1402134872, 1402134896, 1402134881, 1402134895, 1402134898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38298463821411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:48:22.771888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/44/image_02012026_09_45_05_9742.jpg', '/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_15_9796.jpg', '/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_25_9690.jpg', '/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_36_10712.jpg', '/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_45_9656.jpg', '/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_55_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/44/image_02012026_09_45_05_9742.jpg
/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_15_9796.jpg
/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_25_9690.jpg
/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_36_10712.jpg
/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_45_9656.jpg
/home/pi/Desktop/images/02012026/09/45/image_02012026_09_45_55_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134922","1402134910","1402134904","1402134912","1402134906","1402134908"],"photo_ids_order":["1402134904","1402134906","1402134908","1402134910","1402134912","1402134922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6055abc1ce59e6c1aa5921396eec70bc.jpg","text":"TemporaryFile(/tmp/multipartBody9183994529583256886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347363371,"filename":"image_02012026_09_45_55_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/2/81f22d9c1f39390f4ce179316ecdb64e.jpg","text":"TemporaryFile(/tmp/multipartBody7365774288700901091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347363371,"filename":"image_02012026_09_45_36_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/2/2eaad13db5dea135575fd7c7232b9b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3659049006311351198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347363371,"filename":"image_02012026_09_45_05_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/2/d1066c5fd3690135dbe95daf7d8015bd.jpg","text":"TemporaryFile(/tmp/multipartBody5532785444658894619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347363371,"filename":"image_02012026_09_45_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/2/68a7071d132dc168682cc376b836e03f.jpg","text":"TemporaryFile(/tmp/multipartBody4229237570128277203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347363371,"filename":"image_02012026_09_45_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/2/b6b797dca575a2cefdcc7ab4522d47ec.jpg","text":"TemporaryFile(/tmp/multipartBody2310267806297308255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347363371,"filename":"image_02012026_09_45_25_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134908","file1":"1402134906","file0":"1402134904","file4":"1402134912","file5":"1402134922","file3":"1402134910"},"map_files_photo_id_array":[{"photo_id":"1402134922","filename":"file5"},{"photo_id":"1402134908","filename":"file2"},{"photo_id":"1402134912","filename":"file4"},{"photo_id":"1402134906","filename":"file1"},{"photo_id":"1402134904","filename":"file0"},{"photo_id":"1402134910","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134922":["hashtag1","hashtag2"]},{"1402134910":["hashtag1","hashtag2"]},{"1402134904":["hashtag1","hashtag2"]},{"1402134912":["hashtag1","hashtag2"]},{"1402134906":["hashtag1","hashtag2"]},{"1402134908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134922, 1402134910, 1402134904, 1402134912, 1402134906, 1402134908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87244439125061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:49:02.597926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/45/image_02012026_09_46_06_10705.jpg', '/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_15_9637.jpg', '/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_25_9727.jpg', '/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_36_10823.jpg', '/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_45_9685.jpg', '/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_55_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/45/image_02012026_09_46_06_10705.jpg
/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_15_9637.jpg
/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_25_9727.jpg
/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_36_10823.jpg
/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_45_9685.jpg
/home/pi/Desktop/images/02012026/09/46/image_02012026_09_46_55_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134936","1402134939","1402134930","1402134932","1402134934","1402134928"],"photo_ids_order":["1402134928","1402134930","1402134932","1402134934","1402134936","1402134939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6976cf27311e0971d0fbfe019168db6c.jpg","text":"TemporaryFile(/tmp/multipartBody1581652561366676274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347403338,"filename":"image_02012026_09_46_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/2/618c1ff368f823af59b6e069d0724155.jpg","text":"TemporaryFile(/tmp/multipartBody3347941535543196819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347403338,"filename":"image_02012026_09_46_55_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/2/83077bd55360cab7d686f585806edd8b.jpg","text":"TemporaryFile(/tmp/multipartBody6815987640076254175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347403338,"filename":"image_02012026_09_46_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/2/20f2e2f9422e0c3c3e18554d224e3e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8731769575612771877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347403338,"filename":"image_02012026_09_46_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/2/0555f6abce067a844ede44095b8c8290.jpg","text":"TemporaryFile(/tmp/multipartBody3342321402255058813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347403338,"filename":"image_02012026_09_46_36_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/2/5d004dd1f036a54b34e89660dc9dcba5.jpg","text":"TemporaryFile(/tmp/multipartBody3512463212298210077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347403338,"filename":"image_02012026_09_46_06_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134932","file1":"1402134930","file0":"1402134928","file4":"1402134936","file5":"1402134939","file3":"1402134934"},"map_files_photo_id_array":[{"photo_id":"1402134939","filename":"file5"},{"photo_id":"1402134932","filename":"file2"},{"photo_id":"1402134936","filename":"file4"},{"photo_id":"1402134930","filename":"file1"},{"photo_id":"1402134928","filename":"file0"},{"photo_id":"1402134934","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134936":["hashtag1","hashtag2"]},{"1402134939":["hashtag1","hashtag2"]},{"1402134930":["hashtag1","hashtag2"]},{"1402134932":["hashtag1","hashtag2"]},{"1402134934":["hashtag1","hashtag2"]},{"1402134928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134936, 1402134939, 1402134930, 1402134932, 1402134934, 1402134928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19735527038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:49:42.123227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_24_1801.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_26_1677.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_28_1649.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_31_1622.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_34_2788.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_37_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_24_1801.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_26_1677.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_28_1649.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_31_1622.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_34_2788.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_37_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":["1402134960","1402134957","1402134948","1402134959","1402134961","1402134958"],"photo_ids_order":["1402134948","1402134957","1402134958","1402134959","1402134960","1402134961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a20521976786f1e2dcf7058f4612ee06.jpg","text":"TemporaryFile(/tmp/multipartBody3912630110895125342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347443956,"filename":"image_05112025_17_59_34_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/2/1c945df0b60bf4068992029cd46da666.jpg","text":"TemporaryFile(/tmp/multipartBody6708031712010955079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347443956,"filename":"image_05112025_17_59_26_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/2/861dc6a7c3b3f003e84beb99f226603a.jpg","text":"TemporaryFile(/tmp/multipartBody1047330413134404783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347443956,"filename":"image_05112025_17_59_24_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0fffc437dc6f8bbff548d393b5444af9.jpg","text":"TemporaryFile(/tmp/multipartBody8014350152904217394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347443956,"filename":"image_05112025_17_59_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/2/679c28edb71304bb05d25898e64c4774.jpg","text":"TemporaryFile(/tmp/multipartBody1615536457416068594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347443956,"filename":"image_05112025_17_59_37_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/2/2b44d7fdc2dd007eb5222a9ca5afd97f.jpg","text":"TemporaryFile(/tmp/multipartBody2362711001271357387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347443956,"filename":"image_05112025_17_59_28_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134958","file1":"1402134957","file0":"1402134948","file4":"1402134960","file5":"1402134961","file3":"1402134959"},"map_files_photo_id_array":[{"photo_id":"1402134961","filename":"file5"},{"photo_id":"1402134958","filename":"file2"},{"photo_id":"1402134960","filename":"file4"},{"photo_id":"1402134957","filename":"file1"},{"photo_id":"1402134948","filename":"file0"},{"photo_id":"1402134959","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402134960":["hashtag1","hashtag2"]},{"1402134957":["hashtag1","hashtag2"]},{"1402134948":["hashtag1","hashtag2"]},{"1402134959":["hashtag1","hashtag2"]},{"1402134961":["hashtag1","hashtag2"]},{"1402134958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402134960, 1402134957, 1402134948, 1402134959, 1402134961, 1402134958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811758041381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:50:22.325128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/46/image_02012026_09_47_05_9578.jpg', '/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_16_10847.jpg', '/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_25_9614.jpg', '/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_35_9721.jpg', '/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_46_10710.jpg', '/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_55_9215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/46/image_02012026_09_47_05_9578.jpg
/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_16_10847.jpg
/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_25_9614.jpg
/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_35_9721.jpg
/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_46_10710.jpg
/home/pi/Desktop/images/02012026/09/47/image_02012026_09_47_55_9215.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402134963","1402134965","1402134968","1402134977","1402134970","1402134973"],"photo_ids_order":["1402134963","1402134965","1402134968","1402134970","1402134973","1402134977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bda759f0393145f75893d1f397f3f821.jpg","text":"TemporaryFile(/tmp/multipartBody8627994123680266441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347482911,"filename":"image_02012026_09_47_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/2/77a5bcdb91bfadd6efbc755af95d4c6c.jpg","text":"TemporaryFile(/tmp/multipartBody955537364675792043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347482911,"filename":"image_02012026_09_47_16_10847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d876c314425f1ca1537019f663a36082.jpg","text":"TemporaryFile(/tmp/multipartBody5765608720743871094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347482911,"filename":"image_02012026_09_47_25_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/2/5157415a001fb8d746f054e471152f16.jpg","text":"TemporaryFile(/tmp/multipartBody3671914831435482888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347482911,"filename":"image_02012026_09_47_55_9215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/775af1f8e50bb3b1045ba2447e138ed1.jpg","text":"TemporaryFile(/tmp/multipartBody229028748243059988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347482911,"filename":"image_02012026_09_47_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/2/4b8be7eb50b7b287b7d33046889b7921.jpg","text":"TemporaryFile(/tmp/multipartBody8239911395849146526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347482911,"filename":"image_02012026_09_47_46_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402134968","file1":"1402134965","file0":"1402134963","file4":"1402134973","file5":"1402134977","file3":"1402134970"},"map_files_photo_id_array":[{"photo_id":"1402134977","filename":"file5"},{"photo_id":"1402134968","filename":"file2"},{"photo_id":"1402134973","filename":"file4"},{"photo_id":"1402134965","filename":"file1"},{"photo_id":"1402134963","filename":"file0"},{"photo_id":"1402134970","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402134963":["hashtag1","hashtag2"]},{"1402134965":["hashtag1","hashtag2"]},{"1402134968":["hashtag1","hashtag2"]},{"1402134977":["hashtag1","hashtag2"]},{"1402134970":["hashtag1","hashtag2"]},{"1402134973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402134963, 1402134965, 1402134968, 1402134977, 1402134970, 1402134973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49071455001831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:51:03.372558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/47/image_02012026_09_48_06_10710.jpg', '/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_15_9737.jpg', '/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_25_9651.jpg', '/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_36_10713.jpg', '/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_45_9671.jpg', '/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_55_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/47/image_02012026_09_48_06_10710.jpg
/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_15_9737.jpg
/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_25_9651.jpg
/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_36_10713.jpg
/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_45_9671.jpg
/home/pi/Desktop/images/02012026/09/48/image_02012026_09_48_55_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":["1402135011","1402135005","1402135016","1402135013","1402135007","1402135009"],"photo_ids_order":["1402135005","1402135007","1402135009","1402135011","1402135013","1402135016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf3c1e7f9339fd50c461979e0e1de720.jpg","text":"TemporaryFile(/tmp/multipartBody8433797863279651567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347524045,"filename":"image_02012026_09_48_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/2/1631d87512d53c872e94671a5a841d09.jpg","text":"TemporaryFile(/tmp/multipartBody855492725368063048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347524045,"filename":"image_02012026_09_48_06_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/2/80f2b24b8067fb9acd9d5a17bc1b83bf.jpg","text":"TemporaryFile(/tmp/multipartBody2120282508953013530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347524045,"filename":"image_02012026_09_48_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/2/b28b222dc12170d547adbadb60c621c4.jpg","text":"TemporaryFile(/tmp/multipartBody1147699331917794964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347524045,"filename":"image_02012026_09_48_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/2/ab261477f688bc92203c87d0e9a194a5.jpg","text":"TemporaryFile(/tmp/multipartBody6138007908635117694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347524045,"filename":"image_02012026_09_48_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff1197c0e425d6bf8d6b1d5a153104c0.jpg","text":"TemporaryFile(/tmp/multipartBody8010685651371893633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347524045,"filename":"image_02012026_09_48_25_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135009","file1":"1402135007","file0":"1402135005","file4":"1402135013","file5":"1402135016","file3":"1402135011"},"map_files_photo_id_array":[{"photo_id":"1402135016","filename":"file5"},{"photo_id":"1402135009","filename":"file2"},{"photo_id":"1402135013","filename":"file4"},{"photo_id":"1402135007","filename":"file1"},{"photo_id":"1402135005","filename":"file0"},{"photo_id":"1402135011","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135011":["hashtag1","hashtag2"]},{"1402135005":["hashtag1","hashtag2"]},{"1402135016":["hashtag1","hashtag2"]},{"1402135013":["hashtag1","hashtag2"]},{"1402135007":["hashtag1","hashtag2"]},{"1402135009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135011, 1402135005, 1402135016, 1402135013, 1402135007, 1402135009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61224889755249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:51:42.577621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_40_3628.jpg', '/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_46_2780.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_06_3016.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_10_3708.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_13_2637.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_15_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_40_3628.jpg
/home/pi/Desktop/images/05112025/17/59/image_05112025_17_59_46_2780.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_06_3016.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_10_3708.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_13_2637.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_15_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402135026","1402135034","1402135043","1402135022","1402135025","1402135024"],"photo_ids_order":["1402135022","1402135024","1402135025","1402135026","1402135034","1402135043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d300eb0c7a09fc837222e755afe76e0.jpg","text":"TemporaryFile(/tmp/multipartBody765138025793039708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347564414,"filename":"image_05112025_18_01_10_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/2/3770cab389b6b06a240c0d3e57926513.jpg","text":"TemporaryFile(/tmp/multipartBody4435007695797243127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347564414,"filename":"image_05112025_18_01_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/2/4aa827d98eaeaa91ff8e28668930cc8d.jpg","text":"TemporaryFile(/tmp/multipartBody4291690989385660937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347564414,"filename":"image_05112025_18_01_15_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/2/257500e880ca7873589647774b028114.jpg","text":"TemporaryFile(/tmp/multipartBody639001847395907762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347564414,"filename":"image_05112025_17_59_40_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9674a8a2125207b78e358da7e27670f.jpg","text":"TemporaryFile(/tmp/multipartBody8413892359864060914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347564414,"filename":"image_05112025_18_01_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/559f38268d3588e6eaa06c349666093e.jpg","text":"TemporaryFile(/tmp/multipartBody7615164868471507599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347564414,"filename":"image_05112025_17_59_46_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135025","file1":"1402135024","file0":"1402135022","file4":"1402135034","file5":"1402135043","file3":"1402135026"},"map_files_photo_id_array":[{"photo_id":"1402135043","filename":"file5"},{"photo_id":"1402135025","filename":"file2"},{"photo_id":"1402135034","filename":"file4"},{"photo_id":"1402135024","filename":"file1"},{"photo_id":"1402135022","filename":"file0"},{"photo_id":"1402135026","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402135026":["hashtag1","hashtag2"]},{"1402135034":["hashtag1","hashtag2"]},{"1402135043":["hashtag1","hashtag2"]},{"1402135022":["hashtag1","hashtag2"]},{"1402135025":["hashtag1","hashtag2"]},{"1402135024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402135026, 1402135034, 1402135043, 1402135022, 1402135025, 1402135024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.208157777786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:52:22.753792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/48/image_02012026_09_49_06_10566.jpg', '/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_15_9684.jpg', '/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_25_9664.jpg', '/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_36_10806.jpg', '/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_45_9832.jpg', '/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_55_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/48/image_02012026_09_49_06_10566.jpg
/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_15_9684.jpg
/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_25_9664.jpg
/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_36_10806.jpg
/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_45_9832.jpg
/home/pi/Desktop/images/02012026/09/49/image_02012026_09_49_55_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":["1402135059","1402135050","1402135127","1402135121","1402135099","1402135123"],"photo_ids_order":["1402135050","1402135059","1402135099","1402135121","1402135123","1402135127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/58755bf931148b29df353adbdb60248f.jpg","text":"TemporaryFile(/tmp/multipartBody2451899662979752515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347603348,"filename":"image_02012026_09_49_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/2/c4ddba2ddedd51b4dfccc17c52763442.jpg","text":"TemporaryFile(/tmp/multipartBody5304491695275123283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347603348,"filename":"image_02012026_09_49_06_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/2/4e61d6a38fc8d9212754c280b731d9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2700837063699917403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347603348,"filename":"image_02012026_09_49_55_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/2/7302852e528aa4f3da8bc04f03a0fb9e.jpg","text":"TemporaryFile(/tmp/multipartBody8518807480381537362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347603348,"filename":"image_02012026_09_49_36_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/2/a87bbf1d1e9c3d82840ba028183df7c2.jpg","text":"TemporaryFile(/tmp/multipartBody8370662646034621676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347603348,"filename":"image_02012026_09_49_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/2/412f6ada029ab49954e37707b17816b9.jpg","text":"TemporaryFile(/tmp/multipartBody4171664449292102241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347603348,"filename":"image_02012026_09_49_45_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135099","file1":"1402135059","file0":"1402135050","file4":"1402135123","file5":"1402135127","file3":"1402135121"},"map_files_photo_id_array":[{"photo_id":"1402135127","filename":"file5"},{"photo_id":"1402135099","filename":"file2"},{"photo_id":"1402135123","filename":"file4"},{"photo_id":"1402135059","filename":"file1"},{"photo_id":"1402135050","filename":"file0"},{"photo_id":"1402135121","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135059":["hashtag1","hashtag2"]},{"1402135050":["hashtag1","hashtag2"]},{"1402135127":["hashtag1","hashtag2"]},{"1402135121":["hashtag1","hashtag2"]},{"1402135099":["hashtag1","hashtag2"]},{"1402135123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135059, 1402135050, 1402135127, 1402135121, 1402135099, 1402135123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02100157737732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:53:02.454627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/49/image_02012026_09_50_05_9664.jpg', '/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_15_10627.jpg', '/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_25_9569.jpg', '/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_36_10639.jpg', '/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_45_9523.jpg', '/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_56_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/49/image_02012026_09_50_05_9664.jpg
/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_15_10627.jpg
/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_25_9569.jpg
/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_36_10639.jpg
/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_45_9523.jpg
/home/pi/Desktop/images/02012026/09/50/image_02012026_09_50_56_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":["1402135161","1402135151","1402135148","1402135156","1402135159","1402135153"],"photo_ids_order":["1402135148","1402135151","1402135153","1402135156","1402135159","1402135161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3320a5dcff682c38aaf2db1bc65fd257.jpg","text":"TemporaryFile(/tmp/multipartBody2246203795535423810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347643176,"filename":"image_02012026_09_50_56_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/2/5ff8535b009b32e8fdfc723d4320543d.jpg","text":"TemporaryFile(/tmp/multipartBody7060841571012025955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347643176,"filename":"image_02012026_09_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/2/9eb2a3925b8867064bbcaf28ae146a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7200794381088339243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347643176,"filename":"image_02012026_09_50_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/2/6e3faaf7f98a96f01f47a398221dd05a.jpg","text":"TemporaryFile(/tmp/multipartBody7077525008311307139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347643176,"filename":"image_02012026_09_50_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/2/2ed892cad20dc3c3f18c420ad3a6594a.jpg","text":"TemporaryFile(/tmp/multipartBody1891134253904137586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347643176,"filename":"image_02012026_09_50_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/2/3633afcbec559c866530faf3bc145431.jpg","text":"TemporaryFile(/tmp/multipartBody7417793047708735978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347643176,"filename":"image_02012026_09_50_25_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135153","file1":"1402135151","file0":"1402135148","file4":"1402135159","file5":"1402135161","file3":"1402135156"},"map_files_photo_id_array":[{"photo_id":"1402135161","filename":"file5"},{"photo_id":"1402135153","filename":"file2"},{"photo_id":"1402135159","filename":"file4"},{"photo_id":"1402135151","filename":"file1"},{"photo_id":"1402135148","filename":"file0"},{"photo_id":"1402135156","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135161":["hashtag1","hashtag2"]},{"1402135151":["hashtag1","hashtag2"]},{"1402135148":["hashtag1","hashtag2"]},{"1402135156":["hashtag1","hashtag2"]},{"1402135159":["hashtag1","hashtag2"]},{"1402135153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135161, 1402135151, 1402135148, 1402135156, 1402135159, 1402135153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04820656776428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:53:41.857353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_19_3700.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_22_2559.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_24_2640.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_28_3553.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_31_2726.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_34_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_19_3700.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_22_2559.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_24_2640.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_28_3553.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_31_2726.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_34_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402135167","1402135196","1402135200","1402135199","1402135180","1402135179"],"photo_ids_order":["1402135167","1402135179","1402135180","1402135196","1402135199","1402135200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/838222ca55c0df00b3c7ba4ca5ebe6ca.jpg","text":"TemporaryFile(/tmp/multipartBody6715557920026080330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347683702,"filename":"image_05112025_18_01_19_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/2/b83095282e62c2e1e154ccd8273c38fc.jpg","text":"TemporaryFile(/tmp/multipartBody5700839809351712694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347683702,"filename":"image_05112025_18_01_28_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/2/65674e344c75b3070a2117d3f4356516.jpg","text":"TemporaryFile(/tmp/multipartBody4972960096576015650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347683702,"filename":"image_05112025_18_01_34_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/2/2b6167882914f701f838d43d5d5de3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4381924721832315326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347683702,"filename":"image_05112025_18_01_31_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/2/139962de88c7013e44dc81b4115da2db.jpg","text":"TemporaryFile(/tmp/multipartBody2576784927106547710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347683702,"filename":"image_05112025_18_01_24_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/2/e5b04e7ac9ff29fd03bfb56b5e67c6c6.jpg","text":"TemporaryFile(/tmp/multipartBody28475557867931211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347683702,"filename":"image_05112025_18_01_22_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135180","file1":"1402135179","file0":"1402135167","file4":"1402135199","file5":"1402135200","file3":"1402135196"},"map_files_photo_id_array":[{"photo_id":"1402135200","filename":"file5"},{"photo_id":"1402135180","filename":"file2"},{"photo_id":"1402135199","filename":"file4"},{"photo_id":"1402135179","filename":"file1"},{"photo_id":"1402135167","filename":"file0"},{"photo_id":"1402135196","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402135167":["hashtag1","hashtag2"]},{"1402135196":["hashtag1","hashtag2"]},{"1402135200":["hashtag1","hashtag2"]},{"1402135199":["hashtag1","hashtag2"]},{"1402135180":["hashtag1","hashtag2"]},{"1402135179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402135167, 1402135196, 1402135200, 1402135199, 1402135180, 1402135179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26285266876221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:54:22.009623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_06_9797.jpg', '/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_15_9670.jpg', '/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_25_9787.jpg', '/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_35_9980.jpg', '/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_46_10668.jpg', '/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_55_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_06_9797.jpg
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_15_9670.jpg
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_25_9787.jpg
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_35_9980.jpg
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_46_10668.jpg
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_51_55_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":["1402135269","1402135286","1402135288","1402135282","1402135234","1402135284"],"photo_ids_order":["1402135234","1402135269","1402135282","1402135284","1402135286","1402135288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/85eed6bec881a874e775be4b80432da9.jpg","text":"TemporaryFile(/tmp/multipartBody2522307409433799284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347722606,"filename":"image_02012026_09_51_15_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/2/0a53d89bb3e71672196dd1472c55bd10.jpg","text":"TemporaryFile(/tmp/multipartBody6053426309089679020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347722606,"filename":"image_02012026_09_51_46_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/2/5a90cd16f88f820ea8f4a909242bd651.jpg","text":"TemporaryFile(/tmp/multipartBody5243571895989825426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347722606,"filename":"image_02012026_09_51_55_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/2/17dd75cebea564073a3797e89769ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody2881843501461666569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347722606,"filename":"image_02012026_09_51_25_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/2/0476f65215fb7e27a8b4a349118bd7ed.jpg","text":"TemporaryFile(/tmp/multipartBody7680109319681251129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347722606,"filename":"image_02012026_09_51_06_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/2/84cbcef75a62ad1deb797d942484305f.jpg","text":"TemporaryFile(/tmp/multipartBody684367478973462240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347722606,"filename":"image_02012026_09_51_35_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135282","file1":"1402135269","file0":"1402135234","file4":"1402135286","file5":"1402135288","file3":"1402135284"},"map_files_photo_id_array":[{"photo_id":"1402135288","filename":"file5"},{"photo_id":"1402135282","filename":"file2"},{"photo_id":"1402135286","filename":"file4"},{"photo_id":"1402135269","filename":"file1"},{"photo_id":"1402135234","filename":"file0"},{"photo_id":"1402135284","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135269":["hashtag1","hashtag2"]},{"1402135286":["hashtag1","hashtag2"]},{"1402135288":["hashtag1","hashtag2"]},{"1402135282":["hashtag1","hashtag2"]},{"1402135234":["hashtag1","hashtag2"]},{"1402135284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135269, 1402135286, 1402135288, 1402135282, 1402135234, 1402135284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9051399230957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:55:02.830641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/51/image_02012026_09_52_05_9615.jpg', '/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_16_10647.jpg', '/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_25_9709.jpg', '/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_35_9785.jpg', '/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_46_10578.jpg', '/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_55_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/51/image_02012026_09_52_05_9615.jpg
/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_16_10647.jpg
/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_25_9709.jpg
/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_35_9785.jpg
/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_46_10578.jpg
/home/pi/Desktop/images/02012026/09/52/image_02012026_09_52_55_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402135293","1402135301","1402135303","1402135296","1402135299","1402135290"],"photo_ids_order":["1402135290","1402135293","1402135296","1402135299","1402135301","1402135303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb746654b77bec8594ed4bbcf3ce9636.jpg","text":"TemporaryFile(/tmp/multipartBody5773406810989582039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347763471,"filename":"image_02012026_09_52_16_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/2/e9c871252ddcb3a3bdd628e40489a845.jpg","text":"TemporaryFile(/tmp/multipartBody6236610946427075253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347763471,"filename":"image_02012026_09_52_46_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/2/4a035468a7582b8cee4f50aa69c290de.jpg","text":"TemporaryFile(/tmp/multipartBody5145998168679023679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347763471,"filename":"image_02012026_09_52_55_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/2/33560b2a96336044b2735068a97ecaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3489949696053431199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347763471,"filename":"image_02012026_09_52_25_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/2/c5005213b4dc2257bae5b6180c998151.jpg","text":"TemporaryFile(/tmp/multipartBody4009879299765593456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347763471,"filename":"image_02012026_09_52_35_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/2/21bb0f0700023eda29fde02add1b0e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7962498963660091130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347763471,"filename":"image_02012026_09_52_05_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135296","file1":"1402135293","file0":"1402135290","file4":"1402135301","file5":"1402135303","file3":"1402135299"},"map_files_photo_id_array":[{"photo_id":"1402135303","filename":"file5"},{"photo_id":"1402135296","filename":"file2"},{"photo_id":"1402135301","filename":"file4"},{"photo_id":"1402135293","filename":"file1"},{"photo_id":"1402135290","filename":"file0"},{"photo_id":"1402135299","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135293":["hashtag1","hashtag2"]},{"1402135301":["hashtag1","hashtag2"]},{"1402135303":["hashtag1","hashtag2"]},{"1402135296":["hashtag1","hashtag2"]},{"1402135299":["hashtag1","hashtag2"]},{"1402135290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135293, 1402135301, 1402135303, 1402135296, 1402135299, 1402135290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50304961204529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:55:42.209986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_37_2632.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_39_2547.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_43_3785.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_57_13604.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_58_1662.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_02_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_37_2632.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_39_2547.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_43_3785.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_57_13604.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_58_1662.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_02_1615.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.768282413482666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:56:02.768155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/52/image_02012026_09_53_06_10450.jpg', '/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_15_9619.jpg', '/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_25_9479.jpg', '/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_36_10846.jpg', '/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_45_9698.jpg', '/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_56_11041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/52/image_02012026_09_53_06_10450.jpg
/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_15_9619.jpg
/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_25_9479.jpg
/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_36_10846.jpg
/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_45_9698.jpg
/home/pi/Desktop/images/02012026/09/53/image_02012026_09_53_56_11041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402135317","1402135319","1402135321","1402135324","1402135327","1402135315"],"photo_ids_order":["1402135315","1402135317","1402135319","1402135321","1402135324","1402135327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84d8c7078c41bf760613bce4347312e2.jpg","text":"TemporaryFile(/tmp/multipartBody114203132161240183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347823383,"filename":"image_02012026_09_53_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/2/8c47a3ae0a19650d369cc0173871b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody6191480325225074632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347823383,"filename":"image_02012026_09_53_25_9479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ada582cc13c55f2990f28856b7cb8e2.jpg","text":"TemporaryFile(/tmp/multipartBody6173402736153922177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347823383,"filename":"image_02012026_09_53_36_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/2/6cef52d3d3cddfda39e20e3b3eb0b783.jpg","text":"TemporaryFile(/tmp/multipartBody5913626941869078645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347823383,"filename":"image_02012026_09_53_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/2/2d0037c33b96721362e31a61babdb3ee.jpg","text":"TemporaryFile(/tmp/multipartBody2146189501095939096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347823383,"filename":"image_02012026_09_53_56_11041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7905881908d743a5d7d2b08a8a6e66f6.jpg","text":"TemporaryFile(/tmp/multipartBody8976031699949912373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347823383,"filename":"image_02012026_09_53_06_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135319","file1":"1402135317","file0":"1402135315","file4":"1402135324","file5":"1402135327","file3":"1402135321"},"map_files_photo_id_array":[{"photo_id":"1402135327","filename":"file5"},{"photo_id":"1402135319","filename":"file2"},{"photo_id":"1402135324","filename":"file4"},{"photo_id":"1402135317","filename":"file1"},{"photo_id":"1402135315","filename":"file0"},{"photo_id":"1402135321","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135317":["hashtag1","hashtag2"]},{"1402135319":["hashtag1","hashtag2"]},{"1402135321":["hashtag1","hashtag2"]},{"1402135324":["hashtag1","hashtag2"]},{"1402135327":["hashtag1","hashtag2"]},{"1402135315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135317, 1402135319, 1402135321, 1402135324, 1402135327, 1402135315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62346363067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:56:42.443794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_37_2632.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_39_2547.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_43_3785.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_57_13604.jpg', '/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_58_1662.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_02_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_37_2632.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_39_2547.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_43_3785.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_57_13604.jpg
/home/pi/Desktop/images/05112025/18/01/image_05112025_18_01_58_1662.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_02_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":["1402135362","1402135379","1402135337","1402135352","1402135366","1402135339"],"photo_ids_order":["1402135337","1402135339","1402135352","1402135362","1402135366","1402135379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/089e8b2cb45310ae389bc7e08f3fcb7f.jpg","text":"TemporaryFile(/tmp/multipartBody7073853158133689383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347864148,"filename":"image_05112025_18_01_57_13604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/31a8d54255c2ecca1c27527446f0656e.jpg","text":"TemporaryFile(/tmp/multipartBody4997059553631367265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347864148,"filename":"image_05112025_18_02_02_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/2/b6e6f7f8be3548d3e6704a5fe0a62792.jpg","text":"TemporaryFile(/tmp/multipartBody7670530861982252028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347864148,"filename":"image_05112025_18_01_37_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/2/8732220aeb24608101c622d4e08e7c09.jpg","text":"TemporaryFile(/tmp/multipartBody2241923692316228126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347864148,"filename":"image_05112025_18_01_43_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/240dee2593bedc395dbe898643d1110d.jpg","text":"TemporaryFile(/tmp/multipartBody2951199046629119752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347864148,"filename":"image_05112025_18_01_58_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/2/1f72b3ba0ec6d645c3c15e8d469166b4.jpg","text":"TemporaryFile(/tmp/multipartBody6026400256100947711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347864148,"filename":"image_05112025_18_01_39_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135352","file1":"1402135339","file0":"1402135337","file4":"1402135366","file5":"1402135379","file3":"1402135362"},"map_files_photo_id_array":[{"photo_id":"1402135379","filename":"file5"},{"photo_id":"1402135352","filename":"file2"},{"photo_id":"1402135366","filename":"file4"},{"photo_id":"1402135339","filename":"file1"},{"photo_id":"1402135337","filename":"file0"},{"photo_id":"1402135362","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402135362":["hashtag1","hashtag2"]},{"1402135379":["hashtag1","hashtag2"]},{"1402135337":["hashtag1","hashtag2"]},{"1402135352":["hashtag1","hashtag2"]},{"1402135366":["hashtag1","hashtag2"]},{"1402135339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402135362, 1402135379, 1402135337, 1402135352, 1402135366, 1402135339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.712806940078735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 10:57:22.576928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/53/image_02012026_09_54_05_8767.jpg', '/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_15_10372.jpg', '/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_25_9619.jpg', '/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_36_10611.jpg', '/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_45_9627.jpg', '/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/53/image_02012026_09_54_05_8767.jpg
/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_15_10372.jpg
/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_25_9619.jpg
/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_36_10611.jpg
/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_45_9627.jpg
/home/pi/Desktop/images/02012026/09/54/image_02012026_09_54_55_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402135662","1402135521","1402135559","1402135628","1402135699","1402135593"],"photo_ids_order":["1402135521","1402135559","1402135593","1402135628","1402135662","1402135699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb6a7ef7c456cff8f0198db52a3b7a9a.jpg","text":"TemporaryFile(/tmp/multipartBody662434842386073618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347903138,"filename":"image_02012026_09_54_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/2/92e6bdc2c44b83630aaf19ccce600456.jpg","text":"TemporaryFile(/tmp/multipartBody95840506968783762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347903138,"filename":"image_02012026_09_54_05_8767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f4e34f92c27868f2ab0e1ec3b51ed6e.jpg","text":"TemporaryFile(/tmp/multipartBody9049007104266455466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347903138,"filename":"image_02012026_09_54_15_10372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/60e82cb319eda7bc3c6ac80e2d31d21c.jpg","text":"TemporaryFile(/tmp/multipartBody5346480399441418454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347903138,"filename":"image_02012026_09_54_36_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/2/e5b06b3bf0157304ddf37bc61a91f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1631047856209274149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347903138,"filename":"image_02012026_09_54_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/2/bc66a232ccdfe19306f98a0aaf8388af.jpg","text":"TemporaryFile(/tmp/multipartBody332999353949353974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767347903138,"filename":"image_02012026_09_54_25_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402135593","file1":"1402135559","file0":"1402135521","file4":"1402135662","file5":"1402135699","file3":"1402135628"},"map_files_photo_id_array":[{"photo_id":"1402135699","filename":"file5"},{"photo_id":"1402135593","filename":"file2"},{"photo_id":"1402135662","filename":"file4"},{"photo_id":"1402135559","filename":"file1"},{"photo_id":"1402135521","filename":"file0"},{"photo_id":"1402135628","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402135662":["hashtag1","hashtag2"]},{"1402135521":["hashtag1","hashtag2"]},{"1402135559":["hashtag1","hashtag2"]},{"1402135628":["hashtag1","hashtag2"]},{"1402135699":["hashtag1","hashtag2"]},{"1402135593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402135662, 1402135521, 1402135559, 1402135628, 1402135699, 1402135593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16229844093323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 10:59:02.947870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/54/image_02012026_09_55_06_10682.jpg', '/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_15_9728.jpg', '/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_25_9666.jpg', '/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_35_9701.jpg', '/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_45_10618.jpg', '/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/54/image_02012026_09_55_06_10682.jpg
/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_15_9728.jpg
/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_25_9666.jpg
/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_35_9701.jpg
/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_45_10618.jpg
/home/pi/Desktop/images/02012026/09/55/image_02012026_09_55_55_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":["1402136060","1402136162","1402136099","1402136165","1402136159","1402136137"],"photo_ids_order":["1402136060","1402136099","1402136137","1402136159","1402136162","1402136165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f953e17166e8f171f8d2b9ee27d34f6.jpg","text":"TemporaryFile(/tmp/multipartBody5675869915218197264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348003781,"filename":"image_02012026_09_55_06_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/2/9066173b284c06a3bbb048e6e3effb2d.jpg","text":"TemporaryFile(/tmp/multipartBody7850510109166532675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348003781,"filename":"image_02012026_09_55_45_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/2/e75d32a3ce037a7515fef45da4ed8298.jpg","text":"TemporaryFile(/tmp/multipartBody1358481971095765242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348003781,"filename":"image_02012026_09_55_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/2/ac6388ca9ecd2e2edc0bac36f8ae2569.jpg","text":"TemporaryFile(/tmp/multipartBody405481544350683477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348003781,"filename":"image_02012026_09_55_55_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/2/eb418c6198ad344bd4944d03708eef17.jpg","text":"TemporaryFile(/tmp/multipartBody2285467017038519107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348003781,"filename":"image_02012026_09_55_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/2/29e181ebaef0fa5161233a5c8e0976f3.jpg","text":"TemporaryFile(/tmp/multipartBody2385336147292361853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348003781,"filename":"image_02012026_09_55_25_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402136137","file1":"1402136099","file0":"1402136060","file4":"1402136162","file5":"1402136165","file3":"1402136159"},"map_files_photo_id_array":[{"photo_id":"1402136165","filename":"file5"},{"photo_id":"1402136137","filename":"file2"},{"photo_id":"1402136162","filename":"file4"},{"photo_id":"1402136099","filename":"file1"},{"photo_id":"1402136060","filename":"file0"},{"photo_id":"1402136159","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402136060":["hashtag1","hashtag2"]},{"1402136162":["hashtag1","hashtag2"]},{"1402136099":["hashtag1","hashtag2"]},{"1402136165":["hashtag1","hashtag2"]},{"1402136159":["hashtag1","hashtag2"]},{"1402136137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402136060, 1402136162, 1402136099, 1402136165, 1402136159, 1402136137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48456120491028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 10:59:41.974215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_03_1571.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_05_1750.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_07_1641.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_08_1588.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_13_5160.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_19_6015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_03_1571.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_05_1750.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_07_1641.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_08_1588.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_13_5160.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_19_6015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402136313","1402136360","1402136354","1402136336","1402136278","1402136239"],"photo_ids_order":["1402136239","1402136278","1402136313","1402136336","1402136354","1402136360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bcc50fc917f10113fb565425be465cca.jpg","text":"TemporaryFile(/tmp/multipartBody5056691525916518710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348043825,"filename":"image_05112025_18_02_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/2/2a1697c42d681e451752740dbda28ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2084592355347862781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348043825,"filename":"image_05112025_18_02_19_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/2/cdf3e4a0f25d6a822fc3566479d64ee8.jpg","text":"TemporaryFile(/tmp/multipartBody1658288666070193510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348043825,"filename":"image_05112025_18_02_13_5160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cee5c6cf873c2a28f0437c0e61442574.jpg","text":"TemporaryFile(/tmp/multipartBody749606205953429981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348043825,"filename":"image_05112025_18_02_08_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/2/6338457a3f6f8a27b827b40bb5b1b288.jpg","text":"TemporaryFile(/tmp/multipartBody6229952942819781351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348043825,"filename":"image_05112025_18_02_05_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/2/307d638c570fcc331c0dfe7de57c29cc.jpg","text":"TemporaryFile(/tmp/multipartBody1249044983248850821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348043825,"filename":"image_05112025_18_02_03_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402136313","file1":"1402136278","file0":"1402136239","file4":"1402136354","file5":"1402136360","file3":"1402136336"},"map_files_photo_id_array":[{"photo_id":"1402136360","filename":"file5"},{"photo_id":"1402136313","filename":"file2"},{"photo_id":"1402136354","filename":"file4"},{"photo_id":"1402136278","filename":"file1"},{"photo_id":"1402136239","filename":"file0"},{"photo_id":"1402136336","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402136313":["hashtag1","hashtag2"]},{"1402136360":["hashtag1","hashtag2"]},{"1402136354":["hashtag1","hashtag2"]},{"1402136336":["hashtag1","hashtag2"]},{"1402136278":["hashtag1","hashtag2"]},{"1402136239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402136313, 1402136360, 1402136354, 1402136336, 1402136278, 1402136239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.496337890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:00:22.119121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/55/image_02012026_09_56_06_10618.jpg', '/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_15_9726.jpg', '/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_25_9799.jpg', '/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_46_10740.jpg', '/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_55_9466.jpg', '/home/pi/Desktop/images/02012026/09/56/image_02012026_09_57_05_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/55/image_02012026_09_56_06_10618.jpg
/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_15_9726.jpg
/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_25_9799.jpg
/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_46_10740.jpg
/home/pi/Desktop/images/02012026/09/56/image_02012026_09_56_55_9466.jpg
/home/pi/Desktop/images/02012026/09/56/image_02012026_09_57_05_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402136372","1402136369","1402136377","1402136371","1402136374","1402136373"],"photo_ids_order":["1402136369","1402136371","1402136372","1402136373","1402136374","1402136377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c70114d529e9bda233522a02e98ca03d.jpg","text":"TemporaryFile(/tmp/multipartBody1359596337166360254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348082727,"filename":"image_02012026_09_56_25_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/2/3ae55c4af8f83298fa4c8410cacba593.jpg","text":"TemporaryFile(/tmp/multipartBody4722952229234725176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348082727,"filename":"image_02012026_09_56_06_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/2/a929d76951a8d4774abdaf1d4b8d7543.jpg","text":"TemporaryFile(/tmp/multipartBody7765953287441628803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348082727,"filename":"image_02012026_09_57_05_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/2/7afa79765e53be336b630d7bd2531012.jpg","text":"TemporaryFile(/tmp/multipartBody3439371887240784083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348082727,"filename":"image_02012026_09_56_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/2/8a3bf2184a5b8f489962bc39947b952c.jpg","text":"TemporaryFile(/tmp/multipartBody4275912764081036760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348082727,"filename":"image_02012026_09_56_55_9466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ccc81df424076dfd0896c67a938acd76.jpg","text":"TemporaryFile(/tmp/multipartBody4935706616426605065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348082727,"filename":"image_02012026_09_56_46_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402136372","file1":"1402136371","file0":"1402136369","file4":"1402136374","file5":"1402136377","file3":"1402136373"},"map_files_photo_id_array":[{"photo_id":"1402136377","filename":"file5"},{"photo_id":"1402136372","filename":"file2"},{"photo_id":"1402136374","filename":"file4"},{"photo_id":"1402136371","filename":"file1"},{"photo_id":"1402136369","filename":"file0"},{"photo_id":"1402136373","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402136372":["hashtag1","hashtag2"]},{"1402136369":["hashtag1","hashtag2"]},{"1402136377":["hashtag1","hashtag2"]},{"1402136371":["hashtag1","hashtag2"]},{"1402136374":["hashtag1","hashtag2"]},{"1402136373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402136372, 1402136369, 1402136377, 1402136371, 1402136374, 1402136373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.455084800720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:01:03.010446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_16_10604.jpg', '/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_25_9922.jpg', '/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_35_9776.jpg', '/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_45_9797.jpg', '/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_56_10658.jpg', '/home/pi/Desktop/images/02012026/09/57/image_02012026_09_58_05_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_16_10604.jpg
/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_25_9922.jpg
/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_35_9776.jpg
/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_45_9797.jpg
/home/pi/Desktop/images/02012026/09/57/image_02012026_09_57_56_10658.jpg
/home/pi/Desktop/images/02012026/09/57/image_02012026_09_58_05_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":["1402136387","1402136389","1402136391","1402136394","1402136382","1402136385"],"photo_ids_order":["1402136382","1402136385","1402136387","1402136389","1402136391","1402136394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d4e5f875020ee544c849ac66564c8b38.jpg","text":"TemporaryFile(/tmp/multipartBody9205183340429469605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348123895,"filename":"image_02012026_09_57_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/2/9880a4e4b44a47880fec0013d2121412.jpg","text":"TemporaryFile(/tmp/multipartBody3014067526222826246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348123895,"filename":"image_02012026_09_57_45_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/2/f5533451cfb56df86c23273faa29c56e.jpg","text":"TemporaryFile(/tmp/multipartBody8777434445699463598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348123895,"filename":"image_02012026_09_57_56_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/2/7fa33043e3d217ac1d08010007018a05.jpg","text":"TemporaryFile(/tmp/multipartBody8393658845405616451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348123895,"filename":"image_02012026_09_58_05_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/2/a94e31fd85e80a3dad5713a33e790628.jpg","text":"TemporaryFile(/tmp/multipartBody5602371493364807122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348123895,"filename":"image_02012026_09_57_16_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/2/8930574fc9942110f21f17f0bc43b353.jpg","text":"TemporaryFile(/tmp/multipartBody347036211178480233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348123895,"filename":"image_02012026_09_57_25_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402136387","file1":"1402136385","file0":"1402136382","file4":"1402136391","file5":"1402136394","file3":"1402136389"},"map_files_photo_id_array":[{"photo_id":"1402136394","filename":"file5"},{"photo_id":"1402136387","filename":"file2"},{"photo_id":"1402136391","filename":"file4"},{"photo_id":"1402136385","filename":"file1"},{"photo_id":"1402136382","filename":"file0"},{"photo_id":"1402136389","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402136387":["hashtag1","hashtag2"]},{"1402136389":["hashtag1","hashtag2"]},{"1402136391":["hashtag1","hashtag2"]},{"1402136394":["hashtag1","hashtag2"]},{"1402136382":["hashtag1","hashtag2"]},{"1402136385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402136387, 1402136389, 1402136391, 1402136394, 1402136382, 1402136385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.389201402664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:01:42.312915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_21_1683.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_23_1581.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_24_1706.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_26_1631.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_28_1627.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_30_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_21_1683.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_23_1581.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_24_1706.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_26_1631.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_28_1627.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_30_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402136406","1402136400","1402136403","1402136402","1402136405","1402136404"],"photo_ids_order":["1402136400","1402136402","1402136403","1402136404","1402136405","1402136406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/606631e2e929acc85efa5f8ba6d7d5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2219828107567066162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348164153,"filename":"image_05112025_18_02_30_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/2/8a7004978912358f6e09dda5a06a3070.jpg","text":"TemporaryFile(/tmp/multipartBody3968388151864922404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348164153,"filename":"image_05112025_18_02_21_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/2/869fce9fee323ac6a532e07fcca52d47.jpg","text":"TemporaryFile(/tmp/multipartBody1024169429283241130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348164153,"filename":"image_05112025_18_02_24_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/2/1a19304efe854674c2341ba1eed533a4.jpg","text":"TemporaryFile(/tmp/multipartBody8714192925980872671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348164153,"filename":"image_05112025_18_02_23_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/2/b49ace00a4adc467a628254902400732.jpg","text":"TemporaryFile(/tmp/multipartBody4652639512774822874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348164153,"filename":"image_05112025_18_02_28_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/2/9243735c69e62b53e9793816dbc531f4.jpg","text":"TemporaryFile(/tmp/multipartBody3561969627809043748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348164153,"filename":"image_05112025_18_02_26_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402136403","file1":"1402136402","file0":"1402136400","file4":"1402136405","file5":"1402136406","file3":"1402136404"},"map_files_photo_id_array":[{"photo_id":"1402136406","filename":"file5"},{"photo_id":"1402136403","filename":"file2"},{"photo_id":"1402136405","filename":"file4"},{"photo_id":"1402136402","filename":"file1"},{"photo_id":"1402136400","filename":"file0"},{"photo_id":"1402136404","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402136406":["hashtag1","hashtag2"]},{"1402136400":["hashtag1","hashtag2"]},{"1402136403":["hashtag1","hashtag2"]},{"1402136402":["hashtag1","hashtag2"]},{"1402136405":["hashtag1","hashtag2"]},{"1402136404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402136406, 1402136400, 1402136403, 1402136402, 1402136405, 1402136404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0721070766449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:02:24.327208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_15_9819.jpg', '/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_25_10135.jpg', '/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_35_9564.jpg', '/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_45_10529.jpg', '/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_55_9779.jpg', '/home/pi/Desktop/images/02012026/09/58/image_02012026_09_59_05_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_15_9819.jpg
/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_25_10135.jpg
/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_35_9564.jpg
/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_45_10529.jpg
/home/pi/Desktop/images/02012026/09/58/image_02012026_09_58_55_9779.jpg
/home/pi/Desktop/images/02012026/09/58/image_02012026_09_59_05_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402136415","1402136852","1402136722","1402136413","1402136589","1402136496"],"photo_ids_order":["1402136413","1402136415","1402136496","1402136589","1402136722","1402136852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea9912d4943a0a0833c4857ceb37b2dc.jpg","text":"TemporaryFile(/tmp/multipartBody8413343109267100981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348204881,"filename":"image_02012026_09_58_25_10135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5a70115957287bda8fd00cb313387f2.jpg","text":"TemporaryFile(/tmp/multipartBody2158585557660968444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348204881,"filename":"image_02012026_09_59_05_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/2/b2382d45162c923e8714d459bab54681.jpg","text":"TemporaryFile(/tmp/multipartBody1308484345078924890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348204881,"filename":"image_02012026_09_58_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/2/a275b013f9269d0202a9484955ad87c4.jpg","text":"TemporaryFile(/tmp/multipartBody7469887290773351237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348204881,"filename":"image_02012026_09_58_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/2/3679b6fcebdd380e4d596ed919a47293.jpg","text":"TemporaryFile(/tmp/multipartBody7593359906806800935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348204881,"filename":"image_02012026_09_58_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09dbf8d1e5b3decd4aa091e155eae024.jpg","text":"TemporaryFile(/tmp/multipartBody5900301742048444376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348204881,"filename":"image_02012026_09_58_35_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402136496","file1":"1402136415","file0":"1402136413","file4":"1402136722","file5":"1402136852","file3":"1402136589"},"map_files_photo_id_array":[{"photo_id":"1402136852","filename":"file5"},{"photo_id":"1402136496","filename":"file2"},{"photo_id":"1402136722","filename":"file4"},{"photo_id":"1402136415","filename":"file1"},{"photo_id":"1402136413","filename":"file0"},{"photo_id":"1402136589","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402136415":["hashtag1","hashtag2"]},{"1402136852":["hashtag1","hashtag2"]},{"1402136722":["hashtag1","hashtag2"]},{"1402136413":["hashtag1","hashtag2"]},{"1402136589":["hashtag1","hashtag2"]},{"1402136496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402136415, 1402136852, 1402136722, 1402136413, 1402136589, 1402136496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.230430126190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:03:03.228590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_16_10637.jpg', '/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_25_9563.jpg', '/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_35_9631.jpg', '/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_45_10649.jpg', '/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_55_9560.jpg', '/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_15_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_16_10637.jpg
/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_25_9563.jpg
/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_35_9631.jpg
/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_45_10649.jpg
/home/pi/Desktop/images/02012026/09/59/image_02012026_09_59_55_9560.jpg
/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_15_10049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402137023","1402137190","1402137046","1402137103","1402137183","1402137036"],"photo_ids_order":["1402137023","1402137036","1402137046","1402137103","1402137183","1402137190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bde9288a8680d80fe0674f57adf3c9d3.jpg","text":"TemporaryFile(/tmp/multipartBody3614099753518887665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348243884,"filename":"image_02012026_09_59_16_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/2/9e60cbc5d7d9821abafe737f6f861bac.jpg","text":"TemporaryFile(/tmp/multipartBody6815483694022290651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348243884,"filename":"image_02012026_10_00_15_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/2/cf65cd975ba55147a74efddc65841a14.jpg","text":"TemporaryFile(/tmp/multipartBody9050582040722069438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348243884,"filename":"image_02012026_09_59_35_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/2/273c6611dfd40069765ae4a1f31597af.jpg","text":"TemporaryFile(/tmp/multipartBody2022367834172479827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348243884,"filename":"image_02012026_09_59_45_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/2/0277eec960adf0f1f29e325091324e32.jpg","text":"TemporaryFile(/tmp/multipartBody934319216002603913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348243884,"filename":"image_02012026_09_59_55_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/2/32a91d40215ef089eff7f36d25fef06d.jpg","text":"TemporaryFile(/tmp/multipartBody6738400486442178247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348243884,"filename":"image_02012026_09_59_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402137046","file1":"1402137036","file0":"1402137023","file4":"1402137183","file5":"1402137190","file3":"1402137103"},"map_files_photo_id_array":[{"photo_id":"1402137190","filename":"file5"},{"photo_id":"1402137046","filename":"file2"},{"photo_id":"1402137183","filename":"file4"},{"photo_id":"1402137036","filename":"file1"},{"photo_id":"1402137023","filename":"file0"},{"photo_id":"1402137103","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402137023":["hashtag1","hashtag2"]},{"1402137190":["hashtag1","hashtag2"]},{"1402137046":["hashtag1","hashtag2"]},{"1402137103":["hashtag1","hashtag2"]},{"1402137183":["hashtag1","hashtag2"]},{"1402137036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402137023, 1402137190, 1402137046, 1402137103, 1402137183, 1402137036)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.01977348327637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:04:02.580158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_25_10638.jpg', '/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_35_9739.jpg', '/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_44_9601.jpg', '/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_55_10787.jpg', '/home/pi/Desktop/images/02012026/10/00/image_02012026_10_01_05_9649.jpg', '/home/pi/Desktop/images/02012026/10/01/image_02012026_10_01_35_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_25_10638.jpg
/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_35_9739.jpg
/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_44_9601.jpg
/home/pi/Desktop/images/02012026/10/00/image_02012026_10_00_55_10787.jpg
/home/pi/Desktop/images/02012026/10/00/image_02012026_10_01_05_9649.jpg
/home/pi/Desktop/images/02012026/10/01/image_02012026_10_01_35_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":["1402137530","1402137457","1402137384","1402137492","1402137420","1402137569"],"photo_ids_order":["1402137384","1402137420","1402137457","1402137492","1402137530","1402137569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4887cc0f4fdeb509c60700d86f040646.jpg","text":"TemporaryFile(/tmp/multipartBody4125917411782928235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348303261,"filename":"image_02012026_10_01_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/2/94199ebfb55e103fc8a126f366f35208.jpg","text":"TemporaryFile(/tmp/multipartBody4883152936717158001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348303261,"filename":"image_02012026_10_00_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/2/f672bb0f9e5a46e73b447e4d4ca616a5.jpg","text":"TemporaryFile(/tmp/multipartBody4968090734432037705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348303261,"filename":"image_02012026_10_00_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/2/fb684e69a2ffc5e4afd8770cd60be2d7.jpg","text":"TemporaryFile(/tmp/multipartBody4276661237583448436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348303261,"filename":"image_02012026_10_00_55_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/2/b29a1fe2c76fe914bce84eeb47d23ba4.jpg","text":"TemporaryFile(/tmp/multipartBody6574546590671489947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348303261,"filename":"image_02012026_10_00_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/2/e96f8e9e17f21beb5888df6ce72a4118.jpg","text":"TemporaryFile(/tmp/multipartBody5404090242388823708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348303261,"filename":"image_02012026_10_01_35_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402137457","file1":"1402137420","file0":"1402137384","file4":"1402137530","file5":"1402137569","file3":"1402137492"},"map_files_photo_id_array":[{"photo_id":"1402137569","filename":"file5"},{"photo_id":"1402137457","filename":"file2"},{"photo_id":"1402137530","filename":"file4"},{"photo_id":"1402137420","filename":"file1"},{"photo_id":"1402137384","filename":"file0"},{"photo_id":"1402137492","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402137530":["hashtag1","hashtag2"]},{"1402137457":["hashtag1","hashtag2"]},{"1402137384":["hashtag1","hashtag2"]},{"1402137492":["hashtag1","hashtag2"]},{"1402137420":["hashtag1","hashtag2"]},{"1402137569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402137530, 1402137457, 1402137384, 1402137492, 1402137420, 1402137569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.370115995407104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:04:41.967184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_34_3625.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_36_2716.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_39_2586.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_42_3317.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_45_2852.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_49_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_34_3625.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_36_2716.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_39_2586.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_42_3317.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_45_2852.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_49_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":["1402137848","1402137886","1402137766","1402137925","1402137720","1402137801"],"photo_ids_order":["1402137720","1402137766","1402137801","1402137848","1402137886","1402137925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6d44fd77454a4e712c3a99627de1b26.jpg","text":"TemporaryFile(/tmp/multipartBody462181206492801249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348343858,"filename":"image_05112025_18_02_42_3317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e628b8567235318ed0c87ad4457b1d8.jpg","text":"TemporaryFile(/tmp/multipartBody477036179033048935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348343858,"filename":"image_05112025_18_02_45_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/2/79f945e135f0d1d60da05ed3f0a1f9ae.jpg","text":"TemporaryFile(/tmp/multipartBody5500036820996777467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348343858,"filename":"image_05112025_18_02_36_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/2/663c726404e1abc0bed4423c59ebffab.jpg","text":"TemporaryFile(/tmp/multipartBody8856012329488521649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348343858,"filename":"image_05112025_18_02_49_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/2/ebc130b540ffc1a35a783849792cc381.jpg","text":"TemporaryFile(/tmp/multipartBody1150034776010735693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348343858,"filename":"image_05112025_18_02_34_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/2/0ac48930f92cf39bd2b78e1923d41c89.jpg","text":"TemporaryFile(/tmp/multipartBody2999255119214024135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348343858,"filename":"image_05112025_18_02_39_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402137801","file1":"1402137766","file0":"1402137720","file4":"1402137886","file5":"1402137925","file3":"1402137848"},"map_files_photo_id_array":[{"photo_id":"1402137925","filename":"file5"},{"photo_id":"1402137801","filename":"file2"},{"photo_id":"1402137886","filename":"file4"},{"photo_id":"1402137766","filename":"file1"},{"photo_id":"1402137720","filename":"file0"},{"photo_id":"1402137848","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402137848":["hashtag1","hashtag2"]},{"1402137886":["hashtag1","hashtag2"]},{"1402137766":["hashtag1","hashtag2"]},{"1402137925":["hashtag1","hashtag2"]},{"1402137720":["hashtag1","hashtag2"]},{"1402137801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402137848, 1402137886, 1402137766, 1402137925, 1402137720, 1402137801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43867015838623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:05:22.130532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/01/image_02012026_10_01_55_10247.jpg', '/home/pi/Desktop/images/02012026/10/01/image_02012026_10_02_05_9858.jpg', '/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_15_9715.jpg', '/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_25_10782.jpg', '/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_35_9761.jpg', '/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_45_10012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/01/image_02012026_10_01_55_10247.jpg
/home/pi/Desktop/images/02012026/10/01/image_02012026_10_02_05_9858.jpg
/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_15_9715.jpg
/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_25_10782.jpg
/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_35_9761.jpg
/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_45_10012.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138100","1402138141","1402138138","1402138132","1402138161","1402138050"],"photo_ids_order":["1402138050","1402138100","1402138132","1402138138","1402138141","1402138161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bce4209cd34492e0a5a5bb0bbf3e1a36.jpg","text":"TemporaryFile(/tmp/multipartBody7663169363748030610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348382798,"filename":"image_02012026_10_02_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/2/281c2c0f3d4b8881fe2f69e5f8e4fde4.jpg","text":"TemporaryFile(/tmp/multipartBody2513100711595296508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348382798,"filename":"image_02012026_10_02_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/2/52f39d66209880d1b7eebcb5b4afe693.jpg","text":"TemporaryFile(/tmp/multipartBody7513977356941734278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348382798,"filename":"image_02012026_10_02_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/2/008541c4ea93a9cafdd86151c2c86f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6108110638395110796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348382798,"filename":"image_02012026_10_02_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/2/2d2705f538d342a9b0d0288cb1151d78.jpg","text":"TemporaryFile(/tmp/multipartBody2829070606597722402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348382798,"filename":"image_02012026_10_02_45_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/2/e4e42d0e8b766ff6f68b6f73f74ff6da.jpg","text":"TemporaryFile(/tmp/multipartBody1866946429718215170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348382798,"filename":"image_02012026_10_01_55_10247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138132","file1":"1402138100","file0":"1402138050","file4":"1402138141","file5":"1402138161","file3":"1402138138"},"map_files_photo_id_array":[{"photo_id":"1402138161","filename":"file5"},{"photo_id":"1402138132","filename":"file2"},{"photo_id":"1402138141","filename":"file4"},{"photo_id":"1402138100","filename":"file1"},{"photo_id":"1402138050","filename":"file0"},{"photo_id":"1402138138","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402138100":["hashtag1","hashtag2"]},{"1402138141":["hashtag1","hashtag2"]},{"1402138138":["hashtag1","hashtag2"]},{"1402138132":["hashtag1","hashtag2"]},{"1402138161":["hashtag1","hashtag2"]},{"1402138050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402138100, 1402138141, 1402138138, 1402138132, 1402138161, 1402138050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53099203109741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:06:02.934593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_55_9610.jpg', '/home/pi/Desktop/images/02012026/10/02/image_02012026_10_03_04_9765.jpg', '/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_15_10750.jpg', '/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_25_9704.jpg', '/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_35_9626.jpg', '/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_44_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/02/image_02012026_10_02_55_9610.jpg
/home/pi/Desktop/images/02012026/10/02/image_02012026_10_03_04_9765.jpg
/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_15_10750.jpg
/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_25_9704.jpg
/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_35_9626.jpg
/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_44_9919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138307","1402138267","1402138344","1402138190","1402138163","1402138226"],"photo_ids_order":["1402138163","1402138190","1402138226","1402138267","1402138307","1402138344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f5c6d024076b578ca27bc4aaebb2287b.jpg","text":"TemporaryFile(/tmp/multipartBody6752459396640769885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348423629,"filename":"image_02012026_10_03_35_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/2/d97f351c5d09d3e906d7d2cd0cc8af78.jpg","text":"TemporaryFile(/tmp/multipartBody5366300321244232631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348423629,"filename":"image_02012026_10_03_25_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/2/4721bc9248f46af9e27d344155abd661.jpg","text":"TemporaryFile(/tmp/multipartBody9055166720022984475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348423629,"filename":"image_02012026_10_03_44_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/2/18d28b465ac5818da824912e2a4e0c87.jpg","text":"TemporaryFile(/tmp/multipartBody1938446916813727510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348423629,"filename":"image_02012026_10_03_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/2/d8ba62c96ed88fc420752f8208a39aea.jpg","text":"TemporaryFile(/tmp/multipartBody5876545132960537244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348423629,"filename":"image_02012026_10_02_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/2/ac99feb7c0bfc9787e6026734cc32a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3952922104519972953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348423629,"filename":"image_02012026_10_03_15_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138226","file1":"1402138190","file0":"1402138163","file4":"1402138307","file5":"1402138344","file3":"1402138267"},"map_files_photo_id_array":[{"photo_id":"1402138344","filename":"file5"},{"photo_id":"1402138226","filename":"file2"},{"photo_id":"1402138307","filename":"file4"},{"photo_id":"1402138190","filename":"file1"},{"photo_id":"1402138163","filename":"file0"},{"photo_id":"1402138267","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402138307":["hashtag1","hashtag2"]},{"1402138267":["hashtag1","hashtag2"]},{"1402138344":["hashtag1","hashtag2"]},{"1402138190":["hashtag1","hashtag2"]},{"1402138163":["hashtag1","hashtag2"]},{"1402138226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402138307, 1402138267, 1402138344, 1402138190, 1402138163, 1402138226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02566146850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:06:42.328253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_51_2652.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_54_2594.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_58_3542.jpg', '/home/pi/Desktop/images/05112025/18/02/image_05112025_18_03_00_2788.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_03_2661.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_07_3517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_51_2652.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_54_2594.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_02_58_3542.jpg
/home/pi/Desktop/images/05112025/18/02/image_05112025_18_03_00_2788.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_03_2661.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_07_3517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138438","1402138417","1402138536","1402138493","1402138577","1402138424"],"photo_ids_order":["1402138417","1402138424","1402138438","1402138493","1402138536","1402138577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09505c9075b0a94c858f81c70d686952.jpg","text":"TemporaryFile(/tmp/multipartBody4829285665840813987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348464174,"filename":"image_05112025_18_02_58_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/2/e2267e28c5e1380a073efb5b2bf9cf12.jpg","text":"TemporaryFile(/tmp/multipartBody1757042031085098902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348464174,"filename":"image_05112025_18_02_51_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/2/f0c0ff1d651b5f8427199a6f632a0228.jpg","text":"TemporaryFile(/tmp/multipartBody4578053831707640411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348464174,"filename":"image_05112025_18_03_03_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/2/f7c525506face6e06bde52ea480f5641.jpg","text":"TemporaryFile(/tmp/multipartBody4643688730953118746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348464174,"filename":"image_05112025_18_03_00_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/2/a55f16f0b6f8d5bcde19f6d26268fd89.jpg","text":"TemporaryFile(/tmp/multipartBody8790506145989388134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348464174,"filename":"image_05112025_18_03_07_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be2a605b26ad1eeead58903e16c742cd.jpg","text":"TemporaryFile(/tmp/multipartBody7061306182954734181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348464174,"filename":"image_05112025_18_02_54_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138438","file1":"1402138424","file0":"1402138417","file4":"1402138536","file5":"1402138577","file3":"1402138493"},"map_files_photo_id_array":[{"photo_id":"1402138577","filename":"file5"},{"photo_id":"1402138438","filename":"file2"},{"photo_id":"1402138536","filename":"file4"},{"photo_id":"1402138424","filename":"file1"},{"photo_id":"1402138417","filename":"file0"},{"photo_id":"1402138493","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402138438":["hashtag1","hashtag2"]},{"1402138417":["hashtag1","hashtag2"]},{"1402138536":["hashtag1","hashtag2"]},{"1402138493":["hashtag1","hashtag2"]},{"1402138577":["hashtag1","hashtag2"]},{"1402138424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402138438, 1402138417, 1402138536, 1402138493, 1402138577, 1402138424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04644012451172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:07:22.479372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_55_10668.jpg', '/home/pi/Desktop/images/02012026/10/03/image_02012026_10_04_05_9830.jpg', '/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_15_9969.jpg', '/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_25_9798.jpg', '/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_35_9786.jpg', '/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_45_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/03/image_02012026_10_03_55_10668.jpg
/home/pi/Desktop/images/02012026/10/03/image_02012026_10_04_05_9830.jpg
/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_15_9969.jpg
/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_25_9798.jpg
/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_35_9786.jpg
/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_45_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138630","1402138686","1402138656","1402138670","1402138658","1402138643"],"photo_ids_order":["1402138630","1402138643","1402138656","1402138658","1402138670","1402138686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb83cf8d974a945653dd0dc7c74a87ca.jpg","text":"TemporaryFile(/tmp/multipartBody1861677700050151797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348503217,"filename":"image_02012026_10_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/2/c838677cfb97e27a970599fa723bcb81.jpg","text":"TemporaryFile(/tmp/multipartBody7286713115118400553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348503217,"filename":"image_02012026_10_04_45_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/2/6408e18a23418802e311b2f5f32079f9.jpg","text":"TemporaryFile(/tmp/multipartBody7486303047820311799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348503217,"filename":"image_02012026_10_04_15_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8cb05e7cfb0d12951b2614cde56dda67.jpg","text":"TemporaryFile(/tmp/multipartBody3314573474593230906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348503217,"filename":"image_02012026_10_04_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/2/87a13823fe30dd86f2bb9d5d88480238.jpg","text":"TemporaryFile(/tmp/multipartBody2646624280962832211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348503217,"filename":"image_02012026_10_04_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/2/a42171c0887d07c81967ff53e23deed7.jpg","text":"TemporaryFile(/tmp/multipartBody262231010673187616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348503217,"filename":"image_02012026_10_04_05_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138656","file1":"1402138643","file0":"1402138630","file4":"1402138670","file5":"1402138686","file3":"1402138658"},"map_files_photo_id_array":[{"photo_id":"1402138686","filename":"file5"},{"photo_id":"1402138656","filename":"file2"},{"photo_id":"1402138670","filename":"file4"},{"photo_id":"1402138643","filename":"file1"},{"photo_id":"1402138630","filename":"file0"},{"photo_id":"1402138658","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402138630":["hashtag1","hashtag2"]},{"1402138686":["hashtag1","hashtag2"]},{"1402138656":["hashtag1","hashtag2"]},{"1402138670":["hashtag1","hashtag2"]},{"1402138658":["hashtag1","hashtag2"]},{"1402138643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402138630, 1402138686, 1402138656, 1402138670, 1402138658, 1402138643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.100080251693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:08:03.179080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_55_9979.jpg', '/home/pi/Desktop/images/02012026/10/04/image_02012026_10_05_05_9419.jpg', '/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_14_10055.jpg', '/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_25_10764.jpg', '/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_34_9572.jpg', '/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/04/image_02012026_10_04_55_9979.jpg
/home/pi/Desktop/images/02012026/10/04/image_02012026_10_05_05_9419.jpg
/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_14_10055.jpg
/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_25_10764.jpg
/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_34_9572.jpg
/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_44_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":["1402138711","1402138705","1402138713","1402138707","1402138715","1402138709"],"photo_ids_order":["1402138705","1402138707","1402138709","1402138711","1402138713","1402138715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05961b186ad8fcce8ba92be7c8100b47.jpg","text":"TemporaryFile(/tmp/multipartBody3152630323087894828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348543829,"filename":"image_02012026_10_06_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/2/49e2c6891d8b44f9ce4c48fdde29261f.jpg","text":"TemporaryFile(/tmp/multipartBody2756292215676382280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348543829,"filename":"image_02012026_10_04_55_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/2/36a86d158c3c13177816aff37a71d64e.jpg","text":"TemporaryFile(/tmp/multipartBody2753760961410014569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348543829,"filename":"image_02012026_10_06_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/2/3b142e8c94353e99f0b126fbd7cb301c.jpg","text":"TemporaryFile(/tmp/multipartBody6319990190189662681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348543829,"filename":"image_02012026_10_05_05_9419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c8908bfdcb9b26dcfac375a574bdc341.jpg","text":"TemporaryFile(/tmp/multipartBody8332244717002030670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348543829,"filename":"image_02012026_10_06_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/2/86619f84bc82594db08413db79e04367.jpg","text":"TemporaryFile(/tmp/multipartBody4893030841190137004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348543829,"filename":"image_02012026_10_06_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138709","file1":"1402138707","file0":"1402138705","file4":"1402138713","file5":"1402138715","file3":"1402138711"},"map_files_photo_id_array":[{"photo_id":"1402138715","filename":"file5"},{"photo_id":"1402138709","filename":"file2"},{"photo_id":"1402138713","filename":"file4"},{"photo_id":"1402138707","filename":"file1"},{"photo_id":"1402138705","filename":"file0"},{"photo_id":"1402138711","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402138711":["hashtag1","hashtag2"]},{"1402138705":["hashtag1","hashtag2"]},{"1402138713":["hashtag1","hashtag2"]},{"1402138707":["hashtag1","hashtag2"]},{"1402138715":["hashtag1","hashtag2"]},{"1402138709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402138711, 1402138705, 1402138713, 1402138707, 1402138715, 1402138709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.430257081985474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:08:42.757346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_09_2535.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_13_3728.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_29_16347.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_31_1748.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_32_1595.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_38_5717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_09_2535.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_13_3728.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_29_16347.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_31_1748.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_32_1595.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_38_5717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138756","1402138753","1402138755","1402138754","1402138727","1402138757"],"photo_ids_order":["1402138727","1402138753","1402138754","1402138755","1402138756","1402138757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7726990633d8dfbe4b19be4ba5ed7d68.jpg","text":"TemporaryFile(/tmp/multipartBody7032046729867294776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348584610,"filename":"image_05112025_18_03_32_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/2/7b3d1ea144999f9f6c40e5888604d7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6662886664969900198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348584610,"filename":"image_05112025_18_03_13_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/2/3fa5022b94403ddceaca20e773b25119.jpg","text":"TemporaryFile(/tmp/multipartBody7687357340161149131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348584610,"filename":"image_05112025_18_03_31_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/2/9e01ceff1f1ddb266927ce621fa98f34.jpg","text":"TemporaryFile(/tmp/multipartBody7210281902118085155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348584610,"filename":"image_05112025_18_03_29_16347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/abb9a4768e49a584661bf624ff4205ba.jpg","text":"TemporaryFile(/tmp/multipartBody2355352336224889269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348584610,"filename":"image_05112025_18_03_09_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/2/5ddc1b18af03428a86f0cf26675fb70e.jpg","text":"TemporaryFile(/tmp/multipartBody5677865644198804670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348584610,"filename":"image_05112025_18_03_38_5717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138754","file1":"1402138753","file0":"1402138727","file4":"1402138756","file5":"1402138757","file3":"1402138755"},"map_files_photo_id_array":[{"photo_id":"1402138757","filename":"file5"},{"photo_id":"1402138754","filename":"file2"},{"photo_id":"1402138756","filename":"file4"},{"photo_id":"1402138753","filename":"file1"},{"photo_id":"1402138727","filename":"file0"},{"photo_id":"1402138755","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402138756":["hashtag1","hashtag2"]},{"1402138753":["hashtag1","hashtag2"]},{"1402138755":["hashtag1","hashtag2"]},{"1402138754":["hashtag1","hashtag2"]},{"1402138727":["hashtag1","hashtag2"]},{"1402138757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402138756, 1402138753, 1402138755, 1402138754, 1402138727, 1402138757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.657631158828735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:09:31.931678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_41_1541.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_43_1507.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_45_1622.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_46_1756.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_48_1648.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_49_1561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_41_1541.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_43_1507.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_45_1622.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_46_1756.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_48_1648.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_49_1561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138789","1402138774","1402138771","1402138767","1402138775","1402138769"],"photo_ids_order":["1402138767","1402138769","1402138771","1402138774","1402138775","1402138789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cad1ad05acb30deeff9396b32ce64c71.jpg","text":"TemporaryFile(/tmp/multipartBody4387566899775754169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348633759,"filename":"image_05112025_18_03_49_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/2/7bb9204d0290cce0f5e32d048ef35e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8993684732464205641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348633759,"filename":"image_05112025_18_03_46_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/2/56ccce12bc1189bf4bed931bf5bdb9a0.jpg","text":"TemporaryFile(/tmp/multipartBody1482851964499467845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348633759,"filename":"image_05112025_18_03_45_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/2/5a8f89dcb356fa1889c6a430b5e509d4.jpg","text":"TemporaryFile(/tmp/multipartBody4294440723307144324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348633759,"filename":"image_05112025_18_03_41_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/2/e28443915dcafb15762f94d9978404cd.jpg","text":"TemporaryFile(/tmp/multipartBody8870221644375710771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348633759,"filename":"image_05112025_18_03_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/2/d86aa0afec1a578dea0e537fa02dc60e.jpg","text":"TemporaryFile(/tmp/multipartBody7330569483930960191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348633759,"filename":"image_05112025_18_03_43_1507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138771","file1":"1402138769","file0":"1402138767","file4":"1402138775","file5":"1402138789","file3":"1402138774"},"map_files_photo_id_array":[{"photo_id":"1402138789","filename":"file5"},{"photo_id":"1402138771","filename":"file2"},{"photo_id":"1402138775","filename":"file4"},{"photo_id":"1402138769","filename":"file1"},{"photo_id":"1402138767","filename":"file0"},{"photo_id":"1402138774","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402138789":["hashtag1","hashtag2"]},{"1402138774":["hashtag1","hashtag2"]},{"1402138771":["hashtag1","hashtag2"]},{"1402138767":["hashtag1","hashtag2"]},{"1402138775":["hashtag1","hashtag2"]},{"1402138769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402138789, 1402138774, 1402138771, 1402138767, 1402138775, 1402138769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23834848403931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:10:12.156455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_51_1766.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_55_1835.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_58_2724.jpg', '/home/pi/Desktop/images/05112025/18/03/image_05112025_18_04_00_2683.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_04_3544.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_18_14366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_51_1766.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_55_1835.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_03_58_2724.jpg
/home/pi/Desktop/images/05112025/18/03/image_05112025_18_04_00_2683.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_04_3544.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_18_14366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402138840","1402138837","1402138831","1402138833","1402138827","1402138829"],"photo_ids_order":["1402138827","1402138829","1402138831","1402138833","1402138837","1402138840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9dc1e660fb6e931c1322fb520698435.jpg","text":"TemporaryFile(/tmp/multipartBody8234354109079006420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348673931,"filename":"image_05112025_18_04_18_14366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0bc5a9cc33a303902eec1fcc70ed3ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8121268898627217193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348673931,"filename":"image_05112025_18_04_04_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/2/f2a7aff26738a3af6b5cea376e32bd05.jpg","text":"TemporaryFile(/tmp/multipartBody3994761217352611995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348673931,"filename":"image_05112025_18_03_58_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/2/caf076cc01badbc838a93c3aa4baa1af.jpg","text":"TemporaryFile(/tmp/multipartBody6508297870172784261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348673931,"filename":"image_05112025_18_04_00_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/2/1bf569cdd5495ee58ec5a0b107dc76ec.jpg","text":"TemporaryFile(/tmp/multipartBody5330491335584850612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348673931,"filename":"image_05112025_18_03_51_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/2/6fcb645a0a81b350b935a3af69470c08.jpg","text":"TemporaryFile(/tmp/multipartBody4193867948015884222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348673931,"filename":"image_05112025_18_03_55_1835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138831","file1":"1402138829","file0":"1402138827","file4":"1402138837","file5":"1402138840","file3":"1402138833"},"map_files_photo_id_array":[{"photo_id":"1402138840","filename":"file5"},{"photo_id":"1402138831","filename":"file2"},{"photo_id":"1402138837","filename":"file4"},{"photo_id":"1402138829","filename":"file1"},{"photo_id":"1402138827","filename":"file0"},{"photo_id":"1402138833","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402138840":["hashtag1","hashtag2"]},{"1402138837":["hashtag1","hashtag2"]},{"1402138831":["hashtag1","hashtag2"]},{"1402138833":["hashtag1","hashtag2"]},{"1402138827":["hashtag1","hashtag2"]},{"1402138829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402138840, 1402138837, 1402138831, 1402138833, 1402138827, 1402138829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76010298728943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:11:02.993110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_55_10728.jpg', '/home/pi/Desktop/images/02012026/10/06/image_02012026_10_07_05_9762.jpg', '/home/pi/Desktop/images/02012026/10/07/image_02012026_10_07_35_10112.jpg', '/home/pi/Desktop/images/02012026/10/07/image_02012026_10_07_45_9788.jpg', '/home/pi/Desktop/images/02012026/10/07/image_02012026_10_07_54_9997.jpg', '/home/pi/Desktop/images/02012026/10/07/image_02012026_10_08_04_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/06/image_02012026_10_06_55_10728.jpg
/home/pi/Desktop/images/02012026/10/06/image_02012026_10_07_05_9762.jpg
/home/pi/Desktop/images/02012026/10/07/image_02012026_10_07_35_10112.jpg
/home/pi/Desktop/images/02012026/10/07/image_02012026_10_07_45_9788.jpg
/home/pi/Desktop/images/02012026/10/07/image_02012026_10_07_54_9997.jpg
/home/pi/Desktop/images/02012026/10/07/image_02012026_10_08_04_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":["1402138972","1402139023","1402138924","1402138878","1402139117","1402139071"],"photo_ids_order":["1402138878","1402138924","1402138972","1402139023","1402139071","1402139117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3bebabed859f0dd9ee2b2c2cc84a50f6.jpg","text":"TemporaryFile(/tmp/multipartBody6463506233632860597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348723712,"filename":"image_02012026_10_07_35_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/2/d81ea93e8d0847d487039a5338a5125e.jpg","text":"TemporaryFile(/tmp/multipartBody4758397377988879807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348723712,"filename":"image_02012026_10_07_45_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/2/68e668d96af6fa4c2047e858cec1c28c.jpg","text":"TemporaryFile(/tmp/multipartBody4318934817173527112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348723712,"filename":"image_02012026_10_07_05_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/2/27313b8e1779fbeb6c1aa305c5ecf9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8558445262906559022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348723712,"filename":"image_02012026_10_06_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/2/b6a4d6849fd500826af5d986765159c9.jpg","text":"TemporaryFile(/tmp/multipartBody6452410872623498905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348723712,"filename":"image_02012026_10_08_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/2/a60417e15e04736373ce5b43b58610ca.jpg","text":"TemporaryFile(/tmp/multipartBody831896752055302283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348723712,"filename":"image_02012026_10_07_54_9997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402138972","file1":"1402138924","file0":"1402138878","file4":"1402139071","file5":"1402139117","file3":"1402139023"},"map_files_photo_id_array":[{"photo_id":"1402139117","filename":"file5"},{"photo_id":"1402138972","filename":"file2"},{"photo_id":"1402139071","filename":"file4"},{"photo_id":"1402138924","filename":"file1"},{"photo_id":"1402138878","filename":"file0"},{"photo_id":"1402139023","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402138972":["hashtag1","hashtag2"]},{"1402139023":["hashtag1","hashtag2"]},{"1402138924":["hashtag1","hashtag2"]},{"1402138878":["hashtag1","hashtag2"]},{"1402139117":["hashtag1","hashtag2"]},{"1402139071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402138972, 1402139023, 1402138924, 1402138878, 1402139117, 1402139071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86575150489807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:11:42.325913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_22_3335.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_23_1579.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_25_1732.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_26_1597.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_28_1660.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_32_1511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_22_3335.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_23_1579.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_25_1732.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_26_1597.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_28_1660.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_32_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":["1402139271","1402139172","1402139241","1402139220","1402139252","1402139240"],"photo_ids_order":["1402139172","1402139220","1402139240","1402139241","1402139252","1402139271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a93d2de76f7e068acc66fe7324ed839f.jpg","text":"TemporaryFile(/tmp/multipartBody2326657183600585735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348764446,"filename":"image_05112025_18_04_32_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/2/00be10e5fd8cd4339fe0df96596c4525.jpg","text":"TemporaryFile(/tmp/multipartBody7768887666244243016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348764446,"filename":"image_05112025_18_04_22_3335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b05b24994e55c50b4c7d5ba4d4ee174.jpg","text":"TemporaryFile(/tmp/multipartBody7815631487404096549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348764446,"filename":"image_05112025_18_04_26_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/2/2dbf22803e4c227bebcfb77a4d9f8aab.jpg","text":"TemporaryFile(/tmp/multipartBody6349178968895473336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348764446,"filename":"image_05112025_18_04_23_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/2/d2df4bcad5f8ce92ef8f4935c0110817.jpg","text":"TemporaryFile(/tmp/multipartBody792210833100139723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348764446,"filename":"image_05112025_18_04_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/2/f81df0ac63c9f52746054b69b2e63d77.jpg","text":"TemporaryFile(/tmp/multipartBody6358337800390527610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348764446,"filename":"image_05112025_18_04_25_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139240","file1":"1402139220","file0":"1402139172","file4":"1402139252","file5":"1402139271","file3":"1402139241"},"map_files_photo_id_array":[{"photo_id":"1402139271","filename":"file5"},{"photo_id":"1402139240","filename":"file2"},{"photo_id":"1402139252","filename":"file4"},{"photo_id":"1402139220","filename":"file1"},{"photo_id":"1402139172","filename":"file0"},{"photo_id":"1402139241","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139271":["hashtag1","hashtag2"]},{"1402139172":["hashtag1","hashtag2"]},{"1402139241":["hashtag1","hashtag2"]},{"1402139220":["hashtag1","hashtag2"]},{"1402139252":["hashtag1","hashtag2"]},{"1402139240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139271, 1402139172, 1402139241, 1402139220, 1402139252, 1402139240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50692701339722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:12:32.527326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_33_1655.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_35_1626.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_36_1523.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_39_2665.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_43_3659.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_45_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_33_1655.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_35_1626.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_36_1523.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_39_2665.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_43_3659.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_45_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":["1402139371","1402139367","1402139370","1402139316","1402139372","1402139354"],"photo_ids_order":["1402139316","1402139354","1402139367","1402139370","1402139371","1402139372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d102403fa8f5034e620fb6a00e36d70.jpg","text":"TemporaryFile(/tmp/multipartBody6404732465459702249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348814687,"filename":"image_05112025_18_04_43_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/2/86486a9e13293e84d2005fafbc6dd6d3.jpg","text":"TemporaryFile(/tmp/multipartBody4695356288330531624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348814687,"filename":"image_05112025_18_04_36_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/2/8276506926b11bab35beb88ba4b95045.jpg","text":"TemporaryFile(/tmp/multipartBody4362600129217148951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348814687,"filename":"image_05112025_18_04_39_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/2/eeb879c84c29f71298760e7e1e0c606a.jpg","text":"TemporaryFile(/tmp/multipartBody3846900516256298205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348814687,"filename":"image_05112025_18_04_33_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/2/e55b8364b8f394a8d6efc3b1775f31cd.jpg","text":"TemporaryFile(/tmp/multipartBody5072292326974262722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348814687,"filename":"image_05112025_18_04_45_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/2/e03730ce51821e4d6831f2d04355b91d.jpg","text":"TemporaryFile(/tmp/multipartBody4784670779550628276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348814687,"filename":"image_05112025_18_04_35_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139367","file1":"1402139354","file0":"1402139316","file4":"1402139371","file5":"1402139372","file3":"1402139370"},"map_files_photo_id_array":[{"photo_id":"1402139372","filename":"file5"},{"photo_id":"1402139367","filename":"file2"},{"photo_id":"1402139371","filename":"file4"},{"photo_id":"1402139354","filename":"file1"},{"photo_id":"1402139316","filename":"file0"},{"photo_id":"1402139370","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139371":["hashtag1","hashtag2"]},{"1402139367":["hashtag1","hashtag2"]},{"1402139370":["hashtag1","hashtag2"]},{"1402139316":["hashtag1","hashtag2"]},{"1402139372":["hashtag1","hashtag2"]},{"1402139354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139371, 1402139367, 1402139370, 1402139316, 1402139372, 1402139354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.149240255355835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:13:22.655437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_14_9795.jpg', '/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_34_9679.jpg', '/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_44_9739.jpg', '/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_55_10652.jpg', '/home/pi/Desktop/images/02012026/10/08/image_02012026_10_09_05_9924.jpg', '/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_14_9795.jpg
/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_34_9679.jpg
/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_44_9739.jpg
/home/pi/Desktop/images/02012026/10/08/image_02012026_10_08_55_10652.jpg
/home/pi/Desktop/images/02012026/10/08/image_02012026_10_09_05_9924.jpg
/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_24_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":["1402139386","1402139379","1402139381","1402139375","1402139383","1402139377"],"photo_ids_order":["1402139375","1402139377","1402139379","1402139381","1402139383","1402139386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83a6ebcd10d688d24211ae0b530e3139.jpg","text":"TemporaryFile(/tmp/multipartBody4406103706123774362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348863271,"filename":"image_02012026_10_09_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/2/cd77c4a6b47a44aef2b429ab6772fe02.jpg","text":"TemporaryFile(/tmp/multipartBody1359022123615420426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348863271,"filename":"image_02012026_10_08_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/2/c96ffc80ace9e334811d1a3b6e306671.jpg","text":"TemporaryFile(/tmp/multipartBody3452824503873570566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348863271,"filename":"image_02012026_10_08_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/2/7847edc95e0f432002cd3af32d1dec47.jpg","text":"TemporaryFile(/tmp/multipartBody8308208279565870234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348863271,"filename":"image_02012026_10_08_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/2/e0e692ff63012d3a171beb6c4b13f5c9.jpg","text":"TemporaryFile(/tmp/multipartBody4336518061213474728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348863271,"filename":"image_02012026_10_09_05_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/2/3720e4e6c79ad59e71a8d2c601825f74.jpg","text":"TemporaryFile(/tmp/multipartBody1988491230391875933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348863271,"filename":"image_02012026_10_08_34_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139379","file1":"1402139377","file0":"1402139375","file4":"1402139383","file5":"1402139386","file3":"1402139381"},"map_files_photo_id_array":[{"photo_id":"1402139386","filename":"file5"},{"photo_id":"1402139379","filename":"file2"},{"photo_id":"1402139383","filename":"file4"},{"photo_id":"1402139377","filename":"file1"},{"photo_id":"1402139375","filename":"file0"},{"photo_id":"1402139381","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139386":["hashtag1","hashtag2"]},{"1402139379":["hashtag1","hashtag2"]},{"1402139381":["hashtag1","hashtag2"]},{"1402139375":["hashtag1","hashtag2"]},{"1402139383":["hashtag1","hashtag2"]},{"1402139377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139386, 1402139379, 1402139381, 1402139375, 1402139383, 1402139377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57381343841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:14:02.610706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_35_10732.jpg', '/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_44_9643.jpg', '/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_55_10540.jpg', '/home/pi/Desktop/images/02012026/10/11/image_02012026_10_11_13_10037.jpg', '/home/pi/Desktop/images/02012026/10/11/image_02012026_10_12_04_9877.jpg', '/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_35_10732.jpg
/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_44_9643.jpg
/home/pi/Desktop/images/02012026/10/09/image_02012026_10_09_55_10540.jpg
/home/pi/Desktop/images/02012026/10/11/image_02012026_10_11_13_10037.jpg
/home/pi/Desktop/images/02012026/10/11/image_02012026_10_12_04_9877.jpg
/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_14_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":["1402139392","1402139401","1402139394","1402139397","1402139399","1402139389"],"photo_ids_order":["1402139389","1402139392","1402139394","1402139397","1402139399","1402139401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/60fc8ba970a3c8a12fc71c5757b4a10f.jpg","text":"TemporaryFile(/tmp/multipartBody4642208006462398273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348903330,"filename":"image_02012026_10_09_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/2/3ac09faa1c0d71bc21d14005a6882df4.jpg","text":"TemporaryFile(/tmp/multipartBody2810486191473535822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348903330,"filename":"image_02012026_10_12_14_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/2/df1f3b16788d75a933296c10d87655ae.jpg","text":"TemporaryFile(/tmp/multipartBody1705817542784373494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348903330,"filename":"image_02012026_10_09_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/2/54b454f0ceb91ee27dc0a15425cec46d.jpg","text":"TemporaryFile(/tmp/multipartBody6204104099290198351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348903330,"filename":"image_02012026_10_11_13_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/2/149be1c412a4676e5ce07251b6fa4470.jpg","text":"TemporaryFile(/tmp/multipartBody6333202797412348625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348903330,"filename":"image_02012026_10_12_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/2/6acc795fa2f2b9619ac38eeb620a7297.jpg","text":"TemporaryFile(/tmp/multipartBody741297124593450783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348903330,"filename":"image_02012026_10_09_35_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139394","file1":"1402139392","file0":"1402139389","file4":"1402139399","file5":"1402139401","file3":"1402139397"},"map_files_photo_id_array":[{"photo_id":"1402139401","filename":"file5"},{"photo_id":"1402139394","filename":"file2"},{"photo_id":"1402139399","filename":"file4"},{"photo_id":"1402139392","filename":"file1"},{"photo_id":"1402139389","filename":"file0"},{"photo_id":"1402139397","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139392":["hashtag1","hashtag2"]},{"1402139401":["hashtag1","hashtag2"]},{"1402139394":["hashtag1","hashtag2"]},{"1402139397":["hashtag1","hashtag2"]},{"1402139399":["hashtag1","hashtag2"]},{"1402139389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139392, 1402139401, 1402139394, 1402139397, 1402139399, 1402139389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95022368431091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:14:41.972409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_48_2845.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_52_3744.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_55_2833.jpg', '/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_57_2760.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_01_3834.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_03_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_48_2845.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_52_3744.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_55_2833.jpg
/home/pi/Desktop/images/05112025/18/04/image_05112025_18_04_57_2760.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_01_3834.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_03_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":["1402139458","1402139460","1402139418","1402139462","1402139456","1402139414"],"photo_ids_order":["1402139414","1402139418","1402139456","1402139458","1402139460","1402139462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cdd06025792546f2b011e8c357e1e179.jpg","text":"TemporaryFile(/tmp/multipartBody5686709312983931295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348943824,"filename":"image_05112025_18_04_57_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/2/afa80b35a991c1cdb7a3821aa60a9488.jpg","text":"TemporaryFile(/tmp/multipartBody2955619589039756653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348943824,"filename":"image_05112025_18_05_01_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4967d91136e6ffaac30eb12b0b35b874.jpg","text":"TemporaryFile(/tmp/multipartBody1313456392640380686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348943824,"filename":"image_05112025_18_04_52_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5060a299d61d78964395733d3a7373db.jpg","text":"TemporaryFile(/tmp/multipartBody5864068068846568237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348943824,"filename":"image_05112025_18_05_03_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/2/7407348027184c87aeca572431d697c0.jpg","text":"TemporaryFile(/tmp/multipartBody6841218163139355070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348943824,"filename":"image_05112025_18_04_55_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/2/3128bfdc75af6f0197cb76ec935ee669.jpg","text":"TemporaryFile(/tmp/multipartBody3808459330371636989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348943824,"filename":"image_05112025_18_04_48_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139456","file1":"1402139418","file0":"1402139414","file4":"1402139460","file5":"1402139462","file3":"1402139458"},"map_files_photo_id_array":[{"photo_id":"1402139462","filename":"file5"},{"photo_id":"1402139456","filename":"file2"},{"photo_id":"1402139460","filename":"file4"},{"photo_id":"1402139418","filename":"file1"},{"photo_id":"1402139414","filename":"file0"},{"photo_id":"1402139458","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139458":["hashtag1","hashtag2"]},{"1402139460":["hashtag1","hashtag2"]},{"1402139418":["hashtag1","hashtag2"]},{"1402139462":["hashtag1","hashtag2"]},{"1402139456":["hashtag1","hashtag2"]},{"1402139414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139458, 1402139460, 1402139418, 1402139462, 1402139456, 1402139414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83941721916199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:15:32.149443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_07_3754.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_09_2730.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_12_2648.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_15_2722.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_19_3790.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_21_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_07_3754.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_09_2730.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_12_2648.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_15_2722.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_19_3790.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_21_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":["1402139479","1402139466","1402139475","1402139478","1402139471","1402139468"],"photo_ids_order":["1402139466","1402139468","1402139471","1402139475","1402139478","1402139479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2ca239b5b2a9fef9f0fa5146274eea5.jpg","text":"TemporaryFile(/tmp/multipartBody3349938064850572224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348994011,"filename":"image_05112025_18_05_21_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/2/82008bfd4a249e68d3218d88120cde0d.jpg","text":"TemporaryFile(/tmp/multipartBody8027462428962903061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348994011,"filename":"image_05112025_18_05_07_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/2/34906bb7df7823548e33e116e15f1370.jpg","text":"TemporaryFile(/tmp/multipartBody9212661591893762154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348994011,"filename":"image_05112025_18_05_15_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/2/fc09798d91743b2401aaa4c6a21c6f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7793969176734396442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348994011,"filename":"image_05112025_18_05_19_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/2/6ea56439559eb68d89712a50e6a8847c.jpg","text":"TemporaryFile(/tmp/multipartBody4725323838549032335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348994011,"filename":"image_05112025_18_05_12_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/2/fca2f7c092a8faa5cc04b5a121a751ca.jpg","text":"TemporaryFile(/tmp/multipartBody1142243170551288663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767348994011,"filename":"image_05112025_18_05_09_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139471","file1":"1402139468","file0":"1402139466","file4":"1402139478","file5":"1402139479","file3":"1402139475"},"map_files_photo_id_array":[{"photo_id":"1402139479","filename":"file5"},{"photo_id":"1402139471","filename":"file2"},{"photo_id":"1402139478","filename":"file4"},{"photo_id":"1402139468","filename":"file1"},{"photo_id":"1402139466","filename":"file0"},{"photo_id":"1402139475","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139479":["hashtag1","hashtag2"]},{"1402139466":["hashtag1","hashtag2"]},{"1402139475":["hashtag1","hashtag2"]},{"1402139478":["hashtag1","hashtag2"]},{"1402139471":["hashtag1","hashtag2"]},{"1402139468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139479, 1402139466, 1402139475, 1402139478, 1402139471, 1402139468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75473594665527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:16:22.444213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_24_9627.jpg', '/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_34_10653.jpg', '/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_44_9726.jpg', '/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_54_10290.jpg', '/home/pi/Desktop/images/02012026/10/12/image_02012026_10_13_04_9548.jpg', '/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_14_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_24_9627.jpg
/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_34_10653.jpg
/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_44_9726.jpg
/home/pi/Desktop/images/02012026/10/12/image_02012026_10_12_54_10290.jpg
/home/pi/Desktop/images/02012026/10/12/image_02012026_10_13_04_9548.jpg
/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_14_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":["1402139490","1402139484","1402139492","1402139486","1402139488","1402139482"],"photo_ids_order":["1402139482","1402139484","1402139486","1402139488","1402139490","1402139492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfbed062d2adeaf3ed94ad8b7cc58562.jpg","text":"TemporaryFile(/tmp/multipartBody8741786332030259126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349043045,"filename":"image_02012026_10_13_04_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/2/d78616eef4fb02c6567e151e73b48fec.jpg","text":"TemporaryFile(/tmp/multipartBody5155722573104819982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349043045,"filename":"image_02012026_10_12_34_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/2/df0e4f5e6ac505f1bf2b185d49ccf95a.jpg","text":"TemporaryFile(/tmp/multipartBody7047254448614924416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349043045,"filename":"image_02012026_10_13_14_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/2/ff5d6d4dca7aa6cee10e8a230607628f.jpg","text":"TemporaryFile(/tmp/multipartBody5576867553684307819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349043045,"filename":"image_02012026_10_12_44_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/2/5d1a04745076c89b4b6763bc5effc8a6.jpg","text":"TemporaryFile(/tmp/multipartBody1888110663649336971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349043045,"filename":"image_02012026_10_12_54_10290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e1682e5a1dbda2aa18f8e9f3caed1d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4775748553150005375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349043045,"filename":"image_02012026_10_12_24_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139486","file1":"1402139484","file0":"1402139482","file4":"1402139490","file5":"1402139492","file3":"1402139488"},"map_files_photo_id_array":[{"photo_id":"1402139492","filename":"file5"},{"photo_id":"1402139486","filename":"file2"},{"photo_id":"1402139490","filename":"file4"},{"photo_id":"1402139484","filename":"file1"},{"photo_id":"1402139482","filename":"file0"},{"photo_id":"1402139488","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139490":["hashtag1","hashtag2"]},{"1402139484":["hashtag1","hashtag2"]},{"1402139492":["hashtag1","hashtag2"]},{"1402139486":["hashtag1","hashtag2"]},{"1402139488":["hashtag1","hashtag2"]},{"1402139482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139490, 1402139484, 1402139492, 1402139486, 1402139488, 1402139482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43217873573303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:17:03.196797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_24_9366.jpg', '/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_34_9743.jpg', '/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_44_10714.jpg', '/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_54_9726.jpg', '/home/pi/Desktop/images/02012026/10/13/image_02012026_10_14_04_9623.jpg', '/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_14_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_24_9366.jpg
/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_34_9743.jpg
/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_44_10714.jpg
/home/pi/Desktop/images/02012026/10/13/image_02012026_10_13_54_9726.jpg
/home/pi/Desktop/images/02012026/10/13/image_02012026_10_14_04_9623.jpg
/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_14_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":["1402139499","1402139502","1402139505","1402139508","1402139504","1402139507"],"photo_ids_order":["1402139499","1402139502","1402139504","1402139505","1402139507","1402139508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/672d7883dc9f4c9c06d38c3c47a58119.jpg","text":"TemporaryFile(/tmp/multipartBody1040392387005877619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349083878,"filename":"image_02012026_10_13_24_9366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5bae6158440b8c30598979491a9ff57b.jpg","text":"TemporaryFile(/tmp/multipartBody6541792691611393422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349083878,"filename":"image_02012026_10_13_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/2/e0fa3ba7a2d0e8d3c2cebcc53e5f3d68.jpg","text":"TemporaryFile(/tmp/multipartBody8828798041302174993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349083878,"filename":"image_02012026_10_13_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/2/b3738f287d176fc0353294b4ae60ef81.jpg","text":"TemporaryFile(/tmp/multipartBody877695343954661870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349083878,"filename":"image_02012026_10_14_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/2/54a457d72c15434e51f3b24ae51e87b3.jpg","text":"TemporaryFile(/tmp/multipartBody6602802632085406068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349083878,"filename":"image_02012026_10_13_44_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/2/bd1b363c877d10f395443b11db86bb37.jpg","text":"TemporaryFile(/tmp/multipartBody5556674750995944126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349083878,"filename":"image_02012026_10_14_04_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139504","file1":"1402139502","file0":"1402139499","file4":"1402139507","file5":"1402139508","file3":"1402139505"},"map_files_photo_id_array":[{"photo_id":"1402139508","filename":"file5"},{"photo_id":"1402139504","filename":"file2"},{"photo_id":"1402139507","filename":"file4"},{"photo_id":"1402139502","filename":"file1"},{"photo_id":"1402139499","filename":"file0"},{"photo_id":"1402139505","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139499":["hashtag1","hashtag2"]},{"1402139502":["hashtag1","hashtag2"]},{"1402139505":["hashtag1","hashtag2"]},{"1402139508":["hashtag1","hashtag2"]},{"1402139504":["hashtag1","hashtag2"]},{"1402139507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139499, 1402139502, 1402139505, 1402139508, 1402139504, 1402139507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.051462173461914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:17:42.601759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_24_2653.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_28_3522.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_30_2495.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_34_3633.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_36_2506.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_39_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_24_2653.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_28_3522.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_30_2495.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_34_3633.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_36_2506.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_39_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":["1402139542","1402139512","1402139515","1402139541","1402139544","1402139543"],"photo_ids_order":["1402139512","1402139515","1402139541","1402139542","1402139543","1402139544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c3f8c341b452ccc7e8c53656a54bddb9.jpg","text":"TemporaryFile(/tmp/multipartBody1676763689470987101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349124475,"filename":"image_05112025_18_05_34_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/2/d691ff39f69a7b3a70ad2bd06549ba98.jpg","text":"TemporaryFile(/tmp/multipartBody461269903044071632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349124475,"filename":"image_05112025_18_05_24_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/2/2ee13d101e1a19d72fd3dd315151b641.jpg","text":"TemporaryFile(/tmp/multipartBody2624523587133084892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349124475,"filename":"image_05112025_18_05_28_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/2/e54720e8b05f4e47dfd67af8ed9189ec.jpg","text":"TemporaryFile(/tmp/multipartBody6251263864311076494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349124475,"filename":"image_05112025_18_05_30_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eafc99938a171ecb89efea28a7b22a38.jpg","text":"TemporaryFile(/tmp/multipartBody6706711592411824660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349124475,"filename":"image_05112025_18_05_39_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/2/56cc4ab262d1371236ccc46a4032837f.jpg","text":"TemporaryFile(/tmp/multipartBody8696886720616238400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349124475,"filename":"image_05112025_18_05_36_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139541","file1":"1402139515","file0":"1402139512","file4":"1402139543","file5":"1402139544","file3":"1402139542"},"map_files_photo_id_array":[{"photo_id":"1402139544","filename":"file5"},{"photo_id":"1402139541","filename":"file2"},{"photo_id":"1402139543","filename":"file4"},{"photo_id":"1402139515","filename":"file1"},{"photo_id":"1402139512","filename":"file0"},{"photo_id":"1402139542","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139542":["hashtag1","hashtag2"]},{"1402139512":["hashtag1","hashtag2"]},{"1402139515":["hashtag1","hashtag2"]},{"1402139541":["hashtag1","hashtag2"]},{"1402139544":["hashtag1","hashtag2"]},{"1402139543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139542, 1402139512, 1402139515, 1402139541, 1402139544, 1402139543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.858214139938354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:18:22.776451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_24_9717.jpg', '/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_34_9878.jpg', '/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_44_9685.jpg', '/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_54_10757.jpg', '/home/pi/Desktop/images/02012026/10/16/image_02012026_10_16_14_10037.jpg', '/home/pi/Desktop/images/02012026/10/16/image_02012026_10_16_24_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_24_9717.jpg
/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_34_9878.jpg
/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_44_9685.jpg
/home/pi/Desktop/images/02012026/10/14/image_02012026_10_14_54_10757.jpg
/home/pi/Desktop/images/02012026/10/16/image_02012026_10_16_14_10037.jpg
/home/pi/Desktop/images/02012026/10/16/image_02012026_10_16_24_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402139557","1402139551","1402139556","1402139559","1402139561","1402139554"],"photo_ids_order":["1402139551","1402139554","1402139556","1402139557","1402139559","1402139561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/69e9b7f459cc50ea841745f4e7f3e97e.jpg","text":"TemporaryFile(/tmp/multipartBody6279839419804834371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349163389,"filename":"image_02012026_10_14_54_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/2/c3a7316e1a3aa7fab487a4d619cc8f48.jpg","text":"TemporaryFile(/tmp/multipartBody4820238419268022723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349163389,"filename":"image_02012026_10_14_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/2/425456c06f0e95a2bb90ad3b1e9c3a32.jpg","text":"TemporaryFile(/tmp/multipartBody7496144550119944246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349163389,"filename":"image_02012026_10_14_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/2/48aa83236e967268e16252f0a0b0c2de.jpg","text":"TemporaryFile(/tmp/multipartBody6918987397039847191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349163389,"filename":"image_02012026_10_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/2/d1465a33b6317fb4f1eeaf5a7ec453b0.jpg","text":"TemporaryFile(/tmp/multipartBody7219506595264225608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349163389,"filename":"image_02012026_10_16_24_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/2/6a8b8d9c3d9f8a5bbf25c3af39aa8adc.jpg","text":"TemporaryFile(/tmp/multipartBody4808500556454838294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349163389,"filename":"image_02012026_10_14_34_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139556","file1":"1402139554","file0":"1402139551","file4":"1402139559","file5":"1402139561","file3":"1402139557"},"map_files_photo_id_array":[{"photo_id":"1402139561","filename":"file5"},{"photo_id":"1402139556","filename":"file2"},{"photo_id":"1402139559","filename":"file4"},{"photo_id":"1402139554","filename":"file1"},{"photo_id":"1402139551","filename":"file0"},{"photo_id":"1402139557","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139557":["hashtag1","hashtag2"]},{"1402139551":["hashtag1","hashtag2"]},{"1402139556":["hashtag1","hashtag2"]},{"1402139559":["hashtag1","hashtag2"]},{"1402139561":["hashtag1","hashtag2"]},{"1402139554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139557, 1402139551, 1402139556, 1402139559, 1402139561, 1402139554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91068696975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:19:02.937507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/16/image_02012026_10_16_54_9653.jpg', '/home/pi/Desktop/images/02012026/10/16/image_02012026_10_17_04_9768.jpg', '/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_14_9763.jpg', '/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_24_10544.jpg', '/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_44_9759.jpg', '/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_54_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/16/image_02012026_10_16_54_9653.jpg
/home/pi/Desktop/images/02012026/10/16/image_02012026_10_17_04_9768.jpg
/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_14_9763.jpg
/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_24_10544.jpg
/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_44_9759.jpg
/home/pi/Desktop/images/02012026/10/17/image_02012026_10_17_54_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":["1402139563","1402139568","1402139577","1402139562","1402139573","1402139581"],"photo_ids_order":["1402139562","1402139563","1402139568","1402139573","1402139577","1402139581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7519f25693fb4994829b20a43cdc0b68.jpg","text":"TemporaryFile(/tmp/multipartBody2517127612476589325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349203701,"filename":"image_02012026_10_17_04_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/2/75d7ff502b31fa117fd618ccf92ee173.jpg","text":"TemporaryFile(/tmp/multipartBody6839264183670308614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349203701,"filename":"image_02012026_10_17_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/2/1415b1c3071380533781dbe858a33084.jpg","text":"TemporaryFile(/tmp/multipartBody1087046091727855765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349203701,"filename":"image_02012026_10_17_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/2/dc823a4a29e520b8e2a7d6846cdd4150.jpg","text":"TemporaryFile(/tmp/multipartBody7518477076484409271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349203701,"filename":"image_02012026_10_16_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/2/3ff24250244b9acc7313be9b7766e760.jpg","text":"TemporaryFile(/tmp/multipartBody6924263168252118103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349203701,"filename":"image_02012026_10_17_24_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/2/a3bf968cb649c2ae83cd37d2011c43a0.jpg","text":"TemporaryFile(/tmp/multipartBody4175586309926884073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349203701,"filename":"image_02012026_10_17_54_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139568","file1":"1402139563","file0":"1402139562","file4":"1402139577","file5":"1402139581","file3":"1402139573"},"map_files_photo_id_array":[{"photo_id":"1402139581","filename":"file5"},{"photo_id":"1402139568","filename":"file2"},{"photo_id":"1402139577","filename":"file4"},{"photo_id":"1402139563","filename":"file1"},{"photo_id":"1402139562","filename":"file0"},{"photo_id":"1402139573","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139563":["hashtag1","hashtag2"]},{"1402139568":["hashtag1","hashtag2"]},{"1402139577":["hashtag1","hashtag2"]},{"1402139562":["hashtag1","hashtag2"]},{"1402139573":["hashtag1","hashtag2"]},{"1402139581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139563, 1402139568, 1402139577, 1402139562, 1402139573, 1402139581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1185564994812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:19:41.905892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_43_3639.jpg', '/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_45_2528.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_01_15955.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_10_9096.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_13_2878.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_15_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_43_3639.jpg
/home/pi/Desktop/images/05112025/18/05/image_05112025_18_05_45_2528.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_01_15955.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_10_9096.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_13_2878.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_15_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402139592","1402139589","1402139594","1402139588","1402139591","1402139593"],"photo_ids_order":["1402139588","1402139589","1402139591","1402139592","1402139593","1402139594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/31af51a00eae74583d06f73e9ec5bd14.jpg","text":"TemporaryFile(/tmp/multipartBody4180821589752703195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349243760,"filename":"image_05112025_18_06_10_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/2/68d1e7bb2f974b407d20045062de12c2.jpg","text":"TemporaryFile(/tmp/multipartBody2689762230151237294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349243760,"filename":"image_05112025_18_05_45_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/2/c006a74d622e157016c1267e5edc858a.jpg","text":"TemporaryFile(/tmp/multipartBody3968477516006905966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349243760,"filename":"image_05112025_18_06_15_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/2/730de4d085862390acb1d5c76f1c76a9.jpg","text":"TemporaryFile(/tmp/multipartBody1579758035061830896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349243760,"filename":"image_05112025_18_05_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/2/00c211c2744d1b617a30d99c1d6fc005.jpg","text":"TemporaryFile(/tmp/multipartBody6524513849043999215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349243760,"filename":"image_05112025_18_06_01_15955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/585b30806f1bc41637eb9981df13ec38.jpg","text":"TemporaryFile(/tmp/multipartBody7249639215467008141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349243760,"filename":"image_05112025_18_06_13_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139591","file1":"1402139589","file0":"1402139588","file4":"1402139593","file5":"1402139594","file3":"1402139592"},"map_files_photo_id_array":[{"photo_id":"1402139594","filename":"file5"},{"photo_id":"1402139591","filename":"file2"},{"photo_id":"1402139593","filename":"file4"},{"photo_id":"1402139589","filename":"file1"},{"photo_id":"1402139588","filename":"file0"},{"photo_id":"1402139592","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139592":["hashtag1","hashtag2"]},{"1402139589":["hashtag1","hashtag2"]},{"1402139594":["hashtag1","hashtag2"]},{"1402139588":["hashtag1","hashtag2"]},{"1402139591":["hashtag1","hashtag2"]},{"1402139593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139592, 1402139589, 1402139594, 1402139588, 1402139591, 1402139593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.662726402282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:20:36.189007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_16_1736.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_25_8093.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_28_1576.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_30_1757.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_31_1741.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_36_4755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_16_1736.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_25_8093.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_28_1576.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_30_1757.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_31_1741.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_36_4755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402139629","1402139602","1402139628","1402139616","1402139625","1402139600"],"photo_ids_order":["1402139600","1402139602","1402139616","1402139625","1402139628","1402139629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7f994a1e33fe6120e3f91c9b1c31e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4067411601840664783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349298051,"filename":"image_05112025_18_06_36_4755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d771c7e3926e246b3c01477f5d9bfc4a.jpg","text":"TemporaryFile(/tmp/multipartBody4117582778401152980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349298051,"filename":"image_05112025_18_06_25_8093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da26468731e3d593350696380337637f.jpg","text":"TemporaryFile(/tmp/multipartBody1681606207930996397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349298051,"filename":"image_05112025_18_06_31_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/2/b359f7147d467f44991dc2e49ea1bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody8820279485109291252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349298051,"filename":"image_05112025_18_06_28_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/2/e16d32bee87cd2d43a517f0c6e3f5f35.jpg","text":"TemporaryFile(/tmp/multipartBody7184086680341195002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349298051,"filename":"image_05112025_18_06_30_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/2/577e8f13b31334e86b722b359a0c902e.jpg","text":"TemporaryFile(/tmp/multipartBody6425809415650211854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349298051,"filename":"image_05112025_18_06_16_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139616","file1":"1402139602","file0":"1402139600","file4":"1402139628","file5":"1402139629","file3":"1402139625"},"map_files_photo_id_array":[{"photo_id":"1402139629","filename":"file5"},{"photo_id":"1402139616","filename":"file2"},{"photo_id":"1402139628","filename":"file4"},{"photo_id":"1402139602","filename":"file1"},{"photo_id":"1402139600","filename":"file0"},{"photo_id":"1402139625","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402139629":["hashtag1","hashtag2"]},{"1402139602":["hashtag1","hashtag2"]},{"1402139628":["hashtag1","hashtag2"]},{"1402139616":["hashtag1","hashtag2"]},{"1402139625":["hashtag1","hashtag2"]},{"1402139600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402139629, 1402139602, 1402139628, 1402139616, 1402139625, 1402139600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74163508415222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:21:22.341436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/17/image_02012026_10_18_04_9804.jpg', '/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_25_10659.jpg', '/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_34_9722.jpg', '/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_44_9596.jpg', '/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_55_10722.jpg', '/home/pi/Desktop/images/02012026/10/18/image_02012026_10_19_04_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/17/image_02012026_10_18_04_9804.jpg
/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_25_10659.jpg
/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_34_9722.jpg
/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_44_9596.jpg
/home/pi/Desktop/images/02012026/10/18/image_02012026_10_18_55_10722.jpg
/home/pi/Desktop/images/02012026/10/18/image_02012026_10_19_04_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402139641","1402139722","1402139716","1402139719","1402139639","1402139714"],"photo_ids_order":["1402139639","1402139641","1402139714","1402139716","1402139719","1402139722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8cfeac27684a865d8a76e91320e4125.jpg","text":"TemporaryFile(/tmp/multipartBody710977447190845849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349342991,"filename":"image_02012026_10_18_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/2/820b20a3cfb8b4b6e1992ba3afa2727f.jpg","text":"TemporaryFile(/tmp/multipartBody7442750113572093793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349342991,"filename":"image_02012026_10_19_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/2/5f1798a2318e62edcaa34f9e17a149a3.jpg","text":"TemporaryFile(/tmp/multipartBody822909090137693483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349342991,"filename":"image_02012026_10_18_44_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/2/a7f0b363cdad54e659f55a5892b3f810.jpg","text":"TemporaryFile(/tmp/multipartBody6828653408209755843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349342991,"filename":"image_02012026_10_18_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/2/8067103c89394fb77818b6365e91ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody6723865862323403720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349342991,"filename":"image_02012026_10_18_04_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/2/62da39762c8ed5ed43ae7eb6702ea15a.jpg","text":"TemporaryFile(/tmp/multipartBody5185328296351273455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349342991,"filename":"image_02012026_10_18_34_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139714","file1":"1402139641","file0":"1402139639","file4":"1402139719","file5":"1402139722","file3":"1402139716"},"map_files_photo_id_array":[{"photo_id":"1402139722","filename":"file5"},{"photo_id":"1402139714","filename":"file2"},{"photo_id":"1402139719","filename":"file4"},{"photo_id":"1402139641","filename":"file1"},{"photo_id":"1402139639","filename":"file0"},{"photo_id":"1402139716","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139641":["hashtag1","hashtag2"]},{"1402139722":["hashtag1","hashtag2"]},{"1402139716":["hashtag1","hashtag2"]},{"1402139719":["hashtag1","hashtag2"]},{"1402139639":["hashtag1","hashtag2"]},{"1402139714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139641, 1402139722, 1402139716, 1402139719, 1402139639, 1402139714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.104493618011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:22:03.061374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/19/image_02012026_10_19_24_9663.jpg', '/home/pi/Desktop/images/02012026/10/19/image_02012026_10_19_44_9690.jpg', '/home/pi/Desktop/images/02012026/10/20/image_02012026_10_20_55_10557.jpg', '/home/pi/Desktop/images/02012026/10/20/image_02012026_10_21_05_9722.jpg', '/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_14_9694.jpg', '/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_25_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/19/image_02012026_10_19_24_9663.jpg
/home/pi/Desktop/images/02012026/10/19/image_02012026_10_19_44_9690.jpg
/home/pi/Desktop/images/02012026/10/20/image_02012026_10_20_55_10557.jpg
/home/pi/Desktop/images/02012026/10/20/image_02012026_10_21_05_9722.jpg
/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_14_9694.jpg
/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_25_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":["1402139758","1402139844","1402139838","1402139769","1402139768","1402139849"],"photo_ids_order":["1402139758","1402139768","1402139769","1402139838","1402139844","1402139849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c9cc3641ca8dac2527ce4efe531fce1.jpg","text":"TemporaryFile(/tmp/multipartBody4242926338983671407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349383697,"filename":"image_02012026_10_19_24_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/2/e242a6b05aef1c0cf850acb61c101247.jpg","text":"TemporaryFile(/tmp/multipartBody8613616246552760822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349383697,"filename":"image_02012026_10_21_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/2/21ab5cf6807dce0c43f533ed2738ac58.jpg","text":"TemporaryFile(/tmp/multipartBody6841691429614810307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349383697,"filename":"image_02012026_10_21_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/2/550b63a69d40897043c2bb963220c11e.jpg","text":"TemporaryFile(/tmp/multipartBody1751282285326929146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349383697,"filename":"image_02012026_10_20_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/2/af0dc1a7d2141c09d7c66e8dc27b87d9.jpg","text":"TemporaryFile(/tmp/multipartBody2756547603833959810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349383697,"filename":"image_02012026_10_19_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/2/bb8e243378aea2717960a71c821c79d9.jpg","text":"TemporaryFile(/tmp/multipartBody7534398015619135039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349383697,"filename":"image_02012026_10_21_25_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139769","file1":"1402139768","file0":"1402139758","file4":"1402139844","file5":"1402139849","file3":"1402139838"},"map_files_photo_id_array":[{"photo_id":"1402139849","filename":"file5"},{"photo_id":"1402139769","filename":"file2"},{"photo_id":"1402139844","filename":"file4"},{"photo_id":"1402139768","filename":"file1"},{"photo_id":"1402139758","filename":"file0"},{"photo_id":"1402139838","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402139758":["hashtag1","hashtag2"]},{"1402139844":["hashtag1","hashtag2"]},{"1402139838":["hashtag1","hashtag2"]},{"1402139769":["hashtag1","hashtag2"]},{"1402139768":["hashtag1","hashtag2"]},{"1402139849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402139758, 1402139844, 1402139838, 1402139769, 1402139768, 1402139849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56104516983032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:22:42.583809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_40_1784.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_41_1639.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_43_1582.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_44_1607.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_46_1671.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_48_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_40_1784.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_41_1639.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_43_1582.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_44_1607.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_46_1671.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_48_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140002","1402139944","1402139984","1402139996","1402140000","1402139971"],"photo_ids_order":["1402139944","1402139971","1402139984","1402139996","1402140000","1402140002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a82a10c4431080aa7fd8c16a70d85b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2077896033401268220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349424478,"filename":"image_05112025_18_06_48_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/2/b70fd82c4fdacd10133b1020d4415ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8520142236044942994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349424478,"filename":"image_05112025_18_06_40_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/2/1b9c640015d1381ae06ccc8c5324dd6d.jpg","text":"TemporaryFile(/tmp/multipartBody2786522837564468625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349424478,"filename":"image_05112025_18_06_43_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/2/75da32237ad51be3617b8b91ac00b062.jpg","text":"TemporaryFile(/tmp/multipartBody4106286267118864032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349424478,"filename":"image_05112025_18_06_44_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/2/dd0ed8d04bb6b5e3f30dda3510e1a05a.jpg","text":"TemporaryFile(/tmp/multipartBody7461701448459675142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349424478,"filename":"image_05112025_18_06_46_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/2/fb1a120b6eb7d41474869f343fc4af5c.jpg","text":"TemporaryFile(/tmp/multipartBody3706154064486460621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349424478,"filename":"image_05112025_18_06_41_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402139984","file1":"1402139971","file0":"1402139944","file4":"1402140000","file5":"1402140002","file3":"1402139996"},"map_files_photo_id_array":[{"photo_id":"1402140002","filename":"file5"},{"photo_id":"1402139984","filename":"file2"},{"photo_id":"1402140000","filename":"file4"},{"photo_id":"1402139971","filename":"file1"},{"photo_id":"1402139944","filename":"file0"},{"photo_id":"1402139996","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140002":["hashtag1","hashtag2"]},{"1402139944":["hashtag1","hashtag2"]},{"1402139984":["hashtag1","hashtag2"]},{"1402139996":["hashtag1","hashtag2"]},{"1402140000":["hashtag1","hashtag2"]},{"1402139971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140002, 1402139944, 1402139984, 1402139996, 1402140000, 1402139971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5272274017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:23:22.877560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_35_9566.jpg', '/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_44_9677.jpg', '/home/pi/Desktop/images/02012026/10/22/image_02012026_10_22_14_9666.jpg', '/home/pi/Desktop/images/02012026/10/22/image_02012026_10_22_25_10760.jpg', '/home/pi/Desktop/images/02012026/10/23/image_02012026_10_23_15_10682.jpg', '/home/pi/Desktop/images/02012026/10/23/image_02012026_10_23_25_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_35_9566.jpg
/home/pi/Desktop/images/02012026/10/21/image_02012026_10_21_44_9677.jpg
/home/pi/Desktop/images/02012026/10/22/image_02012026_10_22_14_9666.jpg
/home/pi/Desktop/images/02012026/10/22/image_02012026_10_22_25_10760.jpg
/home/pi/Desktop/images/02012026/10/23/image_02012026_10_23_15_10682.jpg
/home/pi/Desktop/images/02012026/10/23/image_02012026_10_23_25_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140047","1402140055","1402140060","1402140072","1402140051","1402140044"],"photo_ids_order":["1402140044","1402140047","1402140051","1402140055","1402140060","1402140072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26569b4a5888b3030239e81543dd5aac.jpg","text":"TemporaryFile(/tmp/multipartBody2163679564663241316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349463482,"filename":"image_02012026_10_21_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/2/cd9c197a1b1424e8abce2a1ff703548e.jpg","text":"TemporaryFile(/tmp/multipartBody6914369948505864194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349463482,"filename":"image_02012026_10_22_25_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/2/27dfe7351404b0209908e61c2899a9f6.jpg","text":"TemporaryFile(/tmp/multipartBody9205502037317342517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349463482,"filename":"image_02012026_10_23_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/2/8a1dc029323da6b46c3df0d573d3b887.jpg","text":"TemporaryFile(/tmp/multipartBody1519009098281154242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349463482,"filename":"image_02012026_10_23_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/2/5d970397e356fc14419f17715c1e8277.jpg","text":"TemporaryFile(/tmp/multipartBody1147403802116295181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349463482,"filename":"image_02012026_10_22_14_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/2/d849260da5a784ff679c0e816e9684db.jpg","text":"TemporaryFile(/tmp/multipartBody9119929050590634208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349463482,"filename":"image_02012026_10_21_35_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140051","file1":"1402140047","file0":"1402140044","file4":"1402140060","file5":"1402140072","file3":"1402140055"},"map_files_photo_id_array":[{"photo_id":"1402140072","filename":"file5"},{"photo_id":"1402140051","filename":"file2"},{"photo_id":"1402140060","filename":"file4"},{"photo_id":"1402140047","filename":"file1"},{"photo_id":"1402140044","filename":"file0"},{"photo_id":"1402140055","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140047":["hashtag1","hashtag2"]},{"1402140055":["hashtag1","hashtag2"]},{"1402140060":["hashtag1","hashtag2"]},{"1402140072":["hashtag1","hashtag2"]},{"1402140051":["hashtag1","hashtag2"]},{"1402140044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140047, 1402140055, 1402140060, 1402140072, 1402140051, 1402140044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.726765871047974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:24:02.616698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_25_10786.jpg', '/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_35_9755.jpg', '/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_45_9719.jpg', '/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_54_9788.jpg', '/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_13_10061.jpg', '/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_24_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_25_10786.jpg
/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_35_9755.jpg
/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_45_9719.jpg
/home/pi/Desktop/images/02012026/10/24/image_02012026_10_24_54_9788.jpg
/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_13_10061.jpg
/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_24_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140076","1402140079","1402140081","1402140075","1402140078","1402140077"],"photo_ids_order":["1402140075","1402140076","1402140077","1402140078","1402140079","1402140081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82aedf305577f6c4c9ceae6bbd8a2d70.jpg","text":"TemporaryFile(/tmp/multipartBody1841132626664952804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349503328,"filename":"image_02012026_10_24_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/2/cbcc14f701af3b1f5759268418c1b87f.jpg","text":"TemporaryFile(/tmp/multipartBody5147542448116153031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349503328,"filename":"image_02012026_10_25_13_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/2/599139c4018abf02234fbcef1f9fa382.jpg","text":"TemporaryFile(/tmp/multipartBody4642781501594636802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349503328,"filename":"image_02012026_10_25_24_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/2/ca69a90501b6abfb067ccfbabd61a862.jpg","text":"TemporaryFile(/tmp/multipartBody2872172432252703400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349503328,"filename":"image_02012026_10_24_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/2/6e9a3ec36763be9c891f822007dc1ad3.jpg","text":"TemporaryFile(/tmp/multipartBody700985305309101648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349503328,"filename":"image_02012026_10_24_54_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/2/acef9290b0308385912314befc59c99b.jpg","text":"TemporaryFile(/tmp/multipartBody3137375879128890024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349503328,"filename":"image_02012026_10_24_45_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140077","file1":"1402140076","file0":"1402140075","file4":"1402140079","file5":"1402140081","file3":"1402140078"},"map_files_photo_id_array":[{"photo_id":"1402140081","filename":"file5"},{"photo_id":"1402140077","filename":"file2"},{"photo_id":"1402140079","filename":"file4"},{"photo_id":"1402140076","filename":"file1"},{"photo_id":"1402140075","filename":"file0"},{"photo_id":"1402140078","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140076":["hashtag1","hashtag2"]},{"1402140079":["hashtag1","hashtag2"]},{"1402140081":["hashtag1","hashtag2"]},{"1402140075":["hashtag1","hashtag2"]},{"1402140078":["hashtag1","hashtag2"]},{"1402140077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140076, 1402140079, 1402140081, 1402140075, 1402140078, 1402140077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.700490951538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:24:41.930049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_51_1564.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_53_1689.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_54_1624.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_56_1795.jpg', '/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_58_1620.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_01_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_51_1564.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_53_1689.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_54_1624.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_56_1795.jpg
/home/pi/Desktop/images/05112025/18/06/image_05112025_18_06_58_1620.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_01_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":["1402140119","1402140109","1402140100","1402140124","1402140112","1402140102"],"photo_ids_order":["1402140100","1402140102","1402140109","1402140112","1402140119","1402140124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c68372f5c2c6212f8a8aff267a957f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2783917892527196549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349543794,"filename":"image_05112025_18_06_58_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/2/1047427470eec32669196ce84bce2f99.jpg","text":"TemporaryFile(/tmp/multipartBody5248436053081272940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349543794,"filename":"image_05112025_18_06_54_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/2/aacbc05e897d7fc650edf5a38022c988.jpg","text":"TemporaryFile(/tmp/multipartBody6418196346290282831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349543794,"filename":"image_05112025_18_06_51_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/2/4775f341b893d9ef330a03eddf44f96d.jpg","text":"TemporaryFile(/tmp/multipartBody6375935070698224319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349543794,"filename":"image_05112025_18_07_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/2/1a6c6c7f0f907399a3f1653b8975a872.jpg","text":"TemporaryFile(/tmp/multipartBody4643316118296166302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349543794,"filename":"image_05112025_18_06_56_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/2/54b29f5f9f9311669af991ce7efc55e0.jpg","text":"TemporaryFile(/tmp/multipartBody3035751406446516018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349543794,"filename":"image_05112025_18_06_53_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140109","file1":"1402140102","file0":"1402140100","file4":"1402140119","file5":"1402140124","file3":"1402140112"},"map_files_photo_id_array":[{"photo_id":"1402140124","filename":"file5"},{"photo_id":"1402140109","filename":"file2"},{"photo_id":"1402140119","filename":"file4"},{"photo_id":"1402140102","filename":"file1"},{"photo_id":"1402140100","filename":"file0"},{"photo_id":"1402140112","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140119":["hashtag1","hashtag2"]},{"1402140109":["hashtag1","hashtag2"]},{"1402140100":["hashtag1","hashtag2"]},{"1402140124":["hashtag1","hashtag2"]},{"1402140112":["hashtag1","hashtag2"]},{"1402140102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140119, 1402140109, 1402140100, 1402140124, 1402140112, 1402140102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77561283111572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:25:22.106632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_34_9744.jpg', '/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_44_9986.jpg', '/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_53_9553.jpg', '/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_14_9597.jpg', '/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_24_10075.jpg', '/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_34_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_34_9744.jpg
/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_44_9986.jpg
/home/pi/Desktop/images/02012026/10/25/image_02012026_10_25_53_9553.jpg
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_14_9597.jpg
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_24_10075.jpg
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_34_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140163","1402140139","1402140169","1402140174","1402140171","1402140137"],"photo_ids_order":["1402140137","1402140139","1402140163","1402140169","1402140171","1402140174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26cd4eade9a8708e804d5d91a4b49610.jpg","text":"TemporaryFile(/tmp/multipartBody3275333329109515174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349582741,"filename":"image_02012026_10_25_53_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/2/0c2aac725b40e608a66e1b754ba87e66.jpg","text":"TemporaryFile(/tmp/multipartBody7652562348012261967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349582741,"filename":"image_02012026_10_25_44_9986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7d216487338a1b22fb576814ba2bc2f.jpg","text":"TemporaryFile(/tmp/multipartBody3630610302734441198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349582741,"filename":"image_02012026_10_26_14_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/2/5c1c74febc050ea12ceb21eb6be0e7fa.jpg","text":"TemporaryFile(/tmp/multipartBody5390512723776808452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349582741,"filename":"image_02012026_10_26_34_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/2/a64684c72572f198385a1c4912b762fd.jpg","text":"TemporaryFile(/tmp/multipartBody1811515290389868308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349582741,"filename":"image_02012026_10_26_24_10075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc14c51f8e72b174d6cf2d786b6ebf10.jpg","text":"TemporaryFile(/tmp/multipartBody8521602489684299789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349582741,"filename":"image_02012026_10_25_34_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140163","file1":"1402140139","file0":"1402140137","file4":"1402140171","file5":"1402140174","file3":"1402140169"},"map_files_photo_id_array":[{"photo_id":"1402140174","filename":"file5"},{"photo_id":"1402140163","filename":"file2"},{"photo_id":"1402140171","filename":"file4"},{"photo_id":"1402140139","filename":"file1"},{"photo_id":"1402140137","filename":"file0"},{"photo_id":"1402140169","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140163":["hashtag1","hashtag2"]},{"1402140139":["hashtag1","hashtag2"]},{"1402140169":["hashtag1","hashtag2"]},{"1402140174":["hashtag1","hashtag2"]},{"1402140171":["hashtag1","hashtag2"]},{"1402140137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140163, 1402140139, 1402140169, 1402140174, 1402140171, 1402140137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56941366195679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:26:02.764247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_44_9738.jpg', '/home/pi/Desktop/images/02012026/10/26/image_02012026_10_27_04_9841.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_14_10549.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_24_9915.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_34_9586.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_44_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_44_9738.jpg
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_27_04_9841.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_14_10549.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_24_9915.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_34_9586.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_44_10650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5237472057342529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:26:12.194491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_03_1633.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_06_3017.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_09_3563.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_12_2672.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_16_3984.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_18_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_03_1633.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_06_3017.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_09_3563.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_12_2672.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_16_3984.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_18_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":["1402140181","1402140331","1402140211","1402140288","1402140252","1402140185"],"photo_ids_order":["1402140181","1402140185","1402140211","1402140252","1402140288","1402140331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe8caefe998a0383857325c12f80a235.jpg","text":"TemporaryFile(/tmp/multipartBody2822880626957741875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349633909,"filename":"image_05112025_18_07_03_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/2/5676842ad8772fe2fa0ceaac907247eb.jpg","text":"TemporaryFile(/tmp/multipartBody107198092261865792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349633909,"filename":"image_05112025_18_07_18_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/2/e50794d8458b20f84118857fe59795b5.jpg","text":"TemporaryFile(/tmp/multipartBody7580541153989791788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349633909,"filename":"image_05112025_18_07_09_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/2/43291153e4fa46561b7d6c2d18282ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7787494445721639387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349633909,"filename":"image_05112025_18_07_16_3984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4ce25a1578ac360d4a9742d65034a99.jpg","text":"TemporaryFile(/tmp/multipartBody4249153789631462034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349633909,"filename":"image_05112025_18_07_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/2/6e6d2b56f80bf51f43bcc4023db2e727.jpg","text":"TemporaryFile(/tmp/multipartBody8215902906889187425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349633909,"filename":"image_05112025_18_07_06_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140211","file1":"1402140185","file0":"1402140181","file4":"1402140288","file5":"1402140331","file3":"1402140252"},"map_files_photo_id_array":[{"photo_id":"1402140331","filename":"file5"},{"photo_id":"1402140211","filename":"file2"},{"photo_id":"1402140288","filename":"file4"},{"photo_id":"1402140185","filename":"file1"},{"photo_id":"1402140181","filename":"file0"},{"photo_id":"1402140252","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140181":["hashtag1","hashtag2"]},{"1402140331":["hashtag1","hashtag2"]},{"1402140211":["hashtag1","hashtag2"]},{"1402140288":["hashtag1","hashtag2"]},{"1402140252":["hashtag1","hashtag2"]},{"1402140185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140181, 1402140331, 1402140211, 1402140288, 1402140252, 1402140185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97570204734802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:27:02.949583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_44_9738.jpg', '/home/pi/Desktop/images/02012026/10/26/image_02012026_10_27_04_9841.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_14_10549.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_24_9915.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_34_9586.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_44_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_26_44_9738.jpg
/home/pi/Desktop/images/02012026/10/26/image_02012026_10_27_04_9841.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_14_10549.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_24_9915.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_34_9586.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_44_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":["1402140472","1402140421","1402140474","1402140453","1402140431","1402140428"],"photo_ids_order":["1402140421","1402140428","1402140431","1402140453","1402140472","1402140474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d68097cbfa6d14af62245e62aa1fec2.jpg","text":"TemporaryFile(/tmp/multipartBody8889850195436714695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349683602,"filename":"image_02012026_10_27_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/2/98ef61b11e9724cff24eff0de630400d.jpg","text":"TemporaryFile(/tmp/multipartBody4028073022644549389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349683602,"filename":"image_02012026_10_26_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/2/5114b766bc7d918aa9df2b8e19a97ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1919364702829728037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349683602,"filename":"image_02012026_10_27_44_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/2/0af51b5898492f0d3d4c427d980d673b.jpg","text":"TemporaryFile(/tmp/multipartBody3282428436764047366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349683602,"filename":"image_02012026_10_27_24_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/725a3049d9bb4d9070045cb1b3420e58.jpg","text":"TemporaryFile(/tmp/multipartBody1840859768615653196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349683602,"filename":"image_02012026_10_27_14_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/2/7cdc04eb2e2fbdc14d90c4ecdc46bc88.jpg","text":"TemporaryFile(/tmp/multipartBody4319844133012917181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349683602,"filename":"image_02012026_10_27_04_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140431","file1":"1402140428","file0":"1402140421","file4":"1402140472","file5":"1402140474","file3":"1402140453"},"map_files_photo_id_array":[{"photo_id":"1402140474","filename":"file5"},{"photo_id":"1402140431","filename":"file2"},{"photo_id":"1402140472","filename":"file4"},{"photo_id":"1402140428","filename":"file1"},{"photo_id":"1402140421","filename":"file0"},{"photo_id":"1402140453","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140472":["hashtag1","hashtag2"]},{"1402140421":["hashtag1","hashtag2"]},{"1402140474":["hashtag1","hashtag2"]},{"1402140453":["hashtag1","hashtag2"]},{"1402140431":["hashtag1","hashtag2"]},{"1402140428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140472, 1402140421, 1402140474, 1402140453, 1402140431, 1402140428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51914072036743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:27:42.452423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_22_3755.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_24_2772.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_27_2766.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_39_2626.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_42_2877.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_45_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_22_3755.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_24_2772.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_27_2766.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_39_2626.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_42_2877.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_45_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140583","1402140500","1402140571","1402140585","1402140537","1402140584"],"photo_ids_order":["1402140500","1402140537","1402140571","1402140583","1402140584","1402140585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99c7f955726265dfabd1867c2d5f0365.jpg","text":"TemporaryFile(/tmp/multipartBody5737813476810613112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349724310,"filename":"image_05112025_18_07_39_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/2/da586aeb593895bc199aeea224ed2294.jpg","text":"TemporaryFile(/tmp/multipartBody5319587230670410354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349724310,"filename":"image_05112025_18_07_22_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/188e52a45a63ec4a5dc2678bbf9c354c.jpg","text":"TemporaryFile(/tmp/multipartBody107054607145285561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349724310,"filename":"image_05112025_18_07_27_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/2/fda6f89bbcf0bb3081f4b3f736bbff0a.jpg","text":"TemporaryFile(/tmp/multipartBody5880223566155437325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349724310,"filename":"image_05112025_18_07_45_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/2/425cd8b178e62aa172f2a02a3ad8ed26.jpg","text":"TemporaryFile(/tmp/multipartBody334687978800381783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349724310,"filename":"image_05112025_18_07_24_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/2/b3192a3ad987042aac8f937bbd04b256.jpg","text":"TemporaryFile(/tmp/multipartBody1455697300530120365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349724310,"filename":"image_05112025_18_07_42_2877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140571","file1":"1402140537","file0":"1402140500","file4":"1402140584","file5":"1402140585","file3":"1402140583"},"map_files_photo_id_array":[{"photo_id":"1402140585","filename":"file5"},{"photo_id":"1402140571","filename":"file2"},{"photo_id":"1402140584","filename":"file4"},{"photo_id":"1402140537","filename":"file1"},{"photo_id":"1402140500","filename":"file0"},{"photo_id":"1402140583","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140583":["hashtag1","hashtag2"]},{"1402140500":["hashtag1","hashtag2"]},{"1402140571":["hashtag1","hashtag2"]},{"1402140585":["hashtag1","hashtag2"]},{"1402140537":["hashtag1","hashtag2"]},{"1402140584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140583, 1402140500, 1402140571, 1402140585, 1402140537, 1402140584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.584983587265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:28:22.639085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_54_9609.jpg', '/home/pi/Desktop/images/02012026/10/27/image_02012026_10_28_04_9661.jpg', '/home/pi/Desktop/images/02012026/10/28/image_02012026_10_28_14_10584.jpg', '/home/pi/Desktop/images/02012026/10/28/image_02012026_10_28_44_10647.jpg', '/home/pi/Desktop/images/02012026/10/28/image_02012026_10_28_54_9641.jpg', '/home/pi/Desktop/images/02012026/10/28/image_02012026_10_29_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_27_54_9609.jpg
/home/pi/Desktop/images/02012026/10/27/image_02012026_10_28_04_9661.jpg
/home/pi/Desktop/images/02012026/10/28/image_02012026_10_28_14_10584.jpg
/home/pi/Desktop/images/02012026/10/28/image_02012026_10_28_44_10647.jpg
/home/pi/Desktop/images/02012026/10/28/image_02012026_10_28_54_9641.jpg
/home/pi/Desktop/images/02012026/10/28/image_02012026_10_29_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":["1402140595","1402140597","1402140591","1402140615","1402140593","1402140605"],"photo_ids_order":["1402140591","1402140593","1402140595","1402140597","1402140605","1402140615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e401c837163cffd2eb3f914a5baf6599.jpg","text":"TemporaryFile(/tmp/multipartBody617886952180323884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349763280,"filename":"image_02012026_10_28_14_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/2/cb4dc468e9f14632dff1cc831a04d5c0.jpg","text":"TemporaryFile(/tmp/multipartBody563678459387147621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349763280,"filename":"image_02012026_10_28_44_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/2/06e7cde81b6c6b011f5f293c3760c28b.jpg","text":"TemporaryFile(/tmp/multipartBody4583866331491062863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349763280,"filename":"image_02012026_10_27_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/2/87d4eead288a877f0017873ccc01ae47.jpg","text":"TemporaryFile(/tmp/multipartBody8925538498633841520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349763280,"filename":"image_02012026_10_29_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/2/e13d1a32bd68ad2a0d5ebf6b440efc6a.jpg","text":"TemporaryFile(/tmp/multipartBody6571545952463017296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349763280,"filename":"image_02012026_10_28_04_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/2/eda70e3d135033325fc03a9978c002aa.jpg","text":"TemporaryFile(/tmp/multipartBody8536141077758858049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349763280,"filename":"image_02012026_10_28_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140595","file1":"1402140593","file0":"1402140591","file4":"1402140605","file5":"1402140615","file3":"1402140597"},"map_files_photo_id_array":[{"photo_id":"1402140615","filename":"file5"},{"photo_id":"1402140595","filename":"file2"},{"photo_id":"1402140605","filename":"file4"},{"photo_id":"1402140593","filename":"file1"},{"photo_id":"1402140591","filename":"file0"},{"photo_id":"1402140597","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140595":["hashtag1","hashtag2"]},{"1402140597":["hashtag1","hashtag2"]},{"1402140591":["hashtag1","hashtag2"]},{"1402140615":["hashtag1","hashtag2"]},{"1402140593":["hashtag1","hashtag2"]},{"1402140605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140595, 1402140597, 1402140591, 1402140615, 1402140593, 1402140605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23596119880676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:29:03.011010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_14_10603.jpg', '/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_34_9794.jpg', '/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_44_10673.jpg', '/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_54_9818.jpg', '/home/pi/Desktop/images/02012026/10/30/image_02012026_10_30_45_9740.jpg', '/home/pi/Desktop/images/02012026/10/30/image_02012026_10_30_55_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_14_10603.jpg
/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_34_9794.jpg
/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_44_10673.jpg
/home/pi/Desktop/images/02012026/10/29/image_02012026_10_29_54_9818.jpg
/home/pi/Desktop/images/02012026/10/30/image_02012026_10_30_45_9740.jpg
/home/pi/Desktop/images/02012026/10/30/image_02012026_10_30_55_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":["1402140629","1402140631","1402140625","1402140621","1402140618","1402140623"],"photo_ids_order":["1402140618","1402140621","1402140623","1402140625","1402140629","1402140631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f862f2b005378f41cab541d0f077bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4816247885107363792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349803763,"filename":"image_02012026_10_30_45_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/2/1aae403a4aba3df56e53105f5cb275a3.jpg","text":"TemporaryFile(/tmp/multipartBody6285338137627927913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349803763,"filename":"image_02012026_10_30_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/2/cb205c035e222d40c5982d05c405cb86.jpg","text":"TemporaryFile(/tmp/multipartBody2925144938545225990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349803763,"filename":"image_02012026_10_29_54_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/2/99b5a47ae3448d4beb70c1d9f2e72e29.jpg","text":"TemporaryFile(/tmp/multipartBody5372389027075894903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349803763,"filename":"image_02012026_10_29_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/2/396f72e65b865c8e5ebc6356970905cc.jpg","text":"TemporaryFile(/tmp/multipartBody1747666931898721922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349803763,"filename":"image_02012026_10_29_14_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/2/e55408ccec423acedafe3936cc3e9341.jpg","text":"TemporaryFile(/tmp/multipartBody3584838041551058439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349803763,"filename":"image_02012026_10_29_44_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140623","file1":"1402140621","file0":"1402140618","file4":"1402140629","file5":"1402140631","file3":"1402140625"},"map_files_photo_id_array":[{"photo_id":"1402140631","filename":"file5"},{"photo_id":"1402140623","filename":"file2"},{"photo_id":"1402140629","filename":"file4"},{"photo_id":"1402140621","filename":"file1"},{"photo_id":"1402140618","filename":"file0"},{"photo_id":"1402140625","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140629":["hashtag1","hashtag2"]},{"1402140631":["hashtag1","hashtag2"]},{"1402140625":["hashtag1","hashtag2"]},{"1402140621":["hashtag1","hashtag2"]},{"1402140618":["hashtag1","hashtag2"]},{"1402140623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140629, 1402140631, 1402140625, 1402140621, 1402140618, 1402140623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00971078872681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:29:41.990786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_48_2976.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_51_3795.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_54_2588.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_57_3517.jpg', '/home/pi/Desktop/images/05112025/18/07/image_05112025_18_08_00_2561.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_03_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_48_2976.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_51_3795.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_54_2588.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_07_57_3517.jpg
/home/pi/Desktop/images/05112025/18/07/image_05112025_18_08_00_2561.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_03_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140646","1402140655","1402140637","1402140648","1402140653","1402140647"],"photo_ids_order":["1402140637","1402140646","1402140647","1402140648","1402140653","1402140655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/77bd92140bbccd504ca3bd21745adacb.jpg","text":"TemporaryFile(/tmp/multipartBody4954808159254429739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349843860,"filename":"image_05112025_18_07_51_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0dade14b4120d707487526c472b0f7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8844714833420993052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349843860,"filename":"image_05112025_18_08_03_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/2/0e8e34d63bb0cc065c6ce003b1b2b812.jpg","text":"TemporaryFile(/tmp/multipartBody6026157095305101564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349843860,"filename":"image_05112025_18_07_48_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eda04a62bb8f2b09465f2c9e33a2044b.jpg","text":"TemporaryFile(/tmp/multipartBody3122078231554875815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349843860,"filename":"image_05112025_18_07_57_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3dbbdde46cd1e781fea9b19b721f0512.jpg","text":"TemporaryFile(/tmp/multipartBody5675813352562015526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349843860,"filename":"image_05112025_18_08_00_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/2/f69b29065a3058951a0ffd0e5108ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody6809861503511544750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349843860,"filename":"image_05112025_18_07_54_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140647","file1":"1402140646","file0":"1402140637","file4":"1402140653","file5":"1402140655","file3":"1402140648"},"map_files_photo_id_array":[{"photo_id":"1402140655","filename":"file5"},{"photo_id":"1402140647","filename":"file2"},{"photo_id":"1402140653","filename":"file4"},{"photo_id":"1402140646","filename":"file1"},{"photo_id":"1402140637","filename":"file0"},{"photo_id":"1402140648","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140646":["hashtag1","hashtag2"]},{"1402140655":["hashtag1","hashtag2"]},{"1402140637":["hashtag1","hashtag2"]},{"1402140648":["hashtag1","hashtag2"]},{"1402140653":["hashtag1","hashtag2"]},{"1402140647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140646, 1402140655, 1402140637, 1402140648, 1402140653, 1402140647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89820575714111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:30:22.154733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/30/image_02012026_10_31_05_9575.jpg', '/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_16_10668.jpg', '/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_35_9748.jpg', '/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_45_9734.jpg', '/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_56_10893.jpg', '/home/pi/Desktop/images/02012026/10/31/image_02012026_10_32_05_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/30/image_02012026_10_31_05_9575.jpg
/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_16_10668.jpg
/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_35_9748.jpg
/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_45_9734.jpg
/home/pi/Desktop/images/02012026/10/31/image_02012026_10_31_56_10893.jpg
/home/pi/Desktop/images/02012026/10/31/image_02012026_10_32_05_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140697","1402140694","1402140688","1402140684","1402140698","1402140686"],"photo_ids_order":["1402140684","1402140686","1402140688","1402140694","1402140697","1402140698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/44268203c075b1a3084fe3889d5d18d5.jpg","text":"TemporaryFile(/tmp/multipartBody7753428205130092601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349882801,"filename":"image_02012026_10_31_56_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/2/30c8eceadc34f6b4ee0d00110a3c24cf.jpg","text":"TemporaryFile(/tmp/multipartBody3981728924688473677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349882801,"filename":"image_02012026_10_31_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/2/35e77dbbbabc0eb4f550c620852b502a.jpg","text":"TemporaryFile(/tmp/multipartBody6878899154567008923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349882801,"filename":"image_02012026_10_31_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/2/e82cef66ae43c23c0ae268d13af7b193.jpg","text":"TemporaryFile(/tmp/multipartBody4929499230991509799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349882801,"filename":"image_02012026_10_31_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/2/6461410f8572fd1ef3870ab06c7e24f5.jpg","text":"TemporaryFile(/tmp/multipartBody3832190085376863315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349882801,"filename":"image_02012026_10_32_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/2/30e8ab33c09cf22e1dff227e1d421332.jpg","text":"TemporaryFile(/tmp/multipartBody4757209965042814032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349882801,"filename":"image_02012026_10_31_16_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140688","file1":"1402140686","file0":"1402140684","file4":"1402140697","file5":"1402140698","file3":"1402140694"},"map_files_photo_id_array":[{"photo_id":"1402140698","filename":"file5"},{"photo_id":"1402140688","filename":"file2"},{"photo_id":"1402140697","filename":"file4"},{"photo_id":"1402140686","filename":"file1"},{"photo_id":"1402140684","filename":"file0"},{"photo_id":"1402140694","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140697":["hashtag1","hashtag2"]},{"1402140694":["hashtag1","hashtag2"]},{"1402140688":["hashtag1","hashtag2"]},{"1402140684":["hashtag1","hashtag2"]},{"1402140698":["hashtag1","hashtag2"]},{"1402140686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140697, 1402140694, 1402140688, 1402140684, 1402140698, 1402140686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.560030460357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:31:03.072712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/32/image_02012026_10_32_25_9707.jpg', '/home/pi/Desktop/images/02012026/10/32/image_02012026_10_32_35_10644.jpg', '/home/pi/Desktop/images/02012026/10/33/image_02012026_10_33_55_9559.jpg', '/home/pi/Desktop/images/02012026/10/33/image_02012026_10_34_05_10717.jpg', '/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_25_9701.jpg', '/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_36_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/32/image_02012026_10_32_25_9707.jpg
/home/pi/Desktop/images/02012026/10/32/image_02012026_10_32_35_10644.jpg
/home/pi/Desktop/images/02012026/10/33/image_02012026_10_33_55_9559.jpg
/home/pi/Desktop/images/02012026/10/33/image_02012026_10_34_05_10717.jpg
/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_25_9701.jpg
/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_36_10622.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":["1402140721","1402140718","1402140714","1402140708","1402140719","1402140710"],"photo_ids_order":["1402140708","1402140710","1402140714","1402140718","1402140719","1402140721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1b8532af016ab3dc54cbc8d0b8755de1.jpg","text":"TemporaryFile(/tmp/multipartBody290295409499793985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349923739,"filename":"image_02012026_10_34_36_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/2/e26a007e15c818c4679b3639739d7307.jpg","text":"TemporaryFile(/tmp/multipartBody6479461213643473973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349923739,"filename":"image_02012026_10_34_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/2/a6956c2114f58efa24e839a9fec9e75d.jpg","text":"TemporaryFile(/tmp/multipartBody1854703826658534555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349923739,"filename":"image_02012026_10_33_55_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/2/cc92dea6b34f90d5dc5de3edd8f75e03.jpg","text":"TemporaryFile(/tmp/multipartBody8451642081369451724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349923739,"filename":"image_02012026_10_32_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/2/e1a7d36241c5c79e6aff3f22b159b946.jpg","text":"TemporaryFile(/tmp/multipartBody6783959370744861437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349923739,"filename":"image_02012026_10_34_25_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/2/9e48afd0d2716eddf80ffac0d536ef14.jpg","text":"TemporaryFile(/tmp/multipartBody103388852613950643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349923739,"filename":"image_02012026_10_32_35_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140714","file1":"1402140710","file0":"1402140708","file4":"1402140719","file5":"1402140721","file3":"1402140718"},"map_files_photo_id_array":[{"photo_id":"1402140721","filename":"file5"},{"photo_id":"1402140714","filename":"file2"},{"photo_id":"1402140719","filename":"file4"},{"photo_id":"1402140710","filename":"file1"},{"photo_id":"1402140708","filename":"file0"},{"photo_id":"1402140718","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140721":["hashtag1","hashtag2"]},{"1402140718":["hashtag1","hashtag2"]},{"1402140714":["hashtag1","hashtag2"]},{"1402140708":["hashtag1","hashtag2"]},{"1402140719":["hashtag1","hashtag2"]},{"1402140710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140721, 1402140718, 1402140714, 1402140708, 1402140719, 1402140710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.86009430885315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:32:03.038114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_45_9675.jpg', '/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_55_10039.jpg', '/home/pi/Desktop/images/02012026/10/35/image_02012026_10_35_14_10056.jpg', '/home/pi/Desktop/images/02012026/10/35/image_02012026_10_35_34_9583.jpg', '/home/pi/Desktop/images/02012026/10/35/image_02012026_10_35_44_9797.jpg', '/home/pi/Desktop/images/02012026/10/35/image_02012026_10_36_04_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_45_9675.jpg
/home/pi/Desktop/images/02012026/10/34/image_02012026_10_34_55_10039.jpg
/home/pi/Desktop/images/02012026/10/35/image_02012026_10_35_14_10056.jpg
/home/pi/Desktop/images/02012026/10/35/image_02012026_10_35_34_9583.jpg
/home/pi/Desktop/images/02012026/10/35/image_02012026_10_35_44_9797.jpg
/home/pi/Desktop/images/02012026/10/35/image_02012026_10_36_04_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140734","1402140728","1402140730","1402140726","1402140740","1402140737"],"photo_ids_order":["1402140726","1402140728","1402140730","1402140734","1402140737","1402140740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9948fc77ce830643f16db1dfed023b30.jpg","text":"TemporaryFile(/tmp/multipartBody9125253560730612807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349983665,"filename":"image_02012026_10_35_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/2/1030213615a5ae11a5474473b015e92f.jpg","text":"TemporaryFile(/tmp/multipartBody4904844951221478913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349983665,"filename":"image_02012026_10_34_55_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c7a4ee29861f961c5f2bcbca4026268.jpg","text":"TemporaryFile(/tmp/multipartBody4829898293822182827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349983665,"filename":"image_02012026_10_35_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/2/491951b465370370402bb38eb8a05afb.jpg","text":"TemporaryFile(/tmp/multipartBody5178034266709162668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349983665,"filename":"image_02012026_10_34_45_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/2/fb727316c2ba155aa47e2839fd2e076e.jpg","text":"TemporaryFile(/tmp/multipartBody1030737285349274550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349983665,"filename":"image_02012026_10_36_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/2/474d34f7ec78ddb5c49da2fd9bf1b4da.jpg","text":"TemporaryFile(/tmp/multipartBody4635104283880107234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767349983665,"filename":"image_02012026_10_35_44_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140730","file1":"1402140728","file0":"1402140726","file4":"1402140737","file5":"1402140740","file3":"1402140734"},"map_files_photo_id_array":[{"photo_id":"1402140740","filename":"file5"},{"photo_id":"1402140730","filename":"file2"},{"photo_id":"1402140737","filename":"file4"},{"photo_id":"1402140728","filename":"file1"},{"photo_id":"1402140726","filename":"file0"},{"photo_id":"1402140734","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140734":["hashtag1","hashtag2"]},{"1402140728":["hashtag1","hashtag2"]},{"1402140730":["hashtag1","hashtag2"]},{"1402140726":["hashtag1","hashtag2"]},{"1402140740":["hashtag1","hashtag2"]},{"1402140737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140734, 1402140728, 1402140730, 1402140726, 1402140740, 1402140737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42322635650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:32:42.696367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_06_3690.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_09_2549.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_12_2776.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_15_3710.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_18_2678.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_21_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_06_3690.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_09_2549.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_12_2776.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_15_3710.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_18_2678.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_21_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140757","1402140756","1402140759","1402140750","1402140753","1402140752"],"photo_ids_order":["1402140750","1402140752","1402140753","1402140756","1402140757","1402140759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1dcda7a2659caf314737932fbb615edd.jpg","text":"TemporaryFile(/tmp/multipartBody740287847777009706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350024545,"filename":"image_05112025_18_08_18_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/2/a00b6a1ade5f865a017ea2ba8b542c15.jpg","text":"TemporaryFile(/tmp/multipartBody1478046278377512073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350024545,"filename":"image_05112025_18_08_15_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/faaeac4ad9d41618031fccceb3e2508d.jpg","text":"TemporaryFile(/tmp/multipartBody8927574905184287424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350024545,"filename":"image_05112025_18_08_21_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/2/1558d350ce3c759d6efd31b95bf18724.jpg","text":"TemporaryFile(/tmp/multipartBody1521147863129408296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350024545,"filename":"image_05112025_18_08_06_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/2/5c080494b301ef3475fcd225ca97df75.jpg","text":"TemporaryFile(/tmp/multipartBody2321891817442797448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350024545,"filename":"image_05112025_18_08_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/2/3f29e923472da36ee154623c49d47e35.jpg","text":"TemporaryFile(/tmp/multipartBody567370549486572143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350024545,"filename":"image_05112025_18_08_09_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140753","file1":"1402140752","file0":"1402140750","file4":"1402140757","file5":"1402140759","file3":"1402140756"},"map_files_photo_id_array":[{"photo_id":"1402140759","filename":"file5"},{"photo_id":"1402140753","filename":"file2"},{"photo_id":"1402140757","filename":"file4"},{"photo_id":"1402140752","filename":"file1"},{"photo_id":"1402140750","filename":"file0"},{"photo_id":"1402140756","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140757":["hashtag1","hashtag2"]},{"1402140756":["hashtag1","hashtag2"]},{"1402140759":["hashtag1","hashtag2"]},{"1402140750":["hashtag1","hashtag2"]},{"1402140753":["hashtag1","hashtag2"]},{"1402140752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140757, 1402140756, 1402140759, 1402140750, 1402140753, 1402140752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.268564224243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:33:21.905026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/36/image_02012026_10_36_25_10701.jpg', '/home/pi/Desktop/images/02012026/10/36/image_02012026_10_36_34_9653.jpg', '/home/pi/Desktop/images/02012026/10/36/image_02012026_10_36_54_9710.jpg', '/home/pi/Desktop/images/02012026/10/36/image_02012026_10_37_04_10568.jpg', '/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_14_9769.jpg', '/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/36/image_02012026_10_36_25_10701.jpg
/home/pi/Desktop/images/02012026/10/36/image_02012026_10_36_34_9653.jpg
/home/pi/Desktop/images/02012026/10/36/image_02012026_10_36_54_9710.jpg
/home/pi/Desktop/images/02012026/10/36/image_02012026_10_37_04_10568.jpg
/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_14_9769.jpg
/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_24_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140775","1402140780","1402140777","1402140779","1402140773","1402140770"],"photo_ids_order":["1402140770","1402140773","1402140775","1402140777","1402140779","1402140780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/686ff609d14c9f85712de1fb0373bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody5909173817062456868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350062572,"filename":"image_02012026_10_36_54_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/2/47091a2c2b9c2cd19d1f1545b43e43bd.jpg","text":"TemporaryFile(/tmp/multipartBody8987901995233773945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350062572,"filename":"image_02012026_10_37_24_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/2/7a774888043b08c271be6451ae9ec065.jpg","text":"TemporaryFile(/tmp/multipartBody8190667281331544504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350062572,"filename":"image_02012026_10_37_04_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/2/aabf85b0ab3d3edfb316ae8d8e6cd811.jpg","text":"TemporaryFile(/tmp/multipartBody3959857764924951077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350062572,"filename":"image_02012026_10_37_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/2/1f3cb17f4b52988b52cbb021c10ad09b.jpg","text":"TemporaryFile(/tmp/multipartBody4791652910982863870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350062572,"filename":"image_02012026_10_36_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/2/4aaa54b0642e680fe8a8f140dae923db.jpg","text":"TemporaryFile(/tmp/multipartBody3887884378443963567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350062572,"filename":"image_02012026_10_36_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140775","file1":"1402140773","file0":"1402140770","file4":"1402140779","file5":"1402140780","file3":"1402140777"},"map_files_photo_id_array":[{"photo_id":"1402140780","filename":"file5"},{"photo_id":"1402140775","filename":"file2"},{"photo_id":"1402140779","filename":"file4"},{"photo_id":"1402140773","filename":"file1"},{"photo_id":"1402140770","filename":"file0"},{"photo_id":"1402140777","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140775":["hashtag1","hashtag2"]},{"1402140780":["hashtag1","hashtag2"]},{"1402140777":["hashtag1","hashtag2"]},{"1402140779":["hashtag1","hashtag2"]},{"1402140773":["hashtag1","hashtag2"]},{"1402140770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140775, 1402140780, 1402140777, 1402140779, 1402140773, 1402140770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64901280403137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:34:02.763588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_34_10649.jpg', '/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_44_9560.jpg', '/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_54_9777.jpg', '/home/pi/Desktop/images/02012026/10/37/image_02012026_10_38_04_10635.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_14_9684.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_25_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_34_10649.jpg
/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_44_9560.jpg
/home/pi/Desktop/images/02012026/10/37/image_02012026_10_37_54_9777.jpg
/home/pi/Desktop/images/02012026/10/37/image_02012026_10_38_04_10635.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_14_9684.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_25_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":["1402140809","1402140811","1402140805","1402140807","1402140801","1402140803"],"photo_ids_order":["1402140801","1402140803","1402140805","1402140807","1402140809","1402140811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d817e98342958983235bd8a1f0acebdf.jpg","text":"TemporaryFile(/tmp/multipartBody4618859432472626717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350103463,"filename":"image_02012026_10_38_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/2/a968c68dfe517900c5c1b0b8fe06dc0e.jpg","text":"TemporaryFile(/tmp/multipartBody5463990746612619097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350103463,"filename":"image_02012026_10_38_25_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/2/adc0ec253133d08148fa319dba0d91b3.jpg","text":"TemporaryFile(/tmp/multipartBody1320009909531727659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350103463,"filename":"image_02012026_10_37_54_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/2/51e04dc09651427c2cfee5d5618db504.jpg","text":"TemporaryFile(/tmp/multipartBody3105596363162061090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350103463,"filename":"image_02012026_10_38_04_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/2/caed80d40bbc4f9fde05097e9f68eac1.jpg","text":"TemporaryFile(/tmp/multipartBody531137098060644635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350103463,"filename":"image_02012026_10_37_34_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/2/b6ce1fb7486e49e713903ecf211c589b.jpg","text":"TemporaryFile(/tmp/multipartBody6563138734754369327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350103463,"filename":"image_02012026_10_37_44_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140805","file1":"1402140803","file0":"1402140801","file4":"1402140809","file5":"1402140811","file3":"1402140807"},"map_files_photo_id_array":[{"photo_id":"1402140811","filename":"file5"},{"photo_id":"1402140805","filename":"file2"},{"photo_id":"1402140809","filename":"file4"},{"photo_id":"1402140803","filename":"file1"},{"photo_id":"1402140801","filename":"file0"},{"photo_id":"1402140807","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402140809":["hashtag1","hashtag2"]},{"1402140811":["hashtag1","hashtag2"]},{"1402140805":["hashtag1","hashtag2"]},{"1402140807":["hashtag1","hashtag2"]},{"1402140801":["hashtag1","hashtag2"]},{"1402140803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402140809, 1402140811, 1402140805, 1402140807, 1402140801, 1402140803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2153103351593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:34:42.091397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_24_3740.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_27_2575.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_30_2634.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_33_3719.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_36_2757.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_39_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_24_3740.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_27_2575.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_30_2634.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_33_3719.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_36_2757.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_39_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140886","1402140826","1402140899","1402140884","1402140938","1402140824"],"photo_ids_order":["1402140824","1402140826","1402140884","1402140886","1402140899","1402140938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4727973243fc87ad9f7580b118c3607.jpg","text":"TemporaryFile(/tmp/multipartBody7863180718260278805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350143932,"filename":"image_05112025_18_08_33_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/2/bb83d85139a69eb7ddf253daac05275f.jpg","text":"TemporaryFile(/tmp/multipartBody8993804276766843006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350143932,"filename":"image_05112025_18_08_27_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/2/a54f7c889d83db436813d868147d8706.jpg","text":"TemporaryFile(/tmp/multipartBody8398081498498365477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350143932,"filename":"image_05112025_18_08_36_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/2/d118a4e457f5e5c3449520ed745199ff.jpg","text":"TemporaryFile(/tmp/multipartBody1229666236534549873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350143932,"filename":"image_05112025_18_08_30_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/2/5053b960e1a276c830676dce9a52dc4f.jpg","text":"TemporaryFile(/tmp/multipartBody8769740485816268198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350143932,"filename":"image_05112025_18_08_39_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/2/23e50a1b189a5f509b641069cb86d781.jpg","text":"TemporaryFile(/tmp/multipartBody1952756850121450439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350143932,"filename":"image_05112025_18_08_24_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140884","file1":"1402140826","file0":"1402140824","file4":"1402140899","file5":"1402140938","file3":"1402140886"},"map_files_photo_id_array":[{"photo_id":"1402140938","filename":"file5"},{"photo_id":"1402140884","filename":"file2"},{"photo_id":"1402140899","filename":"file4"},{"photo_id":"1402140826","filename":"file1"},{"photo_id":"1402140824","filename":"file0"},{"photo_id":"1402140886","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140886":["hashtag1","hashtag2"]},{"1402140826":["hashtag1","hashtag2"]},{"1402140899":["hashtag1","hashtag2"]},{"1402140884":["hashtag1","hashtag2"]},{"1402140938":["hashtag1","hashtag2"]},{"1402140824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140886, 1402140826, 1402140899, 1402140884, 1402140938, 1402140824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80591583251953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:35:32.330385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_42_3263.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_45_2553.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_47_2809.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_51_3557.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_54_2660.jpg', '/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_57_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_42_3263.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_45_2553.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_47_2809.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_51_3557.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_54_2660.jpg
/home/pi/Desktop/images/05112025/18/08/image_05112025_18_08_57_3695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402140985","1402140987","1402140983","1402140986","1402140971","1402140980"],"photo_ids_order":["1402140971","1402140980","1402140983","1402140985","1402140986","1402140987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/074aa10d8f51b3ffc1799c528a7b142b.jpg","text":"TemporaryFile(/tmp/multipartBody1935302717903828162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350194206,"filename":"image_05112025_18_08_51_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/2/66b1ca7b9cf10f99caf7bdb9cb4b9c09.jpg","text":"TemporaryFile(/tmp/multipartBody4977546395781007066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350194206,"filename":"image_05112025_18_08_57_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/2/ffbbcfddd763e0d17e3f8eec79644417.jpg","text":"TemporaryFile(/tmp/multipartBody2804028790857710571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350194206,"filename":"image_05112025_18_08_47_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/2/443e75c5f0485a414dca8077931bb45f.jpg","text":"TemporaryFile(/tmp/multipartBody442105795693453702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350194206,"filename":"image_05112025_18_08_54_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/2/5a696cb0effd5924ca819f965c08ad78.jpg","text":"TemporaryFile(/tmp/multipartBody473949481554236484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350194206,"filename":"image_05112025_18_08_42_3263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1eb96c352c56305d6729f1d7348b35a0.jpg","text":"TemporaryFile(/tmp/multipartBody2758467515764044232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350194206,"filename":"image_05112025_18_08_45_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402140983","file1":"1402140980","file0":"1402140971","file4":"1402140986","file5":"1402140987","file3":"1402140985"},"map_files_photo_id_array":[{"photo_id":"1402140987","filename":"file5"},{"photo_id":"1402140983","filename":"file2"},{"photo_id":"1402140986","filename":"file4"},{"photo_id":"1402140980","filename":"file1"},{"photo_id":"1402140971","filename":"file0"},{"photo_id":"1402140985","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402140985":["hashtag1","hashtag2"]},{"1402140987":["hashtag1","hashtag2"]},{"1402140983":["hashtag1","hashtag2"]},{"1402140986":["hashtag1","hashtag2"]},{"1402140971":["hashtag1","hashtag2"]},{"1402140980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402140985, 1402140987, 1402140983, 1402140986, 1402140971, 1402140980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0397310256958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:36:22.513513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_34_9696.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_44_9679.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_55_10587.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_39_05_9798.jpg', '/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_14_9685.jpg', '/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_24_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_34_9696.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_44_9679.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_55_10587.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_39_05_9798.jpg
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_14_9685.jpg
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_24_9662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5372462272644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:36:32.511596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_06_3595.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_20_13643.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_21_1613.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_35_13385.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_38_3200.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_40_1906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_06_3595.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_20_13643.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_21_1613.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_35_13385.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_38_3200.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_40_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":["1402141009","1402141005","1402141008","1402140998","1402141001","1402141010"],"photo_ids_order":["1402140998","1402141001","1402141005","1402141008","1402141009","1402141010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e2661669923ee7b67682a4bf94b3dca.jpg","text":"TemporaryFile(/tmp/multipartBody7125490515200400698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350254459,"filename":"image_05112025_18_09_38_3200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c0717cc4fc0fdd142a98f27c5aacef12.jpg","text":"TemporaryFile(/tmp/multipartBody4069122695533706065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350254459,"filename":"image_05112025_18_09_21_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/2/ac9b0cf4b93d7bd2b831513dc7c738dd.jpg","text":"TemporaryFile(/tmp/multipartBody7663282810089032935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350254459,"filename":"image_05112025_18_09_35_13385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e6e710bd83acdd10617135289df48ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6331541512380674647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350254459,"filename":"image_05112025_18_09_06_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/2/b29224859f6604891cb35794e8dabb19.jpg","text":"TemporaryFile(/tmp/multipartBody7018130624227702466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350254459,"filename":"image_05112025_18_09_20_13643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d77e23ab3eca96211dba449bb727391.jpg","text":"TemporaryFile(/tmp/multipartBody3361994422694223877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350254459,"filename":"image_05112025_18_09_40_1906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141005","file1":"1402141001","file0":"1402140998","file4":"1402141009","file5":"1402141010","file3":"1402141008"},"map_files_photo_id_array":[{"photo_id":"1402141010","filename":"file5"},{"photo_id":"1402141005","filename":"file2"},{"photo_id":"1402141009","filename":"file4"},{"photo_id":"1402141001","filename":"file1"},{"photo_id":"1402140998","filename":"file0"},{"photo_id":"1402141008","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402141009":["hashtag1","hashtag2"]},{"1402141005":["hashtag1","hashtag2"]},{"1402141008":["hashtag1","hashtag2"]},{"1402140998":["hashtag1","hashtag2"]},{"1402141001":["hashtag1","hashtag2"]},{"1402141010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402141009, 1402141005, 1402141008, 1402140998, 1402141001, 1402141010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09883666038513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:37:12.552651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_41_1517.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_43_1676.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_45_1672.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_46_1654.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_48_1759.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_50_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_41_1517.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_43_1676.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_45_1672.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_46_1654.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_48_1759.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_50_1695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402141033","1402141036","1402141015","1402141035","1402141013","1402141022"],"photo_ids_order":["1402141013","1402141015","1402141022","1402141033","1402141035","1402141036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8b038f40bdadade3bb9cd360e040d547.jpg","text":"TemporaryFile(/tmp/multipartBody2684819815886556001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350294353,"filename":"image_05112025_18_09_46_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/2/11396cb67f825c57797b70732450ed53.jpg","text":"TemporaryFile(/tmp/multipartBody5470182496002430933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350294353,"filename":"image_05112025_18_09_50_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/2/371cfc6b90d5fc5b06210d3c250f8b2f.jpg","text":"TemporaryFile(/tmp/multipartBody448922859800119576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350294353,"filename":"image_05112025_18_09_43_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/2/5575c7d2f9f8597c25ed9a51be93a799.jpg","text":"TemporaryFile(/tmp/multipartBody4866301197204317319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350294353,"filename":"image_05112025_18_09_48_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/2/215e02a062b4f80946296b20ea4afa9d.jpg","text":"TemporaryFile(/tmp/multipartBody9169883521466099564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350294353,"filename":"image_05112025_18_09_41_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/2/aa20b4a1288b748b7eed264361b21be6.jpg","text":"TemporaryFile(/tmp/multipartBody8158325466663661513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350294353,"filename":"image_05112025_18_09_45_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141022","file1":"1402141015","file0":"1402141013","file4":"1402141035","file5":"1402141036","file3":"1402141033"},"map_files_photo_id_array":[{"photo_id":"1402141036","filename":"file5"},{"photo_id":"1402141022","filename":"file2"},{"photo_id":"1402141035","filename":"file4"},{"photo_id":"1402141015","filename":"file1"},{"photo_id":"1402141013","filename":"file0"},{"photo_id":"1402141033","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402141033":["hashtag1","hashtag2"]},{"1402141036":["hashtag1","hashtag2"]},{"1402141015":["hashtag1","hashtag2"]},{"1402141035":["hashtag1","hashtag2"]},{"1402141013":["hashtag1","hashtag2"]},{"1402141022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402141033, 1402141036, 1402141015, 1402141035, 1402141013, 1402141022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57797980308533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:38:02.305587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_34_9696.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_44_9679.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_55_10587.jpg', '/home/pi/Desktop/images/02012026/10/38/image_02012026_10_39_05_9798.jpg', '/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_14_9685.jpg', '/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_24_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_34_9696.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_44_9679.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_38_55_10587.jpg
/home/pi/Desktop/images/02012026/10/38/image_02012026_10_39_05_9798.jpg
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_14_9685.jpg
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_24_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402141099","1402141138","1402141056","1402141041","1402141082","1402141069"],"photo_ids_order":["1402141041","1402141056","1402141069","1402141082","1402141099","1402141138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3c5edc2cfe433859660037309df0697.jpg","text":"TemporaryFile(/tmp/multipartBody5278971001565998955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350342978,"filename":"image_02012026_10_39_14_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/2/1e4ba7de6663b6b3060f5637c44cbb40.jpg","text":"TemporaryFile(/tmp/multipartBody8840435754917446802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350342978,"filename":"image_02012026_10_39_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/2/a8c9d551c6b93f7b9497d311735b8f84.jpg","text":"TemporaryFile(/tmp/multipartBody1275859220969252956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350342978,"filename":"image_02012026_10_38_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/2/abbaf846ce7928a9ecab4bc7979888d1.jpg","text":"TemporaryFile(/tmp/multipartBody8597035900911847595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350342978,"filename":"image_02012026_10_38_34_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/2/eed844906e264875c5ea0a86705892bf.jpg","text":"TemporaryFile(/tmp/multipartBody163628994461953007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350342978,"filename":"image_02012026_10_39_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/2/3aa9304992c6b959f760c5cf96cb4029.jpg","text":"TemporaryFile(/tmp/multipartBody1469413943033555199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350342978,"filename":"image_02012026_10_38_55_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141069","file1":"1402141056","file0":"1402141041","file4":"1402141099","file5":"1402141138","file3":"1402141082"},"map_files_photo_id_array":[{"photo_id":"1402141138","filename":"file5"},{"photo_id":"1402141069","filename":"file2"},{"photo_id":"1402141099","filename":"file4"},{"photo_id":"1402141056","filename":"file1"},{"photo_id":"1402141041","filename":"file0"},{"photo_id":"1402141082","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402141099":["hashtag1","hashtag2"]},{"1402141138":["hashtag1","hashtag2"]},{"1402141056":["hashtag1","hashtag2"]},{"1402141041":["hashtag1","hashtag2"]},{"1402141082":["hashtag1","hashtag2"]},{"1402141069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402141099, 1402141138, 1402141056, 1402141041, 1402141082, 1402141069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.342883825302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:38:41.852493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_52_1741.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_53_1517.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_56_1523.jpg', '/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_58_1612.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_02_3602.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_03_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_52_1741.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_53_1517.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_56_1523.jpg
/home/pi/Desktop/images/05112025/18/09/image_05112025_18_09_58_1612.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_02_3602.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_03_1665.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":["1402141177","1402141171","1402141176","1402141175","1402141199","1402141178"],"photo_ids_order":["1402141171","1402141175","1402141176","1402141177","1402141178","1402141199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f7843a19c7ccd60844fe28155736417.jpg","text":"TemporaryFile(/tmp/multipartBody3103722273019578142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350383730,"filename":"image_05112025_18_09_58_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/2/92237fb71244a2c00d999f55f64528db.jpg","text":"TemporaryFile(/tmp/multipartBody5255556214309196491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350383730,"filename":"image_05112025_18_09_52_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/2/4bed1663aa533e947f5d1220610fab70.jpg","text":"TemporaryFile(/tmp/multipartBody6291388236679089313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350383730,"filename":"image_05112025_18_09_56_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/2/d8a65f0175e150bcc26c3126ab02e8b7.jpg","text":"TemporaryFile(/tmp/multipartBody5049815864203031076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350383730,"filename":"image_05112025_18_09_53_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/2/3e084dd6e826010c98e80aa2166ba17a.jpg","text":"TemporaryFile(/tmp/multipartBody7559324210767944586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350383730,"filename":"image_05112025_18_10_03_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/2/8b08c961ca22bedc1b584202698e8b44.jpg","text":"TemporaryFile(/tmp/multipartBody6863519519952138551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350383730,"filename":"image_05112025_18_10_02_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141176","file1":"1402141175","file0":"1402141171","file4":"1402141178","file5":"1402141199","file3":"1402141177"},"map_files_photo_id_array":[{"photo_id":"1402141199","filename":"file5"},{"photo_id":"1402141176","filename":"file2"},{"photo_id":"1402141178","filename":"file4"},{"photo_id":"1402141175","filename":"file1"},{"photo_id":"1402141171","filename":"file0"},{"photo_id":"1402141177","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402141177":["hashtag1","hashtag2"]},{"1402141171":["hashtag1","hashtag2"]},{"1402141176":["hashtag1","hashtag2"]},{"1402141175":["hashtag1","hashtag2"]},{"1402141199":["hashtag1","hashtag2"]},{"1402141178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402141177, 1402141171, 1402141176, 1402141175, 1402141199, 1402141178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.7399799823761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:39:32.054026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_05_1618.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_09_2574.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_15_2751.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_18_3150.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_26_5122.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_30_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_05_1618.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_09_2574.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_15_2751.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_18_3150.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_26_5122.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_30_2880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402141342","1402141341","1402141323","1402141325","1402141340","1402141334"],"photo_ids_order":["1402141323","1402141325","1402141334","1402141340","1402141341","1402141342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cde3c8625995862e46136811a5216bec.jpg","text":"TemporaryFile(/tmp/multipartBody9154119155280340664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350434013,"filename":"image_05112025_18_10_30_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/2/b541db5168f72d5d4c65eab90b0d7ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7684384233173427306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350434013,"filename":"image_05112025_18_10_26_5122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff134d007ffec20e0865a164a0ba1932.jpg","text":"TemporaryFile(/tmp/multipartBody8029515121884135483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350434013,"filename":"image_05112025_18_10_05_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/2/e044a81c13783613a6484667d6c954bc.jpg","text":"TemporaryFile(/tmp/multipartBody6476982141077020773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350434013,"filename":"image_05112025_18_10_09_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/2/0d090bb524ee7a0e539893748f336565.jpg","text":"TemporaryFile(/tmp/multipartBody2236201411652112670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350434013,"filename":"image_05112025_18_10_18_3150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/caba9323d2017f8e7d6588f1cf7fa082.jpg","text":"TemporaryFile(/tmp/multipartBody7529271615564907198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350434013,"filename":"image_05112025_18_10_15_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141334","file1":"1402141325","file0":"1402141323","file4":"1402141341","file5":"1402141342","file3":"1402141340"},"map_files_photo_id_array":[{"photo_id":"1402141342","filename":"file5"},{"photo_id":"1402141334","filename":"file2"},{"photo_id":"1402141341","filename":"file4"},{"photo_id":"1402141325","filename":"file1"},{"photo_id":"1402141323","filename":"file0"},{"photo_id":"1402141340","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402141342":["hashtag1","hashtag2"]},{"1402141341":["hashtag1","hashtag2"]},{"1402141323":["hashtag1","hashtag2"]},{"1402141325":["hashtag1","hashtag2"]},{"1402141340":["hashtag1","hashtag2"]},{"1402141334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402141342, 1402141341, 1402141323, 1402141325, 1402141340, 1402141334)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.08596062660217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:40:28.344881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_35_10803.jpg', '/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_44_9587.jpg', '/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_54_9659.jpg', '/home/pi/Desktop/images/02012026/10/40/image_02012026_10_40_14_10056.jpg', '/home/pi/Desktop/images/02012026/10/40/image_02012026_10_40_44_9708.jpg', '/home/pi/Desktop/images/02012026/10/40/image_02012026_10_40_55_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_35_10803.jpg
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_44_9587.jpg
/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_54_9659.jpg
/home/pi/Desktop/images/02012026/10/40/image_02012026_10_40_14_10056.jpg
/home/pi/Desktop/images/02012026/10/40/image_02012026_10_40_44_9708.jpg
/home/pi/Desktop/images/02012026/10/40/image_02012026_10_40_55_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402141432","1402141405","1402141383","1402141416","1402141388","1402141433"],"photo_ids_order":["1402141383","1402141388","1402141405","1402141416","1402141432","1402141433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a97aae8af2743a27d801f30ba84bd74.jpg","text":"TemporaryFile(/tmp/multipartBody8956354267933447689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350488987,"filename":"image_02012026_10_40_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/2/1c98cf7ca2bba1d9b980b95f4285488c.jpg","text":"TemporaryFile(/tmp/multipartBody4789350074012462481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350488987,"filename":"image_02012026_10_39_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/2/15959f437e5c002ea54c4fe52d6b629e.jpg","text":"TemporaryFile(/tmp/multipartBody6556843967616263934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350488987,"filename":"image_02012026_10_39_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/2/7be1f52134ae886270708364ed180eae.jpg","text":"TemporaryFile(/tmp/multipartBody3508239148846200338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350488987,"filename":"image_02012026_10_40_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d56d4a81b974ed163d3169f2646aea11.jpg","text":"TemporaryFile(/tmp/multipartBody8050569222792228028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350488987,"filename":"image_02012026_10_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/2/cabf19885e4bc64f04ce6303842f2aac.jpg","text":"TemporaryFile(/tmp/multipartBody49749098414453006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350488987,"filename":"image_02012026_10_40_55_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141405","file1":"1402141388","file0":"1402141383","file4":"1402141432","file5":"1402141433","file3":"1402141416"},"map_files_photo_id_array":[{"photo_id":"1402141433","filename":"file5"},{"photo_id":"1402141405","filename":"file2"},{"photo_id":"1402141432","filename":"file4"},{"photo_id":"1402141388","filename":"file1"},{"photo_id":"1402141383","filename":"file0"},{"photo_id":"1402141416","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402141432":["hashtag1","hashtag2"]},{"1402141405":["hashtag1","hashtag2"]},{"1402141383":["hashtag1","hashtag2"]},{"1402141416":["hashtag1","hashtag2"]},{"1402141388":["hashtag1","hashtag2"]},{"1402141433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402141432, 1402141405, 1402141383, 1402141416, 1402141388, 1402141433)","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 = 1402141405 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02012026/10/39/image_02012026_10_39_54_9659.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.5172176361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:41:32.457709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_38_7471.jpg', '/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_58_20758.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_13_2806.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_16_2517.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_19_3685.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_23_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_38_7471.jpg
/home/pi/Desktop/images/05112025/18/10/image_05112025_18_10_58_20758.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_13_2806.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_16_2517.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_19_3685.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_23_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":["1402141522","1402141524","1402141515","1402141523","1402141517","1402141520"],"photo_ids_order":["1402141515","1402141517","1402141520","1402141522","1402141523","1402141524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/edf58300a578824d87acb3f6023b3bc5.jpg","text":"TemporaryFile(/tmp/multipartBody506986538867853663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350554468,"filename":"image_05112025_18_12_16_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/2/52a56d0f0ed805f5dbac06f5c99e3327.jpg","text":"TemporaryFile(/tmp/multipartBody436666539740017982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350554468,"filename":"image_05112025_18_12_23_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/2/c7cef8e71b1deb8d85cf419a59f96a87.jpg","text":"TemporaryFile(/tmp/multipartBody6499832510686390043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350554468,"filename":"image_05112025_18_10_38_7471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6693bf6c8e0e69d6b74c73b65213520a.jpg","text":"TemporaryFile(/tmp/multipartBody8558634305047566188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350554468,"filename":"image_05112025_18_12_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/2/1cb01513d30efaa40e3b30f57044bb12.jpg","text":"TemporaryFile(/tmp/multipartBody7715456077364625936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350554468,"filename":"image_05112025_18_10_58_20758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9a0bfbb097c111d279c44581209eca5.jpg","text":"TemporaryFile(/tmp/multipartBody549231850176969750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350554468,"filename":"image_05112025_18_12_13_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141520","file1":"1402141517","file0":"1402141515","file4":"1402141523","file5":"1402141524","file3":"1402141522"},"map_files_photo_id_array":[{"photo_id":"1402141524","filename":"file5"},{"photo_id":"1402141520","filename":"file2"},{"photo_id":"1402141523","filename":"file4"},{"photo_id":"1402141517","filename":"file1"},{"photo_id":"1402141515","filename":"file0"},{"photo_id":"1402141522","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402141522":["hashtag1","hashtag2"]},{"1402141524":["hashtag1","hashtag2"]},{"1402141515":["hashtag1","hashtag2"]},{"1402141523":["hashtag1","hashtag2"]},{"1402141517":["hashtag1","hashtag2"]},{"1402141520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402141522, 1402141524, 1402141515, 1402141523, 1402141517, 1402141520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93121147155762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:42:22.566427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/40/image_02012026_10_41_05_9800.jpg', '/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_14_9697.jpg', '/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_25_10764.jpg', '/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_35_9580.jpg', '/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_44_9691.jpg', '/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/40/image_02012026_10_41_05_9800.jpg
/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_14_9697.jpg
/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_25_10764.jpg
/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_35_9580.jpg
/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_44_9691.jpg
/home/pi/Desktop/images/02012026/10/41/image_02012026_10_41_55_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402141540","1402141551","1402141554","1402141535","1402141538","1402141532"],"photo_ids_order":["1402141532","1402141535","1402141538","1402141540","1402141551","1402141554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3f6b6e17e23147a5c58934cd72d8c53b.jpg","text":"TemporaryFile(/tmp/multipartBody2742989710191896233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350603170,"filename":"image_02012026_10_41_35_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/2/dc7013a4e5b9bf0a86e97c093e644e02.jpg","text":"TemporaryFile(/tmp/multipartBody3232637898370713244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350603170,"filename":"image_02012026_10_41_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/2/07b5b5abea3ec013be787ea5c85eda2b.jpg","text":"TemporaryFile(/tmp/multipartBody137339523677101981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350603170,"filename":"image_02012026_10_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/2/0d8d51e2a749f2b69329b3c0b2f7566c.jpg","text":"TemporaryFile(/tmp/multipartBody40408777588996039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350603170,"filename":"image_02012026_10_41_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/2/4342879272f043b834c89e044ee5166f.jpg","text":"TemporaryFile(/tmp/multipartBody6693659437113938579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350603170,"filename":"image_02012026_10_41_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/2/6266ff1776a335ae592fdb6e140e6bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6095384080991116480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350603170,"filename":"image_02012026_10_41_05_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141538","file1":"1402141535","file0":"1402141532","file4":"1402141551","file5":"1402141554","file3":"1402141540"},"map_files_photo_id_array":[{"photo_id":"1402141554","filename":"file5"},{"photo_id":"1402141538","filename":"file2"},{"photo_id":"1402141551","filename":"file4"},{"photo_id":"1402141535","filename":"file1"},{"photo_id":"1402141532","filename":"file0"},{"photo_id":"1402141540","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402141540":["hashtag1","hashtag2"]},{"1402141551":["hashtag1","hashtag2"]},{"1402141554":["hashtag1","hashtag2"]},{"1402141535":["hashtag1","hashtag2"]},{"1402141538":["hashtag1","hashtag2"]},{"1402141532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402141540, 1402141551, 1402141554, 1402141535, 1402141538, 1402141532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7641499042511 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-02 11:43:11.853328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_25_1737.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_28_3601.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_41_2639.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_47_6187.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_48_1555.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_50_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_25_1737.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_28_3601.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_41_2639.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_47_6187.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_48_1555.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_50_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":["1402141639","1402141633","1402141641","1402141643","1402141601","1402141604"],"photo_ids_order":["1402141601","1402141604","1402141633","1402141639","1402141641","1402141643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a1c1ea7c2cccc8fb5c040a5665799c3.jpg","text":"TemporaryFile(/tmp/multipartBody1685986460398057314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350653583,"filename":"image_05112025_18_12_47_6187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/61add53f3f27aa5ce25af78dce5589bb.jpg","text":"TemporaryFile(/tmp/multipartBody3885720177418137961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350653583,"filename":"image_05112025_18_12_41_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/2/10259648987f8fed97edc1a6dacc9bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1807931791603447796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350653583,"filename":"image_05112025_18_12_48_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/2/6e7a50dd746c6b3866c87219c6bca5b9.jpg","text":"TemporaryFile(/tmp/multipartBody5950077650473212957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350653583,"filename":"image_05112025_18_12_50_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/2/ca32f44713573708c6d522b1f7abbbc6.jpg","text":"TemporaryFile(/tmp/multipartBody7013073262533591064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350653583,"filename":"image_05112025_18_12_25_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/2/d58b36854d340813fc371dd30a926968.jpg","text":"TemporaryFile(/tmp/multipartBody23230549206456265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350653583,"filename":"image_05112025_18_12_28_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141633","file1":"1402141604","file0":"1402141601","file4":"1402141641","file5":"1402141643","file3":"1402141639"},"map_files_photo_id_array":[{"photo_id":"1402141643","filename":"file5"},{"photo_id":"1402141633","filename":"file2"},{"photo_id":"1402141641","filename":"file4"},{"photo_id":"1402141604","filename":"file1"},{"photo_id":"1402141601","filename":"file0"},{"photo_id":"1402141639","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402141639":["hashtag1","hashtag2"]},{"1402141633":["hashtag1","hashtag2"]},{"1402141641":["hashtag1","hashtag2"]},{"1402141643":["hashtag1","hashtag2"]},{"1402141601":["hashtag1","hashtag2"]},{"1402141604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402141639, 1402141633, 1402141641, 1402141643, 1402141601, 1402141604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48219585418701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:44:02.719450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/41/image_02012026_10_42_05_9609.jpg', '/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_14_9746.jpg', '/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_24_9889.jpg', '/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_35_10739.jpg', '/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_44_9572.jpg', '/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_54_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/41/image_02012026_10_42_05_9609.jpg
/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_14_9746.jpg
/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_24_9889.jpg
/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_35_10739.jpg
/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_44_9572.jpg
/home/pi/Desktop/images/02012026/10/42/image_02012026_10_42_54_9621.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":["1402141932","1402141854","1402141814","1402141891","1402141811","1402141805"],"photo_ids_order":["1402141805","1402141811","1402141814","1402141854","1402141891","1402141932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37b366b22fc9023e51fc692be1e83118.jpg","text":"TemporaryFile(/tmp/multipartBody1512887671698079118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350708187,"filename":"image_02012026_10_42_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/2/878944d09aad9e37e66976e1c03f940f.jpg","text":"TemporaryFile(/tmp/multipartBody2886238977640838041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350708187,"filename":"image_02012026_10_42_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/2/466f9926d95407011dfc0611a83923a8.jpg","text":"TemporaryFile(/tmp/multipartBody3234384518153246898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350708187,"filename":"image_02012026_10_42_24_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/2/9bd7d4bb040020357b98ebebc6d3a69a.jpg","text":"TemporaryFile(/tmp/multipartBody7596015959236862514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350708187,"filename":"image_02012026_10_42_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/2/db88b2acd54c2050b0a0571f0988a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5730876908943797506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350708187,"filename":"image_02012026_10_42_14_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/2/e3e55609847c7933cae2f3c55b8d0077.jpg","text":"TemporaryFile(/tmp/multipartBody6539975262339217355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350708187,"filename":"image_02012026_10_42_05_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402141814","file1":"1402141811","file0":"1402141805","file4":"1402141891","file5":"1402141932","file3":"1402141854"},"map_files_photo_id_array":[{"photo_id":"1402141932","filename":"file5"},{"photo_id":"1402141814","filename":"file2"},{"photo_id":"1402141891","filename":"file4"},{"photo_id":"1402141811","filename":"file1"},{"photo_id":"1402141805","filename":"file0"},{"photo_id":"1402141854","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402141932":["hashtag1","hashtag2"]},{"1402141854":["hashtag1","hashtag2"]},{"1402141814":["hashtag1","hashtag2"]},{"1402141891":["hashtag1","hashtag2"]},{"1402141811":["hashtag1","hashtag2"]},{"1402141805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402141932, 1402141854, 1402141814, 1402141891, 1402141811, 1402141805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20353579521179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:45:06.966573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_14_9601.jpg', '/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_35_9662.jpg', '/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_44_9628.jpg', '/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_55_10629.jpg', '/home/pi/Desktop/images/02012026/10/44/image_02012026_10_44_14_9810.jpg', '/home/pi/Desktop/images/02012026/10/44/image_02012026_10_44_35_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_14_9601.jpg
/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_35_9662.jpg
/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_44_9628.jpg
/home/pi/Desktop/images/02012026/10/43/image_02012026_10_43_55_10629.jpg
/home/pi/Desktop/images/02012026/10/44/image_02012026_10_44_14_9810.jpg
/home/pi/Desktop/images/02012026/10/44/image_02012026_10_44_35_10701.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":["1402142119","1402142121","1402142063","1402142123","1402142072","1402142092"],"photo_ids_order":["1402142063","1402142072","1402142092","1402142119","1402142121","1402142123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d48ec0f3e8e1636908feb87cf805a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2460393026001067732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350771346,"filename":"image_02012026_10_43_55_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/2/9215f598da9298be41e3012d691fc875.jpg","text":"TemporaryFile(/tmp/multipartBody5959737962606969583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350771346,"filename":"image_02012026_10_44_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/2/b3df31968001f9d63f8d0a0bead711e4.jpg","text":"TemporaryFile(/tmp/multipartBody6908542332053868821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350771346,"filename":"image_02012026_10_43_14_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/2/e6e8e83ad69a7873a782fb935205bd39.jpg","text":"TemporaryFile(/tmp/multipartBody1730806617254759427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350771346,"filename":"image_02012026_10_44_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/2/0e3ead6266a6e5111e7d0a50e08a4339.jpg","text":"TemporaryFile(/tmp/multipartBody859438570839118174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350771346,"filename":"image_02012026_10_43_35_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/2/c8fe760802f674d4f34663541efd1fca.jpg","text":"TemporaryFile(/tmp/multipartBody7740551936063900657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350771346,"filename":"image_02012026_10_43_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142092","file1":"1402142072","file0":"1402142063","file4":"1402142121","file5":"1402142123","file3":"1402142119"},"map_files_photo_id_array":[{"photo_id":"1402142123","filename":"file5"},{"photo_id":"1402142092","filename":"file2"},{"photo_id":"1402142121","filename":"file4"},{"photo_id":"1402142072","filename":"file1"},{"photo_id":"1402142063","filename":"file0"},{"photo_id":"1402142119","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142119":["hashtag1","hashtag2"]},{"1402142121":["hashtag1","hashtag2"]},{"1402142063":["hashtag1","hashtag2"]},{"1402142123":["hashtag1","hashtag2"]},{"1402142072":["hashtag1","hashtag2"]},{"1402142092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142119, 1402142121, 1402142063, 1402142123, 1402142072, 1402142092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.408148765563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:46:22.019966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/44/image_02012026_10_44_54_9574.jpg', '/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_14_10053.jpg', '/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_24_10762.jpg', '/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_34_9647.jpg', '/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_44_9666.jpg', '/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_54_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/44/image_02012026_10_44_54_9574.jpg
/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_14_10053.jpg
/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_24_10762.jpg
/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_34_9647.jpg
/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_44_9666.jpg
/home/pi/Desktop/images/02012026/10/45/image_02012026_10_45_54_10708.jpg
2026-01-02 11:46:22.095189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_52_1693.jpg', '/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_55_3875.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_06_10889.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_08_1632.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_10_1624.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_11_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_52_1693.jpg
/home/pi/Desktop/images/05112025/18/12/image_05112025_18_12_55_3875.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_06_10889.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_08_1632.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_10_1624.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_11_1592.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402142289","1402142206","1402142211","1402142390","1402142213","1402142209"],"photo_ids_order":["1402142206","1402142209","1402142211","1402142213","1402142289","1402142390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c16a25de0b4ade1f59368ee7ef734803.jpg","text":"TemporaryFile(/tmp/multipartBody8998954620159417929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350842658,"filename":"image_02012026_10_45_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/2/b25793aa179a86e3e88610884c152d77.jpg","text":"TemporaryFile(/tmp/multipartBody852436874860491030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350842658,"filename":"image_02012026_10_44_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/2/69d3a4ee862c1fa858b9fa34bea74018.jpg","text":"TemporaryFile(/tmp/multipartBody842659348664552151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350842658,"filename":"image_02012026_10_45_24_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/2/8498105f24a3a944c91d62098fb6691d.jpg","text":"TemporaryFile(/tmp/multipartBody1501976274413088783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350842658,"filename":"image_02012026_10_45_54_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/2/ffd12bacc5074fc9145b53bc95450a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6708452667937623066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350842658,"filename":"image_02012026_10_45_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/2/c917e81fadc9227af6746da40484759b.jpg","text":"TemporaryFile(/tmp/multipartBody9132186836607326712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350842658,"filename":"image_02012026_10_45_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142211","file1":"1402142209","file0":"1402142206","file4":"1402142289","file5":"1402142390","file3":"1402142213"},"map_files_photo_id_array":[{"photo_id":"1402142390","filename":"file5"},{"photo_id":"1402142211","filename":"file2"},{"photo_id":"1402142289","filename":"file4"},{"photo_id":"1402142209","filename":"file1"},{"photo_id":"1402142206","filename":"file0"},{"photo_id":"1402142213","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142289":["hashtag1","hashtag2"]},{"1402142206":["hashtag1","hashtag2"]},{"1402142211":["hashtag1","hashtag2"]},{"1402142390":["hashtag1","hashtag2"]},{"1402142213":["hashtag1","hashtag2"]},{"1402142209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142289, 1402142206, 1402142211, 1402142390, 1402142213, 1402142209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65352964401245 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402142212","1402142214","1402142208","1402142291","1402142210","1402142392"],"photo_ids_order":["1402142208","1402142210","1402142212","1402142214","1402142291","1402142392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37393df282fff76f56591acc58fc0afc.jpg","text":"TemporaryFile(/tmp/multipartBody4058269432824913926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350843902,"filename":"image_05112025_18_13_06_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d9a723d315c78fe84e3d53061700ab42.jpg","text":"TemporaryFile(/tmp/multipartBody8826131581895854170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350843902,"filename":"image_05112025_18_13_08_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/2/0706a2db84b369ada4b425c1c94c6941.jpg","text":"TemporaryFile(/tmp/multipartBody4635747619194163630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350843902,"filename":"image_05112025_18_12_52_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/2/af9e9e6a2ac85b1c15ca39b184bf1f25.jpg","text":"TemporaryFile(/tmp/multipartBody5310873842015818128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350843902,"filename":"image_05112025_18_13_10_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/2/c742975e50a3ac465567309295e5acde.jpg","text":"TemporaryFile(/tmp/multipartBody2225472789360547272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350843902,"filename":"image_05112025_18_12_55_3875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a584605c299c8618cf29a68e21d365cb.jpg","text":"TemporaryFile(/tmp/multipartBody7435867259794853224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350843902,"filename":"image_05112025_18_13_11_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142212","file1":"1402142210","file0":"1402142208","file4":"1402142291","file5":"1402142392","file3":"1402142214"},"map_files_photo_id_array":[{"photo_id":"1402142392","filename":"file5"},{"photo_id":"1402142212","filename":"file2"},{"photo_id":"1402142291","filename":"file4"},{"photo_id":"1402142210","filename":"file1"},{"photo_id":"1402142208","filename":"file0"},{"photo_id":"1402142214","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402142212":["hashtag1","hashtag2"]},{"1402142214":["hashtag1","hashtag2"]},{"1402142208":["hashtag1","hashtag2"]},{"1402142291":["hashtag1","hashtag2"]},{"1402142210":["hashtag1","hashtag2"]},{"1402142392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402142212, 1402142214, 1402142208, 1402142291, 1402142210, 1402142392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93058490753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:47:03.300069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/45/image_02012026_10_46_04_9642.jpg', '/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_14_9692.jpg', '/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_24_10691.jpg', '/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_34_9659.jpg', '/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_44_9779.jpg', '/home/pi/Desktop/images/02012026/10/46/image_02012026_10_47_04_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/45/image_02012026_10_46_04_9642.jpg
/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_14_9692.jpg
/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_24_10691.jpg
/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_34_9659.jpg
/home/pi/Desktop/images/02012026/10/46/image_02012026_10_46_44_9779.jpg
/home/pi/Desktop/images/02012026/10/46/image_02012026_10_47_04_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402142582","1402142576","1402142579","1402142570","1402142573","1402142581"],"photo_ids_order":["1402142570","1402142573","1402142576","1402142579","1402142581","1402142582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/731f8b54e95c3f1a4a8e02ad394a9e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2629355575194664984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350883957,"filename":"image_02012026_10_47_04_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/2/97c31072cbe657fdee57a123c35e22dc.jpg","text":"TemporaryFile(/tmp/multipartBody5772742614550124719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350883957,"filename":"image_02012026_10_46_24_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/2/eeca9dd4a1252004ad8aadb1a1ec1f15.jpg","text":"TemporaryFile(/tmp/multipartBody1444547341296924493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350883957,"filename":"image_02012026_10_46_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/2/6b6c2e6b399351bec3c9905b479f547d.jpg","text":"TemporaryFile(/tmp/multipartBody6629310344795541129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350883957,"filename":"image_02012026_10_46_04_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/2/b65b58ae2119df2576a04131a8a2bcb9.jpg","text":"TemporaryFile(/tmp/multipartBody6064031115713932597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350883957,"filename":"image_02012026_10_46_14_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/2/97e9e75cf2d42c7b3738b471a70640b8.jpg","text":"TemporaryFile(/tmp/multipartBody3291190060003355307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350883957,"filename":"image_02012026_10_46_44_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142576","file1":"1402142573","file0":"1402142570","file4":"1402142581","file5":"1402142582","file3":"1402142579"},"map_files_photo_id_array":[{"photo_id":"1402142582","filename":"file5"},{"photo_id":"1402142576","filename":"file2"},{"photo_id":"1402142581","filename":"file4"},{"photo_id":"1402142573","filename":"file1"},{"photo_id":"1402142570","filename":"file0"},{"photo_id":"1402142579","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142582":["hashtag1","hashtag2"]},{"1402142576":["hashtag1","hashtag2"]},{"1402142579":["hashtag1","hashtag2"]},{"1402142570":["hashtag1","hashtag2"]},{"1402142573":["hashtag1","hashtag2"]},{"1402142581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142582, 1402142576, 1402142579, 1402142570, 1402142573, 1402142581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9971489906311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:47:42.647470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_13_1714.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_15_1637.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_16_1579.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_32_16076.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_34_1683.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_36_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_13_1714.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_15_1637.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_16_1579.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_32_16076.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_34_1683.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_36_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":["1402142598","1402142602","1402142604","1402142588","1402142600","1402142596"],"photo_ids_order":["1402142588","1402142596","1402142598","1402142600","1402142602","1402142604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e427967b6d14f134c99f74423746215f.jpg","text":"TemporaryFile(/tmp/multipartBody2562426823665855236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350924380,"filename":"image_05112025_18_13_16_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/2/2a13a8ee70ce52ab2ecc72e2495bb245.jpg","text":"TemporaryFile(/tmp/multipartBody831585989649051922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350924380,"filename":"image_05112025_18_13_34_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/2/4d634e6a04067c99004e289c5236fe9f.jpg","text":"TemporaryFile(/tmp/multipartBody7575857535490236731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350924380,"filename":"image_05112025_18_13_36_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/2/c60363bdc4e397d42474c416e46b213d.jpg","text":"TemporaryFile(/tmp/multipartBody8479622715637556070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350924380,"filename":"image_05112025_18_13_13_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/2/be0489e70e81323a122d74562c86314b.jpg","text":"TemporaryFile(/tmp/multipartBody8661055882990438441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350924380,"filename":"image_05112025_18_13_32_16076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/52078bd7bc7b20da76be070925750677.jpg","text":"TemporaryFile(/tmp/multipartBody5416475188893298917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350924380,"filename":"image_05112025_18_13_15_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142598","file1":"1402142596","file0":"1402142588","file4":"1402142602","file5":"1402142604","file3":"1402142600"},"map_files_photo_id_array":[{"photo_id":"1402142604","filename":"file5"},{"photo_id":"1402142598","filename":"file2"},{"photo_id":"1402142602","filename":"file4"},{"photo_id":"1402142596","filename":"file1"},{"photo_id":"1402142588","filename":"file0"},{"photo_id":"1402142600","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402142598":["hashtag1","hashtag2"]},{"1402142602":["hashtag1","hashtag2"]},{"1402142604":["hashtag1","hashtag2"]},{"1402142588":["hashtag1","hashtag2"]},{"1402142600":["hashtag1","hashtag2"]},{"1402142596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402142598, 1402142602, 1402142604, 1402142588, 1402142600, 1402142596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.557459354400635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:48:21.959526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/47/image_02012026_10_47_24_9909.jpg', '/home/pi/Desktop/images/02012026/10/47/image_02012026_10_47_34_10240.jpg', '/home/pi/Desktop/images/02012026/10/47/image_02012026_10_48_04_10719.jpg', '/home/pi/Desktop/images/02012026/10/49/image_02012026_10_49_34_10686.jpg', '/home/pi/Desktop/images/02012026/10/49/image_02012026_10_49_44_9683.jpg', '/home/pi/Desktop/images/02012026/10/49/image_02012026_10_49_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/47/image_02012026_10_47_24_9909.jpg
/home/pi/Desktop/images/02012026/10/47/image_02012026_10_47_34_10240.jpg
/home/pi/Desktop/images/02012026/10/47/image_02012026_10_48_04_10719.jpg
/home/pi/Desktop/images/02012026/10/49/image_02012026_10_49_34_10686.jpg
/home/pi/Desktop/images/02012026/10/49/image_02012026_10_49_44_9683.jpg
/home/pi/Desktop/images/02012026/10/49/image_02012026_10_49_54_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402142629","1402142608","1402142622","1402142610","1402142612","1402142617"],"photo_ids_order":["1402142608","1402142610","1402142612","1402142617","1402142622","1402142629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d1a40505d379a7e157aa00a605b52fb.jpg","text":"TemporaryFile(/tmp/multipartBody6857219747815972210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350962538,"filename":"image_02012026_10_49_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/2/c773b8e4f588bf650a547645a9d24528.jpg","text":"TemporaryFile(/tmp/multipartBody6364024013606167457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350962538,"filename":"image_02012026_10_47_24_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/2/5f719fa35ce4149f68af45589e51ff82.jpg","text":"TemporaryFile(/tmp/multipartBody506356892281890433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350962538,"filename":"image_02012026_10_49_44_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/2/493d588974a89a3f3d5ff43a778c4c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3277102335124043257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350962538,"filename":"image_02012026_10_47_34_10240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95e987a27b81fafe49a1ddf29b35bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody72606115028198975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350962538,"filename":"image_02012026_10_48_04_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/2/b621b619b7ea2ed60a56e339bb7c24be.jpg","text":"TemporaryFile(/tmp/multipartBody4866311557301598946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767350962538,"filename":"image_02012026_10_49_34_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142612","file1":"1402142610","file0":"1402142608","file4":"1402142622","file5":"1402142629","file3":"1402142617"},"map_files_photo_id_array":[{"photo_id":"1402142629","filename":"file5"},{"photo_id":"1402142612","filename":"file2"},{"photo_id":"1402142622","filename":"file4"},{"photo_id":"1402142610","filename":"file1"},{"photo_id":"1402142608","filename":"file0"},{"photo_id":"1402142617","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142629":["hashtag1","hashtag2"]},{"1402142608":["hashtag1","hashtag2"]},{"1402142622":["hashtag1","hashtag2"]},{"1402142610":["hashtag1","hashtag2"]},{"1402142612":["hashtag1","hashtag2"]},{"1402142617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142629, 1402142608, 1402142622, 1402142610, 1402142612, 1402142617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82366681098938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:49:03.011656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/51/image_02012026_10_51_24_10818.jpg', '/home/pi/Desktop/images/02012026/10/51/image_02012026_10_51_54_10682.jpg', '/home/pi/Desktop/images/02012026/10/51/image_02012026_10_52_04_9738.jpg', '/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_24_10755.jpg', '/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_34_9770.jpg', '/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_44_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/51/image_02012026_10_51_24_10818.jpg
/home/pi/Desktop/images/02012026/10/51/image_02012026_10_51_54_10682.jpg
/home/pi/Desktop/images/02012026/10/51/image_02012026_10_52_04_9738.jpg
/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_24_10755.jpg
/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_34_9770.jpg
/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_44_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":["1402142685","1402142658","1402142687","1402142689","1402142668","1402142683"],"photo_ids_order":["1402142658","1402142668","1402142683","1402142685","1402142687","1402142689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5b28f61dd07e4f195234f5999ebc57ae.jpg","text":"TemporaryFile(/tmp/multipartBody1224089169269034026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351003715,"filename":"image_02012026_10_52_24_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/2/d6b47fc24f8644096c448335542e0b51.jpg","text":"TemporaryFile(/tmp/multipartBody2811982805005806467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351003715,"filename":"image_02012026_10_51_24_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/2/906974f1b1f6c5adce1ee2cdb6111aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1380205116180681404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351003715,"filename":"image_02012026_10_52_34_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/2/2db807276a759ac6b9ca8c53cf81c235.jpg","text":"TemporaryFile(/tmp/multipartBody362982553316991921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351003715,"filename":"image_02012026_10_52_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/2/6c381ea42c60272efe0531f02e47c21f.jpg","text":"TemporaryFile(/tmp/multipartBody3072740584449230698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351003715,"filename":"image_02012026_10_51_54_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/2/cbe9682425a72d7933b3d4218237e988.jpg","text":"TemporaryFile(/tmp/multipartBody3031499545414014017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351003715,"filename":"image_02012026_10_52_04_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142683","file1":"1402142668","file0":"1402142658","file4":"1402142687","file5":"1402142689","file3":"1402142685"},"map_files_photo_id_array":[{"photo_id":"1402142689","filename":"file5"},{"photo_id":"1402142683","filename":"file2"},{"photo_id":"1402142687","filename":"file4"},{"photo_id":"1402142668","filename":"file1"},{"photo_id":"1402142658","filename":"file0"},{"photo_id":"1402142685","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142685":["hashtag1","hashtag2"]},{"1402142658":["hashtag1","hashtag2"]},{"1402142687":["hashtag1","hashtag2"]},{"1402142689":["hashtag1","hashtag2"]},{"1402142668":["hashtag1","hashtag2"]},{"1402142683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142685, 1402142658, 1402142687, 1402142689, 1402142668, 1402142683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.574554443359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:49:42.119368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_39_1648.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_41_1636.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_44_1668.jpg', '/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_53_9029.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_07_14537.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_11_3220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_39_1648.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_41_1636.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_44_1668.jpg
/home/pi/Desktop/images/05112025/18/13/image_05112025_18_13_53_9029.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_07_14537.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_11_3220.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402142806","1402142799","1402142730","1402142768","1402142797","1402142785"],"photo_ids_order":["1402142730","1402142768","1402142785","1402142797","1402142799","1402142806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2e9f9a85354923ded8ec3f89638f26a9.jpg","text":"TemporaryFile(/tmp/multipartBody1624939900104667320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351043860,"filename":"image_05112025_18_14_11_3220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ad9fea2cc59f8f1456f2d6370925cf8f.jpg","text":"TemporaryFile(/tmp/multipartBody3569507891800954386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351043860,"filename":"image_05112025_18_14_07_14537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8bd085a2bab3a83319853892c6c31160.jpg","text":"TemporaryFile(/tmp/multipartBody5004942196050168784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351043860,"filename":"image_05112025_18_13_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/2/fbbbb7579e502b2ce2e1814c2dccfe3b.jpg","text":"TemporaryFile(/tmp/multipartBody8048070046106008604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351043860,"filename":"image_05112025_18_13_41_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/2/03cce809d738a271cf0a28b10167901e.jpg","text":"TemporaryFile(/tmp/multipartBody2706702668367351687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351043860,"filename":"image_05112025_18_13_53_9029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4c0fbabedf112eb8b0deaa5301d2d58.jpg","text":"TemporaryFile(/tmp/multipartBody1833734350607538473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351043860,"filename":"image_05112025_18_13_44_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142785","file1":"1402142768","file0":"1402142730","file4":"1402142799","file5":"1402142806","file3":"1402142797"},"map_files_photo_id_array":[{"photo_id":"1402142806","filename":"file5"},{"photo_id":"1402142785","filename":"file2"},{"photo_id":"1402142799","filename":"file4"},{"photo_id":"1402142768","filename":"file1"},{"photo_id":"1402142730","filename":"file0"},{"photo_id":"1402142797","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402142806":["hashtag1","hashtag2"]},{"1402142799":["hashtag1","hashtag2"]},{"1402142730":["hashtag1","hashtag2"]},{"1402142768":["hashtag1","hashtag2"]},{"1402142797":["hashtag1","hashtag2"]},{"1402142785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402142806, 1402142799, 1402142730, 1402142768, 1402142797, 1402142785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54075574874878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:50:22.554080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_54_9709.jpg', '/home/pi/Desktop/images/02012026/10/52/image_02012026_10_53_04_10667.jpg', '/home/pi/Desktop/images/02012026/10/53/image_02012026_10_53_14_9727.jpg', '/home/pi/Desktop/images/02012026/10/53/image_02012026_10_53_34_10731.jpg', '/home/pi/Desktop/images/02012026/10/53/image_02012026_10_53_54_9796.jpg', '/home/pi/Desktop/images/02012026/10/54/image_02012026_10_54_44_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/52/image_02012026_10_52_54_9709.jpg
/home/pi/Desktop/images/02012026/10/52/image_02012026_10_53_04_10667.jpg
/home/pi/Desktop/images/02012026/10/53/image_02012026_10_53_14_9727.jpg
/home/pi/Desktop/images/02012026/10/53/image_02012026_10_53_34_10731.jpg
/home/pi/Desktop/images/02012026/10/53/image_02012026_10_53_54_9796.jpg
/home/pi/Desktop/images/02012026/10/54/image_02012026_10_54_44_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":["1402142827","1402142811","1402142822","1402142813","1402142816","1402142824"],"photo_ids_order":["1402142811","1402142813","1402142816","1402142822","1402142824","1402142827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8408108ef0c0d9b332ef44826b71c96c.jpg","text":"TemporaryFile(/tmp/multipartBody4154395622577879085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351083142,"filename":"image_02012026_10_54_44_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/2/6537272bbc63c96acffa52861ad0a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody7026294074355535234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351083142,"filename":"image_02012026_10_52_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/2/386a4b28b8e63ac30b5010e2d6c6e54f.jpg","text":"TemporaryFile(/tmp/multipartBody5979570186930507263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351083142,"filename":"image_02012026_10_53_34_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/2/a6c02a6b3d9489ba992c0e9c45f846e3.jpg","text":"TemporaryFile(/tmp/multipartBody8772634038729008562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351083142,"filename":"image_02012026_10_53_04_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/2/495fc96758722367269453fe88bf5875.jpg","text":"TemporaryFile(/tmp/multipartBody8182267807309002862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351083142,"filename":"image_02012026_10_53_14_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/2/8de9c896ade60741300e1273d2eebd10.jpg","text":"TemporaryFile(/tmp/multipartBody8523766844188453268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351083142,"filename":"image_02012026_10_53_54_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142816","file1":"1402142813","file0":"1402142811","file4":"1402142824","file5":"1402142827","file3":"1402142822"},"map_files_photo_id_array":[{"photo_id":"1402142827","filename":"file5"},{"photo_id":"1402142816","filename":"file2"},{"photo_id":"1402142824","filename":"file4"},{"photo_id":"1402142813","filename":"file1"},{"photo_id":"1402142811","filename":"file0"},{"photo_id":"1402142822","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142827":["hashtag1","hashtag2"]},{"1402142811":["hashtag1","hashtag2"]},{"1402142822":["hashtag1","hashtag2"]},{"1402142813":["hashtag1","hashtag2"]},{"1402142816":["hashtag1","hashtag2"]},{"1402142824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142827, 1402142811, 1402142822, 1402142813, 1402142816, 1402142824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72890257835388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:51:03.258806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/10/55/image_02012026_10_55_24_10839.jpg', '/home/pi/Desktop/images/02012026/10/55/image_02012026_10_55_44_9622.jpg', '/home/pi/Desktop/images/02012026/10/56/image_02012026_10_57_04_9664.jpg', '/home/pi/Desktop/images/02012026/10/57/image_02012026_10_57_14_9738.jpg', '/home/pi/Desktop/images/02012026/10/57/image_02012026_10_57_34_9641.jpg', '/home/pi/Desktop/images/02012026/11/01/image_02012026_11_02_05_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/10/55/image_02012026_10_55_24_10839.jpg
/home/pi/Desktop/images/02012026/10/55/image_02012026_10_55_44_9622.jpg
/home/pi/Desktop/images/02012026/10/56/image_02012026_10_57_04_9664.jpg
/home/pi/Desktop/images/02012026/10/57/image_02012026_10_57_14_9738.jpg
/home/pi/Desktop/images/02012026/10/57/image_02012026_10_57_34_9641.jpg
/home/pi/Desktop/images/02012026/11/01/image_02012026_11_02_05_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402142832","1402142840","1402142843","1402142831","1402142833","1402142836"],"photo_ids_order":["1402142831","1402142832","1402142833","1402142836","1402142840","1402142843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a1a4b868e0c63e94907e4c3384376622.jpg","text":"TemporaryFile(/tmp/multipartBody8014431095831035190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351123906,"filename":"image_02012026_10_55_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/2/215ba06efc623dd0b75bff00f31eb622.jpg","text":"TemporaryFile(/tmp/multipartBody5278187701311047492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351123906,"filename":"image_02012026_10_57_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/2/f1e4abbbcc2881fe2c98aa1c58757ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7686386817948719144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351123906,"filename":"image_02012026_11_02_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/2/ae5f253677c2cc3ad51d879b7613d277.jpg","text":"TemporaryFile(/tmp/multipartBody7660767296651795740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351123906,"filename":"image_02012026_10_55_24_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/2/f72d29c8bbf3ea9a4923714a5dbdfa7f.jpg","text":"TemporaryFile(/tmp/multipartBody5335783883243681095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351123906,"filename":"image_02012026_10_57_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/2/5270a50cbe581120765e675db0b5d32c.jpg","text":"TemporaryFile(/tmp/multipartBody4429010751555506081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351123906,"filename":"image_02012026_10_57_14_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142833","file1":"1402142832","file0":"1402142831","file4":"1402142840","file5":"1402142843","file3":"1402142836"},"map_files_photo_id_array":[{"photo_id":"1402142843","filename":"file5"},{"photo_id":"1402142833","filename":"file2"},{"photo_id":"1402142840","filename":"file4"},{"photo_id":"1402142832","filename":"file1"},{"photo_id":"1402142831","filename":"file0"},{"photo_id":"1402142836","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402142832":["hashtag1","hashtag2"]},{"1402142840":["hashtag1","hashtag2"]},{"1402142843":["hashtag1","hashtag2"]},{"1402142831":["hashtag1","hashtag2"]},{"1402142833":["hashtag1","hashtag2"]},{"1402142836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402142832, 1402142840, 1402142843, 1402142831, 1402142833, 1402142836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40213203430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:51:42.704680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_12_1644.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_34_21506.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_35_1587.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_48_13085.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_57_8843.jpg', '/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_59_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_12_1644.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_34_21506.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_35_1587.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_48_13085.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_57_8843.jpg
/home/pi/Desktop/images/05112025/18/14/image_05112025_18_14_59_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":["1402142856","1402142850","1402142855","1402142852","1402142851","1402142848"],"photo_ids_order":["1402142848","1402142850","1402142851","1402142852","1402142855","1402142856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30d100bccef1e88ae0ecc67d19d98348.jpg","text":"TemporaryFile(/tmp/multipartBody7374569897034902423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351164547,"filename":"image_05112025_18_14_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/2/2c790bb8ee7a3e8f6b70d5bfde2443a9.jpg","text":"TemporaryFile(/tmp/multipartBody2478047046379046514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351164547,"filename":"image_05112025_18_14_34_21506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a5b6f14254dc5d6b3662b3757e50795.jpg","text":"TemporaryFile(/tmp/multipartBody4206886418306091515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351164547,"filename":"image_05112025_18_14_57_8843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a091a6128a1a5c627541c3c3af0fcbc4.jpg","text":"TemporaryFile(/tmp/multipartBody8265934761260640777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351164547,"filename":"image_05112025_18_14_48_13085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d403600f004d216691321b0affdecb2.jpg","text":"TemporaryFile(/tmp/multipartBody1716850468839668740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351164547,"filename":"image_05112025_18_14_35_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/2/aa2341c6ae3dbe6fd0ee408df83fb072.jpg","text":"TemporaryFile(/tmp/multipartBody6813266421837619289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351164547,"filename":"image_05112025_18_14_12_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402142851","file1":"1402142850","file0":"1402142848","file4":"1402142855","file5":"1402142856","file3":"1402142852"},"map_files_photo_id_array":[{"photo_id":"1402142856","filename":"file5"},{"photo_id":"1402142851","filename":"file2"},{"photo_id":"1402142855","filename":"file4"},{"photo_id":"1402142850","filename":"file1"},{"photo_id":"1402142848","filename":"file0"},{"photo_id":"1402142852","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402142856":["hashtag1","hashtag2"]},{"1402142850":["hashtag1","hashtag2"]},{"1402142855":["hashtag1","hashtag2"]},{"1402142852":["hashtag1","hashtag2"]},{"1402142851":["hashtag1","hashtag2"]},{"1402142848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402142856, 1402142850, 1402142855, 1402142852, 1402142851, 1402142848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88034629821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:52:21.802583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/02/image_02012026_11_02_15_9851.jpg', '/home/pi/Desktop/images/02012026/11/02/image_02012026_11_02_25_9806.jpg', '/home/pi/Desktop/images/02012026/11/03/image_02012026_11_04_05_10787.jpg', '/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_15_9680.jpg', '/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_24_9701.jpg', '/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_35_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/02/image_02012026_11_02_15_9851.jpg
/home/pi/Desktop/images/02012026/11/02/image_02012026_11_02_25_9806.jpg
/home/pi/Desktop/images/02012026/11/03/image_02012026_11_04_05_10787.jpg
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_15_9680.jpg
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_24_9701.jpg
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_35_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143119","1402142978","1402143014","1402143085","1402143160","1402143049"],"photo_ids_order":["1402142978","1402143014","1402143049","1402143085","1402143119","1402143160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b7c51e4e207cf759e4b7a1e60fd48b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7991736549051225119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351202371,"filename":"image_02012026_11_04_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/2/ec00e2c281c948ee8d4887effd18182b.jpg","text":"TemporaryFile(/tmp/multipartBody1041368564589495567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351202371,"filename":"image_02012026_11_02_15_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/2/49f53fd8e05434be972f6e7ea6152f11.jpg","text":"TemporaryFile(/tmp/multipartBody5119669872510769642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351202371,"filename":"image_02012026_11_02_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/2/f681839d459a08ed01a7a70501be3bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8235051469321546482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351202371,"filename":"image_02012026_11_04_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/2/f8af61a0f5fb73e2904001b731a26d99.jpg","text":"TemporaryFile(/tmp/multipartBody7201487571490612725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351202371,"filename":"image_02012026_11_04_35_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/2/97f89c9ab9e26ec483f310f083fcb946.jpg","text":"TemporaryFile(/tmp/multipartBody8489614458326557476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351202371,"filename":"image_02012026_11_04_05_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143049","file1":"1402143014","file0":"1402142978","file4":"1402143119","file5":"1402143160","file3":"1402143085"},"map_files_photo_id_array":[{"photo_id":"1402143160","filename":"file5"},{"photo_id":"1402143049","filename":"file2"},{"photo_id":"1402143119","filename":"file4"},{"photo_id":"1402143014","filename":"file1"},{"photo_id":"1402142978","filename":"file0"},{"photo_id":"1402143085","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402143119":["hashtag1","hashtag2"]},{"1402142978":["hashtag1","hashtag2"]},{"1402143014":["hashtag1","hashtag2"]},{"1402143085":["hashtag1","hashtag2"]},{"1402143160":["hashtag1","hashtag2"]},{"1402143049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402143119, 1402142978, 1402143014, 1402143085, 1402143160, 1402143049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.190359115600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:53:02.850691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_48_12594.jpg', '/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_54_6573.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_14_10055.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_25_10825.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_34_9651.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_44_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_48_12594.jpg
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_54_6573.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_14_10055.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_25_10825.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_34_9651.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_44_9873.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5214388370513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:53:12.016596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_01_1724.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_03_2013.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_04_1518.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_06_1743.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_08_1791.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_11_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_01_1724.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_03_2013.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_04_1518.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_06_1743.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_08_1791.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_11_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143191","1402143194","1402143200","1402143196","1402143198","1402143202"],"photo_ids_order":["1402143191","1402143194","1402143196","1402143198","1402143200","1402143202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8c931b09792952b9811bf3509c5e65c2.jpg","text":"TemporaryFile(/tmp/multipartBody1410544411894527691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351253729,"filename":"image_05112025_18_15_01_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/2/73448c67ee88e54cbbe1a6ab0a175c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8250518049946185678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351253729,"filename":"image_05112025_18_15_03_2013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0bff18fa752c667cf32f568c391c22f9.jpg","text":"TemporaryFile(/tmp/multipartBody3717154563304912520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351253729,"filename":"image_05112025_18_15_08_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/2/7d013d3b66546c85ef637fbce1d68035.jpg","text":"TemporaryFile(/tmp/multipartBody352254997317590312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351253729,"filename":"image_05112025_18_15_04_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/2/952a8a19b21b47a2074c123bc840dbbc.jpg","text":"TemporaryFile(/tmp/multipartBody8215691342581840526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351253729,"filename":"image_05112025_18_15_06_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/2/6b4907ae225c7b3fb560ac9a2f44dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody895212290698896420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351253729,"filename":"image_05112025_18_15_11_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143196","file1":"1402143194","file0":"1402143191","file4":"1402143200","file5":"1402143202","file3":"1402143198"},"map_files_photo_id_array":[{"photo_id":"1402143202","filename":"file5"},{"photo_id":"1402143196","filename":"file2"},{"photo_id":"1402143200","filename":"file4"},{"photo_id":"1402143194","filename":"file1"},{"photo_id":"1402143191","filename":"file0"},{"photo_id":"1402143198","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402143191":["hashtag1","hashtag2"]},{"1402143194":["hashtag1","hashtag2"]},{"1402143200":["hashtag1","hashtag2"]},{"1402143196":["hashtag1","hashtag2"]},{"1402143198":["hashtag1","hashtag2"]},{"1402143202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402143191, 1402143194, 1402143200, 1402143196, 1402143198, 1402143202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.82539367675781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:54:02.741169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_48_12594.jpg', '/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_54_6573.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_14_10055.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_25_10825.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_34_9651.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_44_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_48_12594.jpg
/home/pi/Desktop/images/02012026/11/04/image_02012026_11_04_54_6573.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_14_10055.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_25_10825.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_34_9651.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_44_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143213","1402143215","1402143209","1402143211","1402143214","1402143217"],"photo_ids_order":["1402143209","1402143211","1402143213","1402143214","1402143215","1402143217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a057134c463fd619d151d26ee02693c5.jpg","text":"TemporaryFile(/tmp/multipartBody9034185113473691598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351306145,"filename":"image_02012026_11_05_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/2/66494b663f05540ca7dbfe4972f3cde5.jpg","text":"TemporaryFile(/tmp/multipartBody5207513360315432442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351306145,"filename":"image_02012026_11_05_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/2/a47dd22680af15126330686cbb074084.jpg","text":"TemporaryFile(/tmp/multipartBody7687088199727894488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351306145,"filename":"image_02012026_11_04_48_12594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/90b2b1819fa42f611c0bf5aeaa9bd490.jpg","text":"TemporaryFile(/tmp/multipartBody6978337672713085450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351306145,"filename":"image_02012026_11_04_54_6573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28143f0aede8db481ebc24519b586094.jpg","text":"TemporaryFile(/tmp/multipartBody3671060672127662893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351306145,"filename":"image_02012026_11_05_25_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/2/55334e302d1d851e8b74fa6413a49803.jpg","text":"TemporaryFile(/tmp/multipartBody3366607596576038203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351306145,"filename":"image_02012026_11_05_44_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143213","file1":"1402143211","file0":"1402143209","file4":"1402143215","file5":"1402143217","file3":"1402143214"},"map_files_photo_id_array":[{"photo_id":"1402143217","filename":"file5"},{"photo_id":"1402143213","filename":"file2"},{"photo_id":"1402143215","filename":"file4"},{"photo_id":"1402143211","filename":"file1"},{"photo_id":"1402143209","filename":"file0"},{"photo_id":"1402143214","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402143213":["hashtag1","hashtag2"]},{"1402143215":["hashtag1","hashtag2"]},{"1402143209":["hashtag1","hashtag2"]},{"1402143211":["hashtag1","hashtag2"]},{"1402143214":["hashtag1","hashtag2"]},{"1402143217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402143213, 1402143215, 1402143209, 1402143211, 1402143214, 1402143217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09401774406433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:54:42.194651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_13_1623.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_26_13302.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_29_3098.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_31_1563.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_34_1770.jpg', '/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_55_21302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_13_1623.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_26_13302.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_29_3098.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_31_1563.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_34_1770.jpg
/home/pi/Desktop/images/05112025/18/15/image_05112025_18_15_55_21302.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143234","1402143231","1402143233","1402143226","1402143235","1402143229"],"photo_ids_order":["1402143226","1402143229","1402143231","1402143233","1402143234","1402143235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/204e9b517b20669c52444e13d08fbab2.jpg","text":"TemporaryFile(/tmp/multipartBody7792439969543228793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351343977,"filename":"image_05112025_18_15_34_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/2/a4d6980d853c4223dd091f985d00aaba.jpg","text":"TemporaryFile(/tmp/multipartBody8728875091520241897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351343977,"filename":"image_05112025_18_15_29_3098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ad45ea4279039ac1df048168f7658a1.jpg","text":"TemporaryFile(/tmp/multipartBody7413527074843794818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351343977,"filename":"image_05112025_18_15_31_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/2/375735c2ea3cd6f7bd70085fbac7d033.jpg","text":"TemporaryFile(/tmp/multipartBody8057318246202160413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351343977,"filename":"image_05112025_18_15_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/2/abc780aa3ed05699265c8feb1dc10648.jpg","text":"TemporaryFile(/tmp/multipartBody2528163785300728666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351343977,"filename":"image_05112025_18_15_55_21302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2961c6f15feddeb9b14624ea7ded4599.jpg","text":"TemporaryFile(/tmp/multipartBody7462134782172434436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351343977,"filename":"image_05112025_18_15_26_13302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143231","file1":"1402143229","file0":"1402143226","file4":"1402143234","file5":"1402143235","file3":"1402143233"},"map_files_photo_id_array":[{"photo_id":"1402143235","filename":"file5"},{"photo_id":"1402143231","filename":"file2"},{"photo_id":"1402143234","filename":"file4"},{"photo_id":"1402143229","filename":"file1"},{"photo_id":"1402143226","filename":"file0"},{"photo_id":"1402143233","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402143234":["hashtag1","hashtag2"]},{"1402143231":["hashtag1","hashtag2"]},{"1402143233":["hashtag1","hashtag2"]},{"1402143226":["hashtag1","hashtag2"]},{"1402143235":["hashtag1","hashtag2"]},{"1402143229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402143234, 1402143231, 1402143233, 1402143226, 1402143235, 1402143229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82518124580383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:55:22.491338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_54_9768.jpg', '/home/pi/Desktop/images/02012026/11/05/image_02012026_11_06_04_10598.jpg', '/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_14_9602.jpg', '/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_24_9681.jpg', '/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_34_10674.jpg', '/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_44_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_05_54_9768.jpg
/home/pi/Desktop/images/02012026/11/05/image_02012026_11_06_04_10598.jpg
/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_14_9602.jpg
/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_24_9681.jpg
/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_34_10674.jpg
/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_44_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143246","1402143248","1402143242","1402143250","1402143244","1402143253"],"photo_ids_order":["1402143242","1402143244","1402143246","1402143248","1402143250","1402143253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c1a21c7ad5afedc1ed355850905ed68.jpg","text":"TemporaryFile(/tmp/multipartBody3561433474424611243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351383080,"filename":"image_02012026_11_06_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/2/4fdf29081f7fa9679780fc93c092353a.jpg","text":"TemporaryFile(/tmp/multipartBody7116926026759934468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351383080,"filename":"image_02012026_11_06_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/2/6f883d16fd37d87863d70db185818e02.jpg","text":"TemporaryFile(/tmp/multipartBody3874217958000405925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351383080,"filename":"image_02012026_11_05_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c62b247f4a1bf9e205453d6a91d296e.jpg","text":"TemporaryFile(/tmp/multipartBody6923625085897741318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351383080,"filename":"image_02012026_11_06_34_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/2/99b5d37b18563ee78eee524cf205c708.jpg","text":"TemporaryFile(/tmp/multipartBody575694740690409723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351383080,"filename":"image_02012026_11_06_04_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/2/2a5ce71e4321a3c5bf8f7b7e02174c3e.jpg","text":"TemporaryFile(/tmp/multipartBody7222727739476906979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351383080,"filename":"image_02012026_11_06_44_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143246","file1":"1402143244","file0":"1402143242","file4":"1402143250","file5":"1402143253","file3":"1402143248"},"map_files_photo_id_array":[{"photo_id":"1402143253","filename":"file5"},{"photo_id":"1402143246","filename":"file2"},{"photo_id":"1402143250","filename":"file4"},{"photo_id":"1402143244","filename":"file1"},{"photo_id":"1402143242","filename":"file0"},{"photo_id":"1402143248","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402143246":["hashtag1","hashtag2"]},{"1402143248":["hashtag1","hashtag2"]},{"1402143242":["hashtag1","hashtag2"]},{"1402143250":["hashtag1","hashtag2"]},{"1402143244":["hashtag1","hashtag2"]},{"1402143253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402143246, 1402143248, 1402143242, 1402143250, 1402143244, 1402143253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04258394241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:56:03.135828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_55_10618.jpg', '/home/pi/Desktop/images/02012026/11/06/image_02012026_11_07_04_9795.jpg', '/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_14_9584.jpg', '/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_24_9745.jpg', '/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_34_10693.jpg', '/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_44_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/06/image_02012026_11_06_55_10618.jpg
/home/pi/Desktop/images/02012026/11/06/image_02012026_11_07_04_9795.jpg
/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_14_9584.jpg
/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_24_9745.jpg
/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_34_10693.jpg
/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_44_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":["1402143255","1402143257","1402143262","1402143265","1402143259","1402143267"],"photo_ids_order":["1402143255","1402143257","1402143259","1402143262","1402143265","1402143267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/944eaa862befa35f7ae2486b131ba259.jpg","text":"TemporaryFile(/tmp/multipartBody8257310002515395920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351423773,"filename":"image_02012026_11_06_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/2/ca4fcdd36846e07122a6d1fb9ea4ada6.jpg","text":"TemporaryFile(/tmp/multipartBody615562376304359846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351423773,"filename":"image_02012026_11_07_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/2/3f5600ab0c205b9a101696d915a24861.jpg","text":"TemporaryFile(/tmp/multipartBody852425904395208883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351423773,"filename":"image_02012026_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/2/702d145eaabedc993d4f6781a4a8e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5441079818516197221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351423773,"filename":"image_02012026_11_07_34_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/2/2e1d3ce131342206a85b59c774121a99.jpg","text":"TemporaryFile(/tmp/multipartBody6278208177485682847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351423773,"filename":"image_02012026_11_07_14_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/2/cac20c5e9ccc23b91b29159922fcdc99.jpg","text":"TemporaryFile(/tmp/multipartBody1860663436141337587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351423773,"filename":"image_02012026_11_07_44_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143259","file1":"1402143257","file0":"1402143255","file4":"1402143265","file5":"1402143267","file3":"1402143262"},"map_files_photo_id_array":[{"photo_id":"1402143267","filename":"file5"},{"photo_id":"1402143259","filename":"file2"},{"photo_id":"1402143265","filename":"file4"},{"photo_id":"1402143257","filename":"file1"},{"photo_id":"1402143255","filename":"file0"},{"photo_id":"1402143262","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402143255":["hashtag1","hashtag2"]},{"1402143257":["hashtag1","hashtag2"]},{"1402143262":["hashtag1","hashtag2"]},{"1402143265":["hashtag1","hashtag2"]},{"1402143259":["hashtag1","hashtag2"]},{"1402143267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402143255, 1402143257, 1402143262, 1402143265, 1402143259, 1402143267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22818446159363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:56:42.653732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_10_14600.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_12_1734.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_16_4442.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_18_1793.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_21_1710.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_23_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_10_14600.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_12_1734.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_16_4442.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_18_1793.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_21_1710.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_23_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":["1402143309","1402143308","1402143277","1402143310","1402143307","1402143294"],"photo_ids_order":["1402143277","1402143294","1402143307","1402143308","1402143309","1402143310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/858b24634a135eef33020e2acb0870d9.jpg","text":"TemporaryFile(/tmp/multipartBody909342896105914239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351464393,"filename":"image_05112025_18_16_21_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/2/a7bd828aec4e96c26b4fd20dbca28e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1372061430616298757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351464393,"filename":"image_05112025_18_16_18_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/828bc460b25cb308452db12679d38e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8042201227252405697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351464393,"filename":"image_05112025_18_16_10_14600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/663a311747e7193742f10c473a5b2c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2697290230664418482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351464393,"filename":"image_05112025_18_16_23_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/2/251c2ef8cc8c920853930b1c2014f49f.jpg","text":"TemporaryFile(/tmp/multipartBody2115391497167186210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351464393,"filename":"image_05112025_18_16_16_4442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46d49f6848439d5484dee1e69885ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody8026775984104179596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351464393,"filename":"image_05112025_18_16_12_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143307","file1":"1402143294","file0":"1402143277","file4":"1402143309","file5":"1402143310","file3":"1402143308"},"map_files_photo_id_array":[{"photo_id":"1402143310","filename":"file5"},{"photo_id":"1402143307","filename":"file2"},{"photo_id":"1402143309","filename":"file4"},{"photo_id":"1402143294","filename":"file1"},{"photo_id":"1402143277","filename":"file0"},{"photo_id":"1402143308","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402143309":["hashtag1","hashtag2"]},{"1402143308":["hashtag1","hashtag2"]},{"1402143277":["hashtag1","hashtag2"]},{"1402143310":["hashtag1","hashtag2"]},{"1402143307":["hashtag1","hashtag2"]},{"1402143294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402143309, 1402143308, 1402143277, 1402143310, 1402143307, 1402143294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33595585823059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 11:57:21.965640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_54_9619.jpg', '/home/pi/Desktop/images/02012026/11/07/image_02012026_11_08_04_10718.jpg', '/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_14_9660.jpg', '/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_24_9796.jpg', '/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_35_10655.jpg', '/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_45_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/07/image_02012026_11_07_54_9619.jpg
/home/pi/Desktop/images/02012026/11/07/image_02012026_11_08_04_10718.jpg
/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_14_9660.jpg
/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_24_9796.jpg
/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_35_10655.jpg
/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_45_9944.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143321","1402143356","1402143353","1402143325","1402143334","1402143351"],"photo_ids_order":["1402143321","1402143325","1402143334","1402143351","1402143353","1402143356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a69bccaa9ee26fa70d2724a97698cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody4320510385146784000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351502561,"filename":"image_02012026_11_07_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/2/8f69ca259c0b652b23db66f32f507e37.jpg","text":"TemporaryFile(/tmp/multipartBody4359360444194280959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351502561,"filename":"image_02012026_11_08_45_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1295eb4a6d0d4b48ea28e8cbbac0b72d.jpg","text":"TemporaryFile(/tmp/multipartBody2603951331630630697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351502561,"filename":"image_02012026_11_08_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/2/ddd5489e7815d7ff0f00c2b0e0c13724.jpg","text":"TemporaryFile(/tmp/multipartBody6446193929013001701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351502561,"filename":"image_02012026_11_08_04_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/2/d146c5d3666eb1fe92dfe404e4ceadc1.jpg","text":"TemporaryFile(/tmp/multipartBody5424325893571398638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351502561,"filename":"image_02012026_11_08_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/2/1948aa0984b940310994b856365af93b.jpg","text":"TemporaryFile(/tmp/multipartBody2556570362484090670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351502561,"filename":"image_02012026_11_08_24_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143334","file1":"1402143325","file0":"1402143321","file4":"1402143353","file5":"1402143356","file3":"1402143351"},"map_files_photo_id_array":[{"photo_id":"1402143356","filename":"file5"},{"photo_id":"1402143334","filename":"file2"},{"photo_id":"1402143353","filename":"file4"},{"photo_id":"1402143325","filename":"file1"},{"photo_id":"1402143321","filename":"file0"},{"photo_id":"1402143351","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402143321":["hashtag1","hashtag2"]},{"1402143356":["hashtag1","hashtag2"]},{"1402143353":["hashtag1","hashtag2"]},{"1402143325":["hashtag1","hashtag2"]},{"1402143334":["hashtag1","hashtag2"]},{"1402143351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402143321, 1402143356, 1402143353, 1402143325, 1402143334, 1402143351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.149218797683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 11:59:03.197826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_54_9733.jpg', '/home/pi/Desktop/images/02012026/11/08/image_02012026_11_09_04_9718.jpg', '/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_24_9795.jpg', '/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_34_9738.jpg', '/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_44_9678.jpg', '/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_54_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/08/image_02012026_11_08_54_9733.jpg
/home/pi/Desktop/images/02012026/11/08/image_02012026_11_09_04_9718.jpg
/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_24_9795.jpg
/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_34_9738.jpg
/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_44_9678.jpg
/home/pi/Desktop/images/02012026/11/09/image_02012026_11_09_54_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143365","1402143368","1402143373","1402143376","1402143361","1402143370"],"photo_ids_order":["1402143361","1402143365","1402143368","1402143370","1402143373","1402143376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee275243e59db7c57a10de59d4807087.jpg","text":"TemporaryFile(/tmp/multipartBody7921319230706978253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351603977,"filename":"image_02012026_11_09_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/2/b73967bd1d4ab14ae6b5af02a45a2a32.jpg","text":"TemporaryFile(/tmp/multipartBody5180921713985486121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351603977,"filename":"image_02012026_11_09_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/2/a1dd1c3f94cf9f4dc45bd8fcefd86e16.jpg","text":"TemporaryFile(/tmp/multipartBody8952114533902899619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351603977,"filename":"image_02012026_11_09_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/2/68a918df72a1fd0ae064e1135e97e6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1306886793318432955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351603977,"filename":"image_02012026_11_09_54_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/2/1f57362744d6d5645adc1c3f0c7c85af.jpg","text":"TemporaryFile(/tmp/multipartBody785522182107152733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351603977,"filename":"image_02012026_11_08_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/2/f0d72e6894c1424c4824fade45bfb226.jpg","text":"TemporaryFile(/tmp/multipartBody8755613770993342145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351603977,"filename":"image_02012026_11_09_34_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143368","file1":"1402143365","file0":"1402143361","file4":"1402143373","file5":"1402143376","file3":"1402143370"},"map_files_photo_id_array":[{"photo_id":"1402143376","filename":"file5"},{"photo_id":"1402143368","filename":"file2"},{"photo_id":"1402143373","filename":"file4"},{"photo_id":"1402143365","filename":"file1"},{"photo_id":"1402143361","filename":"file0"},{"photo_id":"1402143370","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402143365":["hashtag1","hashtag2"]},{"1402143368":["hashtag1","hashtag2"]},{"1402143373":["hashtag1","hashtag2"]},{"1402143376":["hashtag1","hashtag2"]},{"1402143361":["hashtag1","hashtag2"]},{"1402143370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402143365, 1402143368, 1402143373, 1402143376, 1402143361, 1402143370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45817279815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 11:59:42.239560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_24_1814.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_26_1573.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_28_1768.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_29_1525.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_31_1526.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_32_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_24_1814.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_26_1573.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_28_1768.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_29_1525.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_31_1526.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_32_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402143389","1402143383","1402143416","1402143454","1402143421","1402143418"],"photo_ids_order":["1402143383","1402143389","1402143416","1402143418","1402143421","1402143454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/47cd70e2187b8b65c41341c904df3af2.jpg","text":"TemporaryFile(/tmp/multipartBody5290322848416477906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351644092,"filename":"image_05112025_18_16_26_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/2/04ae17c88a6303ed63ff398bd14a3bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5733565242787206231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351644092,"filename":"image_05112025_18_16_24_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/2/573215cb0c0245110ab21d8d4afc5970.jpg","text":"TemporaryFile(/tmp/multipartBody7244871419085943802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351644092,"filename":"image_05112025_18_16_28_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b63ea6b668e785fdaa2be9c1eda0b3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5236312886504613474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351644092,"filename":"image_05112025_18_16_32_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/2/e5d5eeb11294369cec39ff887294c195.jpg","text":"TemporaryFile(/tmp/multipartBody7813152354968594862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351644092,"filename":"image_05112025_18_16_31_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c668c9de52be9899e54f0a7642b17dad.jpg","text":"TemporaryFile(/tmp/multipartBody400453206488578612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351644092,"filename":"image_05112025_18_16_29_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143416","file1":"1402143389","file0":"1402143383","file4":"1402143421","file5":"1402143454","file3":"1402143418"},"map_files_photo_id_array":[{"photo_id":"1402143454","filename":"file5"},{"photo_id":"1402143416","filename":"file2"},{"photo_id":"1402143421","filename":"file4"},{"photo_id":"1402143389","filename":"file1"},{"photo_id":"1402143383","filename":"file0"},{"photo_id":"1402143418","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402143389":["hashtag1","hashtag2"]},{"1402143383":["hashtag1","hashtag2"]},{"1402143416":["hashtag1","hashtag2"]},{"1402143454":["hashtag1","hashtag2"]},{"1402143421":["hashtag1","hashtag2"]},{"1402143418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402143389, 1402143383, 1402143416, 1402143454, 1402143421, 1402143418)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.559123277664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:00:32.457228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_34_1683.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_36_1691.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_38_1807.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_39_1642.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_41_1616.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_43_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_34_1683.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_36_1691.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_38_1807.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_39_1642.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_41_1616.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_43_1648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7845101356506348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:00:42.407950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_34_1683.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_36_1691.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_38_1807.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_39_1642.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_41_1616.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_43_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_34_1683.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_36_1691.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_38_1807.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_39_1642.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_41_1616.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_43_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":["1402143744","1402143962","1402143923","1402143847","1402143808","1402143885"],"photo_ids_order":["1402143744","1402143808","1402143847","1402143885","1402143923","1402143962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/becfe623efc1e462f8feae7c278c58d2.jpg","text":"TemporaryFile(/tmp/multipartBody6448472995879532253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351704137,"filename":"image_05112025_18_16_34_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/2/ea5e947cc79baab21206d96a1ae29b37.jpg","text":"TemporaryFile(/tmp/multipartBody2543577593006933419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351704137,"filename":"image_05112025_18_16_43_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/2/7d2ff8f3c76ebeae3eb9484ed36f4411.jpg","text":"TemporaryFile(/tmp/multipartBody4672485274086027683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351704137,"filename":"image_05112025_18_16_41_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/2/db6e379c3d9ebe3958df346b154cbee7.jpg","text":"TemporaryFile(/tmp/multipartBody1761563958935734887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351704137,"filename":"image_05112025_18_16_38_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/2/1874624514135ce5caefad00f9dff399.jpg","text":"TemporaryFile(/tmp/multipartBody2428355801483607090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351704137,"filename":"image_05112025_18_16_36_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/2/60828ba5df8c5d57eebccf313ed37b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6890537446730635538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351704137,"filename":"image_05112025_18_16_39_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402143847","file1":"1402143808","file0":"1402143744","file4":"1402143923","file5":"1402143962","file3":"1402143885"},"map_files_photo_id_array":[{"photo_id":"1402143962","filename":"file5"},{"photo_id":"1402143847","filename":"file2"},{"photo_id":"1402143923","filename":"file4"},{"photo_id":"1402143808","filename":"file1"},{"photo_id":"1402143744","filename":"file0"},{"photo_id":"1402143885","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402143744":["hashtag1","hashtag2"]},{"1402143962":["hashtag1","hashtag2"]},{"1402143923":["hashtag1","hashtag2"]},{"1402143847":["hashtag1","hashtag2"]},{"1402143808":["hashtag1","hashtag2"]},{"1402143885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402143744, 1402143962, 1402143923, 1402143847, 1402143808, 1402143885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89057469367981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:01:22.567604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_14_10058.jpg', '/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_24_9960.jpg', '/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_34_10622.jpg', '/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_44_9649.jpg', '/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_55_10709.jpg', '/home/pi/Desktop/images/02012026/11/10/image_02012026_11_11_04_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_14_10058.jpg
/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_24_9960.jpg
/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_34_10622.jpg
/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_44_9649.jpg
/home/pi/Desktop/images/02012026/11/10/image_02012026_11_10_55_10709.jpg
/home/pi/Desktop/images/02012026/11/10/image_02012026_11_11_04_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402144046","1402144135","1402144042","1402144048","1402144068","1402144044"],"photo_ids_order":["1402144042","1402144044","1402144046","1402144048","1402144068","1402144135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dcc0792c55f92b0f11aa3d32553c0f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7247640614784721457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351743193,"filename":"image_02012026_11_10_34_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/2/9a0971896105175a3670330c47e5eb55.jpg","text":"TemporaryFile(/tmp/multipartBody1107807941171684772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351743193,"filename":"image_02012026_11_11_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/2/99e4d08525a82d66af35cc9d81e10b05.jpg","text":"TemporaryFile(/tmp/multipartBody6354718690081017637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351743193,"filename":"image_02012026_11_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/2/f7b6e9f4c49cd9fb03655bfe3cc9274e.jpg","text":"TemporaryFile(/tmp/multipartBody8902529684087056543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351743193,"filename":"image_02012026_11_10_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/2/7a781756d6cb463b04488c0eb8d0aa57.jpg","text":"TemporaryFile(/tmp/multipartBody5039183428891808748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351743193,"filename":"image_02012026_11_10_55_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/2/2c00a8ec5ff7d1a4734797a3abee42a8.jpg","text":"TemporaryFile(/tmp/multipartBody544135405803912660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351743193,"filename":"image_02012026_11_10_24_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402144046","file1":"1402144044","file0":"1402144042","file4":"1402144068","file5":"1402144135","file3":"1402144048"},"map_files_photo_id_array":[{"photo_id":"1402144135","filename":"file5"},{"photo_id":"1402144046","filename":"file2"},{"photo_id":"1402144068","filename":"file4"},{"photo_id":"1402144044","filename":"file1"},{"photo_id":"1402144042","filename":"file0"},{"photo_id":"1402144048","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402144046":["hashtag1","hashtag2"]},{"1402144135":["hashtag1","hashtag2"]},{"1402144042":["hashtag1","hashtag2"]},{"1402144048":["hashtag1","hashtag2"]},{"1402144068":["hashtag1","hashtag2"]},{"1402144044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402144046, 1402144135, 1402144042, 1402144048, 1402144068, 1402144044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6378858089447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:02:03.180802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_14_9660.jpg', '/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_24_9733.jpg', '/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_35_10759.jpg', '/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_44_9562.jpg', '/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_55_10542.jpg', '/home/pi/Desktop/images/02012026/11/11/image_02012026_11_12_05_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_14_9660.jpg
/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_24_9733.jpg
/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_35_10759.jpg
/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_44_9562.jpg
/home/pi/Desktop/images/02012026/11/11/image_02012026_11_11_55_10542.jpg
/home/pi/Desktop/images/02012026/11/11/image_02012026_11_12_05_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":["1402144367","1402144457","1402144400","1402144374","1402144443","1402144341"],"photo_ids_order":["1402144341","1402144367","1402144374","1402144400","1402144443","1402144457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78c1c6fa306465ed1e878f87c449cb4b.jpg","text":"TemporaryFile(/tmp/multipartBody3627716631680955171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351783786,"filename":"image_02012026_11_11_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/2/f5d4708a4aaf680d5b3e01f60a9d07a4.jpg","text":"TemporaryFile(/tmp/multipartBody3344405271836493448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351783786,"filename":"image_02012026_11_12_05_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/2/1a7b803b423a6a57e1fb7606b5ef47b4.jpg","text":"TemporaryFile(/tmp/multipartBody8619543710312416531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351783786,"filename":"image_02012026_11_11_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/2/17ee16af52baea7e155f10abb5e3ff03.jpg","text":"TemporaryFile(/tmp/multipartBody4460864697845244011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351783786,"filename":"image_02012026_11_11_35_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/2/f16bb8517589f3b1f330199e195e025a.jpg","text":"TemporaryFile(/tmp/multipartBody8593364933781925903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351783786,"filename":"image_02012026_11_11_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/2/159d0511de196cd7aaced67b992e2516.jpg","text":"TemporaryFile(/tmp/multipartBody1018452834514827959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351783786,"filename":"image_02012026_11_11_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402144374","file1":"1402144367","file0":"1402144341","file4":"1402144443","file5":"1402144457","file3":"1402144400"},"map_files_photo_id_array":[{"photo_id":"1402144457","filename":"file5"},{"photo_id":"1402144374","filename":"file2"},{"photo_id":"1402144443","filename":"file4"},{"photo_id":"1402144367","filename":"file1"},{"photo_id":"1402144341","filename":"file0"},{"photo_id":"1402144400","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402144367":["hashtag1","hashtag2"]},{"1402144457":["hashtag1","hashtag2"]},{"1402144400":["hashtag1","hashtag2"]},{"1402144374":["hashtag1","hashtag2"]},{"1402144443":["hashtag1","hashtag2"]},{"1402144341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402144367, 1402144457, 1402144400, 1402144374, 1402144443, 1402144341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.248005628585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:02:42.843971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_46_3697.jpg', '/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_52_5505.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_08_3013.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_11_3804.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_14_2534.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_18_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_46_3697.jpg
/home/pi/Desktop/images/05112025/18/16/image_05112025_18_16_52_5505.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_08_3013.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_11_3804.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_14_2534.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_18_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402144521","1402144522","1402144497","1402144578","1402144533","1402144512"],"photo_ids_order":["1402144497","1402144512","1402144521","1402144522","1402144533","1402144578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/937cfe5e01d8c8cc513eef48a54da9fa.jpg","text":"TemporaryFile(/tmp/multipartBody3729268183480245022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351824741,"filename":"image_05112025_18_20_08_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/2/757a6beb38d2f814c5bbb93c5bfc3f09.jpg","text":"TemporaryFile(/tmp/multipartBody8872393998161250652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351824741,"filename":"image_05112025_18_20_11_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/2/da64042f3e16fe725456164f87cda5fc.jpg","text":"TemporaryFile(/tmp/multipartBody365060656742843885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351824741,"filename":"image_05112025_18_16_46_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/2/edd18d29316ca860f22d78561a3ae8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7491066366416598002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351824741,"filename":"image_05112025_18_20_18_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/2/ee924b5060c7f54350aa0ae479478c30.jpg","text":"TemporaryFile(/tmp/multipartBody5268745550453304417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351824741,"filename":"image_05112025_18_20_14_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/2/21d94dbeb717dc9d1714a8b19c1a74f9.jpg","text":"TemporaryFile(/tmp/multipartBody2517891279667681625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351824741,"filename":"image_05112025_18_16_52_5505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402144521","file1":"1402144512","file0":"1402144497","file4":"1402144533","file5":"1402144578","file3":"1402144522"},"map_files_photo_id_array":[{"photo_id":"1402144578","filename":"file5"},{"photo_id":"1402144521","filename":"file2"},{"photo_id":"1402144533","filename":"file4"},{"photo_id":"1402144512","filename":"file1"},{"photo_id":"1402144497","filename":"file0"},{"photo_id":"1402144522","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402144521":["hashtag1","hashtag2"]},{"1402144522":["hashtag1","hashtag2"]},{"1402144497":["hashtag1","hashtag2"]},{"1402144578":["hashtag1","hashtag2"]},{"1402144533":["hashtag1","hashtag2"]},{"1402144512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402144521, 1402144522, 1402144497, 1402144578, 1402144533, 1402144512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00333118438721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:03:32.030470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_20_2817.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_23_2593.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_29_3684.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_32_2779.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_35_2615.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_38_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_20_2817.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_23_2593.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_29_3684.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_32_2779.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_35_2615.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_38_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":["1402144769","1402144907","1402144805","1402144840","1402144872","1402144941"],"photo_ids_order":["1402144769","1402144805","1402144840","1402144872","1402144907","1402144941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a11236dfd6958c68e69978dd08735602.jpg","text":"TemporaryFile(/tmp/multipartBody436612402161552397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351873884,"filename":"image_05112025_18_20_20_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/2/024b8c663b9d9bb0bd5d7af5438cc0e3.jpg","text":"TemporaryFile(/tmp/multipartBody467834390612028490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351873884,"filename":"image_05112025_18_20_35_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/2/830b00a9ca5449aaf5bb7b9d3cf858eb.jpg","text":"TemporaryFile(/tmp/multipartBody7044696597973292834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351873884,"filename":"image_05112025_18_20_23_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/2/1a8d20d3bfac0016c2a021dc8f9474b1.jpg","text":"TemporaryFile(/tmp/multipartBody1982247566887173704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351873884,"filename":"image_05112025_18_20_29_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/2/051782ad4512daac7f71688425113ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1105130098842562336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351873884,"filename":"image_05112025_18_20_32_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/2/094ee931c03dde25082532287361e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody3326305025034720669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351873884,"filename":"image_05112025_18_20_38_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402144840","file1":"1402144805","file0":"1402144769","file4":"1402144907","file5":"1402144941","file3":"1402144872"},"map_files_photo_id_array":[{"photo_id":"1402144941","filename":"file5"},{"photo_id":"1402144840","filename":"file2"},{"photo_id":"1402144907","filename":"file4"},{"photo_id":"1402144805","filename":"file1"},{"photo_id":"1402144769","filename":"file0"},{"photo_id":"1402144872","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402144769":["hashtag1","hashtag2"]},{"1402144907":["hashtag1","hashtag2"]},{"1402144805":["hashtag1","hashtag2"]},{"1402144840":["hashtag1","hashtag2"]},{"1402144872":["hashtag1","hashtag2"]},{"1402144941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402144769, 1402144907, 1402144805, 1402144840, 1402144872, 1402144941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40690302848816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:04:12.119116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_41_2725.jpg', '/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_44_2588.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_06_3016.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_16_3062.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_19_2709.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_22_2988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_41_2725.jpg
/home/pi/Desktop/images/05112025/18/20/image_05112025_18_20_44_2588.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_06_3016.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_16_3062.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_19_2709.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_22_2988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402145126","1402145161","1402145206","1402145265","1402145247","1402145087"],"photo_ids_order":["1402145087","1402145126","1402145161","1402145206","1402145247","1402145265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c655d9e1f37cedddabfb4e1e96bd366.jpg","text":"TemporaryFile(/tmp/multipartBody2352797238689293968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351913924,"filename":"image_05112025_18_20_44_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/2/e63d6dcb51ffb9e5f0aa3fab184ce31c.jpg","text":"TemporaryFile(/tmp/multipartBody6395971187860843670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351913924,"filename":"image_05112025_18_22_06_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4edc2d23066ee160e995e73746590f11.jpg","text":"TemporaryFile(/tmp/multipartBody2540075746195289997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351913924,"filename":"image_05112025_18_22_16_3062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f459ee073138ba19d1ebcd47d2ee2b6f.jpg","text":"TemporaryFile(/tmp/multipartBody852100488805884108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351913924,"filename":"image_05112025_18_22_22_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/2/46810528fb020ac8e95960a6f610b31a.jpg","text":"TemporaryFile(/tmp/multipartBody5463201313327641314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351913924,"filename":"image_05112025_18_22_19_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/2/ff97854c170d344e864245f34c52026d.jpg","text":"TemporaryFile(/tmp/multipartBody206499063419955626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351913924,"filename":"image_05112025_18_20_41_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402145161","file1":"1402145126","file0":"1402145087","file4":"1402145247","file5":"1402145265","file3":"1402145206"},"map_files_photo_id_array":[{"photo_id":"1402145265","filename":"file5"},{"photo_id":"1402145161","filename":"file2"},{"photo_id":"1402145247","filename":"file4"},{"photo_id":"1402145126","filename":"file1"},{"photo_id":"1402145087","filename":"file0"},{"photo_id":"1402145206","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402145126":["hashtag1","hashtag2"]},{"1402145161":["hashtag1","hashtag2"]},{"1402145206":["hashtag1","hashtag2"]},{"1402145265":["hashtag1","hashtag2"]},{"1402145247":["hashtag1","hashtag2"]},{"1402145087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402145126, 1402145161, 1402145206, 1402145265, 1402145247, 1402145087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47584843635559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:05:03.044597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_14_9601.jpg', '/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_24_9831.jpg', '/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_35_10561.jpg', '/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_44_9692.jpg', '/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_54_9733.jpg', '/home/pi/Desktop/images/02012026/11/12/image_02012026_11_13_04_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_14_9601.jpg
/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_24_9831.jpg
/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_35_10561.jpg
/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_44_9692.jpg
/home/pi/Desktop/images/02012026/11/12/image_02012026_11_12_54_9733.jpg
/home/pi/Desktop/images/02012026/11/12/image_02012026_11_13_04_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":["1402145468","1402145441","1402145414","1402145438","1402145380","1402145443"],"photo_ids_order":["1402145380","1402145414","1402145438","1402145441","1402145443","1402145468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91ac7b19d8e46e310f9d86770b60918d.jpg","text":"TemporaryFile(/tmp/multipartBody8408466706963448259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351963693,"filename":"image_02012026_11_13_04_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/2/d8c7a08bd0174546f8770006cde76871.jpg","text":"TemporaryFile(/tmp/multipartBody4016985796678647353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351963693,"filename":"image_02012026_11_12_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/2/fa5c78f33590f422480a7cdbadeb9048.jpg","text":"TemporaryFile(/tmp/multipartBody4567759575813624560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351963693,"filename":"image_02012026_11_12_24_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/2/729a1b150ed51ab29d42d352569798e1.jpg","text":"TemporaryFile(/tmp/multipartBody3933499644817493220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351963693,"filename":"image_02012026_11_12_35_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/2/127adc8bfcbeceba852fb67152d2cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody5101312960477271577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351963693,"filename":"image_02012026_11_12_14_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/2/3eb9ca72b6f157276216428b30c2619b.jpg","text":"TemporaryFile(/tmp/multipartBody681936096031602036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767351963693,"filename":"image_02012026_11_12_54_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402145438","file1":"1402145414","file0":"1402145380","file4":"1402145443","file5":"1402145468","file3":"1402145441"},"map_files_photo_id_array":[{"photo_id":"1402145468","filename":"file5"},{"photo_id":"1402145438","filename":"file2"},{"photo_id":"1402145443","filename":"file4"},{"photo_id":"1402145414","filename":"file1"},{"photo_id":"1402145380","filename":"file0"},{"photo_id":"1402145441","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402145468":["hashtag1","hashtag2"]},{"1402145441":["hashtag1","hashtag2"]},{"1402145414":["hashtag1","hashtag2"]},{"1402145438":["hashtag1","hashtag2"]},{"1402145380":["hashtag1","hashtag2"]},{"1402145443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402145468, 1402145441, 1402145414, 1402145438, 1402145380, 1402145443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3402054309845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:05:42.426014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_25_3544.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_28_2639.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_40_2760.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_43_2802.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_46_3704.jpg', '/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_49_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_25_3544.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_28_2639.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_40_2760.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_43_2802.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_46_3704.jpg
/home/pi/Desktop/images/05112025/18/22/image_05112025_18_22_49_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402145881","1402145845","1402145920","1402145679","1402145808","1402145741"],"photo_ids_order":["1402145679","1402145741","1402145808","1402145845","1402145881","1402145920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3cbcbdd4982af426f0f946f3228aa180.jpg","text":"TemporaryFile(/tmp/multipartBody4374467917683848593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352004290,"filename":"image_05112025_18_22_46_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/2/92d75321a111f795d3d13ad85d5a95f6.jpg","text":"TemporaryFile(/tmp/multipartBody7897994844856863343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352004290,"filename":"image_05112025_18_22_43_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/2/67e08241e18daab39fa7b880d683256e.jpg","text":"TemporaryFile(/tmp/multipartBody5229721421607593713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352004290,"filename":"image_05112025_18_22_49_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/2/9ed2b2e4db4eaa8f380fddc260a0c626.jpg","text":"TemporaryFile(/tmp/multipartBody1235307106934020731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352004290,"filename":"image_05112025_18_22_25_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/2/b294ce4dd127fba9b104bf3372abcf2f.jpg","text":"TemporaryFile(/tmp/multipartBody12402525704042474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352004290,"filename":"image_05112025_18_22_40_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/2/c198e605288680681ef65891a111b5a9.jpg","text":"TemporaryFile(/tmp/multipartBody7765627142868873446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352004290,"filename":"image_05112025_18_22_28_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402145808","file1":"1402145741","file0":"1402145679","file4":"1402145881","file5":"1402145920","file3":"1402145845"},"map_files_photo_id_array":[{"photo_id":"1402145920","filename":"file5"},{"photo_id":"1402145808","filename":"file2"},{"photo_id":"1402145881","filename":"file4"},{"photo_id":"1402145741","filename":"file1"},{"photo_id":"1402145679","filename":"file0"},{"photo_id":"1402145845","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402145881":["hashtag1","hashtag2"]},{"1402145845":["hashtag1","hashtag2"]},{"1402145920":["hashtag1","hashtag2"]},{"1402145679":["hashtag1","hashtag2"]},{"1402145808":["hashtag1","hashtag2"]},{"1402145741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402145881, 1402145845, 1402145920, 1402145679, 1402145808, 1402145741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65673875808716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:06:22.575424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_24_9712.jpg', '/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_34_9716.jpg', '/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_44_9830.jpg', '/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_55_10731.jpg', '/home/pi/Desktop/images/02012026/11/13/image_02012026_11_14_04_9668.jpg', '/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_14_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_24_9712.jpg
/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_34_9716.jpg
/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_44_9830.jpg
/home/pi/Desktop/images/02012026/11/13/image_02012026_11_13_55_10731.jpg
/home/pi/Desktop/images/02012026/11/13/image_02012026_11_14_04_9668.jpg
/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_14_9889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402146052","1402146096","1402146132","1402146048","1402146059","1402146050"],"photo_ids_order":["1402146048","1402146050","1402146052","1402146059","1402146096","1402146132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e86b2205cd1d05f32e1847dfd6a502ae.jpg","text":"TemporaryFile(/tmp/multipartBody3269464211262789795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352043200,"filename":"image_02012026_11_13_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/2/b21f70eb60d1716170bc31882c5ed0b8.jpg","text":"TemporaryFile(/tmp/multipartBody1727103549842185107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352043200,"filename":"image_02012026_11_14_04_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/2/21a4109f473a3757fe339e1f68fa08af.jpg","text":"TemporaryFile(/tmp/multipartBody2441333732355715890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352043200,"filename":"image_02012026_11_14_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/2/d9b3dd7d2f4a863d2af6bb569cb41591.jpg","text":"TemporaryFile(/tmp/multipartBody4462658997187153792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352043200,"filename":"image_02012026_11_13_24_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/2/fb897380e70fee453a95918cf8870ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2288812708728756472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352043200,"filename":"image_02012026_11_13_55_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/2/3f253b6936161485bd826b132125c1de.jpg","text":"TemporaryFile(/tmp/multipartBody6077449877656393921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352043200,"filename":"image_02012026_11_13_34_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146052","file1":"1402146050","file0":"1402146048","file4":"1402146096","file5":"1402146132","file3":"1402146059"},"map_files_photo_id_array":[{"photo_id":"1402146132","filename":"file5"},{"photo_id":"1402146052","filename":"file2"},{"photo_id":"1402146096","filename":"file4"},{"photo_id":"1402146050","filename":"file1"},{"photo_id":"1402146048","filename":"file0"},{"photo_id":"1402146059","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402146052":["hashtag1","hashtag2"]},{"1402146096":["hashtag1","hashtag2"]},{"1402146132":["hashtag1","hashtag2"]},{"1402146048":["hashtag1","hashtag2"]},{"1402146059":["hashtag1","hashtag2"]},{"1402146050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402146052, 1402146096, 1402146132, 1402146048, 1402146059, 1402146050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.314289569854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:07:03.484792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_24_9687.jpg', '/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_35_10671.jpg', '/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_54_9577.jpg', '/home/pi/Desktop/images/02012026/11/15/image_02012026_11_15_14_10057.jpg', '/home/pi/Desktop/images/02012026/11/15/image_02012026_11_15_24_10756.jpg', '/home/pi/Desktop/images/02012026/11/15/image_02012026_11_15_34_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_24_9687.jpg
/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_35_10671.jpg
/home/pi/Desktop/images/02012026/11/14/image_02012026_11_14_54_9577.jpg
/home/pi/Desktop/images/02012026/11/15/image_02012026_11_15_14_10057.jpg
/home/pi/Desktop/images/02012026/11/15/image_02012026_11_15_24_10756.jpg
/home/pi/Desktop/images/02012026/11/15/image_02012026_11_15_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":["1402146241","1402146235","1402146222","1402146201","1402146239","1402146173"],"photo_ids_order":["1402146173","1402146201","1402146222","1402146235","1402146239","1402146241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9628822e8eed0e4e5e5509cf01307428.jpg","text":"TemporaryFile(/tmp/multipartBody473140710797915653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352084116,"filename":"image_02012026_11_15_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/2/fe8346cbdf2af309566c9e5491594e49.jpg","text":"TemporaryFile(/tmp/multipartBody5762214012003885328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352084116,"filename":"image_02012026_11_15_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/2/b4af9c57d2c7ba81310119b36d429140.jpg","text":"TemporaryFile(/tmp/multipartBody844628574535356108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352084116,"filename":"image_02012026_11_14_54_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/2/09e4f03c963724e1ad10fe3c5335b295.jpg","text":"TemporaryFile(/tmp/multipartBody2184833714269039245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352084116,"filename":"image_02012026_11_14_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/2/16841dcb9aea1647138c7b93c6fdc135.jpg","text":"TemporaryFile(/tmp/multipartBody2513667015466170460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352084116,"filename":"image_02012026_11_15_24_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/2/23e2112c62a60870782e15ed7a251eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5711455646034232654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352084116,"filename":"image_02012026_11_14_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146222","file1":"1402146201","file0":"1402146173","file4":"1402146239","file5":"1402146241","file3":"1402146235"},"map_files_photo_id_array":[{"photo_id":"1402146241","filename":"file5"},{"photo_id":"1402146222","filename":"file2"},{"photo_id":"1402146239","filename":"file4"},{"photo_id":"1402146201","filename":"file1"},{"photo_id":"1402146173","filename":"file0"},{"photo_id":"1402146235","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402146241":["hashtag1","hashtag2"]},{"1402146235":["hashtag1","hashtag2"]},{"1402146222":["hashtag1","hashtag2"]},{"1402146201":["hashtag1","hashtag2"]},{"1402146239":["hashtag1","hashtag2"]},{"1402146173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402146241, 1402146235, 1402146222, 1402146201, 1402146239, 1402146173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91119122505188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:07:42.910149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_22_1641.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_24_1787.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_25_1607.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_27_1565.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_29_1625.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_30_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_22_1641.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_24_1787.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_25_1607.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_27_1565.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_29_1625.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402146246","1402146249","1402146258","1402146257","1402146254","1402146248"],"photo_ids_order":["1402146246","1402146248","1402146249","1402146254","1402146257","1402146258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ecd311b57a2d59f1b3c34cb080563e43.jpg","text":"TemporaryFile(/tmp/multipartBody4977327190169055337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352124753,"filename":"image_05112025_18_23_22_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/2/9b10d40cc2615ec724567fd838ef627e.jpg","text":"TemporaryFile(/tmp/multipartBody5857990343359670446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352124753,"filename":"image_05112025_18_23_25_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/2/b2f30804b93d655d9a057718db671938.jpg","text":"TemporaryFile(/tmp/multipartBody6266365179496615339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352124753,"filename":"image_05112025_18_23_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/2/9924e1b9ef60770c8f53dd51024ff72b.jpg","text":"TemporaryFile(/tmp/multipartBody8392439014553923984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352124753,"filename":"image_05112025_18_23_29_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/2/1c2b1a36e83d416de0a1ccdc0f070c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5474567611447169461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352124753,"filename":"image_05112025_18_23_27_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/2/cfd1c9d9bcb9e8dc1a58673391970be5.jpg","text":"TemporaryFile(/tmp/multipartBody2225613332592108116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352124753,"filename":"image_05112025_18_23_24_1787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146249","file1":"1402146248","file0":"1402146246","file4":"1402146257","file5":"1402146258","file3":"1402146254"},"map_files_photo_id_array":[{"photo_id":"1402146258","filename":"file5"},{"photo_id":"1402146249","filename":"file2"},{"photo_id":"1402146257","filename":"file4"},{"photo_id":"1402146248","filename":"file1"},{"photo_id":"1402146246","filename":"file0"},{"photo_id":"1402146254","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402146246":["hashtag1","hashtag2"]},{"1402146249":["hashtag1","hashtag2"]},{"1402146258":["hashtag1","hashtag2"]},{"1402146257":["hashtag1","hashtag2"]},{"1402146254":["hashtag1","hashtag2"]},{"1402146248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402146246, 1402146249, 1402146258, 1402146257, 1402146254, 1402146248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.17074942588806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:08:32.082164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_32_1650.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_33_1597.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_37_1630.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_38_1643.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_40_1634.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_42_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_32_1650.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_33_1597.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_37_1630.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_38_1643.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_40_1634.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_42_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":["1402146265","1402146270","1402146309","1402146278","1402146308","1402146298"],"photo_ids_order":["1402146265","1402146270","1402146278","1402146298","1402146308","1402146309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1bfbdb42510cf065e057720a4cb2d946.jpg","text":"TemporaryFile(/tmp/multipartBody64750878703058547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352173940,"filename":"image_05112025_18_23_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/2/f55755f87a054341d61e4074cefcd83c.jpg","text":"TemporaryFile(/tmp/multipartBody833318080671124975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352173940,"filename":"image_05112025_18_23_33_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/2/734ae12a8ca8260dae5c9240f7a3b1fd.jpg","text":"TemporaryFile(/tmp/multipartBody8352656321390948325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352173940,"filename":"image_05112025_18_23_42_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/2/4d90f653f02d34dfc39864bfedd88060.jpg","text":"TemporaryFile(/tmp/multipartBody2423584536815544414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352173940,"filename":"image_05112025_18_23_37_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/2/61d3ec54140c8a83b9f2085504c67edb.jpg","text":"TemporaryFile(/tmp/multipartBody7793164494532471856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352173940,"filename":"image_05112025_18_23_40_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/2/2441eddbcf96b6a9101d9e7fa2f6dcc7.jpg","text":"TemporaryFile(/tmp/multipartBody5987325197532721707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352173940,"filename":"image_05112025_18_23_38_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146278","file1":"1402146270","file0":"1402146265","file4":"1402146308","file5":"1402146309","file3":"1402146298"},"map_files_photo_id_array":[{"photo_id":"1402146309","filename":"file5"},{"photo_id":"1402146278","filename":"file2"},{"photo_id":"1402146308","filename":"file4"},{"photo_id":"1402146270","filename":"file1"},{"photo_id":"1402146265","filename":"file0"},{"photo_id":"1402146298","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402146265":["hashtag1","hashtag2"]},{"1402146270":["hashtag1","hashtag2"]},{"1402146309":["hashtag1","hashtag2"]},{"1402146278":["hashtag1","hashtag2"]},{"1402146308":["hashtag1","hashtag2"]},{"1402146298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402146265, 1402146270, 1402146309, 1402146278, 1402146308, 1402146298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70328140258789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:09:12.255106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_43_1623.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_45_1788.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_47_1613.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_48_1676.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_50_1667.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_52_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_43_1623.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_45_1788.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_47_1613.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_48_1676.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_50_1667.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_52_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":["1402146316","1402146315","1402146318","1402146353","1402146320","1402146314"],"photo_ids_order":["1402146314","1402146315","1402146316","1402146318","1402146320","1402146353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed9b6ffd0b2cd9fabe48eb9df5aa6eda.jpg","text":"TemporaryFile(/tmp/multipartBody7915478334725684871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352214099,"filename":"image_05112025_18_23_47_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/2/b3ed97ee34fd1e1a632216f1fb75cee8.jpg","text":"TemporaryFile(/tmp/multipartBody88221019974677275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352214099,"filename":"image_05112025_18_23_45_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/2/864dde832caad79fbadb7990627f65fa.jpg","text":"TemporaryFile(/tmp/multipartBody1078317206530954024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352214099,"filename":"image_05112025_18_23_48_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/2/54ba6dd1d0ff9169069000b4c4b4775b.jpg","text":"TemporaryFile(/tmp/multipartBody7555346027790361121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352214099,"filename":"image_05112025_18_23_52_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/2/a84c2fc8f1fed0481e101c48cfca2fcd.jpg","text":"TemporaryFile(/tmp/multipartBody479803163430439469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352214099,"filename":"image_05112025_18_23_50_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/2/e38c6782eb7c743275ec10954cb1b05b.jpg","text":"TemporaryFile(/tmp/multipartBody7174612630017068866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352214099,"filename":"image_05112025_18_23_43_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146316","file1":"1402146315","file0":"1402146314","file4":"1402146320","file5":"1402146353","file3":"1402146318"},"map_files_photo_id_array":[{"photo_id":"1402146353","filename":"file5"},{"photo_id":"1402146316","filename":"file2"},{"photo_id":"1402146320","filename":"file4"},{"photo_id":"1402146315","filename":"file1"},{"photo_id":"1402146314","filename":"file0"},{"photo_id":"1402146318","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402146316":["hashtag1","hashtag2"]},{"1402146315":["hashtag1","hashtag2"]},{"1402146318":["hashtag1","hashtag2"]},{"1402146353":["hashtag1","hashtag2"]},{"1402146320":["hashtag1","hashtag2"]},{"1402146314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402146316, 1402146315, 1402146318, 1402146353, 1402146320, 1402146314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6062171459198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:10:02.840294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/15/image_02012026_11_16_04_9709.jpg', '/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_14_9695.jpg', '/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_24_9703.jpg', '/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_34_10757.jpg', '/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_54_9665.jpg', '/home/pi/Desktop/images/02012026/11/17/image_02012026_11_17_24_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/15/image_02012026_11_16_04_9709.jpg
/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_14_9695.jpg
/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_24_9703.jpg
/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_34_10757.jpg
/home/pi/Desktop/images/02012026/11/16/image_02012026_11_16_54_9665.jpg
/home/pi/Desktop/images/02012026/11/17/image_02012026_11_17_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":["1402146481","1402146492","1402146465","1402146474","1402146479","1402146530"],"photo_ids_order":["1402146465","1402146474","1402146479","1402146481","1402146492","1402146530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/601c77711d31c7f299d0045cf709f7a5.jpg","text":"TemporaryFile(/tmp/multipartBody1844833406357352602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352263437,"filename":"image_02012026_11_16_34_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/2/68dbcc23a719336e2e6f4050c036da60.jpg","text":"TemporaryFile(/tmp/multipartBody8492408987906053651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352263437,"filename":"image_02012026_11_16_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/2/67e5c75ee328731712e1c3f56aea12c3.jpg","text":"TemporaryFile(/tmp/multipartBody8320920013870452776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352263437,"filename":"image_02012026_11_16_04_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/2/d9669e37192832471bfed499c3a28978.jpg","text":"TemporaryFile(/tmp/multipartBody4150769549308577361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352263437,"filename":"image_02012026_11_16_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/2/60d940a4bc9eb71f6b50cd98b4328639.jpg","text":"TemporaryFile(/tmp/multipartBody3936399416768524415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352263437,"filename":"image_02012026_11_16_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/2/f224dbf4db457e8effd95764bb278967.jpg","text":"TemporaryFile(/tmp/multipartBody7542471972834093850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352263437,"filename":"image_02012026_11_17_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146479","file1":"1402146474","file0":"1402146465","file4":"1402146492","file5":"1402146530","file3":"1402146481"},"map_files_photo_id_array":[{"photo_id":"1402146530","filename":"file5"},{"photo_id":"1402146479","filename":"file2"},{"photo_id":"1402146492","filename":"file4"},{"photo_id":"1402146474","filename":"file1"},{"photo_id":"1402146465","filename":"file0"},{"photo_id":"1402146481","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402146481":["hashtag1","hashtag2"]},{"1402146492":["hashtag1","hashtag2"]},{"1402146465":["hashtag1","hashtag2"]},{"1402146474":["hashtag1","hashtag2"]},{"1402146479":["hashtag1","hashtag2"]},{"1402146530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402146481, 1402146492, 1402146465, 1402146474, 1402146479, 1402146530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74770712852478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:10:42.461567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_54_2673.jpg', '/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_58_3649.jpg', '/home/pi/Desktop/images/05112025/18/24/image_05112025_18_24_12_13941.jpg', '/home/pi/Desktop/images/05112025/18/24/image_05112025_18_24_14_1682.jpg', '/home/pi/Desktop/images/05112025/18/24/image_05112025_18_24_52_38250.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_54_2673.jpg
/home/pi/Desktop/images/05112025/18/23/image_05112025_18_23_58_3649.jpg
/home/pi/Desktop/images/05112025/18/24/image_05112025_18_24_12_13941.jpg
/home/pi/Desktop/images/05112025/18/24/image_05112025_18_24_14_1682.jpg
/home/pi/Desktop/images/05112025/18/24/image_05112025_18_24_52_38250.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_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":["1402146682","1402146757","1402146724","1402146804","1402146797","1402146793"],"photo_ids_order":["1402146682","1402146724","1402146757","1402146793","1402146797","1402146804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbaf41458913110757e4a3b605ccd5b7.jpg","text":"TemporaryFile(/tmp/multipartBody2565690883768794069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352304350,"filename":"image_05112025_18_23_54_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/2/b4c087c106f929147d8a49fc1166beab.jpg","text":"TemporaryFile(/tmp/multipartBody4348449628600893414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352304350,"filename":"image_05112025_18_24_12_13941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea40107245893e93e7d41b26f5e03467.jpg","text":"TemporaryFile(/tmp/multipartBody2994114233305347975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352304350,"filename":"image_05112025_18_23_58_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/2/f86a54c6a9bef114522501d1f6cc1990.jpg","text":"TemporaryFile(/tmp/multipartBody6993298590230558410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352304350,"filename":"image_05112025_18_26_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/2/884eb5da2ca3377f6e202496c4cb61b0.jpg","text":"TemporaryFile(/tmp/multipartBody8712120500158685775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352304350,"filename":"image_05112025_18_24_52_38250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/50455eb6fb7b1980fead9e82bf851019.jpg","text":"TemporaryFile(/tmp/multipartBody888271210670486556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352304350,"filename":"image_05112025_18_24_14_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146757","file1":"1402146724","file0":"1402146682","file4":"1402146797","file5":"1402146804","file3":"1402146793"},"map_files_photo_id_array":[{"photo_id":"1402146804","filename":"file5"},{"photo_id":"1402146757","filename":"file2"},{"photo_id":"1402146797","filename":"file4"},{"photo_id":"1402146724","filename":"file1"},{"photo_id":"1402146682","filename":"file0"},{"photo_id":"1402146793","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402146682":["hashtag1","hashtag2"]},{"1402146757":["hashtag1","hashtag2"]},{"1402146724":["hashtag1","hashtag2"]},{"1402146804":["hashtag1","hashtag2"]},{"1402146797":["hashtag1","hashtag2"]},{"1402146793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402146682, 1402146757, 1402146724, 1402146804, 1402146797, 1402146793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20623183250427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:11:22.696612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/18/image_02012026_11_19_05_10755.jpg', '/home/pi/Desktop/images/02012026/11/19/image_02012026_11_19_24_9510.jpg', '/home/pi/Desktop/images/02012026/11/19/image_02012026_11_19_54_9666.jpg', '/home/pi/Desktop/images/02012026/11/21/image_02012026_11_21_44_9902.jpg', '/home/pi/Desktop/images/02012026/11/21/image_02012026_11_21_55_10718.jpg', '/home/pi/Desktop/images/02012026/11/21/image_02012026_11_22_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/18/image_02012026_11_19_05_10755.jpg
/home/pi/Desktop/images/02012026/11/19/image_02012026_11_19_24_9510.jpg
/home/pi/Desktop/images/02012026/11/19/image_02012026_11_19_54_9666.jpg
/home/pi/Desktop/images/02012026/11/21/image_02012026_11_21_44_9902.jpg
/home/pi/Desktop/images/02012026/11/21/image_02012026_11_21_55_10718.jpg
/home/pi/Desktop/images/02012026/11/21/image_02012026_11_22_04_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402146812","1402146811","1402146814","1402146816","1402146825","1402146818"],"photo_ids_order":["1402146811","1402146812","1402146814","1402146816","1402146818","1402146825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87dc83a53cd4fa48a55ded65f357abf2.jpg","text":"TemporaryFile(/tmp/multipartBody7464135075064678479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352343246,"filename":"image_02012026_11_19_24_9510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/980e39cb4fc8f0a3560e8f8c38638571.jpg","text":"TemporaryFile(/tmp/multipartBody2617549922405962694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352343246,"filename":"image_02012026_11_19_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/2/22f9d333c743c51f6b3b4617224a1e78.jpg","text":"TemporaryFile(/tmp/multipartBody5378101432877498438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352343246,"filename":"image_02012026_11_19_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/2/b1056cf21908ac58807ba4ac607610cd.jpg","text":"TemporaryFile(/tmp/multipartBody4053200945781146629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352343246,"filename":"image_02012026_11_21_44_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b7616746f29eed6294330687443f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody2770444635430646649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352343246,"filename":"image_02012026_11_22_04_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/2/ff0734b692ea7f47cc874d3f22d295d5.jpg","text":"TemporaryFile(/tmp/multipartBody5969956891085448810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352343246,"filename":"image_02012026_11_21_55_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146814","file1":"1402146812","file0":"1402146811","file4":"1402146818","file5":"1402146825","file3":"1402146816"},"map_files_photo_id_array":[{"photo_id":"1402146825","filename":"file5"},{"photo_id":"1402146814","filename":"file2"},{"photo_id":"1402146818","filename":"file4"},{"photo_id":"1402146812","filename":"file1"},{"photo_id":"1402146811","filename":"file0"},{"photo_id":"1402146816","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402146812":["hashtag1","hashtag2"]},{"1402146811":["hashtag1","hashtag2"]},{"1402146814":["hashtag1","hashtag2"]},{"1402146816":["hashtag1","hashtag2"]},{"1402146825":["hashtag1","hashtag2"]},{"1402146818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402146812, 1402146811, 1402146814, 1402146816, 1402146825, 1402146818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71740698814392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:12:03.154052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_14_9610.jpg', '/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_25_10598.jpg', '/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_34_9684.jpg', '/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_44_9659.jpg', '/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_55_10669.jpg', '/home/pi/Desktop/images/02012026/11/23/image_02012026_11_23_14_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_14_9610.jpg
/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_25_10598.jpg
/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_34_9684.jpg
/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_44_9659.jpg
/home/pi/Desktop/images/02012026/11/22/image_02012026_11_22_55_10669.jpg
/home/pi/Desktop/images/02012026/11/23/image_02012026_11_23_14_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":["1402146856","1402146859","1402146853","1402146852","1402146851","1402146854"],"photo_ids_order":["1402146851","1402146852","1402146853","1402146854","1402146856","1402146859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/90c490cb044cd31175d842ab42c68a65.jpg","text":"TemporaryFile(/tmp/multipartBody4873361958055253087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352383778,"filename":"image_02012026_11_22_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/2/8d62fff988bcd97fbddd411dd6c6e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody8051430624482751483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352383778,"filename":"image_02012026_11_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/2/7244c7870ad5d4c47b7323cfbce58f39.jpg","text":"TemporaryFile(/tmp/multipartBody2847640904958402079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352383778,"filename":"image_02012026_11_22_34_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/2/f9cf7451a96aae0cc32d382de8100c59.jpg","text":"TemporaryFile(/tmp/multipartBody5308697234344010746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352383778,"filename":"image_02012026_11_22_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/2/302ea966a5889d2c60865780fc4eeaee.jpg","text":"TemporaryFile(/tmp/multipartBody5667355208458039580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352383778,"filename":"image_02012026_11_22_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/2/6e5893bbf0073ce43c0d1e030b9a35c6.jpg","text":"TemporaryFile(/tmp/multipartBody4862244914119188497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352383778,"filename":"image_02012026_11_22_44_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146853","file1":"1402146852","file0":"1402146851","file4":"1402146856","file5":"1402146859","file3":"1402146854"},"map_files_photo_id_array":[{"photo_id":"1402146859","filename":"file5"},{"photo_id":"1402146853","filename":"file2"},{"photo_id":"1402146856","filename":"file4"},{"photo_id":"1402146852","filename":"file1"},{"photo_id":"1402146851","filename":"file0"},{"photo_id":"1402146854","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402146856":["hashtag1","hashtag2"]},{"1402146859":["hashtag1","hashtag2"]},{"1402146853":["hashtag1","hashtag2"]},{"1402146852":["hashtag1","hashtag2"]},{"1402146851":["hashtag1","hashtag2"]},{"1402146854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402146856, 1402146859, 1402146853, 1402146852, 1402146851, 1402146854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66472363471985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:12:42.695843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_11_3749.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_13_2831.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_16_2582.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_28_3298.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_32_3583.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_34_2343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_11_3749.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_13_2831.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_16_2582.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_28_3298.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_32_3583.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_34_2343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402146901","1402146894","1402146873","1402146903","1402146884","1402146902"],"photo_ids_order":["1402146873","1402146884","1402146894","1402146901","1402146902","1402146903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/689343ad6139b1b9c298db96fec93f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2915785570086566323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352424464,"filename":"image_05112025_18_26_28_3298.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/af3753389fede6c753cb787a6c018969.jpg","text":"TemporaryFile(/tmp/multipartBody3038206786208747769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352424464,"filename":"image_05112025_18_26_16_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/2/828a2fdb03f7e00ed9e5528de84bb27d.jpg","text":"TemporaryFile(/tmp/multipartBody587304513112014647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352424464,"filename":"image_05112025_18_26_11_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/2/08a143b15154012aa570b2109e2a8de6.jpg","text":"TemporaryFile(/tmp/multipartBody8479742934238892984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352424464,"filename":"image_05112025_18_26_34_2343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/109699612ed36a69ef1c01fa3ca480cd.jpg","text":"TemporaryFile(/tmp/multipartBody4453711992227374086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352424464,"filename":"image_05112025_18_26_13_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/2/65ea7a7efeab2e69fe253b2a508a39f9.jpg","text":"TemporaryFile(/tmp/multipartBody5950929739742224146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352424464,"filename":"image_05112025_18_26_32_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402146894","file1":"1402146884","file0":"1402146873","file4":"1402146902","file5":"1402146903","file3":"1402146901"},"map_files_photo_id_array":[{"photo_id":"1402146903","filename":"file5"},{"photo_id":"1402146894","filename":"file2"},{"photo_id":"1402146902","filename":"file4"},{"photo_id":"1402146884","filename":"file1"},{"photo_id":"1402146873","filename":"file0"},{"photo_id":"1402146901","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402146901":["hashtag1","hashtag2"]},{"1402146894":["hashtag1","hashtag2"]},{"1402146873":["hashtag1","hashtag2"]},{"1402146903":["hashtag1","hashtag2"]},{"1402146884":["hashtag1","hashtag2"]},{"1402146902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402146901, 1402146894, 1402146873, 1402146903, 1402146884, 1402146902)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.27245092391968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:13:31.970206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_41_3743.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_43_2689.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_52_2726.jpg', '/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_55_2692.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_01_2679.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_07_6045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_41_3743.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_43_2689.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_52_2726.jpg
/home/pi/Desktop/images/05112025/18/26/image_05112025_18_26_55_2692.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_01_2679.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_07_6045.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147039","1402147021","1402146993","1402147038","1402147025","1402146998"],"photo_ids_order":["1402146993","1402146998","1402147021","1402147025","1402147038","1402147039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/86d3df9adaad445b21a0991ed01b9bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4133090063885502651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352473827,"filename":"image_05112025_18_27_07_6045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/abed8ae6adfc2d5b611b368541e85b13.jpg","text":"TemporaryFile(/tmp/multipartBody2429509479748831718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352473827,"filename":"image_05112025_18_26_52_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/2/c015243496e2ee3d743593c9212f3de9.jpg","text":"TemporaryFile(/tmp/multipartBody8254005360436891995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352473827,"filename":"image_05112025_18_26_41_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8b6c8d124a49b40771f45d90ca01db2.jpg","text":"TemporaryFile(/tmp/multipartBody5649840991425731756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352473827,"filename":"image_05112025_18_27_01_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/2/cc26e66258b6dd4715513a59633cd002.jpg","text":"TemporaryFile(/tmp/multipartBody5697319159576359532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352473827,"filename":"image_05112025_18_26_55_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/2/5d656a4c2de465c1deac778a535e5842.jpg","text":"TemporaryFile(/tmp/multipartBody1434578344084619404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352473827,"filename":"image_05112025_18_26_43_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147021","file1":"1402146998","file0":"1402146993","file4":"1402147038","file5":"1402147039","file3":"1402147025"},"map_files_photo_id_array":[{"photo_id":"1402147039","filename":"file5"},{"photo_id":"1402147021","filename":"file2"},{"photo_id":"1402147038","filename":"file4"},{"photo_id":"1402146998","filename":"file1"},{"photo_id":"1402146993","filename":"file0"},{"photo_id":"1402147025","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147039":["hashtag1","hashtag2"]},{"1402147021":["hashtag1","hashtag2"]},{"1402146993":["hashtag1","hashtag2"]},{"1402147038":["hashtag1","hashtag2"]},{"1402147025":["hashtag1","hashtag2"]},{"1402146998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147039, 1402147021, 1402146993, 1402147038, 1402147025, 1402146998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.331563234329224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:14:12.220096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_09_1728.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_11_1711.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_19_2613.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_22_3651.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_25_2525.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_29_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_09_1728.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_11_1711.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_19_2613.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_22_3651.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_25_2525.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_29_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147086","1402147113","1402147119","1402147110","1402147115","1402147118"],"photo_ids_order":["1402147086","1402147110","1402147113","1402147115","1402147118","1402147119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3eb8bd6030b6406cb73cdf9e924c52dc.jpg","text":"TemporaryFile(/tmp/multipartBody4420679319199576039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352513984,"filename":"image_05112025_18_27_09_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/2/24df01e1c17fd6a9cf1e2f0d1519917d.jpg","text":"TemporaryFile(/tmp/multipartBody3330896505758077451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352513984,"filename":"image_05112025_18_27_19_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/2/4374b9e57bb9962bf33230901d8480f2.jpg","text":"TemporaryFile(/tmp/multipartBody995793139105043331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352513984,"filename":"image_05112025_18_27_29_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b63f9d5ffff727e06c85aee51749d17b.jpg","text":"TemporaryFile(/tmp/multipartBody1288280182076917996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352513984,"filename":"image_05112025_18_27_11_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/2/fa73efcd81d0f577bf7b5b8ce3651a50.jpg","text":"TemporaryFile(/tmp/multipartBody3869544310383952484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352513984,"filename":"image_05112025_18_27_22_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/2/fb32aebf2c6db150e1e81951b8afe2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5384762659267180407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352513984,"filename":"image_05112025_18_27_25_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147113","file1":"1402147110","file0":"1402147086","file4":"1402147118","file5":"1402147119","file3":"1402147115"},"map_files_photo_id_array":[{"photo_id":"1402147119","filename":"file5"},{"photo_id":"1402147113","filename":"file2"},{"photo_id":"1402147118","filename":"file4"},{"photo_id":"1402147110","filename":"file1"},{"photo_id":"1402147086","filename":"file0"},{"photo_id":"1402147115","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147086":["hashtag1","hashtag2"]},{"1402147113":["hashtag1","hashtag2"]},{"1402147119":["hashtag1","hashtag2"]},{"1402147110":["hashtag1","hashtag2"]},{"1402147115":["hashtag1","hashtag2"]},{"1402147118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147086, 1402147113, 1402147119, 1402147110, 1402147115, 1402147118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96355056762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:15:05.166317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 12:15:12.320937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 12:15:22.307222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/24/image_02012026_11_24_44_9644.jpg', '/home/pi/Desktop/images/02012026/11/26/image_02012026_11_26_44_10607.jpg', '/home/pi/Desktop/images/02012026/11/26/image_02012026_11_26_54_9648.jpg', '/home/pi/Desktop/images/02012026/11/30/image_02012026_11_30_44_9731.jpg', '/home/pi/Desktop/images/02012026/11/32/image_02012026_11_32_45_9795.jpg', '/home/pi/Desktop/images/02012026/11/33/image_02012026_11_33_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/24/image_02012026_11_24_44_9644.jpg
/home/pi/Desktop/images/02012026/11/26/image_02012026_11_26_44_10607.jpg
/home/pi/Desktop/images/02012026/11/26/image_02012026_11_26_54_9648.jpg
/home/pi/Desktop/images/02012026/11/30/image_02012026_11_30_44_9731.jpg
/home/pi/Desktop/images/02012026/11/32/image_02012026_11_32_45_9795.jpg
/home/pi/Desktop/images/02012026/11/33/image_02012026_11_33_34_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":["1402147141","1402147150","1402147146","1402147143","1402147145","1402147139"],"photo_ids_order":["1402147139","1402147141","1402147143","1402147145","1402147146","1402147150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10aa3b46cb25a056813ea92258675570.jpg","text":"TemporaryFile(/tmp/multipartBody1895119197341754816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352583943,"filename":"image_02012026_11_26_44_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/2/75eea4df8f27ff5f592a4d80ac90959a.jpg","text":"TemporaryFile(/tmp/multipartBody4095794696959534303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352583943,"filename":"image_02012026_11_33_34_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/2/b355e725b3ac1e4c532a5af896316786.jpg","text":"TemporaryFile(/tmp/multipartBody5592145353332816742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352583943,"filename":"image_02012026_11_32_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/2/d14bd2ecb92eccafc8f284a32f28aee3.jpg","text":"TemporaryFile(/tmp/multipartBody7758714827714518521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352583943,"filename":"image_02012026_11_26_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/2/5c8d2dea202dccfef6cf1e9c9c3d75a6.jpg","text":"TemporaryFile(/tmp/multipartBody8386564093005879763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352583943,"filename":"image_02012026_11_30_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/2/b26bab5b524257aa517e6b40adb74c8d.jpg","text":"TemporaryFile(/tmp/multipartBody1152961700268910988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352583943,"filename":"image_02012026_11_24_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147143","file1":"1402147141","file0":"1402147139","file4":"1402147146","file5":"1402147150","file3":"1402147145"},"map_files_photo_id_array":[{"photo_id":"1402147150","filename":"file5"},{"photo_id":"1402147143","filename":"file2"},{"photo_id":"1402147146","filename":"file4"},{"photo_id":"1402147141","filename":"file1"},{"photo_id":"1402147139","filename":"file0"},{"photo_id":"1402147145","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147141":["hashtag1","hashtag2"]},{"1402147150":["hashtag1","hashtag2"]},{"1402147146":["hashtag1","hashtag2"]},{"1402147143":["hashtag1","hashtag2"]},{"1402147145":["hashtag1","hashtag2"]},{"1402147139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147141, 1402147150, 1402147146, 1402147143, 1402147145, 1402147139)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.3365273475647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:16:12.435684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_34_2603.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_43_2599.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_49_2634.jpg', '/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_52_2659.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_01_2740.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_05_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_34_2603.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_43_2599.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_49_2634.jpg
/home/pi/Desktop/images/05112025/18/27/image_05112025_18_27_52_2659.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_01_2740.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_05_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147162","1402147164","1402147158","1402147155","1402147168","1402147153"],"photo_ids_order":["1402147153","1402147155","1402147158","1402147162","1402147164","1402147168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d2d9c5adc8d91c66347bf6d10b48a78a.jpg","text":"TemporaryFile(/tmp/multipartBody7282959091456602650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352634263,"filename":"image_05112025_18_27_52_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/2/5c4b233c8a86e09f4931ac1eb186163f.jpg","text":"TemporaryFile(/tmp/multipartBody9061759266261204035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352634263,"filename":"image_05112025_18_28_01_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/2/d477f20475b12a6a30323c7b37558cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4974682936931945080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352634263,"filename":"image_05112025_18_27_49_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/2/af2a8c6aff978ea44190b792f4c27813.jpg","text":"TemporaryFile(/tmp/multipartBody6335893938219786493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352634263,"filename":"image_05112025_18_27_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/2/15a6ba827bc4ee2bed8c1baebbf529ca.jpg","text":"TemporaryFile(/tmp/multipartBody4101059472737948379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352634263,"filename":"image_05112025_18_28_05_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/2/e579aba1677203d334813ac67b2a972d.jpg","text":"TemporaryFile(/tmp/multipartBody2031474080105464546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352634263,"filename":"image_05112025_18_27_34_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147158","file1":"1402147155","file0":"1402147153","file4":"1402147164","file5":"1402147168","file3":"1402147162"},"map_files_photo_id_array":[{"photo_id":"1402147168","filename":"file5"},{"photo_id":"1402147158","filename":"file2"},{"photo_id":"1402147164","filename":"file4"},{"photo_id":"1402147155","filename":"file1"},{"photo_id":"1402147153","filename":"file0"},{"photo_id":"1402147162","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147162":["hashtag1","hashtag2"]},{"1402147164":["hashtag1","hashtag2"]},{"1402147158":["hashtag1","hashtag2"]},{"1402147155":["hashtag1","hashtag2"]},{"1402147168":["hashtag1","hashtag2"]},{"1402147153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147162, 1402147164, 1402147158, 1402147155, 1402147168, 1402147153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03047966957092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:17:02.838954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 12:17:14.942197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_07_2534.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_10_2738.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_14_3769.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_16_2729.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_19_2567.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_28_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_07_2534.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_10_2738.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_14_3769.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_16_2729.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_19_2567.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_28_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":["1402147177","1402147188","1402147190","1402147184","1402147186","1402147180"],"photo_ids_order":["1402147177","1402147180","1402147184","1402147186","1402147188","1402147190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/568b143e03a4b483f8680ce372cdc082.jpg","text":"TemporaryFile(/tmp/multipartBody3856993661553097376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352696657,"filename":"image_05112025_18_28_07_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/2/9d095f643f70263399f7562efb9d81da.jpg","text":"TemporaryFile(/tmp/multipartBody5891363573958080089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352696657,"filename":"image_05112025_18_28_19_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/2/040c09b4ebc1198c85b5ed7725560a83.jpg","text":"TemporaryFile(/tmp/multipartBody6894760293059132160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352696657,"filename":"image_05112025_18_28_28_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/2/decc061ae7e67d1785536e59d997dbcc.jpg","text":"TemporaryFile(/tmp/multipartBody1348665469617641412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352696657,"filename":"image_05112025_18_28_14_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/2/b7562566730a104fe2182ff9f0facf4d.jpg","text":"TemporaryFile(/tmp/multipartBody9159855200179412907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352696657,"filename":"image_05112025_18_28_16_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/2/33fccd16e692a6622e665d3e8586dac2.jpg","text":"TemporaryFile(/tmp/multipartBody3181794080227485281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352696657,"filename":"image_05112025_18_28_10_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147184","file1":"1402147180","file0":"1402147177","file4":"1402147188","file5":"1402147190","file3":"1402147186"},"map_files_photo_id_array":[{"photo_id":"1402147190","filename":"file5"},{"photo_id":"1402147184","filename":"file2"},{"photo_id":"1402147188","filename":"file4"},{"photo_id":"1402147180","filename":"file1"},{"photo_id":"1402147177","filename":"file0"},{"photo_id":"1402147186","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147177":["hashtag1","hashtag2"]},{"1402147188":["hashtag1","hashtag2"]},{"1402147190":["hashtag1","hashtag2"]},{"1402147184":["hashtag1","hashtag2"]},{"1402147186":["hashtag1","hashtag2"]},{"1402147180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147177, 1402147188, 1402147190, 1402147184, 1402147186, 1402147180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89909529685974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:18:02.828368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/35/image_02012026_11_35_44_9764.jpg', '/home/pi/Desktop/images/02012026/11/36/image_02012026_11_36_44_9628.jpg', '/home/pi/Desktop/images/02012026/11/37/image_02012026_11_37_14_9731.jpg', '/home/pi/Desktop/images/02012026/11/37/image_02012026_11_37_44_9679.jpg', '/home/pi/Desktop/images/02012026/11/38/image_02012026_11_38_45_9736.jpg', '/home/pi/Desktop/images/02012026/11/41/image_02012026_11_41_30_10167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/35/image_02012026_11_35_44_9764.jpg
/home/pi/Desktop/images/02012026/11/36/image_02012026_11_36_44_9628.jpg
/home/pi/Desktop/images/02012026/11/37/image_02012026_11_37_14_9731.jpg
/home/pi/Desktop/images/02012026/11/37/image_02012026_11_37_44_9679.jpg
/home/pi/Desktop/images/02012026/11/38/image_02012026_11_38_45_9736.jpg
/home/pi/Desktop/images/02012026/11/41/image_02012026_11_41_30_10167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147210","1402147213","1402147200","1402147199","1402147205","1402147198"],"photo_ids_order":["1402147198","1402147199","1402147200","1402147205","1402147210","1402147213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/303d2dd2203e847ef6d22b35fd918adc.jpg","text":"TemporaryFile(/tmp/multipartBody5615683685335325462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352743503,"filename":"image_02012026_11_38_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/2/627e786b285925e0db8a5bd5f9c5b8d8.jpg","text":"TemporaryFile(/tmp/multipartBody6847087229135775672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352743503,"filename":"image_02012026_11_41_30_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/2/847f102f36a31c498a2be5e540f4d59f.jpg","text":"TemporaryFile(/tmp/multipartBody1557311518477290347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352743503,"filename":"image_02012026_11_37_14_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/2/eed2383eba8d4be2de38bbf46a3d9340.jpg","text":"TemporaryFile(/tmp/multipartBody6464433939036985250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352743503,"filename":"image_02012026_11_36_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/2/fac89252ed832b5197062089a7d30586.jpg","text":"TemporaryFile(/tmp/multipartBody6818519254435675315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352743503,"filename":"image_02012026_11_37_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/2/1713a4b163e71b5ffeee984b6fccf281.jpg","text":"TemporaryFile(/tmp/multipartBody6528187010227360842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352743503,"filename":"image_02012026_11_35_44_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147200","file1":"1402147199","file0":"1402147198","file4":"1402147210","file5":"1402147213","file3":"1402147205"},"map_files_photo_id_array":[{"photo_id":"1402147213","filename":"file5"},{"photo_id":"1402147200","filename":"file2"},{"photo_id":"1402147210","filename":"file4"},{"photo_id":"1402147199","filename":"file1"},{"photo_id":"1402147198","filename":"file0"},{"photo_id":"1402147205","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147210":["hashtag1","hashtag2"]},{"1402147213":["hashtag1","hashtag2"]},{"1402147200":["hashtag1","hashtag2"]},{"1402147199":["hashtag1","hashtag2"]},{"1402147205":["hashtag1","hashtag2"]},{"1402147198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147210, 1402147213, 1402147200, 1402147199, 1402147205, 1402147198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14694833755493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:18:42.330823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_31_2632.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_35_3613.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_37_2596.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_40_2622.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_43_3587.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_46_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_31_2632.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_35_3613.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_37_2596.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_40_2622.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_43_3587.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_46_2571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147222","1402147225","1402147219","1402147227","1402147226","1402147229"],"photo_ids_order":["1402147219","1402147222","1402147225","1402147226","1402147227","1402147229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd3ba31e8fcfeff67e8921b739f1ef07.jpg","text":"TemporaryFile(/tmp/multipartBody1027088896535503875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352784054,"filename":"image_05112025_18_28_35_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/2/c89ca31a3982a57a6a8eb36dde593340.jpg","text":"TemporaryFile(/tmp/multipartBody2038643067897144963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352784054,"filename":"image_05112025_18_28_37_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/2/9a2e456a99c96535b1504cdab5a050e9.jpg","text":"TemporaryFile(/tmp/multipartBody1650861288502417366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352784054,"filename":"image_05112025_18_28_31_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/2/0a301b556afdad7198af974823e55ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8639686170902731726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352784054,"filename":"image_05112025_18_28_43_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/2/a0020f91d9c7f9f40db391e9a3d23caa.jpg","text":"TemporaryFile(/tmp/multipartBody7437486746894513749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352784054,"filename":"image_05112025_18_28_40_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/2/81ad3891578c383de86c42372df7d43e.jpg","text":"TemporaryFile(/tmp/multipartBody4002509381292070154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352784054,"filename":"image_05112025_18_28_46_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147225","file1":"1402147222","file0":"1402147219","file4":"1402147227","file5":"1402147229","file3":"1402147226"},"map_files_photo_id_array":[{"photo_id":"1402147229","filename":"file5"},{"photo_id":"1402147225","filename":"file2"},{"photo_id":"1402147227","filename":"file4"},{"photo_id":"1402147222","filename":"file1"},{"photo_id":"1402147219","filename":"file0"},{"photo_id":"1402147226","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147222":["hashtag1","hashtag2"]},{"1402147225":["hashtag1","hashtag2"]},{"1402147219":["hashtag1","hashtag2"]},{"1402147227":["hashtag1","hashtag2"]},{"1402147226":["hashtag1","hashtag2"]},{"1402147229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147222, 1402147225, 1402147219, 1402147227, 1402147226, 1402147229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033499240875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:19:22.633632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_20_9794.jpg', '/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_30_9846.jpg', '/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_40_10823.jpg', '/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_50_9657.jpg', '/home/pi/Desktop/images/02012026/11/42/image_02012026_11_43_00_9696.jpg', '/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_10_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_20_9794.jpg
/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_30_9846.jpg
/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_40_10823.jpg
/home/pi/Desktop/images/02012026/11/42/image_02012026_11_42_50_9657.jpg
/home/pi/Desktop/images/02012026/11/42/image_02012026_11_43_00_9696.jpg
/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_10_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":["1402147239","1402147248","1402147242","1402147250","1402147244","1402147246"],"photo_ids_order":["1402147239","1402147242","1402147244","1402147246","1402147248","1402147250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26064f7c382c212fa303fe056b32c622.jpg","text":"TemporaryFile(/tmp/multipartBody6630628872046085144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352823305,"filename":"image_02012026_11_42_20_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/2/cf353c90fec0c571bf6c2ae8e9dabbaf.jpg","text":"TemporaryFile(/tmp/multipartBody559584808501243376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352823305,"filename":"image_02012026_11_43_00_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/2/aa32d65ff5d490be6fe3d7a36cbecf83.jpg","text":"TemporaryFile(/tmp/multipartBody5656236793479580337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352823305,"filename":"image_02012026_11_42_30_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/2/17033069d8e354e32554a19b6efade73.jpg","text":"TemporaryFile(/tmp/multipartBody4361787133897049873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352823305,"filename":"image_02012026_11_43_10_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/2/9bb5d9325eae3a925b5fdd5d9476d55f.jpg","text":"TemporaryFile(/tmp/multipartBody334405248626066924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352823305,"filename":"image_02012026_11_42_40_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/2/9ac5522fb26d882fa7c722035a457007.jpg","text":"TemporaryFile(/tmp/multipartBody5033870256820532940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352823305,"filename":"image_02012026_11_42_50_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147244","file1":"1402147242","file0":"1402147239","file4":"1402147248","file5":"1402147250","file3":"1402147246"},"map_files_photo_id_array":[{"photo_id":"1402147250","filename":"file5"},{"photo_id":"1402147244","filename":"file2"},{"photo_id":"1402147248","filename":"file4"},{"photo_id":"1402147242","filename":"file1"},{"photo_id":"1402147239","filename":"file0"},{"photo_id":"1402147246","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147239":["hashtag1","hashtag2"]},{"1402147248":["hashtag1","hashtag2"]},{"1402147242":["hashtag1","hashtag2"]},{"1402147250":["hashtag1","hashtag2"]},{"1402147244":["hashtag1","hashtag2"]},{"1402147246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147239, 1402147248, 1402147242, 1402147250, 1402147244, 1402147246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.540160179138184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:20:03.168477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_20_10702.jpg', '/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_31_10202.jpg', '/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_40_9674.jpg', '/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_20_9706.jpg', '/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_30_9780.jpg', '/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_40_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_20_10702.jpg
/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_31_10202.jpg
/home/pi/Desktop/images/02012026/11/43/image_02012026_11_43_40_9674.jpg
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_20_9706.jpg
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_30_9780.jpg
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_40_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147255","1402147263","1402147257","1402147251","1402147260","1402147253"],"photo_ids_order":["1402147251","1402147253","1402147255","1402147257","1402147260","1402147263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/acaee014bf26a3da3811b1c1b86976e8.jpg","text":"TemporaryFile(/tmp/multipartBody1306631839784721081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352863934,"filename":"image_02012026_11_43_40_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/2/69bc5d3a7c3ea3c3cf086807d3bba4e2.jpg","text":"TemporaryFile(/tmp/multipartBody9121007378543767559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352863934,"filename":"image_02012026_11_44_40_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/2/42d8d56f4ba57a6c70b1cc58514ec3af.jpg","text":"TemporaryFile(/tmp/multipartBody5368943414424932788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352863934,"filename":"image_02012026_11_44_20_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/2/cebd352a3b347ed187088de5412706d2.jpg","text":"TemporaryFile(/tmp/multipartBody6908728902483263686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352863934,"filename":"image_02012026_11_43_20_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/2/c710bc441782fe738d111d81bc9149fb.jpg","text":"TemporaryFile(/tmp/multipartBody3063530551269634919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352863934,"filename":"image_02012026_11_44_30_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/2/4ef52f8fda9b3ebbe5bdc7bd351c84d7.jpg","text":"TemporaryFile(/tmp/multipartBody2165797712871106648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352863934,"filename":"image_02012026_11_43_31_10202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147255","file1":"1402147253","file0":"1402147251","file4":"1402147260","file5":"1402147263","file3":"1402147257"},"map_files_photo_id_array":[{"photo_id":"1402147263","filename":"file5"},{"photo_id":"1402147255","filename":"file2"},{"photo_id":"1402147260","filename":"file4"},{"photo_id":"1402147253","filename":"file1"},{"photo_id":"1402147251","filename":"file0"},{"photo_id":"1402147257","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147255":["hashtag1","hashtag2"]},{"1402147263":["hashtag1","hashtag2"]},{"1402147257":["hashtag1","hashtag2"]},{"1402147251":["hashtag1","hashtag2"]},{"1402147260":["hashtag1","hashtag2"]},{"1402147253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147255, 1402147263, 1402147257, 1402147251, 1402147260, 1402147253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40691065788269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:20:42.766841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_49_3569.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_55_2772.jpg', '/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_58_3586.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_01_2550.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_04_2748.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_07_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_49_3569.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_55_2772.jpg
/home/pi/Desktop/images/05112025/18/28/image_05112025_18_28_58_3586.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_01_2550.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_04_2748.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_07_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":["1402147287","1402147289","1402147291","1402147285","1402147288","1402147273"],"photo_ids_order":["1402147273","1402147285","1402147287","1402147288","1402147289","1402147291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f6bc3629c89087ac641f41c4d77f7946.jpg","text":"TemporaryFile(/tmp/multipartBody3471330125765221103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352904602,"filename":"image_05112025_18_28_58_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/2/c3f4e42f27ca23b9e0086fc1d45cb549.jpg","text":"TemporaryFile(/tmp/multipartBody7022218590633019465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352904602,"filename":"image_05112025_18_29_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/2/e614287b95dd988492c961ee1bd31606.jpg","text":"TemporaryFile(/tmp/multipartBody1019063328182316569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352904602,"filename":"image_05112025_18_29_07_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/2/1fc2e00c65679356300a02886c23b933.jpg","text":"TemporaryFile(/tmp/multipartBody1116787330654880415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352904602,"filename":"image_05112025_18_28_55_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/2/ed21a41ffa112aee9a6a3010f2316908.jpg","text":"TemporaryFile(/tmp/multipartBody8755686587235363334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352904602,"filename":"image_05112025_18_29_01_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/2/aacb320c7134b784300b52f69a6843db.jpg","text":"TemporaryFile(/tmp/multipartBody8532828171985628719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352904602,"filename":"image_05112025_18_28_49_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147287","file1":"1402147285","file0":"1402147273","file4":"1402147289","file5":"1402147291","file3":"1402147288"},"map_files_photo_id_array":[{"photo_id":"1402147291","filename":"file5"},{"photo_id":"1402147287","filename":"file2"},{"photo_id":"1402147289","filename":"file4"},{"photo_id":"1402147285","filename":"file1"},{"photo_id":"1402147273","filename":"file0"},{"photo_id":"1402147288","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147287":["hashtag1","hashtag2"]},{"1402147289":["hashtag1","hashtag2"]},{"1402147291":["hashtag1","hashtag2"]},{"1402147285":["hashtag1","hashtag2"]},{"1402147288":["hashtag1","hashtag2"]},{"1402147273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147287, 1402147289, 1402147291, 1402147285, 1402147288, 1402147273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.751869916915894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:21:21.894785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_50_10740.jpg', '/home/pi/Desktop/images/02012026/11/44/image_02012026_11_45_00_9784.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_14_10172.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_24_10666.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_34_9643.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_44_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_50_10740.jpg
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_45_00_9784.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_14_10172.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_24_10666.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_34_9643.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_44_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.5706303119659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:21:32.009958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_10_2779.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_16_2709.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_19_3690.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_25_2773.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_28_2625.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_31_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_10_2779.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_16_2709.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_19_3690.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_25_2773.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_28_2625.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_31_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402147348","1402147333","1402147344","1402147347","1402147340","1402147346"],"photo_ids_order":["1402147333","1402147340","1402147344","1402147346","1402147347","1402147348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d2d0ee1c5f508ac7da371e3b6a4df7cd.jpg","text":"TemporaryFile(/tmp/multipartBody5812621939899155534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352955939,"filename":"image_05112025_18_29_31_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/2/47417aa1b8bccbdcedfbfdc0cd8b54ac.jpg","text":"TemporaryFile(/tmp/multipartBody2160330082541122881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352955939,"filename":"image_05112025_18_29_10_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/2/7107da2018b1f1dafd212308e799f17a.jpg","text":"TemporaryFile(/tmp/multipartBody8368982908433668177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352955939,"filename":"image_05112025_18_29_19_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/2/5c89118c3f16687d2256dc858326a4f5.jpg","text":"TemporaryFile(/tmp/multipartBody6944004522017253604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352955939,"filename":"image_05112025_18_29_28_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/2/e0092bb174c8618cd52d24de91aaab8d.jpg","text":"TemporaryFile(/tmp/multipartBody1662625312806894155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352955939,"filename":"image_05112025_18_29_16_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/2/41c73258b52e0fda1fc68d24bc47c182.jpg","text":"TemporaryFile(/tmp/multipartBody6130835178518116757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767352955939,"filename":"image_05112025_18_29_25_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147344","file1":"1402147340","file0":"1402147333","file4":"1402147347","file5":"1402147348","file3":"1402147346"},"map_files_photo_id_array":[{"photo_id":"1402147348","filename":"file5"},{"photo_id":"1402147344","filename":"file2"},{"photo_id":"1402147347","filename":"file4"},{"photo_id":"1402147340","filename":"file1"},{"photo_id":"1402147333","filename":"file0"},{"photo_id":"1402147346","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147348":["hashtag1","hashtag2"]},{"1402147333":["hashtag1","hashtag2"]},{"1402147344":["hashtag1","hashtag2"]},{"1402147347":["hashtag1","hashtag2"]},{"1402147340":["hashtag1","hashtag2"]},{"1402147346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147348, 1402147333, 1402147344, 1402147347, 1402147340, 1402147346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.48712229728699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:22:22.153219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_50_10740.jpg', '/home/pi/Desktop/images/02012026/11/44/image_02012026_11_45_00_9784.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_14_10172.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_24_10666.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_34_9643.jpg', '/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_44_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_44_50_10740.jpg
/home/pi/Desktop/images/02012026/11/44/image_02012026_11_45_00_9784.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_14_10172.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_24_10666.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_34_9643.jpg
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_44_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147369","1402147354","1402147357","1402147365","1402147359","1402147373"],"photo_ids_order":["1402147354","1402147357","1402147359","1402147365","1402147369","1402147373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/062acb053f93d93820b8ab5b534630b0.jpg","text":"TemporaryFile(/tmp/multipartBody3382823672196755902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353002832,"filename":"image_02012026_11_45_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/2/eb10619a5a4cc9ca91c81d82558e2a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2613931518371722241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353002832,"filename":"image_02012026_11_44_50_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/2/3a2cc6cc9dd2f8354bf533bece2283f7.jpg","text":"TemporaryFile(/tmp/multipartBody2741539898071596915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353002832,"filename":"image_02012026_11_45_00_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/2/621349a9ba2e0a6d5c52fd78ade85dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8885768551565998825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353002832,"filename":"image_02012026_11_45_24_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/2/1710d90e08f68dbb8392ca1a4844f3dd.jpg","text":"TemporaryFile(/tmp/multipartBody4072727585469096601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353002832,"filename":"image_02012026_11_45_14_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/2/c80d873f0306b2dc2936bc836d6591c2.jpg","text":"TemporaryFile(/tmp/multipartBody6170435408154880021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353002832,"filename":"image_02012026_11_45_44_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147359","file1":"1402147357","file0":"1402147354","file4":"1402147369","file5":"1402147373","file3":"1402147365"},"map_files_photo_id_array":[{"photo_id":"1402147373","filename":"file5"},{"photo_id":"1402147359","filename":"file2"},{"photo_id":"1402147369","filename":"file4"},{"photo_id":"1402147357","filename":"file1"},{"photo_id":"1402147354","filename":"file0"},{"photo_id":"1402147365","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147369":["hashtag1","hashtag2"]},{"1402147354":["hashtag1","hashtag2"]},{"1402147357":["hashtag1","hashtag2"]},{"1402147365":["hashtag1","hashtag2"]},{"1402147359":["hashtag1","hashtag2"]},{"1402147373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147369, 1402147354, 1402147357, 1402147365, 1402147359, 1402147373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82677340507507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:23:03.093950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_54_9780.jpg', '/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_11_17008.jpg', '/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_14_2906.jpg', '/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_24_10721.jpg', '/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_34_9823.jpg', '/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_44_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/45/image_02012026_11_45_54_9780.jpg
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_11_17008.jpg
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_14_2906.jpg
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_24_10721.jpg
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_34_9823.jpg
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_44_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147392","1402147397","1402147394","1402147400","1402147390","1402147387"],"photo_ids_order":["1402147387","1402147390","1402147392","1402147394","1402147397","1402147400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/76df072291215e20a401e6eb7af7af23.jpg","text":"TemporaryFile(/tmp/multipartBody7777124245152667557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353043873,"filename":"image_02012026_11_46_14_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/2/1e3b4fb532c3f65b0638cc0c5c81215e.jpg","text":"TemporaryFile(/tmp/multipartBody7330736295975890136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353043873,"filename":"image_02012026_11_46_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/2/7b36e0b875472584d7ab33b91bafb9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1476835995620871800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353043873,"filename":"image_02012026_11_46_24_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/2/dc5bffcab4a8edc73138b5902655ef4a.jpg","text":"TemporaryFile(/tmp/multipartBody3888835734960025031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353043873,"filename":"image_02012026_11_46_44_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/2/ac18116285c019421fac3fce0db90386.jpg","text":"TemporaryFile(/tmp/multipartBody4365866068704849237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353043873,"filename":"image_02012026_11_46_11_17008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a61f5d7014b9eb0944d10b24df99357.jpg","text":"TemporaryFile(/tmp/multipartBody8141428115580391566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353043873,"filename":"image_02012026_11_45_54_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147392","file1":"1402147390","file0":"1402147387","file4":"1402147397","file5":"1402147400","file3":"1402147394"},"map_files_photo_id_array":[{"photo_id":"1402147400","filename":"file5"},{"photo_id":"1402147392","filename":"file2"},{"photo_id":"1402147397","filename":"file4"},{"photo_id":"1402147390","filename":"file1"},{"photo_id":"1402147387","filename":"file0"},{"photo_id":"1402147394","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147392":["hashtag1","hashtag2"]},{"1402147397":["hashtag1","hashtag2"]},{"1402147394":["hashtag1","hashtag2"]},{"1402147400":["hashtag1","hashtag2"]},{"1402147390":["hashtag1","hashtag2"]},{"1402147387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147392, 1402147397, 1402147394, 1402147400, 1402147390, 1402147387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20569396018982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:23:42.426515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_37_2831.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_40_3543.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_43_2604.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_46_2801.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_49_3701.jpg', '/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_58_3835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_37_2831.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_40_3543.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_43_2604.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_46_2801.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_49_3701.jpg
/home/pi/Desktop/images/05112025/18/29/image_05112025_18_29_58_3835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147420","1402147419","1402147422","1402147416","1402147421","1402147406"],"photo_ids_order":["1402147406","1402147416","1402147419","1402147420","1402147421","1402147422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4eb28d964c873cd7c1b2b3fa40900dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3736293323549349182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353084258,"filename":"image_05112025_18_29_46_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/2/c744e2dd8b5eac4ec85ff7b59376533e.jpg","text":"TemporaryFile(/tmp/multipartBody512995015606112348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353084258,"filename":"image_05112025_18_29_43_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/2/66f64f8b75d08e73e0da8ab6d2849ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6013118762441565853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353084258,"filename":"image_05112025_18_29_58_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/2/fbe6f7d4e2d329dc9c58e8d1e9194fa3.jpg","text":"TemporaryFile(/tmp/multipartBody9116430832388164593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353084258,"filename":"image_05112025_18_29_40_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/2/db33615f60cb27cf0516f6522525e5af.jpg","text":"TemporaryFile(/tmp/multipartBody8550900217128334885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353084258,"filename":"image_05112025_18_29_49_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/2/bda291582dca844e5ea31c4c37c4901a.jpg","text":"TemporaryFile(/tmp/multipartBody1654647666538446110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353084258,"filename":"image_05112025_18_29_37_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147419","file1":"1402147416","file0":"1402147406","file4":"1402147421","file5":"1402147422","file3":"1402147420"},"map_files_photo_id_array":[{"photo_id":"1402147422","filename":"file5"},{"photo_id":"1402147419","filename":"file2"},{"photo_id":"1402147421","filename":"file4"},{"photo_id":"1402147416","filename":"file1"},{"photo_id":"1402147406","filename":"file0"},{"photo_id":"1402147420","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147420":["hashtag1","hashtag2"]},{"1402147419":["hashtag1","hashtag2"]},{"1402147422":["hashtag1","hashtag2"]},{"1402147416":["hashtag1","hashtag2"]},{"1402147421":["hashtag1","hashtag2"]},{"1402147406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147420, 1402147419, 1402147422, 1402147416, 1402147421, 1402147406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9922661781311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:24:22.971990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_54_9727.jpg', '/home/pi/Desktop/images/02012026/11/46/image_02012026_11_47_04_10681.jpg', '/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_22_17553.jpg', '/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_24_1820.jpg', '/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_34_9995.jpg', '/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_45_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_46_54_9727.jpg
/home/pi/Desktop/images/02012026/11/46/image_02012026_11_47_04_10681.jpg
/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_22_17553.jpg
/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_24_1820.jpg
/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_34_9995.jpg
/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_45_10828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147432","1402147438","1402147434","1402147428","1402147436","1402147430"],"photo_ids_order":["1402147428","1402147430","1402147432","1402147434","1402147436","1402147438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/40d816937bb8736c61a1dd8d0174172c.jpg","text":"TemporaryFile(/tmp/multipartBody5842960897077641368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353123644,"filename":"image_02012026_11_47_22_17553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/001fefbd2b64fd2f38503a631e2f5617.jpg","text":"TemporaryFile(/tmp/multipartBody6112463346554963960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353123644,"filename":"image_02012026_11_47_45_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d4d454956970ff65eeb383b0bca37954.jpg","text":"TemporaryFile(/tmp/multipartBody317560948086361509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353123644,"filename":"image_02012026_11_47_24_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/2/ac7c08451dcdf15ffca7e32e68b49f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8154150427293044745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353123644,"filename":"image_02012026_11_46_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/2/a90cb96cf9061046834026c029970581.jpg","text":"TemporaryFile(/tmp/multipartBody862250725642312257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353123644,"filename":"image_02012026_11_47_34_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/732fbf034e5f76b765d35b8e4ea1e2ab.jpg","text":"TemporaryFile(/tmp/multipartBody669229502849933173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353123644,"filename":"image_02012026_11_47_04_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147432","file1":"1402147430","file0":"1402147428","file4":"1402147436","file5":"1402147438","file3":"1402147434"},"map_files_photo_id_array":[{"photo_id":"1402147438","filename":"file5"},{"photo_id":"1402147432","filename":"file2"},{"photo_id":"1402147436","filename":"file4"},{"photo_id":"1402147430","filename":"file1"},{"photo_id":"1402147428","filename":"file0"},{"photo_id":"1402147434","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147432":["hashtag1","hashtag2"]},{"1402147438":["hashtag1","hashtag2"]},{"1402147434":["hashtag1","hashtag2"]},{"1402147428":["hashtag1","hashtag2"]},{"1402147436":["hashtag1","hashtag2"]},{"1402147430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147432, 1402147438, 1402147434, 1402147428, 1402147436, 1402147430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.3390257358551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:25:17.744220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_11_3610.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_22_2509.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_26_3630.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_28_2596.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_35_3703.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_38_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_11_3610.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_22_2509.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_26_3630.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_28_2596.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_35_3703.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_38_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147447","1402147449","1402147452","1402147454","1402147450","1402147444"],"photo_ids_order":["1402147444","1402147447","1402147449","1402147450","1402147452","1402147454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e7544c6d33faa0037b954e4789727af4.jpg","text":"TemporaryFile(/tmp/multipartBody7567238474021927527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353179622,"filename":"image_05112025_18_30_22_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/2/9b82d7b627ebb9cefe9fb6a339015d33.jpg","text":"TemporaryFile(/tmp/multipartBody693985847147224250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353179622,"filename":"image_05112025_18_30_26_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/2/0a4bbc37e7865bb71bfc2c434205ea0a.jpg","text":"TemporaryFile(/tmp/multipartBody8408656650368540319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353179622,"filename":"image_05112025_18_30_35_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/2/5f2b921414605263ccfe2f6cdbf610cd.jpg","text":"TemporaryFile(/tmp/multipartBody5134691125922215495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353179622,"filename":"image_05112025_18_30_38_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/2/fd96fb2312d91e0c49b4ad359d533fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7854400741863569094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353179622,"filename":"image_05112025_18_30_28_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/2/113c296efe3a3149a8dce78579c94c4e.jpg","text":"TemporaryFile(/tmp/multipartBody658940397341098129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353179622,"filename":"image_05112025_18_30_11_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147449","file1":"1402147447","file0":"1402147444","file4":"1402147452","file5":"1402147454","file3":"1402147450"},"map_files_photo_id_array":[{"photo_id":"1402147454","filename":"file5"},{"photo_id":"1402147449","filename":"file2"},{"photo_id":"1402147452","filename":"file4"},{"photo_id":"1402147447","filename":"file1"},{"photo_id":"1402147444","filename":"file0"},{"photo_id":"1402147450","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147447":["hashtag1","hashtag2"]},{"1402147449":["hashtag1","hashtag2"]},{"1402147452":["hashtag1","hashtag2"]},{"1402147454":["hashtag1","hashtag2"]},{"1402147450":["hashtag1","hashtag2"]},{"1402147444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147447, 1402147449, 1402147452, 1402147454, 1402147450, 1402147444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12309527397156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:26:02.784253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 12:26:14.651919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_40_2717.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_44_3673.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_47_2647.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_49_2671.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_53_3746.jpg', '/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_56_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_40_2717.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_44_3673.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_47_2647.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_49_2671.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_53_3746.jpg
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_56_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147482","1402147476","1402147490","1402147478","1402147472","1402147480"],"photo_ids_order":["1402147472","1402147476","1402147478","1402147480","1402147482","1402147490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f9a3707c3b984841c5ce83c13433de19.jpg","text":"TemporaryFile(/tmp/multipartBody2204008508127902843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353238904,"filename":"image_05112025_18_30_53_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/2/3668b6ff1dcfad90baf3372a4838090d.jpg","text":"TemporaryFile(/tmp/multipartBody7099431707690653374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353238904,"filename":"image_05112025_18_30_44_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/2/accb162e399c3425566d2835717c71f6.jpg","text":"TemporaryFile(/tmp/multipartBody614560325352304673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353238904,"filename":"image_05112025_18_30_56_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/2/6138c0c93cc3c8cf7dff08a58d393d76.jpg","text":"TemporaryFile(/tmp/multipartBody5687289576856322567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353238904,"filename":"image_05112025_18_30_47_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/2/dba7bc14063363b6a4d6dd4c53a2c0d5.jpg","text":"TemporaryFile(/tmp/multipartBody525589672274438575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353238904,"filename":"image_05112025_18_30_40_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/2/d08f3cc575490809630f1ba67f0d541a.jpg","text":"TemporaryFile(/tmp/multipartBody171882987029812629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353238904,"filename":"image_05112025_18_30_49_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147478","file1":"1402147476","file0":"1402147472","file4":"1402147482","file5":"1402147490","file3":"1402147480"},"map_files_photo_id_array":[{"photo_id":"1402147490","filename":"file5"},{"photo_id":"1402147478","filename":"file2"},{"photo_id":"1402147482","filename":"file4"},{"photo_id":"1402147476","filename":"file1"},{"photo_id":"1402147472","filename":"file0"},{"photo_id":"1402147480","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147482":["hashtag1","hashtag2"]},{"1402147476":["hashtag1","hashtag2"]},{"1402147490":["hashtag1","hashtag2"]},{"1402147478":["hashtag1","hashtag2"]},{"1402147472":["hashtag1","hashtag2"]},{"1402147480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147482, 1402147476, 1402147490, 1402147478, 1402147472, 1402147480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.861968755722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:27:02.650836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_54_9862.jpg', '/home/pi/Desktop/images/02012026/11/47/image_02012026_11_48_04_9747.jpg', '/home/pi/Desktop/images/02012026/11/48/image_02012026_11_48_14_9753.jpg', '/home/pi/Desktop/images/02012026/11/48/image_02012026_11_48_24_9837.jpg', '/home/pi/Desktop/images/02012026/11/48/image_02012026_11_48_54_9786.jpg', '/home/pi/Desktop/images/02012026/11/48/image_02012026_11_49_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/47/image_02012026_11_47_54_9862.jpg
/home/pi/Desktop/images/02012026/11/47/image_02012026_11_48_04_9747.jpg
/home/pi/Desktop/images/02012026/11/48/image_02012026_11_48_14_9753.jpg
/home/pi/Desktop/images/02012026/11/48/image_02012026_11_48_24_9837.jpg
/home/pi/Desktop/images/02012026/11/48/image_02012026_11_48_54_9786.jpg
/home/pi/Desktop/images/02012026/11/48/image_02012026_11_49_04_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":["1402147507","1402147501","1402147510","1402147503","1402147512","1402147505"],"photo_ids_order":["1402147501","1402147503","1402147505","1402147507","1402147510","1402147512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ebabbb138ba99670cf5de4cfe0657bf.jpg","text":"TemporaryFile(/tmp/multipartBody3677909041499418459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353285914,"filename":"image_02012026_11_48_24_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/2/2e9e82e0018df89943d3020a1cd40a60.jpg","text":"TemporaryFile(/tmp/multipartBody284993443492931054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353285914,"filename":"image_02012026_11_47_54_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/2/29a7656309887882b5362bc8a6fa2ac1.jpg","text":"TemporaryFile(/tmp/multipartBody9129870130226420302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353285914,"filename":"image_02012026_11_48_54_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/2/32d3447e1b5d850ec94ffe9bde23a977.jpg","text":"TemporaryFile(/tmp/multipartBody7937472158802212822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353285914,"filename":"image_02012026_11_48_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/2/dea610474bdfd323a758fff3fafaa051.jpg","text":"TemporaryFile(/tmp/multipartBody5182397765247438472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353285914,"filename":"image_02012026_11_49_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/2/4f774d394c7e160137f0881a17d0423a.jpg","text":"TemporaryFile(/tmp/multipartBody3407696928420830599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353285914,"filename":"image_02012026_11_48_14_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147505","file1":"1402147503","file0":"1402147501","file4":"1402147510","file5":"1402147512","file3":"1402147507"},"map_files_photo_id_array":[{"photo_id":"1402147512","filename":"file5"},{"photo_id":"1402147505","filename":"file2"},{"photo_id":"1402147510","filename":"file4"},{"photo_id":"1402147503","filename":"file1"},{"photo_id":"1402147501","filename":"file0"},{"photo_id":"1402147507","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147507":["hashtag1","hashtag2"]},{"1402147501":["hashtag1","hashtag2"]},{"1402147510":["hashtag1","hashtag2"]},{"1402147503":["hashtag1","hashtag2"]},{"1402147512":["hashtag1","hashtag2"]},{"1402147505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147507, 1402147501, 1402147510, 1402147503, 1402147512, 1402147505)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.13809895515442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:28:02.624903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_14_10792.jpg', '/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_24_9743.jpg', '/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_34_9733.jpg', '/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_45_10665.jpg', '/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_54_9667.jpg', '/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_14_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_14_10792.jpg
/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_24_9743.jpg
/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_34_9733.jpg
/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_45_10665.jpg
/home/pi/Desktop/images/02012026/11/49/image_02012026_11_49_54_9667.jpg
/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_14_10040.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":["1402147525","1402147522","1402147518","1402147527","1402147520","1402147523"],"photo_ids_order":["1402147518","1402147520","1402147522","1402147523","1402147525","1402147527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/923b1a235a1d36e2009184d4f47cb46f.jpg","text":"TemporaryFile(/tmp/multipartBody3547731008611588585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353347392,"filename":"image_02012026_11_49_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/2/2be3216e871f6ca883da933b0d2cbc26.jpg","text":"TemporaryFile(/tmp/multipartBody1464820251848814031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353347392,"filename":"image_02012026_11_49_34_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/2/988668cf2b9f5b6a8f3ec3787d18ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody6729052656502199963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353347392,"filename":"image_02012026_11_49_14_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/2/5322394570976db6c699e2740b4a3591.jpg","text":"TemporaryFile(/tmp/multipartBody3430469814987330237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353347392,"filename":"image_02012026_11_50_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82c464420d7d44441aa2e75ed71c09bf.jpg","text":"TemporaryFile(/tmp/multipartBody4310816976891296455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353347392,"filename":"image_02012026_11_49_24_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/2/838c53dd4066b4565354e362e956ecad.jpg","text":"TemporaryFile(/tmp/multipartBody2147434170408607846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353347392,"filename":"image_02012026_11_49_45_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147522","file1":"1402147520","file0":"1402147518","file4":"1402147525","file5":"1402147527","file3":"1402147523"},"map_files_photo_id_array":[{"photo_id":"1402147527","filename":"file5"},{"photo_id":"1402147522","filename":"file2"},{"photo_id":"1402147525","filename":"file4"},{"photo_id":"1402147520","filename":"file1"},{"photo_id":"1402147518","filename":"file0"},{"photo_id":"1402147523","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147525":["hashtag1","hashtag2"]},{"1402147522":["hashtag1","hashtag2"]},{"1402147518":["hashtag1","hashtag2"]},{"1402147527":["hashtag1","hashtag2"]},{"1402147520":["hashtag1","hashtag2"]},{"1402147523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147525, 1402147522, 1402147518, 1402147527, 1402147520, 1402147523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.695844888687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:29:03.566653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_25_10831.jpg', '/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_35_9867.jpg', '/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_45_9725.jpg', '/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_54_9579.jpg', '/home/pi/Desktop/images/02012026/11/50/image_02012026_11_51_05_10875.jpg', '/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_15_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_25_10831.jpg
/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_35_9867.jpg
/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_45_9725.jpg
/home/pi/Desktop/images/02012026/11/50/image_02012026_11_50_54_9579.jpg
/home/pi/Desktop/images/02012026/11/50/image_02012026_11_51_05_10875.jpg
/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_15_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":["1402147618","1402147620","1402147626","1402147613","1402147622","1402147616"],"photo_ids_order":["1402147613","1402147616","1402147618","1402147620","1402147622","1402147626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a232fb11f8ee494cbb06d9076f492f7.jpg","text":"TemporaryFile(/tmp/multipartBody7098581082747257108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353404305,"filename":"image_02012026_11_50_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/2/f329edbbbf1a83343f8b20be280d1b74.jpg","text":"TemporaryFile(/tmp/multipartBody2770288092359196890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353404305,"filename":"image_02012026_11_50_54_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/2/e0c29008415c1e9d7cc5345958081cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8819955346493703861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353404305,"filename":"image_02012026_11_51_15_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/2/57d08e5a36b9bd8beb9fa2088173bd86.jpg","text":"TemporaryFile(/tmp/multipartBody3750624679666632329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353404305,"filename":"image_02012026_11_50_25_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d0f87adc5d1f4f172ef5e53b23a56ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2246051011730003965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353404305,"filename":"image_02012026_11_51_05_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/2/ecb74d8318aed1f05b5fb4d37d3e1f81.jpg","text":"TemporaryFile(/tmp/multipartBody4318690263588718051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353404305,"filename":"image_02012026_11_50_35_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147618","file1":"1402147616","file0":"1402147613","file4":"1402147622","file5":"1402147626","file3":"1402147620"},"map_files_photo_id_array":[{"photo_id":"1402147626","filename":"file5"},{"photo_id":"1402147618","filename":"file2"},{"photo_id":"1402147622","filename":"file4"},{"photo_id":"1402147616","filename":"file1"},{"photo_id":"1402147613","filename":"file0"},{"photo_id":"1402147620","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147618":["hashtag1","hashtag2"]},{"1402147620":["hashtag1","hashtag2"]},{"1402147626":["hashtag1","hashtag2"]},{"1402147613":["hashtag1","hashtag2"]},{"1402147622":["hashtag1","hashtag2"]},{"1402147616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147618, 1402147620, 1402147626, 1402147613, 1402147622, 1402147616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66856670379639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:29:42.401532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_58_2828.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_05_3555.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_11_3609.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_14_2722.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_16_2671.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_23_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_58_2828.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_05_3555.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_11_3609.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_14_2722.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_16_2671.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_23_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8c13na4cl</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8c13na4cl</strong>.
uploaded 0 photos
time to upload: 45.48504066467285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:30:32.653949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_58_2828.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_05_3555.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_11_3609.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_14_2722.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_16_2671.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_23_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/30/image_05112025_18_30_58_2828.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_05_3555.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_11_3609.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_14_2722.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_16_2671.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_23_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":["1402147666","1402147674","1402147670","1402147664","1402147673","1402147675"],"photo_ids_order":["1402147664","1402147666","1402147670","1402147673","1402147674","1402147675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3c17aa107b8f4a6656c3aa373d45716.jpg","text":"TemporaryFile(/tmp/multipartBody355003080939233847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353494415,"filename":"image_05112025_18_31_05_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/2/b786f935eef2a8fe4c749cb992c5a275.jpg","text":"TemporaryFile(/tmp/multipartBody2911420673285102413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353494415,"filename":"image_05112025_18_31_16_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/2/ab3412fc14f78f472928f1648013cf14.jpg","text":"TemporaryFile(/tmp/multipartBody3260968141951885271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353494415,"filename":"image_05112025_18_31_11_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/2/7856d8349a90fcbb832a8b21e314d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6457498472754168897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353494415,"filename":"image_05112025_18_30_58_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/2/2651e326130873d0be591d0c6cadde6c.jpg","text":"TemporaryFile(/tmp/multipartBody6220539370953765894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353494415,"filename":"image_05112025_18_31_14_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/2/9211204a1c89aa89a5f0f03d6ac5a532.jpg","text":"TemporaryFile(/tmp/multipartBody8878644091278381344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353494415,"filename":"image_05112025_18_31_23_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147670","file1":"1402147666","file0":"1402147664","file4":"1402147674","file5":"1402147675","file3":"1402147673"},"map_files_photo_id_array":[{"photo_id":"1402147675","filename":"file5"},{"photo_id":"1402147670","filename":"file2"},{"photo_id":"1402147674","filename":"file4"},{"photo_id":"1402147666","filename":"file1"},{"photo_id":"1402147664","filename":"file0"},{"photo_id":"1402147673","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147666":["hashtag1","hashtag2"]},{"1402147674":["hashtag1","hashtag2"]},{"1402147670":["hashtag1","hashtag2"]},{"1402147664":["hashtag1","hashtag2"]},{"1402147673":["hashtag1","hashtag2"]},{"1402147675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147666, 1402147674, 1402147670, 1402147664, 1402147673, 1402147675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.475244760513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:31:11.839740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_26_2688.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_28_2685.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_32_3662.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_35_2631.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_37_2602.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_41_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_26_2688.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_28_2685.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_32_3662.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_35_2631.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_37_2602.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_41_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147683","1402147692","1402147695","1402147688","1402147697","1402147693"],"photo_ids_order":["1402147683","1402147688","1402147692","1402147693","1402147695","1402147697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/286b90ccc6a9c4a9ec68ed3d7bcc38eb.jpg","text":"TemporaryFile(/tmp/multipartBody3989616637399507848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353533575,"filename":"image_05112025_18_31_26_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/2/aef5e2b5fd4885493851c4d88c1e722d.jpg","text":"TemporaryFile(/tmp/multipartBody5546946390932579392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353533575,"filename":"image_05112025_18_31_32_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/2/a29ffd49eeb759d503669324fbd780fc.jpg","text":"TemporaryFile(/tmp/multipartBody2543079487065260092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353533575,"filename":"image_05112025_18_31_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/2/36aaea5f9eb59571ceeef321468c89ac.jpg","text":"TemporaryFile(/tmp/multipartBody211393475070979028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353533575,"filename":"image_05112025_18_31_28_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/2/b39c9bdcdd02de7486c36b379f71460e.jpg","text":"TemporaryFile(/tmp/multipartBody8129026156997965737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353533575,"filename":"image_05112025_18_31_41_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/2/c9e8ffe1ee23c82d7e4527967fea3257.jpg","text":"TemporaryFile(/tmp/multipartBody1446804277180083082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353533575,"filename":"image_05112025_18_31_35_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147692","file1":"1402147688","file0":"1402147683","file4":"1402147695","file5":"1402147697","file3":"1402147693"},"map_files_photo_id_array":[{"photo_id":"1402147697","filename":"file5"},{"photo_id":"1402147692","filename":"file2"},{"photo_id":"1402147695","filename":"file4"},{"photo_id":"1402147688","filename":"file1"},{"photo_id":"1402147683","filename":"file0"},{"photo_id":"1402147693","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147683":["hashtag1","hashtag2"]},{"1402147692":["hashtag1","hashtag2"]},{"1402147695":["hashtag1","hashtag2"]},{"1402147688":["hashtag1","hashtag2"]},{"1402147697":["hashtag1","hashtag2"]},{"1402147693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147683, 1402147692, 1402147695, 1402147688, 1402147697, 1402147693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80989146232605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:32:02.546030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_25_9757.jpg', '/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_34_9736.jpg', '/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_45_10700.jpg', '/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_55_9698.jpg', '/home/pi/Desktop/images/02012026/11/51/image_02012026_11_52_05_9771.jpg', '/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_14_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_25_9757.jpg
/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_34_9736.jpg
/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_45_10700.jpg
/home/pi/Desktop/images/02012026/11/51/image_02012026_11_51_55_9698.jpg
/home/pi/Desktop/images/02012026/11/51/image_02012026_11_52_05_9771.jpg
/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_14_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":["1402147711","1402147708","1402147702","1402147715","1402147703","1402147706"],"photo_ids_order":["1402147702","1402147703","1402147706","1402147708","1402147711","1402147715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb709854221e28572884b1ae8f8f11df.jpg","text":"TemporaryFile(/tmp/multipartBody7307087871365858019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353583261,"filename":"image_02012026_11_52_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/2/25bf252aa245aed5602ce1cfe8c69a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6516979534639341752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353583261,"filename":"image_02012026_11_51_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/2/a63093a889c4c9f6e67461c95e40aa5c.jpg","text":"TemporaryFile(/tmp/multipartBody4462105291372580049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353583261,"filename":"image_02012026_11_51_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/2/6332ccd108f07c2c152f9c123e648f18.jpg","text":"TemporaryFile(/tmp/multipartBody7462659706102381140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353583261,"filename":"image_02012026_11_52_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/2/90aa0e4c44b9b4fcba651e42ba83c8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5504566747201656180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353583261,"filename":"image_02012026_11_51_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/2/2e15ff85fa4b90daac0890a0cabc8e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7447483608476881827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353583261,"filename":"image_02012026_11_51_45_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147706","file1":"1402147703","file0":"1402147702","file4":"1402147711","file5":"1402147715","file3":"1402147708"},"map_files_photo_id_array":[{"photo_id":"1402147715","filename":"file5"},{"photo_id":"1402147706","filename":"file2"},{"photo_id":"1402147711","filename":"file4"},{"photo_id":"1402147703","filename":"file1"},{"photo_id":"1402147702","filename":"file0"},{"photo_id":"1402147708","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147711":["hashtag1","hashtag2"]},{"1402147708":["hashtag1","hashtag2"]},{"1402147702":["hashtag1","hashtag2"]},{"1402147715":["hashtag1","hashtag2"]},{"1402147703":["hashtag1","hashtag2"]},{"1402147706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147711, 1402147708, 1402147702, 1402147715, 1402147703, 1402147706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90445399284363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:32:42.273252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_44_2708.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_46_2721.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_50_3677.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_53_2872.jpg', '/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_58_2854.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_01_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_44_2708.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_46_2721.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_50_3677.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_53_2872.jpg
/home/pi/Desktop/images/05112025/18/31/image_05112025_18_31_58_2854.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_01_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147765","1402147750","1402147764","1402147763","1402147753","1402147762"],"photo_ids_order":["1402147750","1402147753","1402147762","1402147763","1402147764","1402147765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ede5cb24eae600d23a73024dfdb2aad0.jpg","text":"TemporaryFile(/tmp/multipartBody2834884692634044660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353624172,"filename":"image_05112025_18_32_01_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/2/4f4b4d7300062ba18cbd12d01de9e1f5.jpg","text":"TemporaryFile(/tmp/multipartBody2801747200913717437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353624172,"filename":"image_05112025_18_31_44_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/2/cfb26554f42ebe5ea34aa648d99c43b2.jpg","text":"TemporaryFile(/tmp/multipartBody8868133614637600014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353624172,"filename":"image_05112025_18_31_58_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/2/0131c920ff3e9e6c95e7c5dc6a6f11bd.jpg","text":"TemporaryFile(/tmp/multipartBody6520975168970969258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353624172,"filename":"image_05112025_18_31_53_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c0fdafd5030d95a314050f7356309d09.jpg","text":"TemporaryFile(/tmp/multipartBody2755557497233269315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353624172,"filename":"image_05112025_18_31_46_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/2/ab50ca012e389327b3f1ea9f9074e838.jpg","text":"TemporaryFile(/tmp/multipartBody4488536024881907382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353624172,"filename":"image_05112025_18_31_50_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147762","file1":"1402147753","file0":"1402147750","file4":"1402147764","file5":"1402147765","file3":"1402147763"},"map_files_photo_id_array":[{"photo_id":"1402147765","filename":"file5"},{"photo_id":"1402147762","filename":"file2"},{"photo_id":"1402147764","filename":"file4"},{"photo_id":"1402147753","filename":"file1"},{"photo_id":"1402147750","filename":"file0"},{"photo_id":"1402147763","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147765":["hashtag1","hashtag2"]},{"1402147750":["hashtag1","hashtag2"]},{"1402147764":["hashtag1","hashtag2"]},{"1402147763":["hashtag1","hashtag2"]},{"1402147753":["hashtag1","hashtag2"]},{"1402147762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147765, 1402147750, 1402147764, 1402147763, 1402147753, 1402147762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.848631143569946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:33:22.459685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_25_10818.jpg', '/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_35_9580.jpg', '/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_44_9809.jpg', '/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_55_10597.jpg', '/home/pi/Desktop/images/02012026/11/52/image_02012026_11_53_04_9308.jpg', '/home/pi/Desktop/images/02012026/11/53/image_02012026_11_53_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_25_10818.jpg
/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_35_9580.jpg
/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_44_9809.jpg
/home/pi/Desktop/images/02012026/11/52/image_02012026_11_52_55_10597.jpg
/home/pi/Desktop/images/02012026/11/52/image_02012026_11_53_04_9308.jpg
/home/pi/Desktop/images/02012026/11/53/image_02012026_11_53_15_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":["1402147782","1402147779","1402147773","1402147775","1402147772","1402147777"],"photo_ids_order":["1402147772","1402147773","1402147775","1402147777","1402147779","1402147782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5212de210f69fa29b671366678e48e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1720338877552169678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353663133,"filename":"image_02012026_11_53_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/2/8c809eb6d4ec95ba65b824ee67e6c49b.jpg","text":"TemporaryFile(/tmp/multipartBody3336454831618900431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353663133,"filename":"image_02012026_11_53_04_9308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/baa3474f05b4bf43ea073f37f82eea16.jpg","text":"TemporaryFile(/tmp/multipartBody4656141870511120630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353663133,"filename":"image_02012026_11_52_35_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/2/4afde72acbc696537bc189f28e413756.jpg","text":"TemporaryFile(/tmp/multipartBody2831148240023231459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353663133,"filename":"image_02012026_11_52_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/2/0cb5ccd940f7cf96be2f647421786ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8438366028540862850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353663133,"filename":"image_02012026_11_52_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/2/174927bcd85dc6259d83ccbe6ac6bcd7.jpg","text":"TemporaryFile(/tmp/multipartBody4848257022569790038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353663133,"filename":"image_02012026_11_52_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147775","file1":"1402147773","file0":"1402147772","file4":"1402147779","file5":"1402147782","file3":"1402147777"},"map_files_photo_id_array":[{"photo_id":"1402147782","filename":"file5"},{"photo_id":"1402147775","filename":"file2"},{"photo_id":"1402147779","filename":"file4"},{"photo_id":"1402147773","filename":"file1"},{"photo_id":"1402147772","filename":"file0"},{"photo_id":"1402147777","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147782":["hashtag1","hashtag2"]},{"1402147779":["hashtag1","hashtag2"]},{"1402147773":["hashtag1","hashtag2"]},{"1402147775":["hashtag1","hashtag2"]},{"1402147772":["hashtag1","hashtag2"]},{"1402147777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147782, 1402147779, 1402147773, 1402147775, 1402147772, 1402147777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70995044708252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:34:03.442003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/53/image_02012026_11_53_25_9809.jpg', '/home/pi/Desktop/images/02012026/11/53/image_02012026_11_53_35_9702.jpg', '/home/pi/Desktop/images/02012026/11/53/image_02012026_11_54_05_9651.jpg', '/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_14_9726.jpg', '/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_25_10634.jpg', '/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_34_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/53/image_02012026_11_53_25_9809.jpg
/home/pi/Desktop/images/02012026/11/53/image_02012026_11_53_35_9702.jpg
/home/pi/Desktop/images/02012026/11/53/image_02012026_11_54_05_9651.jpg
/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_14_9726.jpg
/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_25_10634.jpg
/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_34_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147822","1402147815","1402147824","1402147796","1402147820","1402147817"],"photo_ids_order":["1402147796","1402147815","1402147817","1402147820","1402147822","1402147824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/889426d4eec74304124dc1bf7fead2ef.jpg","text":"TemporaryFile(/tmp/multipartBody3773306200157021135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353704223,"filename":"image_02012026_11_54_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/2/f417aac1f2c25ae4feb46092b5b94ab3.jpg","text":"TemporaryFile(/tmp/multipartBody196100057887649819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353704223,"filename":"image_02012026_11_53_35_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/2/a4623e536762726ee1b8d19ba05f895d.jpg","text":"TemporaryFile(/tmp/multipartBody2984075065039541976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353704223,"filename":"image_02012026_11_54_34_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/2/2d62aebf19478a885803e59870c830e1.jpg","text":"TemporaryFile(/tmp/multipartBody1629597074980050946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353704223,"filename":"image_02012026_11_53_25_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/2/37109303e232bbab50dc2294c7f4e6db.jpg","text":"TemporaryFile(/tmp/multipartBody7545370162822321902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353704223,"filename":"image_02012026_11_54_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/2/ac1ee35a2c8d4534615db2a49d0c5f97.jpg","text":"TemporaryFile(/tmp/multipartBody673972638415166515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353704223,"filename":"image_02012026_11_54_05_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147817","file1":"1402147815","file0":"1402147796","file4":"1402147822","file5":"1402147824","file3":"1402147820"},"map_files_photo_id_array":[{"photo_id":"1402147824","filename":"file5"},{"photo_id":"1402147817","filename":"file2"},{"photo_id":"1402147822","filename":"file4"},{"photo_id":"1402147815","filename":"file1"},{"photo_id":"1402147796","filename":"file0"},{"photo_id":"1402147820","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147822":["hashtag1","hashtag2"]},{"1402147815":["hashtag1","hashtag2"]},{"1402147824":["hashtag1","hashtag2"]},{"1402147796":["hashtag1","hashtag2"]},{"1402147820":["hashtag1","hashtag2"]},{"1402147817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147822, 1402147815, 1402147824, 1402147796, 1402147820, 1402147817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60224509239197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:34:42.742708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_05_3629.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_07_2551.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_11_3546.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_14_2826.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_19_2789.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_23_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_05_3629.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_07_2551.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_11_3546.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_14_2826.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_19_2789.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_23_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":["1402147903","1402147900","1402147899","1402147902","1402147905","1402147901"],"photo_ids_order":["1402147899","1402147900","1402147901","1402147902","1402147903","1402147905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9934282d5b16f02315523613de1208bf.jpg","text":"TemporaryFile(/tmp/multipartBody556563217169058473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353744580,"filename":"image_05112025_18_32_19_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/2/b4861f16f4e19fc840cc562547c9cc9b.jpg","text":"TemporaryFile(/tmp/multipartBody2226930775809003977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353744580,"filename":"image_05112025_18_32_07_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/2/e85671e52cd3d611787d1562744da302.jpg","text":"TemporaryFile(/tmp/multipartBody8702767492441332133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353744580,"filename":"image_05112025_18_32_05_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/2/c573d4f5f830630a7df6537707cf28d7.jpg","text":"TemporaryFile(/tmp/multipartBody5820993914439577263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353744580,"filename":"image_05112025_18_32_14_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/2/0cc715ddf62a2e05f8ac671e604b062d.jpg","text":"TemporaryFile(/tmp/multipartBody5078675656280584930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353744580,"filename":"image_05112025_18_32_23_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/2/25bdbab79930fded7520b2622ec77030.jpg","text":"TemporaryFile(/tmp/multipartBody878848324895272413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353744580,"filename":"image_05112025_18_32_11_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147901","file1":"1402147900","file0":"1402147899","file4":"1402147903","file5":"1402147905","file3":"1402147902"},"map_files_photo_id_array":[{"photo_id":"1402147905","filename":"file5"},{"photo_id":"1402147901","filename":"file2"},{"photo_id":"1402147903","filename":"file4"},{"photo_id":"1402147900","filename":"file1"},{"photo_id":"1402147899","filename":"file0"},{"photo_id":"1402147902","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147903":["hashtag1","hashtag2"]},{"1402147900":["hashtag1","hashtag2"]},{"1402147899":["hashtag1","hashtag2"]},{"1402147902":["hashtag1","hashtag2"]},{"1402147905":["hashtag1","hashtag2"]},{"1402147901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147903, 1402147900, 1402147899, 1402147902, 1402147905, 1402147901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51494598388672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:35:21.913856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_44_9693.jpg', '/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_55_10570.jpg', '/home/pi/Desktop/images/02012026/11/55/image_02012026_11_55_14_10040.jpg', '/home/pi/Desktop/images/02012026/11/55/image_02012026_11_55_35_10063.jpg', '/home/pi/Desktop/images/02012026/11/55/image_02012026_11_55_44_9800.jpg', '/home/pi/Desktop/images/02012026/11/56/image_02012026_11_56_04_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_44_9693.jpg
/home/pi/Desktop/images/02012026/11/54/image_02012026_11_54_55_10570.jpg
/home/pi/Desktop/images/02012026/11/55/image_02012026_11_55_14_10040.jpg
/home/pi/Desktop/images/02012026/11/55/image_02012026_11_55_35_10063.jpg
/home/pi/Desktop/images/02012026/11/55/image_02012026_11_55_44_9800.jpg
/home/pi/Desktop/images/02012026/11/56/image_02012026_11_56_04_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147918","1402147920","1402147914","1402147922","1402147910","1402147916"],"photo_ids_order":["1402147910","1402147914","1402147916","1402147918","1402147920","1402147922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/58e401920ee0204ce7ce48afc739cbd4.jpg","text":"TemporaryFile(/tmp/multipartBody7183217739016904267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353782560,"filename":"image_02012026_11_55_35_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/2/c489dbfa992aea6ce6c9439f57714434.jpg","text":"TemporaryFile(/tmp/multipartBody674675329427496937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353782560,"filename":"image_02012026_11_55_44_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/2/058f81949dabf17c39f58fbcacd66d84.jpg","text":"TemporaryFile(/tmp/multipartBody6226345746827049750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353782560,"filename":"image_02012026_11_54_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/2/a8735fdff237eaa9e67ed11aef70e65c.jpg","text":"TemporaryFile(/tmp/multipartBody9020285932995715850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353782560,"filename":"image_02012026_11_56_04_10164.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91dfee6542529039f7893b74779f07e3.jpg","text":"TemporaryFile(/tmp/multipartBody8515395689738488348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353782560,"filename":"image_02012026_11_54_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/2/ff84f6eadac64dd06409571294018094.jpg","text":"TemporaryFile(/tmp/multipartBody6563039807359799094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353782560,"filename":"image_02012026_11_55_14_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147916","file1":"1402147914","file0":"1402147910","file4":"1402147920","file5":"1402147922","file3":"1402147918"},"map_files_photo_id_array":[{"photo_id":"1402147922","filename":"file5"},{"photo_id":"1402147916","filename":"file2"},{"photo_id":"1402147920","filename":"file4"},{"photo_id":"1402147914","filename":"file1"},{"photo_id":"1402147910","filename":"file0"},{"photo_id":"1402147918","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147918":["hashtag1","hashtag2"]},{"1402147920":["hashtag1","hashtag2"]},{"1402147914":["hashtag1","hashtag2"]},{"1402147922":["hashtag1","hashtag2"]},{"1402147910":["hashtag1","hashtag2"]},{"1402147916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147918, 1402147920, 1402147914, 1402147922, 1402147910, 1402147916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.785712242126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:36:02.601011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/56/image_02012026_11_56_14_9944.jpg', '/home/pi/Desktop/images/02012026/11/56/image_02012026_11_56_54_9733.jpg', '/home/pi/Desktop/images/02012026/11/56/image_02012026_11_57_05_10622.jpg', '/home/pi/Desktop/images/02012026/11/57/image_02012026_11_57_24_9575.jpg', '/home/pi/Desktop/images/02012026/11/57/image_02012026_11_57_35_10781.jpg', '/home/pi/Desktop/images/02012026/11/57/image_02012026_11_57_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/56/image_02012026_11_56_14_9944.jpg
/home/pi/Desktop/images/02012026/11/56/image_02012026_11_56_54_9733.jpg
/home/pi/Desktop/images/02012026/11/56/image_02012026_11_57_05_10622.jpg
/home/pi/Desktop/images/02012026/11/57/image_02012026_11_57_24_9575.jpg
/home/pi/Desktop/images/02012026/11/57/image_02012026_11_57_35_10781.jpg
/home/pi/Desktop/images/02012026/11/57/image_02012026_11_57_54_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":["1402147939","1402147950","1402147944","1402147947","1402147941","1402147937"],"photo_ids_order":["1402147937","1402147939","1402147941","1402147944","1402147947","1402147950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e977221e730b53c186641c172e00720.jpg","text":"TemporaryFile(/tmp/multipartBody1084237158704758756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353823274,"filename":"image_02012026_11_56_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/2/4da79973db55c4c0fbe055c70cb6e9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4775966265988220961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353823274,"filename":"image_02012026_11_57_54_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/2/482882e4e6bfe7fea627353a87adfa02.jpg","text":"TemporaryFile(/tmp/multipartBody4658202113589888180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353823274,"filename":"image_02012026_11_57_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/2/9f03c1415bb3ef3e4fda1b0b7cd28bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6049798345070138849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353823274,"filename":"image_02012026_11_57_35_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/2/bf9996a9910130be99f462dbddbd0da3.jpg","text":"TemporaryFile(/tmp/multipartBody6384994971527327109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353823274,"filename":"image_02012026_11_57_05_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/2/029798ad414e4c136e247e0e91b549ca.jpg","text":"TemporaryFile(/tmp/multipartBody8171427415184432953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353823274,"filename":"image_02012026_11_56_14_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147941","file1":"1402147939","file0":"1402147937","file4":"1402147947","file5":"1402147950","file3":"1402147944"},"map_files_photo_id_array":[{"photo_id":"1402147950","filename":"file5"},{"photo_id":"1402147941","filename":"file2"},{"photo_id":"1402147947","filename":"file4"},{"photo_id":"1402147939","filename":"file1"},{"photo_id":"1402147937","filename":"file0"},{"photo_id":"1402147944","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402147939":["hashtag1","hashtag2"]},{"1402147950":["hashtag1","hashtag2"]},{"1402147944":["hashtag1","hashtag2"]},{"1402147947":["hashtag1","hashtag2"]},{"1402147941":["hashtag1","hashtag2"]},{"1402147937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402147939, 1402147950, 1402147944, 1402147947, 1402147941, 1402147937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.610356092453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:36:42.106037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_26_2770.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_28_2526.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_32_3629.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_34_2688.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_41_3643.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_43_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_26_2770.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_28_2526.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_32_3629.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_34_2688.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_41_3643.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_43_2505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402147980","1402147956","1402147971","1402147981","1402147975","1402147969"],"photo_ids_order":["1402147956","1402147969","1402147971","1402147975","1402147980","1402147981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed03fa6761ddf80693495d5f664f5c92.jpg","text":"TemporaryFile(/tmp/multipartBody50162505447858235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353863968,"filename":"image_05112025_18_32_41_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/2/5b0bda752a99643837a48ac05b1749a7.jpg","text":"TemporaryFile(/tmp/multipartBody2950960453795750085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353863968,"filename":"image_05112025_18_32_26_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/2/a6fea092d72f44162d3c31f12ee87407.jpg","text":"TemporaryFile(/tmp/multipartBody3325146144639305174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353863968,"filename":"image_05112025_18_32_32_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/2/d587572e62f83055f2f1f9873617dca7.jpg","text":"TemporaryFile(/tmp/multipartBody3907134495070299221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353863968,"filename":"image_05112025_18_32_43_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/2/6f76365821bfc9af78b54ee9626e7c36.jpg","text":"TemporaryFile(/tmp/multipartBody8434597053513899271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353863968,"filename":"image_05112025_18_32_34_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/2/3762ba9832176acef7fa866ebe6344ca.jpg","text":"TemporaryFile(/tmp/multipartBody2293131432689686082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353863968,"filename":"image_05112025_18_32_28_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402147971","file1":"1402147969","file0":"1402147956","file4":"1402147980","file5":"1402147981","file3":"1402147975"},"map_files_photo_id_array":[{"photo_id":"1402147981","filename":"file5"},{"photo_id":"1402147971","filename":"file2"},{"photo_id":"1402147980","filename":"file4"},{"photo_id":"1402147969","filename":"file1"},{"photo_id":"1402147956","filename":"file0"},{"photo_id":"1402147975","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402147980":["hashtag1","hashtag2"]},{"1402147956":["hashtag1","hashtag2"]},{"1402147971":["hashtag1","hashtag2"]},{"1402147981":["hashtag1","hashtag2"]},{"1402147975":["hashtag1","hashtag2"]},{"1402147969":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402147980, 1402147956, 1402147971, 1402147981, 1402147975, 1402147969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03946542739868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:37:22.267512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_15_10793.jpg', '/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_24_9813.jpg', '/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_34_9727.jpg', '/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_45_10632.jpg', '/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_54_9772.jpg', '/home/pi/Desktop/images/02012026/11/58/image_02012026_11_59_04_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_15_10793.jpg
/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_24_9813.jpg
/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_34_9727.jpg
/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_45_10632.jpg
/home/pi/Desktop/images/02012026/11/58/image_02012026_11_58_54_9772.jpg
/home/pi/Desktop/images/02012026/11/58/image_02012026_11_59_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":["1402148016","1402148018","1402148012","1402148020","1402148014","1402148023"],"photo_ids_order":["1402148012","1402148014","1402148016","1402148018","1402148020","1402148023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cf764b308596be960b502cf2579f171.jpg","text":"TemporaryFile(/tmp/multipartBody4623068213323598975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353902982,"filename":"image_02012026_11_58_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/2/f2e5a4b5b81d069da53a9dcf844b7daa.jpg","text":"TemporaryFile(/tmp/multipartBody6190268628988233387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353902982,"filename":"image_02012026_11_58_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/2/a7ea9aed98f7ae1304f37dfcf2a84282.jpg","text":"TemporaryFile(/tmp/multipartBody5428938490568222429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353902982,"filename":"image_02012026_11_58_15_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/2/99476e0f1daa62496ae670cade7a83db.jpg","text":"TemporaryFile(/tmp/multipartBody8956683056529454314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353902982,"filename":"image_02012026_11_58_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/2/1ab4bba3befff351cee6d7e40227276f.jpg","text":"TemporaryFile(/tmp/multipartBody7927759293505813130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353902982,"filename":"image_02012026_11_58_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/2/9415a2fd440a549205eea9fe30198c12.jpg","text":"TemporaryFile(/tmp/multipartBody8194409798857423340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353902982,"filename":"image_02012026_11_59_04_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148016","file1":"1402148014","file0":"1402148012","file4":"1402148020","file5":"1402148023","file3":"1402148018"},"map_files_photo_id_array":[{"photo_id":"1402148023","filename":"file5"},{"photo_id":"1402148016","filename":"file2"},{"photo_id":"1402148020","filename":"file4"},{"photo_id":"1402148014","filename":"file1"},{"photo_id":"1402148012","filename":"file0"},{"photo_id":"1402148018","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148016":["hashtag1","hashtag2"]},{"1402148018":["hashtag1","hashtag2"]},{"1402148012":["hashtag1","hashtag2"]},{"1402148020":["hashtag1","hashtag2"]},{"1402148014":["hashtag1","hashtag2"]},{"1402148023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148016, 1402148018, 1402148012, 1402148020, 1402148014, 1402148023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76099872589111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:38:03.039667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_14_9760.jpg', '/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_25_10747.jpg', '/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_34_9738.jpg', '/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_44_9656.jpg', '/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_54_10035.jpg', '/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_14_9760.jpg
/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_25_10747.jpg
/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_34_9738.jpg
/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_44_9656.jpg
/home/pi/Desktop/images/02012026/11/59/image_02012026_11_59_54_10035.jpg
/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_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":["1402148031","1402148025","1402148034","1402148024","1402148027","1402148029"],"photo_ids_order":["1402148024","1402148025","1402148027","1402148029","1402148031","1402148034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e976fc8f8a7c76140bea33cca41c7b98.jpg","text":"TemporaryFile(/tmp/multipartBody2168050889715191324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353943788,"filename":"image_02012026_11_59_54_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/2/746ccee992cfd81141869d2170d8f507.jpg","text":"TemporaryFile(/tmp/multipartBody7657325455880076783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353943788,"filename":"image_02012026_11_59_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/2/f2afb12ce723978ebe019f8784cf10bd.jpg","text":"TemporaryFile(/tmp/multipartBody3940074223337803564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353943788,"filename":"image_02012026_12_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/2/be7bdf2b61516b1f8bb24c02b0884036.jpg","text":"TemporaryFile(/tmp/multipartBody5389075932136007740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353943788,"filename":"image_02012026_11_59_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/2/4200ca7fb22e971283ae24ffdcb4bff5.jpg","text":"TemporaryFile(/tmp/multipartBody1729882070917479241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353943788,"filename":"image_02012026_11_59_34_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/2/b007b9f6f868d1527ab1646e4c560baa.jpg","text":"TemporaryFile(/tmp/multipartBody1959001468267943394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353943788,"filename":"image_02012026_11_59_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148027","file1":"1402148025","file0":"1402148024","file4":"1402148031","file5":"1402148034","file3":"1402148029"},"map_files_photo_id_array":[{"photo_id":"1402148034","filename":"file5"},{"photo_id":"1402148027","filename":"file2"},{"photo_id":"1402148031","filename":"file4"},{"photo_id":"1402148025","filename":"file1"},{"photo_id":"1402148024","filename":"file0"},{"photo_id":"1402148029","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148031":["hashtag1","hashtag2"]},{"1402148025":["hashtag1","hashtag2"]},{"1402148034":["hashtag1","hashtag2"]},{"1402148024":["hashtag1","hashtag2"]},{"1402148027":["hashtag1","hashtag2"]},{"1402148029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148031, 1402148025, 1402148034, 1402148024, 1402148027, 1402148029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17007660865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:38:42.571665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_49_2709.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_52_2742.jpg', '/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_59_2603.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_01_2902.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_04_2796.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_10_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_49_2709.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_52_2742.jpg
/home/pi/Desktop/images/05112025/18/32/image_05112025_18_32_59_2603.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_01_2902.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_04_2796.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_10_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148055","1402148058","1402148054","1402148057","1402148042","1402148056"],"photo_ids_order":["1402148042","1402148054","1402148055","1402148056","1402148057","1402148058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7d19489ce4e308d7037afb8256598320.jpg","text":"TemporaryFile(/tmp/multipartBody3957711687070189186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353984433,"filename":"image_05112025_18_32_59_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/2/b27df507d8876ecabb38f4f04bcf94c3.jpg","text":"TemporaryFile(/tmp/multipartBody8129663148348379495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353984433,"filename":"image_05112025_18_33_10_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/2/a53a144dbf388e6bd99dc9db9df64b9f.jpg","text":"TemporaryFile(/tmp/multipartBody999277840410728273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353984433,"filename":"image_05112025_18_32_52_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/2/174310857207a925eef76158ebf263be.jpg","text":"TemporaryFile(/tmp/multipartBody1310589962632612233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353984433,"filename":"image_05112025_18_33_04_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/2/bb64cf109548020e32eea6ea62fc74f8.jpg","text":"TemporaryFile(/tmp/multipartBody1637719039312871638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353984433,"filename":"image_05112025_18_32_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/2/67a75f9bcbdd09886a8f7005fc7163f5.jpg","text":"TemporaryFile(/tmp/multipartBody2129369988501202179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767353984433,"filename":"image_05112025_18_33_01_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148055","file1":"1402148054","file0":"1402148042","file4":"1402148057","file5":"1402148058","file3":"1402148056"},"map_files_photo_id_array":[{"photo_id":"1402148058","filename":"file5"},{"photo_id":"1402148055","filename":"file2"},{"photo_id":"1402148057","filename":"file4"},{"photo_id":"1402148054","filename":"file1"},{"photo_id":"1402148042","filename":"file0"},{"photo_id":"1402148056","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148055":["hashtag1","hashtag2"]},{"1402148058":["hashtag1","hashtag2"]},{"1402148054":["hashtag1","hashtag2"]},{"1402148057":["hashtag1","hashtag2"]},{"1402148042":["hashtag1","hashtag2"]},{"1402148056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148055, 1402148058, 1402148054, 1402148057, 1402148042, 1402148056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.106921672821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:39:22.740286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_25_10777.jpg', '/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_35_10068.jpg', '/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_45_9709.jpg', '/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_55_9729.jpg', '/home/pi/Desktop/images/02012026/12/00/image_02012026_12_01_04_9764.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_15_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_25_10777.jpg
/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_35_10068.jpg
/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_45_9709.jpg
/home/pi/Desktop/images/02012026/12/00/image_02012026_12_00_55_9729.jpg
/home/pi/Desktop/images/02012026/12/00/image_02012026_12_01_04_9764.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_15_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148061","1402148066","1402148069","1402148063","1402148083","1402148071"],"photo_ids_order":["1402148061","1402148063","1402148066","1402148069","1402148071","1402148083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f0a6ec8a4a059e317d85480d8ab22a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8199605114937418882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354023466,"filename":"image_02012026_12_00_25_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/2/7e9daf1ca491c3fb60a096fd3afc427c.jpg","text":"TemporaryFile(/tmp/multipartBody8002601463368574285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354023466,"filename":"image_02012026_12_00_45_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/2/73fb474c500cf834febef40b3e25478b.jpg","text":"TemporaryFile(/tmp/multipartBody4546001612312256534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354023466,"filename":"image_02012026_12_00_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/2/307969d56524bff435e4c5a90f36890c.jpg","text":"TemporaryFile(/tmp/multipartBody7599038158835768591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354023466,"filename":"image_02012026_12_00_35_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dad700a96785079b082a2c376b8fd98d.jpg","text":"TemporaryFile(/tmp/multipartBody8918957244329106954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354023466,"filename":"image_02012026_12_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/2/af9dd2805840ca2a50a0858e8a00997f.jpg","text":"TemporaryFile(/tmp/multipartBody7048815821786353819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354023466,"filename":"image_02012026_12_01_04_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148066","file1":"1402148063","file0":"1402148061","file4":"1402148071","file5":"1402148083","file3":"1402148069"},"map_files_photo_id_array":[{"photo_id":"1402148083","filename":"file5"},{"photo_id":"1402148066","filename":"file2"},{"photo_id":"1402148071","filename":"file4"},{"photo_id":"1402148063","filename":"file1"},{"photo_id":"1402148061","filename":"file0"},{"photo_id":"1402148069","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148061":["hashtag1","hashtag2"]},{"1402148066":["hashtag1","hashtag2"]},{"1402148069":["hashtag1","hashtag2"]},{"1402148063":["hashtag1","hashtag2"]},{"1402148083":["hashtag1","hashtag2"]},{"1402148071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148061, 1402148066, 1402148069, 1402148063, 1402148083, 1402148071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64262533187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:40:02.273642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_25_9832.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_35_9717.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_45_9883.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_54_9869.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_02_05_10258.jpg', '/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_14_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_25_9832.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_35_9717.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_45_9883.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_54_9869.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_02_05_10258.jpg
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_14_9727.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6596753597259521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:40:11.840300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_17_2691.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_28_2727.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_32_3577.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_35_2819.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_37_2725.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_40_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_17_2691.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_28_2727.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_32_3577.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_35_2819.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_37_2725.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_40_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148181","1402148184","1402148186","1402148159","1402148188","1402148190"],"photo_ids_order":["1402148159","1402148181","1402148184","1402148186","1402148188","1402148190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82a040f6d7d097ec9a4572775dc287dd.jpg","text":"TemporaryFile(/tmp/multipartBody3707559157712813709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354073561,"filename":"image_05112025_18_33_28_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3f65c87d77a5b46ce81402e8933f0af.jpg","text":"TemporaryFile(/tmp/multipartBody3948948474200539761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354073561,"filename":"image_05112025_18_33_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/2/c0f16da06d401d954df1a1a373c63cc7.jpg","text":"TemporaryFile(/tmp/multipartBody181390543233253283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354073561,"filename":"image_05112025_18_33_35_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/2/81b23b7b5e927b881a992307c4539085.jpg","text":"TemporaryFile(/tmp/multipartBody500712896385920213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354073561,"filename":"image_05112025_18_33_17_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/2/68e49c4384259ac1c6f9d5371928595a.jpg","text":"TemporaryFile(/tmp/multipartBody6420006768941434591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354073561,"filename":"image_05112025_18_33_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/2/88d201bc469c2ac12e75fc0cb1bbb72a.jpg","text":"TemporaryFile(/tmp/multipartBody2154126145105461275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354073561,"filename":"image_05112025_18_33_40_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148184","file1":"1402148181","file0":"1402148159","file4":"1402148188","file5":"1402148190","file3":"1402148186"},"map_files_photo_id_array":[{"photo_id":"1402148190","filename":"file5"},{"photo_id":"1402148184","filename":"file2"},{"photo_id":"1402148188","filename":"file4"},{"photo_id":"1402148181","filename":"file1"},{"photo_id":"1402148159","filename":"file0"},{"photo_id":"1402148186","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148181":["hashtag1","hashtag2"]},{"1402148184":["hashtag1","hashtag2"]},{"1402148186":["hashtag1","hashtag2"]},{"1402148159":["hashtag1","hashtag2"]},{"1402148188":["hashtag1","hashtag2"]},{"1402148190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148181, 1402148184, 1402148186, 1402148159, 1402148188, 1402148190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04257583618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:41:02.841866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_25_9832.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_35_9717.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_45_9883.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_54_9869.jpg', '/home/pi/Desktop/images/02012026/12/01/image_02012026_12_02_05_10258.jpg', '/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_14_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_25_9832.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_35_9717.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_45_9883.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_01_54_9869.jpg
/home/pi/Desktop/images/02012026/12/01/image_02012026_12_02_05_10258.jpg
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_14_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148202","1402148201","1402148204","1402148207","1402148200","1402148199"],"photo_ids_order":["1402148199","1402148200","1402148201","1402148202","1402148204","1402148207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/917985c7c8421a4aa1dc67ce3d9ca0e0.jpg","text":"TemporaryFile(/tmp/multipartBody2578656426545504261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354123696,"filename":"image_02012026_12_01_54_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/2/809bfa16c310405ccd15ffe34c7540b0.jpg","text":"TemporaryFile(/tmp/multipartBody5426319775123101115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354123696,"filename":"image_02012026_12_01_45_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/2/51bd579c16f7608a511c7a749f1da097.jpg","text":"TemporaryFile(/tmp/multipartBody2239203576252915826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354123696,"filename":"image_02012026_12_02_05_10258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53190ab07e0d6509e338acf6615ba1c3.jpg","text":"TemporaryFile(/tmp/multipartBody7424140459476466633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354123696,"filename":"image_02012026_12_02_14_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/2/d27edf070688834b870042f03668d70c.jpg","text":"TemporaryFile(/tmp/multipartBody4344865484330682239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354123696,"filename":"image_02012026_12_01_35_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/2/5cca6461e3a170c534119c52524a1024.jpg","text":"TemporaryFile(/tmp/multipartBody7572478019341379003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354123696,"filename":"image_02012026_12_01_25_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148201","file1":"1402148200","file0":"1402148199","file4":"1402148204","file5":"1402148207","file3":"1402148202"},"map_files_photo_id_array":[{"photo_id":"1402148207","filename":"file5"},{"photo_id":"1402148201","filename":"file2"},{"photo_id":"1402148204","filename":"file4"},{"photo_id":"1402148200","filename":"file1"},{"photo_id":"1402148199","filename":"file0"},{"photo_id":"1402148202","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148202":["hashtag1","hashtag2"]},{"1402148201":["hashtag1","hashtag2"]},{"1402148204":["hashtag1","hashtag2"]},{"1402148207":["hashtag1","hashtag2"]},{"1402148200":["hashtag1","hashtag2"]},{"1402148199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148202, 1402148201, 1402148204, 1402148207, 1402148200, 1402148199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88368844985962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:41:42.188640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_44_3723.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_46_2539.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_49_2669.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_55_2653.jpg', '/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_59_3634.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_01_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_44_3723.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_46_2539.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_49_2669.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_55_2653.jpg
/home/pi/Desktop/images/05112025/18/33/image_05112025_18_33_59_3634.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_01_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148232","1402148226","1402148229","1402148225","1402148213","1402148233"],"photo_ids_order":["1402148213","1402148225","1402148226","1402148229","1402148232","1402148233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/837e616eb9defde386b060f4b2ed525f.jpg","text":"TemporaryFile(/tmp/multipartBody3200428561999796871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354164072,"filename":"image_05112025_18_33_59_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/2/17ca6b2e3a1fd66d839112d30565ec89.jpg","text":"TemporaryFile(/tmp/multipartBody2075545731399722496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354164072,"filename":"image_05112025_18_33_49_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/2/58f9e6a4c6a52b1b006d2823915ec67b.jpg","text":"TemporaryFile(/tmp/multipartBody4669147633719443831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354164072,"filename":"image_05112025_18_33_55_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/2/e5a47e974f5716108812e70d79fcf909.jpg","text":"TemporaryFile(/tmp/multipartBody8069858337229003112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354164072,"filename":"image_05112025_18_33_46_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/2/43a87449baa2435fc07cbb643c627f2a.jpg","text":"TemporaryFile(/tmp/multipartBody3110978747886723136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354164072,"filename":"image_05112025_18_33_44_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/2/0a204da5fed2276a49f5ab2b1e635170.jpg","text":"TemporaryFile(/tmp/multipartBody8882986329099292625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354164072,"filename":"image_05112025_18_34_01_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148226","file1":"1402148225","file0":"1402148213","file4":"1402148232","file5":"1402148233","file3":"1402148229"},"map_files_photo_id_array":[{"photo_id":"1402148233","filename":"file5"},{"photo_id":"1402148226","filename":"file2"},{"photo_id":"1402148232","filename":"file4"},{"photo_id":"1402148225","filename":"file1"},{"photo_id":"1402148213","filename":"file0"},{"photo_id":"1402148229","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148232":["hashtag1","hashtag2"]},{"1402148226":["hashtag1","hashtag2"]},{"1402148229":["hashtag1","hashtag2"]},{"1402148225":["hashtag1","hashtag2"]},{"1402148213":["hashtag1","hashtag2"]},{"1402148233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148232, 1402148226, 1402148229, 1402148225, 1402148213, 1402148233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77437877655029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:42:22.365125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_25_10869.jpg', '/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_35_9669.jpg', '/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_45_9673.jpg', '/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_55_9910.jpg', '/home/pi/Desktop/images/02012026/12/02/image_02012026_12_03_05_10793.jpg', '/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_15_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_25_10869.jpg
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_35_9669.jpg
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_45_9673.jpg
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_02_55_9910.jpg
/home/pi/Desktop/images/02012026/12/02/image_02012026_12_03_05_10793.jpg
/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_15_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148244","1402148252","1402148246","1402148239","1402148248","1402148236"],"photo_ids_order":["1402148236","1402148239","1402148244","1402148246","1402148248","1402148252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cf9fc826b1dc632ea2b53eb3d5ea4cc.jpg","text":"TemporaryFile(/tmp/multipartBody1176309505653050939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354203151,"filename":"image_02012026_12_02_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/2/bee16e915649808ee6d2ff03d4d8fed3.jpg","text":"TemporaryFile(/tmp/multipartBody8903180167082636824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354203151,"filename":"image_02012026_12_03_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/2/5d7ecd6c07a4bdb75b8174a6d1a25e71.jpg","text":"TemporaryFile(/tmp/multipartBody8295522748888077012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354203151,"filename":"image_02012026_12_02_55_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/2/9b7223a2651f988763039b1096a36698.jpg","text":"TemporaryFile(/tmp/multipartBody3800270421994032295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354203151,"filename":"image_02012026_12_02_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/2/8a8c87e3955e1eb1d147e8d4eba43c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1202379029032493515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354203151,"filename":"image_02012026_12_03_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/2/8970b959488e32c531707f20517ec402.jpg","text":"TemporaryFile(/tmp/multipartBody6846746521948575144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354203151,"filename":"image_02012026_12_02_25_10869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148244","file1":"1402148239","file0":"1402148236","file4":"1402148248","file5":"1402148252","file3":"1402148246"},"map_files_photo_id_array":[{"photo_id":"1402148252","filename":"file5"},{"photo_id":"1402148244","filename":"file2"},{"photo_id":"1402148248","filename":"file4"},{"photo_id":"1402148239","filename":"file1"},{"photo_id":"1402148236","filename":"file0"},{"photo_id":"1402148246","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148244":["hashtag1","hashtag2"]},{"1402148252":["hashtag1","hashtag2"]},{"1402148246":["hashtag1","hashtag2"]},{"1402148239":["hashtag1","hashtag2"]},{"1402148248":["hashtag1","hashtag2"]},{"1402148236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148244, 1402148252, 1402148246, 1402148239, 1402148248, 1402148236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.539494037628174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:43:03.176599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_25_9644.jpg', '/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_35_10245.jpg', '/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_45_9860.jpg', '/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_55_10028.jpg', '/home/pi/Desktop/images/02012026/12/03/image_02012026_12_04_04_9735.jpg', '/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_15_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_25_9644.jpg
/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_35_10245.jpg
/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_45_9860.jpg
/home/pi/Desktop/images/02012026/12/03/image_02012026_12_03_55_10028.jpg
/home/pi/Desktop/images/02012026/12/03/image_02012026_12_04_04_9735.jpg
/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_15_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148271","1402148265","1402148264","1402148267","1402148258","1402148269"],"photo_ids_order":["1402148258","1402148264","1402148265","1402148267","1402148269","1402148271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eedba93dd43d530942b988f8fb165a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7712073294975831487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354243982,"filename":"image_02012026_12_04_15_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/2/1a0dc52683b2292f96ab78aecb02c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody1715307193830101491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354243982,"filename":"image_02012026_12_03_45_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/2/5e93064b08e19ec3ceca559f79cc48b2.jpg","text":"TemporaryFile(/tmp/multipartBody7102813798836114426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354243982,"filename":"image_02012026_12_03_35_10245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/47fe411f6e61f2de79c5c716eaef1373.jpg","text":"TemporaryFile(/tmp/multipartBody6435815089115626530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354243982,"filename":"image_02012026_12_03_55_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5df43f14aae956800688bb266d5cc20e.jpg","text":"TemporaryFile(/tmp/multipartBody1571784125746943747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354243982,"filename":"image_02012026_12_03_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/2/c4ce71f9ccbc602562e40c429639a7ab.jpg","text":"TemporaryFile(/tmp/multipartBody7669846484628498402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354243982,"filename":"image_02012026_12_04_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148265","file1":"1402148264","file0":"1402148258","file4":"1402148269","file5":"1402148271","file3":"1402148267"},"map_files_photo_id_array":[{"photo_id":"1402148271","filename":"file5"},{"photo_id":"1402148265","filename":"file2"},{"photo_id":"1402148269","filename":"file4"},{"photo_id":"1402148264","filename":"file1"},{"photo_id":"1402148258","filename":"file0"},{"photo_id":"1402148267","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148271":["hashtag1","hashtag2"]},{"1402148265":["hashtag1","hashtag2"]},{"1402148264":["hashtag1","hashtag2"]},{"1402148267":["hashtag1","hashtag2"]},{"1402148258":["hashtag1","hashtag2"]},{"1402148269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148271, 1402148265, 1402148264, 1402148267, 1402148258, 1402148269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24980807304382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:43:42.558421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_04_2607.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_08_3601.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_10_2743.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_13_2609.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_17_3689.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_22_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_04_2607.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_08_3601.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_10_2743.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_13_2609.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_17_3689.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_22_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148280","1402148283","1402148277","1402148282","1402148279","1402148281"],"photo_ids_order":["1402148277","1402148279","1402148280","1402148281","1402148282","1402148283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f9c23fd5dd0843c32d808228bd75d6b0.jpg","text":"TemporaryFile(/tmp/multipartBody972684587443170013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354284606,"filename":"image_05112025_18_34_10_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/2/0f929d66c5a2bd1a4978efa18fbe4e71.jpg","text":"TemporaryFile(/tmp/multipartBody5697530552682589586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354284606,"filename":"image_05112025_18_34_22_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/2/368064253a31996adbec0c3fd8813452.jpg","text":"TemporaryFile(/tmp/multipartBody2431492136628897541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354284606,"filename":"image_05112025_18_34_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/2/bd35d0f5895ac1ebd718ff75ef6d986e.jpg","text":"TemporaryFile(/tmp/multipartBody8871457243620810722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354284606,"filename":"image_05112025_18_34_17_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/2/f9a2716c71f9e662f6f722ae34fcdb5c.jpg","text":"TemporaryFile(/tmp/multipartBody7593844941288655125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354284606,"filename":"image_05112025_18_34_08_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/2/137f4912ac2079037a490f653b50f51e.jpg","text":"TemporaryFile(/tmp/multipartBody6116541250921361455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354284606,"filename":"image_05112025_18_34_13_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148280","file1":"1402148279","file0":"1402148277","file4":"1402148282","file5":"1402148283","file3":"1402148281"},"map_files_photo_id_array":[{"photo_id":"1402148283","filename":"file5"},{"photo_id":"1402148280","filename":"file2"},{"photo_id":"1402148282","filename":"file4"},{"photo_id":"1402148279","filename":"file1"},{"photo_id":"1402148277","filename":"file0"},{"photo_id":"1402148281","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148280":["hashtag1","hashtag2"]},{"1402148283":["hashtag1","hashtag2"]},{"1402148277":["hashtag1","hashtag2"]},{"1402148282":["hashtag1","hashtag2"]},{"1402148279":["hashtag1","hashtag2"]},{"1402148281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148280, 1402148283, 1402148277, 1402148282, 1402148279, 1402148281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17059540748596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:44:22.739548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_25_9618.jpg', '/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_35_9683.jpg', '/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_45_10620.jpg', '/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_55_9874.jpg', '/home/pi/Desktop/images/02012026/12/04/image_02012026_12_05_05_9780.jpg', '/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_15_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_25_9618.jpg
/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_35_9683.jpg
/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_45_10620.jpg
/home/pi/Desktop/images/02012026/12/04/image_02012026_12_04_55_9874.jpg
/home/pi/Desktop/images/02012026/12/04/image_02012026_12_05_05_9780.jpg
/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_15_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148302","1402148295","1402148297","1402148288","1402148293","1402148299"],"photo_ids_order":["1402148288","1402148293","1402148295","1402148297","1402148299","1402148302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d55239ccf1e95136ce4e2c2cfe7b018f.jpg","text":"TemporaryFile(/tmp/multipartBody7540168751609449934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354323471,"filename":"image_02012026_12_05_15_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/2/b189152ca1c3c95af49400eb9d9b8b11.jpg","text":"TemporaryFile(/tmp/multipartBody5198269133530576489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354323471,"filename":"image_02012026_12_04_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/2/9b81f848c501d793e9582f6973d15d2a.jpg","text":"TemporaryFile(/tmp/multipartBody71966203972161192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354323471,"filename":"image_02012026_12_04_55_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/2/6570e68c938e70e169e19a29bdadcc47.jpg","text":"TemporaryFile(/tmp/multipartBody6020403353094299206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354323471,"filename":"image_02012026_12_04_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/2/49eae0cbbaccfce8dd4b4d04ec15669a.jpg","text":"TemporaryFile(/tmp/multipartBody4457854696835591055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354323471,"filename":"image_02012026_12_04_35_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/2/4fae714488dc9ba7362ef7551f6193af.jpg","text":"TemporaryFile(/tmp/multipartBody6948504036280322425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354323471,"filename":"image_02012026_12_05_05_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148295","file1":"1402148293","file0":"1402148288","file4":"1402148299","file5":"1402148302","file3":"1402148297"},"map_files_photo_id_array":[{"photo_id":"1402148302","filename":"file5"},{"photo_id":"1402148295","filename":"file2"},{"photo_id":"1402148299","filename":"file4"},{"photo_id":"1402148293","filename":"file1"},{"photo_id":"1402148288","filename":"file0"},{"photo_id":"1402148297","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148302":["hashtag1","hashtag2"]},{"1402148295":["hashtag1","hashtag2"]},{"1402148297":["hashtag1","hashtag2"]},{"1402148288":["hashtag1","hashtag2"]},{"1402148293":["hashtag1","hashtag2"]},{"1402148299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148302, 1402148295, 1402148297, 1402148288, 1402148293, 1402148299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.422895669937134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:45:02.534504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_25_9968.jpg', '/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_35_9901.jpg', '/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_45_10765.jpg', '/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_55_9670.jpg', '/home/pi/Desktop/images/02012026/12/05/image_02012026_12_06_05_10024.jpg', '/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_15_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_25_9968.jpg
/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_35_9901.jpg
/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_45_10765.jpg
/home/pi/Desktop/images/02012026/12/05/image_02012026_12_05_55_9670.jpg
/home/pi/Desktop/images/02012026/12/05/image_02012026_12_06_05_10024.jpg
/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_15_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":["1402148325","1402148327","1402148315","1402148323","1402148320","1402148314"],"photo_ids_order":["1402148314","1402148315","1402148320","1402148323","1402148325","1402148327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/49e5c3f880636290b92a0578441be03a.jpg","text":"TemporaryFile(/tmp/multipartBody9050496211220919143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354363417,"filename":"image_02012026_12_06_05_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/2/bf742d43375262ed9c74555570c32e80.jpg","text":"TemporaryFile(/tmp/multipartBody957843661307559355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354363417,"filename":"image_02012026_12_06_15_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/2/c4c2e412ec282806e2051fb8c103d2c1.jpg","text":"TemporaryFile(/tmp/multipartBody5922263127469715705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354363417,"filename":"image_02012026_12_05_35_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/2/715ef3b95ded3e1885ca4976677303c7.jpg","text":"TemporaryFile(/tmp/multipartBody8549092734371148119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354363417,"filename":"image_02012026_12_05_55_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/2/d3e81b32d9c381bbce6935af2c526b7c.jpg","text":"TemporaryFile(/tmp/multipartBody4871438948324726815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354363417,"filename":"image_02012026_12_05_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/2/f38474594dc84d0089955b749ea3829f.jpg","text":"TemporaryFile(/tmp/multipartBody174589352769419918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354363417,"filename":"image_02012026_12_05_25_9968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148320","file1":"1402148315","file0":"1402148314","file4":"1402148325","file5":"1402148327","file3":"1402148323"},"map_files_photo_id_array":[{"photo_id":"1402148327","filename":"file5"},{"photo_id":"1402148320","filename":"file2"},{"photo_id":"1402148325","filename":"file4"},{"photo_id":"1402148315","filename":"file1"},{"photo_id":"1402148314","filename":"file0"},{"photo_id":"1402148323","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148325":["hashtag1","hashtag2"]},{"1402148327":["hashtag1","hashtag2"]},{"1402148315":["hashtag1","hashtag2"]},{"1402148323":["hashtag1","hashtag2"]},{"1402148320":["hashtag1","hashtag2"]},{"1402148314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148325, 1402148327, 1402148315, 1402148323, 1402148320, 1402148314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84467840194702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:45:41.887924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_26_3578.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_28_2780.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_35_3671.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_37_2590.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_43_3637.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_46_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_26_3578.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_28_2780.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_35_3671.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_37_2590.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_43_3637.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_46_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148337","1402148333","1402148336","1402148339","1402148338","1402148335"],"photo_ids_order":["1402148333","1402148335","1402148336","1402148337","1402148338","1402148339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f498a93db327fdd9e367847f717ac489.jpg","text":"TemporaryFile(/tmp/multipartBody3331860721752408976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354403728,"filename":"image_05112025_18_34_37_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/2/a65875ed66eb1b61b39489706115fd1c.jpg","text":"TemporaryFile(/tmp/multipartBody9043415340489218825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354403728,"filename":"image_05112025_18_34_26_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/2/f50e345ef7445f9a4476ba2236f26d85.jpg","text":"TemporaryFile(/tmp/multipartBody7230281931855897019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354403728,"filename":"image_05112025_18_34_35_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/2/7d16c042808273b6c0fb537780a82f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7080774918651195180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354403728,"filename":"image_05112025_18_34_46_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/2/e14c0032c25f9e89cd76b3986c046bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3997557367391811306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354403728,"filename":"image_05112025_18_34_43_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/2/edf90d5937a05587a509b7d0dc0d072a.jpg","text":"TemporaryFile(/tmp/multipartBody7597319582711039577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354403728,"filename":"image_05112025_18_34_28_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148336","file1":"1402148335","file0":"1402148333","file4":"1402148338","file5":"1402148339","file3":"1402148337"},"map_files_photo_id_array":[{"photo_id":"1402148339","filename":"file5"},{"photo_id":"1402148336","filename":"file2"},{"photo_id":"1402148338","filename":"file4"},{"photo_id":"1402148335","filename":"file1"},{"photo_id":"1402148333","filename":"file0"},{"photo_id":"1402148337","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148337":["hashtag1","hashtag2"]},{"1402148333":["hashtag1","hashtag2"]},{"1402148336":["hashtag1","hashtag2"]},{"1402148339":["hashtag1","hashtag2"]},{"1402148338":["hashtag1","hashtag2"]},{"1402148335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148337, 1402148333, 1402148336, 1402148339, 1402148338, 1402148335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.280654430389404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:46:22.048685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_25_9761.jpg', '/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_35_9847.jpg', '/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_45_10598.jpg', '/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_55_9807.jpg', '/home/pi/Desktop/images/02012026/12/06/image_02012026_12_07_05_9652.jpg', '/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_14_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_25_9761.jpg
/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_35_9847.jpg
/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_45_10598.jpg
/home/pi/Desktop/images/02012026/12/06/image_02012026_12_06_55_9807.jpg
/home/pi/Desktop/images/02012026/12/06/image_02012026_12_07_05_9652.jpg
/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_14_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148349","1402148358","1402148345","1402148354","1402148342","1402148347"],"photo_ids_order":["1402148342","1402148345","1402148347","1402148349","1402148354","1402148358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/037bedd8ceccbe4c485b711640f49789.jpg","text":"TemporaryFile(/tmp/multipartBody7076482890002351175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354442776,"filename":"image_02012026_12_06_55_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/2/c65ea8303eef1433e67bc32b082ad72d.jpg","text":"TemporaryFile(/tmp/multipartBody1389334060574826642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354442776,"filename":"image_02012026_12_07_14_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf1d5348e08a3afb3e360b9dcf9f4273.jpg","text":"TemporaryFile(/tmp/multipartBody563515249156625436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354442776,"filename":"image_02012026_12_06_35_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/2/1c485af8998c76ff862317db67009cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7352025099038813942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354442776,"filename":"image_02012026_12_07_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/2/cb1d48922c67baaf6afcf6268f835555.jpg","text":"TemporaryFile(/tmp/multipartBody2390407365346922316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354442776,"filename":"image_02012026_12_06_25_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/2/fd32086c60d94719598d73a97984efe4.jpg","text":"TemporaryFile(/tmp/multipartBody4329455199142882770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354442776,"filename":"image_02012026_12_06_45_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148347","file1":"1402148345","file0":"1402148342","file4":"1402148354","file5":"1402148358","file3":"1402148349"},"map_files_photo_id_array":[{"photo_id":"1402148358","filename":"file5"},{"photo_id":"1402148347","filename":"file2"},{"photo_id":"1402148354","filename":"file4"},{"photo_id":"1402148345","filename":"file1"},{"photo_id":"1402148342","filename":"file0"},{"photo_id":"1402148349","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148349":["hashtag1","hashtag2"]},{"1402148358":["hashtag1","hashtag2"]},{"1402148345":["hashtag1","hashtag2"]},{"1402148354":["hashtag1","hashtag2"]},{"1402148342":["hashtag1","hashtag2"]},{"1402148347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148349, 1402148358, 1402148345, 1402148354, 1402148342, 1402148347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.307998180389404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:47:02.906485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_25_10638.jpg', '/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_35_9708.jpg', '/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_45_9693.jpg', '/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_54_9816.jpg', '/home/pi/Desktop/images/02012026/12/07/image_02012026_12_08_05_10907.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_15_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_25_10638.jpg
/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_35_9708.jpg
/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_45_9693.jpg
/home/pi/Desktop/images/02012026/12/07/image_02012026_12_07_54_9816.jpg
/home/pi/Desktop/images/02012026/12/07/image_02012026_12_08_05_10907.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_15_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":["1402148385","1402148370","1402148429","1402148368","1402148371","1402148419"],"photo_ids_order":["1402148368","1402148370","1402148371","1402148385","1402148419","1402148429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d97e8b8ca5ecfec499cc6e71073c053e.jpg","text":"TemporaryFile(/tmp/multipartBody2885915914920988822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354483708,"filename":"image_02012026_12_07_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/2/04002e0a8f6c08a283ffe05b0c7733d3.jpg","text":"TemporaryFile(/tmp/multipartBody5520341365723422593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354483708,"filename":"image_02012026_12_07_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/2/b2cb33e611400b5d9a0d677a1281d636.jpg","text":"TemporaryFile(/tmp/multipartBody994926215034524912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354483708,"filename":"image_02012026_12_08_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/2/b2fd11b632473745c7f3262196343bb2.jpg","text":"TemporaryFile(/tmp/multipartBody2551604452039811293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354483708,"filename":"image_02012026_12_07_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/2/ebbc7b58b376fbd967da7c295d632154.jpg","text":"TemporaryFile(/tmp/multipartBody3167498841441548464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354483708,"filename":"image_02012026_12_07_45_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/2/52d3b6b72d52fb27f1188f3d421a00e2.jpg","text":"TemporaryFile(/tmp/multipartBody3532550787798907693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354483708,"filename":"image_02012026_12_08_05_10907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148371","file1":"1402148370","file0":"1402148368","file4":"1402148419","file5":"1402148429","file3":"1402148385"},"map_files_photo_id_array":[{"photo_id":"1402148429","filename":"file5"},{"photo_id":"1402148371","filename":"file2"},{"photo_id":"1402148419","filename":"file4"},{"photo_id":"1402148370","filename":"file1"},{"photo_id":"1402148368","filename":"file0"},{"photo_id":"1402148385","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148385":["hashtag1","hashtag2"]},{"1402148370":["hashtag1","hashtag2"]},{"1402148429":["hashtag1","hashtag2"]},{"1402148368":["hashtag1","hashtag2"]},{"1402148371":["hashtag1","hashtag2"]},{"1402148419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148385, 1402148370, 1402148429, 1402148368, 1402148371, 1402148419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67741012573242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:47:42.238485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_49_2680.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_53_3792.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_55_2689.jpg', '/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_58_2764.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_05_3650.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_07_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_49_2680.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_53_3792.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_55_2689.jpg
/home/pi/Desktop/images/05112025/18/34/image_05112025_18_34_58_2764.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_05_3650.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_07_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":["1402148487","1402148481","1402148526","1402148462","1402148528","1402148507"],"photo_ids_order":["1402148462","1402148481","1402148487","1402148507","1402148526","1402148528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd4f60acd0553757aec7947502aef837.jpg","text":"TemporaryFile(/tmp/multipartBody2874133414713823917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354524103,"filename":"image_05112025_18_34_55_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/2/1a90a924083cf803dec5d75692f1b64a.jpg","text":"TemporaryFile(/tmp/multipartBody431385950826517727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354524103,"filename":"image_05112025_18_34_53_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/2/3a38d96f896eea1ddf32e3d08a8c654d.jpg","text":"TemporaryFile(/tmp/multipartBody17128709495897445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354524103,"filename":"image_05112025_18_35_05_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/2/292ae2c4058b0e930afe4eee6688464f.jpg","text":"TemporaryFile(/tmp/multipartBody4640355279948672064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354524103,"filename":"image_05112025_18_34_49_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/2/ef2c31faf89f14fc62c41a2330c0f060.jpg","text":"TemporaryFile(/tmp/multipartBody4861809151906484869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354524103,"filename":"image_05112025_18_35_07_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/2/c3caff2c5230b8a3e61b5fb2a40b4a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5139712208634439193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354524103,"filename":"image_05112025_18_34_58_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148487","file1":"1402148481","file0":"1402148462","file4":"1402148526","file5":"1402148528","file3":"1402148507"},"map_files_photo_id_array":[{"photo_id":"1402148528","filename":"file5"},{"photo_id":"1402148487","filename":"file2"},{"photo_id":"1402148526","filename":"file4"},{"photo_id":"1402148481","filename":"file1"},{"photo_id":"1402148462","filename":"file0"},{"photo_id":"1402148507","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148487":["hashtag1","hashtag2"]},{"1402148481":["hashtag1","hashtag2"]},{"1402148526":["hashtag1","hashtag2"]},{"1402148462":["hashtag1","hashtag2"]},{"1402148528":["hashtag1","hashtag2"]},{"1402148507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148487, 1402148481, 1402148526, 1402148462, 1402148528, 1402148507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.710121393203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:48:22.401463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_25_9741.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_34_9617.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_45_10815.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_55_9697.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_09_05_9853.jpg', '/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_15_10194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_25_9741.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_34_9617.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_45_10815.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_55_9697.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_09_05_9853.jpg
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_15_10194.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6800103187561035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:48:32.409850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_13_3686.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_16_2841.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_19_2752.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_26_3707.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_28_2522.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_31_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_13_3686.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_16_2841.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_19_2752.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_26_3707.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_28_2522.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_31_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148586","1402148547","1402148579","1402148540","1402148536","1402148589"],"photo_ids_order":["1402148536","1402148540","1402148547","1402148579","1402148586","1402148589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef25612c9c3ee39ee410624926f9a6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5319100913027219389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354574254,"filename":"image_05112025_18_35_28_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/2/1438cb8db4011e184d69120978d3ebde.jpg","text":"TemporaryFile(/tmp/multipartBody6484271523156062223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354574254,"filename":"image_05112025_18_35_19_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/2/145bcfcc1fa0902b37b2d06c292f5d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3047824475197991788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354574254,"filename":"image_05112025_18_35_26_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb6793034470b2040162a6c349381c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2863801979446347473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354574254,"filename":"image_05112025_18_35_16_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/2/f1d6f6a08334849321daa803c9de3a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1286006935044552382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354574254,"filename":"image_05112025_18_35_13_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/2/8bba82e55ce4ed937a578916d34cc371.jpg","text":"TemporaryFile(/tmp/multipartBody7120218082152658030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354574254,"filename":"image_05112025_18_35_31_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148547","file1":"1402148540","file0":"1402148536","file4":"1402148586","file5":"1402148589","file3":"1402148579"},"map_files_photo_id_array":[{"photo_id":"1402148589","filename":"file5"},{"photo_id":"1402148547","filename":"file2"},{"photo_id":"1402148586","filename":"file4"},{"photo_id":"1402148540","filename":"file1"},{"photo_id":"1402148536","filename":"file0"},{"photo_id":"1402148579","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148586":["hashtag1","hashtag2"]},{"1402148547":["hashtag1","hashtag2"]},{"1402148579":["hashtag1","hashtag2"]},{"1402148540":["hashtag1","hashtag2"]},{"1402148536":["hashtag1","hashtag2"]},{"1402148589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148586, 1402148547, 1402148579, 1402148540, 1402148536, 1402148589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.210434675216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:49:12.582612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_34_3565.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_40_2706.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_43_3678.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_46_2625.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_49_2987.jpg', '/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_55_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_34_3565.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_40_2706.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_43_3678.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_46_2625.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_49_2987.jpg
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_55_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148642","1402148639","1402148633","1402148635","1402148623","1402148605"],"photo_ids_order":["1402148605","1402148623","1402148633","1402148635","1402148639","1402148642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/61527d5417776ecb2cda9afd9ac8ba37.jpg","text":"TemporaryFile(/tmp/multipartBody570357999689417053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354614333,"filename":"image_05112025_18_35_55_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/2/aae1cc99de1543ca2ecf65a4b63566a6.jpg","text":"TemporaryFile(/tmp/multipartBody6464570777990771850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354614333,"filename":"image_05112025_18_35_49_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d1196c3347675c1d797a1899bdb8fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3825377502639057931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354614333,"filename":"image_05112025_18_35_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/2/01b024e268f8c07f61d05a4fc3bc5ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6257984327603273131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354614333,"filename":"image_05112025_18_35_46_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/2/8de015e4bccd666e877b16d33a806338.jpg","text":"TemporaryFile(/tmp/multipartBody2123948242451067168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354614333,"filename":"image_05112025_18_35_40_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/2/569cb34a7be833ffcfc8e70413ae3cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6190956803508204014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354614333,"filename":"image_05112025_18_35_34_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148633","file1":"1402148623","file0":"1402148605","file4":"1402148639","file5":"1402148642","file3":"1402148635"},"map_files_photo_id_array":[{"photo_id":"1402148642","filename":"file5"},{"photo_id":"1402148633","filename":"file2"},{"photo_id":"1402148639","filename":"file4"},{"photo_id":"1402148623","filename":"file1"},{"photo_id":"1402148605","filename":"file0"},{"photo_id":"1402148635","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148642":["hashtag1","hashtag2"]},{"1402148639":["hashtag1","hashtag2"]},{"1402148633":["hashtag1","hashtag2"]},{"1402148635":["hashtag1","hashtag2"]},{"1402148623":["hashtag1","hashtag2"]},{"1402148605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148642, 1402148639, 1402148633, 1402148635, 1402148623, 1402148605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7674458026886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:50:03.236432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_25_9741.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_34_9617.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_45_10815.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_55_9697.jpg', '/home/pi/Desktop/images/02012026/12/08/image_02012026_12_09_05_9853.jpg', '/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_15_10194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_25_9741.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_34_9617.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_45_10815.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_08_55_9697.jpg
/home/pi/Desktop/images/02012026/12/08/image_02012026_12_09_05_9853.jpg
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_15_10194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148652","1402148646","1402148654","1402148648","1402148647","1402148650"],"photo_ids_order":["1402148646","1402148647","1402148648","1402148650","1402148652","1402148654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f45af41d379a7944e09d01fff7392063.jpg","text":"TemporaryFile(/tmp/multipartBody8412801426322610353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354663995,"filename":"image_02012026_12_09_05_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/2/755a2d383b862b0755e59d7aba41c77a.jpg","text":"TemporaryFile(/tmp/multipartBody7472395460662139536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354663995,"filename":"image_02012026_12_08_25_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/2/35171ead7d2b51e00408a805ef24667e.jpg","text":"TemporaryFile(/tmp/multipartBody8434244033233419524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354663995,"filename":"image_02012026_12_09_15_10194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ac010b0b539dfbd2f2e77b319ee186aa.jpg","text":"TemporaryFile(/tmp/multipartBody5576314921257419858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354663995,"filename":"image_02012026_12_08_45_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa703d00ccbd1b2f5d001d91db179a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1007320444311494374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354663995,"filename":"image_02012026_12_08_34_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/2/8bc6160700f93c2f4d6bfbf14c7ac1a7.jpg","text":"TemporaryFile(/tmp/multipartBody4087492781728581574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354663995,"filename":"image_02012026_12_08_55_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148648","file1":"1402148647","file0":"1402148646","file4":"1402148652","file5":"1402148654","file3":"1402148650"},"map_files_photo_id_array":[{"photo_id":"1402148654","filename":"file5"},{"photo_id":"1402148648","filename":"file2"},{"photo_id":"1402148652","filename":"file4"},{"photo_id":"1402148647","filename":"file1"},{"photo_id":"1402148646","filename":"file0"},{"photo_id":"1402148650","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148652":["hashtag1","hashtag2"]},{"1402148646":["hashtag1","hashtag2"]},{"1402148654":["hashtag1","hashtag2"]},{"1402148648":["hashtag1","hashtag2"]},{"1402148647":["hashtag1","hashtag2"]},{"1402148650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148652, 1402148646, 1402148654, 1402148648, 1402148647, 1402148650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35854649543762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:50:42.891394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_58_2669.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_16_2783.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_19_3586.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_22_2744.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_25_2615.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_28_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/35/image_05112025_18_35_58_2669.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_16_2783.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_19_3586.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_22_2744.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_25_2615.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_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":["1402148664","1402148690","1402148687","1402148681","1402148677","1402148688"],"photo_ids_order":["1402148664","1402148677","1402148681","1402148687","1402148688","1402148690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c1ad783d6258ec2516fee8206cf1336.jpg","text":"TemporaryFile(/tmp/multipartBody8233179688102701731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354704731,"filename":"image_05112025_18_35_58_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/2/4a5e0821287e6fb3db97f1788ee7a35b.jpg","text":"TemporaryFile(/tmp/multipartBody8725495303232176674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354704731,"filename":"image_05112025_18_36_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/2/c2ecd91a7cdeb066e1c6c3b6b6fb06d2.jpg","text":"TemporaryFile(/tmp/multipartBody3149167859881070877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354704731,"filename":"image_05112025_18_36_22_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/2/11b9c6b76294ef1a1d71d05dc50a6897.jpg","text":"TemporaryFile(/tmp/multipartBody5583822447060799326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354704731,"filename":"image_05112025_18_36_19_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/2/098ec60fd88d3b29a5731dbb3c6a562b.jpg","text":"TemporaryFile(/tmp/multipartBody5824679796726339976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354704731,"filename":"image_05112025_18_36_16_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/2/d1048436742dffa93b4a8f40d59d69e2.jpg","text":"TemporaryFile(/tmp/multipartBody2601272451073822810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354704731,"filename":"image_05112025_18_36_25_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148681","file1":"1402148677","file0":"1402148664","file4":"1402148688","file5":"1402148690","file3":"1402148687"},"map_files_photo_id_array":[{"photo_id":"1402148690","filename":"file5"},{"photo_id":"1402148681","filename":"file2"},{"photo_id":"1402148688","filename":"file4"},{"photo_id":"1402148677","filename":"file1"},{"photo_id":"1402148664","filename":"file0"},{"photo_id":"1402148687","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148664":["hashtag1","hashtag2"]},{"1402148690":["hashtag1","hashtag2"]},{"1402148687":["hashtag1","hashtag2"]},{"1402148681":["hashtag1","hashtag2"]},{"1402148677":["hashtag1","hashtag2"]},{"1402148688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148664, 1402148690, 1402148687, 1402148681, 1402148677, 1402148688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52998328208923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:51:27.678922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_25_9622.jpg', '/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_35_9998.jpg', '/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_45_9948.jpg', '/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_55_10644.jpg', '/home/pi/Desktop/images/02012026/12/09/image_02012026_12_10_05_9795.jpg', '/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_15_10299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_25_9622.jpg
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_35_9998.jpg
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_45_9948.jpg
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_09_55_10644.jpg
/home/pi/Desktop/images/02012026/12/09/image_02012026_12_10_05_9795.jpg
/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_15_10299.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148700","1402148703","1402148696","1402148698","1402148704","1402148694"],"photo_ids_order":["1402148694","1402148696","1402148698","1402148700","1402148703","1402148704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b76dff7e8192634535659c561d6064d.jpg","text":"TemporaryFile(/tmp/multipartBody4648845502214693554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354748402,"filename":"image_02012026_12_09_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/2/0d5790a1577b9dbbfc35ebd20f062cb2.jpg","text":"TemporaryFile(/tmp/multipartBody9080084829107116635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354748402,"filename":"image_02012026_12_10_05_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/2/c18b25e36f59afedb3dcefcaa85bd2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5382340057235417545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354748402,"filename":"image_02012026_12_09_35_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/db3b68639f4bf312a17b9e99fa4dbde1.jpg","text":"TemporaryFile(/tmp/multipartBody1952927407894527465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354748402,"filename":"image_02012026_12_09_45_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/2/9c970d175716fa0daa4e20bcf5b4766a.jpg","text":"TemporaryFile(/tmp/multipartBody7670717620393157586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354748402,"filename":"image_02012026_12_10_15_10299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f31ab33b2c12c42f2e3bcf3d853951f.jpg","text":"TemporaryFile(/tmp/multipartBody832597406749918799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354748402,"filename":"image_02012026_12_09_25_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148698","file1":"1402148696","file0":"1402148694","file4":"1402148703","file5":"1402148704","file3":"1402148700"},"map_files_photo_id_array":[{"photo_id":"1402148704","filename":"file5"},{"photo_id":"1402148698","filename":"file2"},{"photo_id":"1402148703","filename":"file4"},{"photo_id":"1402148696","filename":"file1"},{"photo_id":"1402148694","filename":"file0"},{"photo_id":"1402148700","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148700":["hashtag1","hashtag2"]},{"1402148703":["hashtag1","hashtag2"]},{"1402148696":["hashtag1","hashtag2"]},{"1402148698":["hashtag1","hashtag2"]},{"1402148704":["hashtag1","hashtag2"]},{"1402148694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148700, 1402148703, 1402148696, 1402148698, 1402148704, 1402148694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41648840904236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:52:11.857757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_37_2778.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_43_2580.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_49_3681.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_52_2664.jpg', '/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_58_2572.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_01_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_37_2778.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_43_2580.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_49_3681.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_52_2664.jpg
/home/pi/Desktop/images/05112025/18/36/image_05112025_18_36_58_2572.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_01_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148713","1402148727","1402148712","1402148723","1402148725","1402148710"],"photo_ids_order":["1402148710","1402148712","1402148713","1402148723","1402148725","1402148727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b4fa3a04b50546c578082fd56ac295a.jpg","text":"TemporaryFile(/tmp/multipartBody4625405298201710850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354793641,"filename":"image_05112025_18_36_49_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/2/8b05a1182dfe9e8557db901f35c8180c.jpg","text":"TemporaryFile(/tmp/multipartBody2484549660412911590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354793641,"filename":"image_05112025_18_37_01_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/2/3995574f8db901e1f2eecd85f714f837.jpg","text":"TemporaryFile(/tmp/multipartBody7686512180848177427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354793641,"filename":"image_05112025_18_36_43_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/2/81b5f03afa78914e4a32156275a6c2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2789595964581390842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354793641,"filename":"image_05112025_18_36_52_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/2/de25b4de2260d14064301a178b29ad40.jpg","text":"TemporaryFile(/tmp/multipartBody7066268252894226806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354793641,"filename":"image_05112025_18_36_58_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/2/6d6581f99b911d667dbe4c44b21f2665.jpg","text":"TemporaryFile(/tmp/multipartBody5819358403019371568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354793641,"filename":"image_05112025_18_36_37_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148713","file1":"1402148712","file0":"1402148710","file4":"1402148725","file5":"1402148727","file3":"1402148723"},"map_files_photo_id_array":[{"photo_id":"1402148727","filename":"file5"},{"photo_id":"1402148713","filename":"file2"},{"photo_id":"1402148725","filename":"file4"},{"photo_id":"1402148712","filename":"file1"},{"photo_id":"1402148710","filename":"file0"},{"photo_id":"1402148723","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148713":["hashtag1","hashtag2"]},{"1402148727":["hashtag1","hashtag2"]},{"1402148712":["hashtag1","hashtag2"]},{"1402148723":["hashtag1","hashtag2"]},{"1402148725":["hashtag1","hashtag2"]},{"1402148710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148713, 1402148727, 1402148712, 1402148723, 1402148725, 1402148710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.584383726119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:53:02.711612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_25_9917.jpg', '/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_35_9752.jpg', '/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_45_9827.jpg', '/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_54_9732.jpg', '/home/pi/Desktop/images/02012026/12/10/image_02012026_12_11_04_9864.jpg', '/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_15_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_25_9917.jpg
/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_35_9752.jpg
/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_45_9827.jpg
/home/pi/Desktop/images/02012026/12/10/image_02012026_12_10_54_9732.jpg
/home/pi/Desktop/images/02012026/12/10/image_02012026_12_11_04_9864.jpg
/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_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":["1402148769","1402148772","1402148754","1402148748","1402148753","1402148767"],"photo_ids_order":["1402148748","1402148753","1402148754","1402148767","1402148769","1402148772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/287e95162b6d09f1b42ac68f6ca1d9df.jpg","text":"TemporaryFile(/tmp/multipartBody3201881979549440577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354843521,"filename":"image_02012026_12_11_04_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/2/62042313ecc5472879b76ac13363a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody7978751328440878184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354843521,"filename":"image_02012026_12_11_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/2/0b5e1c368ae908a09dcb564d6134f2af.jpg","text":"TemporaryFile(/tmp/multipartBody7342799373905603129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354843521,"filename":"image_02012026_12_10_45_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/2/4d712414b6a6bac27c9f2425b6e11e04.jpg","text":"TemporaryFile(/tmp/multipartBody2440736483417391766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354843521,"filename":"image_02012026_12_10_25_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/2/5167627b0e6a14d2ee6eb8f39f2adc2e.jpg","text":"TemporaryFile(/tmp/multipartBody3398748271468054205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354843521,"filename":"image_02012026_12_10_35_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/2/62338ef2ac1cf1df31362477ab6c4a43.jpg","text":"TemporaryFile(/tmp/multipartBody2746747191213477332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354843521,"filename":"image_02012026_12_10_54_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148754","file1":"1402148753","file0":"1402148748","file4":"1402148769","file5":"1402148772","file3":"1402148767"},"map_files_photo_id_array":[{"photo_id":"1402148772","filename":"file5"},{"photo_id":"1402148754","filename":"file2"},{"photo_id":"1402148769","filename":"file4"},{"photo_id":"1402148753","filename":"file1"},{"photo_id":"1402148748","filename":"file0"},{"photo_id":"1402148767","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148769":["hashtag1","hashtag2"]},{"1402148772":["hashtag1","hashtag2"]},{"1402148754":["hashtag1","hashtag2"]},{"1402148748":["hashtag1","hashtag2"]},{"1402148753":["hashtag1","hashtag2"]},{"1402148767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148769, 1402148772, 1402148754, 1402148748, 1402148753, 1402148767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93189740180969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:53:42.063760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_04_3641.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_07_2690.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_10_2671.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_13_3703.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_28_2680.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_37_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_04_3641.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_07_2690.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_10_2671.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_13_3703.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_28_2680.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_37_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":["1402148796","1402148811","1402148808","1402148810","1402148807","1402148809"],"photo_ids_order":["1402148796","1402148807","1402148808","1402148809","1402148810","1402148811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6123510cb1ed810d1f43ed3662b215b0.jpg","text":"TemporaryFile(/tmp/multipartBody5653280198917427767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354883913,"filename":"image_05112025_18_37_04_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/2/9b0e07bdb449114b2b66525b2cb9ee37.jpg","text":"TemporaryFile(/tmp/multipartBody1982607486822867940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354883913,"filename":"image_05112025_18_37_37_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/2/1ddac33b21ee1aba2d93b2e67022a189.jpg","text":"TemporaryFile(/tmp/multipartBody8937905519228306621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354883913,"filename":"image_05112025_18_37_10_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/2/8720ad537751c374967b5f3898eb3962.jpg","text":"TemporaryFile(/tmp/multipartBody7618780986302324173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354883913,"filename":"image_05112025_18_37_28_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/2/6396e543803bef60194250ae89ab5cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8871787881759869011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354883913,"filename":"image_05112025_18_37_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/2/90676da7b9770e325963037309d1d6b5.jpg","text":"TemporaryFile(/tmp/multipartBody4058698332409717835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354883913,"filename":"image_05112025_18_37_13_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148808","file1":"1402148807","file0":"1402148796","file4":"1402148810","file5":"1402148811","file3":"1402148809"},"map_files_photo_id_array":[{"photo_id":"1402148811","filename":"file5"},{"photo_id":"1402148808","filename":"file2"},{"photo_id":"1402148810","filename":"file4"},{"photo_id":"1402148807","filename":"file1"},{"photo_id":"1402148796","filename":"file0"},{"photo_id":"1402148809","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148796":["hashtag1","hashtag2"]},{"1402148811":["hashtag1","hashtag2"]},{"1402148808":["hashtag1","hashtag2"]},{"1402148810":["hashtag1","hashtag2"]},{"1402148807":["hashtag1","hashtag2"]},{"1402148809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148796, 1402148811, 1402148808, 1402148810, 1402148807, 1402148809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25117778778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:54:24.985455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_25_9640.jpg', '/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_34_9792.jpg', '/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_45_10663.jpg', '/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_55_9750.jpg', '/home/pi/Desktop/images/02012026/12/11/image_02012026_12_12_05_9754.jpg', '/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_17_12004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_25_9640.jpg
/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_34_9792.jpg
/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_45_10663.jpg
/home/pi/Desktop/images/02012026/12/11/image_02012026_12_11_55_9750.jpg
/home/pi/Desktop/images/02012026/12/11/image_02012026_12_12_05_9754.jpg
/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_17_12004.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148823","1402148820","1402148814","1402148816","1402148825","1402148818"],"photo_ids_order":["1402148814","1402148816","1402148818","1402148820","1402148823","1402148825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a7f16077e41c0084d07145049b601a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3896961199403235302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354925675,"filename":"image_02012026_12_12_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/2/238d4ca76881107c73ad0c778f3dde2c.jpg","text":"TemporaryFile(/tmp/multipartBody1900147175096248382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354925675,"filename":"image_02012026_12_11_55_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/2/b36d86590d50752820379bc1b59749bd.jpg","text":"TemporaryFile(/tmp/multipartBody315605200667420801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354925675,"filename":"image_02012026_12_11_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/2/340401834992f8fdfb33fff64b5957cc.jpg","text":"TemporaryFile(/tmp/multipartBody6297477931835457641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354925675,"filename":"image_02012026_12_11_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/2/6f3feccad3226d690423cf92e537e36a.jpg","text":"TemporaryFile(/tmp/multipartBody9198047429634127928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354925675,"filename":"image_02012026_12_12_17_12004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6da25094afce9032d4075670d428a9f9.jpg","text":"TemporaryFile(/tmp/multipartBody4359357564465769956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354925675,"filename":"image_02012026_12_11_45_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148818","file1":"1402148816","file0":"1402148814","file4":"1402148823","file5":"1402148825","file3":"1402148820"},"map_files_photo_id_array":[{"photo_id":"1402148825","filename":"file5"},{"photo_id":"1402148818","filename":"file2"},{"photo_id":"1402148823","filename":"file4"},{"photo_id":"1402148816","filename":"file1"},{"photo_id":"1402148814","filename":"file0"},{"photo_id":"1402148820","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148823":["hashtag1","hashtag2"]},{"1402148820":["hashtag1","hashtag2"]},{"1402148814":["hashtag1","hashtag2"]},{"1402148816":["hashtag1","hashtag2"]},{"1402148825":["hashtag1","hashtag2"]},{"1402148818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148823, 1402148820, 1402148814, 1402148816, 1402148825, 1402148818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1527624130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:55:02.776939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_25_8156.jpg', '/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_34_9642.jpg', '/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_44_9903.jpg', '/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_54_9992.jpg', '/home/pi/Desktop/images/02012026/12/12/image_02012026_12_13_05_10644.jpg', '/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_15_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_25_8156.jpg
/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_34_9642.jpg
/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_44_9903.jpg
/home/pi/Desktop/images/02012026/12/12/image_02012026_12_12_54_9992.jpg
/home/pi/Desktop/images/02012026/12/12/image_02012026_12_13_05_10644.jpg
/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_15_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148832","1402148826","1402148829","1402148828","1402148827","1402148830"],"photo_ids_order":["1402148826","1402148827","1402148828","1402148829","1402148830","1402148832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b61670b633314e62bcacef0fbefb608c.jpg","text":"TemporaryFile(/tmp/multipartBody3391879994803887974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354963685,"filename":"image_02012026_12_13_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/2/c638dbc6961c1df89d1c090ea1592032.jpg","text":"TemporaryFile(/tmp/multipartBody1066260109209252653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354963685,"filename":"image_02012026_12_12_25_8156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f989e63210209954ed44448f7354594.jpg","text":"TemporaryFile(/tmp/multipartBody3143915781678503147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354963685,"filename":"image_02012026_12_12_54_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c2d5f590693105f3bb6642a0ab1c4226.jpg","text":"TemporaryFile(/tmp/multipartBody1256968144900824050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354963685,"filename":"image_02012026_12_12_44_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/2/0244c9600835bf81e6c933405b53165f.jpg","text":"TemporaryFile(/tmp/multipartBody7170552889163840364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354963685,"filename":"image_02012026_12_12_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05e5e07df5518a50579a72e91d24ae27.jpg","text":"TemporaryFile(/tmp/multipartBody3332784905271861517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767354963685,"filename":"image_02012026_12_13_05_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148828","file1":"1402148827","file0":"1402148826","file4":"1402148830","file5":"1402148832","file3":"1402148829"},"map_files_photo_id_array":[{"photo_id":"1402148832","filename":"file5"},{"photo_id":"1402148828","filename":"file2"},{"photo_id":"1402148830","filename":"file4"},{"photo_id":"1402148827","filename":"file1"},{"photo_id":"1402148826","filename":"file0"},{"photo_id":"1402148829","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148832":["hashtag1","hashtag2"]},{"1402148826":["hashtag1","hashtag2"]},{"1402148829":["hashtag1","hashtag2"]},{"1402148828":["hashtag1","hashtag2"]},{"1402148827":["hashtag1","hashtag2"]},{"1402148830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148832, 1402148826, 1402148829, 1402148828, 1402148827, 1402148830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.026652574539185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:55:42.066003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_40_2811.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_43_3729.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_46_2736.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_49_2531.jpg', '/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_55_3584.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_07_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_40_2811.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_43_3729.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_46_2736.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_49_2531.jpg
/home/pi/Desktop/images/05112025/18/37/image_05112025_18_37_55_3584.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_07_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":["1402148841","1402148838","1402148852","1402148840","1402148851","1402148842"],"photo_ids_order":["1402148838","1402148840","1402148841","1402148842","1402148851","1402148852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/62bb487f6a90e7b4f0eb42d4260a6127.jpg","text":"TemporaryFile(/tmp/multipartBody9075948633127945363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355003821,"filename":"image_05112025_18_37_46_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/2/666a89fa2d731e7fd8c643d1a69c5010.jpg","text":"TemporaryFile(/tmp/multipartBody9058884899638644906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355003821,"filename":"image_05112025_18_37_40_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/2/b131e284ffd279681a06e73a01483b1e.jpg","text":"TemporaryFile(/tmp/multipartBody3161778507115320117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355003821,"filename":"image_05112025_18_38_07_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/2/49db13ddcc0f6558e917eaf823d805f1.jpg","text":"TemporaryFile(/tmp/multipartBody4861841269524190240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355003821,"filename":"image_05112025_18_37_43_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/2/a8e901f4101610157ab165111388bcf6.jpg","text":"TemporaryFile(/tmp/multipartBody4392275377065611631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355003821,"filename":"image_05112025_18_37_55_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/2/43bf67683c761deea483a41fd3b90e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3187291220548825506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355003821,"filename":"image_05112025_18_37_49_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148841","file1":"1402148840","file0":"1402148838","file4":"1402148851","file5":"1402148852","file3":"1402148842"},"map_files_photo_id_array":[{"photo_id":"1402148852","filename":"file5"},{"photo_id":"1402148841","filename":"file2"},{"photo_id":"1402148851","filename":"file4"},{"photo_id":"1402148840","filename":"file1"},{"photo_id":"1402148838","filename":"file0"},{"photo_id":"1402148842","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148841":["hashtag1","hashtag2"]},{"1402148838":["hashtag1","hashtag2"]},{"1402148852":["hashtag1","hashtag2"]},{"1402148840":["hashtag1","hashtag2"]},{"1402148851":["hashtag1","hashtag2"]},{"1402148842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148841, 1402148838, 1402148852, 1402148840, 1402148851, 1402148842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.036563873291016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 12:56:22.344235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_24_9656.jpg', '/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_35_10744.jpg', '/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_45_9613.jpg', '/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_55_9723.jpg', '/home/pi/Desktop/images/02012026/12/13/image_02012026_12_14_04_9799.jpg', '/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_15_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_24_9656.jpg
/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_35_10744.jpg
/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_45_9613.jpg
/home/pi/Desktop/images/02012026/12/13/image_02012026_12_13_55_9723.jpg
/home/pi/Desktop/images/02012026/12/13/image_02012026_12_14_04_9799.jpg
/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_15_10843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148889","1402148856","1402148853","1402148884","1402148863","1402148886"],"photo_ids_order":["1402148853","1402148856","1402148863","1402148884","1402148886","1402148889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/621f0c79eee6da2c83ca65c9cfaa30bd.jpg","text":"TemporaryFile(/tmp/multipartBody7390753028430581139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355043079,"filename":"image_02012026_12_14_15_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/2/4b754d9174ea427f658b4a27626128cf.jpg","text":"TemporaryFile(/tmp/multipartBody5386445522152002552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355043079,"filename":"image_02012026_12_13_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/2/d5498561585c4266ba938f61c6b8f16d.jpg","text":"TemporaryFile(/tmp/multipartBody4290994041049180573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355043079,"filename":"image_02012026_12_13_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/2/1c977c1b20b5e5a1eca2aa1bfeb53f22.jpg","text":"TemporaryFile(/tmp/multipartBody3040055931015693328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355043079,"filename":"image_02012026_12_13_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/2/d371bd6850e08d5b7614e56842d8aaff.jpg","text":"TemporaryFile(/tmp/multipartBody8954476996487165654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355043079,"filename":"image_02012026_12_13_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/2/1d018f1bb2ea0c8f21ed2a308aa710b8.jpg","text":"TemporaryFile(/tmp/multipartBody3103199769628476368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355043079,"filename":"image_02012026_12_14_04_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148863","file1":"1402148856","file0":"1402148853","file4":"1402148886","file5":"1402148889","file3":"1402148884"},"map_files_photo_id_array":[{"photo_id":"1402148889","filename":"file5"},{"photo_id":"1402148863","filename":"file2"},{"photo_id":"1402148886","filename":"file4"},{"photo_id":"1402148856","filename":"file1"},{"photo_id":"1402148853","filename":"file0"},{"photo_id":"1402148884","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148889":["hashtag1","hashtag2"]},{"1402148856":["hashtag1","hashtag2"]},{"1402148853":["hashtag1","hashtag2"]},{"1402148884":["hashtag1","hashtag2"]},{"1402148863":["hashtag1","hashtag2"]},{"1402148886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148889, 1402148856, 1402148853, 1402148884, 1402148863, 1402148886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.147826194763184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:57:03.120887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_25_9686.jpg', '/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_35_9683.jpg', '/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_44_9778.jpg', '/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_55_10741.jpg', '/home/pi/Desktop/images/02012026/12/14/image_02012026_12_15_05_9707.jpg', '/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_25_9686.jpg
/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_35_9683.jpg
/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_44_9778.jpg
/home/pi/Desktop/images/02012026/12/14/image_02012026_12_14_55_10741.jpg
/home/pi/Desktop/images/02012026/12/14/image_02012026_12_15_05_9707.jpg
/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_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":["1402148895","1402148897","1402148891","1402148894","1402148893","1402148892"],"photo_ids_order":["1402148891","1402148892","1402148893","1402148894","1402148895","1402148897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/04bac35640c4d047374d6b823f2b0fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5577971840135243067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355083920,"filename":"image_02012026_12_15_05_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/2/e995375df4367762aca0e2e865126769.jpg","text":"TemporaryFile(/tmp/multipartBody7965544780044258902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355083920,"filename":"image_02012026_12_15_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/2/bf46df22f88c69acdcbced3e0e595fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7088572543544791916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355083920,"filename":"image_02012026_12_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/2/dc9b22774dc2e622c7a7376361e438b0.jpg","text":"TemporaryFile(/tmp/multipartBody6065792270912715501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355083920,"filename":"image_02012026_12_14_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/2/4383aeb68157ac427187e7149af2106d.jpg","text":"TemporaryFile(/tmp/multipartBody660940712256607745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355083920,"filename":"image_02012026_12_14_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/2/e51dda014f0b2a95ef877b7fb230e260.jpg","text":"TemporaryFile(/tmp/multipartBody3460206716365682916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355083920,"filename":"image_02012026_12_14_35_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148893","file1":"1402148892","file0":"1402148891","file4":"1402148895","file5":"1402148897","file3":"1402148894"},"map_files_photo_id_array":[{"photo_id":"1402148897","filename":"file5"},{"photo_id":"1402148893","filename":"file2"},{"photo_id":"1402148895","filename":"file4"},{"photo_id":"1402148892","filename":"file1"},{"photo_id":"1402148891","filename":"file0"},{"photo_id":"1402148894","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148895":["hashtag1","hashtag2"]},{"1402148897":["hashtag1","hashtag2"]},{"1402148891":["hashtag1","hashtag2"]},{"1402148894":["hashtag1","hashtag2"]},{"1402148893":["hashtag1","hashtag2"]},{"1402148892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148895, 1402148897, 1402148891, 1402148894, 1402148893, 1402148892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48068141937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 12:57:42.501200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_12_2651.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_16_3569.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_19_2938.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_22_2723.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_25_3680.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_28_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_12_2651.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_16_3569.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_19_2938.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_22_2723.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_25_3680.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_28_2572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402148905","1402148907","1402148903","1402148906","1402148909","1402148908"],"photo_ids_order":["1402148903","1402148905","1402148906","1402148907","1402148908","1402148909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4fd327ff95c481d1eaf92acb7d37f083.jpg","text":"TemporaryFile(/tmp/multipartBody5020095268362981912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355124342,"filename":"image_05112025_18_38_16_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/2/aa42192f3f7fc58f3587ab731f1bc31c.jpg","text":"TemporaryFile(/tmp/multipartBody6480392862903536909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355124342,"filename":"image_05112025_18_38_22_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/2/975ff3434b97d9cabdeedf3d32a9bbe4.jpg","text":"TemporaryFile(/tmp/multipartBody6102687008226333685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355124342,"filename":"image_05112025_18_38_12_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/2/4f4cc1202b5d8bb8ba992c7103e22e50.jpg","text":"TemporaryFile(/tmp/multipartBody8226969069044993310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355124342,"filename":"image_05112025_18_38_19_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/07e6f484730acce8bec323645b3b07f0.jpg","text":"TemporaryFile(/tmp/multipartBody3669286362700241357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355124342,"filename":"image_05112025_18_38_28_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/2/abd0de2a598a22e460385b743858f0ad.jpg","text":"TemporaryFile(/tmp/multipartBody6975799637974936132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355124342,"filename":"image_05112025_18_38_25_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148906","file1":"1402148905","file0":"1402148903","file4":"1402148908","file5":"1402148909","file3":"1402148907"},"map_files_photo_id_array":[{"photo_id":"1402148909","filename":"file5"},{"photo_id":"1402148906","filename":"file2"},{"photo_id":"1402148908","filename":"file4"},{"photo_id":"1402148905","filename":"file1"},{"photo_id":"1402148903","filename":"file0"},{"photo_id":"1402148907","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402148905":["hashtag1","hashtag2"]},{"1402148907":["hashtag1","hashtag2"]},{"1402148903":["hashtag1","hashtag2"]},{"1402148906":["hashtag1","hashtag2"]},{"1402148909":["hashtag1","hashtag2"]},{"1402148908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402148905, 1402148907, 1402148903, 1402148906, 1402148909, 1402148908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3272819519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 12:59:03.605819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_25_10666.jpg', '/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_34_9277.jpg', '/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_45_10767.jpg', '/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_55_9632.jpg', '/home/pi/Desktop/images/02012026/12/15/image_02012026_12_16_05_10486.jpg', '/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_15_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_25_10666.jpg
/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_34_9277.jpg
/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_45_10767.jpg
/home/pi/Desktop/images/02012026/12/15/image_02012026_12_15_55_9632.jpg
/home/pi/Desktop/images/02012026/12/15/image_02012026_12_16_05_10486.jpg
/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_15_9945.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":["1402148922","1402148925","1402148913","1402148915","1402148918","1402148920"],"photo_ids_order":["1402148913","1402148915","1402148918","1402148920","1402148922","1402148925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ddc7d2cf6a6f04fb96664194034e6e92.jpg","text":"TemporaryFile(/tmp/multipartBody9214484277900206607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355204448,"filename":"image_02012026_12_16_05_10486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71ed4947d133fa7e2a69513d4e8bceef.jpg","text":"TemporaryFile(/tmp/multipartBody151557577916243390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355204448,"filename":"image_02012026_12_16_15_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/2/62d33481b7d4183b6d8cd56e895a3a49.jpg","text":"TemporaryFile(/tmp/multipartBody819141413510070499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355204448,"filename":"image_02012026_12_15_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/2/a0d39b05a9b946c4ad0c2bbcf8d10852.jpg","text":"TemporaryFile(/tmp/multipartBody303669013616934553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355204448,"filename":"image_02012026_12_15_34_9277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f5ba270ec8ebfa7ad3ca817db7eb565.jpg","text":"TemporaryFile(/tmp/multipartBody720457245669607250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355204448,"filename":"image_02012026_12_15_45_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/2/c05c70a4f2db355eaa13c9a73189c924.jpg","text":"TemporaryFile(/tmp/multipartBody8095011251214216800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355204448,"filename":"image_02012026_12_15_55_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402148918","file1":"1402148915","file0":"1402148913","file4":"1402148922","file5":"1402148925","file3":"1402148920"},"map_files_photo_id_array":[{"photo_id":"1402148925","filename":"file5"},{"photo_id":"1402148918","filename":"file2"},{"photo_id":"1402148922","filename":"file4"},{"photo_id":"1402148915","filename":"file1"},{"photo_id":"1402148913","filename":"file0"},{"photo_id":"1402148920","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402148922":["hashtag1","hashtag2"]},{"1402148925":["hashtag1","hashtag2"]},{"1402148913":["hashtag1","hashtag2"]},{"1402148915":["hashtag1","hashtag2"]},{"1402148918":["hashtag1","hashtag2"]},{"1402148920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402148922, 1402148925, 1402148913, 1402148915, 1402148918, 1402148920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61553359031677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:00:02.539286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_25_9390.jpg', '/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_34_9790.jpg', '/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_45_10748.jpg', '/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_55_9719.jpg', '/home/pi/Desktop/images/02012026/12/16/image_02012026_12_17_05_10307.jpg', '/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_15_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_25_9390.jpg
/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_34_9790.jpg
/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_45_10748.jpg
/home/pi/Desktop/images/02012026/12/16/image_02012026_12_16_55_9719.jpg
/home/pi/Desktop/images/02012026/12/16/image_02012026_12_17_05_10307.jpg
/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_15_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":["1402149423","1402149210","1402149341","1402149173","1402149496","1402149274"],"photo_ids_order":["1402149173","1402149210","1402149274","1402149341","1402149423","1402149496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6a0bef50d313e418d981069bcb18ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5318250133392728887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355263274,"filename":"image_02012026_12_17_05_10307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfd637fcdc5a56c6f98d02b7a52eccb9.jpg","text":"TemporaryFile(/tmp/multipartBody6107371004431165127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355263274,"filename":"image_02012026_12_16_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/2/2fa9614b74e03f94c2cf173e7a3a7bae.jpg","text":"TemporaryFile(/tmp/multipartBody4316345397247437221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355263274,"filename":"image_02012026_12_16_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/2/3cee673d1b655e866fa4f715d5a1e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody4217904329697739320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355263274,"filename":"image_02012026_12_16_25_9390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec2c809765a6e04b3f48525a778f333c.jpg","text":"TemporaryFile(/tmp/multipartBody1789238718669855405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355263274,"filename":"image_02012026_12_17_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/2/413fc43ad2daa765a4d288438ab797db.jpg","text":"TemporaryFile(/tmp/multipartBody219290623060907575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355263274,"filename":"image_02012026_12_16_45_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402149274","file1":"1402149210","file0":"1402149173","file4":"1402149423","file5":"1402149496","file3":"1402149341"},"map_files_photo_id_array":[{"photo_id":"1402149496","filename":"file5"},{"photo_id":"1402149274","filename":"file2"},{"photo_id":"1402149423","filename":"file4"},{"photo_id":"1402149210","filename":"file1"},{"photo_id":"1402149173","filename":"file0"},{"photo_id":"1402149341","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402149423":["hashtag1","hashtag2"]},{"1402149210":["hashtag1","hashtag2"]},{"1402149341":["hashtag1","hashtag2"]},{"1402149173":["hashtag1","hashtag2"]},{"1402149496":["hashtag1","hashtag2"]},{"1402149274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402149423, 1402149210, 1402149341, 1402149173, 1402149496, 1402149274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35344958305359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:00:41.994975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_31_2668.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_33_2897.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_37_3708.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_40_2561.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_46_3763.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_49_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_31_2668.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_33_2897.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_37_3708.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_40_2561.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_46_3763.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_49_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402149698","1402149944","1402149873","1402149789","1402149660","1402149741"],"photo_ids_order":["1402149660","1402149698","1402149741","1402149789","1402149873","1402149944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a103ec48899bac87519b8301c18e0577.jpg","text":"TemporaryFile(/tmp/multipartBody7695966784927697139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355303783,"filename":"image_05112025_18_38_33_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/2/7aeb53a376080633294846056aa18f79.jpg","text":"TemporaryFile(/tmp/multipartBody5822481075133990104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355303783,"filename":"image_05112025_18_38_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/2/57ea8c8e72ad4f2b0a7265552080a187.jpg","text":"TemporaryFile(/tmp/multipartBody420124060380956498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355303783,"filename":"image_05112025_18_38_46_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/2/a1d5c0060f8bee05d7deb4e171056192.jpg","text":"TemporaryFile(/tmp/multipartBody98810289250980928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355303783,"filename":"image_05112025_18_38_40_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/2/f1e245f84d5d5c27d15c56c200d56fce.jpg","text":"TemporaryFile(/tmp/multipartBody657767007261238423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355303783,"filename":"image_05112025_18_38_31_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cc8c45b9b0b562989e254126d0e6b36.jpg","text":"TemporaryFile(/tmp/multipartBody5949429056210529668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355303783,"filename":"image_05112025_18_38_37_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402149741","file1":"1402149698","file0":"1402149660","file4":"1402149873","file5":"1402149944","file3":"1402149789"},"map_files_photo_id_array":[{"photo_id":"1402149944","filename":"file5"},{"photo_id":"1402149741","filename":"file2"},{"photo_id":"1402149873","filename":"file4"},{"photo_id":"1402149698","filename":"file1"},{"photo_id":"1402149660","filename":"file0"},{"photo_id":"1402149789","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402149698":["hashtag1","hashtag2"]},{"1402149944":["hashtag1","hashtag2"]},{"1402149873":["hashtag1","hashtag2"]},{"1402149789":["hashtag1","hashtag2"]},{"1402149660":["hashtag1","hashtag2"]},{"1402149741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402149698, 1402149944, 1402149873, 1402149789, 1402149660, 1402149741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71768617630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:01:32.303176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_51_2584.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_55_3572.jpg', '/home/pi/Desktop/images/05112025/18/38/image_05112025_18_39_01_3596.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_04_2746.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_07_2603.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_10_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_51_2584.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_38_55_3572.jpg
/home/pi/Desktop/images/05112025/18/38/image_05112025_18_39_01_3596.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_04_2746.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_07_2603.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_10_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402150306","1402150347","1402150422","1402150391","1402150238","1402150423"],"photo_ids_order":["1402150238","1402150306","1402150347","1402150391","1402150422","1402150423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ae48b1366c0bc740393c1d16c24fa912.jpg","text":"TemporaryFile(/tmp/multipartBody2534859831432862894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355354350,"filename":"image_05112025_18_38_55_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/2/fa3ce3ff4d29cbef0d7f743b692210c0.jpg","text":"TemporaryFile(/tmp/multipartBody6526252021794114729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355354350,"filename":"image_05112025_18_39_01_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/2/27b0766bc667e2193ece84ffe3a44738.jpg","text":"TemporaryFile(/tmp/multipartBody1987716183597535185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355354350,"filename":"image_05112025_18_39_07_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/2/01786fc1e19dba7c400ca8b03b2658f8.jpg","text":"TemporaryFile(/tmp/multipartBody831537682634671231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355354350,"filename":"image_05112025_18_39_04_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/2/ff12425901b9b560c077be74b0126219.jpg","text":"TemporaryFile(/tmp/multipartBody6761653482727230143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355354350,"filename":"image_05112025_18_38_51_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/2/609e15eea77de6b7cb3639484e857762.jpg","text":"TemporaryFile(/tmp/multipartBody4031016875649871243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355354350,"filename":"image_05112025_18_39_10_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402150347","file1":"1402150306","file0":"1402150238","file4":"1402150422","file5":"1402150423","file3":"1402150391"},"map_files_photo_id_array":[{"photo_id":"1402150423","filename":"file5"},{"photo_id":"1402150347","filename":"file2"},{"photo_id":"1402150422","filename":"file4"},{"photo_id":"1402150306","filename":"file1"},{"photo_id":"1402150238","filename":"file0"},{"photo_id":"1402150391","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402150306":["hashtag1","hashtag2"]},{"1402150347":["hashtag1","hashtag2"]},{"1402150422":["hashtag1","hashtag2"]},{"1402150391":["hashtag1","hashtag2"]},{"1402150238":["hashtag1","hashtag2"]},{"1402150423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402150306, 1402150347, 1402150422, 1402150391, 1402150238, 1402150423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64486646652222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:02:22.550453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_25_9709.jpg', '/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_35_10473.jpg', '/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_49_13691.jpg', '/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_54_5605.jpg', '/home/pi/Desktop/images/02012026/12/17/image_02012026_12_18_05_10767.jpg', '/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_15_10127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_25_9709.jpg
/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_35_10473.jpg
/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_49_13691.jpg
/home/pi/Desktop/images/02012026/12/17/image_02012026_12_17_54_5605.jpg
/home/pi/Desktop/images/02012026/12/17/image_02012026_12_18_05_10767.jpg
/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_15_10127.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402150596","1402150425","1402150434","1402150478","1402150517","1402150555"],"photo_ids_order":["1402150425","1402150434","1402150478","1402150517","1402150555","1402150596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc4cc62c1ec3b0b2b83c55f5f82c98a2.jpg","text":"TemporaryFile(/tmp/multipartBody7801627252184341404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355403334,"filename":"image_02012026_12_18_15_10127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8893a50724ae7b6cc15a38e51a75b11.jpg","text":"TemporaryFile(/tmp/multipartBody7120428709972684759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355403334,"filename":"image_02012026_12_17_25_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/2/6cb55e4497bee93dabba73044c3da1ae.jpg","text":"TemporaryFile(/tmp/multipartBody1158861883086175983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355403334,"filename":"image_02012026_12_17_35_10473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4827067942fe692b868ff727b91bf4fa.jpg","text":"TemporaryFile(/tmp/multipartBody212402924643098973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355403334,"filename":"image_02012026_12_17_49_13691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/866fb17a67192745b5fb298abfd3cbc7.jpg","text":"TemporaryFile(/tmp/multipartBody5246644314994817978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355403334,"filename":"image_02012026_12_17_54_5605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5477ebd351f9100a2debf89f391c5e24.jpg","text":"TemporaryFile(/tmp/multipartBody4268257361066746712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355403334,"filename":"image_02012026_12_18_05_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402150478","file1":"1402150434","file0":"1402150425","file4":"1402150555","file5":"1402150596","file3":"1402150517"},"map_files_photo_id_array":[{"photo_id":"1402150596","filename":"file5"},{"photo_id":"1402150478","filename":"file2"},{"photo_id":"1402150555","filename":"file4"},{"photo_id":"1402150434","filename":"file1"},{"photo_id":"1402150425","filename":"file0"},{"photo_id":"1402150517","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402150596":["hashtag1","hashtag2"]},{"1402150425":["hashtag1","hashtag2"]},{"1402150434":["hashtag1","hashtag2"]},{"1402150478":["hashtag1","hashtag2"]},{"1402150517":["hashtag1","hashtag2"]},{"1402150555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402150596, 1402150425, 1402150434, 1402150478, 1402150517, 1402150555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59963893890381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:03:03.468150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_25_9871.jpg', '/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_35_9569.jpg', '/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_45_10305.jpg', '/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_55_10020.jpg', '/home/pi/Desktop/images/02012026/12/18/image_02012026_12_19_05_9615.jpg', '/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_15_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_25_9871.jpg
/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_35_9569.jpg
/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_45_10305.jpg
/home/pi/Desktop/images/02012026/12/18/image_02012026_12_18_55_10020.jpg
/home/pi/Desktop/images/02012026/12/18/image_02012026_12_19_05_9615.jpg
/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_15_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402150647","1402150677","1402150662","1402150697","1402150703","1402150705"],"photo_ids_order":["1402150647","1402150662","1402150677","1402150697","1402150703","1402150705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc1246bd8fd4e4b371ae85b0dcba630e.jpg","text":"TemporaryFile(/tmp/multipartBody416184778792304863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355444272,"filename":"image_02012026_12_18_25_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/2/438d6e0cadd0984fe1fb2522f42edb1b.jpg","text":"TemporaryFile(/tmp/multipartBody4799538518795045589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355444272,"filename":"image_02012026_12_18_45_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/2/1e0e398e543631effe40a86167b51a81.jpg","text":"TemporaryFile(/tmp/multipartBody5745582015176962060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355444272,"filename":"image_02012026_12_18_35_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/2/08a4ea8244a6a27b4860f600522a93d3.jpg","text":"TemporaryFile(/tmp/multipartBody5052354100189676115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355444272,"filename":"image_02012026_12_18_55_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/2/cd22a7843e077901605b40b360ab6742.jpg","text":"TemporaryFile(/tmp/multipartBody637763615059095465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355444272,"filename":"image_02012026_12_19_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/2/1d7626a2cc6ab2308c73463a84b4425e.jpg","text":"TemporaryFile(/tmp/multipartBody3510994124195254653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355444272,"filename":"image_02012026_12_19_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402150677","file1":"1402150662","file0":"1402150647","file4":"1402150703","file5":"1402150705","file3":"1402150697"},"map_files_photo_id_array":[{"photo_id":"1402150705","filename":"file5"},{"photo_id":"1402150677","filename":"file2"},{"photo_id":"1402150703","filename":"file4"},{"photo_id":"1402150662","filename":"file1"},{"photo_id":"1402150647","filename":"file0"},{"photo_id":"1402150697","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402150647":["hashtag1","hashtag2"]},{"1402150677":["hashtag1","hashtag2"]},{"1402150662":["hashtag1","hashtag2"]},{"1402150697":["hashtag1","hashtag2"]},{"1402150703":["hashtag1","hashtag2"]},{"1402150705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402150647, 1402150677, 1402150662, 1402150697, 1402150703, 1402150705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.209635496139526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:03:42.766093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_13_2699.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_16_2702.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_22_2680.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_25_2730.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_27_2671.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_31_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_13_2699.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_16_2702.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_22_2680.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_25_2730.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_27_2671.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_31_3785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402150712","1402150721","1402150709","1402150718","1402150717","1402150711"],"photo_ids_order":["1402150709","1402150711","1402150712","1402150717","1402150718","1402150721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/005dd4e9337cc82049de3f07b8ca816a.jpg","text":"TemporaryFile(/tmp/multipartBody3604708662240357595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355484645,"filename":"image_05112025_18_39_22_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/2/611526ac0d33dd6ddb46ad4cd3fe0ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4226642795552700972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355484645,"filename":"image_05112025_18_39_31_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be3c35b94eac502a81a0ca7635a0f946.jpg","text":"TemporaryFile(/tmp/multipartBody6360279687989001456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355484645,"filename":"image_05112025_18_39_13_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/2/8b8f20b8e5292d93a68e5a8e59aa7c72.jpg","text":"TemporaryFile(/tmp/multipartBody1341227347699208203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355484645,"filename":"image_05112025_18_39_27_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/2/0bba0f6e6a2121c2cb984ee03875aaef.jpg","text":"TemporaryFile(/tmp/multipartBody1712310874460493707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355484645,"filename":"image_05112025_18_39_25_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/2/cfd9c2a608c03fd92b35605bc2362af7.jpg","text":"TemporaryFile(/tmp/multipartBody9082172987673755377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355484645,"filename":"image_05112025_18_39_16_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402150712","file1":"1402150711","file0":"1402150709","file4":"1402150718","file5":"1402150721","file3":"1402150717"},"map_files_photo_id_array":[{"photo_id":"1402150721","filename":"file5"},{"photo_id":"1402150712","filename":"file2"},{"photo_id":"1402150718","filename":"file4"},{"photo_id":"1402150711","filename":"file1"},{"photo_id":"1402150709","filename":"file0"},{"photo_id":"1402150717","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402150712":["hashtag1","hashtag2"]},{"1402150721":["hashtag1","hashtag2"]},{"1402150709":["hashtag1","hashtag2"]},{"1402150718":["hashtag1","hashtag2"]},{"1402150717":["hashtag1","hashtag2"]},{"1402150711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402150712, 1402150721, 1402150709, 1402150718, 1402150717, 1402150711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44255328178406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:04:22.028153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_25_9656.jpg', '/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_34_9670.jpg', '/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_44_9923.jpg', '/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_55_10878.jpg', '/home/pi/Desktop/images/02012026/12/19/image_02012026_12_20_05_9839.jpg', '/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_25_9656.jpg
/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_34_9670.jpg
/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_44_9923.jpg
/home/pi/Desktop/images/02012026/12/19/image_02012026_12_19_55_10878.jpg
/home/pi/Desktop/images/02012026/12/19/image_02012026_12_20_05_9839.jpg
/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_25_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":["1402150929","1402150722","1402151053","1402151280","1402151169","1402150804"],"photo_ids_order":["1402150722","1402150804","1402150929","1402151053","1402151169","1402151280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e79cce4824b459835d000ebf795f875.jpg","text":"TemporaryFile(/tmp/multipartBody2503915307156411455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355522751,"filename":"image_02012026_12_19_44_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/2/b1403ad7ab98f2e88fff3858bdc586d3.jpg","text":"TemporaryFile(/tmp/multipartBody185476017816082663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355522751,"filename":"image_02012026_12_19_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/2/899bd4771965da3b78c5e77931f67a20.jpg","text":"TemporaryFile(/tmp/multipartBody1690230188290504063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355522751,"filename":"image_02012026_12_19_55_10878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a88ea56d34c80a0bab263ba9e1658a7.jpg","text":"TemporaryFile(/tmp/multipartBody6206240736199326485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355522751,"filename":"image_02012026_12_20_25_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/2/3d201ce475a5421c9c64d740a73c5e96.jpg","text":"TemporaryFile(/tmp/multipartBody3268630133220182566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355522751,"filename":"image_02012026_12_20_05_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/2/908adc802f54ed13a5888668ce26d74d.jpg","text":"TemporaryFile(/tmp/multipartBody1702188109731098345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355522751,"filename":"image_02012026_12_19_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402150929","file1":"1402150804","file0":"1402150722","file4":"1402151169","file5":"1402151280","file3":"1402151053"},"map_files_photo_id_array":[{"photo_id":"1402151280","filename":"file5"},{"photo_id":"1402150929","filename":"file2"},{"photo_id":"1402151169","filename":"file4"},{"photo_id":"1402150804","filename":"file1"},{"photo_id":"1402150722","filename":"file0"},{"photo_id":"1402151053","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402150929":["hashtag1","hashtag2"]},{"1402150722":["hashtag1","hashtag2"]},{"1402151053":["hashtag1","hashtag2"]},{"1402151280":["hashtag1","hashtag2"]},{"1402151169":["hashtag1","hashtag2"]},{"1402150804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402150929, 1402150722, 1402151053, 1402151280, 1402151169, 1402150804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83092021942139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:05:02.820087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_34_9718.jpg', '/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_45_10573.jpg', '/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_55_9724.jpg', '/home/pi/Desktop/images/02012026/12/20/image_02012026_12_21_04_9792.jpg', '/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_15_10639.jpg', '/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_24_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_34_9718.jpg
/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_45_10573.jpg
/home/pi/Desktop/images/02012026/12/20/image_02012026_12_20_55_9724.jpg
/home/pi/Desktop/images/02012026/12/20/image_02012026_12_21_04_9792.jpg
/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_15_10639.jpg
/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_24_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402151439","1402151459","1402151438","1402151569","1402151437","1402151553"],"photo_ids_order":["1402151437","1402151438","1402151439","1402151459","1402151553","1402151569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb083a2fb8caea2a179e89ee2b7b264f.jpg","text":"TemporaryFile(/tmp/multipartBody7281705308666160854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355563907,"filename":"image_02012026_12_20_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/2/574b7f1f95437ec95f0a305cddc8b669.jpg","text":"TemporaryFile(/tmp/multipartBody2997463930708529154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355563907,"filename":"image_02012026_12_21_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/2/fa394215de6f1ca01b987c401c19bc05.jpg","text":"TemporaryFile(/tmp/multipartBody5312229309777277707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355563907,"filename":"image_02012026_12_20_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/2/d323c3162a88824f0cc696637f549559.jpg","text":"TemporaryFile(/tmp/multipartBody3374008168421540141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355563907,"filename":"image_02012026_12_21_24_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/2/3908d0692f6eb8251df5473edb9ffc17.jpg","text":"TemporaryFile(/tmp/multipartBody4682972899209240048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355563907,"filename":"image_02012026_12_20_34_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/2/a24898a4e3600ac293cd7640e1b513cf.jpg","text":"TemporaryFile(/tmp/multipartBody8634023438246582192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355563907,"filename":"image_02012026_12_21_15_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151439","file1":"1402151438","file0":"1402151437","file4":"1402151553","file5":"1402151569","file3":"1402151459"},"map_files_photo_id_array":[{"photo_id":"1402151569","filename":"file5"},{"photo_id":"1402151439","filename":"file2"},{"photo_id":"1402151553","filename":"file4"},{"photo_id":"1402151438","filename":"file1"},{"photo_id":"1402151437","filename":"file0"},{"photo_id":"1402151459","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402151439":["hashtag1","hashtag2"]},{"1402151459":["hashtag1","hashtag2"]},{"1402151438":["hashtag1","hashtag2"]},{"1402151569":["hashtag1","hashtag2"]},{"1402151437":["hashtag1","hashtag2"]},{"1402151553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402151439, 1402151459, 1402151438, 1402151569, 1402151437, 1402151553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44137454032898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:05:42.179598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_34_2653.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_36_2547.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_40_3633.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_43_2693.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_45_2806.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_52_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_34_2653.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_36_2547.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_40_3633.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_43_2693.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_45_2806.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_52_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":["1402151699","1402151741","1402151698","1402151740","1402151734","1402151682"],"photo_ids_order":["1402151682","1402151698","1402151699","1402151734","1402151740","1402151741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca52907c9aa7a56879cb384cc516de67.jpg","text":"TemporaryFile(/tmp/multipartBody9005624807278805839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355604057,"filename":"image_05112025_18_39_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/2/d67bb6877b28e8e0996bd7908a6741bd.jpg","text":"TemporaryFile(/tmp/multipartBody5551052191759716635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355604057,"filename":"image_05112025_18_39_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37a6747088c162bc67f9630035b8d790.jpg","text":"TemporaryFile(/tmp/multipartBody7972856510871133145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355604057,"filename":"image_05112025_18_39_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/2/428483d1808ede05604b7e38ac129545.jpg","text":"TemporaryFile(/tmp/multipartBody208514564998982822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355604057,"filename":"image_05112025_18_39_45_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/2/5ec21b8eba36f115e29ad53e0f102910.jpg","text":"TemporaryFile(/tmp/multipartBody8400561437567226704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355604057,"filename":"image_05112025_18_39_43_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/2/58fd68e242b3a62cdd61feea1371b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody6499532763648755314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355604057,"filename":"image_05112025_18_39_34_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151699","file1":"1402151698","file0":"1402151682","file4":"1402151740","file5":"1402151741","file3":"1402151734"},"map_files_photo_id_array":[{"photo_id":"1402151741","filename":"file5"},{"photo_id":"1402151699","filename":"file2"},{"photo_id":"1402151740","filename":"file4"},{"photo_id":"1402151698","filename":"file1"},{"photo_id":"1402151682","filename":"file0"},{"photo_id":"1402151734","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402151699":["hashtag1","hashtag2"]},{"1402151741":["hashtag1","hashtag2"]},{"1402151698":["hashtag1","hashtag2"]},{"1402151740":["hashtag1","hashtag2"]},{"1402151734":["hashtag1","hashtag2"]},{"1402151682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402151699, 1402151741, 1402151698, 1402151740, 1402151734, 1402151682)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.35650014877319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:06:32.406306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_55_2769.jpg', '/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_58_3559.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_01_2776.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_04_3001.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_09_2735.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_13_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_55_2769.jpg
/home/pi/Desktop/images/05112025/18/39/image_05112025_18_39_58_3559.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_01_2776.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_04_3001.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_09_2735.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_13_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":["1402151754","1402151753","1402151750","1402151747","1402151755","1402151745"],"photo_ids_order":["1402151745","1402151747","1402151750","1402151753","1402151754","1402151755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8cfd68452eabf475bdff5acf51f56c95.jpg","text":"TemporaryFile(/tmp/multipartBody5011407535434574256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355654278,"filename":"image_05112025_18_40_09_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d317b6399f0d1ed01dc556c4fbf1c40.jpg","text":"TemporaryFile(/tmp/multipartBody6876951551189606136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355654278,"filename":"image_05112025_18_40_04_3001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b429c1b8c53075b5633f5c0889e277f3.jpg","text":"TemporaryFile(/tmp/multipartBody3542055198043943129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355654278,"filename":"image_05112025_18_40_01_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/2/3392e0227938579a99107a0cc5a93117.jpg","text":"TemporaryFile(/tmp/multipartBody4212225395966742356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355654278,"filename":"image_05112025_18_39_58_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3501f4bcb83c043e907427b48391a4ca.jpg","text":"TemporaryFile(/tmp/multipartBody9126528393246526911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355654278,"filename":"image_05112025_18_40_13_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/2/609714352e1d9875fa46c260c897b5d2.jpg","text":"TemporaryFile(/tmp/multipartBody3792119904134611749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355654278,"filename":"image_05112025_18_39_55_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151750","file1":"1402151747","file0":"1402151745","file4":"1402151754","file5":"1402151755","file3":"1402151753"},"map_files_photo_id_array":[{"photo_id":"1402151755","filename":"file5"},{"photo_id":"1402151750","filename":"file2"},{"photo_id":"1402151754","filename":"file4"},{"photo_id":"1402151747","filename":"file1"},{"photo_id":"1402151745","filename":"file0"},{"photo_id":"1402151753","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402151754":["hashtag1","hashtag2"]},{"1402151753":["hashtag1","hashtag2"]},{"1402151750":["hashtag1","hashtag2"]},{"1402151747":["hashtag1","hashtag2"]},{"1402151755":["hashtag1","hashtag2"]},{"1402151745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402151754, 1402151753, 1402151750, 1402151747, 1402151755, 1402151745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.999738454818726 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:07:22.985342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_35_10619.jpg', '/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_45_9649.jpg', '/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_54_9684.jpg', '/home/pi/Desktop/images/02012026/12/21/image_02012026_12_22_05_10604.jpg', '/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_15_9823.jpg', '/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_25_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_35_10619.jpg
/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_45_9649.jpg
/home/pi/Desktop/images/02012026/12/21/image_02012026_12_21_54_9684.jpg
/home/pi/Desktop/images/02012026/12/21/image_02012026_12_22_05_10604.jpg
/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_15_9823.jpg
/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_25_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402151768","1402151765","1402151759","1402151770","1402151761","1402151763"],"photo_ids_order":["1402151759","1402151761","1402151763","1402151765","1402151768","1402151770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38b223575e8c21c294867ac0014b9f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6079735588902700440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355703676,"filename":"image_02012026_12_22_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/2/9e7d0ecb6dfed71ba9d83b5314df0503.jpg","text":"TemporaryFile(/tmp/multipartBody6070317372222102770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355703676,"filename":"image_02012026_12_22_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/2/6060909204fa4669707ee60f7111377f.jpg","text":"TemporaryFile(/tmp/multipartBody2775933916875873088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355703676,"filename":"image_02012026_12_21_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/2/4d633476be5eee7fb6c311509a37bab6.jpg","text":"TemporaryFile(/tmp/multipartBody2468446167409029424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355703676,"filename":"image_02012026_12_22_25_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/2/d7772079f886af4f70dd9160c3445615.jpg","text":"TemporaryFile(/tmp/multipartBody5518172906463034717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355703676,"filename":"image_02012026_12_21_45_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/2/9dbf4f43dce796239e9e9b026c8f3eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4119621602628759565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355703676,"filename":"image_02012026_12_21_54_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151763","file1":"1402151761","file0":"1402151759","file4":"1402151768","file5":"1402151770","file3":"1402151765"},"map_files_photo_id_array":[{"photo_id":"1402151770","filename":"file5"},{"photo_id":"1402151763","filename":"file2"},{"photo_id":"1402151768","filename":"file4"},{"photo_id":"1402151761","filename":"file1"},{"photo_id":"1402151759","filename":"file0"},{"photo_id":"1402151765","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402151768":["hashtag1","hashtag2"]},{"1402151765":["hashtag1","hashtag2"]},{"1402151759":["hashtag1","hashtag2"]},{"1402151770":["hashtag1","hashtag2"]},{"1402151761":["hashtag1","hashtag2"]},{"1402151763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402151768, 1402151765, 1402151759, 1402151770, 1402151761, 1402151763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.484596490859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:08:02.795376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_34_9664.jpg', '/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_45_10851.jpg', '/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_54_9180.jpg', '/home/pi/Desktop/images/02012026/12/22/image_02012026_12_23_04_9976.jpg', '/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_15_10698.jpg', '/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_25_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_34_9664.jpg
/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_45_10851.jpg
/home/pi/Desktop/images/02012026/12/22/image_02012026_12_22_54_9180.jpg
/home/pi/Desktop/images/02012026/12/22/image_02012026_12_23_04_9976.jpg
/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_15_10698.jpg
/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_25_10015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402151771","1402151774","1402151777","1402151773","1402151775","1402151772"],"photo_ids_order":["1402151771","1402151772","1402151773","1402151774","1402151775","1402151777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca128cea1d96aa17ddf94fbbb0c8d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7909536181456906857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355743561,"filename":"image_02012026_12_22_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/2/0a7ab2c762f7ba6352e7c226eeb142fb.jpg","text":"TemporaryFile(/tmp/multipartBody1333252507367131634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355743561,"filename":"image_02012026_12_23_04_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/406789a8352f0c4afe4cd5db0d2b2211.jpg","text":"TemporaryFile(/tmp/multipartBody7138320938099693538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355743561,"filename":"image_02012026_12_23_25_10015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/361f842d1568c491bd916811596328ec.jpg","text":"TemporaryFile(/tmp/multipartBody7604349863343329933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355743561,"filename":"image_02012026_12_22_54_9180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a029474096cc01ce619e174785c88085.jpg","text":"TemporaryFile(/tmp/multipartBody3591747689652798261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355743561,"filename":"image_02012026_12_23_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/2/686a8231bc92de2bda60d34c50084521.jpg","text":"TemporaryFile(/tmp/multipartBody6748242639622006059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355743561,"filename":"image_02012026_12_22_45_10851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151773","file1":"1402151772","file0":"1402151771","file4":"1402151775","file5":"1402151777","file3":"1402151774"},"map_files_photo_id_array":[{"photo_id":"1402151777","filename":"file5"},{"photo_id":"1402151773","filename":"file2"},{"photo_id":"1402151775","filename":"file4"},{"photo_id":"1402151772","filename":"file1"},{"photo_id":"1402151771","filename":"file0"},{"photo_id":"1402151774","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402151771":["hashtag1","hashtag2"]},{"1402151774":["hashtag1","hashtag2"]},{"1402151777":["hashtag1","hashtag2"]},{"1402151773":["hashtag1","hashtag2"]},{"1402151775":["hashtag1","hashtag2"]},{"1402151772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402151771, 1402151774, 1402151777, 1402151773, 1402151775, 1402151772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92118740081787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:08:42.369217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_16_2629.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_18_2664.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_22_3979.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_32_7410.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_34_1675.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_37_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_16_2629.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_18_2664.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_22_3979.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_32_7410.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_34_1675.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_37_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":["1402151786","1402151783","1402151791","1402151785","1402151800","1402151787"],"photo_ids_order":["1402151783","1402151785","1402151786","1402151787","1402151791","1402151800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/268c3217737a9b84bccb48e9014f8ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8913907487055578740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355784209,"filename":"image_05112025_18_40_22_3979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6c2ae532515ff7aeb7eafdcb962682cb.jpg","text":"TemporaryFile(/tmp/multipartBody8759080739990094418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355784209,"filename":"image_05112025_18_40_16_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/2/616455a9d11269c6132147aaaa320927.jpg","text":"TemporaryFile(/tmp/multipartBody6690602907269799282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355784209,"filename":"image_05112025_18_40_34_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/2/ad3fc7e0325230f9025e2f1ffa6fb0bc.jpg","text":"TemporaryFile(/tmp/multipartBody6363209741619149326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355784209,"filename":"image_05112025_18_40_18_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/2/16de2f13d85790b265fcdd3422817c02.jpg","text":"TemporaryFile(/tmp/multipartBody2322255177525189493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355784209,"filename":"image_05112025_18_40_37_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/2/ff5c7860e3aeb7d4cf92df4e209eb3cf.jpg","text":"TemporaryFile(/tmp/multipartBody3788868177528214797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355784209,"filename":"image_05112025_18_40_32_7410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151786","file1":"1402151785","file0":"1402151783","file4":"1402151791","file5":"1402151800","file3":"1402151787"},"map_files_photo_id_array":[{"photo_id":"1402151800","filename":"file5"},{"photo_id":"1402151786","filename":"file2"},{"photo_id":"1402151791","filename":"file4"},{"photo_id":"1402151785","filename":"file1"},{"photo_id":"1402151783","filename":"file0"},{"photo_id":"1402151787","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402151786":["hashtag1","hashtag2"]},{"1402151783":["hashtag1","hashtag2"]},{"1402151791":["hashtag1","hashtag2"]},{"1402151785":["hashtag1","hashtag2"]},{"1402151800":["hashtag1","hashtag2"]},{"1402151787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402151786, 1402151783, 1402151791, 1402151785, 1402151800, 1402151787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61725187301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:09:22.512962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_35_9975.jpg', '/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_45_9817.jpg', '/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_55_9808.jpg', '/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_04_9580.jpg', '/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_15_10608.jpg', '/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_25_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_35_9975.jpg
/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_45_9817.jpg
/home/pi/Desktop/images/02012026/12/23/image_02012026_12_23_55_9808.jpg
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_04_9580.jpg
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_15_10608.jpg
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_25_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":["1402151853","1402151897","1402151835","1402151888","1402151849","1402151899"],"photo_ids_order":["1402151835","1402151849","1402151853","1402151888","1402151897","1402151899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e47224b6b41916cb97d8dbdfca0239e.jpg","text":"TemporaryFile(/tmp/multipartBody3787806564415881643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355823239,"filename":"image_02012026_12_23_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/2/04bfcc3023cc7b960f5eadda0122b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody3513832643060917151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355823239,"filename":"image_02012026_12_24_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/2/9111362c2d1320f5ae5e226bac0b5230.jpg","text":"TemporaryFile(/tmp/multipartBody635286298179721580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355823239,"filename":"image_02012026_12_23_35_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/2/b9962b1b48972108be843e75ef1e1148.jpg","text":"TemporaryFile(/tmp/multipartBody1013438241031204273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355823239,"filename":"image_02012026_12_24_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/2/cc5576d65da921cf28d8c31ceb6dc054.jpg","text":"TemporaryFile(/tmp/multipartBody1464413436433297425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355823239,"filename":"image_02012026_12_23_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/2/3eebf82472a4d00c26793d530b800247.jpg","text":"TemporaryFile(/tmp/multipartBody5641165643829209303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355823239,"filename":"image_02012026_12_24_25_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151853","file1":"1402151849","file0":"1402151835","file4":"1402151897","file5":"1402151899","file3":"1402151888"},"map_files_photo_id_array":[{"photo_id":"1402151899","filename":"file5"},{"photo_id":"1402151853","filename":"file2"},{"photo_id":"1402151897","filename":"file4"},{"photo_id":"1402151849","filename":"file1"},{"photo_id":"1402151835","filename":"file0"},{"photo_id":"1402151888","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402151853":["hashtag1","hashtag2"]},{"1402151897":["hashtag1","hashtag2"]},{"1402151835":["hashtag1","hashtag2"]},{"1402151888":["hashtag1","hashtag2"]},{"1402151849":["hashtag1","hashtag2"]},{"1402151899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402151853, 1402151897, 1402151835, 1402151888, 1402151849, 1402151899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.753275632858276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:10:03.199681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_35_10597.jpg', '/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_45_9807.jpg', '/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_55_9591.jpg', '/home/pi/Desktop/images/02012026/12/24/image_02012026_12_25_05_9994.jpg', '/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_15_10614.jpg', '/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_25_9990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_35_10597.jpg
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_45_9807.jpg
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_24_55_9591.jpg
/home/pi/Desktop/images/02012026/12/24/image_02012026_12_25_05_9994.jpg
/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_15_10614.jpg
/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_25_9990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402151925","1402151999","1402151901","1402152019","1402152021","1402151961"],"photo_ids_order":["1402151901","1402151925","1402151961","1402151999","1402152019","1402152021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a9f56eea8d763e21e1d996909e3c297.jpg","text":"TemporaryFile(/tmp/multipartBody421404460604906604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355863933,"filename":"image_02012026_12_24_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/2/d5b2bddfd1feb485090a925528f9453f.jpg","text":"TemporaryFile(/tmp/multipartBody4823236676519565471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355863933,"filename":"image_02012026_12_25_05_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec5555f1410c73868fa19a14d242201e.jpg","text":"TemporaryFile(/tmp/multipartBody3144848025005949673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355863933,"filename":"image_02012026_12_24_35_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/2/c955ac0c6a5291f69d068ff16033ccf1.jpg","text":"TemporaryFile(/tmp/multipartBody7763230244988700795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355863933,"filename":"image_02012026_12_25_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/2/aa83da95d718df9f910a577828fb1f18.jpg","text":"TemporaryFile(/tmp/multipartBody4010542080983622462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355863933,"filename":"image_02012026_12_25_25_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4aa82cd1492dcf9308aabc4caa6d3f29.jpg","text":"TemporaryFile(/tmp/multipartBody6411827309291721389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355863933,"filename":"image_02012026_12_24_55_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402151961","file1":"1402151925","file0":"1402151901","file4":"1402152019","file5":"1402152021","file3":"1402151999"},"map_files_photo_id_array":[{"photo_id":"1402152021","filename":"file5"},{"photo_id":"1402151961","filename":"file2"},{"photo_id":"1402152019","filename":"file4"},{"photo_id":"1402151925","filename":"file1"},{"photo_id":"1402151901","filename":"file0"},{"photo_id":"1402151999","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402151925":["hashtag1","hashtag2"]},{"1402151999":["hashtag1","hashtag2"]},{"1402151901":["hashtag1","hashtag2"]},{"1402152019":["hashtag1","hashtag2"]},{"1402152021":["hashtag1","hashtag2"]},{"1402151961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402151925, 1402151999, 1402151901, 1402152019, 1402152021, 1402151961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7173490524292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:10:42.665281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_43_2747.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_45_2619.jpg', '/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_55_3748.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_01_3313.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_05_4251.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_07_1731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_43_2747.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_45_2619.jpg
/home/pi/Desktop/images/05112025/18/40/image_05112025_18_40_55_3748.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_01_3313.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_05_4251.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_07_1731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152029","1402152026","1402152031","1402152028","1402152030","1402152027"],"photo_ids_order":["1402152026","1402152027","1402152028","1402152029","1402152030","1402152031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6121fa9c33106340ae1a41305ab4da8d.jpg","text":"TemporaryFile(/tmp/multipartBody3465233788925487452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355904496,"filename":"image_05112025_18_41_01_3313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cef3a8015262ee394fb78480cd07cfef.jpg","text":"TemporaryFile(/tmp/multipartBody720794872172899464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355904496,"filename":"image_05112025_18_40_43_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/2/e9e72257c6fd883824723a5e943e8310.jpg","text":"TemporaryFile(/tmp/multipartBody1414373578863575940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355904496,"filename":"image_05112025_18_41_07_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/2/b86d9626ba7e5cea8792a4f62ebbe08c.jpg","text":"TemporaryFile(/tmp/multipartBody8547925156692674017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355904496,"filename":"image_05112025_18_40_55_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c0e024d303ccb180ef765264448b29d.jpg","text":"TemporaryFile(/tmp/multipartBody2590680261891937079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355904496,"filename":"image_05112025_18_41_05_4251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c469fd7fcad7c95c69f493424abfa88.jpg","text":"TemporaryFile(/tmp/multipartBody8420566515245019112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355904496,"filename":"image_05112025_18_40_45_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152028","file1":"1402152027","file0":"1402152026","file4":"1402152030","file5":"1402152031","file3":"1402152029"},"map_files_photo_id_array":[{"photo_id":"1402152031","filename":"file5"},{"photo_id":"1402152028","filename":"file2"},{"photo_id":"1402152030","filename":"file4"},{"photo_id":"1402152027","filename":"file1"},{"photo_id":"1402152026","filename":"file0"},{"photo_id":"1402152029","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152029":["hashtag1","hashtag2"]},{"1402152026":["hashtag1","hashtag2"]},{"1402152031":["hashtag1","hashtag2"]},{"1402152028":["hashtag1","hashtag2"]},{"1402152030":["hashtag1","hashtag2"]},{"1402152027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152029, 1402152026, 1402152031, 1402152028, 1402152030, 1402152027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1418981552124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:11:21.962778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_35_9967.jpg', '/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_45_9731.jpg', '/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_54_9494.jpg', '/home/pi/Desktop/images/02012026/12/25/image_02012026_12_26_05_10804.jpg', '/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_15_9707.jpg', '/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_25_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_35_9967.jpg
/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_45_9731.jpg
/home/pi/Desktop/images/02012026/12/25/image_02012026_12_25_54_9494.jpg
/home/pi/Desktop/images/02012026/12/25/image_02012026_12_26_05_10804.jpg
/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_15_9707.jpg
/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_25_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":["1402152041","1402152035","1402152043","1402152037","1402152046","1402152039"],"photo_ids_order":["1402152035","1402152037","1402152039","1402152041","1402152043","1402152046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7726cbb274fa6b034ed9884cc7b54592.jpg","text":"TemporaryFile(/tmp/multipartBody2842910318089606214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355942762,"filename":"image_02012026_12_26_05_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/2/7740118845e6f9a726abfd1b43b40c64.jpg","text":"TemporaryFile(/tmp/multipartBody2555645343531412169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355942762,"filename":"image_02012026_12_25_35_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e124c70a5602deff769eefece226f866.jpg","text":"TemporaryFile(/tmp/multipartBody1239005275573877609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355942762,"filename":"image_02012026_12_26_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/2/26568fb5ca9e1ba7e6b32beef9f2487e.jpg","text":"TemporaryFile(/tmp/multipartBody1511466211293721526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355942762,"filename":"image_02012026_12_25_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/2/752e2619135e403c15889277f74a475c.jpg","text":"TemporaryFile(/tmp/multipartBody7383951304499434428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355942762,"filename":"image_02012026_12_26_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/2/1255856732a705248de57006d622c999.jpg","text":"TemporaryFile(/tmp/multipartBody4881538119558364121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355942762,"filename":"image_02012026_12_25_54_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152039","file1":"1402152037","file0":"1402152035","file4":"1402152043","file5":"1402152046","file3":"1402152041"},"map_files_photo_id_array":[{"photo_id":"1402152046","filename":"file5"},{"photo_id":"1402152039","filename":"file2"},{"photo_id":"1402152043","filename":"file4"},{"photo_id":"1402152037","filename":"file1"},{"photo_id":"1402152035","filename":"file0"},{"photo_id":"1402152041","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152041":["hashtag1","hashtag2"]},{"1402152035":["hashtag1","hashtag2"]},{"1402152043":["hashtag1","hashtag2"]},{"1402152037":["hashtag1","hashtag2"]},{"1402152046":["hashtag1","hashtag2"]},{"1402152039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152041, 1402152035, 1402152043, 1402152037, 1402152046, 1402152039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29715919494629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:12:02.424549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_35_10143.jpg', '/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_44_9511.jpg', '/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_55_10911.jpg', '/home/pi/Desktop/images/02012026/12/26/image_02012026_12_27_05_9867.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_15_9455.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_25_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_35_10143.jpg
/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_44_9511.jpg
/home/pi/Desktop/images/02012026/12/26/image_02012026_12_26_55_10911.jpg
/home/pi/Desktop/images/02012026/12/26/image_02012026_12_27_05_9867.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_15_9455.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_25_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152059","1402152052","1402152049","1402152054","1402152048","1402152057"],"photo_ids_order":["1402152048","1402152049","1402152052","1402152054","1402152057","1402152059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6622ae35f971b679e1640b2ea21cf00d.jpg","text":"TemporaryFile(/tmp/multipartBody3213581563160881426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355983186,"filename":"image_02012026_12_27_25_10347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/266a8b28af0298a42aa68bb30e9f4a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3505716858725295972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355983186,"filename":"image_02012026_12_26_55_10911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb34c627a321c098e0c9bb0f67b586b5.jpg","text":"TemporaryFile(/tmp/multipartBody2385215110365633635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355983186,"filename":"image_02012026_12_26_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/2/83bd2e8b84e48005dc1648f639b11c71.jpg","text":"TemporaryFile(/tmp/multipartBody7578970830180086034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355983186,"filename":"image_02012026_12_27_05_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/2/1a01fc632f89f2023fd2ba32f94f3492.jpg","text":"TemporaryFile(/tmp/multipartBody2593621217215741148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355983186,"filename":"image_02012026_12_26_35_10143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/163c3aa67b0c06a686c6f29f2782f18e.jpg","text":"TemporaryFile(/tmp/multipartBody8031313745293741876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767355983186,"filename":"image_02012026_12_27_15_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152052","file1":"1402152049","file0":"1402152048","file4":"1402152057","file5":"1402152059","file3":"1402152054"},"map_files_photo_id_array":[{"photo_id":"1402152059","filename":"file5"},{"photo_id":"1402152052","filename":"file2"},{"photo_id":"1402152057","filename":"file4"},{"photo_id":"1402152049","filename":"file1"},{"photo_id":"1402152048","filename":"file0"},{"photo_id":"1402152054","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152059":["hashtag1","hashtag2"]},{"1402152052":["hashtag1","hashtag2"]},{"1402152049":["hashtag1","hashtag2"]},{"1402152054":["hashtag1","hashtag2"]},{"1402152048":["hashtag1","hashtag2"]},{"1402152057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152059, 1402152052, 1402152049, 1402152054, 1402152048, 1402152057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2301127910614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:12:41.982346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_26_1823.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_27_1535.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_30_1591.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_39_2745.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_43_3603.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_45_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_26_1823.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_27_1535.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_30_1591.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_39_2745.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_43_3603.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_45_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":["1402152071","1402152065","1402152073","1402152067","1402152072","1402152069"],"photo_ids_order":["1402152065","1402152067","1402152069","1402152071","1402152072","1402152073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b867c9d774eedd4215e21b97f4d21531.jpg","text":"TemporaryFile(/tmp/multipartBody3902973400477037477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356023815,"filename":"image_05112025_18_41_39_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/2/5ad371db22e20c3a09ddd9d769f2071f.jpg","text":"TemporaryFile(/tmp/multipartBody1461806534057956792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356023815,"filename":"image_05112025_18_41_26_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/2/00df6735693e005a3dc463619e462db7.jpg","text":"TemporaryFile(/tmp/multipartBody8628481145481342512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356023815,"filename":"image_05112025_18_41_45_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/2/83dd37811f26125e4e7cfa87ad345576.jpg","text":"TemporaryFile(/tmp/multipartBody1938395846884475718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356023815,"filename":"image_05112025_18_41_27_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/2/1ad3665274bfc848b5316837663d4891.jpg","text":"TemporaryFile(/tmp/multipartBody2377742076007520482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356023815,"filename":"image_05112025_18_41_43_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/2/98e744c586c71c9cada9d4e56fdeeeea.jpg","text":"TemporaryFile(/tmp/multipartBody3674734675480075223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356023815,"filename":"image_05112025_18_41_30_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152069","file1":"1402152067","file0":"1402152065","file4":"1402152072","file5":"1402152073","file3":"1402152071"},"map_files_photo_id_array":[{"photo_id":"1402152073","filename":"file5"},{"photo_id":"1402152069","filename":"file2"},{"photo_id":"1402152072","filename":"file4"},{"photo_id":"1402152067","filename":"file1"},{"photo_id":"1402152065","filename":"file0"},{"photo_id":"1402152071","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152071":["hashtag1","hashtag2"]},{"1402152065":["hashtag1","hashtag2"]},{"1402152073":["hashtag1","hashtag2"]},{"1402152067":["hashtag1","hashtag2"]},{"1402152072":["hashtag1","hashtag2"]},{"1402152069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152071, 1402152065, 1402152073, 1402152067, 1402152072, 1402152069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17747259140015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:13:22.090508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_35_9939.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_45_9780.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_55_10233.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_28_05_10378.jpg', '/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_15_10050.jpg', '/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_25_9906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_35_9939.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_45_9780.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_55_10233.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_28_05_10378.jpg
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_15_10050.jpg
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_25_9906.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6223690509796143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:13:32.142730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_49_3634.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_51_2601.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_58_3778.jpg', '/home/pi/Desktop/images/05112025/18/41/image_05112025_18_42_00_2625.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_07_3540.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_13_6154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_49_3634.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_51_2601.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_41_58_3778.jpg
/home/pi/Desktop/images/05112025/18/41/image_05112025_18_42_00_2625.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_07_3540.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_13_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":["1402152086","1402152101","1402152099","1402152103","1402152102","1402152089"],"photo_ids_order":["1402152086","1402152089","1402152099","1402152101","1402152102","1402152103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0967b39fdd1b2d89a28d98829509c6af.jpg","text":"TemporaryFile(/tmp/multipartBody7152239186201042165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356074066,"filename":"image_05112025_18_41_49_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/2/be74a64686def2e2f855eef36d9fef6a.jpg","text":"TemporaryFile(/tmp/multipartBody2244267007990669801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356074066,"filename":"image_05112025_18_42_00_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/2/e33e40f3300d14607dcf154d21afcde5.jpg","text":"TemporaryFile(/tmp/multipartBody2241025758555573294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356074066,"filename":"image_05112025_18_41_58_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/2/9eb1ea147276e4ffa229a23116f7c60a.jpg","text":"TemporaryFile(/tmp/multipartBody9057957673887321028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356074066,"filename":"image_05112025_18_42_13_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/2/5e3c50ec894dccb64188c188f0593ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6215138891665717242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356074066,"filename":"image_05112025_18_42_07_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/2/ba1c768ddbbe62709a02626d3da6458f.jpg","text":"TemporaryFile(/tmp/multipartBody289026207491865823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356074066,"filename":"image_05112025_18_41_51_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152099","file1":"1402152089","file0":"1402152086","file4":"1402152102","file5":"1402152103","file3":"1402152101"},"map_files_photo_id_array":[{"photo_id":"1402152103","filename":"file5"},{"photo_id":"1402152099","filename":"file2"},{"photo_id":"1402152102","filename":"file4"},{"photo_id":"1402152089","filename":"file1"},{"photo_id":"1402152086","filename":"file0"},{"photo_id":"1402152101","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152086":["hashtag1","hashtag2"]},{"1402152101":["hashtag1","hashtag2"]},{"1402152099":["hashtag1","hashtag2"]},{"1402152103":["hashtag1","hashtag2"]},{"1402152102":["hashtag1","hashtag2"]},{"1402152089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152086, 1402152101, 1402152099, 1402152103, 1402152102, 1402152089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8857204914093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:14:12.291740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_16_3102.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_18_1544.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_19_1730.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_22_2585.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_25_2936.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_28_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_16_3102.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_18_1544.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_19_1730.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_22_2585.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_25_2936.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_28_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152114","1402152108","1402152107","1402152112","1402152123","1402152117"],"photo_ids_order":["1402152107","1402152108","1402152112","1402152114","1402152117","1402152123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb4304af9bf042784170732dfedf9396.jpg","text":"TemporaryFile(/tmp/multipartBody1969090610698418730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356114028,"filename":"image_05112025_18_42_22_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/2/fafd07827c082c3b7d238bc940a0bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody4809324489346454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356114028,"filename":"image_05112025_18_42_18_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/2/f4308c251d5890c0abba744dd73235a7.jpg","text":"TemporaryFile(/tmp/multipartBody5197214283089987401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356114028,"filename":"image_05112025_18_42_16_3102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65343b84d3dbe87fce6a506d3b2447b6.jpg","text":"TemporaryFile(/tmp/multipartBody4829586458290242471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356114028,"filename":"image_05112025_18_42_19_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/2/f7fdd83dc8082042cdeadcd66ca310e0.jpg","text":"TemporaryFile(/tmp/multipartBody5242061257012474810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356114028,"filename":"image_05112025_18_42_28_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/2/29685e5f1fc45a209d038ac8e183f9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7563860919426744853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356114028,"filename":"image_05112025_18_42_25_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152112","file1":"1402152108","file0":"1402152107","file4":"1402152117","file5":"1402152123","file3":"1402152114"},"map_files_photo_id_array":[{"photo_id":"1402152123","filename":"file5"},{"photo_id":"1402152112","filename":"file2"},{"photo_id":"1402152117","filename":"file4"},{"photo_id":"1402152108","filename":"file1"},{"photo_id":"1402152107","filename":"file0"},{"photo_id":"1402152114","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152114":["hashtag1","hashtag2"]},{"1402152108":["hashtag1","hashtag2"]},{"1402152107":["hashtag1","hashtag2"]},{"1402152112":["hashtag1","hashtag2"]},{"1402152123":["hashtag1","hashtag2"]},{"1402152117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152114, 1402152108, 1402152107, 1402152112, 1402152123, 1402152117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.317503690719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:15:03.216076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_35_9939.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_45_9780.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_55_10233.jpg', '/home/pi/Desktop/images/02012026/12/27/image_02012026_12_28_05_10378.jpg', '/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_15_10050.jpg', '/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_25_9906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_35_9939.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_45_9780.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_27_55_10233.jpg
/home/pi/Desktop/images/02012026/12/27/image_02012026_12_28_05_10378.jpg
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_15_10050.jpg
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_25_9906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152152","1402152146","1402152131","1402152149","1402152142","1402152144"],"photo_ids_order":["1402152131","1402152142","1402152144","1402152146","1402152149","1402152152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e4161ac5d0cc7bc0b49bd0229725f79f.jpg","text":"TemporaryFile(/tmp/multipartBody3133490994729794201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356164035,"filename":"image_02012026_12_28_25_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/2/680e7c2f99208ce6e9890d0864d7b5f9.jpg","text":"TemporaryFile(/tmp/multipartBody7336879455151567775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356164035,"filename":"image_02012026_12_28_05_10378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/44f0ef32de31e22afc365422d6d1f176.jpg","text":"TemporaryFile(/tmp/multipartBody6042898436281938480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356164035,"filename":"image_02012026_12_27_35_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91738a9c224755d058f4b51a163479ad.jpg","text":"TemporaryFile(/tmp/multipartBody5342148858915662784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356164035,"filename":"image_02012026_12_28_15_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/2/19d9501d7dbfd029eebced5db96db109.jpg","text":"TemporaryFile(/tmp/multipartBody244249356506762380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356164035,"filename":"image_02012026_12_27_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/2/1e7dfe51dedc4c6835e26d9fef7e9808.jpg","text":"TemporaryFile(/tmp/multipartBody2811788168507605274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356164035,"filename":"image_02012026_12_27_55_10233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152144","file1":"1402152142","file0":"1402152131","file4":"1402152149","file5":"1402152152","file3":"1402152146"},"map_files_photo_id_array":[{"photo_id":"1402152152","filename":"file5"},{"photo_id":"1402152144","filename":"file2"},{"photo_id":"1402152149","filename":"file4"},{"photo_id":"1402152142","filename":"file1"},{"photo_id":"1402152131","filename":"file0"},{"photo_id":"1402152146","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152152":["hashtag1","hashtag2"]},{"1402152146":["hashtag1","hashtag2"]},{"1402152131":["hashtag1","hashtag2"]},{"1402152149":["hashtag1","hashtag2"]},{"1402152142":["hashtag1","hashtag2"]},{"1402152144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152152, 1402152146, 1402152131, 1402152149, 1402152142, 1402152144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.049036502838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:15:42.597593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_31_3040.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_37_3234.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_48_2626.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_55_3660.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_58_2693.jpg', '/home/pi/Desktop/images/05112025/18/42/image_05112025_18_43_00_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_31_3040.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_37_3234.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_48_2626.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_55_3660.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_42_58_2693.jpg
/home/pi/Desktop/images/05112025/18/42/image_05112025_18_43_00_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
<Response [200]>
b'{"photo_ids":["1402152176","1402152173","1402152175","1402152160","1402152157","1402152159"],"photo_ids_order":["1402152157","1402152159","1402152160","1402152173","1402152175","1402152176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/41770833d6ddcb1509a504f5ee229681.jpg","text":"TemporaryFile(/tmp/multipartBody3466756106548600893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356204444,"filename":"image_05112025_18_43_00_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/2/d248132c5b007ea9080c211d6deb3075.jpg","text":"TemporaryFile(/tmp/multipartBody9082329885542289605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356204444,"filename":"image_05112025_18_42_55_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/2/d6a0bccc103dc4098c11000e1677b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody142718748593529982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356204444,"filename":"image_05112025_18_42_58_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/2/eba7f9d3dc474a269073b24dc45ad253.jpg","text":"TemporaryFile(/tmp/multipartBody2738364948002090358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356204444,"filename":"image_05112025_18_42_48_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/2/80384f0ba60a076361a52d3ed720b0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8363092554867757095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356204444,"filename":"image_05112025_18_42_31_3040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d300211a224859aec9f5cb05095ae6f5.jpg","text":"TemporaryFile(/tmp/multipartBody5045209417821772562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356204444,"filename":"image_05112025_18_42_37_3234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152160","file1":"1402152159","file0":"1402152157","file4":"1402152175","file5":"1402152176","file3":"1402152173"},"map_files_photo_id_array":[{"photo_id":"1402152176","filename":"file5"},{"photo_id":"1402152160","filename":"file2"},{"photo_id":"1402152175","filename":"file4"},{"photo_id":"1402152159","filename":"file1"},{"photo_id":"1402152157","filename":"file0"},{"photo_id":"1402152173","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152176":["hashtag1","hashtag2"]},{"1402152173":["hashtag1","hashtag2"]},{"1402152175":["hashtag1","hashtag2"]},{"1402152160":["hashtag1","hashtag2"]},{"1402152157":["hashtag1","hashtag2"]},{"1402152159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152176, 1402152173, 1402152175, 1402152160, 1402152157, 1402152159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.140286922454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:16:27.741679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_35_9960.jpg', '/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_45_9963.jpg', '/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_55_9831.jpg', '/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_05_9687.jpg', '/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_14_9737.jpg', '/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_25_10930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_35_9960.jpg
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_45_9963.jpg
/home/pi/Desktop/images/02012026/12/28/image_02012026_12_28_55_9831.jpg
/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_05_9687.jpg
/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_14_9737.jpg
/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_25_10930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152269","1402152272","1402152271","1402152232","1402152264","1402152267"],"photo_ids_order":["1402152232","1402152264","1402152267","1402152269","1402152271","1402152272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94f656cfb1c8874ad624c8dcb9d65b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6579772162112077152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356248474,"filename":"image_02012026_12_29_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/2/e6239c7cbc2552ab8bc0b643cb143f97.jpg","text":"TemporaryFile(/tmp/multipartBody1835029693704202829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356248474,"filename":"image_02012026_12_29_25_10930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e30b125b89508732f999927a9b07c0f2.jpg","text":"TemporaryFile(/tmp/multipartBody4626843655081524911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356248474,"filename":"image_02012026_12_29_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/2/a13b97f7fbf46da99fb2a53aaba3cf5b.jpg","text":"TemporaryFile(/tmp/multipartBody2349034153624471229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356248474,"filename":"image_02012026_12_28_35_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/2/e883aac188078f394785ea3f6209b40e.jpg","text":"TemporaryFile(/tmp/multipartBody1390060495703742444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356248474,"filename":"image_02012026_12_28_45_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/2/4f59139b9390d76223fb34477dc58773.jpg","text":"TemporaryFile(/tmp/multipartBody8900086517109666190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356248474,"filename":"image_02012026_12_28_55_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152267","file1":"1402152264","file0":"1402152232","file4":"1402152271","file5":"1402152272","file3":"1402152269"},"map_files_photo_id_array":[{"photo_id":"1402152272","filename":"file5"},{"photo_id":"1402152267","filename":"file2"},{"photo_id":"1402152271","filename":"file4"},{"photo_id":"1402152264","filename":"file1"},{"photo_id":"1402152232","filename":"file0"},{"photo_id":"1402152269","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152269":["hashtag1","hashtag2"]},{"1402152272":["hashtag1","hashtag2"]},{"1402152271":["hashtag1","hashtag2"]},{"1402152232":["hashtag1","hashtag2"]},{"1402152264":["hashtag1","hashtag2"]},{"1402152267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152269, 1402152272, 1402152271, 1402152232, 1402152264, 1402152267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.521085023880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:17:11.970332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_06_2677.jpg', '/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_09_2734.jpg', '/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_15_2634.jpg', '/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_28_12909.jpg', '/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_31_2796.jpg', '/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_37_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_06_2677.jpg
/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_09_2734.jpg
/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_15_2634.jpg
/home/pi/Desktop/images/05112025/18/43/image_05112025_18_43_28_12909.jpg
/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_31_2796.jpg
/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_37_3655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152275","1402152280","1402152283","1402152277","1402152285","1402152287"],"photo_ids_order":["1402152275","1402152277","1402152280","1402152283","1402152285","1402152287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95f12ee1529f7c5b491490e22c765074.jpg","text":"TemporaryFile(/tmp/multipartBody6180689043561507475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356293804,"filename":"image_05112025_18_43_06_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/2/8e8980c7a3de8f18dd991c5dc30f5f09.jpg","text":"TemporaryFile(/tmp/multipartBody7969065808116944807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356293804,"filename":"image_05112025_18_43_15_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/2/99d2a248deebbebf0330d479da10a60e.jpg","text":"TemporaryFile(/tmp/multipartBody8703052369366562073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356293804,"filename":"image_05112025_18_43_28_12909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6684dc4f61a4f3b6fb2b32eb90a315f4.jpg","text":"TemporaryFile(/tmp/multipartBody8647129206826289743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356293804,"filename":"image_05112025_18_43_09_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/2/fb71d1bc7c5aa0f68f9b42478c3ba4cc.jpg","text":"TemporaryFile(/tmp/multipartBody5539414306501381619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356293804,"filename":"image_05112025_18_45_31_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/2/26f156151be4c3d370f62b6ba66f2217.jpg","text":"TemporaryFile(/tmp/multipartBody8090006455839101197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356293804,"filename":"image_05112025_18_45_37_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152280","file1":"1402152277","file0":"1402152275","file4":"1402152285","file5":"1402152287","file3":"1402152283"},"map_files_photo_id_array":[{"photo_id":"1402152287","filename":"file5"},{"photo_id":"1402152280","filename":"file2"},{"photo_id":"1402152285","filename":"file4"},{"photo_id":"1402152277","filename":"file1"},{"photo_id":"1402152275","filename":"file0"},{"photo_id":"1402152283","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152275":["hashtag1","hashtag2"]},{"1402152280":["hashtag1","hashtag2"]},{"1402152283":["hashtag1","hashtag2"]},{"1402152277":["hashtag1","hashtag2"]},{"1402152285":["hashtag1","hashtag2"]},{"1402152287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152275, 1402152280, 1402152283, 1402152277, 1402152285, 1402152287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.919480323791504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:18:02.674633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_35_9783.jpg', '/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_45_9716.jpg', '/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_55_9825.jpg', '/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_15_10053.jpg', '/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_25_10730.jpg', '/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_35_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_35_9783.jpg
/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_45_9716.jpg
/home/pi/Desktop/images/02012026/12/29/image_02012026_12_29_55_9825.jpg
/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_15_10053.jpg
/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_25_10730.jpg
/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_35_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":["1402152295","1402152307","1402152297","1402152300","1402152303","1402152293"],"photo_ids_order":["1402152293","1402152295","1402152297","1402152300","1402152303","1402152307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/40295d9773488658ae160fdacce028c0.jpg","text":"TemporaryFile(/tmp/multipartBody3640828781270305292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356343421,"filename":"image_02012026_12_29_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/2/6fbe74a5a395937ab7c12b6ae2fe4aec.jpg","text":"TemporaryFile(/tmp/multipartBody21748766796422938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356343421,"filename":"image_02012026_12_30_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/2/5f634cd04a8b6a695ffb45ab503dcb5d.jpg","text":"TemporaryFile(/tmp/multipartBody558556453232513060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356343421,"filename":"image_02012026_12_29_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/2/6d84bfaa604937e2576519e898c2d623.jpg","text":"TemporaryFile(/tmp/multipartBody2234706723256033521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356343421,"filename":"image_02012026_12_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/2/45f9278992922e4acdc55c7263145fb6.jpg","text":"TemporaryFile(/tmp/multipartBody486126627495576670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356343421,"filename":"image_02012026_12_30_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/2/def8fc57e076eb6a37e59dc0960cd201.jpg","text":"TemporaryFile(/tmp/multipartBody6532815024971650594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356343421,"filename":"image_02012026_12_29_35_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152297","file1":"1402152295","file0":"1402152293","file4":"1402152303","file5":"1402152307","file3":"1402152300"},"map_files_photo_id_array":[{"photo_id":"1402152307","filename":"file5"},{"photo_id":"1402152297","filename":"file2"},{"photo_id":"1402152303","filename":"file4"},{"photo_id":"1402152295","filename":"file1"},{"photo_id":"1402152293","filename":"file0"},{"photo_id":"1402152300","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152295":["hashtag1","hashtag2"]},{"1402152307":["hashtag1","hashtag2"]},{"1402152297":["hashtag1","hashtag2"]},{"1402152300":["hashtag1","hashtag2"]},{"1402152303":["hashtag1","hashtag2"]},{"1402152293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152295, 1402152307, 1402152297, 1402152300, 1402152303, 1402152293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75973582267761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:18:42.208286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_46_2810.jpg', '/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_52_2667.jpg', '/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_55_2746.jpg', '/home/pi/Desktop/images/05112025/18/46/image_05112025_18_46_01_6112.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_07_3011.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_13_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_46_2810.jpg
/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_52_2667.jpg
/home/pi/Desktop/images/05112025/18/45/image_05112025_18_45_55_2746.jpg
/home/pi/Desktop/images/05112025/18/46/image_05112025_18_46_01_6112.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_07_3011.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_13_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":["1402152326","1402152325","1402152328","1402152327","1402152321","1402152324"],"photo_ids_order":["1402152321","1402152324","1402152325","1402152326","1402152327","1402152328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32fab369006730005b9dc767543ab50f.jpg","text":"TemporaryFile(/tmp/multipartBody7703554024330689610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356384093,"filename":"image_05112025_18_46_01_6112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2bb6add909c221da0093377c07612f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5978579791393588916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356384093,"filename":"image_05112025_18_45_55_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/2/3e2b97cccd28e322d43b5e77e66c8c02.jpg","text":"TemporaryFile(/tmp/multipartBody1808428463463440490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356384093,"filename":"image_05112025_18_47_13_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/2/a7e5899607ad65662deaa8097f121cec.jpg","text":"TemporaryFile(/tmp/multipartBody8974998596661726823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356384093,"filename":"image_05112025_18_47_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/2/ccff8adc4484ecdfdc83e91149b0a936.jpg","text":"TemporaryFile(/tmp/multipartBody4105656332455005136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356384093,"filename":"image_05112025_18_45_46_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/2/dffb79180e094b9b214c3d80e489300a.jpg","text":"TemporaryFile(/tmp/multipartBody6739383647732981980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356384093,"filename":"image_05112025_18_45_52_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152325","file1":"1402152324","file0":"1402152321","file4":"1402152327","file5":"1402152328","file3":"1402152326"},"map_files_photo_id_array":[{"photo_id":"1402152328","filename":"file5"},{"photo_id":"1402152325","filename":"file2"},{"photo_id":"1402152327","filename":"file4"},{"photo_id":"1402152324","filename":"file1"},{"photo_id":"1402152321","filename":"file0"},{"photo_id":"1402152326","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152326":["hashtag1","hashtag2"]},{"1402152325":["hashtag1","hashtag2"]},{"1402152328":["hashtag1","hashtag2"]},{"1402152327":["hashtag1","hashtag2"]},{"1402152321":["hashtag1","hashtag2"]},{"1402152324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152326, 1402152325, 1402152328, 1402152327, 1402152321, 1402152324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33933091163635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:19:22.360839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_45_9709.jpg', '/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_55_9994.jpg', '/home/pi/Desktop/images/02012026/12/30/image_02012026_12_31_05_10751.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_15_9643.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_25_10118.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_35_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_45_9709.jpg
/home/pi/Desktop/images/02012026/12/30/image_02012026_12_30_55_9994.jpg
/home/pi/Desktop/images/02012026/12/30/image_02012026_12_31_05_10751.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_15_9643.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_25_10118.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_35_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152332","1402152376","1402152489","1402152450","1402152339","1402152414"],"photo_ids_order":["1402152332","1402152339","1402152376","1402152414","1402152450","1402152489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/034ce5d634263dd11419643fde21b2bc.jpg","text":"TemporaryFile(/tmp/multipartBody426851857809745900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356423089,"filename":"image_02012026_12_30_45_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/2/a9b445f0a2aae3ee151f1b621b1c1b20.jpg","text":"TemporaryFile(/tmp/multipartBody3222579009505841437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356423089,"filename":"image_02012026_12_31_05_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/2/5369654c2950caf1a51123d38264c28d.jpg","text":"TemporaryFile(/tmp/multipartBody6314780632837270659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356423089,"filename":"image_02012026_12_31_35_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/2/929b9778c3f08f4fed0ec44c611ea4ac.jpg","text":"TemporaryFile(/tmp/multipartBody3813769365048989152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356423089,"filename":"image_02012026_12_31_25_10118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ade5421479a29192ba58dec90a6161a.jpg","text":"TemporaryFile(/tmp/multipartBody4551620644251698435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356423089,"filename":"image_02012026_12_30_55_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a1410c82a191a62d7f7a4fc87ca8a18d.jpg","text":"TemporaryFile(/tmp/multipartBody2748251404343661554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356423089,"filename":"image_02012026_12_31_15_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152376","file1":"1402152339","file0":"1402152332","file4":"1402152450","file5":"1402152489","file3":"1402152414"},"map_files_photo_id_array":[{"photo_id":"1402152489","filename":"file5"},{"photo_id":"1402152376","filename":"file2"},{"photo_id":"1402152450","filename":"file4"},{"photo_id":"1402152339","filename":"file1"},{"photo_id":"1402152332","filename":"file0"},{"photo_id":"1402152414","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152332":["hashtag1","hashtag2"]},{"1402152376":["hashtag1","hashtag2"]},{"1402152489":["hashtag1","hashtag2"]},{"1402152450":["hashtag1","hashtag2"]},{"1402152339":["hashtag1","hashtag2"]},{"1402152414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152332, 1402152376, 1402152489, 1402152450, 1402152339, 1402152414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.643731355667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:20:02.904973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_45_9888.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_55_10212.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_32_05_9818.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_16_10729.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_25_9814.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_45_9888.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_55_10212.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_32_05_9818.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_16_10729.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_25_9814.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_35_9709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6472907066345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:20:12.564304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_16_2784.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_20_3598.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_22_2687.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_25_2611.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_29_3684.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_38_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_16_2784.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_20_3598.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_22_2687.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_25_2611.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_29_3684.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_38_3803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152692","1402152671","1402152682","1402152679","1402152695","1402152698"],"photo_ids_order":["1402152671","1402152679","1402152682","1402152692","1402152695","1402152698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb82017b70b1e816115a48b137b9e29d.jpg","text":"TemporaryFile(/tmp/multipartBody5164775399840028306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356474287,"filename":"image_05112025_18_47_25_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/2/dc58a56fc98c696bfd331f3aa2da3f31.jpg","text":"TemporaryFile(/tmp/multipartBody365076370821832110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356474287,"filename":"image_05112025_18_47_16_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42a06fa2a51b863a806f224395b960da.jpg","text":"TemporaryFile(/tmp/multipartBody5061264469265350051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356474287,"filename":"image_05112025_18_47_22_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/2/c5475a597f9cd2656c1fc2990c7c6207.jpg","text":"TemporaryFile(/tmp/multipartBody6328347471491865585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356474287,"filename":"image_05112025_18_47_20_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/2/3d741a868b45703abff93158ff994a69.jpg","text":"TemporaryFile(/tmp/multipartBody6764751713148581306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356474287,"filename":"image_05112025_18_47_29_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/2/6214367ad13894cf4c86d5a197a48db7.jpg","text":"TemporaryFile(/tmp/multipartBody2197659370000790772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356474287,"filename":"image_05112025_18_47_38_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152682","file1":"1402152679","file0":"1402152671","file4":"1402152695","file5":"1402152698","file3":"1402152692"},"map_files_photo_id_array":[{"photo_id":"1402152698","filename":"file5"},{"photo_id":"1402152682","filename":"file2"},{"photo_id":"1402152695","filename":"file4"},{"photo_id":"1402152679","filename":"file1"},{"photo_id":"1402152671","filename":"file0"},{"photo_id":"1402152692","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152692":["hashtag1","hashtag2"]},{"1402152671":["hashtag1","hashtag2"]},{"1402152682":["hashtag1","hashtag2"]},{"1402152679":["hashtag1","hashtag2"]},{"1402152695":["hashtag1","hashtag2"]},{"1402152698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152692, 1402152671, 1402152682, 1402152679, 1402152695, 1402152698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41469645500183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:21:03.471824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_45_9888.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_55_10212.jpg', '/home/pi/Desktop/images/02012026/12/31/image_02012026_12_32_05_9818.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_16_10729.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_25_9814.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_45_9888.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_31_55_10212.jpg
/home/pi/Desktop/images/02012026/12/31/image_02012026_12_32_05_9818.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_16_10729.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_25_9814.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_35_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152752","1402152743","1402152745","1402152754","1402152748","1402152741"],"photo_ids_order":["1402152741","1402152743","1402152745","1402152748","1402152752","1402152754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a14ced247d0fbdf535c3565f6d933f95.jpg","text":"TemporaryFile(/tmp/multipartBody7643958929956505774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356524258,"filename":"image_02012026_12_32_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/2/9d21ec2f515b77d3435ce626f2d81f23.jpg","text":"TemporaryFile(/tmp/multipartBody8859771255092521918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356524258,"filename":"image_02012026_12_31_55_10212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6bd7fc42a6c71a9fcb62576c4ac856d.jpg","text":"TemporaryFile(/tmp/multipartBody6627651852000528031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356524258,"filename":"image_02012026_12_32_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/2/0aebcb815daf4baa9833f15e24889957.jpg","text":"TemporaryFile(/tmp/multipartBody6965508014988348971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356524258,"filename":"image_02012026_12_32_35_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/2/6e9db377888550cd7b29d6b424240ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2328170923170129975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356524258,"filename":"image_02012026_12_32_16_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/2/f3f9ad8c6c99e4562de368135d14a9b3.jpg","text":"TemporaryFile(/tmp/multipartBody6521162745873401192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356524258,"filename":"image_02012026_12_31_45_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152745","file1":"1402152743","file0":"1402152741","file4":"1402152752","file5":"1402152754","file3":"1402152748"},"map_files_photo_id_array":[{"photo_id":"1402152754","filename":"file5"},{"photo_id":"1402152745","filename":"file2"},{"photo_id":"1402152752","filename":"file4"},{"photo_id":"1402152743","filename":"file1"},{"photo_id":"1402152741","filename":"file0"},{"photo_id":"1402152748","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152752":["hashtag1","hashtag2"]},{"1402152743":["hashtag1","hashtag2"]},{"1402152745":["hashtag1","hashtag2"]},{"1402152754":["hashtag1","hashtag2"]},{"1402152748":["hashtag1","hashtag2"]},{"1402152741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152752, 1402152743, 1402152745, 1402152754, 1402152748, 1402152741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62158274650574 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-02 13:22:09.637498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_45_9644.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_55_10701.jpg', '/home/pi/Desktop/images/02012026/12/32/image_02012026_12_33_05_9683.jpg', '/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_15_9615.jpg', '/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_25_10755.jpg', '/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_35_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_45_9644.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_32_55_10701.jpg
/home/pi/Desktop/images/02012026/12/32/image_02012026_12_33_05_9683.jpg
/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_15_9615.jpg
/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_25_10755.jpg
/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_35_9629.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":["1402152770","1402152764","1402152761","1402152763","1402152766","1402152768"],"photo_ids_order":["1402152761","1402152763","1402152764","1402152766","1402152768","1402152770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a67294d2ef2e15a6b2677c433ca3466c.jpg","text":"TemporaryFile(/tmp/multipartBody2908931328112945318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356590400,"filename":"image_02012026_12_33_35_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/2/60a6affb8f451e97e2ca1ff084ba0716.jpg","text":"TemporaryFile(/tmp/multipartBody4893486609201957982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356590400,"filename":"image_02012026_12_33_05_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/2/2a74bbfcfe26bb123a570de4e4e82e34.jpg","text":"TemporaryFile(/tmp/multipartBody8897866747087654457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356590400,"filename":"image_02012026_12_32_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/2/bc45d0c44bc192883813e3fbcd502087.jpg","text":"TemporaryFile(/tmp/multipartBody6498339312241295456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356590400,"filename":"image_02012026_12_32_55_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/2/9ba6d99d24858611f2178ba608a561ba.jpg","text":"TemporaryFile(/tmp/multipartBody7327298742926732979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356590400,"filename":"image_02012026_12_33_15_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/2/58db37798382b797dcc37464ba797d78.jpg","text":"TemporaryFile(/tmp/multipartBody5236169151528946330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356590400,"filename":"image_02012026_12_33_25_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152764","file1":"1402152763","file0":"1402152761","file4":"1402152768","file5":"1402152770","file3":"1402152766"},"map_files_photo_id_array":[{"photo_id":"1402152770","filename":"file5"},{"photo_id":"1402152764","filename":"file2"},{"photo_id":"1402152768","filename":"file4"},{"photo_id":"1402152763","filename":"file1"},{"photo_id":"1402152761","filename":"file0"},{"photo_id":"1402152766","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152770":["hashtag1","hashtag2"]},{"1402152764":["hashtag1","hashtag2"]},{"1402152761":["hashtag1","hashtag2"]},{"1402152763":["hashtag1","hashtag2"]},{"1402152766":["hashtag1","hashtag2"]},{"1402152768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152770, 1402152764, 1402152761, 1402152763, 1402152766, 1402152768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93692183494568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:23:04.677054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_45_9925.jpg', '/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_55_9857.jpg', '/home/pi/Desktop/images/02012026/12/33/image_02012026_12_34_05_9687.jpg', '/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_15_10912.jpg', '/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_25_9702.jpg', '/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_35_10138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_45_9925.jpg
/home/pi/Desktop/images/02012026/12/33/image_02012026_12_33_55_9857.jpg
/home/pi/Desktop/images/02012026/12/33/image_02012026_12_34_05_9687.jpg
/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_15_10912.jpg
/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_25_9702.jpg
/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_35_10138.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":["1402152788","1402152847","1402152811","1402152873","1402152867","1402152882"],"photo_ids_order":["1402152788","1402152811","1402152847","1402152867","1402152873","1402152882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf09772561dbcdb1e258808638807727.jpg","text":"TemporaryFile(/tmp/multipartBody5455905893040059371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356645417,"filename":"image_02012026_12_33_45_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/2/22bab005f370c7dba1c803511c5d5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4106318675636173183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356645417,"filename":"image_02012026_12_34_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/2/0ae05f11db03360738182c9108c68a49.jpg","text":"TemporaryFile(/tmp/multipartBody1625819096457474485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356645417,"filename":"image_02012026_12_33_55_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/2/04cf6d72dc8f74a130c4765a6f6baf88.jpg","text":"TemporaryFile(/tmp/multipartBody2790694425198251352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356645417,"filename":"image_02012026_12_34_25_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/2/01e198e22c61f1201fb3ba067c2dbc84.jpg","text":"TemporaryFile(/tmp/multipartBody370970379148318587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356645417,"filename":"image_02012026_12_34_15_10912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67abd8e8f2b81e3ee17da733defa1940.jpg","text":"TemporaryFile(/tmp/multipartBody3221888503026820910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356645417,"filename":"image_02012026_12_34_35_10138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152847","file1":"1402152811","file0":"1402152788","file4":"1402152873","file5":"1402152882","file3":"1402152867"},"map_files_photo_id_array":[{"photo_id":"1402152882","filename":"file5"},{"photo_id":"1402152847","filename":"file2"},{"photo_id":"1402152873","filename":"file4"},{"photo_id":"1402152811","filename":"file1"},{"photo_id":"1402152788","filename":"file0"},{"photo_id":"1402152867","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152788":["hashtag1","hashtag2"]},{"1402152847":["hashtag1","hashtag2"]},{"1402152811":["hashtag1","hashtag2"]},{"1402152873":["hashtag1","hashtag2"]},{"1402152867":["hashtag1","hashtag2"]},{"1402152882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152788, 1402152847, 1402152811, 1402152873, 1402152867, 1402152882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54489588737488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:24:02.879764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_45_9858.jpg', '/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_55_9691.jpg', '/home/pi/Desktop/images/02012026/12/34/image_02012026_12_35_05_10544.jpg', '/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_15_9746.jpg', '/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_25_9800.jpg', '/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_35_10083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_45_9858.jpg
/home/pi/Desktop/images/02012026/12/34/image_02012026_12_34_55_9691.jpg
/home/pi/Desktop/images/02012026/12/34/image_02012026_12_35_05_10544.jpg
/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_15_9746.jpg
/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_25_9800.jpg
/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_35_10083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152890","1402152887","1402152889","1402152891","1402152888","1402152893"],"photo_ids_order":["1402152887","1402152888","1402152889","1402152890","1402152891","1402152893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4f02caef37287d08e9f4515154f0a792.jpg","text":"TemporaryFile(/tmp/multipartBody7030799319279760220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356703692,"filename":"image_02012026_12_35_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/2/eef51155011b3970cacf83a24a6b4bab.jpg","text":"TemporaryFile(/tmp/multipartBody5546644065993764966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356703692,"filename":"image_02012026_12_34_45_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/2/8e89fa39c25f04c26190535b5e668274.jpg","text":"TemporaryFile(/tmp/multipartBody1552693393448261307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356703692,"filename":"image_02012026_12_35_05_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/2/cab3d7803c7ff709e4f2bbd5bed9f107.jpg","text":"TemporaryFile(/tmp/multipartBody3360969196214686594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356703692,"filename":"image_02012026_12_35_25_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/2/f9debfd4b703f527138c8b7e5ae27c01.jpg","text":"TemporaryFile(/tmp/multipartBody3872472566843296372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356703692,"filename":"image_02012026_12_34_55_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/2/2dcf2d343f8836e5d2557ebbee3477f6.jpg","text":"TemporaryFile(/tmp/multipartBody4656967372423625629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356703692,"filename":"image_02012026_12_35_35_10083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152889","file1":"1402152888","file0":"1402152887","file4":"1402152891","file5":"1402152893","file3":"1402152890"},"map_files_photo_id_array":[{"photo_id":"1402152893","filename":"file5"},{"photo_id":"1402152889","filename":"file2"},{"photo_id":"1402152891","filename":"file4"},{"photo_id":"1402152888","filename":"file1"},{"photo_id":"1402152887","filename":"file0"},{"photo_id":"1402152890","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152890":["hashtag1","hashtag2"]},{"1402152887":["hashtag1","hashtag2"]},{"1402152889":["hashtag1","hashtag2"]},{"1402152891":["hashtag1","hashtag2"]},{"1402152888":["hashtag1","hashtag2"]},{"1402152893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152890, 1402152887, 1402152889, 1402152891, 1402152888, 1402152893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33658576011658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:24:42.361550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_40_2680.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_43_2746.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_52_3096.jpg', '/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_55_2585.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_02_2954.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_05_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_40_2680.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_43_2746.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_52_3096.jpg
/home/pi/Desktop/images/05112025/18/47/image_05112025_18_47_55_2585.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_02_2954.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_05_2827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152926","1402152911","1402152925","1402152927","1402152924","1402152903"],"photo_ids_order":["1402152903","1402152911","1402152924","1402152925","1402152926","1402152927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c416ac7f55e2506fd5344083ca1c589a.jpg","text":"TemporaryFile(/tmp/multipartBody4616147320209377256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356744229,"filename":"image_05112025_18_48_02_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/2/71a91a00d8b538f665b9c93e6465cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody3202279965647192805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356744229,"filename":"image_05112025_18_47_43_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/2/c2b98d052dd858e519175a7dc21b4adb.jpg","text":"TemporaryFile(/tmp/multipartBody6755409078486173442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356744229,"filename":"image_05112025_18_47_55_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/2/66e8b43818d5f7f056537656e777cf49.jpg","text":"TemporaryFile(/tmp/multipartBody9162656341693669076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356744229,"filename":"image_05112025_18_48_05_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/2/04cc359f2bf0bce07402f3d44dcf12d3.jpg","text":"TemporaryFile(/tmp/multipartBody6853990044658012107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356744229,"filename":"image_05112025_18_47_52_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c5bf33ca41b64871529a3a48ecd068d9.jpg","text":"TemporaryFile(/tmp/multipartBody6480220685675656085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356744229,"filename":"image_05112025_18_47_40_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152924","file1":"1402152911","file0":"1402152903","file4":"1402152926","file5":"1402152927","file3":"1402152925"},"map_files_photo_id_array":[{"photo_id":"1402152927","filename":"file5"},{"photo_id":"1402152924","filename":"file2"},{"photo_id":"1402152926","filename":"file4"},{"photo_id":"1402152911","filename":"file1"},{"photo_id":"1402152903","filename":"file0"},{"photo_id":"1402152925","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152926":["hashtag1","hashtag2"]},{"1402152911":["hashtag1","hashtag2"]},{"1402152925":["hashtag1","hashtag2"]},{"1402152927":["hashtag1","hashtag2"]},{"1402152924":["hashtag1","hashtag2"]},{"1402152903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152926, 1402152911, 1402152925, 1402152927, 1402152924, 1402152903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.942344665527344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:25:22.457602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_45_9746.jpg', '/home/pi/Desktop/images/02012026/12/35/image_02012026_12_36_05_10794.jpg', '/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_15_9774.jpg', '/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_25_9720.jpg', '/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_35_9719.jpg', '/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_45_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/35/image_02012026_12_35_45_9746.jpg
/home/pi/Desktop/images/02012026/12/35/image_02012026_12_36_05_10794.jpg
/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_15_9774.jpg
/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_25_9720.jpg
/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_35_9719.jpg
/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_45_10791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152935","1402152929","1402152937","1402152931","1402152933","1402152939"],"photo_ids_order":["1402152929","1402152931","1402152933","1402152935","1402152937","1402152939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ce563d147bdeaf8845826becfb98dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7809934083487092847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356783191,"filename":"image_02012026_12_36_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/2/c75699043e1eef3c503fc7bdf0fa9e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3714667332900209269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356783191,"filename":"image_02012026_12_35_45_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/2/21a15d3047447361e1e5e37c0693bc29.jpg","text":"TemporaryFile(/tmp/multipartBody5814699787498632966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356783191,"filename":"image_02012026_12_36_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/2/85e562672af31df1a2bd2f350ce82164.jpg","text":"TemporaryFile(/tmp/multipartBody457601154857111463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356783191,"filename":"image_02012026_12_36_05_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/2/a4600e1b60f2ae1d23b759eb2b9baafb.jpg","text":"TemporaryFile(/tmp/multipartBody4186400185892575000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356783191,"filename":"image_02012026_12_36_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/2/4ebbb817876b9b939485cfb00e12db38.jpg","text":"TemporaryFile(/tmp/multipartBody1885379568376142887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356783191,"filename":"image_02012026_12_36_45_10791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152933","file1":"1402152931","file0":"1402152929","file4":"1402152937","file5":"1402152939","file3":"1402152935"},"map_files_photo_id_array":[{"photo_id":"1402152939","filename":"file5"},{"photo_id":"1402152933","filename":"file2"},{"photo_id":"1402152937","filename":"file4"},{"photo_id":"1402152931","filename":"file1"},{"photo_id":"1402152929","filename":"file0"},{"photo_id":"1402152935","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152935":["hashtag1","hashtag2"]},{"1402152929":["hashtag1","hashtag2"]},{"1402152937":["hashtag1","hashtag2"]},{"1402152931":["hashtag1","hashtag2"]},{"1402152933":["hashtag1","hashtag2"]},{"1402152939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152935, 1402152929, 1402152937, 1402152931, 1402152933, 1402152939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4066059589386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:26:02.303711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_55_9607.jpg', '/home/pi/Desktop/images/02012026/12/36/image_02012026_12_37_05_9689.jpg', '/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_15_10809.jpg', '/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_25_9943.jpg', '/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_35_9871.jpg', '/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_45_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/36/image_02012026_12_36_55_9607.jpg
/home/pi/Desktop/images/02012026/12/36/image_02012026_12_37_05_9689.jpg
/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_15_10809.jpg
/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_25_9943.jpg
/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_35_9871.jpg
/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_45_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":["1402152944","1402152941","1402152940","1402152943","1402152946","1402152942"],"photo_ids_order":["1402152940","1402152941","1402152942","1402152943","1402152944","1402152946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c28d72f82758c69e978f4cdf2ce193e.jpg","text":"TemporaryFile(/tmp/multipartBody496549646370811653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356823059,"filename":"image_02012026_12_37_35_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/2/eae51df3938af164a8151557924bde6e.jpg","text":"TemporaryFile(/tmp/multipartBody4175579940015925210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356823059,"filename":"image_02012026_12_37_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/2/69f9198a57f76c6be91fdfaa29a1edd5.jpg","text":"TemporaryFile(/tmp/multipartBody7269205626845880050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356823059,"filename":"image_02012026_12_36_55_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/2/985911334751f7f4970316b3b8ad977f.jpg","text":"TemporaryFile(/tmp/multipartBody4352493084452941330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356823059,"filename":"image_02012026_12_37_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/2/a14f92ca82737d893ca9a888b747f077.jpg","text":"TemporaryFile(/tmp/multipartBody9201649396720728454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356823059,"filename":"image_02012026_12_37_45_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/2/0bc94ec8b2f77ddcf2a57c7a16c08a92.jpg","text":"TemporaryFile(/tmp/multipartBody954694096803782395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356823059,"filename":"image_02012026_12_37_15_10809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152942","file1":"1402152941","file0":"1402152940","file4":"1402152944","file5":"1402152946","file3":"1402152943"},"map_files_photo_id_array":[{"photo_id":"1402152946","filename":"file5"},{"photo_id":"1402152942","filename":"file2"},{"photo_id":"1402152944","filename":"file4"},{"photo_id":"1402152941","filename":"file1"},{"photo_id":"1402152940","filename":"file0"},{"photo_id":"1402152943","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402152944":["hashtag1","hashtag2"]},{"1402152941":["hashtag1","hashtag2"]},{"1402152940":["hashtag1","hashtag2"]},{"1402152943":["hashtag1","hashtag2"]},{"1402152946":["hashtag1","hashtag2"]},{"1402152942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402152944, 1402152941, 1402152940, 1402152943, 1402152946, 1402152942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90793299674988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:26:41.794806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_07_2780.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_10_2694.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_14_3668.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_16_2674.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_19_2624.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_23_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_07_2780.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_10_2694.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_14_3668.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_16_2674.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_19_2624.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_23_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152965","1402152964","1402152958","1402152963","1402152966","1402152960"],"photo_ids_order":["1402152958","1402152960","1402152963","1402152964","1402152965","1402152966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78702ed5f6373c8cb6f3265e46a4a2ba.jpg","text":"TemporaryFile(/tmp/multipartBody3629763286344997987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356863684,"filename":"image_05112025_18_48_19_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/2/48dfd1beeca29f0d2670a820a924fae3.jpg","text":"TemporaryFile(/tmp/multipartBody2382663539852555715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356863684,"filename":"image_05112025_18_48_16_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/2/da74ab201e8de0fc0e1ed86a25655567.jpg","text":"TemporaryFile(/tmp/multipartBody6932547503131641356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356863684,"filename":"image_05112025_18_48_07_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09dac47b70403b96e1ba5c853ea6d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody4713163919908786402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356863684,"filename":"image_05112025_18_48_14_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/2/ffc4f0b06bc846932da336921e6ca646.jpg","text":"TemporaryFile(/tmp/multipartBody2042741610258127324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356863684,"filename":"image_05112025_18_48_23_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/2/bfcea3c0f13631b56dbd9b94cf164f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5498849347554435362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356863684,"filename":"image_05112025_18_48_10_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152963","file1":"1402152960","file0":"1402152958","file4":"1402152965","file5":"1402152966","file3":"1402152964"},"map_files_photo_id_array":[{"photo_id":"1402152966","filename":"file5"},{"photo_id":"1402152963","filename":"file2"},{"photo_id":"1402152965","filename":"file4"},{"photo_id":"1402152960","filename":"file1"},{"photo_id":"1402152958","filename":"file0"},{"photo_id":"1402152964","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152965":["hashtag1","hashtag2"]},{"1402152964":["hashtag1","hashtag2"]},{"1402152958":["hashtag1","hashtag2"]},{"1402152963":["hashtag1","hashtag2"]},{"1402152966":["hashtag1","hashtag2"]},{"1402152960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152965, 1402152964, 1402152958, 1402152963, 1402152966, 1402152960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92743492126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:27:31.959860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_32_2685.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_34_2657.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_40_2607.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_43_2551.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_47_3790.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_49_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_32_2685.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_34_2657.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_40_2607.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_43_2551.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_47_3790.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_49_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402152977","1402152971","1402152973","1402152976","1402152979","1402152978"],"photo_ids_order":["1402152971","1402152973","1402152976","1402152977","1402152978","1402152979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0c4741238cf09b7145565c6d1a86ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody5816862219269061267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356913822,"filename":"image_05112025_18_48_43_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/2/f9c3398036a69276d383a198e1c66426.jpg","text":"TemporaryFile(/tmp/multipartBody7827054311069895115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356913822,"filename":"image_05112025_18_48_32_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/2/e85815f88c722cb33d6696db3c6466c4.jpg","text":"TemporaryFile(/tmp/multipartBody2736326779222900816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356913822,"filename":"image_05112025_18_48_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/2/0de355c9895b6671db366b2b05d6c571.jpg","text":"TemporaryFile(/tmp/multipartBody4021605835424092961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356913822,"filename":"image_05112025_18_48_40_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/2/2f0c02fa8dbd55024742bcac48c6abec.jpg","text":"TemporaryFile(/tmp/multipartBody6091026664648966638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356913822,"filename":"image_05112025_18_48_49_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/2/e0fb1001e3b8881f063e22dca49f948f.jpg","text":"TemporaryFile(/tmp/multipartBody3138698825344868697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356913822,"filename":"image_05112025_18_48_47_3790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152976","file1":"1402152973","file0":"1402152971","file4":"1402152978","file5":"1402152979","file3":"1402152977"},"map_files_photo_id_array":[{"photo_id":"1402152979","filename":"file5"},{"photo_id":"1402152976","filename":"file2"},{"photo_id":"1402152978","filename":"file4"},{"photo_id":"1402152973","filename":"file1"},{"photo_id":"1402152971","filename":"file0"},{"photo_id":"1402152977","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402152977":["hashtag1","hashtag2"]},{"1402152971":["hashtag1","hashtag2"]},{"1402152973":["hashtag1","hashtag2"]},{"1402152976":["hashtag1","hashtag2"]},{"1402152979":["hashtag1","hashtag2"]},{"1402152978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402152977, 1402152971, 1402152973, 1402152976, 1402152979, 1402152978)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.52635741233826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:28:22.133701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_55_9851.jpg', '/home/pi/Desktop/images/02012026/12/37/image_02012026_12_38_05_9766.jpg', '/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_15_10006.jpg', '/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_25_10630.jpg', '/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_35_9829.jpg', '/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_45_10154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/37/image_02012026_12_37_55_9851.jpg
/home/pi/Desktop/images/02012026/12/37/image_02012026_12_38_05_9766.jpg
/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_15_10006.jpg
/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_25_10630.jpg
/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_35_9829.jpg
/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_45_10154.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153018","1402153003","1402153015","1402152990","1402152984","1402152980"],"photo_ids_order":["1402152980","1402152984","1402152990","1402153003","1402153015","1402153018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce321ae459019af8be4576a5267dc692.jpg","text":"TemporaryFile(/tmp/multipartBody2004912493236147378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356962814,"filename":"image_02012026_12_38_45_10154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a0c5092e78a78c7472a8eb31ecd5aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6624964647872010632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356962814,"filename":"image_02012026_12_38_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a0d9503e253e5a7a76930b4e4e5093e5.jpg","text":"TemporaryFile(/tmp/multipartBody4814918103745424653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356962814,"filename":"image_02012026_12_38_35_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/2/9ef584da69b6d3f8ff5600dc212bb920.jpg","text":"TemporaryFile(/tmp/multipartBody6296563652416530866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356962814,"filename":"image_02012026_12_38_15_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f960c39737b49ea2ba0dac1a383c2d08.jpg","text":"TemporaryFile(/tmp/multipartBody559561180954925205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356962814,"filename":"image_02012026_12_38_05_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/2/ac86da68ddfde1267255ee4def2ca4d2.jpg","text":"TemporaryFile(/tmp/multipartBody7016020786853021676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767356962814,"filename":"image_02012026_12_37_55_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402152990","file1":"1402152984","file0":"1402152980","file4":"1402153015","file5":"1402153018","file3":"1402153003"},"map_files_photo_id_array":[{"photo_id":"1402153018","filename":"file5"},{"photo_id":"1402152990","filename":"file2"},{"photo_id":"1402153015","filename":"file4"},{"photo_id":"1402152984","filename":"file1"},{"photo_id":"1402152980","filename":"file0"},{"photo_id":"1402153003","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153018":["hashtag1","hashtag2"]},{"1402153003":["hashtag1","hashtag2"]},{"1402153015":["hashtag1","hashtag2"]},{"1402152990":["hashtag1","hashtag2"]},{"1402152984":["hashtag1","hashtag2"]},{"1402152980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153018, 1402153003, 1402153015, 1402152990, 1402152984, 1402152980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92598581314087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:29:03.081967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_55_9734.jpg', '/home/pi/Desktop/images/02012026/12/38/image_02012026_12_39_05_9794.jpg', '/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_15_10086.jpg', '/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_25_9831.jpg', '/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_35_10739.jpg', '/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_45_10016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/38/image_02012026_12_38_55_9734.jpg
/home/pi/Desktop/images/02012026/12/38/image_02012026_12_39_05_9794.jpg
/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_15_10086.jpg
/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_25_9831.jpg
/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_35_10739.jpg
/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_45_10016.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":["1402153025","1402153036","1402153047","1402153041","1402153044","1402153038"],"photo_ids_order":["1402153025","1402153036","1402153038","1402153041","1402153044","1402153047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8b8d3d2a7ac0117c76189915066f6a08.jpg","text":"TemporaryFile(/tmp/multipartBody4467644541619388447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357003882,"filename":"image_02012026_12_38_55_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/2/6167ceee37560388c535cd2389cc8c78.jpg","text":"TemporaryFile(/tmp/multipartBody7235877545100424911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357003882,"filename":"image_02012026_12_39_05_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/2/a9e9f4772a1b222e085b63f33f3b037a.jpg","text":"TemporaryFile(/tmp/multipartBody7704814280074637378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357003882,"filename":"image_02012026_12_39_45_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/467d4542b2350a3b68648dc1bf72f447.jpg","text":"TemporaryFile(/tmp/multipartBody3360432134511051295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357003882,"filename":"image_02012026_12_39_25_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/2/1389dc3227cd88b556e1317bd392d7f2.jpg","text":"TemporaryFile(/tmp/multipartBody8717066407674536471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357003882,"filename":"image_02012026_12_39_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/2/4a948024461de4bd53c62c26a9466b12.jpg","text":"TemporaryFile(/tmp/multipartBody9119624274977944149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357003882,"filename":"image_02012026_12_39_15_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153038","file1":"1402153036","file0":"1402153025","file4":"1402153044","file5":"1402153047","file3":"1402153041"},"map_files_photo_id_array":[{"photo_id":"1402153047","filename":"file5"},{"photo_id":"1402153038","filename":"file2"},{"photo_id":"1402153044","filename":"file4"},{"photo_id":"1402153036","filename":"file1"},{"photo_id":"1402153025","filename":"file0"},{"photo_id":"1402153041","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153025":["hashtag1","hashtag2"]},{"1402153036":["hashtag1","hashtag2"]},{"1402153047":["hashtag1","hashtag2"]},{"1402153041":["hashtag1","hashtag2"]},{"1402153044":["hashtag1","hashtag2"]},{"1402153038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153025, 1402153036, 1402153047, 1402153041, 1402153044, 1402153038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.137407302856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:30:03.057192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_55_9575.jpg', '/home/pi/Desktop/images/02012026/12/39/image_02012026_12_40_05_9672.jpg', '/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_15_10637.jpg', '/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_25_9773.jpg', '/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_35_9641.jpg', '/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_45_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/39/image_02012026_12_39_55_9575.jpg
/home/pi/Desktop/images/02012026/12/39/image_02012026_12_40_05_9672.jpg
/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_15_10637.jpg
/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_25_9773.jpg
/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_35_9641.jpg
/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_45_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":["1402153067","1402153054","1402153062","1402153056","1402153064","1402153058"],"photo_ids_order":["1402153054","1402153056","1402153058","1402153062","1402153064","1402153067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c47899a075ea0c1ce4ce8f668d31e477.jpg","text":"TemporaryFile(/tmp/multipartBody7857827627035206859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357063729,"filename":"image_02012026_12_40_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/2/aad1bf8914568f24e557618d79714ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2214347331963327079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357063729,"filename":"image_02012026_12_39_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/2/29c61375a8dbac268e184d563ff9536e.jpg","text":"TemporaryFile(/tmp/multipartBody7022107587812499963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357063729,"filename":"image_02012026_12_40_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/2/389ab5ad42913da91710b1d8e22328c3.jpg","text":"TemporaryFile(/tmp/multipartBody6750062843117117499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357063729,"filename":"image_02012026_12_40_05_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/2/4fc62965c9ed50660eec5ca578041e70.jpg","text":"TemporaryFile(/tmp/multipartBody1779744395321917515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357063729,"filename":"image_02012026_12_40_35_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/2/998742d2e961328f11c02102c78da49c.jpg","text":"TemporaryFile(/tmp/multipartBody2623259520216128320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357063729,"filename":"image_02012026_12_40_15_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153058","file1":"1402153056","file0":"1402153054","file4":"1402153064","file5":"1402153067","file3":"1402153062"},"map_files_photo_id_array":[{"photo_id":"1402153067","filename":"file5"},{"photo_id":"1402153058","filename":"file2"},{"photo_id":"1402153064","filename":"file4"},{"photo_id":"1402153056","filename":"file1"},{"photo_id":"1402153054","filename":"file0"},{"photo_id":"1402153062","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153067":["hashtag1","hashtag2"]},{"1402153054":["hashtag1","hashtag2"]},{"1402153062":["hashtag1","hashtag2"]},{"1402153056":["hashtag1","hashtag2"]},{"1402153064":["hashtag1","hashtag2"]},{"1402153058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153067, 1402153054, 1402153062, 1402153056, 1402153064, 1402153058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40584754943848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:30:42.625874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_52_2770.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_57_5104.jpg', '/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_59_1682.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_03_4384.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_06_3059.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_08_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_52_2770.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_57_5104.jpg
/home/pi/Desktop/images/05112025/18/48/image_05112025_18_48_59_1682.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_03_4384.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_06_3059.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_08_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":["1402153229","1402153204","1402153227","1402153212","1402153218","1402153193"],"photo_ids_order":["1402153193","1402153204","1402153212","1402153218","1402153227","1402153229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f75a919b11c84624cb8d68da0ce96bc.jpg","text":"TemporaryFile(/tmp/multipartBody1291053549271200319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357104522,"filename":"image_05112025_18_49_08_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/2/fe9aadb02560355b10df90ce909f2b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6506463114685270807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357104522,"filename":"image_05112025_18_48_57_5104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67ef32e01e850192e68fe2ea68d508a0.jpg","text":"TemporaryFile(/tmp/multipartBody8309951460739952522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357104522,"filename":"image_05112025_18_49_06_3059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b57be00e97efc08713e2582e603ad447.jpg","text":"TemporaryFile(/tmp/multipartBody7044152751241283077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357104522,"filename":"image_05112025_18_48_59_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/2/73e89d8a37ae50d4fc65cae4228dcf48.jpg","text":"TemporaryFile(/tmp/multipartBody5469504650425828098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357104522,"filename":"image_05112025_18_49_03_4384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c0fed664741474f9322ac9b9012cc642.jpg","text":"TemporaryFile(/tmp/multipartBody1055019048560271227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357104522,"filename":"image_05112025_18_48_52_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153212","file1":"1402153204","file0":"1402153193","file4":"1402153227","file5":"1402153229","file3":"1402153218"},"map_files_photo_id_array":[{"photo_id":"1402153229","filename":"file5"},{"photo_id":"1402153212","filename":"file2"},{"photo_id":"1402153227","filename":"file4"},{"photo_id":"1402153204","filename":"file1"},{"photo_id":"1402153193","filename":"file0"},{"photo_id":"1402153218","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153229":["hashtag1","hashtag2"]},{"1402153204":["hashtag1","hashtag2"]},{"1402153227":["hashtag1","hashtag2"]},{"1402153212":["hashtag1","hashtag2"]},{"1402153218":["hashtag1","hashtag2"]},{"1402153193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153229, 1402153204, 1402153227, 1402153212, 1402153218, 1402153193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83191227912903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:31:32.826938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_10_1826.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_13_3599.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_20_3670.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_22_2643.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_25_2656.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_29_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_10_1826.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_13_3599.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_20_3670.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_22_2643.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_25_2656.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_29_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":["1402153244","1402153237","1402153242","1402153272","1402153245","1402153239"],"photo_ids_order":["1402153237","1402153239","1402153242","1402153244","1402153245","1402153272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4977c60ed527c9f891306074cb590530.jpg","text":"TemporaryFile(/tmp/multipartBody2241312255424365506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357154750,"filename":"image_05112025_18_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/2/34d1a5103da9211a246b56a9412778d6.jpg","text":"TemporaryFile(/tmp/multipartBody6272107125746754597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357154750,"filename":"image_05112025_18_49_10_1826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f4fd7604e911c9b30166657268db5f1b.jpg","text":"TemporaryFile(/tmp/multipartBody9210620317259089629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357154750,"filename":"image_05112025_18_49_20_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/2/2c327783a08ab45c8a00d79cf3857a67.jpg","text":"TemporaryFile(/tmp/multipartBody9203100001256710220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357154750,"filename":"image_05112025_18_49_29_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/2/8a498c5c82b8a01fb453d9c87b61fa93.jpg","text":"TemporaryFile(/tmp/multipartBody8848727838426710425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357154750,"filename":"image_05112025_18_49_25_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/2/36965809bdcff3747169e67a2ed360e8.jpg","text":"TemporaryFile(/tmp/multipartBody4999764694951996008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357154750,"filename":"image_05112025_18_49_13_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153242","file1":"1402153239","file0":"1402153237","file4":"1402153245","file5":"1402153272","file3":"1402153244"},"map_files_photo_id_array":[{"photo_id":"1402153272","filename":"file5"},{"photo_id":"1402153242","filename":"file2"},{"photo_id":"1402153245","filename":"file4"},{"photo_id":"1402153239","filename":"file1"},{"photo_id":"1402153237","filename":"file0"},{"photo_id":"1402153244","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153244":["hashtag1","hashtag2"]},{"1402153237":["hashtag1","hashtag2"]},{"1402153242":["hashtag1","hashtag2"]},{"1402153272":["hashtag1","hashtag2"]},{"1402153245":["hashtag1","hashtag2"]},{"1402153239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153244, 1402153237, 1402153242, 1402153272, 1402153245, 1402153239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.503626585006714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:32:22.104523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_55_9804.jpg', '/home/pi/Desktop/images/02012026/12/40/image_02012026_12_41_05_9744.jpg', '/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_15_9683.jpg', '/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_25_10611.jpg', '/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_35_9902.jpg', '/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_55_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/40/image_02012026_12_40_55_9804.jpg
/home/pi/Desktop/images/02012026/12/40/image_02012026_12_41_05_9744.jpg
/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_15_9683.jpg
/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_25_10611.jpg
/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_35_9902.jpg
/home/pi/Desktop/images/02012026/12/41/image_02012026_12_41_55_9531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153325","1402153328","1402153330","1402153326","1402153382","1402153361"],"photo_ids_order":["1402153325","1402153326","1402153328","1402153330","1402153361","1402153382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd125cc4144c3a1c883c755896c2efa5.jpg","text":"TemporaryFile(/tmp/multipartBody6527821222117156684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357203039,"filename":"image_02012026_12_40_55_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/2/7c33fbf632b8c4cde24b72aa73b89996.jpg","text":"TemporaryFile(/tmp/multipartBody4824872937614925470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357203039,"filename":"image_02012026_12_41_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/2/016b13c878622cd27555f054d65096b0.jpg","text":"TemporaryFile(/tmp/multipartBody9105036141148154997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357203039,"filename":"image_02012026_12_41_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/2/4a86609514a18aa1e7c81498e3819412.jpg","text":"TemporaryFile(/tmp/multipartBody3346079671261311380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357203039,"filename":"image_02012026_12_41_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/2/1ff9673e3834991e84ce7c70316c254c.jpg","text":"TemporaryFile(/tmp/multipartBody4448681811527365083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357203039,"filename":"image_02012026_12_41_55_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/2/78f9ba0277e449d83d2d574b057d4312.jpg","text":"TemporaryFile(/tmp/multipartBody145779271603514079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357203039,"filename":"image_02012026_12_41_35_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153328","file1":"1402153326","file0":"1402153325","file4":"1402153361","file5":"1402153382","file3":"1402153330"},"map_files_photo_id_array":[{"photo_id":"1402153382","filename":"file5"},{"photo_id":"1402153328","filename":"file2"},{"photo_id":"1402153361","filename":"file4"},{"photo_id":"1402153326","filename":"file1"},{"photo_id":"1402153325","filename":"file0"},{"photo_id":"1402153330","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153325":["hashtag1","hashtag2"]},{"1402153328":["hashtag1","hashtag2"]},{"1402153330":["hashtag1","hashtag2"]},{"1402153326":["hashtag1","hashtag2"]},{"1402153382":["hashtag1","hashtag2"]},{"1402153361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153325, 1402153328, 1402153330, 1402153326, 1402153382, 1402153361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.136833906173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:33:02.896124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/41/image_02012026_12_42_05_10089.jpg', '/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_16_10858.jpg', '/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_25_9261.jpg', '/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_45_9673.jpg', '/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_55_9659.jpg', '/home/pi/Desktop/images/02012026/12/42/image_02012026_12_43_05_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/41/image_02012026_12_42_05_10089.jpg
/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_16_10858.jpg
/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_25_9261.jpg
/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_45_9673.jpg
/home/pi/Desktop/images/02012026/12/42/image_02012026_12_42_55_9659.jpg
/home/pi/Desktop/images/02012026/12/42/image_02012026_12_43_05_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153430","1402153424","1402153426","1402153420","1402153422","1402153428"],"photo_ids_order":["1402153420","1402153422","1402153424","1402153426","1402153428","1402153430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83fe365a1cd0fd645a65984dcda001a9.jpg","text":"TemporaryFile(/tmp/multipartBody5435161831834703151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357243704,"filename":"image_02012026_12_43_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/2/5d96f95fe877a2dee0df30be4aa1000d.jpg","text":"TemporaryFile(/tmp/multipartBody6665619034154541308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357243704,"filename":"image_02012026_12_42_25_9261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/13431c631b71bd4fc5594d364b635e45.jpg","text":"TemporaryFile(/tmp/multipartBody7090085863360018942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357243704,"filename":"image_02012026_12_42_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/2/648aaa75169e16225abc9a87a6ef00f8.jpg","text":"TemporaryFile(/tmp/multipartBody6677278055291325682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357243704,"filename":"image_02012026_12_42_05_10089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4bc110989ee0861fe0e53035d9fb2f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8319519710438565004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357243704,"filename":"image_02012026_12_42_16_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/2/5629ec2ed8a5933e32e715c6ec6caaee.jpg","text":"TemporaryFile(/tmp/multipartBody5002531740995152096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357243704,"filename":"image_02012026_12_42_55_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153424","file1":"1402153422","file0":"1402153420","file4":"1402153428","file5":"1402153430","file3":"1402153426"},"map_files_photo_id_array":[{"photo_id":"1402153430","filename":"file5"},{"photo_id":"1402153424","filename":"file2"},{"photo_id":"1402153428","filename":"file4"},{"photo_id":"1402153422","filename":"file1"},{"photo_id":"1402153420","filename":"file0"},{"photo_id":"1402153426","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153430":["hashtag1","hashtag2"]},{"1402153424":["hashtag1","hashtag2"]},{"1402153426":["hashtag1","hashtag2"]},{"1402153420":["hashtag1","hashtag2"]},{"1402153422":["hashtag1","hashtag2"]},{"1402153428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153430, 1402153424, 1402153426, 1402153420, 1402153422, 1402153428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.693387031555176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:33:42.225716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_31_2512.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_34_2718.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_38_3650.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_43_2589.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_46_3684.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_49_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_31_2512.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_34_2718.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_38_3650.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_43_2589.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_46_3684.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_49_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":["1402153436","1402153582","1402153581","1402153580","1402153583","1402153487"],"photo_ids_order":["1402153436","1402153487","1402153580","1402153581","1402153582","1402153583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b46d9d3d1cc23f6ee2692b24bde27b1f.jpg","text":"TemporaryFile(/tmp/multipartBody977359544985486828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357284104,"filename":"image_05112025_18_49_31_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/2/dde8337e3304a09dd2280bba0494f3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5409659049560912576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357284104,"filename":"image_05112025_18_49_46_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/2/e30839115db5fb2995ce1b00ecf0d998.jpg","text":"TemporaryFile(/tmp/multipartBody4273592809249923002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357284104,"filename":"image_05112025_18_49_43_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/2/ac5ba2857fd2cb2c6809daeafad1e93c.jpg","text":"TemporaryFile(/tmp/multipartBody2351752125298524198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357284104,"filename":"image_05112025_18_49_38_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/2/cd475a2eab7a0ef14c64178568dea52b.jpg","text":"TemporaryFile(/tmp/multipartBody8433692163436112096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357284104,"filename":"image_05112025_18_49_49_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/2/e9aeb4ef416df35fd8f8272c9bdda5b9.jpg","text":"TemporaryFile(/tmp/multipartBody7946357913300592693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357284104,"filename":"image_05112025_18_49_34_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153580","file1":"1402153487","file0":"1402153436","file4":"1402153582","file5":"1402153583","file3":"1402153581"},"map_files_photo_id_array":[{"photo_id":"1402153583","filename":"file5"},{"photo_id":"1402153580","filename":"file2"},{"photo_id":"1402153582","filename":"file4"},{"photo_id":"1402153487","filename":"file1"},{"photo_id":"1402153436","filename":"file0"},{"photo_id":"1402153581","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153436":["hashtag1","hashtag2"]},{"1402153582":["hashtag1","hashtag2"]},{"1402153581":["hashtag1","hashtag2"]},{"1402153580":["hashtag1","hashtag2"]},{"1402153583":["hashtag1","hashtag2"]},{"1402153487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153436, 1402153582, 1402153581, 1402153580, 1402153583, 1402153487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37766790390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:34:22.399313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_15_10786.jpg', '/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_25_9982.jpg', '/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_35_9893.jpg', '/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_45_9645.jpg', '/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_55_9649.jpg', '/home/pi/Desktop/images/02012026/12/43/image_02012026_12_44_05_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_15_10786.jpg
/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_25_9982.jpg
/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_35_9893.jpg
/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_45_9645.jpg
/home/pi/Desktop/images/02012026/12/43/image_02012026_12_43_55_9649.jpg
/home/pi/Desktop/images/02012026/12/43/image_02012026_12_44_05_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":["1402153591","1402153594","1402153597","1402153606","1402153609","1402153603"],"photo_ids_order":["1402153591","1402153594","1402153597","1402153603","1402153606","1402153609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8dd8e6c77322344a99f10aec3c27d681.jpg","text":"TemporaryFile(/tmp/multipartBody8395607891196517616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357323124,"filename":"image_02012026_12_43_15_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/2/5244955faeb90ac980cfc4bad47a7494.jpg","text":"TemporaryFile(/tmp/multipartBody8890123758947686484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357323124,"filename":"image_02012026_12_43_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/2/de5057a6391b5e66c98d61fb6c65b102.jpg","text":"TemporaryFile(/tmp/multipartBody4258563474894702263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357323124,"filename":"image_02012026_12_43_35_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/2/29c13f89b1aabbef9f5f2bbf27b7b446.jpg","text":"TemporaryFile(/tmp/multipartBody2610685887948786863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357323124,"filename":"image_02012026_12_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/2/ff14f024e305690f3be9c205382a148f.jpg","text":"TemporaryFile(/tmp/multipartBody5171988690790822669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357323124,"filename":"image_02012026_12_44_05_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/2/df643f3cffaf389d912bab61e05960c7.jpg","text":"TemporaryFile(/tmp/multipartBody967340787624953578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357323124,"filename":"image_02012026_12_43_45_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153597","file1":"1402153594","file0":"1402153591","file4":"1402153606","file5":"1402153609","file3":"1402153603"},"map_files_photo_id_array":[{"photo_id":"1402153609","filename":"file5"},{"photo_id":"1402153597","filename":"file2"},{"photo_id":"1402153606","filename":"file4"},{"photo_id":"1402153594","filename":"file1"},{"photo_id":"1402153591","filename":"file0"},{"photo_id":"1402153603","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153591":["hashtag1","hashtag2"]},{"1402153594":["hashtag1","hashtag2"]},{"1402153597":["hashtag1","hashtag2"]},{"1402153606":["hashtag1","hashtag2"]},{"1402153609":["hashtag1","hashtag2"]},{"1402153603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153591, 1402153594, 1402153597, 1402153606, 1402153609, 1402153603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94805860519409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:35:03.080737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_15_9623.jpg', '/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_25_9740.jpg', '/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_35_9967.jpg', '/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_45_10881.jpg', '/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_55_9888.jpg', '/home/pi/Desktop/images/02012026/12/44/image_02012026_12_45_05_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_15_9623.jpg
/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_25_9740.jpg
/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_35_9967.jpg
/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_45_10881.jpg
/home/pi/Desktop/images/02012026/12/44/image_02012026_12_44_55_9888.jpg
/home/pi/Desktop/images/02012026/12/44/image_02012026_12_45_05_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":["1402153639","1402153627","1402153635","1402153620","1402153626","1402153631"],"photo_ids_order":["1402153620","1402153626","1402153627","1402153631","1402153635","1402153639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/630210801477c3cf455aa42db8b0e581.jpg","text":"TemporaryFile(/tmp/multipartBody4949972579211265665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357363868,"filename":"image_02012026_12_45_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/2/a9e5784078cce608ee58a37a8c687914.jpg","text":"TemporaryFile(/tmp/multipartBody8231276461490624267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357363868,"filename":"image_02012026_12_44_35_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/59a3d9cee70f65c6da37c1008a1dfc18.jpg","text":"TemporaryFile(/tmp/multipartBody14470888801346956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357363868,"filename":"image_02012026_12_44_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/2/36d7042be5af9d3244157edb5bd03780.jpg","text":"TemporaryFile(/tmp/multipartBody3825324147375290023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357363868,"filename":"image_02012026_12_44_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/2/5c9e0fa8b42852bf33fb253d497afdc1.jpg","text":"TemporaryFile(/tmp/multipartBody5082819149730395771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357363868,"filename":"image_02012026_12_44_25_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/2/df26a66bc24c1361d310ee0ef3df5048.jpg","text":"TemporaryFile(/tmp/multipartBody3114970210718106619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357363868,"filename":"image_02012026_12_44_45_10881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153627","file1":"1402153626","file0":"1402153620","file4":"1402153635","file5":"1402153639","file3":"1402153631"},"map_files_photo_id_array":[{"photo_id":"1402153639","filename":"file5"},{"photo_id":"1402153627","filename":"file2"},{"photo_id":"1402153635","filename":"file4"},{"photo_id":"1402153626","filename":"file1"},{"photo_id":"1402153620","filename":"file0"},{"photo_id":"1402153631","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153639":["hashtag1","hashtag2"]},{"1402153627":["hashtag1","hashtag2"]},{"1402153635":["hashtag1","hashtag2"]},{"1402153620":["hashtag1","hashtag2"]},{"1402153626":["hashtag1","hashtag2"]},{"1402153631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153639, 1402153627, 1402153635, 1402153620, 1402153626, 1402153631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62759470939636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:35:42.616256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_53_3585.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_55_2572.jpg', '/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_58_2829.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_04_3625.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_07_2546.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_11_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_53_3585.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_55_2572.jpg
/home/pi/Desktop/images/05112025/18/49/image_05112025_18_49_58_2829.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_04_3625.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_07_2546.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_11_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153645","1402153648","1402153647","1402153650","1402153644","1402153646"],"photo_ids_order":["1402153644","1402153645","1402153646","1402153647","1402153648","1402153650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ffc86490a8ffca04e51591972f1b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody5952674184108890593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357404547,"filename":"image_05112025_18_49_55_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/2/303fe029bbcb8227e0582fe1cfdc7f06.jpg","text":"TemporaryFile(/tmp/multipartBody5569689182491005284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357404547,"filename":"image_05112025_18_50_07_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/2/0f9e643672f005ab9635d9f161d6c21a.jpg","text":"TemporaryFile(/tmp/multipartBody4069119909203764966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357404547,"filename":"image_05112025_18_50_04_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/2/ea91c4be18838d63da68dd5d2bd52683.jpg","text":"TemporaryFile(/tmp/multipartBody7766247155120134649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357404547,"filename":"image_05112025_18_50_11_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/2/b443171ee26c3c588613820772e32e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1351516746738604958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357404547,"filename":"image_05112025_18_49_53_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/2/a9c0f62e56f721e3e27db636fcbe5c07.jpg","text":"TemporaryFile(/tmp/multipartBody6204902200910395926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357404547,"filename":"image_05112025_18_49_58_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153646","file1":"1402153645","file0":"1402153644","file4":"1402153648","file5":"1402153650","file3":"1402153647"},"map_files_photo_id_array":[{"photo_id":"1402153650","filename":"file5"},{"photo_id":"1402153646","filename":"file2"},{"photo_id":"1402153648","filename":"file4"},{"photo_id":"1402153645","filename":"file1"},{"photo_id":"1402153644","filename":"file0"},{"photo_id":"1402153647","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153645":["hashtag1","hashtag2"]},{"1402153648":["hashtag1","hashtag2"]},{"1402153647":["hashtag1","hashtag2"]},{"1402153650":["hashtag1","hashtag2"]},{"1402153644":["hashtag1","hashtag2"]},{"1402153646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153645, 1402153648, 1402153647, 1402153650, 1402153644, 1402153646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80034899711609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:36:22.767442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_15_9796.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_26_10642.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_45_9778.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_55_9690.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_46_05_9703.jpg', '/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_15_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_15_9796.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_26_10642.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_45_9778.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_55_9690.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_46_05_9703.jpg
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_15_10750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6640160083770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:36:33.618086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_13_2704.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_16_2586.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_20_3616.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_22_2710.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_28_2803.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_39_11143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_13_2704.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_16_2586.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_20_3616.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_22_2710.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_28_2803.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_39_11143.jpg
 val : 1 : upload photos already in 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":["1402153669","1402153666","1402153671","1402153668","1402153670","1402153673"],"photo_ids_order":["1402153666","1402153668","1402153669","1402153670","1402153671","1402153673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e503ccca356b159cc2a9afe17f22466.jpg","text":"TemporaryFile(/tmp/multipartBody7990940516717866022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357465288,"filename":"image_05112025_18_50_20_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/2/eecda51b7cc63c0e4d6126a2a761b861.jpg","text":"TemporaryFile(/tmp/multipartBody5585850203619968349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357465288,"filename":"image_05112025_18_50_13_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/2/169595ab5d12f27e55f59cc27ab2f026.jpg","text":"TemporaryFile(/tmp/multipartBody6643407006957319139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357465288,"filename":"image_05112025_18_50_28_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/2/90ffe74138bfd991c41220f6f534ac27.jpg","text":"TemporaryFile(/tmp/multipartBody4931885197339557095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357465288,"filename":"image_05112025_18_50_16_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/2/ecff60dbbe4425252bdcffbc0d40ac37.jpg","text":"TemporaryFile(/tmp/multipartBody3927036064710018334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357465288,"filename":"image_05112025_18_50_22_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/2/3a340aa8dc5c2bbeb7fe36c68e17638a.jpg","text":"TemporaryFile(/tmp/multipartBody6126642066557324081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357465288,"filename":"image_05112025_18_50_39_11143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153669","file1":"1402153668","file0":"1402153666","file4":"1402153671","file5":"1402153673","file3":"1402153670"},"map_files_photo_id_array":[{"photo_id":"1402153673","filename":"file5"},{"photo_id":"1402153669","filename":"file2"},{"photo_id":"1402153671","filename":"file4"},{"photo_id":"1402153668","filename":"file1"},{"photo_id":"1402153666","filename":"file0"},{"photo_id":"1402153670","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153669":["hashtag1","hashtag2"]},{"1402153666":["hashtag1","hashtag2"]},{"1402153671":["hashtag1","hashtag2"]},{"1402153668":["hashtag1","hashtag2"]},{"1402153670":["hashtag1","hashtag2"]},{"1402153673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153669, 1402153666, 1402153671, 1402153668, 1402153670, 1402153673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.3705358505249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:37:32.629553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_42_3054.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_44_1619.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_45_1737.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_47_1748.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_49_1625.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_50_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_42_3054.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_44_1619.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_45_1737.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_47_1748.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_49_1625.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_50_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":["1402153690","1402153687","1402153684","1402153689","1402153682","1402153691"],"photo_ids_order":["1402153682","1402153684","1402153687","1402153689","1402153690","1402153691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0fa4451d5438911851860fc38670062f.jpg","text":"TemporaryFile(/tmp/multipartBody6061168997069527161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357514551,"filename":"image_05112025_18_50_49_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/2/5dcda746eed2bddcf194f3438402b643.jpg","text":"TemporaryFile(/tmp/multipartBody1415123150026101195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357514551,"filename":"image_05112025_18_50_45_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/2/d9be3607a6472a0036d43165c0fc6477.jpg","text":"TemporaryFile(/tmp/multipartBody1368396848317705479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357514551,"filename":"image_05112025_18_50_44_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/2/06784c4ace09a5a208da4ab81d274072.jpg","text":"TemporaryFile(/tmp/multipartBody8165961412640866331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357514551,"filename":"image_05112025_18_50_47_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/2/6e75c3308550db6b331194117c44d8e1.jpg","text":"TemporaryFile(/tmp/multipartBody161792129637403140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357514551,"filename":"image_05112025_18_50_42_3054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b78303839568047132945d4db3571a46.jpg","text":"TemporaryFile(/tmp/multipartBody6507922556319796242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357514551,"filename":"image_05112025_18_50_50_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153687","file1":"1402153684","file0":"1402153682","file4":"1402153690","file5":"1402153691","file3":"1402153689"},"map_files_photo_id_array":[{"photo_id":"1402153691","filename":"file5"},{"photo_id":"1402153687","filename":"file2"},{"photo_id":"1402153690","filename":"file4"},{"photo_id":"1402153684","filename":"file1"},{"photo_id":"1402153682","filename":"file0"},{"photo_id":"1402153689","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153690":["hashtag1","hashtag2"]},{"1402153687":["hashtag1","hashtag2"]},{"1402153684":["hashtag1","hashtag2"]},{"1402153689":["hashtag1","hashtag2"]},{"1402153682":["hashtag1","hashtag2"]},{"1402153691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153690, 1402153687, 1402153684, 1402153689, 1402153682, 1402153691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52814698219299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:38:12.816911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_52_1658.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_55_3023.jpg', '/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_58_3652.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_01_2618.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_04_2619.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_08_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_52_1658.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_55_3023.jpg
/home/pi/Desktop/images/05112025/18/50/image_05112025_18_50_58_3652.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_01_2618.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_04_2619.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_08_3792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153709","1402153699","1402153696","1402153702","1402153704","1402153694"],"photo_ids_order":["1402153694","1402153696","1402153699","1402153702","1402153704","1402153709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c841253fb776587ccfa1ddfdab3ef83f.jpg","text":"TemporaryFile(/tmp/multipartBody4689100473579689777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357554563,"filename":"image_05112025_18_51_08_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/2/07f492660d92a4e6bf8da862f4138e05.jpg","text":"TemporaryFile(/tmp/multipartBody2854150742710115577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357554563,"filename":"image_05112025_18_50_58_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/2/4f59df13888dcea5e05e5e76704c4dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1776479607788967806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357554563,"filename":"image_05112025_18_50_55_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/af362600bcf265b8ec02ec7b3652580d.jpg","text":"TemporaryFile(/tmp/multipartBody1352573443280784877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357554563,"filename":"image_05112025_18_51_01_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/2/728674a23c597937722472fbe4b785c4.jpg","text":"TemporaryFile(/tmp/multipartBody8822123990836935189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357554563,"filename":"image_05112025_18_51_04_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/2/16384e0941b4c6f4988610a28d33a8f7.jpg","text":"TemporaryFile(/tmp/multipartBody8931071934516381997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357554563,"filename":"image_05112025_18_50_52_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153699","file1":"1402153696","file0":"1402153694","file4":"1402153704","file5":"1402153709","file3":"1402153702"},"map_files_photo_id_array":[{"photo_id":"1402153709","filename":"file5"},{"photo_id":"1402153699","filename":"file2"},{"photo_id":"1402153704","filename":"file4"},{"photo_id":"1402153696","filename":"file1"},{"photo_id":"1402153694","filename":"file0"},{"photo_id":"1402153702","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153709":["hashtag1","hashtag2"]},{"1402153699":["hashtag1","hashtag2"]},{"1402153696":["hashtag1","hashtag2"]},{"1402153702":["hashtag1","hashtag2"]},{"1402153704":["hashtag1","hashtag2"]},{"1402153694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153709, 1402153699, 1402153696, 1402153702, 1402153704, 1402153694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0589497089386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:39:03.181529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_15_9796.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_26_10642.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_45_9778.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_55_9690.jpg', '/home/pi/Desktop/images/02012026/12/45/image_02012026_12_46_05_9703.jpg', '/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_15_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_15_9796.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_26_10642.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_45_9778.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_45_55_9690.jpg
/home/pi/Desktop/images/02012026/12/45/image_02012026_12_46_05_9703.jpg
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_15_10750.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":["1402153726","1402153731","1402153734","1402153728","1402153737","1402153724"],"photo_ids_order":["1402153724","1402153726","1402153728","1402153731","1402153734","1402153737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eee7f320c0fcad42e840e18f4a1b6f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5181698962907745984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357604203,"filename":"image_02012026_12_45_26_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/2/133e997728db0c9b5cb8632954705e73.jpg","text":"TemporaryFile(/tmp/multipartBody5414900639622524533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357604203,"filename":"image_02012026_12_45_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/2/6d947c8b2de928285051354b8beaa9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5521449398727886055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357604203,"filename":"image_02012026_12_46_05_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/2/65cb252f9478a8ebe92d9ed8513daf89.jpg","text":"TemporaryFile(/tmp/multipartBody1432413291093381764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357604203,"filename":"image_02012026_12_45_45_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/2/bf8c476e798516bce0dec7aa383c1ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2437560268955772560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357604203,"filename":"image_02012026_12_46_15_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/2/12049e6b8a63e43bedb33570797a6279.jpg","text":"TemporaryFile(/tmp/multipartBody1717181014001304132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357604203,"filename":"image_02012026_12_45_15_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153728","file1":"1402153726","file0":"1402153724","file4":"1402153734","file5":"1402153737","file3":"1402153731"},"map_files_photo_id_array":[{"photo_id":"1402153737","filename":"file5"},{"photo_id":"1402153728","filename":"file2"},{"photo_id":"1402153734","filename":"file4"},{"photo_id":"1402153726","filename":"file1"},{"photo_id":"1402153724","filename":"file0"},{"photo_id":"1402153731","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153726":["hashtag1","hashtag2"]},{"1402153731":["hashtag1","hashtag2"]},{"1402153734":["hashtag1","hashtag2"]},{"1402153728":["hashtag1","hashtag2"]},{"1402153737":["hashtag1","hashtag2"]},{"1402153724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153726, 1402153731, 1402153734, 1402153728, 1402153737, 1402153724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00419735908508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:40:02.918937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_25_9842.jpg', '/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_35_9845.jpg', '/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_45_9942.jpg', '/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_55_9796.jpg', '/home/pi/Desktop/images/02012026/12/46/image_02012026_12_47_05_9794.jpg', '/home/pi/Desktop/images/02012026/12/47/image_02012026_12_47_25_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_25_9842.jpg
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_35_9845.jpg
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_45_9942.jpg
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_46_55_9796.jpg
/home/pi/Desktop/images/02012026/12/46/image_02012026_12_47_05_9794.jpg
/home/pi/Desktop/images/02012026/12/47/image_02012026_12_47_25_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":["1402153748","1402153750","1402153747","1402153752","1402153746","1402153755"],"photo_ids_order":["1402153746","1402153747","1402153748","1402153750","1402153752","1402153755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f18f5c758f76388cd8b71e5b9de7787.jpg","text":"TemporaryFile(/tmp/multipartBody253905778023831370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357663703,"filename":"image_02012026_12_46_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/2/a15b5fa1f53a95de83c42b282e97b0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5261687332911717418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357663703,"filename":"image_02012026_12_46_55_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/2/7df87bc631462822e00a3721bd80fc00.jpg","text":"TemporaryFile(/tmp/multipartBody125519890246083595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357663703,"filename":"image_02012026_12_46_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/2/f2473e064297e69779b725c94687a948.jpg","text":"TemporaryFile(/tmp/multipartBody279494760680349431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357663703,"filename":"image_02012026_12_47_05_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/2/ab56d54cf855033878f669f3eb717b84.jpg","text":"TemporaryFile(/tmp/multipartBody8710498318515735332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357663703,"filename":"image_02012026_12_46_25_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/2/c46031eef29ebff1890fb0ebf7cf5b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6857246746802446736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357663703,"filename":"image_02012026_12_47_25_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153748","file1":"1402153747","file0":"1402153746","file4":"1402153752","file5":"1402153755","file3":"1402153750"},"map_files_photo_id_array":[{"photo_id":"1402153755","filename":"file5"},{"photo_id":"1402153748","filename":"file2"},{"photo_id":"1402153752","filename":"file4"},{"photo_id":"1402153747","filename":"file1"},{"photo_id":"1402153746","filename":"file0"},{"photo_id":"1402153750","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153748":["hashtag1","hashtag2"]},{"1402153750":["hashtag1","hashtag2"]},{"1402153747":["hashtag1","hashtag2"]},{"1402153752":["hashtag1","hashtag2"]},{"1402153746":["hashtag1","hashtag2"]},{"1402153755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153748, 1402153750, 1402153747, 1402153752, 1402153746, 1402153755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33280539512634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:40:42.508610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_10_2793.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_13_2806.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_19_5468.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_22_3218.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_24_1921.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_25_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_10_2793.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_13_2806.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_19_5468.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_22_3218.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_24_1921.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_25_1699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153771","1402153783","1402153770","1402153775","1402153769","1402153766"],"photo_ids_order":["1402153766","1402153769","1402153770","1402153771","1402153775","1402153783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4870d4ed27b67e7a13e23e302d6c56fe.jpg","text":"TemporaryFile(/tmp/multipartBody2608055658418714612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357704442,"filename":"image_05112025_18_51_22_3218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f9848595aae846b581f31dbe2776df75.jpg","text":"TemporaryFile(/tmp/multipartBody3877410682266943038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357704442,"filename":"image_05112025_18_51_25_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/2/36fb11e46fdd58bc8af71f2937b8ca59.jpg","text":"TemporaryFile(/tmp/multipartBody7104802784902623661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357704442,"filename":"image_05112025_18_51_19_5468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5faa6725d24621d259cb12cef2a127a3.jpg","text":"TemporaryFile(/tmp/multipartBody4108826788802121227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357704442,"filename":"image_05112025_18_51_24_1921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d7e3a48cc446a1714e06e7069469a173.jpg","text":"TemporaryFile(/tmp/multipartBody3311774179939367382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357704442,"filename":"image_05112025_18_51_13_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/2/ebcc25be8c6e29955612e62f0fd746d1.jpg","text":"TemporaryFile(/tmp/multipartBody2450654445630632215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357704442,"filename":"image_05112025_18_51_10_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153770","file1":"1402153769","file0":"1402153766","file4":"1402153775","file5":"1402153783","file3":"1402153771"},"map_files_photo_id_array":[{"photo_id":"1402153783","filename":"file5"},{"photo_id":"1402153770","filename":"file2"},{"photo_id":"1402153775","filename":"file4"},{"photo_id":"1402153769","filename":"file1"},{"photo_id":"1402153766","filename":"file0"},{"photo_id":"1402153771","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153771":["hashtag1","hashtag2"]},{"1402153783":["hashtag1","hashtag2"]},{"1402153770":["hashtag1","hashtag2"]},{"1402153775":["hashtag1","hashtag2"]},{"1402153769":["hashtag1","hashtag2"]},{"1402153766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153771, 1402153783, 1402153770, 1402153775, 1402153769, 1402153766)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.4659538269043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:41:32.641141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_31_2531.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_34_3588.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_37_2577.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_40_2859.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_43_2775.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_46_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_31_2531.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_34_3588.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_37_2577.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_40_2859.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_43_2775.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_46_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153798","1402153792","1402153795","1402153797","1402153799","1402153790"],"photo_ids_order":["1402153790","1402153792","1402153795","1402153797","1402153798","1402153799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f5586130a02e2b7a43ae67898fd093e.jpg","text":"TemporaryFile(/tmp/multipartBody2707492219838600665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357754413,"filename":"image_05112025_18_51_43_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/2/7abd993308a434162328bef6454ef726.jpg","text":"TemporaryFile(/tmp/multipartBody5327619947993203294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357754413,"filename":"image_05112025_18_51_34_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/2/ebf41f7f678dcfe0510ade33e2f2fc6f.jpg","text":"TemporaryFile(/tmp/multipartBody4056069778313782051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357754413,"filename":"image_05112025_18_51_37_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/2/5aae480c45d70952c78bcd88ad972434.jpg","text":"TemporaryFile(/tmp/multipartBody4934682014790870416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357754413,"filename":"image_05112025_18_51_40_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/2/6099f3e4e0f320b427b99d48a4d19735.jpg","text":"TemporaryFile(/tmp/multipartBody6686370162057236156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357754413,"filename":"image_05112025_18_51_46_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/2/2cfcf139ef71abfe4456e3d8256b02c7.jpg","text":"TemporaryFile(/tmp/multipartBody4540123533534281092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357754413,"filename":"image_05112025_18_51_31_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153795","file1":"1402153792","file0":"1402153790","file4":"1402153798","file5":"1402153799","file3":"1402153797"},"map_files_photo_id_array":[{"photo_id":"1402153799","filename":"file5"},{"photo_id":"1402153795","filename":"file2"},{"photo_id":"1402153798","filename":"file4"},{"photo_id":"1402153792","filename":"file1"},{"photo_id":"1402153790","filename":"file0"},{"photo_id":"1402153797","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153798":["hashtag1","hashtag2"]},{"1402153792":["hashtag1","hashtag2"]},{"1402153795":["hashtag1","hashtag2"]},{"1402153797":["hashtag1","hashtag2"]},{"1402153799":["hashtag1","hashtag2"]},{"1402153790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153798, 1402153792, 1402153795, 1402153797, 1402153799, 1402153790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.529223918914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:42:11.868261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_49_2630.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_52_2743.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_55_3680.jpg', '/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_58_2636.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_05_7441.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_12_6138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_49_2630.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_52_2743.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_55_3680.jpg
/home/pi/Desktop/images/05112025/18/51/image_05112025_18_51_58_2636.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_05_7441.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_12_6138.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153814","1402153802","1402153804","1402153807","1402153812","1402153809"],"photo_ids_order":["1402153802","1402153804","1402153807","1402153809","1402153812","1402153814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec8a5195f1ac2b23a805885864cd87b0.jpg","text":"TemporaryFile(/tmp/multipartBody210198521313476987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357793825,"filename":"image_05112025_18_52_12_6138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb9c41152b9788cf4d06d9e15c54c308.jpg","text":"TemporaryFile(/tmp/multipartBody4018822730235786710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357793825,"filename":"image_05112025_18_51_49_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/2/7d33074e2b31413d63fae45c561e5a4a.jpg","text":"TemporaryFile(/tmp/multipartBody604420177985324444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357793825,"filename":"image_05112025_18_51_52_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/2/7b30ee2aabb8b7b648bd7e13f7076db8.jpg","text":"TemporaryFile(/tmp/multipartBody2551043946464667757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357793825,"filename":"image_05112025_18_51_55_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/2/04753e8d00b165e511a05b1b1f23737c.jpg","text":"TemporaryFile(/tmp/multipartBody5802153926010413803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357793825,"filename":"image_05112025_18_52_05_7441.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d75004d74ac11ca1a748c19c219406ad.jpg","text":"TemporaryFile(/tmp/multipartBody378727120020993979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357793825,"filename":"image_05112025_18_51_58_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153807","file1":"1402153804","file0":"1402153802","file4":"1402153812","file5":"1402153814","file3":"1402153809"},"map_files_photo_id_array":[{"photo_id":"1402153814","filename":"file5"},{"photo_id":"1402153807","filename":"file2"},{"photo_id":"1402153812","filename":"file4"},{"photo_id":"1402153804","filename":"file1"},{"photo_id":"1402153802","filename":"file0"},{"photo_id":"1402153809","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153814":["hashtag1","hashtag2"]},{"1402153802":["hashtag1","hashtag2"]},{"1402153804":["hashtag1","hashtag2"]},{"1402153807":["hashtag1","hashtag2"]},{"1402153812":["hashtag1","hashtag2"]},{"1402153809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153814, 1402153802, 1402153804, 1402153807, 1402153812, 1402153809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72378921508789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:43:02.755257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/47/image_02012026_12_47_35_9627.jpg', '/home/pi/Desktop/images/02012026/12/47/image_02012026_12_47_55_9777.jpg', '/home/pi/Desktop/images/02012026/12/47/image_02012026_12_48_05_9776.jpg', '/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_15_9625.jpg', '/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_25_10786.jpg', '/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_35_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/47/image_02012026_12_47_35_9627.jpg
/home/pi/Desktop/images/02012026/12/47/image_02012026_12_47_55_9777.jpg
/home/pi/Desktop/images/02012026/12/47/image_02012026_12_48_05_9776.jpg
/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_15_9625.jpg
/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_25_10786.jpg
/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_35_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":["1402153826","1402153835","1402153828","1402153830","1402153833","1402153838"],"photo_ids_order":["1402153826","1402153828","1402153830","1402153833","1402153835","1402153838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ad51a3feb3ce8a57fea829a40e36ae0e.jpg","text":"TemporaryFile(/tmp/multipartBody6349193853601806064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357843540,"filename":"image_02012026_12_47_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/2/c870bf931b27e0d89b5e44361320b8bd.jpg","text":"TemporaryFile(/tmp/multipartBody6917928046950989825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357843540,"filename":"image_02012026_12_48_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/2/cec8595d01476adc3716abc76bfca810.jpg","text":"TemporaryFile(/tmp/multipartBody8856042940191031377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357843540,"filename":"image_02012026_12_47_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/2/86a0257e39f173bb0e38ebb2a59dfd6e.jpg","text":"TemporaryFile(/tmp/multipartBody3090897674962332997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357843540,"filename":"image_02012026_12_48_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/2/afc32ac2bdfa79a37e65a97e69352604.jpg","text":"TemporaryFile(/tmp/multipartBody1160888447742241590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357843540,"filename":"image_02012026_12_48_15_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/2/42a137d1cdc9a406f47ba34e3a321041.jpg","text":"TemporaryFile(/tmp/multipartBody1871999305146647601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357843540,"filename":"image_02012026_12_48_35_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153830","file1":"1402153828","file0":"1402153826","file4":"1402153835","file5":"1402153838","file3":"1402153833"},"map_files_photo_id_array":[{"photo_id":"1402153838","filename":"file5"},{"photo_id":"1402153830","filename":"file2"},{"photo_id":"1402153835","filename":"file4"},{"photo_id":"1402153828","filename":"file1"},{"photo_id":"1402153826","filename":"file0"},{"photo_id":"1402153833","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153826":["hashtag1","hashtag2"]},{"1402153835":["hashtag1","hashtag2"]},{"1402153828":["hashtag1","hashtag2"]},{"1402153830":["hashtag1","hashtag2"]},{"1402153833":["hashtag1","hashtag2"]},{"1402153838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153826, 1402153835, 1402153828, 1402153830, 1402153833, 1402153838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74928331375122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:43:42.100473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_13_1774.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_15_1585.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_17_1759.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_50_33778.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_52_1812.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_54_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_13_1774.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_15_1585.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_17_1759.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_50_33778.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_52_1812.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_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":["1402153847","1402153849","1402153851","1402153845","1402153848","1402153850"],"photo_ids_order":["1402153845","1402153847","1402153848","1402153849","1402153850","1402153851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d471411284ce5dbdafacc9364a8e0345.jpg","text":"TemporaryFile(/tmp/multipartBody4813374975225573391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357883990,"filename":"image_05112025_18_52_15_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/2/6ed47c6cedf311b27ccd12f2b9f84d97.jpg","text":"TemporaryFile(/tmp/multipartBody5396554424553761929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357883990,"filename":"image_05112025_18_52_50_33778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/68d48150392b96db62bfd4ecc59a86fb.jpg","text":"TemporaryFile(/tmp/multipartBody4731303545940561369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357883990,"filename":"image_05112025_18_52_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/2/862d2956035e78c89268104613640e36.jpg","text":"TemporaryFile(/tmp/multipartBody2315585692810174277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357883990,"filename":"image_05112025_18_52_13_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/2/cf7440327bfac512f24cd34fa13e83be.jpg","text":"TemporaryFile(/tmp/multipartBody808481394153247999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357883990,"filename":"image_05112025_18_52_17_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/2/99ae2a36cc244f4da25b541b6dac1b93.jpg","text":"TemporaryFile(/tmp/multipartBody1651445812023944106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357883990,"filename":"image_05112025_18_52_52_1812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153848","file1":"1402153847","file0":"1402153845","file4":"1402153850","file5":"1402153851","file3":"1402153849"},"map_files_photo_id_array":[{"photo_id":"1402153851","filename":"file5"},{"photo_id":"1402153848","filename":"file2"},{"photo_id":"1402153850","filename":"file4"},{"photo_id":"1402153847","filename":"file1"},{"photo_id":"1402153845","filename":"file0"},{"photo_id":"1402153849","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153847":["hashtag1","hashtag2"]},{"1402153849":["hashtag1","hashtag2"]},{"1402153851":["hashtag1","hashtag2"]},{"1402153845":["hashtag1","hashtag2"]},{"1402153848":["hashtag1","hashtag2"]},{"1402153850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153847, 1402153849, 1402153851, 1402153845, 1402153848, 1402153850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.094178915023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:44:22.252365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_45_9570.jpg', '/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_55_10671.jpg', '/home/pi/Desktop/images/02012026/12/48/image_02012026_12_49_05_9720.jpg', '/home/pi/Desktop/images/02012026/12/49/image_02012026_12_49_15_9686.jpg', '/home/pi/Desktop/images/02012026/12/49/image_02012026_12_49_45_9834.jpg', '/home/pi/Desktop/images/02012026/12/49/image_02012026_12_49_55_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_45_9570.jpg
/home/pi/Desktop/images/02012026/12/48/image_02012026_12_48_55_10671.jpg
/home/pi/Desktop/images/02012026/12/48/image_02012026_12_49_05_9720.jpg
/home/pi/Desktop/images/02012026/12/49/image_02012026_12_49_15_9686.jpg
/home/pi/Desktop/images/02012026/12/49/image_02012026_12_49_45_9834.jpg
/home/pi/Desktop/images/02012026/12/49/image_02012026_12_49_55_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":["1402153855","1402153858","1402153863","1402153872","1402153868","1402153865"],"photo_ids_order":["1402153855","1402153858","1402153863","1402153865","1402153868","1402153872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb0cce49d8c34e6094d2eabb3ee39614.jpg","text":"TemporaryFile(/tmp/multipartBody5809729236134726964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357922969,"filename":"image_02012026_12_48_45_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/2/39fe03674f05599a0da472e9674e730b.jpg","text":"TemporaryFile(/tmp/multipartBody399981013605570195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357922969,"filename":"image_02012026_12_48_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/2/d0c71b4e5b1ff6ff92822005809506a0.jpg","text":"TemporaryFile(/tmp/multipartBody4489274314010789132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357922969,"filename":"image_02012026_12_49_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/2/c6429aaf23eb798ec4b8381390abcc20.jpg","text":"TemporaryFile(/tmp/multipartBody6619709241274573476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357922969,"filename":"image_02012026_12_49_55_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/2/9bf92f0fe7ad31f7328a5ce173fc34db.jpg","text":"TemporaryFile(/tmp/multipartBody5646099685892181598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357922969,"filename":"image_02012026_12_49_45_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/2/9494db883817f65a3924ccbbf37fd249.jpg","text":"TemporaryFile(/tmp/multipartBody1761852810619164285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357922969,"filename":"image_02012026_12_49_15_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153863","file1":"1402153858","file0":"1402153855","file4":"1402153868","file5":"1402153872","file3":"1402153865"},"map_files_photo_id_array":[{"photo_id":"1402153872","filename":"file5"},{"photo_id":"1402153863","filename":"file2"},{"photo_id":"1402153868","filename":"file4"},{"photo_id":"1402153858","filename":"file1"},{"photo_id":"1402153855","filename":"file0"},{"photo_id":"1402153865","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153855":["hashtag1","hashtag2"]},{"1402153858":["hashtag1","hashtag2"]},{"1402153863":["hashtag1","hashtag2"]},{"1402153872":["hashtag1","hashtag2"]},{"1402153868":["hashtag1","hashtag2"]},{"1402153865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153855, 1402153858, 1402153863, 1402153872, 1402153868, 1402153865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.403789043426514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:45:03.372638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/49/image_02012026_12_50_05_10770.jpg', '/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_15_9858.jpg', '/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_25_9863.jpg', '/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_35_9912.jpg', '/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_45_9876.jpg', '/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/49/image_02012026_12_50_05_10770.jpg
/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_15_9858.jpg
/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_25_9863.jpg
/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_35_9912.jpg
/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_45_9876.jpg
/home/pi/Desktop/images/02012026/12/50/image_02012026_12_50_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":["1402153897","1402153882","1402153873","1402153893","1402153875","1402153877"],"photo_ids_order":["1402153873","1402153875","1402153877","1402153882","1402153893","1402153897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2701c213f6e6ef06989f12f98c76e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody2259815856245238860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357964135,"filename":"image_02012026_12_50_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/2/97b06b7fb37cb37d24b3c7b0ae90a0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2842319027764856022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357964135,"filename":"image_02012026_12_50_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/2/2e3dd9fc132c8cddd9e732abccf2022a.jpg","text":"TemporaryFile(/tmp/multipartBody7295078478407357469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357964135,"filename":"image_02012026_12_50_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/2/166e88a58b0ba39c86b61094f347acf6.jpg","text":"TemporaryFile(/tmp/multipartBody7484040701209595437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357964135,"filename":"image_02012026_12_50_45_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/2/7f0ad4b4274b567f25e2b036b81b837a.jpg","text":"TemporaryFile(/tmp/multipartBody5437146486358581860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357964135,"filename":"image_02012026_12_50_15_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/2/24d6b83aad198cd7e79478aeb95f8e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3518310271933894667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767357964135,"filename":"image_02012026_12_50_25_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153877","file1":"1402153875","file0":"1402153873","file4":"1402153893","file5":"1402153897","file3":"1402153882"},"map_files_photo_id_array":[{"photo_id":"1402153897","filename":"file5"},{"photo_id":"1402153877","filename":"file2"},{"photo_id":"1402153893","filename":"file4"},{"photo_id":"1402153875","filename":"file1"},{"photo_id":"1402153873","filename":"file0"},{"photo_id":"1402153882","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153897":["hashtag1","hashtag2"]},{"1402153882":["hashtag1","hashtag2"]},{"1402153873":["hashtag1","hashtag2"]},{"1402153893":["hashtag1","hashtag2"]},{"1402153875":["hashtag1","hashtag2"]},{"1402153877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153897, 1402153882, 1402153873, 1402153893, 1402153875, 1402153877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89681339263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:45:42.552177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_56_1728.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_57_1694.jpg', '/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_59_1697.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_01_1650.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_04_1645.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_06_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_56_1728.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_57_1694.jpg
/home/pi/Desktop/images/05112025/18/52/image_05112025_18_52_59_1697.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_01_1650.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_04_1645.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_06_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":["1402153904","1402153907","1402153906","1402153908","1402153902","1402153905"],"photo_ids_order":["1402153902","1402153904","1402153905","1402153906","1402153907","1402153908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d882d0c407727983814a6cf7a3b3a73.jpg","text":"TemporaryFile(/tmp/multipartBody2971199702595258014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358004429,"filename":"image_05112025_18_52_57_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/2/1dfbb774608280a84e76541597969124.jpg","text":"TemporaryFile(/tmp/multipartBody5841932698173695128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358004429,"filename":"image_05112025_18_53_04_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/2/16913ade2d76b662a4f2abeb847140d3.jpg","text":"TemporaryFile(/tmp/multipartBody7564859904736939866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358004429,"filename":"image_05112025_18_53_01_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/2/b06a0924a2bf36887d989143242dd2d2.jpg","text":"TemporaryFile(/tmp/multipartBody2099612172239992385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358004429,"filename":"image_05112025_18_53_06_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/2/3e14300f79b01ad8ce07cdd5b5e035d0.jpg","text":"TemporaryFile(/tmp/multipartBody2316488918539876356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358004429,"filename":"image_05112025_18_52_56_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/2/ab8b0223b5620f4675481d2ca22cc144.jpg","text":"TemporaryFile(/tmp/multipartBody4854034699785005363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358004429,"filename":"image_05112025_18_52_59_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153905","file1":"1402153904","file0":"1402153902","file4":"1402153907","file5":"1402153908","file3":"1402153906"},"map_files_photo_id_array":[{"photo_id":"1402153908","filename":"file5"},{"photo_id":"1402153905","filename":"file2"},{"photo_id":"1402153907","filename":"file4"},{"photo_id":"1402153904","filename":"file1"},{"photo_id":"1402153902","filename":"file0"},{"photo_id":"1402153906","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153904":["hashtag1","hashtag2"]},{"1402153907":["hashtag1","hashtag2"]},{"1402153906":["hashtag1","hashtag2"]},{"1402153908":["hashtag1","hashtag2"]},{"1402153902":["hashtag1","hashtag2"]},{"1402153905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153904, 1402153907, 1402153906, 1402153908, 1402153902, 1402153905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06256437301636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:46:22.733223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/50/image_02012026_12_51_05_10683.jpg', '/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_15_9655.jpg', '/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_25_9710.jpg', '/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_35_9872.jpg', '/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_45_9995.jpg', '/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_55_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/50/image_02012026_12_51_05_10683.jpg
/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_15_9655.jpg
/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_25_9710.jpg
/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_35_9872.jpg
/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_45_9995.jpg
/home/pi/Desktop/images/02012026/12/51/image_02012026_12_51_55_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":["1402153934","1402153921","1402153915","1402153918","1402153932","1402153920"],"photo_ids_order":["1402153915","1402153918","1402153920","1402153921","1402153932","1402153934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/340175707ec19035179936a15157fb40.jpg","text":"TemporaryFile(/tmp/multipartBody6995409735498908403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358043446,"filename":"image_02012026_12_51_55_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/2/efcfca5158798eace3b47f3ae006c795.jpg","text":"TemporaryFile(/tmp/multipartBody4156501577743083065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358043446,"filename":"image_02012026_12_51_35_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/127d365d07da053dbd44c34c30bf9ac0.jpg","text":"TemporaryFile(/tmp/multipartBody6640023410548804841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358043446,"filename":"image_02012026_12_51_05_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/2/c813a98299310db22a155aa2a12ff77c.jpg","text":"TemporaryFile(/tmp/multipartBody6564121544396258296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358043446,"filename":"image_02012026_12_51_15_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/2/a21cc36f0f62b23a11979e05a5fd29cf.jpg","text":"TemporaryFile(/tmp/multipartBody2071693850752221097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358043446,"filename":"image_02012026_12_51_45_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/496446c1dd107c70759b966a284a7ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1096627553270414118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358043446,"filename":"image_02012026_12_51_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153920","file1":"1402153918","file0":"1402153915","file4":"1402153932","file5":"1402153934","file3":"1402153921"},"map_files_photo_id_array":[{"photo_id":"1402153934","filename":"file5"},{"photo_id":"1402153920","filename":"file2"},{"photo_id":"1402153932","filename":"file4"},{"photo_id":"1402153918","filename":"file1"},{"photo_id":"1402153915","filename":"file0"},{"photo_id":"1402153921","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153934":["hashtag1","hashtag2"]},{"1402153921":["hashtag1","hashtag2"]},{"1402153915":["hashtag1","hashtag2"]},{"1402153918":["hashtag1","hashtag2"]},{"1402153932":["hashtag1","hashtag2"]},{"1402153920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153934, 1402153921, 1402153915, 1402153918, 1402153932, 1402153920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47981023788452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:47:02.559683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/51/image_02012026_12_52_05_9618.jpg', '/home/pi/Desktop/images/02012026/12/52/image_02012026_12_52_15_9579.jpg', '/home/pi/Desktop/images/02012026/12/52/image_02012026_12_52_25_10863.jpg', '/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_15_9738.jpg', '/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_25_9767.jpg', '/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_46_10799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/51/image_02012026_12_52_05_9618.jpg
/home/pi/Desktop/images/02012026/12/52/image_02012026_12_52_15_9579.jpg
/home/pi/Desktop/images/02012026/12/52/image_02012026_12_52_25_10863.jpg
/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_15_9738.jpg
/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_25_9767.jpg
/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_46_10799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153952","1402153954","1402153956","1402153955","1402153940","1402153958"],"photo_ids_order":["1402153940","1402153952","1402153954","1402153955","1402153956","1402153958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/609d761fd99408eb50b0c4f92a17e365.jpg","text":"TemporaryFile(/tmp/multipartBody7446757452280480884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358083344,"filename":"image_02012026_12_52_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/2/8e258b45e8a065888ee8b59ec44dce80.jpg","text":"TemporaryFile(/tmp/multipartBody7969285656687385855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358083344,"filename":"image_02012026_12_52_25_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f6c58959cdd0de4f48fddfc52f35fddd.jpg","text":"TemporaryFile(/tmp/multipartBody6309235599890108494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358083344,"filename":"image_02012026_12_53_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/2/bb35d5e3735994d7630c7abc2bcb7301.jpg","text":"TemporaryFile(/tmp/multipartBody5653466432263199069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358083344,"filename":"image_02012026_12_53_15_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/2/21df83ffc7b7f6efdccdaedb8a72bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody4918304495961551322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358083344,"filename":"image_02012026_12_52_05_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/2/efcbeaec05284f7e25f465994164df6f.jpg","text":"TemporaryFile(/tmp/multipartBody2986858925282900713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358083344,"filename":"image_02012026_12_53_46_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153954","file1":"1402153952","file0":"1402153940","file4":"1402153956","file5":"1402153958","file3":"1402153955"},"map_files_photo_id_array":[{"photo_id":"1402153958","filename":"file5"},{"photo_id":"1402153954","filename":"file2"},{"photo_id":"1402153956","filename":"file4"},{"photo_id":"1402153952","filename":"file1"},{"photo_id":"1402153940","filename":"file0"},{"photo_id":"1402153955","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153952":["hashtag1","hashtag2"]},{"1402153954":["hashtag1","hashtag2"]},{"1402153956":["hashtag1","hashtag2"]},{"1402153955":["hashtag1","hashtag2"]},{"1402153940":["hashtag1","hashtag2"]},{"1402153958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153952, 1402153954, 1402153956, 1402153955, 1402153940, 1402153958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.166953802108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:47:41.936845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_07_1533.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_09_1596.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_12_1759.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_14_1874.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_16_1619.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_18_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_07_1533.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_09_1596.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_12_1759.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_14_1874.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_16_1619.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_18_1753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153969","1402153971","1402153965","1402153968","1402153967","1402153970"],"photo_ids_order":["1402153965","1402153967","1402153968","1402153969","1402153970","1402153971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6e008e4fe34189f672afac6d4f41d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4601605354051626920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358123838,"filename":"image_05112025_18_53_14_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/50cc837362272d64aa1d1f10de009f4d.jpg","text":"TemporaryFile(/tmp/multipartBody745994347097994567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358123838,"filename":"image_05112025_18_53_18_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/2/dbe435e483feaecd819054a71348716d.jpg","text":"TemporaryFile(/tmp/multipartBody3060602030208337640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358123838,"filename":"image_05112025_18_53_07_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/2/e4a16634fc55ea3b9b3949a285048137.jpg","text":"TemporaryFile(/tmp/multipartBody6043192780606015091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358123838,"filename":"image_05112025_18_53_12_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/2/b42a1336e5639081d9f94d03b9e84f1a.jpg","text":"TemporaryFile(/tmp/multipartBody2436188284968974364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358123838,"filename":"image_05112025_18_53_09_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/2/5cb3f231acc1772646c732030ab40b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7536315601501574965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358123838,"filename":"image_05112025_18_53_16_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153968","file1":"1402153967","file0":"1402153965","file4":"1402153970","file5":"1402153971","file3":"1402153969"},"map_files_photo_id_array":[{"photo_id":"1402153971","filename":"file5"},{"photo_id":"1402153968","filename":"file2"},{"photo_id":"1402153970","filename":"file4"},{"photo_id":"1402153967","filename":"file1"},{"photo_id":"1402153965","filename":"file0"},{"photo_id":"1402153969","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402153969":["hashtag1","hashtag2"]},{"1402153971":["hashtag1","hashtag2"]},{"1402153965":["hashtag1","hashtag2"]},{"1402153968":["hashtag1","hashtag2"]},{"1402153967":["hashtag1","hashtag2"]},{"1402153970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402153969, 1402153971, 1402153965, 1402153968, 1402153967, 1402153970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51798677444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:48:22.165747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_55_9835.jpg', '/home/pi/Desktop/images/02012026/12/53/image_02012026_12_54_05_9742.jpg', '/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_15_9793.jpg', '/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_25_9857.jpg', '/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_35_10595.jpg', '/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_45_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/53/image_02012026_12_53_55_9835.jpg
/home/pi/Desktop/images/02012026/12/53/image_02012026_12_54_05_9742.jpg
/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_15_9793.jpg
/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_25_9857.jpg
/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_35_10595.jpg
/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_45_9862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402153996","1402153993","1402153983","1402153979","1402153982","1402153976"],"photo_ids_order":["1402153976","1402153979","1402153982","1402153983","1402153993","1402153996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/078541cd8de6f8bebc833b66dca46785.jpg","text":"TemporaryFile(/tmp/multipartBody2584190940393896828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358162882,"filename":"image_02012026_12_54_45_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/2/283c253555471e3e9344fe539f525f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3915120732723403118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358162882,"filename":"image_02012026_12_54_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/2/4dfdfafd5966c17efcbb9e5474db272e.jpg","text":"TemporaryFile(/tmp/multipartBody8364951720505154219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358162882,"filename":"image_02012026_12_54_25_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/2/a17435297c7f3676b48e4df8c0d50b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7377449584483127008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358162882,"filename":"image_02012026_12_54_05_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/2/3e45dbeef0a58d546b10f8194931005b.jpg","text":"TemporaryFile(/tmp/multipartBody957461668712190363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358162882,"filename":"image_02012026_12_54_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/2/dc6b905fbc8cf33df2a3bc893094c41f.jpg","text":"TemporaryFile(/tmp/multipartBody5011966491760818871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358162882,"filename":"image_02012026_12_53_55_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402153982","file1":"1402153979","file0":"1402153976","file4":"1402153993","file5":"1402153996","file3":"1402153983"},"map_files_photo_id_array":[{"photo_id":"1402153996","filename":"file5"},{"photo_id":"1402153982","filename":"file2"},{"photo_id":"1402153993","filename":"file4"},{"photo_id":"1402153979","filename":"file1"},{"photo_id":"1402153976","filename":"file0"},{"photo_id":"1402153983","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402153996":["hashtag1","hashtag2"]},{"1402153993":["hashtag1","hashtag2"]},{"1402153983":["hashtag1","hashtag2"]},{"1402153979":["hashtag1","hashtag2"]},{"1402153982":["hashtag1","hashtag2"]},{"1402153976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402153996, 1402153993, 1402153983, 1402153979, 1402153982, 1402153976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.961336612701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:49:03.176293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_55_9763.jpg', '/home/pi/Desktop/images/02012026/12/54/image_02012026_12_55_05_9808.jpg', '/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_16_11428.jpg', '/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_25_8719.jpg', '/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_35_9811.jpg', '/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_45_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/54/image_02012026_12_54_55_9763.jpg
/home/pi/Desktop/images/02012026/12/54/image_02012026_12_55_05_9808.jpg
/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_16_11428.jpg
/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_25_8719.jpg
/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_35_9811.jpg
/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_45_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":["1402154015","1402154020","1402154023","1402154025","1402154018","1402154006"],"photo_ids_order":["1402154006","1402154015","1402154018","1402154020","1402154023","1402154025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9906b0b0a81673229864a2db274c40c7.jpg","text":"TemporaryFile(/tmp/multipartBody5111275064063988370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358204154,"filename":"image_02012026_12_55_05_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/250c7a587369d564deae0454b48a28ef.jpg","text":"TemporaryFile(/tmp/multipartBody1763803404810686025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358204154,"filename":"image_02012026_12_55_25_8719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/899027009a03f2758645984bca37488d.jpg","text":"TemporaryFile(/tmp/multipartBody2263219523197233983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358204154,"filename":"image_02012026_12_55_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/2/2c49a6615f88394e6b9774b4b62ff922.jpg","text":"TemporaryFile(/tmp/multipartBody5874625667228450304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358204154,"filename":"image_02012026_12_55_45_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/2/be091280be714014cb27539e207db252.jpg","text":"TemporaryFile(/tmp/multipartBody471075532903403585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358204154,"filename":"image_02012026_12_55_16_11428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82f5046a4856804d738978ab25ddce25.jpg","text":"TemporaryFile(/tmp/multipartBody7409143271063323478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358204154,"filename":"image_02012026_12_54_55_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154018","file1":"1402154015","file0":"1402154006","file4":"1402154023","file5":"1402154025","file3":"1402154020"},"map_files_photo_id_array":[{"photo_id":"1402154025","filename":"file5"},{"photo_id":"1402154018","filename":"file2"},{"photo_id":"1402154023","filename":"file4"},{"photo_id":"1402154015","filename":"file1"},{"photo_id":"1402154006","filename":"file0"},{"photo_id":"1402154020","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154015":["hashtag1","hashtag2"]},{"1402154020":["hashtag1","hashtag2"]},{"1402154023":["hashtag1","hashtag2"]},{"1402154025":["hashtag1","hashtag2"]},{"1402154018":["hashtag1","hashtag2"]},{"1402154006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154015, 1402154020, 1402154023, 1402154025, 1402154018, 1402154006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77380847930908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:49:42.116797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_19_1809.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_21_1544.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_24_1826.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_34_9981.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_36_1991.jpg', '/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_38_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_19_1809.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_21_1544.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_24_1826.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_34_9981.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_36_1991.jpg
/home/pi/Desktop/images/05112025/18/53/image_05112025_18_53_38_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":["1402154032","1402154035","1402154034","1402154036","1402154030","1402154033"],"photo_ids_order":["1402154030","1402154032","1402154033","1402154034","1402154035","1402154036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b1c6aceae577f28071f37d3acfd7a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1569229974396965836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358243913,"filename":"image_05112025_18_53_21_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/2/0eb49960e0696e4a97a2d584de6c6a08.jpg","text":"TemporaryFile(/tmp/multipartBody4916682149017148348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358243913,"filename":"image_05112025_18_53_36_1991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6492980a1ca26f951122c568fb31db96.jpg","text":"TemporaryFile(/tmp/multipartBody944755459403514934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358243913,"filename":"image_05112025_18_53_34_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/deceadefd8e9dd2e2c22f6e5aee8b98b.jpg","text":"TemporaryFile(/tmp/multipartBody8782629044968026346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358243913,"filename":"image_05112025_18_53_38_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/2/df9a592814368171dd6f1e1e21b251ac.jpg","text":"TemporaryFile(/tmp/multipartBody6662296203880849252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358243913,"filename":"image_05112025_18_53_19_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/2/5c3572102570479277afea8b99ca3e29.jpg","text":"TemporaryFile(/tmp/multipartBody2750884159867891642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358243913,"filename":"image_05112025_18_53_24_1826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154033","file1":"1402154032","file0":"1402154030","file4":"1402154035","file5":"1402154036","file3":"1402154034"},"map_files_photo_id_array":[{"photo_id":"1402154036","filename":"file5"},{"photo_id":"1402154033","filename":"file2"},{"photo_id":"1402154035","filename":"file4"},{"photo_id":"1402154032","filename":"file1"},{"photo_id":"1402154030","filename":"file0"},{"photo_id":"1402154034","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402154032":["hashtag1","hashtag2"]},{"1402154035":["hashtag1","hashtag2"]},{"1402154034":["hashtag1","hashtag2"]},{"1402154036":["hashtag1","hashtag2"]},{"1402154030":["hashtag1","hashtag2"]},{"1402154033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402154032, 1402154035, 1402154034, 1402154036, 1402154030, 1402154033)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.364073753356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:50:32.400048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_07_3015.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_15_8030.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_26_9829.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_30_3015.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_31_1898.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_33_1731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_07_3015.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_15_8030.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_26_9829.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_30_3015.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_31_1898.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_33_1731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8301939964294434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:50:42.479450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_07_3015.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_15_8030.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_26_9829.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_30_3015.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_31_1898.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_33_1731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_07_3015.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_15_8030.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_26_9829.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_30_3015.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_31_1898.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_33_1731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154061","1402154067","1402154072","1402154075","1402154063","1402154057"],"photo_ids_order":["1402154057","1402154061","1402154063","1402154067","1402154072","1402154075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ae6ea524dd0bdfcea966bcdcd10a814.jpg","text":"TemporaryFile(/tmp/multipartBody9057935160131539000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358304251,"filename":"image_05112025_18_56_15_8030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7825a34b19fb84a95b254431e9d0d0a3.jpg","text":"TemporaryFile(/tmp/multipartBody7946029162462532039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358304251,"filename":"image_05112025_18_56_30_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/2/f2ae85fe8b6ad1dd29e5f16ba92d7083.jpg","text":"TemporaryFile(/tmp/multipartBody4533072284485486739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358304251,"filename":"image_05112025_18_56_31_1898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/89d83b47e73e7b3462663b606075d013.jpg","text":"TemporaryFile(/tmp/multipartBody6367201628717669387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358304251,"filename":"image_05112025_18_56_33_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/2/b12289b30aba0b5517b584b6cdc97ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8461321794575970527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358304251,"filename":"image_05112025_18_56_26_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/2/54dfd9df2a80e667363ace79fbaaf0a6.jpg","text":"TemporaryFile(/tmp/multipartBody4157352199666978210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358304251,"filename":"image_05112025_18_56_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154063","file1":"1402154061","file0":"1402154057","file4":"1402154072","file5":"1402154075","file3":"1402154067"},"map_files_photo_id_array":[{"photo_id":"1402154075","filename":"file5"},{"photo_id":"1402154063","filename":"file2"},{"photo_id":"1402154072","filename":"file4"},{"photo_id":"1402154061","filename":"file1"},{"photo_id":"1402154057","filename":"file0"},{"photo_id":"1402154067","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402154061":["hashtag1","hashtag2"]},{"1402154067":["hashtag1","hashtag2"]},{"1402154072":["hashtag1","hashtag2"]},{"1402154075":["hashtag1","hashtag2"]},{"1402154063":["hashtag1","hashtag2"]},{"1402154057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402154061, 1402154067, 1402154072, 1402154075, 1402154063, 1402154057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.044150590896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:51:22.687176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_55_9857.jpg', '/home/pi/Desktop/images/02012026/12/55/image_02012026_12_56_05_9837.jpg', '/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_15_9780.jpg', '/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_25_9760.jpg', '/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_35_10838.jpg', '/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_45_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/55/image_02012026_12_55_55_9857.jpg
/home/pi/Desktop/images/02012026/12/55/image_02012026_12_56_05_9837.jpg
/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_15_9780.jpg
/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_25_9760.jpg
/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_35_10838.jpg
/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_45_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154092","1402154086","1402154088","1402154082","1402154090","1402154084"],"photo_ids_order":["1402154082","1402154084","1402154086","1402154088","1402154090","1402154092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4935178b6ad36215f2f4917e79d6be4.jpg","text":"TemporaryFile(/tmp/multipartBody3241821995248262453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358343406,"filename":"image_02012026_12_56_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/2/09e5219b0138374f7ffab0a364f418c5.jpg","text":"TemporaryFile(/tmp/multipartBody8353358972717252627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358343406,"filename":"image_02012026_12_56_15_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/2/7c3f9600874515caa93835d6c1facfb0.jpg","text":"TemporaryFile(/tmp/multipartBody8057534352645427929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358343406,"filename":"image_02012026_12_56_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/2/8b4aaccaa4fdd52b9439c2747eaab853.jpg","text":"TemporaryFile(/tmp/multipartBody1773493080462340548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358343406,"filename":"image_02012026_12_55_55_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/2/46af6a309847868c6b2541b1854fa947.jpg","text":"TemporaryFile(/tmp/multipartBody4257341552154246990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358343406,"filename":"image_02012026_12_56_35_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/2/e8c5a1bbbe426e92dead5699d9477f70.jpg","text":"TemporaryFile(/tmp/multipartBody430538712491240448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358343406,"filename":"image_02012026_12_56_05_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154086","file1":"1402154084","file0":"1402154082","file4":"1402154090","file5":"1402154092","file3":"1402154088"},"map_files_photo_id_array":[{"photo_id":"1402154092","filename":"file5"},{"photo_id":"1402154086","filename":"file2"},{"photo_id":"1402154090","filename":"file4"},{"photo_id":"1402154084","filename":"file1"},{"photo_id":"1402154082","filename":"file0"},{"photo_id":"1402154088","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154092":["hashtag1","hashtag2"]},{"1402154086":["hashtag1","hashtag2"]},{"1402154088":["hashtag1","hashtag2"]},{"1402154082":["hashtag1","hashtag2"]},{"1402154090":["hashtag1","hashtag2"]},{"1402154084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154092, 1402154086, 1402154088, 1402154082, 1402154090, 1402154084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12501549720764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:52:14.302373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_39_6256.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_41_1600.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_44_1685.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_46_1800.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_48_1740.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_49_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_39_6256.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_41_1600.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_44_1685.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_46_1800.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_48_1740.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_49_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154101","1402154110","1402154104","1402154097","1402154112","1402154106"],"photo_ids_order":["1402154097","1402154101","1402154104","1402154106","1402154110","1402154112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0254a9df8db94f1fc1499e941021e98a.jpg","text":"TemporaryFile(/tmp/multipartBody6269903309488743140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358399091,"filename":"image_05112025_18_56_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/2/da48be2d9e5305b6c1ca4c4064f6e4b0.jpg","text":"TemporaryFile(/tmp/multipartBody8913053159049788414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358399091,"filename":"image_05112025_18_56_48_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/2/2e274a3d15bf70c2f3d99189aa2ef8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5386140209862197403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358399091,"filename":"image_05112025_18_56_44_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/2/ee7a4c98ddda82beed275f89a8245beb.jpg","text":"TemporaryFile(/tmp/multipartBody7684607506842788747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358399091,"filename":"image_05112025_18_56_39_6256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d99740843e636e00035a010414f48943.jpg","text":"TemporaryFile(/tmp/multipartBody5474026574269386762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358399091,"filename":"image_05112025_18_56_49_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/2/15251e72a6c04f1aa381e92d36eddb73.jpg","text":"TemporaryFile(/tmp/multipartBody6843383109641846246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358399091,"filename":"image_05112025_18_56_46_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154104","file1":"1402154101","file0":"1402154097","file4":"1402154110","file5":"1402154112","file3":"1402154106"},"map_files_photo_id_array":[{"photo_id":"1402154112","filename":"file5"},{"photo_id":"1402154104","filename":"file2"},{"photo_id":"1402154110","filename":"file4"},{"photo_id":"1402154101","filename":"file1"},{"photo_id":"1402154097","filename":"file0"},{"photo_id":"1402154106","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402154101":["hashtag1","hashtag2"]},{"1402154110":["hashtag1","hashtag2"]},{"1402154104":["hashtag1","hashtag2"]},{"1402154097":["hashtag1","hashtag2"]},{"1402154112":["hashtag1","hashtag2"]},{"1402154106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402154101, 1402154110, 1402154104, 1402154097, 1402154112, 1402154106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47970628738403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:53:02.928710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_55_9881.jpg', '/home/pi/Desktop/images/02012026/12/56/image_02012026_12_57_05_9826.jpg', '/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_15_9761.jpg', '/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_25_9809.jpg', '/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_35_10778.jpg', '/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_45_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/56/image_02012026_12_56_55_9881.jpg
/home/pi/Desktop/images/02012026/12/56/image_02012026_12_57_05_9826.jpg
/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_15_9761.jpg
/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_25_9809.jpg
/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_35_10778.jpg
/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_45_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154125","1402154122","1402154116","1402154118","1402154120","1402154126"],"photo_ids_order":["1402154116","1402154118","1402154120","1402154122","1402154125","1402154126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37158e4b9a21f558e4b19c04c8512687.jpg","text":"TemporaryFile(/tmp/multipartBody6259253132188884794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358443717,"filename":"image_02012026_12_57_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/2/eb859a2168c8d8757fe831095035290e.jpg","text":"TemporaryFile(/tmp/multipartBody3483884721115910062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358443717,"filename":"image_02012026_12_57_25_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/2/89b561afa110f0988d411c2ed617e308.jpg","text":"TemporaryFile(/tmp/multipartBody4581754048570376083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358443717,"filename":"image_02012026_12_56_55_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/2/3122241f99a5bbb143b27d2d7442887c.jpg","text":"TemporaryFile(/tmp/multipartBody697956305574978765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358443717,"filename":"image_02012026_12_57_05_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/2/aab91ccc8bd36ab9cf288e5b99f3200c.jpg","text":"TemporaryFile(/tmp/multipartBody8234971064422091861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358443717,"filename":"image_02012026_12_57_15_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/2/df519d7cd8273845cc862aafd24f0c94.jpg","text":"TemporaryFile(/tmp/multipartBody4925313271647868742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358443717,"filename":"image_02012026_12_57_45_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154120","file1":"1402154118","file0":"1402154116","file4":"1402154125","file5":"1402154126","file3":"1402154122"},"map_files_photo_id_array":[{"photo_id":"1402154126","filename":"file5"},{"photo_id":"1402154120","filename":"file2"},{"photo_id":"1402154125","filename":"file4"},{"photo_id":"1402154118","filename":"file1"},{"photo_id":"1402154116","filename":"file0"},{"photo_id":"1402154122","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154125":["hashtag1","hashtag2"]},{"1402154122":["hashtag1","hashtag2"]},{"1402154116":["hashtag1","hashtag2"]},{"1402154118":["hashtag1","hashtag2"]},{"1402154120":["hashtag1","hashtag2"]},{"1402154126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154125, 1402154122, 1402154116, 1402154118, 1402154120, 1402154126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66779637336731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:53:42.125030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_56_2728.jpg', '/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_58_2674.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_01_2663.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_05_3691.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_14_3602.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_16_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_56_2728.jpg
/home/pi/Desktop/images/05112025/18/56/image_05112025_18_56_58_2674.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_01_2663.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_05_3691.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_14_3602.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_16_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":["1402154140","1402154134","1402154137","1402154136","1402154139","1402154138"],"photo_ids_order":["1402154134","1402154136","1402154137","1402154138","1402154139","1402154140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e5aa683f65c2d36fbc28294e1ce5ae85.jpg","text":"TemporaryFile(/tmp/multipartBody8384642229771673514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358484037,"filename":"image_05112025_18_57_16_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/2/1e46aab1da0696a96360b42b8820993b.jpg","text":"TemporaryFile(/tmp/multipartBody5751092921748149277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358484037,"filename":"image_05112025_18_56_56_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/2/4320d68789a4cd05e6edadc41d76521d.jpg","text":"TemporaryFile(/tmp/multipartBody4633039288295170320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358484037,"filename":"image_05112025_18_57_01_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/2/f62160f196feb6e1201bcc841a308870.jpg","text":"TemporaryFile(/tmp/multipartBody1642880064986167640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358484037,"filename":"image_05112025_18_56_58_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/2/87c6cf744512c4a3e8633d70e2ae50c2.jpg","text":"TemporaryFile(/tmp/multipartBody6242040504627395451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358484037,"filename":"image_05112025_18_57_14_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/2/061a7de27bf4f80f79d9fed57a8de740.jpg","text":"TemporaryFile(/tmp/multipartBody98632175810916656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358484037,"filename":"image_05112025_18_57_05_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154137","file1":"1402154136","file0":"1402154134","file4":"1402154139","file5":"1402154140","file3":"1402154138"},"map_files_photo_id_array":[{"photo_id":"1402154140","filename":"file5"},{"photo_id":"1402154137","filename":"file2"},{"photo_id":"1402154139","filename":"file4"},{"photo_id":"1402154136","filename":"file1"},{"photo_id":"1402154134","filename":"file0"},{"photo_id":"1402154138","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402154140":["hashtag1","hashtag2"]},{"1402154134":["hashtag1","hashtag2"]},{"1402154137":["hashtag1","hashtag2"]},{"1402154136":["hashtag1","hashtag2"]},{"1402154139":["hashtag1","hashtag2"]},{"1402154138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402154140, 1402154134, 1402154137, 1402154136, 1402154139, 1402154138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8607976436615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:54:22.328730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_55_9806.jpg', '/home/pi/Desktop/images/02012026/12/57/image_02012026_12_58_05_9673.jpg', '/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_15_10733.jpg', '/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_25_9796.jpg', '/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_35_9649.jpg', '/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_45_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/57/image_02012026_12_57_55_9806.jpg
/home/pi/Desktop/images/02012026/12/57/image_02012026_12_58_05_9673.jpg
/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_15_10733.jpg
/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_25_9796.jpg
/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_35_9649.jpg
/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_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":["1402154155","1402154149","1402154163","1402154166","1402154151","1402154147"],"photo_ids_order":["1402154147","1402154149","1402154151","1402154155","1402154163","1402154166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d37646613fc2e7fdea4c0f8567654528.jpg","text":"TemporaryFile(/tmp/multipartBody5755137597159456834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358523097,"filename":"image_02012026_12_58_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/2/ea71912c962382fb1dc2da4a0af6ee50.jpg","text":"TemporaryFile(/tmp/multipartBody3954188397062974028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358523097,"filename":"image_02012026_12_58_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/2/1566a344f7165ec011386f18ac67fa02.jpg","text":"TemporaryFile(/tmp/multipartBody609216545308765963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358523097,"filename":"image_02012026_12_58_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/2/bfdabfec49e6055d36aa8d013b08801e.jpg","text":"TemporaryFile(/tmp/multipartBody2439330278485524068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358523097,"filename":"image_02012026_12_58_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/2/26e258b4d809c995521cfa58b7d9054c.jpg","text":"TemporaryFile(/tmp/multipartBody3817943234776225883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358523097,"filename":"image_02012026_12_58_15_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/2/d5294ed1355f701d6726b2d833a5066f.jpg","text":"TemporaryFile(/tmp/multipartBody3695179328623730730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358523097,"filename":"image_02012026_12_57_55_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154151","file1":"1402154149","file0":"1402154147","file4":"1402154163","file5":"1402154166","file3":"1402154155"},"map_files_photo_id_array":[{"photo_id":"1402154166","filename":"file5"},{"photo_id":"1402154151","filename":"file2"},{"photo_id":"1402154163","filename":"file4"},{"photo_id":"1402154149","filename":"file1"},{"photo_id":"1402154147","filename":"file0"},{"photo_id":"1402154155","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154155":["hashtag1","hashtag2"]},{"1402154149":["hashtag1","hashtag2"]},{"1402154163":["hashtag1","hashtag2"]},{"1402154166":["hashtag1","hashtag2"]},{"1402154151":["hashtag1","hashtag2"]},{"1402154147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154155, 1402154149, 1402154163, 1402154166, 1402154151, 1402154147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.742130517959595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:55:03.139640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_55_9756.jpg', '/home/pi/Desktop/images/02012026/12/58/image_02012026_12_59_05_9622.jpg', '/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_15_9789.jpg', '/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_25_10717.jpg', '/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_35_9766.jpg', '/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_45_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/58/image_02012026_12_58_55_9756.jpg
/home/pi/Desktop/images/02012026/12/58/image_02012026_12_59_05_9622.jpg
/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_15_9789.jpg
/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_25_10717.jpg
/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_35_9766.jpg
/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_45_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":["1402154179","1402154170","1402154172","1402154175","1402154177","1402154168"],"photo_ids_order":["1402154168","1402154170","1402154172","1402154175","1402154177","1402154179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a40a2af302a185e02a360048ea89caa8.jpg","text":"TemporaryFile(/tmp/multipartBody4467079187005370935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358563951,"filename":"image_02012026_12_59_45_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/2/3540bc30508a94f3b08b27e925f2bf0f.jpg","text":"TemporaryFile(/tmp/multipartBody8245928512738953673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358563951,"filename":"image_02012026_12_59_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/2/72aff0f29180c8243c10188243be89e0.jpg","text":"TemporaryFile(/tmp/multipartBody8272630319817217226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358563951,"filename":"image_02012026_12_59_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/2/0aea749c2951818b947793b6afc27ed3.jpg","text":"TemporaryFile(/tmp/multipartBody7112352453233418894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358563951,"filename":"image_02012026_12_59_25_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/2/61938038a2326beaa3d5963fddd9485f.jpg","text":"TemporaryFile(/tmp/multipartBody4754397444967705968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358563951,"filename":"image_02012026_12_59_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/2/03d1eef541d73d7cfecc0a935c407926.jpg","text":"TemporaryFile(/tmp/multipartBody5257481467017691283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358563951,"filename":"image_02012026_12_58_55_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154172","file1":"1402154170","file0":"1402154168","file4":"1402154177","file5":"1402154179","file3":"1402154175"},"map_files_photo_id_array":[{"photo_id":"1402154179","filename":"file5"},{"photo_id":"1402154172","filename":"file2"},{"photo_id":"1402154177","filename":"file4"},{"photo_id":"1402154170","filename":"file1"},{"photo_id":"1402154168","filename":"file0"},{"photo_id":"1402154175","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154179":["hashtag1","hashtag2"]},{"1402154170":["hashtag1","hashtag2"]},{"1402154172":["hashtag1","hashtag2"]},{"1402154175":["hashtag1","hashtag2"]},{"1402154177":["hashtag1","hashtag2"]},{"1402154168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154179, 1402154170, 1402154172, 1402154175, 1402154177, 1402154168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.198716163635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:55:42.488857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_19_2527.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_23_3697.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_25_2648.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_28_2662.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_31_3647.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_34_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_19_2527.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_23_3697.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_25_2648.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_28_2662.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_31_3647.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_34_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154191","1402154185","1402154190","1402154187","1402154189","1402154188"],"photo_ids_order":["1402154185","1402154187","1402154188","1402154189","1402154190","1402154191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e7d3accff2a8fc986d6ecaf598079423.jpg","text":"TemporaryFile(/tmp/multipartBody1328955772187161500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358604382,"filename":"image_05112025_18_57_34_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/2/dcbf5a29485e5e667b382cf134d7f371.jpg","text":"TemporaryFile(/tmp/multipartBody6075094345568407938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358604382,"filename":"image_05112025_18_57_19_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bdbbc8fad2573881eb522ddd498c49f9.jpg","text":"TemporaryFile(/tmp/multipartBody7546590408141344633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358604382,"filename":"image_05112025_18_57_31_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/2/e358506e83e186a318e0bebb0c87b03c.jpg","text":"TemporaryFile(/tmp/multipartBody534660416579271720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358604382,"filename":"image_05112025_18_57_23_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/2/19ac64564185a9c1cb76726d96009420.jpg","text":"TemporaryFile(/tmp/multipartBody6292280479430316393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358604382,"filename":"image_05112025_18_57_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/2/fbeff9b84b5c8f141c0dfd524feb0c58.jpg","text":"TemporaryFile(/tmp/multipartBody8749217457600987412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358604382,"filename":"image_05112025_18_57_25_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154188","file1":"1402154187","file0":"1402154185","file4":"1402154190","file5":"1402154191","file3":"1402154189"},"map_files_photo_id_array":[{"photo_id":"1402154191","filename":"file5"},{"photo_id":"1402154188","filename":"file2"},{"photo_id":"1402154190","filename":"file4"},{"photo_id":"1402154187","filename":"file1"},{"photo_id":"1402154185","filename":"file0"},{"photo_id":"1402154189","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402154191":["hashtag1","hashtag2"]},{"1402154185":["hashtag1","hashtag2"]},{"1402154190":["hashtag1","hashtag2"]},{"1402154187":["hashtag1","hashtag2"]},{"1402154189":["hashtag1","hashtag2"]},{"1402154188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402154191, 1402154185, 1402154190, 1402154187, 1402154189, 1402154188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55684447288513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 13:56:22.698575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_56_10754.jpg', '/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_13_10041.jpg', '/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_24_10715.jpg', '/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_34_9824.jpg', '/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_44_9853.jpg', '/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_54_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/12/59/image_02012026_12_59_56_10754.jpg
/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_13_10041.jpg
/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_24_10715.jpg
/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_34_9824.jpg
/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_44_9853.jpg
/home/pi/Desktop/images/02012026/13/01/image_02012026_13_01_54_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154207","1402154200","1402154196","1402154198","1402154216","1402154194"],"photo_ids_order":["1402154194","1402154196","1402154198","1402154200","1402154207","1402154216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eddf695664ddbe369af2546de84e842b.jpg","text":"TemporaryFile(/tmp/multipartBody638847529840912134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358643417,"filename":"image_02012026_13_01_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/2/cc986468c3b1b7cdb18f59b7054bc2f9.jpg","text":"TemporaryFile(/tmp/multipartBody1077371396852948275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358643417,"filename":"image_02012026_13_01_34_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/2/6419a0d7451062b90a0707c3d2a28068.jpg","text":"TemporaryFile(/tmp/multipartBody2105058348965165129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358643417,"filename":"image_02012026_13_01_13_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a450c60907dd1650a86628839d96a423.jpg","text":"TemporaryFile(/tmp/multipartBody1531827607725879150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358643417,"filename":"image_02012026_13_01_24_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/2/6fb3798899fdb15a864200b09b5bbe66.jpg","text":"TemporaryFile(/tmp/multipartBody6034845393719807208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358643417,"filename":"image_02012026_13_01_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/2/aec30a87a7a4f78806a248e59ed0fac2.jpg","text":"TemporaryFile(/tmp/multipartBody8819909261120547549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358643417,"filename":"image_02012026_12_59_56_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154198","file1":"1402154196","file0":"1402154194","file4":"1402154207","file5":"1402154216","file3":"1402154200"},"map_files_photo_id_array":[{"photo_id":"1402154216","filename":"file5"},{"photo_id":"1402154198","filename":"file2"},{"photo_id":"1402154207","filename":"file4"},{"photo_id":"1402154196","filename":"file1"},{"photo_id":"1402154194","filename":"file0"},{"photo_id":"1402154200","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154207":["hashtag1","hashtag2"]},{"1402154200":["hashtag1","hashtag2"]},{"1402154196":["hashtag1","hashtag2"]},{"1402154198":["hashtag1","hashtag2"]},{"1402154216":["hashtag1","hashtag2"]},{"1402154194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154207, 1402154200, 1402154196, 1402154198, 1402154216, 1402154194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63121223449707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:57:03.487547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/01/image_02012026_13_02_04_10729.jpg', '/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_14_9893.jpg', '/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_24_9709.jpg', '/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_34_9719.jpg', '/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_44_9946.jpg', '/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_54_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/01/image_02012026_13_02_04_10729.jpg
/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_14_9893.jpg
/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_24_9709.jpg
/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_34_9719.jpg
/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_44_9946.jpg
/home/pi/Desktop/images/02012026/13/02/image_02012026_13_02_54_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154221","1402154218","1402154223","1402154226","1402154220","1402154228"],"photo_ids_order":["1402154218","1402154220","1402154221","1402154223","1402154226","1402154228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ddecf93edbc3fbb07aff05f9880ee19.jpg","text":"TemporaryFile(/tmp/multipartBody7043418390784511751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358684319,"filename":"image_02012026_13_02_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/2/cda2079903cd274e576c5c1d7812fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody3758880474638899013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358684319,"filename":"image_02012026_13_02_04_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/2/40de01c1860c066bd308aed32d2857b2.jpg","text":"TemporaryFile(/tmp/multipartBody6100360937304385536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358684319,"filename":"image_02012026_13_02_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/2/2266d4be4214182f39eec9bfa6fff561.jpg","text":"TemporaryFile(/tmp/multipartBody5241579033169188934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358684319,"filename":"image_02012026_13_02_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/2/017085a1d1e8313a9f865d608da23781.jpg","text":"TemporaryFile(/tmp/multipartBody5763645748611565091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358684319,"filename":"image_02012026_13_02_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/2/f5412f58bc7f4c79a82af965b2bc5bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3606585366946499390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358684319,"filename":"image_02012026_13_02_54_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154221","file1":"1402154220","file0":"1402154218","file4":"1402154226","file5":"1402154228","file3":"1402154223"},"map_files_photo_id_array":[{"photo_id":"1402154228","filename":"file5"},{"photo_id":"1402154221","filename":"file2"},{"photo_id":"1402154226","filename":"file4"},{"photo_id":"1402154220","filename":"file1"},{"photo_id":"1402154218","filename":"file0"},{"photo_id":"1402154223","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154221":["hashtag1","hashtag2"]},{"1402154218":["hashtag1","hashtag2"]},{"1402154223":["hashtag1","hashtag2"]},{"1402154226":["hashtag1","hashtag2"]},{"1402154220":["hashtag1","hashtag2"]},{"1402154228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154221, 1402154218, 1402154223, 1402154226, 1402154220, 1402154228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47825646400452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 13:57:42.788618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_37_2719.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_40_3549.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_43_2781.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_46_2628.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_50_3720.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_52_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_37_2719.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_40_3549.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_43_2781.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_46_2628.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_50_3720.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_52_2682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402154239","1402154233","1402154236","1402154235","1402154238","1402154237"],"photo_ids_order":["1402154233","1402154235","1402154236","1402154237","1402154238","1402154239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fdcc880da81fd94e6a1efc782c9f2cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3048147324331932919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358724697,"filename":"image_05112025_18_57_52_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/2/ecde0e6874faa71794387131ade420af.jpg","text":"TemporaryFile(/tmp/multipartBody4052230908149582398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358724697,"filename":"image_05112025_18_57_37_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/2/ce0c99c0aaa776e258ec1bf1a9caad7f.jpg","text":"TemporaryFile(/tmp/multipartBody6443898312679723609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358724697,"filename":"image_05112025_18_57_43_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/2/90b87de4fc3a029ef72ba3435752bdc1.jpg","text":"TemporaryFile(/tmp/multipartBody8201186228824144017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358724697,"filename":"image_05112025_18_57_40_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/2/978f6c1f8931a8ce271054a8ed45dfc6.jpg","text":"TemporaryFile(/tmp/multipartBody1030411433706867989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358724697,"filename":"image_05112025_18_57_50_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/2/a6704a5bac148549c21a600b8d8ea655.jpg","text":"TemporaryFile(/tmp/multipartBody4375723192681187512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358724697,"filename":"image_05112025_18_57_46_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154236","file1":"1402154235","file0":"1402154233","file4":"1402154238","file5":"1402154239","file3":"1402154237"},"map_files_photo_id_array":[{"photo_id":"1402154239","filename":"file5"},{"photo_id":"1402154236","filename":"file2"},{"photo_id":"1402154238","filename":"file4"},{"photo_id":"1402154235","filename":"file1"},{"photo_id":"1402154233","filename":"file0"},{"photo_id":"1402154237","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402154239":["hashtag1","hashtag2"]},{"1402154233":["hashtag1","hashtag2"]},{"1402154236":["hashtag1","hashtag2"]},{"1402154235":["hashtag1","hashtag2"]},{"1402154238":["hashtag1","hashtag2"]},{"1402154237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402154239, 1402154233, 1402154236, 1402154235, 1402154238, 1402154237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69994330406189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 13:59:02.973032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_14_10058.jpg', '/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_24_9768.jpg', '/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_34_9846.jpg', '/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_44_9736.jpg', '/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_54_10691.jpg', '/home/pi/Desktop/images/02012026/13/03/image_02012026_13_04_04_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_14_10058.jpg
/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_24_9768.jpg
/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_34_9846.jpg
/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_44_9736.jpg
/home/pi/Desktop/images/02012026/13/03/image_02012026_13_03_54_10691.jpg
/home/pi/Desktop/images/02012026/13/03/image_02012026_13_04_04_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":["1402154257","1402154251","1402154254","1402154244","1402154261","1402154249"],"photo_ids_order":["1402154244","1402154249","1402154251","1402154254","1402154257","1402154261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2cef5ea8dc199177bef84ed1ec663d4.jpg","text":"TemporaryFile(/tmp/multipartBody6476149475795903476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358803893,"filename":"image_02012026_13_03_54_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/2/123b697c2c0963a78cb9f16a382fbdbc.jpg","text":"TemporaryFile(/tmp/multipartBody4294508916046563553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358803893,"filename":"image_02012026_13_03_34_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/2/6fd14b057ea5ef1f173d79ee0f8b0c50.jpg","text":"TemporaryFile(/tmp/multipartBody8453155566915587341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358803893,"filename":"image_02012026_13_03_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/2/f00aa1f4a76886c7ca3000885ec11116.jpg","text":"TemporaryFile(/tmp/multipartBody1994816752813043534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358803893,"filename":"image_02012026_13_03_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/2/950665f448bb03a8282fcabcc68d8021.jpg","text":"TemporaryFile(/tmp/multipartBody7248321679582387253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358803893,"filename":"image_02012026_13_04_04_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/2/c8114f8b5a025c33a875ccccbebafab2.jpg","text":"TemporaryFile(/tmp/multipartBody1527822236690554610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358803893,"filename":"image_02012026_13_03_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154251","file1":"1402154249","file0":"1402154244","file4":"1402154257","file5":"1402154261","file3":"1402154254"},"map_files_photo_id_array":[{"photo_id":"1402154261","filename":"file5"},{"photo_id":"1402154251","filename":"file2"},{"photo_id":"1402154257","filename":"file4"},{"photo_id":"1402154249","filename":"file1"},{"photo_id":"1402154244","filename":"file0"},{"photo_id":"1402154254","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154257":["hashtag1","hashtag2"]},{"1402154251":["hashtag1","hashtag2"]},{"1402154254":["hashtag1","hashtag2"]},{"1402154244":["hashtag1","hashtag2"]},{"1402154261":["hashtag1","hashtag2"]},{"1402154249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154257, 1402154251, 1402154254, 1402154244, 1402154261, 1402154249)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.53821611404419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:00:02.709532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_14_9673.jpg', '/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_24_9619.jpg', '/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_34_10737.jpg', '/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_44_9724.jpg', '/home/pi/Desktop/images/02012026/13/04/image_02012026_13_05_04_10750.jpg', '/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_14_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_14_9673.jpg
/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_24_9619.jpg
/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_34_10737.jpg
/home/pi/Desktop/images/02012026/13/04/image_02012026_13_04_44_9724.jpg
/home/pi/Desktop/images/02012026/13/04/image_02012026_13_05_04_10750.jpg
/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_14_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":["1402154763","1402154472","1402154835","1402154690","1402154610","1402154525"],"photo_ids_order":["1402154472","1402154525","1402154610","1402154690","1402154763","1402154835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/048d6e3b269173fb5bc5c48b78f10ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5497990250740279910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358863472,"filename":"image_02012026_13_05_04_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/2/4c617fecdf497c36470251e6ce94d456.jpg","text":"TemporaryFile(/tmp/multipartBody9200866128885144285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358863472,"filename":"image_02012026_13_04_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/2/3ca9f18931e5f7b42fb84827b90f1203.jpg","text":"TemporaryFile(/tmp/multipartBody8487051687057170814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358863472,"filename":"image_02012026_13_05_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/2/3543f0fbcd6bcd1c8843490f760095cd.jpg","text":"TemporaryFile(/tmp/multipartBody6355972833400578426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358863472,"filename":"image_02012026_13_04_44_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/2/1a2c35ffc68dcc77178d6eff1abcfde6.jpg","text":"TemporaryFile(/tmp/multipartBody6357864093768658300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358863472,"filename":"image_02012026_13_04_34_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/2/58efe0e1983d757e7060981c85f322c5.jpg","text":"TemporaryFile(/tmp/multipartBody8208168990945704513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358863472,"filename":"image_02012026_13_04_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402154610","file1":"1402154525","file0":"1402154472","file4":"1402154763","file5":"1402154835","file3":"1402154690"},"map_files_photo_id_array":[{"photo_id":"1402154835","filename":"file5"},{"photo_id":"1402154610","filename":"file2"},{"photo_id":"1402154763","filename":"file4"},{"photo_id":"1402154525","filename":"file1"},{"photo_id":"1402154472","filename":"file0"},{"photo_id":"1402154690","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402154763":["hashtag1","hashtag2"]},{"1402154472":["hashtag1","hashtag2"]},{"1402154835":["hashtag1","hashtag2"]},{"1402154690":["hashtag1","hashtag2"]},{"1402154610":["hashtag1","hashtag2"]},{"1402154525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402154763, 1402154472, 1402154835, 1402154690, 1402154610, 1402154525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43149423599243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:00:42.303653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_55_2927.jpg', '/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_58_2677.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_01_2870.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_04_3652.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_07_2663.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_11_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_55_2927.jpg
/home/pi/Desktop/images/05112025/18/57/image_05112025_18_57_58_2677.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_01_2870.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_04_3652.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_07_2663.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_11_3558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402155121","1402155084","1402155390","1402155159","1402155251","1402155196"],"photo_ids_order":["1402155084","1402155121","1402155159","1402155196","1402155251","1402155390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/beab6a17972864b05d46c91890ffe8f5.jpg","text":"TemporaryFile(/tmp/multipartBody4079184567609837710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358904089,"filename":"image_05112025_18_57_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/2/cf1fce64d7c197115f3db6ca32cb6186.jpg","text":"TemporaryFile(/tmp/multipartBody3139776793538768244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358904089,"filename":"image_05112025_18_57_55_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/2/ad945913d243071313525e33596fc852.jpg","text":"TemporaryFile(/tmp/multipartBody8220507862910713925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358904089,"filename":"image_05112025_18_58_11_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/2/9ebc065a85fe9554ea6b82d1565dc9cc.jpg","text":"TemporaryFile(/tmp/multipartBody7252375343541631840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358904089,"filename":"image_05112025_18_58_01_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/2/891d34b42493ca8589b4a7d01269cbab.jpg","text":"TemporaryFile(/tmp/multipartBody8104926286502807229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358904089,"filename":"image_05112025_18_58_07_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/2/7b187e488efc4ed85daf23104649f2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7899808224089239779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358904089,"filename":"image_05112025_18_58_04_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402155159","file1":"1402155121","file0":"1402155084","file4":"1402155251","file5":"1402155390","file3":"1402155196"},"map_files_photo_id_array":[{"photo_id":"1402155390","filename":"file5"},{"photo_id":"1402155159","filename":"file2"},{"photo_id":"1402155251","filename":"file4"},{"photo_id":"1402155121","filename":"file1"},{"photo_id":"1402155084","filename":"file0"},{"photo_id":"1402155196","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402155121":["hashtag1","hashtag2"]},{"1402155084":["hashtag1","hashtag2"]},{"1402155390":["hashtag1","hashtag2"]},{"1402155159":["hashtag1","hashtag2"]},{"1402155251":["hashtag1","hashtag2"]},{"1402155196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402155121, 1402155084, 1402155390, 1402155159, 1402155251, 1402155196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70068073272705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:01:22.488993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_24_9738.jpg', '/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_34_9662.jpg', '/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_44_10637.jpg', '/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_54_9650.jpg', '/home/pi/Desktop/images/02012026/13/05/image_02012026_13_06_03_9647.jpg', '/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_14_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_24_9738.jpg
/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_34_9662.jpg
/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_44_10637.jpg
/home/pi/Desktop/images/02012026/13/05/image_02012026_13_05_54_9650.jpg
/home/pi/Desktop/images/02012026/13/05/image_02012026_13_06_03_9647.jpg
/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_14_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156074","1402155666","1402155767","1402155926","1402155854","1402156004"],"photo_ids_order":["1402155666","1402155767","1402155854","1402155926","1402156004","1402156074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc13ac0d09141095d8d49f6db0ddd5aa.jpg","text":"TemporaryFile(/tmp/multipartBody2991652303541763453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358943260,"filename":"image_02012026_13_06_14_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/2/f89d125f2ed0017bb6593b553018d584.jpg","text":"TemporaryFile(/tmp/multipartBody8022859945360034960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358943260,"filename":"image_02012026_13_05_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/2/b66a922aba3265d7d6dc5ab9b7a8eb01.jpg","text":"TemporaryFile(/tmp/multipartBody4694810358326912700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358943260,"filename":"image_02012026_13_05_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/2/582b089cdc85ac1269b2455c764d7525.jpg","text":"TemporaryFile(/tmp/multipartBody2004582581795615250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358943260,"filename":"image_02012026_13_05_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e94f81c216cbfcdb85c77973563af8ca.jpg","text":"TemporaryFile(/tmp/multipartBody5966100256685412467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358943260,"filename":"image_02012026_13_05_44_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/2/2214843eece9c468ecbb6f28d2e25c6f.jpg","text":"TemporaryFile(/tmp/multipartBody9102811383373174880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358943260,"filename":"image_02012026_13_06_03_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402155854","file1":"1402155767","file0":"1402155666","file4":"1402156004","file5":"1402156074","file3":"1402155926"},"map_files_photo_id_array":[{"photo_id":"1402156074","filename":"file5"},{"photo_id":"1402155854","filename":"file2"},{"photo_id":"1402156004","filename":"file4"},{"photo_id":"1402155767","filename":"file1"},{"photo_id":"1402155666","filename":"file0"},{"photo_id":"1402155926","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156074":["hashtag1","hashtag2"]},{"1402155666":["hashtag1","hashtag2"]},{"1402155767":["hashtag1","hashtag2"]},{"1402155926":["hashtag1","hashtag2"]},{"1402155854":["hashtag1","hashtag2"]},{"1402156004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156074, 1402155666, 1402155767, 1402155926, 1402155854, 1402156004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42025327682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:02:03.143089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_24_9817.jpg', '/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_34_9914.jpg', '/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_44_9648.jpg', '/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_54_10747.jpg', '/home/pi/Desktop/images/02012026/13/06/image_02012026_13_07_04_9697.jpg', '/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_14_10240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_24_9817.jpg
/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_34_9914.jpg
/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_44_9648.jpg
/home/pi/Desktop/images/02012026/13/06/image_02012026_13_06_54_10747.jpg
/home/pi/Desktop/images/02012026/13/06/image_02012026_13_07_04_9697.jpg
/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_14_10240.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156128","1402156137","1402156202","1402156139","1402156177","1402156243"],"photo_ids_order":["1402156128","1402156137","1402156139","1402156177","1402156202","1402156243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99a14c305436f0e43b0b219cbb28b52c.jpg","text":"TemporaryFile(/tmp/multipartBody5701811278269750352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358983890,"filename":"image_02012026_13_06_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/2/7247e8916e0583db0ee73b32e4746f25.jpg","text":"TemporaryFile(/tmp/multipartBody4520808264839603931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358983890,"filename":"image_02012026_13_06_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/2/8224cab09f1fa89749cba91168bb09d2.jpg","text":"TemporaryFile(/tmp/multipartBody2175909004020318645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358983890,"filename":"image_02012026_13_07_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/2/256520bb6bb918e55a5832ddd8157a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1525060087643284773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358983890,"filename":"image_02012026_13_06_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/2/14770841bc51ffe94764a332b0dd64e6.jpg","text":"TemporaryFile(/tmp/multipartBody2759463020233988699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358983890,"filename":"image_02012026_13_06_54_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/2/e5ca4cabb78fc9d5716576900cb418a5.jpg","text":"TemporaryFile(/tmp/multipartBody5669000091336836205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767358983890,"filename":"image_02012026_13_07_14_10240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156139","file1":"1402156137","file0":"1402156128","file4":"1402156202","file5":"1402156243","file3":"1402156177"},"map_files_photo_id_array":[{"photo_id":"1402156243","filename":"file5"},{"photo_id":"1402156139","filename":"file2"},{"photo_id":"1402156202","filename":"file4"},{"photo_id":"1402156137","filename":"file1"},{"photo_id":"1402156128","filename":"file0"},{"photo_id":"1402156177","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156128":["hashtag1","hashtag2"]},{"1402156137":["hashtag1","hashtag2"]},{"1402156202":["hashtag1","hashtag2"]},{"1402156139":["hashtag1","hashtag2"]},{"1402156177":["hashtag1","hashtag2"]},{"1402156243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156128, 1402156137, 1402156202, 1402156139, 1402156177, 1402156243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98638701438904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:02:42.793477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_16_2824.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_19_2675.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_22_3642.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_28_2553.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_31_3670.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_34_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_16_2824.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_19_2675.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_22_3642.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_28_2553.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_31_3670.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_34_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156377","1402156416","1402156370","1402156373","1402156444","1402156420"],"photo_ids_order":["1402156370","1402156373","1402156377","1402156416","1402156420","1402156444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2cc2ca7047218afaf0282261725309fe.jpg","text":"TemporaryFile(/tmp/multipartBody2137367235097450393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359024700,"filename":"image_05112025_18_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/2/7834dfcbb236675c7e866120d9ba6564.jpg","text":"TemporaryFile(/tmp/multipartBody9125534687467878903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359024700,"filename":"image_05112025_18_58_28_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/2/d0ce1c1bd6009cb16b21675fed121062.jpg","text":"TemporaryFile(/tmp/multipartBody670607732257254882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359024700,"filename":"image_05112025_18_58_16_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/2/eb641e5d21b3336aaf95ebdb3320e415.jpg","text":"TemporaryFile(/tmp/multipartBody4051932329007320763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359024700,"filename":"image_05112025_18_58_19_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/2/ba34a56a9d5206cc77105caae20c2576.jpg","text":"TemporaryFile(/tmp/multipartBody1115271616832202894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359024700,"filename":"image_05112025_18_58_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/2/b60ba52f1bb7214fc77f6645c53466d2.jpg","text":"TemporaryFile(/tmp/multipartBody5674402989104508243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359024700,"filename":"image_05112025_18_58_31_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156377","file1":"1402156373","file0":"1402156370","file4":"1402156420","file5":"1402156444","file3":"1402156416"},"map_files_photo_id_array":[{"photo_id":"1402156444","filename":"file5"},{"photo_id":"1402156377","filename":"file2"},{"photo_id":"1402156420","filename":"file4"},{"photo_id":"1402156373","filename":"file1"},{"photo_id":"1402156370","filename":"file0"},{"photo_id":"1402156416","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402156377":["hashtag1","hashtag2"]},{"1402156416":["hashtag1","hashtag2"]},{"1402156370":["hashtag1","hashtag2"]},{"1402156373":["hashtag1","hashtag2"]},{"1402156444":["hashtag1","hashtag2"]},{"1402156420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402156377, 1402156416, 1402156370, 1402156373, 1402156444, 1402156420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01085019111633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:03:32.076224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_37_2640.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_40_3699.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_43_2578.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_47_3615.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_49_2647.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_52_2910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_37_2640.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_40_3699.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_43_2578.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_47_3615.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_49_2647.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_52_2910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156473","1402156482","1402156490","1402156478","1402156475","1402156489"],"photo_ids_order":["1402156473","1402156475","1402156478","1402156482","1402156489","1402156490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7de3bdcfa2f4601a37961dcd8dad4ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1201124995150750932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359076983,"filename":"image_05112025_18_58_37_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/2/f4de6a89896df3b776b8aeb73da98abc.jpg","text":"TemporaryFile(/tmp/multipartBody8484537917573788929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359076983,"filename":"image_05112025_18_58_47_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/2/9cd17e8c944e176497f84d682d978e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5903921544863733957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359076983,"filename":"image_05112025_18_58_52_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/2/21adc0e0054d406bc57e5f2c88b50173.jpg","text":"TemporaryFile(/tmp/multipartBody2325162942618470900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359076983,"filename":"image_05112025_18_58_43_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/2/0235458b0eb990f600ddc51b30663672.jpg","text":"TemporaryFile(/tmp/multipartBody5439263484883193108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359076983,"filename":"image_05112025_18_58_40_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/2/53d00dabfbeae25d069cd88a8fb618bf.jpg","text":"TemporaryFile(/tmp/multipartBody2484223950074281471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359076983,"filename":"image_05112025_18_58_49_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156478","file1":"1402156475","file0":"1402156473","file4":"1402156489","file5":"1402156490","file3":"1402156482"},"map_files_photo_id_array":[{"photo_id":"1402156490","filename":"file5"},{"photo_id":"1402156478","filename":"file2"},{"photo_id":"1402156489","filename":"file4"},{"photo_id":"1402156475","filename":"file1"},{"photo_id":"1402156473","filename":"file0"},{"photo_id":"1402156482","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402156473":["hashtag1","hashtag2"]},{"1402156482":["hashtag1","hashtag2"]},{"1402156490":["hashtag1","hashtag2"]},{"1402156478":["hashtag1","hashtag2"]},{"1402156475":["hashtag1","hashtag2"]},{"1402156489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402156473, 1402156482, 1402156490, 1402156478, 1402156475, 1402156489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94594120979309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:04:22.123751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_24_9769.jpg', '/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_34_10131.jpg', '/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_44_9714.jpg', '/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_04_7765.jpg', '/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_14_9831.jpg', '/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_23_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_24_9769.jpg
/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_34_10131.jpg
/home/pi/Desktop/images/02012026/13/07/image_02012026_13_07_44_9714.jpg
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_04_7765.jpg
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_14_9831.jpg
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_23_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156551","1402156554","1402156545","1402156539","1402156541","1402156549"],"photo_ids_order":["1402156539","1402156541","1402156545","1402156549","1402156551","1402156554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5625a8b407298ccd162f79b9a3ada17.jpg","text":"TemporaryFile(/tmp/multipartBody7308699260782021563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359122807,"filename":"image_02012026_13_08_14_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/2/3b9196115754a3e1c67cdaf1344a6abc.jpg","text":"TemporaryFile(/tmp/multipartBody2255913040311904074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359122807,"filename":"image_02012026_13_08_23_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/2/a837736e407e7be6163a8700b62cdf8a.jpg","text":"TemporaryFile(/tmp/multipartBody178832488304656195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359122807,"filename":"image_02012026_13_07_44_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/2/4c2f1f639705db404134c27ffa3a8ff2.jpg","text":"TemporaryFile(/tmp/multipartBody9143265154470748119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359122807,"filename":"image_02012026_13_07_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/2/ebea890608ee2c0ad0eef41b09690213.jpg","text":"TemporaryFile(/tmp/multipartBody7241371266505523728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359122807,"filename":"image_02012026_13_07_34_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aabf6051e3df40adcbcd17b6107aea7f.jpg","text":"TemporaryFile(/tmp/multipartBody4659753057295580650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359122807,"filename":"image_02012026_13_08_04_7765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156545","file1":"1402156541","file0":"1402156539","file4":"1402156551","file5":"1402156554","file3":"1402156549"},"map_files_photo_id_array":[{"photo_id":"1402156554","filename":"file5"},{"photo_id":"1402156545","filename":"file2"},{"photo_id":"1402156551","filename":"file4"},{"photo_id":"1402156541","filename":"file1"},{"photo_id":"1402156539","filename":"file0"},{"photo_id":"1402156549","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156551":["hashtag1","hashtag2"]},{"1402156554":["hashtag1","hashtag2"]},{"1402156545":["hashtag1","hashtag2"]},{"1402156539":["hashtag1","hashtag2"]},{"1402156541":["hashtag1","hashtag2"]},{"1402156549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156551, 1402156554, 1402156545, 1402156539, 1402156541, 1402156549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43731474876404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:05:02.894431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_34_10402.jpg', '/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_43_9629.jpg', '/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_54_10822.jpg', '/home/pi/Desktop/images/02012026/13/08/image_02012026_13_09_04_9717.jpg', '/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_14_9640.jpg', '/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_24_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_34_10402.jpg
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_43_9629.jpg
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_08_54_10822.jpg
/home/pi/Desktop/images/02012026/13/08/image_02012026_13_09_04_9717.jpg
/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_14_9640.jpg
/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_24_10691.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":["1402156880","1402156868","1402156823","1402156885","1402156870","1402156888"],"photo_ids_order":["1402156823","1402156868","1402156870","1402156880","1402156885","1402156888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99aee4e5087c93de6c57f7f3084dbd01.jpg","text":"TemporaryFile(/tmp/multipartBody5995955832226096030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359163685,"filename":"image_02012026_13_09_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/2/ca0e189e68d259dc4ad003bd8ab84576.jpg","text":"TemporaryFile(/tmp/multipartBody8980863179857752524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359163685,"filename":"image_02012026_13_08_43_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/2/dbda8acab6b673d80e25ecd2d86cf5ef.jpg","text":"TemporaryFile(/tmp/multipartBody3922177967492310568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359163685,"filename":"image_02012026_13_08_34_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/2/a6e1e70a6e558b5215f063014e25f5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6806437449885569512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359163685,"filename":"image_02012026_13_09_14_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/2/688407a25c654e9f39f71ccd97eae312.jpg","text":"TemporaryFile(/tmp/multipartBody2514960551407492730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359163685,"filename":"image_02012026_13_08_54_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2c364c72ea5598ac9abbc4aa7f801fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8301192039156318572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359163685,"filename":"image_02012026_13_09_24_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156870","file1":"1402156868","file0":"1402156823","file4":"1402156885","file5":"1402156888","file3":"1402156880"},"map_files_photo_id_array":[{"photo_id":"1402156888","filename":"file5"},{"photo_id":"1402156870","filename":"file2"},{"photo_id":"1402156885","filename":"file4"},{"photo_id":"1402156868","filename":"file1"},{"photo_id":"1402156823","filename":"file0"},{"photo_id":"1402156880","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156880":["hashtag1","hashtag2"]},{"1402156868":["hashtag1","hashtag2"]},{"1402156823":["hashtag1","hashtag2"]},{"1402156885":["hashtag1","hashtag2"]},{"1402156870":["hashtag1","hashtag2"]},{"1402156888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156880, 1402156868, 1402156823, 1402156885, 1402156870, 1402156888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50237226486206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:06:02.972241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_34_9779.jpg', '/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_44_9750.jpg', '/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_54_9628.jpg', '/home/pi/Desktop/images/02012026/13/09/image_02012026_13_10_04_10709.jpg', '/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_14_9936.jpg', '/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_24_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_34_9779.jpg
/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_44_9750.jpg
/home/pi/Desktop/images/02012026/13/09/image_02012026_13_09_54_9628.jpg
/home/pi/Desktop/images/02012026/13/09/image_02012026_13_10_04_10709.jpg
/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_14_9936.jpg
/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_24_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402156908","1402156917","1402156910","1402156915","1402156909","1402156912"],"photo_ids_order":["1402156908","1402156909","1402156910","1402156912","1402156915","1402156917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bae01883c589e58859580c3616dc77d5.jpg","text":"TemporaryFile(/tmp/multipartBody485244916168909917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359226011,"filename":"image_02012026_13_09_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/2/ff386b4da6172311ee8ac9c1b4b6dcf5.jpg","text":"TemporaryFile(/tmp/multipartBody4090863643197501737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359226011,"filename":"image_02012026_13_10_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/2/2a70599ff7978f3538e30a88258cd37b.jpg","text":"TemporaryFile(/tmp/multipartBody5867071306486500980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359226011,"filename":"image_02012026_13_09_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/2/dc67cd1c1fcdbe4050f496a6a2b99bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1196503170839695121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359226011,"filename":"image_02012026_13_10_14_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/2/47a8fd1c3f6cffe32e8c2dab1c064024.jpg","text":"TemporaryFile(/tmp/multipartBody2500500956986457502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359226011,"filename":"image_02012026_13_09_44_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/2/91017d1f07c6de0071c71f2f57e9104a.jpg","text":"TemporaryFile(/tmp/multipartBody7333707428482469778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359226011,"filename":"image_02012026_13_10_04_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156910","file1":"1402156909","file0":"1402156908","file4":"1402156915","file5":"1402156917","file3":"1402156912"},"map_files_photo_id_array":[{"photo_id":"1402156917","filename":"file5"},{"photo_id":"1402156910","filename":"file2"},{"photo_id":"1402156915","filename":"file4"},{"photo_id":"1402156909","filename":"file1"},{"photo_id":"1402156908","filename":"file0"},{"photo_id":"1402156912","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156908":["hashtag1","hashtag2"]},{"1402156917":["hashtag1","hashtag2"]},{"1402156910":["hashtag1","hashtag2"]},{"1402156915":["hashtag1","hashtag2"]},{"1402156909":["hashtag1","hashtag2"]},{"1402156912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156908, 1402156917, 1402156910, 1402156915, 1402156909, 1402156912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.58976936340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:07:04.823764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_34_9867.jpg', '/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_43_9759.jpg', '/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_54_10806.jpg', '/home/pi/Desktop/images/02012026/13/10/image_02012026_13_11_04_9675.jpg', '/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_14_9852.jpg', '/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_24_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_34_9867.jpg
/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_43_9759.jpg
/home/pi/Desktop/images/02012026/13/10/image_02012026_13_10_54_10806.jpg
/home/pi/Desktop/images/02012026/13/10/image_02012026_13_11_04_9675.jpg
/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_14_9852.jpg
/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_24_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156941","1402156944","1402156938","1402156940","1402156946","1402156942"],"photo_ids_order":["1402156938","1402156940","1402156941","1402156942","1402156944","1402156946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/39424718dc32b4573fdccab5af0285ff.jpg","text":"TemporaryFile(/tmp/multipartBody3984715608266578712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359285859,"filename":"image_02012026_13_10_54_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/2/48fbf0636667a27b134d923bfbe1e11f.jpg","text":"TemporaryFile(/tmp/multipartBody7715476274280512028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359285859,"filename":"image_02012026_13_11_14_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/2/cc088492d8d8dbd7cd224a8c053eb85a.jpg","text":"TemporaryFile(/tmp/multipartBody5189358873787204317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359285859,"filename":"image_02012026_13_10_34_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/2/31a0619780e087487859de5e6e88ba3a.jpg","text":"TemporaryFile(/tmp/multipartBody5413201321748395708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359285859,"filename":"image_02012026_13_10_43_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/2/30455b9e5e3a2a0e2329d0029b752ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8149104563583585380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359285859,"filename":"image_02012026_13_11_24_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/2/6308223daf2c10fa35665af118d35961.jpg","text":"TemporaryFile(/tmp/multipartBody4488804942097277695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359285859,"filename":"image_02012026_13_11_04_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156941","file1":"1402156940","file0":"1402156938","file4":"1402156944","file5":"1402156946","file3":"1402156942"},"map_files_photo_id_array":[{"photo_id":"1402156946","filename":"file5"},{"photo_id":"1402156941","filename":"file2"},{"photo_id":"1402156944","filename":"file4"},{"photo_id":"1402156940","filename":"file1"},{"photo_id":"1402156938","filename":"file0"},{"photo_id":"1402156942","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156941":["hashtag1","hashtag2"]},{"1402156944":["hashtag1","hashtag2"]},{"1402156938":["hashtag1","hashtag2"]},{"1402156940":["hashtag1","hashtag2"]},{"1402156946":["hashtag1","hashtag2"]},{"1402156942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156941, 1402156944, 1402156938, 1402156940, 1402156946, 1402156942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06169629096985 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-02 14:08:03.284035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_34_9672.jpg', '/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_44_9690.jpg', '/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_54_9870.jpg', '/home/pi/Desktop/images/02012026/13/11/image_02012026_13_12_04_10713.jpg', '/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_24_9777.jpg', '/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_34_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_34_9672.jpg
/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_44_9690.jpg
/home/pi/Desktop/images/02012026/13/11/image_02012026_13_11_54_9870.jpg
/home/pi/Desktop/images/02012026/13/11/image_02012026_13_12_04_10713.jpg
/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_24_9777.jpg
/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_34_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402156956","1402156953","1402156949","1402156958","1402156960","1402156954"],"photo_ids_order":["1402156949","1402156953","1402156954","1402156956","1402156958","1402156960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b4b35e2e92548157a48954389317df3.jpg","text":"TemporaryFile(/tmp/multipartBody2911232107212786990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359344015,"filename":"image_02012026_13_12_04_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/2/02a1027470c7f1c82cf88bb6927c167b.jpg","text":"TemporaryFile(/tmp/multipartBody5861132178284895331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359344015,"filename":"image_02012026_13_11_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/2/6dbf34af3949bec3a328217c5f46879e.jpg","text":"TemporaryFile(/tmp/multipartBody5725034083596768995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359344015,"filename":"image_02012026_13_11_34_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/2/2b3277598dc8da155fab2a6662ec51e1.jpg","text":"TemporaryFile(/tmp/multipartBody2800287697999638404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359344015,"filename":"image_02012026_13_12_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/2/6efc81478d7951da351fb9b853f02ced.jpg","text":"TemporaryFile(/tmp/multipartBody8730321736252280698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359344015,"filename":"image_02012026_13_12_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/2/c8ea356be791bcbe97a28c27445c4ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7798595457547558195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359344015,"filename":"image_02012026_13_11_54_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402156954","file1":"1402156953","file0":"1402156949","file4":"1402156958","file5":"1402156960","file3":"1402156956"},"map_files_photo_id_array":[{"photo_id":"1402156960","filename":"file5"},{"photo_id":"1402156954","filename":"file2"},{"photo_id":"1402156958","filename":"file4"},{"photo_id":"1402156953","filename":"file1"},{"photo_id":"1402156949","filename":"file0"},{"photo_id":"1402156956","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402156956":["hashtag1","hashtag2"]},{"1402156953":["hashtag1","hashtag2"]},{"1402156949":["hashtag1","hashtag2"]},{"1402156958":["hashtag1","hashtag2"]},{"1402156960":["hashtag1","hashtag2"]},{"1402156954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402156956, 1402156953, 1402156949, 1402156958, 1402156960, 1402156954)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.93870234489441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:09:02.983033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_43_9759.jpg', '/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_54_10652.jpg', '/home/pi/Desktop/images/02012026/13/12/image_02012026_13_13_04_9730.jpg', '/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_14_9744.jpg', '/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_24_10743.jpg', '/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_34_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_43_9759.jpg
/home/pi/Desktop/images/02012026/13/12/image_02012026_13_12_54_10652.jpg
/home/pi/Desktop/images/02012026/13/12/image_02012026_13_13_04_9730.jpg
/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_14_9744.jpg
/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_24_10743.jpg
/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_34_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":["1402157031","1402157028","1402157033","1402157036","1402157030","1402157029"],"photo_ids_order":["1402157028","1402157029","1402157030","1402157031","1402157033","1402157036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4019073a313d8a7ab149ebd6abb42966.jpg","text":"TemporaryFile(/tmp/multipartBody6982162246456087335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359403809,"filename":"image_02012026_13_13_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/2/9cd286e4f85cbb643d249e9b50854250.jpg","text":"TemporaryFile(/tmp/multipartBody7892900822073912344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359403809,"filename":"image_02012026_13_12_43_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/2/4ea7a8cc9c8113acdf5cdb4ad616c90a.jpg","text":"TemporaryFile(/tmp/multipartBody8429245102318179262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359403809,"filename":"image_02012026_13_13_24_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/2/e2f5adca652028b04850f43c878eec13.jpg","text":"TemporaryFile(/tmp/multipartBody1707137288260164365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359403809,"filename":"image_02012026_13_13_34_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/2/b78362545af4f46f0d47da71e3f2928e.jpg","text":"TemporaryFile(/tmp/multipartBody7818550042293202901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359403809,"filename":"image_02012026_13_13_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/2/878d4de23bd9df9077fc81352eff77e3.jpg","text":"TemporaryFile(/tmp/multipartBody5476266983532711348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359403809,"filename":"image_02012026_13_12_54_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157030","file1":"1402157029","file0":"1402157028","file4":"1402157033","file5":"1402157036","file3":"1402157031"},"map_files_photo_id_array":[{"photo_id":"1402157036","filename":"file5"},{"photo_id":"1402157030","filename":"file2"},{"photo_id":"1402157033","filename":"file4"},{"photo_id":"1402157029","filename":"file1"},{"photo_id":"1402157028","filename":"file0"},{"photo_id":"1402157031","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157031":["hashtag1","hashtag2"]},{"1402157028":["hashtag1","hashtag2"]},{"1402157033":["hashtag1","hashtag2"]},{"1402157036":["hashtag1","hashtag2"]},{"1402157030":["hashtag1","hashtag2"]},{"1402157029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157031, 1402157028, 1402157033, 1402157036, 1402157030, 1402157029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19883108139038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:09:42.071110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_55_2629.jpg', '/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_58_3670.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_04_2896.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_07_2577.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_10_3686.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_13_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_55_2629.jpg
/home/pi/Desktop/images/05112025/18/58/image_05112025_18_58_58_3670.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_04_2896.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_07_2577.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_10_3686.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_13_2786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402157046","1402157051","1402157048","1402157062","1402157050","1402157049"],"photo_ids_order":["1402157046","1402157048","1402157049","1402157050","1402157051","1402157062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/81c0c8cf6ffa2aad0229727614b67034.jpg","text":"TemporaryFile(/tmp/multipartBody5681394938019828202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359443990,"filename":"image_05112025_18_58_55_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/2/fcbe6969cf2f70c7619833b6b6d15bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7079994574320497957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359443990,"filename":"image_05112025_18_59_10_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/2/84bd8dfc4cd44003be51a1da0a3e9714.jpg","text":"TemporaryFile(/tmp/multipartBody8231439490564929465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359443990,"filename":"image_05112025_18_58_58_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/2/1988d8d567042e00b7963805e3b54779.jpg","text":"TemporaryFile(/tmp/multipartBody6946083546092351601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359443990,"filename":"image_05112025_18_59_13_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/2/4fd401c918171defed675eeb1318c0de.jpg","text":"TemporaryFile(/tmp/multipartBody6366696991363072128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359443990,"filename":"image_05112025_18_59_07_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/2/bb9d2f85f46e6dcd5b48984b48524ff8.jpg","text":"TemporaryFile(/tmp/multipartBody1780814897650103898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359443990,"filename":"image_05112025_18_59_04_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157049","file1":"1402157048","file0":"1402157046","file4":"1402157051","file5":"1402157062","file3":"1402157050"},"map_files_photo_id_array":[{"photo_id":"1402157062","filename":"file5"},{"photo_id":"1402157049","filename":"file2"},{"photo_id":"1402157051","filename":"file4"},{"photo_id":"1402157048","filename":"file1"},{"photo_id":"1402157046","filename":"file0"},{"photo_id":"1402157050","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402157046":["hashtag1","hashtag2"]},{"1402157051":["hashtag1","hashtag2"]},{"1402157048":["hashtag1","hashtag2"]},{"1402157062":["hashtag1","hashtag2"]},{"1402157050":["hashtag1","hashtag2"]},{"1402157049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402157046, 1402157051, 1402157048, 1402157062, 1402157050, 1402157049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74798345565796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:10:22.324992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_44_9866.jpg', '/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_54_9811.jpg', '/home/pi/Desktop/images/02012026/13/13/image_02012026_13_14_04_10711.jpg', '/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_14_9776.jpg', '/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_24_9756.jpg', '/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_34_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_44_9866.jpg
/home/pi/Desktop/images/02012026/13/13/image_02012026_13_13_54_9811.jpg
/home/pi/Desktop/images/02012026/13/13/image_02012026_13_14_04_10711.jpg
/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_14_9776.jpg
/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_24_9756.jpg
/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_34_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":["1402157078","1402157087","1402157098","1402157083","1402157085","1402157076"],"photo_ids_order":["1402157076","1402157078","1402157083","1402157085","1402157087","1402157098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/68e2ca655fb66eea5f1538834487b278.jpg","text":"TemporaryFile(/tmp/multipartBody6453613035633025312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359483023,"filename":"image_02012026_13_13_54_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/2/7da7d6b1eef41ec546a16c5b28a98390.jpg","text":"TemporaryFile(/tmp/multipartBody3386748179510266183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359483023,"filename":"image_02012026_13_14_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/2/2a0b04f6d88c3c52f4b36da0d5788bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3695460554903595365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359483023,"filename":"image_02012026_13_14_34_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/2/7f724b47717c6fe39292105657cb66e6.jpg","text":"TemporaryFile(/tmp/multipartBody6299234151109026753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359483023,"filename":"image_02012026_13_14_04_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/2/cace240c3a64dfbcecf8db0526c8face.jpg","text":"TemporaryFile(/tmp/multipartBody4822472824469024983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359483023,"filename":"image_02012026_13_14_14_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/2/7fdd0682f058fc3e028b700faafd2469.jpg","text":"TemporaryFile(/tmp/multipartBody1362638517299490742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359483023,"filename":"image_02012026_13_13_44_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157083","file1":"1402157078","file0":"1402157076","file4":"1402157087","file5":"1402157098","file3":"1402157085"},"map_files_photo_id_array":[{"photo_id":"1402157098","filename":"file5"},{"photo_id":"1402157083","filename":"file2"},{"photo_id":"1402157087","filename":"file4"},{"photo_id":"1402157078","filename":"file1"},{"photo_id":"1402157076","filename":"file0"},{"photo_id":"1402157085","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157078":["hashtag1","hashtag2"]},{"1402157087":["hashtag1","hashtag2"]},{"1402157098":["hashtag1","hashtag2"]},{"1402157083":["hashtag1","hashtag2"]},{"1402157085":["hashtag1","hashtag2"]},{"1402157076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157078, 1402157087, 1402157098, 1402157083, 1402157085, 1402157076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.223753929138184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:11:02.969359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_54_9322.jpg', '/home/pi/Desktop/images/02012026/13/14/image_02012026_13_15_04_10684.jpg', '/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_14_9639.jpg', '/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_24_9811.jpg', '/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_34_9836.jpg', '/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_44_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/14/image_02012026_13_14_54_9322.jpg
/home/pi/Desktop/images/02012026/13/14/image_02012026_13_15_04_10684.jpg
/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_14_9639.jpg
/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_24_9811.jpg
/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_34_9836.jpg
/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_44_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":["1402157171","1402157129","1402157164","1402157167","1402157169","1402157142"],"photo_ids_order":["1402157129","1402157142","1402157164","1402157167","1402157169","1402157171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83fde7485132295f563d9c835015e1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4182046934756207655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359523830,"filename":"image_02012026_13_15_44_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/2/2c87609d2de6bb2b81f339f6674d08a4.jpg","text":"TemporaryFile(/tmp/multipartBody2263477004799238624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359523830,"filename":"image_02012026_13_14_54_9322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2130c7d25e4c57e98e622a3cfe1c511.jpg","text":"TemporaryFile(/tmp/multipartBody822142952774632838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359523830,"filename":"image_02012026_13_15_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/2/ae22df5c5298f390f5c9c3a9f81484f5.jpg","text":"TemporaryFile(/tmp/multipartBody3235400931484302080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359523830,"filename":"image_02012026_13_15_24_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/2/07a827701423b2ca97fe3cbfed75d9cc.jpg","text":"TemporaryFile(/tmp/multipartBody1898027206425349363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359523830,"filename":"image_02012026_13_15_34_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/2/956a893ebc5480c00eaaf286d0afb9b9.jpg","text":"TemporaryFile(/tmp/multipartBody6322534924693399475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359523830,"filename":"image_02012026_13_15_04_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157164","file1":"1402157142","file0":"1402157129","file4":"1402157169","file5":"1402157171","file3":"1402157167"},"map_files_photo_id_array":[{"photo_id":"1402157171","filename":"file5"},{"photo_id":"1402157164","filename":"file2"},{"photo_id":"1402157169","filename":"file4"},{"photo_id":"1402157142","filename":"file1"},{"photo_id":"1402157129","filename":"file0"},{"photo_id":"1402157167","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157171":["hashtag1","hashtag2"]},{"1402157129":["hashtag1","hashtag2"]},{"1402157164":["hashtag1","hashtag2"]},{"1402157167":["hashtag1","hashtag2"]},{"1402157169":["hashtag1","hashtag2"]},{"1402157142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157171, 1402157129, 1402157164, 1402157167, 1402157169, 1402157142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15947151184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:11:42.387230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_16_2710.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_22_2647.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_25_2753.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_28_2711.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_31_3656.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_34_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_16_2710.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_22_2647.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_25_2753.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_28_2711.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_31_3656.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_34_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402157231","1402157228","1402157225","1402157230","1402157227","1402157229"],"photo_ids_order":["1402157225","1402157227","1402157228","1402157229","1402157230","1402157231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea9af08af050b051d96c8511fe7c9e68.jpg","text":"TemporaryFile(/tmp/multipartBody8354064248942002673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359564291,"filename":"image_05112025_18_59_34_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/2/0ffabeb4a95c5f68ea1f7c17c8f5a64a.jpg","text":"TemporaryFile(/tmp/multipartBody6814914123318204665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359564291,"filename":"image_05112025_18_59_25_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/2/14fd3541da5b77da8374dd23efa7dd6a.jpg","text":"TemporaryFile(/tmp/multipartBody3097435796511413879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359564291,"filename":"image_05112025_18_59_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/2/234542ca8f99e85b7594cc029381395d.jpg","text":"TemporaryFile(/tmp/multipartBody7682858041008694020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359564291,"filename":"image_05112025_18_59_31_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/2/e7f4afc81386cd48ea025bf9b6e82fc8.jpg","text":"TemporaryFile(/tmp/multipartBody4796693489985814177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359564291,"filename":"image_05112025_18_59_22_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/2/89e8b51b5486ccb7445ab224c9832918.jpg","text":"TemporaryFile(/tmp/multipartBody265321685179456291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359564291,"filename":"image_05112025_18_59_28_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157228","file1":"1402157227","file0":"1402157225","file4":"1402157230","file5":"1402157231","file3":"1402157229"},"map_files_photo_id_array":[{"photo_id":"1402157231","filename":"file5"},{"photo_id":"1402157228","filename":"file2"},{"photo_id":"1402157230","filename":"file4"},{"photo_id":"1402157227","filename":"file1"},{"photo_id":"1402157225","filename":"file0"},{"photo_id":"1402157229","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402157231":["hashtag1","hashtag2"]},{"1402157228":["hashtag1","hashtag2"]},{"1402157225":["hashtag1","hashtag2"]},{"1402157230":["hashtag1","hashtag2"]},{"1402157227":["hashtag1","hashtag2"]},{"1402157229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402157231, 1402157228, 1402157225, 1402157230, 1402157227, 1402157229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91889667510986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:12:22.631180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_54_9616.jpg', '/home/pi/Desktop/images/02012026/13/15/image_02012026_13_16_04_9740.jpg', '/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_14_10634.jpg', '/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_24_9751.jpg', '/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_34_9624.jpg', '/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_44_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/15/image_02012026_13_15_54_9616.jpg
/home/pi/Desktop/images/02012026/13/15/image_02012026_13_16_04_9740.jpg
/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_14_10634.jpg
/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_24_9751.jpg
/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_34_9624.jpg
/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_44_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":["1402157259","1402157237","1402157368","1402157239","1402157329","1402157295"],"photo_ids_order":["1402157237","1402157239","1402157259","1402157295","1402157329","1402157368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bff67f7d506181b0d61c15c8b013a9a2.jpg","text":"TemporaryFile(/tmp/multipartBody7915353107409263653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359603327,"filename":"image_02012026_13_16_14_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/2/2e73285161f1b95502c82f4f54e22a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7979712359983109151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359603327,"filename":"image_02012026_13_15_54_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/2/0f249598abcc13b4575f56e41fa3f8fe.jpg","text":"TemporaryFile(/tmp/multipartBody4375200804979151481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359603327,"filename":"image_02012026_13_16_44_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/2/e79da51859c0481496c1676b93ac5107.jpg","text":"TemporaryFile(/tmp/multipartBody902527455405160894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359603327,"filename":"image_02012026_13_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/2/b3b922e52a9ec8f53fbd3bc32440e377.jpg","text":"TemporaryFile(/tmp/multipartBody2136777821915522952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359603327,"filename":"image_02012026_13_16_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/2/f42abf6dceb10bd5bc99fcb9b929c866.jpg","text":"TemporaryFile(/tmp/multipartBody1187150645701277218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359603327,"filename":"image_02012026_13_16_24_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157259","file1":"1402157239","file0":"1402157237","file4":"1402157329","file5":"1402157368","file3":"1402157295"},"map_files_photo_id_array":[{"photo_id":"1402157368","filename":"file5"},{"photo_id":"1402157259","filename":"file2"},{"photo_id":"1402157329","filename":"file4"},{"photo_id":"1402157239","filename":"file1"},{"photo_id":"1402157237","filename":"file0"},{"photo_id":"1402157295","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157259":["hashtag1","hashtag2"]},{"1402157237":["hashtag1","hashtag2"]},{"1402157368":["hashtag1","hashtag2"]},{"1402157239":["hashtag1","hashtag2"]},{"1402157329":["hashtag1","hashtag2"]},{"1402157295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157259, 1402157237, 1402157368, 1402157239, 1402157329, 1402157295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68020439147949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:13:03.431074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_54_10707.jpg', '/home/pi/Desktop/images/02012026/13/16/image_02012026_13_17_04_9678.jpg', '/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_14_9620.jpg', '/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_24_10445.jpg', '/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_34_9753.jpg', '/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_44_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/16/image_02012026_13_16_54_10707.jpg
/home/pi/Desktop/images/02012026/13/16/image_02012026_13_17_04_9678.jpg
/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_14_9620.jpg
/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_24_10445.jpg
/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_34_9753.jpg
/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_44_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402157576","1402157570","1402157584","1402157572","1402157542","1402157574"],"photo_ids_order":["1402157542","1402157570","1402157572","1402157574","1402157576","1402157584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88e789dcf42eb36db2e7f7f47436065e.jpg","text":"TemporaryFile(/tmp/multipartBody506672043123113389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359644251,"filename":"image_02012026_13_17_34_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/2/5df6619aeace31386349678e5e13dc7f.jpg","text":"TemporaryFile(/tmp/multipartBody8898480210147864889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359644251,"filename":"image_02012026_13_17_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/2/e9171f7424916aba341d50df8151de24.jpg","text":"TemporaryFile(/tmp/multipartBody6667131518890388192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359644251,"filename":"image_02012026_13_17_44_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/2/49d19163224eb4c52453bce3271ec9d1.jpg","text":"TemporaryFile(/tmp/multipartBody5245771622115399578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359644251,"filename":"image_02012026_13_17_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/2/2e5d537751fa72dba769f09f59296492.jpg","text":"TemporaryFile(/tmp/multipartBody8171778652985603302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359644251,"filename":"image_02012026_13_16_54_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/2/50ad29ed637b04ecbc2249622d1d346d.jpg","text":"TemporaryFile(/tmp/multipartBody6826003312639096939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359644251,"filename":"image_02012026_13_17_24_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157572","file1":"1402157570","file0":"1402157542","file4":"1402157576","file5":"1402157584","file3":"1402157574"},"map_files_photo_id_array":[{"photo_id":"1402157584","filename":"file5"},{"photo_id":"1402157572","filename":"file2"},{"photo_id":"1402157576","filename":"file4"},{"photo_id":"1402157570","filename":"file1"},{"photo_id":"1402157542","filename":"file0"},{"photo_id":"1402157574","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157576":["hashtag1","hashtag2"]},{"1402157570":["hashtag1","hashtag2"]},{"1402157584":["hashtag1","hashtag2"]},{"1402157572":["hashtag1","hashtag2"]},{"1402157542":["hashtag1","hashtag2"]},{"1402157574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157576, 1402157570, 1402157584, 1402157572, 1402157542, 1402157574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11148929595947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:13:42.767304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_37_2686.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_43_2811.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_46_2715.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_50_3736.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_52_2731.jpg', '/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_55_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_37_2686.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_43_2811.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_46_2715.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_50_3736.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_52_2731.jpg
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_55_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":["1402157709","1402157703","1402157708","1402157707","1402157701","1402157704"],"photo_ids_order":["1402157701","1402157703","1402157704","1402157707","1402157708","1402157709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a5b9f94473ff1db9fe615a5dd1a6c08.jpg","text":"TemporaryFile(/tmp/multipartBody2969827954854471415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359684666,"filename":"image_05112025_18_59_55_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/2/7ed9244ddbdb2c019f51d79ec3c9d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody7643349891431086268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359684666,"filename":"image_05112025_18_59_43_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/2/0ae2753e5ea2769718bf366801f5bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody2772372628871249623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359684666,"filename":"image_05112025_18_59_52_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/2/b45e6fc2a994840213530c93178cf55a.jpg","text":"TemporaryFile(/tmp/multipartBody4207956523133878946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359684666,"filename":"image_05112025_18_59_50_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/2/f4b84e9b9024c7c85ee3d48db5f0c53c.jpg","text":"TemporaryFile(/tmp/multipartBody5432189003722093474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359684666,"filename":"image_05112025_18_59_37_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/2/85beb7dfbcb40bbbbb181dc354ddc256.jpg","text":"TemporaryFile(/tmp/multipartBody9086883789316453642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359684666,"filename":"image_05112025_18_59_46_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157704","file1":"1402157703","file0":"1402157701","file4":"1402157708","file5":"1402157709","file3":"1402157707"},"map_files_photo_id_array":[{"photo_id":"1402157709","filename":"file5"},{"photo_id":"1402157704","filename":"file2"},{"photo_id":"1402157708","filename":"file4"},{"photo_id":"1402157703","filename":"file1"},{"photo_id":"1402157701","filename":"file0"},{"photo_id":"1402157707","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402157709":["hashtag1","hashtag2"]},{"1402157703":["hashtag1","hashtag2"]},{"1402157708":["hashtag1","hashtag2"]},{"1402157707":["hashtag1","hashtag2"]},{"1402157701":["hashtag1","hashtag2"]},{"1402157704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402157709, 1402157703, 1402157708, 1402157707, 1402157701, 1402157704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.574482679367065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:14:22.075994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_54_9805.jpg', '/home/pi/Desktop/images/02012026/13/17/image_02012026_13_18_04_9763.jpg', '/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_14_9778.jpg', '/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_24_10760.jpg', '/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_34_9791.jpg', '/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/17/image_02012026_13_17_54_9805.jpg
/home/pi/Desktop/images/02012026/13/17/image_02012026_13_18_04_9763.jpg
/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_14_9778.jpg
/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_24_10760.jpg
/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_34_9791.jpg
/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_44_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":["1402157726","1402157731","1402157713","1402157716","1402157724","1402157718"],"photo_ids_order":["1402157713","1402157716","1402157718","1402157724","1402157726","1402157731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e34bce1273f7865a56cc019a4669f883.jpg","text":"TemporaryFile(/tmp/multipartBody7194125104979747680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359722778,"filename":"image_02012026_13_18_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/2/022304245f810cd8784e6bdb7a734388.jpg","text":"TemporaryFile(/tmp/multipartBody6686549453827624372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359722778,"filename":"image_02012026_13_18_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/2/e9b059d790e1214813e9bed396af9793.jpg","text":"TemporaryFile(/tmp/multipartBody7121232484970322111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359722778,"filename":"image_02012026_13_17_54_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/2/7321e5d7e5704caef25761da0bf83f53.jpg","text":"TemporaryFile(/tmp/multipartBody2882019261586848666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359722778,"filename":"image_02012026_13_18_04_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/2/25acbf0a63090ad6c5613109c3faffb3.jpg","text":"TemporaryFile(/tmp/multipartBody458515512698709545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359722778,"filename":"image_02012026_13_18_24_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/2/af7449ca8f756f83c02f6881a52f5046.jpg","text":"TemporaryFile(/tmp/multipartBody6808399364807117461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359722778,"filename":"image_02012026_13_18_14_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157718","file1":"1402157716","file0":"1402157713","file4":"1402157726","file5":"1402157731","file3":"1402157724"},"map_files_photo_id_array":[{"photo_id":"1402157731","filename":"file5"},{"photo_id":"1402157718","filename":"file2"},{"photo_id":"1402157726","filename":"file4"},{"photo_id":"1402157716","filename":"file1"},{"photo_id":"1402157713","filename":"file0"},{"photo_id":"1402157724","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157726":["hashtag1","hashtag2"]},{"1402157731":["hashtag1","hashtag2"]},{"1402157713":["hashtag1","hashtag2"]},{"1402157716":["hashtag1","hashtag2"]},{"1402157724":["hashtag1","hashtag2"]},{"1402157718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157726, 1402157731, 1402157713, 1402157716, 1402157724, 1402157718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.924291133880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:15:02.718992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_54_9692.jpg', '/home/pi/Desktop/images/02012026/13/18/image_02012026_13_19_04_10858.jpg', '/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_14_9651.jpg', '/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_24_9850.jpg', '/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_34_9703.jpg', '/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_44_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/18/image_02012026_13_18_54_9692.jpg
/home/pi/Desktop/images/02012026/13/18/image_02012026_13_19_04_10858.jpg
/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_14_9651.jpg
/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_24_9850.jpg
/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_34_9703.jpg
/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_44_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402157733","1402157735","1402157738","1402157740","1402157737","1402157736"],"photo_ids_order":["1402157733","1402157735","1402157736","1402157737","1402157738","1402157740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5388f13e41c9ba2b1d391164fe25c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3537670147846280820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359763548,"filename":"image_02012026_13_18_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/2/e38ee2ea7e486d07e0d2b3ef9082083a.jpg","text":"TemporaryFile(/tmp/multipartBody4331417673543039680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359763548,"filename":"image_02012026_13_19_04_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/2/17d442dcc5f18e794935b78f3ba1866b.jpg","text":"TemporaryFile(/tmp/multipartBody3463147563358712649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359763548,"filename":"image_02012026_13_19_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/2/d9e9bc99e3914bbd5df5622c24991ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3618406892234783694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359763548,"filename":"image_02012026_13_19_44_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/2/3c5936183defa49ebb56bcaf08338731.jpg","text":"TemporaryFile(/tmp/multipartBody1862237518714072748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359763548,"filename":"image_02012026_13_19_24_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/2/3784dea8e40ec61c71b8dedb27da0674.jpg","text":"TemporaryFile(/tmp/multipartBody1276509144374659165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359763548,"filename":"image_02012026_13_19_14_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157736","file1":"1402157735","file0":"1402157733","file4":"1402157738","file5":"1402157740","file3":"1402157737"},"map_files_photo_id_array":[{"photo_id":"1402157740","filename":"file5"},{"photo_id":"1402157736","filename":"file2"},{"photo_id":"1402157738","filename":"file4"},{"photo_id":"1402157735","filename":"file1"},{"photo_id":"1402157733","filename":"file0"},{"photo_id":"1402157737","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157733":["hashtag1","hashtag2"]},{"1402157735":["hashtag1","hashtag2"]},{"1402157738":["hashtag1","hashtag2"]},{"1402157740":["hashtag1","hashtag2"]},{"1402157737":["hashtag1","hashtag2"]},{"1402157736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157733, 1402157735, 1402157738, 1402157740, 1402157737, 1402157736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52690243721008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:15:42.146391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_58_2687.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_08_3010.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_12_3696.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_14_2720.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_17_2670.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_21_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/18/59/image_05112025_18_59_58_2687.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_08_3010.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_12_3696.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_14_2720.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_17_2670.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_21_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":["1402157783","1402157785","1402157779","1402157770","1402157764","1402157784"],"photo_ids_order":["1402157764","1402157770","1402157779","1402157783","1402157784","1402157785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3fd3597a17d46d20af360ec3adb0a682.jpg","text":"TemporaryFile(/tmp/multipartBody3205132835419427749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359804054,"filename":"image_05112025_19_00_14_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/2/92b396cd42f34511d3bad6cef74aed94.jpg","text":"TemporaryFile(/tmp/multipartBody523772229484481161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359804054,"filename":"image_05112025_19_00_21_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/2/fb8006a4f4cac04b646f652a015b03dd.jpg","text":"TemporaryFile(/tmp/multipartBody5190250014860159706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359804054,"filename":"image_05112025_19_00_12_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6689ef617ffa4328f251bac87f5be3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2079041710943522838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359804054,"filename":"image_05112025_19_00_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/2/6f4cf9814eb6870305bc6ac4c084cc67.jpg","text":"TemporaryFile(/tmp/multipartBody6271704713188446248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359804054,"filename":"image_05112025_18_59_58_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/2/16c96ec322f0d35c4d2c6e3e90c17647.jpg","text":"TemporaryFile(/tmp/multipartBody3540095610436141576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359804054,"filename":"image_05112025_19_00_17_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157779","file1":"1402157770","file0":"1402157764","file4":"1402157784","file5":"1402157785","file3":"1402157783"},"map_files_photo_id_array":[{"photo_id":"1402157785","filename":"file5"},{"photo_id":"1402157779","filename":"file2"},{"photo_id":"1402157784","filename":"file4"},{"photo_id":"1402157770","filename":"file1"},{"photo_id":"1402157764","filename":"file0"},{"photo_id":"1402157783","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402157783":["hashtag1","hashtag2"]},{"1402157785":["hashtag1","hashtag2"]},{"1402157779":["hashtag1","hashtag2"]},{"1402157770":["hashtag1","hashtag2"]},{"1402157764":["hashtag1","hashtag2"]},{"1402157784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402157783, 1402157785, 1402157779, 1402157770, 1402157764, 1402157784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.836353063583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:16:22.285043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_54_9799.jpg', '/home/pi/Desktop/images/02012026/13/19/image_02012026_13_20_04_9831.jpg', '/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_14_9621.jpg', '/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_24_10669.jpg', '/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_34_9881.jpg', '/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/19/image_02012026_13_19_54_9799.jpg
/home/pi/Desktop/images/02012026/13/19/image_02012026_13_20_04_9831.jpg
/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_14_9621.jpg
/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_24_10669.jpg
/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_34_9881.jpg
/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_44_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":["1402157904","1402157896","1402157812","1402157898","1402157886","1402157835"],"photo_ids_order":["1402157812","1402157835","1402157886","1402157896","1402157898","1402157904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/138fdb95c7e78df237af154ac6c9415a.jpg","text":"TemporaryFile(/tmp/multipartBody6067940374107696570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359842990,"filename":"image_02012026_13_20_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/2/a2f0cefccea69a62bd36ce4507252d91.jpg","text":"TemporaryFile(/tmp/multipartBody1831768106120385287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359842990,"filename":"image_02012026_13_20_24_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/2/2214950bdba1a281174fc2b36dcc51cc.jpg","text":"TemporaryFile(/tmp/multipartBody3967014476681116294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359842990,"filename":"image_02012026_13_19_54_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/2/f844a251c848e76755a6028ab3ed5124.jpg","text":"TemporaryFile(/tmp/multipartBody6064300995177786614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359842990,"filename":"image_02012026_13_20_34_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/2/92901592bfc7a0658b95babece16532f.jpg","text":"TemporaryFile(/tmp/multipartBody2410193156543080412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359842990,"filename":"image_02012026_13_20_14_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/2/32b41d19ac7f4da9f16369bd04120eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3071212066896779391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359842990,"filename":"image_02012026_13_20_04_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157886","file1":"1402157835","file0":"1402157812","file4":"1402157898","file5":"1402157904","file3":"1402157896"},"map_files_photo_id_array":[{"photo_id":"1402157904","filename":"file5"},{"photo_id":"1402157886","filename":"file2"},{"photo_id":"1402157898","filename":"file4"},{"photo_id":"1402157835","filename":"file1"},{"photo_id":"1402157812","filename":"file0"},{"photo_id":"1402157896","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157904":["hashtag1","hashtag2"]},{"1402157896":["hashtag1","hashtag2"]},{"1402157812":["hashtag1","hashtag2"]},{"1402157898":["hashtag1","hashtag2"]},{"1402157886":["hashtag1","hashtag2"]},{"1402157835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157904, 1402157896, 1402157812, 1402157898, 1402157886, 1402157835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.852904319763184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:17:03.225360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_54_9810.jpg', '/home/pi/Desktop/images/02012026/13/20/image_02012026_13_21_04_9850.jpg', '/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_14_10615.jpg', '/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_24_9643.jpg', '/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_34_9756.jpg', '/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_44_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/20/image_02012026_13_20_54_9810.jpg
/home/pi/Desktop/images/02012026/13/20/image_02012026_13_21_04_9850.jpg
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_14_10615.jpg
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_24_9643.jpg
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_34_9756.jpg
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_44_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402157939","1402157933","1402157912","1402157936","1402157935","1402157920"],"photo_ids_order":["1402157912","1402157920","1402157933","1402157935","1402157936","1402157939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e1139d09522654f861fa49a0527cd4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1407653257684256061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359883983,"filename":"image_02012026_13_21_44_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/2/a5284634b2b54512537e8e88e4d39db1.jpg","text":"TemporaryFile(/tmp/multipartBody6409533688546423667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359883983,"filename":"image_02012026_13_21_14_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/2/2e9dde3f706bed43680f340c8c89c4bd.jpg","text":"TemporaryFile(/tmp/multipartBody447646709794792154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359883983,"filename":"image_02012026_13_20_54_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/2/b6edc30fd4a3c73cbf0bdd9d78e50b84.jpg","text":"TemporaryFile(/tmp/multipartBody2236234615137742046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359883983,"filename":"image_02012026_13_21_34_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/2/951414750a03d1140bb9bbfae6b3518d.jpg","text":"TemporaryFile(/tmp/multipartBody4682398558108710502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359883983,"filename":"image_02012026_13_21_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/2/a1da300e15a3e78eef16f1835a66e38a.jpg","text":"TemporaryFile(/tmp/multipartBody4751209547129074408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359883983,"filename":"image_02012026_13_21_04_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402157933","file1":"1402157920","file0":"1402157912","file4":"1402157936","file5":"1402157939","file3":"1402157935"},"map_files_photo_id_array":[{"photo_id":"1402157939","filename":"file5"},{"photo_id":"1402157933","filename":"file2"},{"photo_id":"1402157936","filename":"file4"},{"photo_id":"1402157920","filename":"file1"},{"photo_id":"1402157912","filename":"file0"},{"photo_id":"1402157935","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402157939":["hashtag1","hashtag2"]},{"1402157933":["hashtag1","hashtag2"]},{"1402157912":["hashtag1","hashtag2"]},{"1402157936":["hashtag1","hashtag2"]},{"1402157935":["hashtag1","hashtag2"]},{"1402157920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402157939, 1402157933, 1402157912, 1402157936, 1402157935, 1402157920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04128432273865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:17:42.613423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_23_2668.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_26_2698.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_30_3619.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_32_2549.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_36_3557.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_38_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_23_2668.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_26_2698.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_30_3619.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_32_2549.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_36_3557.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_38_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":["1402158077","1402158152","1402158124","1402158127","1402158112","1402158135"],"photo_ids_order":["1402158077","1402158112","1402158124","1402158127","1402158135","1402158152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d3912042f93cb0a68e8d1763cc5944ad.jpg","text":"TemporaryFile(/tmp/multipartBody7915032723382256146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359924501,"filename":"image_05112025_19_00_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/2/91b084991051002f8b1c801fd429bed4.jpg","text":"TemporaryFile(/tmp/multipartBody8286901105711048422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359924501,"filename":"image_05112025_19_00_38_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/2/50a5e48cdc662eef5e75c06715b035cd.jpg","text":"TemporaryFile(/tmp/multipartBody593181184304077145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359924501,"filename":"image_05112025_19_00_30_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/2/e3f910de9ef164841f9cbbb1aad737a4.jpg","text":"TemporaryFile(/tmp/multipartBody4399685024299745368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359924501,"filename":"image_05112025_19_00_32_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/2/04527198d3232a76647ec9587898ff2c.jpg","text":"TemporaryFile(/tmp/multipartBody6015302357205465005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359924501,"filename":"image_05112025_19_00_26_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/2/139a2e49d27a826aa3c5581c952b19d7.jpg","text":"TemporaryFile(/tmp/multipartBody7984765704261903990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359924501,"filename":"image_05112025_19_00_36_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158124","file1":"1402158112","file0":"1402158077","file4":"1402158135","file5":"1402158152","file3":"1402158127"},"map_files_photo_id_array":[{"photo_id":"1402158152","filename":"file5"},{"photo_id":"1402158124","filename":"file2"},{"photo_id":"1402158135","filename":"file4"},{"photo_id":"1402158112","filename":"file1"},{"photo_id":"1402158077","filename":"file0"},{"photo_id":"1402158127","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158077":["hashtag1","hashtag2"]},{"1402158152":["hashtag1","hashtag2"]},{"1402158124":["hashtag1","hashtag2"]},{"1402158127":["hashtag1","hashtag2"]},{"1402158112":["hashtag1","hashtag2"]},{"1402158135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158077, 1402158152, 1402158124, 1402158127, 1402158112, 1402158135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32525444030762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:18:22.824254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_54_9814.jpg', '/home/pi/Desktop/images/02012026/13/21/image_02012026_13_22_04_9741.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_14_9794.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_24_10696.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_34_9873.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_54_9814.jpg
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_22_04_9741.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_14_9794.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_24_10696.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_34_9873.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_44_9639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.58056640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:18:32.772255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_41_2691.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_44_2929.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_48_3661.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_50_2791.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_53_2686.jpg', '/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_56_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_41_2691.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_44_2929.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_48_3661.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_50_2791.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_53_2686.jpg
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_00_56_2849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158236","1402158224","1402158221","1402158217","1402158226","1402158214"],"photo_ids_order":["1402158214","1402158217","1402158221","1402158224","1402158226","1402158236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/07fcf8d8c4bef149a71953132023bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody793149938038130037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359974689,"filename":"image_05112025_19_00_56_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d0083999b00ad30dfebec6cff9bd9657.jpg","text":"TemporaryFile(/tmp/multipartBody5741199360535529250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359974689,"filename":"image_05112025_19_00_50_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/2/c57b3bf02c254a1ddfb5ce3c1bcaf521.jpg","text":"TemporaryFile(/tmp/multipartBody8666061894348255961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359974689,"filename":"image_05112025_19_00_48_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/2/02f08799451c1caf809d3ca0b06c855c.jpg","text":"TemporaryFile(/tmp/multipartBody6318233969468274061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359974689,"filename":"image_05112025_19_00_44_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75bb51aef43d747f3cd404459747d902.jpg","text":"TemporaryFile(/tmp/multipartBody5259766721095937564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359974689,"filename":"image_05112025_19_00_53_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/2/cac23e4ecd57a0bef171c33559e5b0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7064556039387603744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767359974689,"filename":"image_05112025_19_00_41_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158221","file1":"1402158217","file0":"1402158214","file4":"1402158226","file5":"1402158236","file3":"1402158224"},"map_files_photo_id_array":[{"photo_id":"1402158236","filename":"file5"},{"photo_id":"1402158221","filename":"file2"},{"photo_id":"1402158226","filename":"file4"},{"photo_id":"1402158217","filename":"file1"},{"photo_id":"1402158214","filename":"file0"},{"photo_id":"1402158224","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158236":["hashtag1","hashtag2"]},{"1402158224":["hashtag1","hashtag2"]},{"1402158221":["hashtag1","hashtag2"]},{"1402158217":["hashtag1","hashtag2"]},{"1402158226":["hashtag1","hashtag2"]},{"1402158214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158236, 1402158224, 1402158221, 1402158217, 1402158226, 1402158214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12196397781372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:19:11.996336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/00/image_05112025_19_01_00_3677.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_02_2743.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_05_2566.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_09_3680.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_11_2659.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_14_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/00/image_05112025_19_01_00_3677.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_02_2743.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_05_2566.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_09_3680.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_11_2659.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_14_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":["1402158338","1402158332","1402158340","1402158334","1402158343","1402158336"],"photo_ids_order":["1402158332","1402158334","1402158336","1402158338","1402158340","1402158343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4fb7356c12601b8ee7f8dd60913d53e2.jpg","text":"TemporaryFile(/tmp/multipartBody5975311430850602987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360013775,"filename":"image_05112025_19_01_09_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/2/cfaa0184f82559a33bdd80d7d1391958.jpg","text":"TemporaryFile(/tmp/multipartBody6533513401833127242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360013775,"filename":"image_05112025_19_01_00_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/2/22c470e9ccfc3d24e505e1e12aec4f09.jpg","text":"TemporaryFile(/tmp/multipartBody5094198842298778210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360013775,"filename":"image_05112025_19_01_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/2/cb8df3a75e22862e051b37ee3e87fd47.jpg","text":"TemporaryFile(/tmp/multipartBody7579414890989000478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360013775,"filename":"image_05112025_19_01_02_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/2/a4c94e7500400bb88e159c53bc1a3216.jpg","text":"TemporaryFile(/tmp/multipartBody8484578525761101697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360013775,"filename":"image_05112025_19_01_14_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/2/2dc06cf512f1937bb5cf45f7da98f98c.jpg","text":"TemporaryFile(/tmp/multipartBody3259571117008839650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360013775,"filename":"image_05112025_19_01_05_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158336","file1":"1402158334","file0":"1402158332","file4":"1402158340","file5":"1402158343","file3":"1402158338"},"map_files_photo_id_array":[{"photo_id":"1402158343","filename":"file5"},{"photo_id":"1402158336","filename":"file2"},{"photo_id":"1402158340","filename":"file4"},{"photo_id":"1402158334","filename":"file1"},{"photo_id":"1402158332","filename":"file0"},{"photo_id":"1402158338","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158338":["hashtag1","hashtag2"]},{"1402158332":["hashtag1","hashtag2"]},{"1402158340":["hashtag1","hashtag2"]},{"1402158334":["hashtag1","hashtag2"]},{"1402158343":["hashtag1","hashtag2"]},{"1402158336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158338, 1402158332, 1402158340, 1402158334, 1402158343, 1402158336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.752559423446655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:20:02.401868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_54_9814.jpg', '/home/pi/Desktop/images/02012026/13/21/image_02012026_13_22_04_9741.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_14_9794.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_24_10696.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_34_9873.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_21_54_9814.jpg
/home/pi/Desktop/images/02012026/13/21/image_02012026_13_22_04_9741.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_14_9794.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_24_10696.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_34_9873.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158356","1402158347","1402158358","1402158349","1402158360","1402158354"],"photo_ids_order":["1402158347","1402158349","1402158354","1402158356","1402158358","1402158360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/40260fc3e7a7a8b93efb7a7b45bb2a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3291207323152936809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360063207,"filename":"image_02012026_13_22_24_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/2/a092e058b28c413016a5981060ee8635.jpg","text":"TemporaryFile(/tmp/multipartBody1985755183575261829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360063207,"filename":"image_02012026_13_21_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/2/49f39ee21053c300fa1bbea97b175f13.jpg","text":"TemporaryFile(/tmp/multipartBody7168132142593747572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360063207,"filename":"image_02012026_13_22_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/2/b6042a865fb279570807aa3ec08b2674.jpg","text":"TemporaryFile(/tmp/multipartBody506751255103903671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360063207,"filename":"image_02012026_13_22_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/2/20e5734daf9f312587a172b7a18ef3d0.jpg","text":"TemporaryFile(/tmp/multipartBody5409989063012383054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360063207,"filename":"image_02012026_13_22_44_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/2/ae0c548904d420c8b0171d9f6a9ff8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8521317070743161801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360063207,"filename":"image_02012026_13_22_14_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158354","file1":"1402158349","file0":"1402158347","file4":"1402158358","file5":"1402158360","file3":"1402158356"},"map_files_photo_id_array":[{"photo_id":"1402158360","filename":"file5"},{"photo_id":"1402158354","filename":"file2"},{"photo_id":"1402158358","filename":"file4"},{"photo_id":"1402158349","filename":"file1"},{"photo_id":"1402158347","filename":"file0"},{"photo_id":"1402158356","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158356":["hashtag1","hashtag2"]},{"1402158347":["hashtag1","hashtag2"]},{"1402158358":["hashtag1","hashtag2"]},{"1402158349":["hashtag1","hashtag2"]},{"1402158360":["hashtag1","hashtag2"]},{"1402158354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158356, 1402158347, 1402158358, 1402158349, 1402158360, 1402158354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12280011177063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:20:42.029094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_18_3649.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_20_2744.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_29_2609.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_32_2694.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_35_2869.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_38_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_18_3649.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_20_2744.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_29_2609.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_32_2694.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_35_2869.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_38_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158472","1402158427","1402158403","1402158406","1402158465","1402158459"],"photo_ids_order":["1402158403","1402158406","1402158427","1402158459","1402158465","1402158472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/04cabfa528821f38036aee9a61029bce.jpg","text":"TemporaryFile(/tmp/multipartBody1465055369171847413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360103803,"filename":"image_05112025_19_01_38_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/2/9108fdd36cadfa64f7cc232a4d7c3e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8605416171350947173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360103803,"filename":"image_05112025_19_01_29_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/2/ab18109adebc223493158f9296abc960.jpg","text":"TemporaryFile(/tmp/multipartBody4944829924977376122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360103803,"filename":"image_05112025_19_01_18_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/2/0e75966b76cb3554310059f772a0283f.jpg","text":"TemporaryFile(/tmp/multipartBody4631057747574398828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360103803,"filename":"image_05112025_19_01_20_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/2/75fef6ec2dcf7e18dafd8f949d31b73c.jpg","text":"TemporaryFile(/tmp/multipartBody7519752759936676756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360103803,"filename":"image_05112025_19_01_35_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9cc4373e4e466bef5609b6e079b00b01.jpg","text":"TemporaryFile(/tmp/multipartBody5479722230606513139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360103803,"filename":"image_05112025_19_01_32_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158427","file1":"1402158406","file0":"1402158403","file4":"1402158465","file5":"1402158472","file3":"1402158459"},"map_files_photo_id_array":[{"photo_id":"1402158472","filename":"file5"},{"photo_id":"1402158427","filename":"file2"},{"photo_id":"1402158465","filename":"file4"},{"photo_id":"1402158406","filename":"file1"},{"photo_id":"1402158403","filename":"file0"},{"photo_id":"1402158459","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158472":["hashtag1","hashtag2"]},{"1402158427":["hashtag1","hashtag2"]},{"1402158403":["hashtag1","hashtag2"]},{"1402158406":["hashtag1","hashtag2"]},{"1402158465":["hashtag1","hashtag2"]},{"1402158459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158472, 1402158427, 1402158403, 1402158406, 1402158465, 1402158459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2535355091095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:21:22.356114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_54_9870.jpg', '/home/pi/Desktop/images/02012026/13/22/image_02012026_13_23_04_9836.jpg', '/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_15_11057.jpg', '/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_24_9742.jpg', '/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_36_11596.jpg', '/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_44_7679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_22_54_9870.jpg
/home/pi/Desktop/images/02012026/13/22/image_02012026_13_23_04_9836.jpg
/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_15_11057.jpg
/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_24_9742.jpg
/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_36_11596.jpg
/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_44_7679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158572","1402158500","1402158607","1402158502","1402158498","1402158537"],"photo_ids_order":["1402158498","1402158500","1402158502","1402158537","1402158572","1402158607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9dac3ecb0a8e15a0f9d3c3e58791b914.jpg","text":"TemporaryFile(/tmp/multipartBody759350478561221015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360143038,"filename":"image_02012026_13_23_36_11596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9d0ee4349edb98948a5dbc1bb7dc69fe.jpg","text":"TemporaryFile(/tmp/multipartBody7536184954178007097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360143038,"filename":"image_02012026_13_23_04_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/2/6caa4ad7ea90b889c1e1b23403a30394.jpg","text":"TemporaryFile(/tmp/multipartBody7653536634137724404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360143038,"filename":"image_02012026_13_23_44_7679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36b0fbeeef913e8d9aad4585e93f8d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2605963629017876928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360143038,"filename":"image_02012026_13_23_15_11057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d87abedacf0e360b777e9cfc0dbb90a7.jpg","text":"TemporaryFile(/tmp/multipartBody516782594355969972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360143038,"filename":"image_02012026_13_22_54_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/2/368feb6ab6871da999a8c2829ad00a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6009468534343079648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360143038,"filename":"image_02012026_13_23_24_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158502","file1":"1402158500","file0":"1402158498","file4":"1402158572","file5":"1402158607","file3":"1402158537"},"map_files_photo_id_array":[{"photo_id":"1402158607","filename":"file5"},{"photo_id":"1402158502","filename":"file2"},{"photo_id":"1402158572","filename":"file4"},{"photo_id":"1402158500","filename":"file1"},{"photo_id":"1402158498","filename":"file0"},{"photo_id":"1402158537","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158572":["hashtag1","hashtag2"]},{"1402158500":["hashtag1","hashtag2"]},{"1402158607":["hashtag1","hashtag2"]},{"1402158502":["hashtag1","hashtag2"]},{"1402158498":["hashtag1","hashtag2"]},{"1402158537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158572, 1402158500, 1402158607, 1402158502, 1402158498, 1402158537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.014365673065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:22:03.055471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 14:22:12.593779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_41_2799.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_44_2625.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_48_3914.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_50_2610.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_57_3619.jpg', '/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_59_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_41_2799.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_44_2625.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_48_3914.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_50_2610.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_57_3619.jpg
/home/pi/Desktop/images/05112025/19/01/image_05112025_19_01_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":["1402158629","1402158638","1402158631","1402158636","1402158624","1402158627"],"photo_ids_order":["1402158624","1402158627","1402158629","1402158631","1402158636","1402158638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1c4584daa046ae61493471fd6cd9360f.jpg","text":"TemporaryFile(/tmp/multipartBody7102846931638685867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360197550,"filename":"image_05112025_19_01_48_3914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ef8e8d829116e1f6a42ca8d197874a7.jpg","text":"TemporaryFile(/tmp/multipartBody6942285952556030935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360197550,"filename":"image_05112025_19_01_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/2/ac92d38d4611be3b20a83aacf22ae8b0.jpg","text":"TemporaryFile(/tmp/multipartBody3874964380044235548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360197550,"filename":"image_05112025_19_01_50_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/2/07038b80e82792194eac5bfb45340d94.jpg","text":"TemporaryFile(/tmp/multipartBody2504173586878526019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360197550,"filename":"image_05112025_19_01_57_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/2/dc1bac3130668fa83d700e64ede166f5.jpg","text":"TemporaryFile(/tmp/multipartBody6416152906143456268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360197550,"filename":"image_05112025_19_01_41_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/2/9531887eb95f166e05f1af5848ef8c56.jpg","text":"TemporaryFile(/tmp/multipartBody1037142405104968368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360197550,"filename":"image_05112025_19_01_44_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158629","file1":"1402158627","file0":"1402158624","file4":"1402158636","file5":"1402158638","file3":"1402158631"},"map_files_photo_id_array":[{"photo_id":"1402158638","filename":"file5"},{"photo_id":"1402158629","filename":"file2"},{"photo_id":"1402158636","filename":"file4"},{"photo_id":"1402158627","filename":"file1"},{"photo_id":"1402158624","filename":"file0"},{"photo_id":"1402158631","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158629":["hashtag1","hashtag2"]},{"1402158638":["hashtag1","hashtag2"]},{"1402158631":["hashtag1","hashtag2"]},{"1402158636":["hashtag1","hashtag2"]},{"1402158624":["hashtag1","hashtag2"]},{"1402158627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158629, 1402158638, 1402158631, 1402158636, 1402158624, 1402158627)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.17069983482361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:23:11.849591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_02_2533.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_08_2559.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_12_3575.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_14_2682.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_17_2792.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_21_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_02_2533.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_08_2559.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_12_3575.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_14_2682.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_17_2792.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_21_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158644","1402158647","1402158656","1402158658","1402158654","1402158651"],"photo_ids_order":["1402158644","1402158647","1402158651","1402158654","1402158656","1402158658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/82c6635dd326948507ebd024737acee5.jpg","text":"TemporaryFile(/tmp/multipartBody5416914423074892901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360253798,"filename":"image_05112025_19_02_02_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/2/a6e4beec38bfecfadbdaacaabf2a9ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5780899745763370785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360253798,"filename":"image_05112025_19_02_08_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/2/6833cb5f2343cdd34e38184256a75c25.jpg","text":"TemporaryFile(/tmp/multipartBody477977688699020085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360253798,"filename":"image_05112025_19_02_17_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/2/7637e0c191d0658daf3a34c40c1a3b21.jpg","text":"TemporaryFile(/tmp/multipartBody6540026952535932527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360253798,"filename":"image_05112025_19_02_21_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/2/affb408bb9b5363336be61e58b8a9a59.jpg","text":"TemporaryFile(/tmp/multipartBody4600674415148290960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360253798,"filename":"image_05112025_19_02_14_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/2/ad6683356ad2e461cd50d77133a99be9.jpg","text":"TemporaryFile(/tmp/multipartBody2161769964142970379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360253798,"filename":"image_05112025_19_02_12_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158651","file1":"1402158647","file0":"1402158644","file4":"1402158656","file5":"1402158658","file3":"1402158654"},"map_files_photo_id_array":[{"photo_id":"1402158658","filename":"file5"},{"photo_id":"1402158651","filename":"file2"},{"photo_id":"1402158656","filename":"file4"},{"photo_id":"1402158647","filename":"file1"},{"photo_id":"1402158644","filename":"file0"},{"photo_id":"1402158654","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158644":["hashtag1","hashtag2"]},{"1402158647":["hashtag1","hashtag2"]},{"1402158656":["hashtag1","hashtag2"]},{"1402158658":["hashtag1","hashtag2"]},{"1402158654":["hashtag1","hashtag2"]},{"1402158651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158644, 1402158647, 1402158656, 1402158658, 1402158654, 1402158651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6152765750885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:24:04.224494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_54_10624.jpg', '/home/pi/Desktop/images/02012026/13/23/image_02012026_13_24_04_9742.jpg', '/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_14_9673.jpg', '/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_24_10691.jpg', '/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_34_9772.jpg', '/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_44_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/23/image_02012026_13_23_54_10624.jpg
/home/pi/Desktop/images/02012026/13/23/image_02012026_13_24_04_9742.jpg
/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_14_9673.jpg
/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_24_10691.jpg
/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_34_9772.jpg
/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_44_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158673","1402158676","1402158664","1402158666","1402158669","1402158662"],"photo_ids_order":["1402158662","1402158664","1402158666","1402158669","1402158673","1402158676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57f4f06019bf31818dfde48823df5c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6785575555117123661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360304950,"filename":"image_02012026_13_24_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/2/31cddcde4edba6c107d51dbf22cdebc0.jpg","text":"TemporaryFile(/tmp/multipartBody5834492918679655521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360304950,"filename":"image_02012026_13_24_44_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/2/736cd99fe3ed16529a1654b5a8b7a945.jpg","text":"TemporaryFile(/tmp/multipartBody3907699098915135192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360304950,"filename":"image_02012026_13_24_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/2/61e194b8d8df6a4c92cac09afc5212e8.jpg","text":"TemporaryFile(/tmp/multipartBody8600842528321964862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360304950,"filename":"image_02012026_13_24_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/2/cd1ddaf89e08efadd71f0dd0a9cd6efc.jpg","text":"TemporaryFile(/tmp/multipartBody3476146840789905064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360304950,"filename":"image_02012026_13_24_24_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/2/c053114c6b9715c6e4dad5e712b18cf7.jpg","text":"TemporaryFile(/tmp/multipartBody130328536106838942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360304950,"filename":"image_02012026_13_23_54_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158666","file1":"1402158664","file0":"1402158662","file4":"1402158673","file5":"1402158676","file3":"1402158669"},"map_files_photo_id_array":[{"photo_id":"1402158676","filename":"file5"},{"photo_id":"1402158666","filename":"file2"},{"photo_id":"1402158673","filename":"file4"},{"photo_id":"1402158664","filename":"file1"},{"photo_id":"1402158662","filename":"file0"},{"photo_id":"1402158669","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158673":["hashtag1","hashtag2"]},{"1402158676":["hashtag1","hashtag2"]},{"1402158664":["hashtag1","hashtag2"]},{"1402158666":["hashtag1","hashtag2"]},{"1402158669":["hashtag1","hashtag2"]},{"1402158662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158673, 1402158676, 1402158664, 1402158666, 1402158669, 1402158662)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.20871567726135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:25:05.378716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_54_9868.jpg', '/home/pi/Desktop/images/02012026/13/24/image_02012026_13_25_04_9741.jpg', '/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_14_10790.jpg', '/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_24_9666.jpg', '/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_34_9666.jpg', '/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_54_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/24/image_02012026_13_24_54_9868.jpg
/home/pi/Desktop/images/02012026/13/24/image_02012026_13_25_04_9741.jpg
/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_14_10790.jpg
/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_24_9666.jpg
/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_34_9666.jpg
/home/pi/Desktop/images/02012026/13/25/image_02012026_13_25_54_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158692","1402158697","1402158699","1402158687","1402158695","1402158689"],"photo_ids_order":["1402158687","1402158689","1402158692","1402158695","1402158697","1402158699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f337490c73ec8cd41d144afc106c458.jpg","text":"TemporaryFile(/tmp/multipartBody1159527592643487955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360370736,"filename":"image_02012026_13_25_14_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/2/da25e2c0673a324c0f4e2ee821eb294e.jpg","text":"TemporaryFile(/tmp/multipartBody3646613673546885944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360370736,"filename":"image_02012026_13_25_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/2/a85f9e5d22ff8afc16397f1c184929fe.jpg","text":"TemporaryFile(/tmp/multipartBody3550365198145464265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360370736,"filename":"image_02012026_13_25_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/2/ed07ae4c5339c7d639b1819413842083.jpg","text":"TemporaryFile(/tmp/multipartBody1935444593260807425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360370736,"filename":"image_02012026_13_24_54_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/2/f41637c7bbbf94815fba520129324ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1040132230466783212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360370736,"filename":"image_02012026_13_25_24_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/2/3d62c322fb8ffba5d0cd939428d59b4f.jpg","text":"TemporaryFile(/tmp/multipartBody3610269375611596819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360370736,"filename":"image_02012026_13_25_04_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158692","file1":"1402158689","file0":"1402158687","file4":"1402158697","file5":"1402158699","file3":"1402158695"},"map_files_photo_id_array":[{"photo_id":"1402158699","filename":"file5"},{"photo_id":"1402158692","filename":"file2"},{"photo_id":"1402158697","filename":"file4"},{"photo_id":"1402158689","filename":"file1"},{"photo_id":"1402158687","filename":"file0"},{"photo_id":"1402158695","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158692":["hashtag1","hashtag2"]},{"1402158697":["hashtag1","hashtag2"]},{"1402158699":["hashtag1","hashtag2"]},{"1402158687":["hashtag1","hashtag2"]},{"1402158695":["hashtag1","hashtag2"]},{"1402158689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158692, 1402158697, 1402158699, 1402158687, 1402158695, 1402158689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.723243951797485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:26:02.520390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 14:26:12.121854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_23_2707.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_26_2552.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_29_2776.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_32_3589.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_35_2611.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_38_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_23_2707.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_26_2552.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_29_2776.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_32_3589.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_35_2611.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_38_2732.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":["1402158713","1402158722","1402158716","1402158719","1402158724","1402158711"],"photo_ids_order":["1402158711","1402158713","1402158716","1402158719","1402158722","1402158724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c7d60aabd0128f364f8be1815e5a192.jpg","text":"TemporaryFile(/tmp/multipartBody8644436849481817647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360448707,"filename":"image_05112025_19_02_26_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/2/55a4acbdc39e8caf5ddddd4d9c4bc8b7.jpg","text":"TemporaryFile(/tmp/multipartBody3412132305825367561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360448707,"filename":"image_05112025_19_02_35_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/2/db5326d6f340512200020e3b6613274d.jpg","text":"TemporaryFile(/tmp/multipartBody3467024679017854064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360448707,"filename":"image_05112025_19_02_29_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/2/478e2002d08ec07356774bb21b6c645c.jpg","text":"TemporaryFile(/tmp/multipartBody607860163622738894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360448707,"filename":"image_05112025_19_02_32_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/2/e610e063f70aad55d01ee69bcb1251b5.jpg","text":"TemporaryFile(/tmp/multipartBody5294874668364513302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360448707,"filename":"image_05112025_19_02_38_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/2/1b8c6d121ee6f1935de0a6d8c753438d.jpg","text":"TemporaryFile(/tmp/multipartBody8971485961891645345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360448707,"filename":"image_05112025_19_02_23_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158716","file1":"1402158713","file0":"1402158711","file4":"1402158722","file5":"1402158724","file3":"1402158719"},"map_files_photo_id_array":[{"photo_id":"1402158724","filename":"file5"},{"photo_id":"1402158716","filename":"file2"},{"photo_id":"1402158722","filename":"file4"},{"photo_id":"1402158713","filename":"file1"},{"photo_id":"1402158711","filename":"file0"},{"photo_id":"1402158719","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158713":["hashtag1","hashtag2"]},{"1402158722":["hashtag1","hashtag2"]},{"1402158716":["hashtag1","hashtag2"]},{"1402158719":["hashtag1","hashtag2"]},{"1402158724":["hashtag1","hashtag2"]},{"1402158711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158713, 1402158722, 1402158716, 1402158719, 1402158724, 1402158711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.054965019226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:27:12.249307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_41_3722.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_44_2809.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_47_2678.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_50_3650.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_56_2715.jpg', '/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_59_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_41_3722.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_44_2809.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_47_2678.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_50_3650.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_56_2715.jpg
/home/pi/Desktop/images/05112025/19/02/image_05112025_19_02_59_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158740","1402158734","1402158736","1402158730","1402158727","1402158738"],"photo_ids_order":["1402158727","1402158730","1402158734","1402158736","1402158738","1402158740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6199e57a7cfb3279aef5b8edbcbc99fd.jpg","text":"TemporaryFile(/tmp/multipartBody3656838264112114482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360494188,"filename":"image_05112025_19_02_59_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/2/129d97cddb33099879a93afb9396c955.jpg","text":"TemporaryFile(/tmp/multipartBody7064454398825459946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360494188,"filename":"image_05112025_19_02_47_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/2/cd516692bb7816887bdeda16dfcf651f.jpg","text":"TemporaryFile(/tmp/multipartBody2392770038083021893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360494188,"filename":"image_05112025_19_02_50_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/2/41136610863ae527109144328090d94f.jpg","text":"TemporaryFile(/tmp/multipartBody1504816629945415396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360494188,"filename":"image_05112025_19_02_44_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/2/63053a4b42bab605251fbc2f75535fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6875503463637740425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360494188,"filename":"image_05112025_19_02_41_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/2/bc8f8fdaa089c20853e2e39e06dd29c0.jpg","text":"TemporaryFile(/tmp/multipartBody6774567762872232910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360494188,"filename":"image_05112025_19_02_56_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158734","file1":"1402158730","file0":"1402158727","file4":"1402158738","file5":"1402158740","file3":"1402158736"},"map_files_photo_id_array":[{"photo_id":"1402158740","filename":"file5"},{"photo_id":"1402158734","filename":"file2"},{"photo_id":"1402158738","filename":"file4"},{"photo_id":"1402158730","filename":"file1"},{"photo_id":"1402158727","filename":"file0"},{"photo_id":"1402158736","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158740":["hashtag1","hashtag2"]},{"1402158734":["hashtag1","hashtag2"]},{"1402158736":["hashtag1","hashtag2"]},{"1402158730":["hashtag1","hashtag2"]},{"1402158727":["hashtag1","hashtag2"]},{"1402158738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158740, 1402158734, 1402158736, 1402158730, 1402158727, 1402158738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72608256340027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:28:02.921883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/25/image_02012026_13_26_04_9751.jpg', '/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_13_9662.jpg', '/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_24_10843.jpg', '/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_34_9773.jpg', '/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_44_9714.jpg', '/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_54_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/25/image_02012026_13_26_04_9751.jpg
/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_13_9662.jpg
/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_24_10843.jpg
/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_34_9773.jpg
/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_44_9714.jpg
/home/pi/Desktop/images/02012026/13/26/image_02012026_13_26_54_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158743","1402158752","1402158746","1402158755","1402158749","1402158744"],"photo_ids_order":["1402158743","1402158744","1402158746","1402158749","1402158752","1402158755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5ea7fef1f13f64e502164a052757ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7463744774424710698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360543689,"filename":"image_02012026_13_26_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/2/58f508136f9130d070423f9bfccacc1a.jpg","text":"TemporaryFile(/tmp/multipartBody1004188040825722144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360543689,"filename":"image_02012026_13_26_44_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/2/2e8bec61b77ecfc4558f62bc6217884f.jpg","text":"TemporaryFile(/tmp/multipartBody1101899346380357255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360543689,"filename":"image_02012026_13_26_24_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/2/c149b6f7e259b2ad6536e69ca298ade9.jpg","text":"TemporaryFile(/tmp/multipartBody7697097364209026082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360543689,"filename":"image_02012026_13_26_54_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/2/acc70b2a96eb7baf96a8f5a5520e849d.jpg","text":"TemporaryFile(/tmp/multipartBody1431728631902372639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360543689,"filename":"image_02012026_13_26_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/2/2d1ebb39162487d762ef2847d3792b1b.jpg","text":"TemporaryFile(/tmp/multipartBody7557260637558962446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360543689,"filename":"image_02012026_13_26_13_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158746","file1":"1402158744","file0":"1402158743","file4":"1402158752","file5":"1402158755","file3":"1402158749"},"map_files_photo_id_array":[{"photo_id":"1402158755","filename":"file5"},{"photo_id":"1402158746","filename":"file2"},{"photo_id":"1402158752","filename":"file4"},{"photo_id":"1402158744","filename":"file1"},{"photo_id":"1402158743","filename":"file0"},{"photo_id":"1402158749","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158743":["hashtag1","hashtag2"]},{"1402158752":["hashtag1","hashtag2"]},{"1402158746":["hashtag1","hashtag2"]},{"1402158755":["hashtag1","hashtag2"]},{"1402158749":["hashtag1","hashtag2"]},{"1402158744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158743, 1402158752, 1402158746, 1402158755, 1402158749, 1402158744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10737633705139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:28:42.459115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_02_2665.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_05_2902.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_08_2561.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_14_2652.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_17_2645.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_20_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_02_2665.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_05_2902.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_08_2561.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_14_2652.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_17_2645.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_20_3610.jpg
 val : 1 : upload photos already in 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":["1402158785","1402158787","1402158781","1402158784","1402158783","1402158768"],"photo_ids_order":["1402158768","1402158781","1402158783","1402158784","1402158785","1402158787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30be4ee383a9a017445eb4f6a2f4637b.jpg","text":"TemporaryFile(/tmp/multipartBody1843359633576758638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360585253,"filename":"image_05112025_19_03_17_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/2/f925264b62d96f722a40e683d54f85d7.jpg","text":"TemporaryFile(/tmp/multipartBody6181151883151998204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360585253,"filename":"image_05112025_19_03_20_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/2/cd2a34531a3085cb5118515aedbcef6e.jpg","text":"TemporaryFile(/tmp/multipartBody3546658978574632305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360585253,"filename":"image_05112025_19_03_05_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c23c8fffecec11f7d44ed7f05cc60032.jpg","text":"TemporaryFile(/tmp/multipartBody2119836380253162916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360585253,"filename":"image_05112025_19_03_14_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/2/76e9d267b6514ec11f0916d90e5d3630.jpg","text":"TemporaryFile(/tmp/multipartBody997478120823606258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360585253,"filename":"image_05112025_19_03_08_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/2/1675ccc9f7edea6d48fe8c72e3d8a77e.jpg","text":"TemporaryFile(/tmp/multipartBody2527943003899439481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360585253,"filename":"image_05112025_19_03_02_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158783","file1":"1402158781","file0":"1402158768","file4":"1402158785","file5":"1402158787","file3":"1402158784"},"map_files_photo_id_array":[{"photo_id":"1402158787","filename":"file5"},{"photo_id":"1402158783","filename":"file2"},{"photo_id":"1402158785","filename":"file4"},{"photo_id":"1402158781","filename":"file1"},{"photo_id":"1402158768","filename":"file0"},{"photo_id":"1402158784","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158785":["hashtag1","hashtag2"]},{"1402158787":["hashtag1","hashtag2"]},{"1402158781":["hashtag1","hashtag2"]},{"1402158784":["hashtag1","hashtag2"]},{"1402158783":["hashtag1","hashtag2"]},{"1402158768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158785, 1402158787, 1402158781, 1402158784, 1402158783, 1402158768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.92768383026123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:29:43.495577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_23_2681.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_26_2641.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_29_3632.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_32_2602.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_47_2979.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_50_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_23_2681.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_26_2641.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_29_3632.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_32_2602.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_47_2979.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_50_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":["1402158812","1402158806","1402158823","1402158805","1402158802","1402158804"],"photo_ids_order":["1402158802","1402158804","1402158805","1402158806","1402158812","1402158823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36d51b446486f9bb8d4c0702f1df1a35.jpg","text":"TemporaryFile(/tmp/multipartBody4790894967780169918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360645494,"filename":"image_05112025_19_03_47_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/234c333dabd9d5fc88819573aa305775.jpg","text":"TemporaryFile(/tmp/multipartBody8492455622386791196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360645494,"filename":"image_05112025_19_03_32_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/2/86c11491215c79cffc79c9cd35f9473b.jpg","text":"TemporaryFile(/tmp/multipartBody3324618455326917600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360645494,"filename":"image_05112025_19_03_50_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/2/3f4dc5603055995f79f47ca561fd4f09.jpg","text":"TemporaryFile(/tmp/multipartBody1660542608020453052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360645494,"filename":"image_05112025_19_03_29_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/2/0e51030ae4ac07253e3a9a0424118497.jpg","text":"TemporaryFile(/tmp/multipartBody519902096349149853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360645494,"filename":"image_05112025_19_03_23_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/2/b89b826b8aa29c3eafa9a2f893402648.jpg","text":"TemporaryFile(/tmp/multipartBody3398183361880492310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360645494,"filename":"image_05112025_19_03_26_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158805","file1":"1402158804","file0":"1402158802","file4":"1402158812","file5":"1402158823","file3":"1402158806"},"map_files_photo_id_array":[{"photo_id":"1402158823","filename":"file5"},{"photo_id":"1402158805","filename":"file2"},{"photo_id":"1402158812","filename":"file4"},{"photo_id":"1402158804","filename":"file1"},{"photo_id":"1402158802","filename":"file0"},{"photo_id":"1402158806","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158812":["hashtag1","hashtag2"]},{"1402158806":["hashtag1","hashtag2"]},{"1402158823":["hashtag1","hashtag2"]},{"1402158805":["hashtag1","hashtag2"]},{"1402158802":["hashtag1","hashtag2"]},{"1402158804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158812, 1402158806, 1402158823, 1402158805, 1402158802, 1402158804)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.81530022621155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:30:42.670384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_55_2524.jpg', '/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_59_3688.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_02_2638.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_05_2757.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_11_2672.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_14_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_55_2524.jpg
/home/pi/Desktop/images/05112025/19/03/image_05112025_19_03_59_3688.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_02_2638.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_05_2757.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_11_2672.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_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":["1402158847","1402158841","1402158846","1402158849","1402158834","1402158837"],"photo_ids_order":["1402158834","1402158837","1402158841","1402158846","1402158847","1402158849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5baadee51cdaf31011f2a3f1c45c5fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7436302319413458714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360705093,"filename":"image_05112025_19_04_11_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/2/29362054f43de3bacb4d29b7746fdb28.jpg","text":"TemporaryFile(/tmp/multipartBody9194114986190929063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360705093,"filename":"image_05112025_19_04_02_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/2/b7014e1c36f3fed69e520c5b511c8ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3978510922535383114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360705093,"filename":"image_05112025_19_04_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/2/873ee4fb4e1568c1d56bcf464a4f9c66.jpg","text":"TemporaryFile(/tmp/multipartBody2092109786816158034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360705093,"filename":"image_05112025_19_04_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/2/846327c9f907483e980fbfbf7fdcb787.jpg","text":"TemporaryFile(/tmp/multipartBody3853330767467890546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360705093,"filename":"image_05112025_19_03_55_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f94ed47e482191592112a6013ecf34d.jpg","text":"TemporaryFile(/tmp/multipartBody5962209692072367892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360705093,"filename":"image_05112025_19_03_59_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158841","file1":"1402158837","file0":"1402158834","file4":"1402158847","file5":"1402158849","file3":"1402158846"},"map_files_photo_id_array":[{"photo_id":"1402158849","filename":"file5"},{"photo_id":"1402158841","filename":"file2"},{"photo_id":"1402158847","filename":"file4"},{"photo_id":"1402158837","filename":"file1"},{"photo_id":"1402158834","filename":"file0"},{"photo_id":"1402158846","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158847":["hashtag1","hashtag2"]},{"1402158841":["hashtag1","hashtag2"]},{"1402158846":["hashtag1","hashtag2"]},{"1402158849":["hashtag1","hashtag2"]},{"1402158834":["hashtag1","hashtag2"]},{"1402158837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158847, 1402158841, 1402158846, 1402158849, 1402158834, 1402158837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70953941345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:31:31.960048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_17_3622.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_20_3115.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_26_2547.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_32_2713.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_37_2697.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_41_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_17_3622.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_20_3115.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_26_2547.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_32_2713.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_37_2697.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_41_3710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158857","1402158865","1402158862","1402158856","1402158864","1402158860"],"photo_ids_order":["1402158856","1402158857","1402158860","1402158862","1402158864","1402158865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bee2ee409890e726ab6ebac43cbf4ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6125032767133996745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360753893,"filename":"image_05112025_19_04_20_3115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/933b045ce890b846f4ca4d6801e5ca5e.jpg","text":"TemporaryFile(/tmp/multipartBody3429108001719199475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360753893,"filename":"image_05112025_19_04_41_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0279880ff63378b101b92e1f93fc72bf.jpg","text":"TemporaryFile(/tmp/multipartBody2391941455895765747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360753893,"filename":"image_05112025_19_04_32_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/2/1874299f00b41f0a8d2f647b13ba1174.jpg","text":"TemporaryFile(/tmp/multipartBody4148097968880383018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360753893,"filename":"image_05112025_19_04_17_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/2/e76a916f9078936d02170c6af716bf89.jpg","text":"TemporaryFile(/tmp/multipartBody8800414063063547870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360753893,"filename":"image_05112025_19_04_37_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/2/8b9e75838861df97757693db25be473a.jpg","text":"TemporaryFile(/tmp/multipartBody2384002462233226122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360753893,"filename":"image_05112025_19_04_26_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158860","file1":"1402158857","file0":"1402158856","file4":"1402158864","file5":"1402158865","file3":"1402158862"},"map_files_photo_id_array":[{"photo_id":"1402158865","filename":"file5"},{"photo_id":"1402158860","filename":"file2"},{"photo_id":"1402158864","filename":"file4"},{"photo_id":"1402158857","filename":"file1"},{"photo_id":"1402158856","filename":"file0"},{"photo_id":"1402158862","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158857":["hashtag1","hashtag2"]},{"1402158865":["hashtag1","hashtag2"]},{"1402158862":["hashtag1","hashtag2"]},{"1402158856":["hashtag1","hashtag2"]},{"1402158864":["hashtag1","hashtag2"]},{"1402158860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158857, 1402158865, 1402158862, 1402158856, 1402158864, 1402158860)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.357067584991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:32:22.084529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/26/image_02012026_13_27_04_10726.jpg', '/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_14_9692.jpg', '/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_24_9717.jpg', '/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_34_9701.jpg', '/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_44_10775.jpg', '/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_54_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/26/image_02012026_13_27_04_10726.jpg
/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_14_9692.jpg
/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_24_9717.jpg
/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_34_9701.jpg
/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_44_10775.jpg
/home/pi/Desktop/images/02012026/13/27/image_02012026_13_27_54_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158878","1402158883","1402158871","1402158880","1402158874","1402158876"],"photo_ids_order":["1402158871","1402158874","1402158876","1402158878","1402158880","1402158883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e0417382a4390553354af50bb439afb8.jpg","text":"TemporaryFile(/tmp/multipartBody5646894877875324598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360802721,"filename":"image_02012026_13_27_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/2/afa2dfe2d0b11ab9444a00898224312f.jpg","text":"TemporaryFile(/tmp/multipartBody6505059818813912049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360802721,"filename":"image_02012026_13_27_54_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/2/636b5abe4fe5c9c630b63b6bc45fe63a.jpg","text":"TemporaryFile(/tmp/multipartBody5044058932432714754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360802721,"filename":"image_02012026_13_27_04_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/2/6e577055fcdef5bce21380dfa5e052f0.jpg","text":"TemporaryFile(/tmp/multipartBody3388873549834115971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360802721,"filename":"image_02012026_13_27_44_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/2/600292297bd0b2671cec4c9d4b7321ec.jpg","text":"TemporaryFile(/tmp/multipartBody7194285380980068059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360802721,"filename":"image_02012026_13_27_14_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/2/883d24120dc39ac17dd5835be0438090.jpg","text":"TemporaryFile(/tmp/multipartBody8734815078511297175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360802721,"filename":"image_02012026_13_27_24_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158876","file1":"1402158874","file0":"1402158871","file4":"1402158880","file5":"1402158883","file3":"1402158878"},"map_files_photo_id_array":[{"photo_id":"1402158883","filename":"file5"},{"photo_id":"1402158876","filename":"file2"},{"photo_id":"1402158880","filename":"file4"},{"photo_id":"1402158874","filename":"file1"},{"photo_id":"1402158871","filename":"file0"},{"photo_id":"1402158878","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158878":["hashtag1","hashtag2"]},{"1402158883":["hashtag1","hashtag2"]},{"1402158871":["hashtag1","hashtag2"]},{"1402158880":["hashtag1","hashtag2"]},{"1402158874":["hashtag1","hashtag2"]},{"1402158876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158878, 1402158883, 1402158871, 1402158880, 1402158874, 1402158876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.359402894973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:33:02.982968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/27/image_02012026_13_28_04_9668.jpg', '/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_14_9783.jpg', '/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_24_10713.jpg', '/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_34_9688.jpg', '/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_44_9618.jpg', '/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_54_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/27/image_02012026_13_28_04_9668.jpg
/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_14_9783.jpg
/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_24_10713.jpg
/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_34_9688.jpg
/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_44_9618.jpg
/home/pi/Desktop/images/02012026/13/28/image_02012026_13_28_54_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":["1402158889","1402158894","1402158897","1402158891","1402158887","1402158896"],"photo_ids_order":["1402158887","1402158889","1402158891","1402158894","1402158896","1402158897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7554a28b14876ba21a337cfe6d0a7caa.jpg","text":"TemporaryFile(/tmp/multipartBody3341196221926467529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360845734,"filename":"image_02012026_13_28_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/2/ff2cc98b9bcca9bbfeb07fac06efad6f.jpg","text":"TemporaryFile(/tmp/multipartBody7793905806797131942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360845734,"filename":"image_02012026_13_28_34_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/2/efefbd65245c9ea17f433e7ffe5149f9.jpg","text":"TemporaryFile(/tmp/multipartBody6802602510816406126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360845734,"filename":"image_02012026_13_28_54_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/2/7592f22452eb2228c7cbaccd45f120d0.jpg","text":"TemporaryFile(/tmp/multipartBody8305955540731111358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360845734,"filename":"image_02012026_13_28_24_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/2/93136aea78b1c292604644c48ddaab2b.jpg","text":"TemporaryFile(/tmp/multipartBody3197378563493179119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360845734,"filename":"image_02012026_13_28_04_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/2/c9dd3f57beb0c9bafaad8b78b60583df.jpg","text":"TemporaryFile(/tmp/multipartBody3581938467896392336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360845734,"filename":"image_02012026_13_28_44_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158891","file1":"1402158889","file0":"1402158887","file4":"1402158896","file5":"1402158897","file3":"1402158894"},"map_files_photo_id_array":[{"photo_id":"1402158897","filename":"file5"},{"photo_id":"1402158891","filename":"file2"},{"photo_id":"1402158896","filename":"file4"},{"photo_id":"1402158889","filename":"file1"},{"photo_id":"1402158887","filename":"file0"},{"photo_id":"1402158894","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402158889":["hashtag1","hashtag2"]},{"1402158894":["hashtag1","hashtag2"]},{"1402158897":["hashtag1","hashtag2"]},{"1402158891":["hashtag1","hashtag2"]},{"1402158887":["hashtag1","hashtag2"]},{"1402158896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402158889, 1402158894, 1402158897, 1402158891, 1402158887, 1402158896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4475531578064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:33:42.471615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_44_2614.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_50_2611.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_53_2683.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_55_2764.jpg', '/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_59_3638.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_02_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_44_2614.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_50_2611.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_53_2683.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_55_2764.jpg
/home/pi/Desktop/images/05112025/19/04/image_05112025_19_04_59_3638.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_02_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402158953","1402158905","1402158908","1402158949","1402158930","1402158903"],"photo_ids_order":["1402158903","1402158905","1402158908","1402158930","1402158949","1402158953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7f1382f053a624ea0135f403eee09b2.jpg","text":"TemporaryFile(/tmp/multipartBody3161389967821988509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360884382,"filename":"image_05112025_19_05_02_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/2/fe66dd9c6b62720933af12d02d0d04ba.jpg","text":"TemporaryFile(/tmp/multipartBody3635813593402715350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360884382,"filename":"image_05112025_19_04_50_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/2/5e6cf8fd9ae6de6ff502d14018b200f1.jpg","text":"TemporaryFile(/tmp/multipartBody4862511084459763701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360884382,"filename":"image_05112025_19_04_53_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/2/4e6f45b64bb4db84e9daec4ed8ef5f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3829862838810842366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360884382,"filename":"image_05112025_19_04_59_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/2/bf1016a3219cee455324dc29a1768b40.jpg","text":"TemporaryFile(/tmp/multipartBody6219991893045184094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360884382,"filename":"image_05112025_19_04_55_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/2/7150d81484363aa641aa3fb2598a6c11.jpg","text":"TemporaryFile(/tmp/multipartBody6769611139672736818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360884382,"filename":"image_05112025_19_04_44_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402158908","file1":"1402158905","file0":"1402158903","file4":"1402158949","file5":"1402158953","file3":"1402158930"},"map_files_photo_id_array":[{"photo_id":"1402158953","filename":"file5"},{"photo_id":"1402158908","filename":"file2"},{"photo_id":"1402158949","filename":"file4"},{"photo_id":"1402158905","filename":"file1"},{"photo_id":"1402158903","filename":"file0"},{"photo_id":"1402158930","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402158953":["hashtag1","hashtag2"]},{"1402158905":["hashtag1","hashtag2"]},{"1402158908":["hashtag1","hashtag2"]},{"1402158949":["hashtag1","hashtag2"]},{"1402158930":["hashtag1","hashtag2"]},{"1402158903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402158953, 1402158905, 1402158908, 1402158949, 1402158930, 1402158903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14985942840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:34:24.019706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/28/image_02012026_13_29_04_9759.jpg', '/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_14_9778.jpg', '/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_24_9916.jpg', '/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_34_9822.jpg', '/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_44_10772.jpg', '/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_54_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/28/image_02012026_13_29_04_9759.jpg
/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_14_9778.jpg
/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_24_9916.jpg
/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_34_9822.jpg
/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_44_10772.jpg
/home/pi/Desktop/images/02012026/13/29/image_02012026_13_29_54_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159019","1402159007","1402159027","1402159021","1402159024","1402158968"],"photo_ids_order":["1402158968","1402159007","1402159019","1402159021","1402159024","1402159027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2533826bb515d2e7fa1de8393fd0e07.jpg","text":"TemporaryFile(/tmp/multipartBody513722262358097579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360924663,"filename":"image_02012026_13_29_24_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c97af06c4a78e89e6525f9c29a284c91.jpg","text":"TemporaryFile(/tmp/multipartBody4506460160869738997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360924663,"filename":"image_02012026_13_29_14_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/2/e90d09898b2c89cf93627c0872001976.jpg","text":"TemporaryFile(/tmp/multipartBody3681171809545716661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360924663,"filename":"image_02012026_13_29_54_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/2/627fbb4e4d811bbcc7869091d7456a94.jpg","text":"TemporaryFile(/tmp/multipartBody3071958146157623771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360924663,"filename":"image_02012026_13_29_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/2/2e9ee30558f6973b35e8e9170b27499d.jpg","text":"TemporaryFile(/tmp/multipartBody1354746323306202200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360924663,"filename":"image_02012026_13_29_44_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/2/c870df62797b88f031fe2ebf414dbd58.jpg","text":"TemporaryFile(/tmp/multipartBody8919362952447919968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360924663,"filename":"image_02012026_13_29_04_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159019","file1":"1402159007","file0":"1402158968","file4":"1402159024","file5":"1402159027","file3":"1402159021"},"map_files_photo_id_array":[{"photo_id":"1402159027","filename":"file5"},{"photo_id":"1402159019","filename":"file2"},{"photo_id":"1402159024","filename":"file4"},{"photo_id":"1402159007","filename":"file1"},{"photo_id":"1402158968","filename":"file0"},{"photo_id":"1402159021","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159019":["hashtag1","hashtag2"]},{"1402159007":["hashtag1","hashtag2"]},{"1402159027":["hashtag1","hashtag2"]},{"1402159021":["hashtag1","hashtag2"]},{"1402159024":["hashtag1","hashtag2"]},{"1402158968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159019, 1402159007, 1402159027, 1402159021, 1402159024, 1402158968)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.09545588493347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:35:22.244305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_14_10056.jpg', '/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_25_10620.jpg', '/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_34_9649.jpg', '/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_44_9711.jpg', '/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_55_10813.jpg', '/home/pi/Desktop/images/02012026/13/32/image_02012026_13_32_14_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_14_10056.jpg
/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_25_10620.jpg
/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_34_9649.jpg
/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_44_9711.jpg
/home/pi/Desktop/images/02012026/13/31/image_02012026_13_31_55_10813.jpg
/home/pi/Desktop/images/02012026/13/32/image_02012026_13_32_14_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159046","1402159034","1402159042","1402159036","1402159038","1402159041"],"photo_ids_order":["1402159034","1402159036","1402159038","1402159041","1402159042","1402159046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/01ce5c2e892132ca39e5217880042424.jpg","text":"TemporaryFile(/tmp/multipartBody4629389410240021830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360982885,"filename":"image_02012026_13_32_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/2/939bc5c1999659c02b2cf65e8d26352c.jpg","text":"TemporaryFile(/tmp/multipartBody8833319523032138890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360982885,"filename":"image_02012026_13_31_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/2/c1896cedcbfd0c2d2c8341da69f2e023.jpg","text":"TemporaryFile(/tmp/multipartBody7762572910710283662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360982885,"filename":"image_02012026_13_31_55_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/2/06d6ea1194901339a50991d0128e7636.jpg","text":"TemporaryFile(/tmp/multipartBody6366804931820084205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360982885,"filename":"image_02012026_13_31_25_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/2/1dca718020dd730051cade348849bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody7621686952163940720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360982885,"filename":"image_02012026_13_31_34_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/2/f6b6bb2c7b0835601aa40fd95b9b2dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2961357251985682431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767360982885,"filename":"image_02012026_13_31_44_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159038","file1":"1402159036","file0":"1402159034","file4":"1402159042","file5":"1402159046","file3":"1402159041"},"map_files_photo_id_array":[{"photo_id":"1402159046","filename":"file5"},{"photo_id":"1402159038","filename":"file2"},{"photo_id":"1402159042","filename":"file4"},{"photo_id":"1402159036","filename":"file1"},{"photo_id":"1402159034","filename":"file0"},{"photo_id":"1402159041","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159046":["hashtag1","hashtag2"]},{"1402159034":["hashtag1","hashtag2"]},{"1402159042":["hashtag1","hashtag2"]},{"1402159036":["hashtag1","hashtag2"]},{"1402159038":["hashtag1","hashtag2"]},{"1402159041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159046, 1402159034, 1402159042, 1402159036, 1402159038, 1402159041)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.474353551864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:36:13.144310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_04_2660.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_13_1598.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_15_1639.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_17_1758.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_19_2552.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_23_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_04_2660.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_13_1598.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_15_1639.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_17_1758.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_19_2552.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_23_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159051","1402159057","1402159059","1402159053","1402159055","1402159064"],"photo_ids_order":["1402159051","1402159053","1402159055","1402159057","1402159059","1402159064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fcbfd7a6b3914b9c8e33a7616a69c6f4.jpg","text":"TemporaryFile(/tmp/multipartBody1968346143818293170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361037900,"filename":"image_05112025_19_05_04_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/2/1a4c505e3d1a808542d28b93f4335832.jpg","text":"TemporaryFile(/tmp/multipartBody8604286647849048222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361037900,"filename":"image_05112025_19_05_17_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/2/6f361b10f67d3cd6856b010566771462.jpg","text":"TemporaryFile(/tmp/multipartBody9059334207711180170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361037900,"filename":"image_05112025_19_05_19_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/2/01875cccb3deec632faaf5f9f0125100.jpg","text":"TemporaryFile(/tmp/multipartBody1040911570700016631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361037900,"filename":"image_05112025_19_05_13_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/2/d30a6472b2924dd511ee6454b41e9652.jpg","text":"TemporaryFile(/tmp/multipartBody2688500838772654825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361037900,"filename":"image_05112025_19_05_15_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/2/e1e76fc92950016d302e5e48de8077ee.jpg","text":"TemporaryFile(/tmp/multipartBody3293254874817584914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361037900,"filename":"image_05112025_19_05_23_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159055","file1":"1402159053","file0":"1402159051","file4":"1402159059","file5":"1402159064","file3":"1402159057"},"map_files_photo_id_array":[{"photo_id":"1402159064","filename":"file5"},{"photo_id":"1402159055","filename":"file2"},{"photo_id":"1402159059","filename":"file4"},{"photo_id":"1402159053","filename":"file1"},{"photo_id":"1402159051","filename":"file0"},{"photo_id":"1402159057","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159051":["hashtag1","hashtag2"]},{"1402159057":["hashtag1","hashtag2"]},{"1402159059":["hashtag1","hashtag2"]},{"1402159053":["hashtag1","hashtag2"]},{"1402159055":["hashtag1","hashtag2"]},{"1402159064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159051, 1402159057, 1402159059, 1402159053, 1402159055, 1402159064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.116987228393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:37:10.426572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 14:37:17.479602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_26_2580.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_29_3621.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_32_2803.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_35_2788.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_38_2680.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_40_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_26_2580.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_29_3621.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_32_2803.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_35_2788.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_38_2680.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_40_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159087","1402159111","1402159089","1402159083","1402159091","1402159094"],"photo_ids_order":["1402159083","1402159087","1402159089","1402159091","1402159094","1402159111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91e0bfdbf34b8bbbc152751027e580d0.jpg","text":"TemporaryFile(/tmp/multipartBody5302588179766276099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361103595,"filename":"image_05112025_19_05_29_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/2/55ffc150944fa8be3340e6fce4e530ba.jpg","text":"TemporaryFile(/tmp/multipartBody4942168685640557257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361103595,"filename":"image_05112025_19_05_40_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/2/f5c14d038022aad3fb50beb0c0634ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5025144441875347430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361103595,"filename":"image_05112025_19_05_32_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/2/80b81379d6a36fc0617afbfd56597a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1925823989958385744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361103595,"filename":"image_05112025_19_05_26_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/2/a95f81defb5b5a4a9a2f8c62231c214c.jpg","text":"TemporaryFile(/tmp/multipartBody4225700072174435498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361103595,"filename":"image_05112025_19_05_35_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/2/b531fe08e73550227916844776b445b1.jpg","text":"TemporaryFile(/tmp/multipartBody2387919064903059449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361103595,"filename":"image_05112025_19_05_38_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159089","file1":"1402159087","file0":"1402159083","file4":"1402159094","file5":"1402159111","file3":"1402159091"},"map_files_photo_id_array":[{"photo_id":"1402159111","filename":"file5"},{"photo_id":"1402159089","filename":"file2"},{"photo_id":"1402159094","filename":"file4"},{"photo_id":"1402159087","filename":"file1"},{"photo_id":"1402159083","filename":"file0"},{"photo_id":"1402159091","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159087":["hashtag1","hashtag2"]},{"1402159111":["hashtag1","hashtag2"]},{"1402159089":["hashtag1","hashtag2"]},{"1402159083":["hashtag1","hashtag2"]},{"1402159091":["hashtag1","hashtag2"]},{"1402159094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159087, 1402159111, 1402159089, 1402159083, 1402159091, 1402159094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.631863594055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:38:03.254333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/32/image_02012026_13_32_25_10663.jpg', '/home/pi/Desktop/images/02012026/13/32/image_02012026_13_32_44_9695.jpg', '/home/pi/Desktop/images/02012026/13/32/image_02012026_13_33_04_10010.jpg', '/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_14_9868.jpg', '/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_25_10820.jpg', '/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_35_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/32/image_02012026_13_32_25_10663.jpg
/home/pi/Desktop/images/02012026/13/32/image_02012026_13_32_44_9695.jpg
/home/pi/Desktop/images/02012026/13/32/image_02012026_13_33_04_10010.jpg
/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_14_9868.jpg
/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_25_10820.jpg
/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_35_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159198","1402159264","1402159228","1402159176","1402159305","1402159193"],"photo_ids_order":["1402159176","1402159193","1402159198","1402159228","1402159264","1402159305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba295b46cf41e57e9d5bd057ef40dc05.jpg","text":"TemporaryFile(/tmp/multipartBody345782908479996239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361143965,"filename":"image_02012026_13_33_04_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/2/1f4c3a9d685dbb58b145a9a9d83ad70e.jpg","text":"TemporaryFile(/tmp/multipartBody5468805442546296287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361143965,"filename":"image_02012026_13_33_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/2/cc1a859758c403830bc267604cb6bc6a.jpg","text":"TemporaryFile(/tmp/multipartBody459676043384254707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361143965,"filename":"image_02012026_13_33_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/2/75dc098678ccadcfd5b7b06b9f945aab.jpg","text":"TemporaryFile(/tmp/multipartBody8376146426360347782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361143965,"filename":"image_02012026_13_32_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/2/5e8e9b2e9e1ffcd4c5fe76d8f20e96cf.jpg","text":"TemporaryFile(/tmp/multipartBody850453651917522531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361143965,"filename":"image_02012026_13_33_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/2/b32d15ef1e9b4f4bc2136bdc4a61b2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4378639837244557427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361143965,"filename":"image_02012026_13_32_44_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159198","file1":"1402159193","file0":"1402159176","file4":"1402159264","file5":"1402159305","file3":"1402159228"},"map_files_photo_id_array":[{"photo_id":"1402159305","filename":"file5"},{"photo_id":"1402159198","filename":"file2"},{"photo_id":"1402159264","filename":"file4"},{"photo_id":"1402159193","filename":"file1"},{"photo_id":"1402159176","filename":"file0"},{"photo_id":"1402159228","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159198":["hashtag1","hashtag2"]},{"1402159264":["hashtag1","hashtag2"]},{"1402159228":["hashtag1","hashtag2"]},{"1402159176":["hashtag1","hashtag2"]},{"1402159305":["hashtag1","hashtag2"]},{"1402159193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159198, 1402159264, 1402159228, 1402159176, 1402159305, 1402159193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79774308204651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:38:42.684177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_44_3598.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_47_2595.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_50_3729.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_53_2703.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_56_2575.jpg', '/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_58_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_44_3598.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_47_2595.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_50_3729.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_53_2703.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_56_2575.jpg
/home/pi/Desktop/images/05112025/19/05/image_05112025_19_05_58_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159369","1402159363","1402159351","1402159365","1402159359","1402159367"],"photo_ids_order":["1402159351","1402159359","1402159363","1402159365","1402159367","1402159369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c82074f3c6f6e89a9e52f060a8c6d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8791313213833154010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361184471,"filename":"image_05112025_19_05_58_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/2/6868f7d813c24185704414801a92b102.jpg","text":"TemporaryFile(/tmp/multipartBody8931500559964277264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361184471,"filename":"image_05112025_19_05_50_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/2/8f3771e5f21b3b936457fbfe61d9ad45.jpg","text":"TemporaryFile(/tmp/multipartBody5580013768364764055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361184471,"filename":"image_05112025_19_05_44_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/2/f89d150303fd75f09c86741cb3eb78a0.jpg","text":"TemporaryFile(/tmp/multipartBody1685179887900445171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361184471,"filename":"image_05112025_19_05_53_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/2/bc55d0f14e67616c390bc25fd188e817.jpg","text":"TemporaryFile(/tmp/multipartBody3824990143765318142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361184471,"filename":"image_05112025_19_05_47_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/2/4b623cbe135ffade97d3c4a5a5a3ea60.jpg","text":"TemporaryFile(/tmp/multipartBody4132396501566614666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361184471,"filename":"image_05112025_19_05_56_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159363","file1":"1402159359","file0":"1402159351","file4":"1402159367","file5":"1402159369","file3":"1402159365"},"map_files_photo_id_array":[{"photo_id":"1402159369","filename":"file5"},{"photo_id":"1402159363","filename":"file2"},{"photo_id":"1402159367","filename":"file4"},{"photo_id":"1402159359","filename":"file1"},{"photo_id":"1402159351","filename":"file0"},{"photo_id":"1402159365","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159369":["hashtag1","hashtag2"]},{"1402159363":["hashtag1","hashtag2"]},{"1402159351":["hashtag1","hashtag2"]},{"1402159365":["hashtag1","hashtag2"]},{"1402159359":["hashtag1","hashtag2"]},{"1402159367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159369, 1402159363, 1402159351, 1402159365, 1402159359, 1402159367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01400589942932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:39:22.023035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_44_9703.jpg', '/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_54_9853.jpg', '/home/pi/Desktop/images/02012026/13/33/image_02012026_13_34_05_10713.jpg', '/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_15_9914.jpg', '/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_25_9931.jpg', '/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_34_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_44_9703.jpg
/home/pi/Desktop/images/02012026/13/33/image_02012026_13_33_54_9853.jpg
/home/pi/Desktop/images/02012026/13/33/image_02012026_13_34_05_10713.jpg
/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_15_9914.jpg
/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_25_9931.jpg
/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_34_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":["1402159375","1402159372","1402159392","1402159382","1402159385","1402159379"],"photo_ids_order":["1402159372","1402159375","1402159379","1402159382","1402159385","1402159392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12276a2d1e9ca461283189840080397e.jpg","text":"TemporaryFile(/tmp/multipartBody1869257201564166472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361222678,"filename":"image_02012026_13_33_54_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/2/58a3fba032c3fad94367bf250954a405.jpg","text":"TemporaryFile(/tmp/multipartBody6842049751358702018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361222678,"filename":"image_02012026_13_33_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/2/5edb03d1a1f1b0f3bfb648a994637ca2.jpg","text":"TemporaryFile(/tmp/multipartBody391637828793753778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361222678,"filename":"image_02012026_13_34_34_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/2/c0746a57ba8cebe699d73c9a6fd65412.jpg","text":"TemporaryFile(/tmp/multipartBody6012956524779305496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361222678,"filename":"image_02012026_13_34_15_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/2/182997d45a80ca14547722f4cfcb0d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2351436602284318683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361222678,"filename":"image_02012026_13_34_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/2/a289b3397909eb58368ada806a28a1df.jpg","text":"TemporaryFile(/tmp/multipartBody2951998045128297835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361222678,"filename":"image_02012026_13_34_05_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159379","file1":"1402159375","file0":"1402159372","file4":"1402159385","file5":"1402159392","file3":"1402159382"},"map_files_photo_id_array":[{"photo_id":"1402159392","filename":"file5"},{"photo_id":"1402159379","filename":"file2"},{"photo_id":"1402159385","filename":"file4"},{"photo_id":"1402159375","filename":"file1"},{"photo_id":"1402159372","filename":"file0"},{"photo_id":"1402159382","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159375":["hashtag1","hashtag2"]},{"1402159372":["hashtag1","hashtag2"]},{"1402159392":["hashtag1","hashtag2"]},{"1402159382":["hashtag1","hashtag2"]},{"1402159385":["hashtag1","hashtag2"]},{"1402159379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159375, 1402159372, 1402159392, 1402159382, 1402159385, 1402159379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.510621070861816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:40:02.600143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_45_10583.jpg', '/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_55_9835.jpg', '/home/pi/Desktop/images/02012026/13/34/image_02012026_13_35_04_9674.jpg', '/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_14_9652.jpg', '/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_25_10615.jpg', '/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_34_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_45_10583.jpg
/home/pi/Desktop/images/02012026/13/34/image_02012026_13_34_55_9835.jpg
/home/pi/Desktop/images/02012026/13/34/image_02012026_13_35_04_9674.jpg
/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_14_9652.jpg
/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_25_10615.jpg
/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_34_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":["1402159415","1402159409","1402159411","1402159413","1402159407","1402159412"],"photo_ids_order":["1402159407","1402159409","1402159411","1402159412","1402159413","1402159415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/96b2791bd6b9e1aaf8881ddb78f73612.jpg","text":"TemporaryFile(/tmp/multipartBody2315718018358809250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361263256,"filename":"image_02012026_13_35_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/2/e2970752ff424c339f693f20b85386ad.jpg","text":"TemporaryFile(/tmp/multipartBody6024806354899895435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361263256,"filename":"image_02012026_13_34_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/2/96a2a40320f017e915886e1540f0e1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4310696225467992852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361263256,"filename":"image_02012026_13_35_04_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/2/71caf4c91d5173684614efbe42cec428.jpg","text":"TemporaryFile(/tmp/multipartBody3139712960657266361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361263256,"filename":"image_02012026_13_35_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/2/a4daa1feefb9f70cbb6559c2bb2f52b1.jpg","text":"TemporaryFile(/tmp/multipartBody5789007039150343952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361263256,"filename":"image_02012026_13_34_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/2/4b8baea7ddea65d645cbeacbb720f55d.jpg","text":"TemporaryFile(/tmp/multipartBody9108783181807999590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361263256,"filename":"image_02012026_13_35_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159411","file1":"1402159409","file0":"1402159407","file4":"1402159413","file5":"1402159415","file3":"1402159412"},"map_files_photo_id_array":[{"photo_id":"1402159415","filename":"file5"},{"photo_id":"1402159411","filename":"file2"},{"photo_id":"1402159413","filename":"file4"},{"photo_id":"1402159409","filename":"file1"},{"photo_id":"1402159407","filename":"file0"},{"photo_id":"1402159412","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159415":["hashtag1","hashtag2"]},{"1402159409":["hashtag1","hashtag2"]},{"1402159411":["hashtag1","hashtag2"]},{"1402159413":["hashtag1","hashtag2"]},{"1402159407":["hashtag1","hashtag2"]},{"1402159412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159415, 1402159409, 1402159411, 1402159413, 1402159407, 1402159412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94837927818298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:40:42.182160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_02_3624.jpg', '/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_05_2619.jpg', '/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_08_3686.jpg', '/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_16_7894.jpg', '/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_39_23366.jpg', '/home/pi/Desktop/images/05112025/19/06/image_05112025_19_07_00_20582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_02_3624.jpg
/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_05_2619.jpg
/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_08_3686.jpg
/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_16_7894.jpg
/home/pi/Desktop/images/05112025/19/06/image_05112025_19_06_39_23366.jpg
/home/pi/Desktop/images/05112025/19/06/image_05112025_19_07_00_20582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159424","1402159504","1402159475","1402159499","1402159484","1402159448"],"photo_ids_order":["1402159424","1402159448","1402159475","1402159484","1402159499","1402159504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/473941276a6162bde48c2a687de9b25a.jpg","text":"TemporaryFile(/tmp/multipartBody6177452853478566314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361304098,"filename":"image_05112025_19_06_02_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/2/9b89bd127705c9b40635bd47d3def280.jpg","text":"TemporaryFile(/tmp/multipartBody760015561811989969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361304098,"filename":"image_05112025_19_07_00_20582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a62fc4ea7888387492383d2ea722ca1.jpg","text":"TemporaryFile(/tmp/multipartBody3938336025184407850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361304098,"filename":"image_05112025_19_06_08_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/2/986016d3c9b98d72d66e2b42d0f040c8.jpg","text":"TemporaryFile(/tmp/multipartBody7115556185363887858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361304098,"filename":"image_05112025_19_06_39_23366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d752f67f0cfa2dd2f51e3e4b2b6e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody968873041298845672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361304098,"filename":"image_05112025_19_06_16_7894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ec08786ebc21abb0c91824365c41948.jpg","text":"TemporaryFile(/tmp/multipartBody4880609721907580918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361304098,"filename":"image_05112025_19_06_05_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159475","file1":"1402159448","file0":"1402159424","file4":"1402159499","file5":"1402159504","file3":"1402159484"},"map_files_photo_id_array":[{"photo_id":"1402159504","filename":"file5"},{"photo_id":"1402159475","filename":"file2"},{"photo_id":"1402159499","filename":"file4"},{"photo_id":"1402159448","filename":"file1"},{"photo_id":"1402159424","filename":"file0"},{"photo_id":"1402159484","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159424":["hashtag1","hashtag2"]},{"1402159504":["hashtag1","hashtag2"]},{"1402159475":["hashtag1","hashtag2"]},{"1402159499":["hashtag1","hashtag2"]},{"1402159484":["hashtag1","hashtag2"]},{"1402159448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159424, 1402159504, 1402159475, 1402159499, 1402159484, 1402159448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89258050918579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:41:22.368502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_45_10587.jpg', '/home/pi/Desktop/images/02012026/13/35/image_02012026_13_36_04_9759.jpg', '/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_14_9657.jpg', '/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_25_10691.jpg', '/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_35_9852.jpg', '/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_45_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/35/image_02012026_13_35_45_10587.jpg
/home/pi/Desktop/images/02012026/13/35/image_02012026_13_36_04_9759.jpg
/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_14_9657.jpg
/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_25_10691.jpg
/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_35_9852.jpg
/home/pi/Desktop/images/02012026/13/36/image_02012026_13_36_45_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159546","1402159548","1402159524","1402159512","1402159583","1402159550"],"photo_ids_order":["1402159512","1402159524","1402159546","1402159548","1402159550","1402159583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd141e19acdfee42b6fdc5c65dde5c5f.jpg","text":"TemporaryFile(/tmp/multipartBody678861395261954525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361343037,"filename":"image_02012026_13_36_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/2/998afa866641e820d167e087fa859748.jpg","text":"TemporaryFile(/tmp/multipartBody8230985658804697540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361343037,"filename":"image_02012026_13_36_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/2/8714754f21ab80588fcc24cd50c666a8.jpg","text":"TemporaryFile(/tmp/multipartBody4527649383387969748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361343037,"filename":"image_02012026_13_36_04_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/2/d76818df648a05a931cea7a7608ce3e0.jpg","text":"TemporaryFile(/tmp/multipartBody1705982908194863975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361343037,"filename":"image_02012026_13_35_45_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/2/b856036281ba2c93dbb6297ab6ba48d6.jpg","text":"TemporaryFile(/tmp/multipartBody8791323989273381568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361343037,"filename":"image_02012026_13_36_45_9966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa31d64f8854b0f86ba248590560ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody3847345417916272518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361343037,"filename":"image_02012026_13_36_35_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159546","file1":"1402159524","file0":"1402159512","file4":"1402159550","file5":"1402159583","file3":"1402159548"},"map_files_photo_id_array":[{"photo_id":"1402159583","filename":"file5"},{"photo_id":"1402159546","filename":"file2"},{"photo_id":"1402159550","filename":"file4"},{"photo_id":"1402159524","filename":"file1"},{"photo_id":"1402159512","filename":"file0"},{"photo_id":"1402159548","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159546":["hashtag1","hashtag2"]},{"1402159548":["hashtag1","hashtag2"]},{"1402159524":["hashtag1","hashtag2"]},{"1402159512":["hashtag1","hashtag2"]},{"1402159583":["hashtag1","hashtag2"]},{"1402159550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159546, 1402159548, 1402159524, 1402159512, 1402159583, 1402159550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21788740158081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:42:03.069978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/36/image_02012026_13_37_05_10599.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_15_9793.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_24_9884.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_34_9753.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_44_10054.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/36/image_02012026_13_37_05_10599.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_15_9793.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_24_9884.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_34_9753.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_44_10054.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_55_10639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5674228668212891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:42:12.471373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_02_1694.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_03_1738.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_05_1582.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_07_1620.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_10_3182.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_12_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_02_1694.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_03_1738.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_05_1582.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_07_1620.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_10_3182.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_12_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159621","1402159615","1402159612","1402159617","1402159619","1402159610"],"photo_ids_order":["1402159610","1402159612","1402159615","1402159617","1402159619","1402159621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2a84a0025253a8a1b28e782259be3b91.jpg","text":"TemporaryFile(/tmp/multipartBody6508853220642702798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361394249,"filename":"image_05112025_19_07_12_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/2/400c8949fc51a0f78279949e70dc47ca.jpg","text":"TemporaryFile(/tmp/multipartBody6021365471222352304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361394249,"filename":"image_05112025_19_07_05_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/2/e5e748d806d73776bfdc3e40702754e8.jpg","text":"TemporaryFile(/tmp/multipartBody9020191044168974331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361394249,"filename":"image_05112025_19_07_03_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/2/3bc54fe1cdc4fcc287b8b9dbea4ab592.jpg","text":"TemporaryFile(/tmp/multipartBody8773535093325987900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361394249,"filename":"image_05112025_19_07_07_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/2/5f6bc8c132a79aa6c0267336edde5d11.jpg","text":"TemporaryFile(/tmp/multipartBody5307571674778120835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361394249,"filename":"image_05112025_19_07_10_3182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d8844ede15b5b9de477b0b48f113417.jpg","text":"TemporaryFile(/tmp/multipartBody2487860268958862245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361394249,"filename":"image_05112025_19_07_02_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159615","file1":"1402159612","file0":"1402159610","file4":"1402159619","file5":"1402159621","file3":"1402159617"},"map_files_photo_id_array":[{"photo_id":"1402159621","filename":"file5"},{"photo_id":"1402159615","filename":"file2"},{"photo_id":"1402159619","filename":"file4"},{"photo_id":"1402159612","filename":"file1"},{"photo_id":"1402159610","filename":"file0"},{"photo_id":"1402159617","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159621":["hashtag1","hashtag2"]},{"1402159615":["hashtag1","hashtag2"]},{"1402159612":["hashtag1","hashtag2"]},{"1402159617":["hashtag1","hashtag2"]},{"1402159619":["hashtag1","hashtag2"]},{"1402159610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159621, 1402159615, 1402159612, 1402159617, 1402159619, 1402159610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03490400314331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:43:03.364071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/36/image_02012026_13_37_05_10599.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_15_9793.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_24_9884.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_34_9753.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_44_10054.jpg', '/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/36/image_02012026_13_37_05_10599.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_15_9793.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_24_9884.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_34_9753.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_44_10054.jpg
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_37_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":["1402159634","1402159636","1402159630","1402159627","1402159632","1402159638"],"photo_ids_order":["1402159627","1402159630","1402159632","1402159634","1402159636","1402159638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cd29d37474a6b682e1682706c7626ec.jpg","text":"TemporaryFile(/tmp/multipartBody6606900666972287682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361444068,"filename":"image_02012026_13_37_34_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/2/358327de9aa63f7040c2f6f5a75ace32.jpg","text":"TemporaryFile(/tmp/multipartBody1243590574861308943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361444068,"filename":"image_02012026_13_37_44_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/2/d4b14bd0a35bf0bcb1fc282cad313486.jpg","text":"TemporaryFile(/tmp/multipartBody8367331734355748814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361444068,"filename":"image_02012026_13_37_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/2/9364f85ee916922d4e354a935610debe.jpg","text":"TemporaryFile(/tmp/multipartBody208954365799007310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361444068,"filename":"image_02012026_13_37_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/2/d449c8b2bf64f24ddf98a5e03ba2919e.jpg","text":"TemporaryFile(/tmp/multipartBody3796100495790645572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361444068,"filename":"image_02012026_13_37_24_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/2/b099c595c8ca8e8ea47686d3c45c8113.jpg","text":"TemporaryFile(/tmp/multipartBody5746006224259001268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361444068,"filename":"image_02012026_13_37_55_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159632","file1":"1402159630","file0":"1402159627","file4":"1402159636","file5":"1402159638","file3":"1402159634"},"map_files_photo_id_array":[{"photo_id":"1402159638","filename":"file5"},{"photo_id":"1402159632","filename":"file2"},{"photo_id":"1402159636","filename":"file4"},{"photo_id":"1402159630","filename":"file1"},{"photo_id":"1402159627","filename":"file0"},{"photo_id":"1402159634","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159634":["hashtag1","hashtag2"]},{"1402159636":["hashtag1","hashtag2"]},{"1402159630":["hashtag1","hashtag2"]},{"1402159627":["hashtag1","hashtag2"]},{"1402159632":["hashtag1","hashtag2"]},{"1402159638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159634, 1402159636, 1402159630, 1402159627, 1402159632, 1402159638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89986562728882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:43:42.819040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_13_1553.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_15_1627.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_16_1535.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_19_1642.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_21_1537.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_23_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_13_1553.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_15_1627.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_16_1535.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_19_1642.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_21_1537.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_23_1588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159654","1402159653","1402159656","1402159655","1402159643","1402159652"],"photo_ids_order":["1402159643","1402159652","1402159653","1402159654","1402159655","1402159656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/68664ba5de26a98e245a5aaf7273eff2.jpg","text":"TemporaryFile(/tmp/multipartBody2596959636168843275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361484772,"filename":"image_05112025_19_07_19_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/2/dce887e8fd27e318992da0b9f7266a13.jpg","text":"TemporaryFile(/tmp/multipartBody2813940666613886512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361484772,"filename":"image_05112025_19_07_16_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/2/1fdab7c0e25a5538aae942b0bfb60d06.jpg","text":"TemporaryFile(/tmp/multipartBody4333396303050482175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361484772,"filename":"image_05112025_19_07_23_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/2/8654c1342fde933c13fa9e71f65ed85a.jpg","text":"TemporaryFile(/tmp/multipartBody1153793824203063414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361484772,"filename":"image_05112025_19_07_21_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/2/12ec8cedfe1e7457c79547ffd5e794a9.jpg","text":"TemporaryFile(/tmp/multipartBody7583969858962692461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361484772,"filename":"image_05112025_19_07_13_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/2/99c9f1e7d2ec99ebc1b98e8528b3df82.jpg","text":"TemporaryFile(/tmp/multipartBody7521212878971334087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361484772,"filename":"image_05112025_19_07_15_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159653","file1":"1402159652","file0":"1402159643","file4":"1402159655","file5":"1402159656","file3":"1402159654"},"map_files_photo_id_array":[{"photo_id":"1402159656","filename":"file5"},{"photo_id":"1402159653","filename":"file2"},{"photo_id":"1402159655","filename":"file4"},{"photo_id":"1402159652","filename":"file1"},{"photo_id":"1402159643","filename":"file0"},{"photo_id":"1402159654","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159654":["hashtag1","hashtag2"]},{"1402159653":["hashtag1","hashtag2"]},{"1402159656":["hashtag1","hashtag2"]},{"1402159655":["hashtag1","hashtag2"]},{"1402159643":["hashtag1","hashtag2"]},{"1402159652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159654, 1402159653, 1402159656, 1402159655, 1402159643, 1402159652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56323862075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:44:22.000718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/37/image_02012026_13_38_05_9599.jpg', '/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_14_9682.jpg', '/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_25_10625.jpg', '/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_35_9746.jpg', '/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_44_9654.jpg', '/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_54_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/37/image_02012026_13_38_05_9599.jpg
/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_14_9682.jpg
/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_25_10625.jpg
/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_35_9746.jpg
/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_44_9654.jpg
/home/pi/Desktop/images/02012026/13/38/image_02012026_13_38_54_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":["1402159687","1402159695","1402159689","1402159692","1402159685","1402159682"],"photo_ids_order":["1402159682","1402159685","1402159687","1402159689","1402159692","1402159695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3134029990c1be3297a2769a4bd5aee1.jpg","text":"TemporaryFile(/tmp/multipartBody9013205039915183582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361522669,"filename":"image_02012026_13_38_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/2/0c278fc0cddfc2526f6945fc3bf22c57.jpg","text":"TemporaryFile(/tmp/multipartBody7063628159807089755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361522669,"filename":"image_02012026_13_38_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/2/9b0c3cb43a61242642c35f7422e8805d.jpg","text":"TemporaryFile(/tmp/multipartBody3718163068554314881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361522669,"filename":"image_02012026_13_38_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/2/38cf3cc1a09ee6cb134ba914859ba7f0.jpg","text":"TemporaryFile(/tmp/multipartBody4630325327182504698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361522669,"filename":"image_02012026_13_38_44_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/2/64f8b505f0601fe95e4aa3cff141b347.jpg","text":"TemporaryFile(/tmp/multipartBody5940634658357334179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361522669,"filename":"image_02012026_13_38_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/2/2a7aace31895874c548216652da671f0.jpg","text":"TemporaryFile(/tmp/multipartBody1221856409651224597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361522669,"filename":"image_02012026_13_38_05_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159687","file1":"1402159685","file0":"1402159682","file4":"1402159692","file5":"1402159695","file3":"1402159689"},"map_files_photo_id_array":[{"photo_id":"1402159695","filename":"file5"},{"photo_id":"1402159687","filename":"file2"},{"photo_id":"1402159692","filename":"file4"},{"photo_id":"1402159685","filename":"file1"},{"photo_id":"1402159682","filename":"file0"},{"photo_id":"1402159689","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159687":["hashtag1","hashtag2"]},{"1402159695":["hashtag1","hashtag2"]},{"1402159689":["hashtag1","hashtag2"]},{"1402159692":["hashtag1","hashtag2"]},{"1402159685":["hashtag1","hashtag2"]},{"1402159682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159687, 1402159695, 1402159689, 1402159692, 1402159685, 1402159682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00230169296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:45:02.797217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/38/image_02012026_13_39_05_10683.jpg', '/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_15_9852.jpg', '/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_24_9836.jpg', '/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_34_9748.jpg', '/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_45_10768.jpg', '/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_54_9234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/38/image_02012026_13_39_05_10683.jpg
/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_15_9852.jpg
/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_24_9836.jpg
/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_34_9748.jpg
/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_45_10768.jpg
/home/pi/Desktop/images/02012026/13/39/image_02012026_13_39_54_9234.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402159706","1402159721","1402159714","1402159719","1402159704","1402159697"],"photo_ids_order":["1402159697","1402159704","1402159706","1402159714","1402159719","1402159721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65c51d9d8e262a0ff6e17b8a6937bc20.jpg","text":"TemporaryFile(/tmp/multipartBody1082802551980081164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361563501,"filename":"image_02012026_13_39_24_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/2/c4213744c76a5fd9f8c9da83a89c47a4.jpg","text":"TemporaryFile(/tmp/multipartBody1381482390190026152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361563501,"filename":"image_02012026_13_39_54_9234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bd44559eb675de04b81824c9e9c0f0d.jpg","text":"TemporaryFile(/tmp/multipartBody89589097783619542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361563501,"filename":"image_02012026_13_39_34_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/2/bdd4df6d8f58e8d812e34291e64ecfce.jpg","text":"TemporaryFile(/tmp/multipartBody8476534255791767554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361563501,"filename":"image_02012026_13_39_45_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/2/db953ca02f07782af7a91a2e532fc23d.jpg","text":"TemporaryFile(/tmp/multipartBody7217540388739467955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361563501,"filename":"image_02012026_13_39_15_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/2/13a8b78551610a7afd510d41e4972194.jpg","text":"TemporaryFile(/tmp/multipartBody2789814294361340477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361563501,"filename":"image_02012026_13_39_05_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159706","file1":"1402159704","file0":"1402159697","file4":"1402159719","file5":"1402159721","file3":"1402159714"},"map_files_photo_id_array":[{"photo_id":"1402159721","filename":"file5"},{"photo_id":"1402159706","filename":"file2"},{"photo_id":"1402159719","filename":"file4"},{"photo_id":"1402159704","filename":"file1"},{"photo_id":"1402159697","filename":"file0"},{"photo_id":"1402159714","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159706":["hashtag1","hashtag2"]},{"1402159721":["hashtag1","hashtag2"]},{"1402159714":["hashtag1","hashtag2"]},{"1402159719":["hashtag1","hashtag2"]},{"1402159704":["hashtag1","hashtag2"]},{"1402159697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159706, 1402159721, 1402159714, 1402159719, 1402159704, 1402159697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72609305381775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:45:42.104117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_24_1694.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_26_1559.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_27_1629.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_29_1646.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_31_1789.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_32_1525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_24_1694.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_26_1559.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_27_1629.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_29_1646.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_31_1789.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_32_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
<Response [200]>
b'{"photo_ids":["1402159733","1402159732","1402159756","1402159794","1402159734","1402159730"],"photo_ids_order":["1402159730","1402159732","1402159733","1402159734","1402159756","1402159794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17e9d8177c41482706444aca8243c14f.jpg","text":"TemporaryFile(/tmp/multipartBody631529344890859936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361604055,"filename":"image_05112025_19_07_27_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/2/d91f443526d52954a9d8bf931c73589a.jpg","text":"TemporaryFile(/tmp/multipartBody4419749421793395109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361604055,"filename":"image_05112025_19_07_26_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/2/52eb19c245bf312e9ac6ae6efcf48d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7856325145236150631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361604055,"filename":"image_05112025_19_07_31_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/2/7b0c2a20eba0fe310754e38d919a1907.jpg","text":"TemporaryFile(/tmp/multipartBody4192472797853911090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361604055,"filename":"image_05112025_19_07_32_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/2/e41f7ebb2e3ef45027cff040e5475c4b.jpg","text":"TemporaryFile(/tmp/multipartBody1514434957611916445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361604055,"filename":"image_05112025_19_07_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/2/45bbbb6c6a20335c518867e08bd5cb6d.jpg","text":"TemporaryFile(/tmp/multipartBody6019619870493974073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361604055,"filename":"image_05112025_19_07_24_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159733","file1":"1402159732","file0":"1402159730","file4":"1402159756","file5":"1402159794","file3":"1402159734"},"map_files_photo_id_array":[{"photo_id":"1402159794","filename":"file5"},{"photo_id":"1402159733","filename":"file2"},{"photo_id":"1402159756","filename":"file4"},{"photo_id":"1402159732","filename":"file1"},{"photo_id":"1402159730","filename":"file0"},{"photo_id":"1402159734","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402159733":["hashtag1","hashtag2"]},{"1402159732":["hashtag1","hashtag2"]},{"1402159756":["hashtag1","hashtag2"]},{"1402159794":["hashtag1","hashtag2"]},{"1402159734":["hashtag1","hashtag2"]},{"1402159730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402159733, 1402159732, 1402159756, 1402159794, 1402159734, 1402159730)","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 = 1402159733 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_27_1629.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1402159733 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_27_1629.jpg";
uploaded 6 photos
time to upload: 62.955897092819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:47:03.218157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/39/image_02012026_13_40_05_10763.jpg', '/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_15_9665.jpg', '/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_24_9674.jpg', '/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_34_9719.jpg', '/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_45_10694.jpg', '/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/39/image_02012026_13_40_05_10763.jpg
/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_15_9665.jpg
/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_24_9674.jpg
/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_34_9719.jpg
/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_45_10694.jpg
/home/pi/Desktop/images/02012026/13/40/image_02012026_13_40_54_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":["1402159897","1402159879","1402159909","1402159900","1402159911","1402159905"],"photo_ids_order":["1402159879","1402159897","1402159900","1402159905","1402159909","1402159911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0fd881bc51a8dd74350b02953b77fc7b.jpg","text":"TemporaryFile(/tmp/multipartBody7162512840539835272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361685715,"filename":"image_02012026_13_40_15_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/2/d06a9eecd13b511c151555468ffffb59.jpg","text":"TemporaryFile(/tmp/multipartBody5177703698880986972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361685715,"filename":"image_02012026_13_40_05_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/2/f79b181836e84683be4d33845157de6a.jpg","text":"TemporaryFile(/tmp/multipartBody4324433355396325600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361685715,"filename":"image_02012026_13_40_45_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/2/20afd3236d749fb2b8f0e9424109489f.jpg","text":"TemporaryFile(/tmp/multipartBody5472355812032038137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361685715,"filename":"image_02012026_13_40_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/2/e6aaf296c512d2f2764dd313cd4d42cd.jpg","text":"TemporaryFile(/tmp/multipartBody4142690805696993926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361685715,"filename":"image_02012026_13_40_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/2/2795fbd0dde461e1ac4a5d7877dd0095.jpg","text":"TemporaryFile(/tmp/multipartBody9080853043425725630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361685715,"filename":"image_02012026_13_40_34_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402159900","file1":"1402159897","file0":"1402159879","file4":"1402159909","file5":"1402159911","file3":"1402159905"},"map_files_photo_id_array":[{"photo_id":"1402159911","filename":"file5"},{"photo_id":"1402159900","filename":"file2"},{"photo_id":"1402159909","filename":"file4"},{"photo_id":"1402159897","filename":"file1"},{"photo_id":"1402159879","filename":"file0"},{"photo_id":"1402159905","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402159897":["hashtag1","hashtag2"]},{"1402159879":["hashtag1","hashtag2"]},{"1402159909":["hashtag1","hashtag2"]},{"1402159900":["hashtag1","hashtag2"]},{"1402159911":["hashtag1","hashtag2"]},{"1402159905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402159897, 1402159879, 1402159909, 1402159900, 1402159911, 1402159905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54121780395508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:47:42.568659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_24_1694.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_26_1559.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_27_1629.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_29_1646.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_31_1789.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_32_1525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_24_1694.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_26_1559.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_27_1629.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_29_1646.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_31_1789.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_32_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
<Response [200]>
b'{"photo_ids":["1402160024","1402160003","1402160012","1402159918","1402160023","1402159967"],"photo_ids_order":["1402159918","1402159967","1402160003","1402160012","1402160023","1402160024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e890a8fa278048df5576f5990b7ed847.jpg","text":"TemporaryFile(/tmp/multipartBody1455104739555193321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361724155,"filename":"image_05112025_19_07_32_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/2/44e3c697ba7c1a187b20392bb1548c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1889849715654919201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361724155,"filename":"image_05112025_19_07_27_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/2/56066e829fc501cbe7c4d33008e3151f.jpg","text":"TemporaryFile(/tmp/multipartBody4108646967552289251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361724155,"filename":"image_05112025_19_07_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/2/6ebf82ee3de16bca967724234778cb73.jpg","text":"TemporaryFile(/tmp/multipartBody6763726247221792162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361724155,"filename":"image_05112025_19_07_24_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/2/58a2140d5813d058d4342225b812de0e.jpg","text":"TemporaryFile(/tmp/multipartBody6038065163359003061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361724155,"filename":"image_05112025_19_07_31_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/2/d67f2117c76764af97005f9af502740b.jpg","text":"TemporaryFile(/tmp/multipartBody5632224309585924745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361724155,"filename":"image_05112025_19_07_26_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160003","file1":"1402159967","file0":"1402159918","file4":"1402160023","file5":"1402160024","file3":"1402160012"},"map_files_photo_id_array":[{"photo_id":"1402160024","filename":"file5"},{"photo_id":"1402160003","filename":"file2"},{"photo_id":"1402160023","filename":"file4"},{"photo_id":"1402159967","filename":"file1"},{"photo_id":"1402159918","filename":"file0"},{"photo_id":"1402160012","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402160024":["hashtag1","hashtag2"]},{"1402160003":["hashtag1","hashtag2"]},{"1402160012":["hashtag1","hashtag2"]},{"1402159918":["hashtag1","hashtag2"]},{"1402160023":["hashtag1","hashtag2"]},{"1402159967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402160024, 1402160003, 1402160012, 1402159918, 1402160023, 1402159967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58305263519287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:48:21.822106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/40/image_02012026_13_41_05_10611.jpg', '/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_15_9701.jpg', '/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_24_9749.jpg', '/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_34_9705.jpg', '/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_45_10704.jpg', '/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/40/image_02012026_13_41_05_10611.jpg
/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_15_9701.jpg
/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_24_9749.jpg
/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_34_9705.jpg
/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_45_10704.jpg
/home/pi/Desktop/images/02012026/13/41/image_02012026_13_41_54_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402160089","1402160077","1402160092","1402160074","1402160079","1402160084"],"photo_ids_order":["1402160074","1402160077","1402160079","1402160084","1402160089","1402160092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5a3a41585c5490fe7370a83839010fd.jpg","text":"TemporaryFile(/tmp/multipartBody4330096692018115462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361762454,"filename":"image_02012026_13_41_45_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/2/cfe75469bd182928d871a5b15a9ed10b.jpg","text":"TemporaryFile(/tmp/multipartBody5469552201173475427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361762454,"filename":"image_02012026_13_41_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/2/748b3bbc26e7809a81b02c89d4bf6e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7518574359891774906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361762454,"filename":"image_02012026_13_41_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/2/e7b01c8a153bbb8f9156cbb54e30f69a.jpg","text":"TemporaryFile(/tmp/multipartBody909947487709348237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361762454,"filename":"image_02012026_13_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/2/f889deee4df8679de6e8db9a077310fe.jpg","text":"TemporaryFile(/tmp/multipartBody7560431161500249520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361762454,"filename":"image_02012026_13_41_24_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/2/4736bf44f7e6db0a5a11d596badf7865.jpg","text":"TemporaryFile(/tmp/multipartBody1491312805678681306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361762454,"filename":"image_02012026_13_41_34_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160079","file1":"1402160077","file0":"1402160074","file4":"1402160089","file5":"1402160092","file3":"1402160084"},"map_files_photo_id_array":[{"photo_id":"1402160092","filename":"file5"},{"photo_id":"1402160079","filename":"file2"},{"photo_id":"1402160089","filename":"file4"},{"photo_id":"1402160077","filename":"file1"},{"photo_id":"1402160074","filename":"file0"},{"photo_id":"1402160084","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160089":["hashtag1","hashtag2"]},{"1402160077":["hashtag1","hashtag2"]},{"1402160092":["hashtag1","hashtag2"]},{"1402160074":["hashtag1","hashtag2"]},{"1402160079":["hashtag1","hashtag2"]},{"1402160084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160089, 1402160077, 1402160092, 1402160074, 1402160079, 1402160084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.660457611083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:49:02.783030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/41/image_02012026_13_42_04_9573.jpg', '/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_14_10002.jpg', '/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_25_10803.jpg', '/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_34_9569.jpg', '/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_44_9670.jpg', '/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_55_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/41/image_02012026_13_42_04_9573.jpg
/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_14_10002.jpg
/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_25_10803.jpg
/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_34_9569.jpg
/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_44_9670.jpg
/home/pi/Desktop/images/02012026/13/42/image_02012026_13_42_55_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402160102","1402160104","1402160103","1402160112","1402160106","1402160109"],"photo_ids_order":["1402160102","1402160103","1402160104","1402160106","1402160109","1402160112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5b52b109ff5959a4cea3c1fa9a0fae7a.jpg","text":"TemporaryFile(/tmp/multipartBody252866303962921354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361803559,"filename":"image_02012026_13_42_04_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/2/086a2ad2be0b92fec2b476261323b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1930736607352261097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361803559,"filename":"image_02012026_13_42_25_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/2/9cd51601dfcbdbc481f540b6529c56d0.jpg","text":"TemporaryFile(/tmp/multipartBody5065071669511527517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361803559,"filename":"image_02012026_13_42_14_10002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/321c3938b91f00c9a69bc5e2a02922db.jpg","text":"TemporaryFile(/tmp/multipartBody1191454322307006974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361803559,"filename":"image_02012026_13_42_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/2/39b4d5f76ddbbc53dc23ea712939e5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6559441239886947646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361803559,"filename":"image_02012026_13_42_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/2/0ae89ce8ca2be2006d2dbc5b69b18d32.jpg","text":"TemporaryFile(/tmp/multipartBody6741922675999198059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361803559,"filename":"image_02012026_13_42_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160104","file1":"1402160103","file0":"1402160102","file4":"1402160109","file5":"1402160112","file3":"1402160106"},"map_files_photo_id_array":[{"photo_id":"1402160112","filename":"file5"},{"photo_id":"1402160104","filename":"file2"},{"photo_id":"1402160109","filename":"file4"},{"photo_id":"1402160103","filename":"file1"},{"photo_id":"1402160102","filename":"file0"},{"photo_id":"1402160106","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160102":["hashtag1","hashtag2"]},{"1402160104":["hashtag1","hashtag2"]},{"1402160103":["hashtag1","hashtag2"]},{"1402160112":["hashtag1","hashtag2"]},{"1402160106":["hashtag1","hashtag2"]},{"1402160109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160102, 1402160104, 1402160103, 1402160112, 1402160106, 1402160109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.192089557647705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:49:42.074845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_34_1574.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_36_1512.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_37_1601.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_39_1607.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_40_1683.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_42_1785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_34_1574.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_36_1512.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_37_1601.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_39_1607.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_40_1683.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_42_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":["1402160240","1402160303","1402160305","1402160295","1402160304","1402160294"],"photo_ids_order":["1402160240","1402160294","1402160295","1402160303","1402160304","1402160305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc448316db6871dd470913d0154ac9da.jpg","text":"TemporaryFile(/tmp/multipartBody8917446858691727926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361843879,"filename":"image_05112025_19_07_34_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/2/94a2b279dc2f612fee06f49a7b681e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7736428824206234803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361843879,"filename":"image_05112025_19_07_39_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/2/62da7f729bf59173b79cb67f221cf407.jpg","text":"TemporaryFile(/tmp/multipartBody4941565981683283578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361843879,"filename":"image_05112025_19_07_42_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/2/a5759f6a2017c01110fa62266e6001bf.jpg","text":"TemporaryFile(/tmp/multipartBody8303272748763581911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361843879,"filename":"image_05112025_19_07_37_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/2/c9e2ba6faf9cf785fb737135535411bc.jpg","text":"TemporaryFile(/tmp/multipartBody1017029052642524152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361843879,"filename":"image_05112025_19_07_40_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/2/0a5935c18808157ce338bcc68d9b5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1756575251657947739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361843879,"filename":"image_05112025_19_07_36_1512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160295","file1":"1402160294","file0":"1402160240","file4":"1402160304","file5":"1402160305","file3":"1402160303"},"map_files_photo_id_array":[{"photo_id":"1402160305","filename":"file5"},{"photo_id":"1402160295","filename":"file2"},{"photo_id":"1402160304","filename":"file4"},{"photo_id":"1402160294","filename":"file1"},{"photo_id":"1402160240","filename":"file0"},{"photo_id":"1402160303","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402160240":["hashtag1","hashtag2"]},{"1402160303":["hashtag1","hashtag2"]},{"1402160305":["hashtag1","hashtag2"]},{"1402160295":["hashtag1","hashtag2"]},{"1402160304":["hashtag1","hashtag2"]},{"1402160294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402160240, 1402160303, 1402160305, 1402160295, 1402160304, 1402160294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.026535749435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:50:22.219487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/42/image_02012026_13_43_05_9763.jpg', '/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_14_9801.jpg', '/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_25_10575.jpg', '/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_35_9706.jpg', '/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_44_9656.jpg', '/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/42/image_02012026_13_43_05_9763.jpg
/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_14_9801.jpg
/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_25_10575.jpg
/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_35_9706.jpg
/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_44_9656.jpg
/home/pi/Desktop/images/02012026/13/43/image_02012026_13_43_55_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":["1402160360","1402160470","1402160353","1402160356","1402160428","1402160364"],"photo_ids_order":["1402160353","1402160356","1402160360","1402160364","1402160428","1402160470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e2eb58be7adab4b5ce5f0fd13d5618e.jpg","text":"TemporaryFile(/tmp/multipartBody2773459025149379262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361882860,"filename":"image_02012026_13_43_25_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/2/769e43614076f9170cff009f1ea7a333.jpg","text":"TemporaryFile(/tmp/multipartBody5289562538326402426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361882860,"filename":"image_02012026_13_43_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/2/c51528da2c9d9624b0e70706665272ff.jpg","text":"TemporaryFile(/tmp/multipartBody9099860646760759410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361882860,"filename":"image_02012026_13_43_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/2/f2eaefc25bcc702d3cf6c90426373fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5265906340935201475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361882860,"filename":"image_02012026_13_43_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/2/316b2cddf9f90824b531496a2aae4532.jpg","text":"TemporaryFile(/tmp/multipartBody8894683425856419930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361882860,"filename":"image_02012026_13_43_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/2/2e32187aeb868db3a225213dadb7d9df.jpg","text":"TemporaryFile(/tmp/multipartBody1515252205910831400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361882860,"filename":"image_02012026_13_43_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160360","file1":"1402160356","file0":"1402160353","file4":"1402160428","file5":"1402160470","file3":"1402160364"},"map_files_photo_id_array":[{"photo_id":"1402160470","filename":"file5"},{"photo_id":"1402160360","filename":"file2"},{"photo_id":"1402160428","filename":"file4"},{"photo_id":"1402160356","filename":"file1"},{"photo_id":"1402160353","filename":"file0"},{"photo_id":"1402160364","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160360":["hashtag1","hashtag2"]},{"1402160470":["hashtag1","hashtag2"]},{"1402160353":["hashtag1","hashtag2"]},{"1402160356":["hashtag1","hashtag2"]},{"1402160428":["hashtag1","hashtag2"]},{"1402160364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160360, 1402160470, 1402160353, 1402160356, 1402160428, 1402160364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36340689659119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:51:03.011350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/43/image_02012026_13_44_05_9816.jpg', '/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_15_9747.jpg', '/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_24_9744.jpg', '/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_35_10689.jpg', '/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_45_9672.jpg', '/home/pi/Desktop/images/02012026/13/44/image_02012026_13_45_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/43/image_02012026_13_44_05_9816.jpg
/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_15_9747.jpg
/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_24_9744.jpg
/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_35_10689.jpg
/home/pi/Desktop/images/02012026/13/44/image_02012026_13_44_45_9672.jpg
/home/pi/Desktop/images/02012026/13/44/image_02012026_13_45_04_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":["1402160651","1402160609","1402160758","1402160686","1402160809","1402160814"],"photo_ids_order":["1402160609","1402160651","1402160686","1402160758","1402160809","1402160814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2414b1740a407d213275dd8f6e24e3d.jpg","text":"TemporaryFile(/tmp/multipartBody6969729935976975469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361923745,"filename":"image_02012026_13_44_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/2/8f898ad1b7a975ae95a47b65fa655645.jpg","text":"TemporaryFile(/tmp/multipartBody4072377975437639398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361923745,"filename":"image_02012026_13_44_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/2/17adea86c5750148dd2b327e5ac93af3.jpg","text":"TemporaryFile(/tmp/multipartBody3828441337144203459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361923745,"filename":"image_02012026_13_44_35_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/2/4bfa21ef77867197c782ae0945a0ee6a.jpg","text":"TemporaryFile(/tmp/multipartBody8934544754638688259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361923745,"filename":"image_02012026_13_44_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/2/6d32b973ae052087e0b7f8ef6eee7b9d.jpg","text":"TemporaryFile(/tmp/multipartBody1652308816389665492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361923745,"filename":"image_02012026_13_44_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/2/35f7024b5e8b6648bbbda3ee021870d7.jpg","text":"TemporaryFile(/tmp/multipartBody2919514734081953332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361923745,"filename":"image_02012026_13_45_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160686","file1":"1402160651","file0":"1402160609","file4":"1402160809","file5":"1402160814","file3":"1402160758"},"map_files_photo_id_array":[{"photo_id":"1402160814","filename":"file5"},{"photo_id":"1402160686","filename":"file2"},{"photo_id":"1402160809","filename":"file4"},{"photo_id":"1402160651","filename":"file1"},{"photo_id":"1402160609","filename":"file0"},{"photo_id":"1402160758","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160651":["hashtag1","hashtag2"]},{"1402160609":["hashtag1","hashtag2"]},{"1402160758":["hashtag1","hashtag2"]},{"1402160686":["hashtag1","hashtag2"]},{"1402160809":["hashtag1","hashtag2"]},{"1402160814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160651, 1402160609, 1402160758, 1402160686, 1402160809, 1402160814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42977833747864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:51:42.403625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_49_6915.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_51_1713.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_52_1549.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_54_1614.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_56_1617.jpg', '/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_57_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_49_6915.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_51_1713.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_52_1549.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_54_1614.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_56_1617.jpg
/home/pi/Desktop/images/05112025/19/07/image_05112025_19_07_57_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402160822","1402160825","1402160819","1402160824","1402160821","1402160823"],"photo_ids_order":["1402160819","1402160821","1402160822","1402160823","1402160824","1402160825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/626d649eadd297a357be81dc10f0cc84.jpg","text":"TemporaryFile(/tmp/multipartBody1683469306538999914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361964177,"filename":"image_05112025_19_07_52_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/2/bc50ad1d8fdeea6dbbd93b6713a00dfa.jpg","text":"TemporaryFile(/tmp/multipartBody7494537514467985864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361964177,"filename":"image_05112025_19_07_57_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/2/cf8b5f100fee23fb41a7821a4151eebc.jpg","text":"TemporaryFile(/tmp/multipartBody224186112949075235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361964177,"filename":"image_05112025_19_07_49_6915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1af5d3eb853fc30e7d47a508e00dfadf.jpg","text":"TemporaryFile(/tmp/multipartBody1571381007880507793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361964177,"filename":"image_05112025_19_07_56_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/2/5b0b4386db3c7f5c618e3eef7eafbe11.jpg","text":"TemporaryFile(/tmp/multipartBody2786561227881482730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361964177,"filename":"image_05112025_19_07_51_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/2/d9195805d0a886906efedfb9d36d439e.jpg","text":"TemporaryFile(/tmp/multipartBody351014464308605397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767361964177,"filename":"image_05112025_19_07_54_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160822","file1":"1402160821","file0":"1402160819","file4":"1402160824","file5":"1402160825","file3":"1402160823"},"map_files_photo_id_array":[{"photo_id":"1402160825","filename":"file5"},{"photo_id":"1402160822","filename":"file2"},{"photo_id":"1402160824","filename":"file4"},{"photo_id":"1402160821","filename":"file1"},{"photo_id":"1402160819","filename":"file0"},{"photo_id":"1402160823","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402160822":["hashtag1","hashtag2"]},{"1402160825":["hashtag1","hashtag2"]},{"1402160819":["hashtag1","hashtag2"]},{"1402160824":["hashtag1","hashtag2"]},{"1402160821":["hashtag1","hashtag2"]},{"1402160823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402160822, 1402160825, 1402160819, 1402160824, 1402160821, 1402160823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.964284896850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:52:22.578548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_15_10889.jpg', '/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_24_9544.jpg', '/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_34_9643.jpg', '/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_45_10638.jpg', '/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_55_9853.jpg', '/home/pi/Desktop/images/02012026/13/45/image_02012026_13_46_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_15_10889.jpg
/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_24_9544.jpg
/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_34_9643.jpg
/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_45_10638.jpg
/home/pi/Desktop/images/02012026/13/45/image_02012026_13_45_55_9853.jpg
/home/pi/Desktop/images/02012026/13/45/image_02012026_13_46_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402160840","1402160890","1402160868","1402160859","1402160838","1402160876"],"photo_ids_order":["1402160838","1402160840","1402160859","1402160868","1402160876","1402160890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4434e2ce7612816946dd6e5cff5bc7e8.jpg","text":"TemporaryFile(/tmp/multipartBody6250944886616094453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362003215,"filename":"image_02012026_13_45_24_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/2/1aed3b69fcd64bae002562e7856f6e58.jpg","text":"TemporaryFile(/tmp/multipartBody8354825730772470678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362003215,"filename":"image_02012026_13_46_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/2/5184654559d75dab6804d7b9ff39dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody7995845717691852931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362003215,"filename":"image_02012026_13_45_45_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/2/5a565d471ea2cfe181711946a9be185b.jpg","text":"TemporaryFile(/tmp/multipartBody5204633275784616458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362003215,"filename":"image_02012026_13_45_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/2/f09ff4d72065647627cca5ced77a38fb.jpg","text":"TemporaryFile(/tmp/multipartBody6264352582392856743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362003215,"filename":"image_02012026_13_45_15_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0379be3d9fee45e106d7fea710f4c9a2.jpg","text":"TemporaryFile(/tmp/multipartBody6148576259865011286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362003215,"filename":"image_02012026_13_45_55_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160859","file1":"1402160840","file0":"1402160838","file4":"1402160876","file5":"1402160890","file3":"1402160868"},"map_files_photo_id_array":[{"photo_id":"1402160890","filename":"file5"},{"photo_id":"1402160859","filename":"file2"},{"photo_id":"1402160876","filename":"file4"},{"photo_id":"1402160840","filename":"file1"},{"photo_id":"1402160838","filename":"file0"},{"photo_id":"1402160868","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160840":["hashtag1","hashtag2"]},{"1402160890":["hashtag1","hashtag2"]},{"1402160868":["hashtag1","hashtag2"]},{"1402160859":["hashtag1","hashtag2"]},{"1402160838":["hashtag1","hashtag2"]},{"1402160876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160840, 1402160890, 1402160868, 1402160859, 1402160838, 1402160876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59638023376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:53:03.358126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_14_9659.jpg', '/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_25_10720.jpg', '/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_34_9675.jpg', '/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_44_9572.jpg', '/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_55_10713.jpg', '/home/pi/Desktop/images/02012026/13/46/image_02012026_13_47_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_14_9659.jpg
/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_25_10720.jpg
/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_34_9675.jpg
/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_44_9572.jpg
/home/pi/Desktop/images/02012026/13/46/image_02012026_13_46_55_10713.jpg
/home/pi/Desktop/images/02012026/13/46/image_02012026_13_47_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":["1402160903","1402160908","1402160916","1402160919","1402160910","1402160913"],"photo_ids_order":["1402160903","1402160908","1402160910","1402160913","1402160916","1402160919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12282e0954bcae3926faee71d7490d65.jpg","text":"TemporaryFile(/tmp/multipartBody6118816890072806716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362044043,"filename":"image_02012026_13_46_14_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/2/38bdd09122d5ede629fc97bd091a0e35.jpg","text":"TemporaryFile(/tmp/multipartBody1473451687527969281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362044043,"filename":"image_02012026_13_46_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/2/d60660635c642d86b978af36b9d0526e.jpg","text":"TemporaryFile(/tmp/multipartBody4261761847542213452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362044043,"filename":"image_02012026_13_46_55_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/2/2f16f3b508a0a9ab4181dd174199d080.jpg","text":"TemporaryFile(/tmp/multipartBody4321316504679510588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362044043,"filename":"image_02012026_13_47_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/2/21cfe195da9cb5e3fecc54514765a1f0.jpg","text":"TemporaryFile(/tmp/multipartBody347895077218031123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362044043,"filename":"image_02012026_13_46_34_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/2/2a23cc9c1848140f1b810d41d60d75ac.jpg","text":"TemporaryFile(/tmp/multipartBody4899111615707394292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362044043,"filename":"image_02012026_13_46_44_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160910","file1":"1402160908","file0":"1402160903","file4":"1402160916","file5":"1402160919","file3":"1402160913"},"map_files_photo_id_array":[{"photo_id":"1402160919","filename":"file5"},{"photo_id":"1402160910","filename":"file2"},{"photo_id":"1402160916","filename":"file4"},{"photo_id":"1402160908","filename":"file1"},{"photo_id":"1402160903","filename":"file0"},{"photo_id":"1402160913","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160903":["hashtag1","hashtag2"]},{"1402160908":["hashtag1","hashtag2"]},{"1402160916":["hashtag1","hashtag2"]},{"1402160919":["hashtag1","hashtag2"]},{"1402160910":["hashtag1","hashtag2"]},{"1402160913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160903, 1402160908, 1402160916, 1402160919, 1402160910, 1402160913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.033939838409424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:53:42.875309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_01_3775.jpg', '/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_03_1701.jpg', '/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_27_24615.jpg', '/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_29_1573.jpg', '/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_31_1603.jpg', '/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_58_25647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_01_3775.jpg
/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_03_1701.jpg
/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_27_24615.jpg
/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_29_1573.jpg
/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_31_1603.jpg
/home/pi/Desktop/images/05112025/19/08/image_05112025_19_08_58_25647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402160948","1402160942","1402160950","1402160938","1402160937","1402160925"],"photo_ids_order":["1402160925","1402160937","1402160938","1402160942","1402160948","1402160950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da7525d0bcd72556d09070c093ea032b.jpg","text":"TemporaryFile(/tmp/multipartBody1758307694500417209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362084664,"filename":"image_05112025_19_08_31_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/2/c526358fb43bd48dafccf29feb895851.jpg","text":"TemporaryFile(/tmp/multipartBody7656683324294439875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362084664,"filename":"image_05112025_19_08_29_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/2/6c3b03ae2d0afe1c5600fbc09a248276.jpg","text":"TemporaryFile(/tmp/multipartBody3623229001709647224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362084664,"filename":"image_05112025_19_08_58_25647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91ad5c9dc51ba624ddc767ca4dab1f69.jpg","text":"TemporaryFile(/tmp/multipartBody7520677844882069708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362084664,"filename":"image_05112025_19_08_27_24615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a3ed18dacb78d0d7fcf91eb4bf0e726.jpg","text":"TemporaryFile(/tmp/multipartBody2042261783356369584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362084664,"filename":"image_05112025_19_08_03_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/2/79e1c8a4040909fde9a3c0ba507e189b.jpg","text":"TemporaryFile(/tmp/multipartBody5936684434131778885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362084664,"filename":"image_05112025_19_08_01_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160938","file1":"1402160937","file0":"1402160925","file4":"1402160948","file5":"1402160950","file3":"1402160942"},"map_files_photo_id_array":[{"photo_id":"1402160950","filename":"file5"},{"photo_id":"1402160938","filename":"file2"},{"photo_id":"1402160948","filename":"file4"},{"photo_id":"1402160937","filename":"file1"},{"photo_id":"1402160925","filename":"file0"},{"photo_id":"1402160942","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402160948":["hashtag1","hashtag2"]},{"1402160942":["hashtag1","hashtag2"]},{"1402160950":["hashtag1","hashtag2"]},{"1402160938":["hashtag1","hashtag2"]},{"1402160937":["hashtag1","hashtag2"]},{"1402160925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402160948, 1402160942, 1402160950, 1402160938, 1402160937, 1402160925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41959595680237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:54:22.107557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_14_9659.jpg', '/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_25_10762.jpg', '/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_34_9532.jpg', '/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_45_10564.jpg', '/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_54_9647.jpg', '/home/pi/Desktop/images/02012026/13/47/image_02012026_13_48_04_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_14_9659.jpg
/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_25_10762.jpg
/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_34_9532.jpg
/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_45_10564.jpg
/home/pi/Desktop/images/02012026/13/47/image_02012026_13_47_54_9647.jpg
/home/pi/Desktop/images/02012026/13/47/image_02012026_13_48_04_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":["1402160968","1402160956","1402160965","1402160961","1402160958","1402160963"],"photo_ids_order":["1402160956","1402160958","1402160961","1402160963","1402160965","1402160968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75c154ca264c99c5a88de66a79502141.jpg","text":"TemporaryFile(/tmp/multipartBody6919804713362943790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362122732,"filename":"image_02012026_13_48_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/2/8938d3d6f5db3fb147109fe7b017ed7d.jpg","text":"TemporaryFile(/tmp/multipartBody444349660855081213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362122732,"filename":"image_02012026_13_47_14_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/2/981a9b885e9f2c98b962551515358a17.jpg","text":"TemporaryFile(/tmp/multipartBody5871141733521949877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362122732,"filename":"image_02012026_13_47_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/2/078226d187bfd09ac43bbcc8bddc03b7.jpg","text":"TemporaryFile(/tmp/multipartBody4404285089032865695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362122732,"filename":"image_02012026_13_47_34_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c90d6894a61c369a4053b70b52b174a5.jpg","text":"TemporaryFile(/tmp/multipartBody3201315300134423481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362122732,"filename":"image_02012026_13_47_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/2/5b6d35e211b140b4c71a4db94e6fcaaa.jpg","text":"TemporaryFile(/tmp/multipartBody8542510948428102840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362122732,"filename":"image_02012026_13_47_45_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160961","file1":"1402160958","file0":"1402160956","file4":"1402160965","file5":"1402160968","file3":"1402160963"},"map_files_photo_id_array":[{"photo_id":"1402160968","filename":"file5"},{"photo_id":"1402160961","filename":"file2"},{"photo_id":"1402160965","filename":"file4"},{"photo_id":"1402160958","filename":"file1"},{"photo_id":"1402160956","filename":"file0"},{"photo_id":"1402160963","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160968":["hashtag1","hashtag2"]},{"1402160956":["hashtag1","hashtag2"]},{"1402160965":["hashtag1","hashtag2"]},{"1402160961":["hashtag1","hashtag2"]},{"1402160958":["hashtag1","hashtag2"]},{"1402160963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160968, 1402160956, 1402160965, 1402160961, 1402160958, 1402160963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300403118133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:55:02.954907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_15_10662.jpg', '/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_25_9673.jpg', '/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_34_9635.jpg', '/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_54_9722.jpg', '/home/pi/Desktop/images/02012026/13/49/image_02012026_13_49_14_9878.jpg', '/home/pi/Desktop/images/02012026/13/49/image_02012026_13_49_25_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_15_10662.jpg
/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_25_9673.jpg
/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_34_9635.jpg
/home/pi/Desktop/images/02012026/13/48/image_02012026_13_48_54_9722.jpg
/home/pi/Desktop/images/02012026/13/49/image_02012026_13_49_14_9878.jpg
/home/pi/Desktop/images/02012026/13/49/image_02012026_13_49_25_10768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402160980","1402160971","1402160973","1402160982","1402160975","1402160978"],"photo_ids_order":["1402160971","1402160973","1402160975","1402160978","1402160980","1402160982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/01a1fe38c196881e2321b91eb5d5206b.jpg","text":"TemporaryFile(/tmp/multipartBody7535395416413353790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362163707,"filename":"image_02012026_13_49_14_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/2/87c6a740d814617fec88fd6b8a0f761f.jpg","text":"TemporaryFile(/tmp/multipartBody7407577066444734859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362163707,"filename":"image_02012026_13_48_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/2/d2294b254da13f0e80612e0b1d424dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6776764795504609690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362163707,"filename":"image_02012026_13_48_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/2/714696326ecf681edd55408fbafb809f.jpg","text":"TemporaryFile(/tmp/multipartBody5349388697737645407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362163707,"filename":"image_02012026_13_49_25_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/2/3664027b82d253987b68e30ffa6a76c8.jpg","text":"TemporaryFile(/tmp/multipartBody2091820471001590803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362163707,"filename":"image_02012026_13_48_34_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/2/0063388e465496da0fafdaa99d131e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1418984038380474321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362163707,"filename":"image_02012026_13_48_54_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160975","file1":"1402160973","file0":"1402160971","file4":"1402160980","file5":"1402160982","file3":"1402160978"},"map_files_photo_id_array":[{"photo_id":"1402160982","filename":"file5"},{"photo_id":"1402160975","filename":"file2"},{"photo_id":"1402160980","filename":"file4"},{"photo_id":"1402160973","filename":"file1"},{"photo_id":"1402160971","filename":"file0"},{"photo_id":"1402160978","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160980":["hashtag1","hashtag2"]},{"1402160971":["hashtag1","hashtag2"]},{"1402160973":["hashtag1","hashtag2"]},{"1402160982":["hashtag1","hashtag2"]},{"1402160975":["hashtag1","hashtag2"]},{"1402160978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160980, 1402160971, 1402160973, 1402160982, 1402160975, 1402160978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67857599258423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:55:42.402220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_01_3002.jpg', '/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_02_1678.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_07_3014.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_11_3784.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_13_2691.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_16_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_01_3002.jpg
/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_02_1678.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_07_3014.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_11_3784.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_13_2691.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_16_2565.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.690598487854004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:56:02.972445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/49/image_02012026_13_49_54_9834.jpg', '/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_15_10614.jpg', '/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_25_9955.jpg', '/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_34_9699.jpg', '/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_44_9896.jpg', '/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_55_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/49/image_02012026_13_49_54_9834.jpg
/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_15_10614.jpg
/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_25_9955.jpg
/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_34_9699.jpg
/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_44_9896.jpg
/home/pi/Desktop/images/02012026/13/50/image_02012026_13_50_55_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":["1402160998","1402161015","1402160994","1402161012","1402161009","1402160996"],"photo_ids_order":["1402160994","1402160996","1402160998","1402161009","1402161012","1402161015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29d15729ef7fc589b8918b9df88ae567.jpg","text":"TemporaryFile(/tmp/multipartBody3398015028456470757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362223687,"filename":"image_02012026_13_50_25_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/2/219683c101a6a312439f06dcff547d10.jpg","text":"TemporaryFile(/tmp/multipartBody4385450490987806371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362223687,"filename":"image_02012026_13_50_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/2/3bf797ba86257b2d648fa14316b3960b.jpg","text":"TemporaryFile(/tmp/multipartBody5655093991673908849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362223687,"filename":"image_02012026_13_49_54_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/2/20554b159cbb0e7e3a89126a193f10ac.jpg","text":"TemporaryFile(/tmp/multipartBody465935087214589189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362223687,"filename":"image_02012026_13_50_44_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/2/64ae6d6f05673a00ce0b13ab682c2eeb.jpg","text":"TemporaryFile(/tmp/multipartBody1973345736937088272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362223687,"filename":"image_02012026_13_50_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/2/8a38fd580148e677b43eca86508575bb.jpg","text":"TemporaryFile(/tmp/multipartBody2559174967646380100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362223687,"filename":"image_02012026_13_50_15_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402160998","file1":"1402160996","file0":"1402160994","file4":"1402161012","file5":"1402161015","file3":"1402161009"},"map_files_photo_id_array":[{"photo_id":"1402161015","filename":"file5"},{"photo_id":"1402160998","filename":"file2"},{"photo_id":"1402161012","filename":"file4"},{"photo_id":"1402160996","filename":"file1"},{"photo_id":"1402160994","filename":"file0"},{"photo_id":"1402161009","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402160998":["hashtag1","hashtag2"]},{"1402161015":["hashtag1","hashtag2"]},{"1402160994":["hashtag1","hashtag2"]},{"1402161012":["hashtag1","hashtag2"]},{"1402161009":["hashtag1","hashtag2"]},{"1402160996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402160998, 1402161015, 1402160994, 1402161012, 1402161009, 1402160996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80855369567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 14:56:42.560217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_01_3002.jpg', '/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_02_1678.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_07_3014.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_11_3784.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_13_2691.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_16_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_01_3002.jpg
/home/pi/Desktop/images/05112025/19/09/image_05112025_19_09_02_1678.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_07_3014.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_11_3784.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_13_2691.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_16_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402161082","1402161103","1402161126","1402161095","1402161146","1402161131"],"photo_ids_order":["1402161082","1402161095","1402161103","1402161126","1402161131","1402161146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/664db890255461a9ebdf8dfc50fc39e6.jpg","text":"TemporaryFile(/tmp/multipartBody8034291640471429866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362264206,"filename":"image_05112025_19_09_01_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/2/cddd48ef64e5c9bcd5799ecd75c712a9.jpg","text":"TemporaryFile(/tmp/multipartBody394918310154136794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362264206,"filename":"image_05112025_19_11_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/97544a435a1976d80cfb8a06b9c67514.jpg","text":"TemporaryFile(/tmp/multipartBody487239632892304098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362264206,"filename":"image_05112025_19_11_11_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/2/bb9e4d9fae2cbb502e46a250a189f75d.jpg","text":"TemporaryFile(/tmp/multipartBody741570771621448079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362264206,"filename":"image_05112025_19_09_02_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/2/c55934029231ac5c744631e00ebcacf9.jpg","text":"TemporaryFile(/tmp/multipartBody6132064873751318791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362264206,"filename":"image_05112025_19_11_16_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5218c914a8f30d310f2ea464723fb601.jpg","text":"TemporaryFile(/tmp/multipartBody2325726835034162927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362264206,"filename":"image_05112025_19_11_13_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402161103","file1":"1402161095","file0":"1402161082","file4":"1402161131","file5":"1402161146","file3":"1402161126"},"map_files_photo_id_array":[{"photo_id":"1402161146","filename":"file5"},{"photo_id":"1402161103","filename":"file2"},{"photo_id":"1402161131","filename":"file4"},{"photo_id":"1402161095","filename":"file1"},{"photo_id":"1402161082","filename":"file0"},{"photo_id":"1402161126","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402161082":["hashtag1","hashtag2"]},{"1402161103":["hashtag1","hashtag2"]},{"1402161126":["hashtag1","hashtag2"]},{"1402161095":["hashtag1","hashtag2"]},{"1402161146":["hashtag1","hashtag2"]},{"1402161131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402161082, 1402161103, 1402161126, 1402161095, 1402161146, 1402161131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.744253158569336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 14:57:22.739383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/50/image_02012026_13_51_05_9688.jpg', '/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_14_9812.jpg', '/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_24_9873.jpg', '/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_35_10622.jpg', '/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_45_9703.jpg', '/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_54_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/50/image_02012026_13_51_05_9688.jpg
/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_14_9812.jpg
/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_24_9873.jpg
/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_35_10622.jpg
/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_45_9703.jpg
/home/pi/Desktop/images/02012026/13/51/image_02012026_13_51_54_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402161175","1402161169","1402161202","1402161205","1402161177","1402161165"],"photo_ids_order":["1402161165","1402161169","1402161175","1402161177","1402161202","1402161205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/35862bead93947669f1f6ff5bf9ab6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1680832833443237299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362303376,"filename":"image_02012026_13_51_24_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/2/49b4b4e11585007b1a6372e569b1245d.jpg","text":"TemporaryFile(/tmp/multipartBody7082521528910434281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362303376,"filename":"image_02012026_13_51_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/2/11b84276a67c83de7706ef011d66da40.jpg","text":"TemporaryFile(/tmp/multipartBody4990307906579863849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362303376,"filename":"image_02012026_13_51_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/2/d0b385eccdcca6d8b7c009fe64fa61df.jpg","text":"TemporaryFile(/tmp/multipartBody7584217009427139521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362303376,"filename":"image_02012026_13_51_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/2/45cd43ad9dfded6030b1619833a29428.jpg","text":"TemporaryFile(/tmp/multipartBody1657140516825232748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362303376,"filename":"image_02012026_13_51_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/2/bd3777d2a44b9b8bf8c101a0e126da63.jpg","text":"TemporaryFile(/tmp/multipartBody8929072088620856871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362303376,"filename":"image_02012026_13_51_05_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402161175","file1":"1402161169","file0":"1402161165","file4":"1402161202","file5":"1402161205","file3":"1402161177"},"map_files_photo_id_array":[{"photo_id":"1402161205","filename":"file5"},{"photo_id":"1402161175","filename":"file2"},{"photo_id":"1402161202","filename":"file4"},{"photo_id":"1402161169","filename":"file1"},{"photo_id":"1402161165","filename":"file0"},{"photo_id":"1402161177","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402161175":["hashtag1","hashtag2"]},{"1402161169":["hashtag1","hashtag2"]},{"1402161202":["hashtag1","hashtag2"]},{"1402161205":["hashtag1","hashtag2"]},{"1402161177":["hashtag1","hashtag2"]},{"1402161165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402161175, 1402161169, 1402161202, 1402161205, 1402161177, 1402161165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16678428649902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 14:59:02.955378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_15_10729.jpg', '/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_34_9708.jpg', '/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_45_10653.jpg', '/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_55_9810.jpg', '/home/pi/Desktop/images/02012026/13/52/image_02012026_13_53_04_9753.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_14_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_15_10729.jpg
/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_34_9708.jpg
/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_45_10653.jpg
/home/pi/Desktop/images/02012026/13/52/image_02012026_13_52_55_9810.jpg
/home/pi/Desktop/images/02012026/13/52/image_02012026_13_53_04_9753.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_14_9858.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":["1402161736","1402161727","1402161798","1402161843","1402161758","1402161731"],"photo_ids_order":["1402161727","1402161731","1402161736","1402161758","1402161798","1402161843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/14ec73019f080e7beeedde77dab30955.jpg","text":"TemporaryFile(/tmp/multipartBody6362505336137580515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362403875,"filename":"image_02012026_13_52_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/2/2246dae6be997191fbddf61ce9cd48bc.jpg","text":"TemporaryFile(/tmp/multipartBody3967510852466064474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362403875,"filename":"image_02012026_13_52_15_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/2/1baaa135b2a927ab29ded73c975ee4ef.jpg","text":"TemporaryFile(/tmp/multipartBody2308319805309709905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362403875,"filename":"image_02012026_13_53_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/2/0994b3aa4e5a2b3807fdc982674ab1cc.jpg","text":"TemporaryFile(/tmp/multipartBody1002065957129056662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362403875,"filename":"image_02012026_13_53_14_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/2/506c0a95e8fbbcd430162036daa55722.jpg","text":"TemporaryFile(/tmp/multipartBody7921645589715905972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362403875,"filename":"image_02012026_13_52_55_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/2/43728e79a4cfcfd51cd35d7a3991b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody3163647528201691546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362403875,"filename":"image_02012026_13_52_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402161736","file1":"1402161731","file0":"1402161727","file4":"1402161798","file5":"1402161843","file3":"1402161758"},"map_files_photo_id_array":[{"photo_id":"1402161843","filename":"file5"},{"photo_id":"1402161736","filename":"file2"},{"photo_id":"1402161798","filename":"file4"},{"photo_id":"1402161731","filename":"file1"},{"photo_id":"1402161727","filename":"file0"},{"photo_id":"1402161758","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402161736":["hashtag1","hashtag2"]},{"1402161727":["hashtag1","hashtag2"]},{"1402161798":["hashtag1","hashtag2"]},{"1402161843":["hashtag1","hashtag2"]},{"1402161758":["hashtag1","hashtag2"]},{"1402161731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402161736, 1402161727, 1402161798, 1402161843, 1402161758, 1402161731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.523691177368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:00:02.574909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_24_9684.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_35_10711.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_54_9893.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_54_04_9821.jpg', '/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_25_9911.jpg', '/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_24_9684.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_35_10711.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_54_9893.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_54_04_9821.jpg
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_25_9911.jpg
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_34_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.5416603088378906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:00:12.141770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_20_3755.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_22_2602.jpg', '/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_25_2769.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_04_38766.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_06_1694.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_10_4367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_20_3755.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_22_2602.jpg
/home/pi/Desktop/images/05112025/19/11/image_05112025_19_11_25_2769.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_04_38766.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_06_1694.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_10_4367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402162125","1402162169","1402162082","1402162043","1402162004","1402162205"],"photo_ids_order":["1402162004","1402162043","1402162082","1402162125","1402162169","1402162205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e2d05ed0bd2ea94cd23615a640f1890.jpg","text":"TemporaryFile(/tmp/multipartBody564065963203449886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362473806,"filename":"image_05112025_19_12_04_38766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d62f4126d30d5e3f7471e8e50ea3619.jpg","text":"TemporaryFile(/tmp/multipartBody1520385765545680595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362473806,"filename":"image_05112025_19_12_06_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/2/ed2f799982c7df22b5d9c2aa2ea5725c.jpg","text":"TemporaryFile(/tmp/multipartBody4496507241924411050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362473806,"filename":"image_05112025_19_11_25_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/2/2a916832c6d93d439b32df9456fc8b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1451591008396341374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362473806,"filename":"image_05112025_19_11_22_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/2/8097f7cf929f752d7ac64bc07667723b.jpg","text":"TemporaryFile(/tmp/multipartBody8092013573932958892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362473806,"filename":"image_05112025_19_11_20_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/44ec294d7ebb76b77cd721a66b692152.jpg","text":"TemporaryFile(/tmp/multipartBody5594893546951192904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362473806,"filename":"image_05112025_19_12_10_4367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402162082","file1":"1402162043","file0":"1402162004","file4":"1402162169","file5":"1402162205","file3":"1402162125"},"map_files_photo_id_array":[{"photo_id":"1402162205","filename":"file5"},{"photo_id":"1402162082","filename":"file2"},{"photo_id":"1402162169","filename":"file4"},{"photo_id":"1402162043","filename":"file1"},{"photo_id":"1402162004","filename":"file0"},{"photo_id":"1402162125","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402162125":["hashtag1","hashtag2"]},{"1402162169":["hashtag1","hashtag2"]},{"1402162082":["hashtag1","hashtag2"]},{"1402162043":["hashtag1","hashtag2"]},{"1402162004":["hashtag1","hashtag2"]},{"1402162205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402162125, 1402162169, 1402162082, 1402162043, 1402162004, 1402162205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72115778923035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:01:03.266192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_24_9684.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_35_10711.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_54_9893.jpg', '/home/pi/Desktop/images/02012026/13/53/image_02012026_13_54_04_9821.jpg', '/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_25_9911.jpg', '/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_24_9684.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_35_10711.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_53_54_9893.jpg
/home/pi/Desktop/images/02012026/13/53/image_02012026_13_54_04_9821.jpg
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_25_9911.jpg
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_34_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":["1402162456","1402162533","1402162623","1402162586","1402162412","1402162495"],"photo_ids_order":["1402162412","1402162456","1402162495","1402162533","1402162586","1402162623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9e24491d191e8413fe9802914b62480.jpg","text":"TemporaryFile(/tmp/multipartBody3579347767605167869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362523934,"filename":"image_02012026_13_53_35_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/2/5b25ca996e2f62c509a1b2ba3b98c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody3179505642989335011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362523934,"filename":"image_02012026_13_54_04_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/2/9dc4af28b2b5965fd384356c5fcf1527.jpg","text":"TemporaryFile(/tmp/multipartBody3609509637441103809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362523934,"filename":"image_02012026_13_54_34_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/2/31683efab1ee9b41fd64cadc6e87e4e4.jpg","text":"TemporaryFile(/tmp/multipartBody4715958419380772827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362523934,"filename":"image_02012026_13_54_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/2/7f4501271bfe1c577441ca904dc063de.jpg","text":"TemporaryFile(/tmp/multipartBody6684636755521712555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362523934,"filename":"image_02012026_13_53_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/2/04c7526b990b2cc4b0365e381b6459ba.jpg","text":"TemporaryFile(/tmp/multipartBody2611786317573660233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362523934,"filename":"image_02012026_13_53_54_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402162495","file1":"1402162456","file0":"1402162412","file4":"1402162586","file5":"1402162623","file3":"1402162533"},"map_files_photo_id_array":[{"photo_id":"1402162623","filename":"file5"},{"photo_id":"1402162495","filename":"file2"},{"photo_id":"1402162586","filename":"file4"},{"photo_id":"1402162456","filename":"file1"},{"photo_id":"1402162412","filename":"file0"},{"photo_id":"1402162533","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402162456":["hashtag1","hashtag2"]},{"1402162533":["hashtag1","hashtag2"]},{"1402162623":["hashtag1","hashtag2"]},{"1402162586":["hashtag1","hashtag2"]},{"1402162412":["hashtag1","hashtag2"]},{"1402162495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402162456, 1402162533, 1402162623, 1402162586, 1402162412, 1402162495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.453948974609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:01:42.596253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_13_3376.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_15_1752.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_17_1545.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_18_1556.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_20_1730.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_21_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_13_3376.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_15_1752.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_17_1545.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_18_1556.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_20_1730.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_21_1594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402162675","1402162645","1402162647","1402162713","1402162754","1402162646"],"photo_ids_order":["1402162645","1402162646","1402162647","1402162675","1402162713","1402162754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b53cc635527a1bf710a6653fa659db5.jpg","text":"TemporaryFile(/tmp/multipartBody3902766674757455226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362564397,"filename":"image_05112025_19_12_18_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/2/d9db2a17de9b4f753601700b220fbed5.jpg","text":"TemporaryFile(/tmp/multipartBody6083952670756924996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362564397,"filename":"image_05112025_19_12_13_3376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e694196af173747ea292b405145a9860.jpg","text":"TemporaryFile(/tmp/multipartBody8657888555776952160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362564397,"filename":"image_05112025_19_12_17_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/2/ec2816f3fb232d71fa1922b1f96df4f0.jpg","text":"TemporaryFile(/tmp/multipartBody9052584311587663800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362564397,"filename":"image_05112025_19_12_20_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/2/923cf2e33e5e35c622d3ab728cea6cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6320691838381048275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362564397,"filename":"image_05112025_19_12_21_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/2/a6fa664510f8cdcfa93784ccc1c32a97.jpg","text":"TemporaryFile(/tmp/multipartBody7535861835044717496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362564397,"filename":"image_05112025_19_12_15_1752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402162647","file1":"1402162646","file0":"1402162645","file4":"1402162713","file5":"1402162754","file3":"1402162675"},"map_files_photo_id_array":[{"photo_id":"1402162754","filename":"file5"},{"photo_id":"1402162647","filename":"file2"},{"photo_id":"1402162713","filename":"file4"},{"photo_id":"1402162646","filename":"file1"},{"photo_id":"1402162645","filename":"file0"},{"photo_id":"1402162675","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402162675":["hashtag1","hashtag2"]},{"1402162645":["hashtag1","hashtag2"]},{"1402162647":["hashtag1","hashtag2"]},{"1402162713":["hashtag1","hashtag2"]},{"1402162754":["hashtag1","hashtag2"]},{"1402162646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402162675, 1402162645, 1402162647, 1402162713, 1402162754, 1402162646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019030809402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:02:22.769322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_44_9716.jpg', '/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_55_10729.jpg', '/home/pi/Desktop/images/02012026/13/54/image_02012026_13_55_05_9664.jpg', '/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_14_9699.jpg', '/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_24_9818.jpg', '/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_35_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_44_9716.jpg
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_54_55_10729.jpg
/home/pi/Desktop/images/02012026/13/54/image_02012026_13_55_05_9664.jpg
/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_14_9699.jpg
/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_24_9818.jpg
/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_35_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402162888","1402162921","1402162872","1402162845","1402162848","1402162886"],"photo_ids_order":["1402162845","1402162848","1402162872","1402162886","1402162888","1402162921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f565b464baac538f4ee90572c364f83.jpg","text":"TemporaryFile(/tmp/multipartBody1043391714725268876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362603436,"filename":"image_02012026_13_55_24_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/2/b9c15d08555b39189c5278257fa713a9.jpg","text":"TemporaryFile(/tmp/multipartBody1129569705204266384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362603436,"filename":"image_02012026_13_55_35_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/2/4d61dadaa348b2f57564e50bc19e1c8c.jpg","text":"TemporaryFile(/tmp/multipartBody9163319381891324529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362603436,"filename":"image_02012026_13_55_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/2/75cf58b4fa77003a167b1c7a5c2c669b.jpg","text":"TemporaryFile(/tmp/multipartBody1262459975486887025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362603436,"filename":"image_02012026_13_54_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/2/9591ba14e3e26f02e99f569c2bae332a.jpg","text":"TemporaryFile(/tmp/multipartBody3305270782856493027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362603436,"filename":"image_02012026_13_54_55_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/2/219dfe956f6de16a7ba1afa250359661.jpg","text":"TemporaryFile(/tmp/multipartBody7518510588770214521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362603436,"filename":"image_02012026_13_55_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402162872","file1":"1402162848","file0":"1402162845","file4":"1402162888","file5":"1402162921","file3":"1402162886"},"map_files_photo_id_array":[{"photo_id":"1402162921","filename":"file5"},{"photo_id":"1402162872","filename":"file2"},{"photo_id":"1402162888","filename":"file4"},{"photo_id":"1402162848","filename":"file1"},{"photo_id":"1402162845","filename":"file0"},{"photo_id":"1402162886","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402162888":["hashtag1","hashtag2"]},{"1402162921":["hashtag1","hashtag2"]},{"1402162872":["hashtag1","hashtag2"]},{"1402162845":["hashtag1","hashtag2"]},{"1402162848":["hashtag1","hashtag2"]},{"1402162886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402162888, 1402162921, 1402162872, 1402162845, 1402162848, 1402162886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52344989776611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:03:02.701809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_44_9720.jpg', '/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_54_9929.jpg', '/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_15_10753.jpg', '/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_25_9811.jpg', '/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_34_9654.jpg', '/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_44_9720.jpg
/home/pi/Desktop/images/02012026/13/55/image_02012026_13_55_54_9929.jpg
/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_15_10753.jpg
/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_25_9811.jpg
/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_34_9654.jpg
/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_44_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":["1402163431","1402163482","1402163315","1402163485","1402163479","1402163488"],"photo_ids_order":["1402163315","1402163431","1402163479","1402163482","1402163485","1402163488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28959929dacb13b08250821cf559a196.jpg","text":"TemporaryFile(/tmp/multipartBody297291855069530772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362643404,"filename":"image_02012026_13_55_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/2/8c2bbb6e8d4f17aa1be6d2b2a6f97750.jpg","text":"TemporaryFile(/tmp/multipartBody5389110673284208323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362643404,"filename":"image_02012026_13_56_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/2/feb2e26842b1f14a41cef70c40f43bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1918987841091431572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362643404,"filename":"image_02012026_13_55_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/2/2551f7acfa572a11269c058b37e68da9.jpg","text":"TemporaryFile(/tmp/multipartBody6701298479208172971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362643404,"filename":"image_02012026_13_56_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/2/65cb2a764605464bc853451adb525552.jpg","text":"TemporaryFile(/tmp/multipartBody9105395742063578934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362643404,"filename":"image_02012026_13_56_15_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/2/eca52cbb23e207d8b96ed49d4d76a779.jpg","text":"TemporaryFile(/tmp/multipartBody5700377933072804560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362643404,"filename":"image_02012026_13_56_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163479","file1":"1402163431","file0":"1402163315","file4":"1402163485","file5":"1402163488","file3":"1402163482"},"map_files_photo_id_array":[{"photo_id":"1402163488","filename":"file5"},{"photo_id":"1402163479","filename":"file2"},{"photo_id":"1402163485","filename":"file4"},{"photo_id":"1402163431","filename":"file1"},{"photo_id":"1402163315","filename":"file0"},{"photo_id":"1402163482","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163431":["hashtag1","hashtag2"]},{"1402163482":["hashtag1","hashtag2"]},{"1402163315":["hashtag1","hashtag2"]},{"1402163485":["hashtag1","hashtag2"]},{"1402163479":["hashtag1","hashtag2"]},{"1402163488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163431, 1402163482, 1402163315, 1402163485, 1402163479, 1402163488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86928606033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:03:41.979757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_23_1644.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_26_2816.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_29_1563.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_32_1506.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_34_1582.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_36_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_23_1644.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_26_2816.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_29_1563.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_32_1506.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_34_1582.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_36_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":["1402163661","1402163610","1402163684","1402163714","1402163612","1402163713"],"photo_ids_order":["1402163610","1402163612","1402163661","1402163684","1402163713","1402163714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cbe51bcd8354c631c932763209c25454.jpg","text":"TemporaryFile(/tmp/multipartBody2164848099494055301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362683779,"filename":"image_05112025_19_12_29_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/2/874d380e45c49fa4893bd444b09fde55.jpg","text":"TemporaryFile(/tmp/multipartBody1349125326119713993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362683779,"filename":"image_05112025_19_12_23_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/2/3ffa7b2528294f8b58b74995f600922e.jpg","text":"TemporaryFile(/tmp/multipartBody5140522180557542417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362683779,"filename":"image_05112025_19_12_32_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/2/96afd72163f07aa809a2c6a8de3cb1e4.jpg","text":"TemporaryFile(/tmp/multipartBody4803787217425430738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362683779,"filename":"image_05112025_19_12_36_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/2/49ceb1453f954e60895b49c86faea6bb.jpg","text":"TemporaryFile(/tmp/multipartBody3994173462949117711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362683779,"filename":"image_05112025_19_12_26_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/2/865bf125782f53ea32ca2f2d25b4c1db.jpg","text":"TemporaryFile(/tmp/multipartBody8770399278814823986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362683779,"filename":"image_05112025_19_12_34_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163661","file1":"1402163612","file0":"1402163610","file4":"1402163713","file5":"1402163714","file3":"1402163684"},"map_files_photo_id_array":[{"photo_id":"1402163714","filename":"file5"},{"photo_id":"1402163661","filename":"file2"},{"photo_id":"1402163713","filename":"file4"},{"photo_id":"1402163612","filename":"file1"},{"photo_id":"1402163610","filename":"file0"},{"photo_id":"1402163684","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402163661":["hashtag1","hashtag2"]},{"1402163610":["hashtag1","hashtag2"]},{"1402163684":["hashtag1","hashtag2"]},{"1402163714":["hashtag1","hashtag2"]},{"1402163612":["hashtag1","hashtag2"]},{"1402163713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402163661, 1402163610, 1402163684, 1402163714, 1402163612, 1402163713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06073975563049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:04:22.243507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_55_10751.jpg', '/home/pi/Desktop/images/02012026/13/56/image_02012026_13_57_05_9754.jpg', '/home/pi/Desktop/images/02012026/13/57/image_02012026_13_57_14_9667.jpg', '/home/pi/Desktop/images/02012026/13/57/image_02012026_13_57_25_10627.jpg', '/home/pi/Desktop/images/02012026/13/57/image_02012026_13_58_05_9582.jpg', '/home/pi/Desktop/images/02012026/13/58/image_02012026_13_58_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/56/image_02012026_13_56_55_10751.jpg
/home/pi/Desktop/images/02012026/13/56/image_02012026_13_57_05_9754.jpg
/home/pi/Desktop/images/02012026/13/57/image_02012026_13_57_14_9667.jpg
/home/pi/Desktop/images/02012026/13/57/image_02012026_13_57_25_10627.jpg
/home/pi/Desktop/images/02012026/13/57/image_02012026_13_58_05_9582.jpg
/home/pi/Desktop/images/02012026/13/58/image_02012026_13_58_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":["1402163730","1402163721","1402163732","1402163741","1402163725","1402163728"],"photo_ids_order":["1402163721","1402163725","1402163728","1402163730","1402163732","1402163741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38470b3a6b8b14640b7b041527dac256.jpg","text":"TemporaryFile(/tmp/multipartBody4603018883170917135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362722862,"filename":"image_02012026_13_57_25_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/2/30f371c97330d67e8901dd93610ba7f7.jpg","text":"TemporaryFile(/tmp/multipartBody9084793242888244126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362722862,"filename":"image_02012026_13_56_55_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/2/6373959acdcd8d6000aa7e38e24775e9.jpg","text":"TemporaryFile(/tmp/multipartBody1586773276149715880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362722862,"filename":"image_02012026_13_58_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/2/636b1eb1d4785a41c123e2c1a4f22150.jpg","text":"TemporaryFile(/tmp/multipartBody3770009298122913540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362722862,"filename":"image_02012026_13_58_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/2/d70e0ea62458eec1562cb44c425a0ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3744238806288982105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362722862,"filename":"image_02012026_13_57_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/2/0e5f49cca9a1fc7347037dd277a194c7.jpg","text":"TemporaryFile(/tmp/multipartBody7947357316596007392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362722862,"filename":"image_02012026_13_57_14_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163728","file1":"1402163725","file0":"1402163721","file4":"1402163732","file5":"1402163741","file3":"1402163730"},"map_files_photo_id_array":[{"photo_id":"1402163741","filename":"file5"},{"photo_id":"1402163728","filename":"file2"},{"photo_id":"1402163732","filename":"file4"},{"photo_id":"1402163725","filename":"file1"},{"photo_id":"1402163721","filename":"file0"},{"photo_id":"1402163730","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163730":["hashtag1","hashtag2"]},{"1402163721":["hashtag1","hashtag2"]},{"1402163732":["hashtag1","hashtag2"]},{"1402163741":["hashtag1","hashtag2"]},{"1402163725":["hashtag1","hashtag2"]},{"1402163728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163730, 1402163721, 1402163732, 1402163741, 1402163725, 1402163728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.865296840667725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:05:03.064626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/13/58/image_02012026_13_58_35_10621.jpg', '/home/pi/Desktop/images/02012026/13/58/image_02012026_13_58_55_9607.jpg', '/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_06_11169.jpg', '/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_14_8734.jpg', '/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_35_10627.jpg', '/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_45_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/13/58/image_02012026_13_58_35_10621.jpg
/home/pi/Desktop/images/02012026/13/58/image_02012026_13_58_55_9607.jpg
/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_06_11169.jpg
/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_14_8734.jpg
/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_35_10627.jpg
/home/pi/Desktop/images/02012026/13/59/image_02012026_13_59_45_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402163760","1402163754","1402163763","1402163757","1402163750","1402163752"],"photo_ids_order":["1402163750","1402163752","1402163754","1402163757","1402163760","1402163763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e161ea2c1c85dba4cd39dcaa5c57079.jpg","text":"TemporaryFile(/tmp/multipartBody8803570345225104545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362763739,"filename":"image_02012026_13_59_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/2/0af9de38957ad3d5d908986000d88c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3690370351250102892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362763739,"filename":"image_02012026_13_59_06_11169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78bc911d533fe3015164861f4fca4948.jpg","text":"TemporaryFile(/tmp/multipartBody3296094661131033795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362763739,"filename":"image_02012026_13_59_45_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/2/8b530597a728490134fc44be7adc6a87.jpg","text":"TemporaryFile(/tmp/multipartBody711085774915622502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362763739,"filename":"image_02012026_13_59_14_8734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b83bbe6e505bd8f84fa1569054c73e4e.jpg","text":"TemporaryFile(/tmp/multipartBody405696078386476952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362763739,"filename":"image_02012026_13_58_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/2/07f18ad25e27cc0b8adee4973aa5f424.jpg","text":"TemporaryFile(/tmp/multipartBody1711444461010458636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362763739,"filename":"image_02012026_13_58_55_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163754","file1":"1402163752","file0":"1402163750","file4":"1402163760","file5":"1402163763","file3":"1402163757"},"map_files_photo_id_array":[{"photo_id":"1402163763","filename":"file5"},{"photo_id":"1402163754","filename":"file2"},{"photo_id":"1402163760","filename":"file4"},{"photo_id":"1402163752","filename":"file1"},{"photo_id":"1402163750","filename":"file0"},{"photo_id":"1402163757","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163760":["hashtag1","hashtag2"]},{"1402163754":["hashtag1","hashtag2"]},{"1402163763":["hashtag1","hashtag2"]},{"1402163757":["hashtag1","hashtag2"]},{"1402163750":["hashtag1","hashtag2"]},{"1402163752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163760, 1402163754, 1402163763, 1402163757, 1402163750, 1402163752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.581507205963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:05:42.462674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_37_1683.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_45_6526.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_49_1592.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_50_1578.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_52_1521.jpg', '/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_53_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_37_1683.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_45_6526.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_49_1592.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_50_1578.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_52_1521.jpg
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_12_53_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402163784","1402163769","1402163783","1402163780","1402163782","1402163785"],"photo_ids_order":["1402163769","1402163780","1402163782","1402163783","1402163784","1402163785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bfcf4f0d3a3ae15436b3132f0f5387b2.jpg","text":"TemporaryFile(/tmp/multipartBody3613852810032869342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362804389,"filename":"image_05112025_19_12_52_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/2/5fdd5dd764879ad4e8780645416d640e.jpg","text":"TemporaryFile(/tmp/multipartBody2159011366887850419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362804389,"filename":"image_05112025_19_12_37_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/2/b738f0a3bc6fb470bd513ad106060962.jpg","text":"TemporaryFile(/tmp/multipartBody3551768792920222012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362804389,"filename":"image_05112025_19_12_50_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/2/2fc4e309c8b775d3c9527db0f474ccbf.jpg","text":"TemporaryFile(/tmp/multipartBody7951234521075649220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362804389,"filename":"image_05112025_19_12_45_6526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/21dcbd8faad3ca9f547a48c915c1aed7.jpg","text":"TemporaryFile(/tmp/multipartBody8121665491452291846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362804389,"filename":"image_05112025_19_12_49_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/2/eab4bb99fd2056555d03923715ff62c7.jpg","text":"TemporaryFile(/tmp/multipartBody5158546153007519064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362804389,"filename":"image_05112025_19_12_53_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163782","file1":"1402163780","file0":"1402163769","file4":"1402163784","file5":"1402163785","file3":"1402163783"},"map_files_photo_id_array":[{"photo_id":"1402163785","filename":"file5"},{"photo_id":"1402163782","filename":"file2"},{"photo_id":"1402163784","filename":"file4"},{"photo_id":"1402163780","filename":"file1"},{"photo_id":"1402163769","filename":"file0"},{"photo_id":"1402163783","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402163784":["hashtag1","hashtag2"]},{"1402163769":["hashtag1","hashtag2"]},{"1402163783":["hashtag1","hashtag2"]},{"1402163780":["hashtag1","hashtag2"]},{"1402163782":["hashtag1","hashtag2"]},{"1402163785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402163784, 1402163769, 1402163783, 1402163780, 1402163782, 1402163785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98735427856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:06:22.714814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/00/image_02012026_14_00_35_9822.jpg', '/home/pi/Desktop/images/02012026/14/00/image_02012026_14_01_05_10719.jpg', '/home/pi/Desktop/images/02012026/14/01/image_02012026_14_01_24_9883.jpg', '/home/pi/Desktop/images/02012026/14/02/image_02012026_14_02_15_10616.jpg', '/home/pi/Desktop/images/02012026/14/02/image_02012026_14_02_54_9624.jpg', '/home/pi/Desktop/images/02012026/14/03/image_02012026_14_04_05_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/00/image_02012026_14_00_35_9822.jpg
/home/pi/Desktop/images/02012026/14/00/image_02012026_14_01_05_10719.jpg
/home/pi/Desktop/images/02012026/14/01/image_02012026_14_01_24_9883.jpg
/home/pi/Desktop/images/02012026/14/02/image_02012026_14_02_15_10616.jpg
/home/pi/Desktop/images/02012026/14/02/image_02012026_14_02_54_9624.jpg
/home/pi/Desktop/images/02012026/14/03/image_02012026_14_04_05_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402163799","1402163803","1402163817","1402163805","1402163795","1402163808"],"photo_ids_order":["1402163795","1402163799","1402163803","1402163805","1402163808","1402163817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8e6617f3c172d4649082a4900e4c6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8812045726933802226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362843330,"filename":"image_02012026_14_01_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6459ce6b45ffcdc212f5b3e1bf5598a6.jpg","text":"TemporaryFile(/tmp/multipartBody370206285785938563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362843330,"filename":"image_02012026_14_01_24_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/2/e40a4eff2593b215d2ebf5aa1f9b7ee4.jpg","text":"TemporaryFile(/tmp/multipartBody6590537756258783887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362843330,"filename":"image_02012026_14_04_05_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/2/8404e094295f29c72f2337b363ac2b15.jpg","text":"TemporaryFile(/tmp/multipartBody5724347009185544950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362843330,"filename":"image_02012026_14_02_15_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/2/edfaddc757fee30490aa9cf79f6a78bd.jpg","text":"TemporaryFile(/tmp/multipartBody1875215267740989047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362843330,"filename":"image_02012026_14_00_35_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/2/25a85624dc84587ba2d366e25d89a821.jpg","text":"TemporaryFile(/tmp/multipartBody6658640320487150266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362843330,"filename":"image_02012026_14_02_54_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163803","file1":"1402163799","file0":"1402163795","file4":"1402163808","file5":"1402163817","file3":"1402163805"},"map_files_photo_id_array":[{"photo_id":"1402163817","filename":"file5"},{"photo_id":"1402163803","filename":"file2"},{"photo_id":"1402163808","filename":"file4"},{"photo_id":"1402163799","filename":"file1"},{"photo_id":"1402163795","filename":"file0"},{"photo_id":"1402163805","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163799":["hashtag1","hashtag2"]},{"1402163803":["hashtag1","hashtag2"]},{"1402163817":["hashtag1","hashtag2"]},{"1402163805":["hashtag1","hashtag2"]},{"1402163795":["hashtag1","hashtag2"]},{"1402163808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163799, 1402163803, 1402163817, 1402163805, 1402163795, 1402163808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24808883666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:07:03.425229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/04/image_02012026_14_04_15_9778.jpg', '/home/pi/Desktop/images/02012026/14/04/image_02012026_14_04_25_9754.jpg', '/home/pi/Desktop/images/02012026/14/06/image_02012026_14_06_35_9769.jpg', '/home/pi/Desktop/images/02012026/14/06/image_02012026_14_07_05_9653.jpg', '/home/pi/Desktop/images/02012026/14/07/image_02012026_14_07_44_9322.jpg', '/home/pi/Desktop/images/02012026/14/07/image_02012026_14_07_54_10086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/04/image_02012026_14_04_15_9778.jpg
/home/pi/Desktop/images/02012026/14/04/image_02012026_14_04_25_9754.jpg
/home/pi/Desktop/images/02012026/14/06/image_02012026_14_06_35_9769.jpg
/home/pi/Desktop/images/02012026/14/06/image_02012026_14_07_05_9653.jpg
/home/pi/Desktop/images/02012026/14/07/image_02012026_14_07_44_9322.jpg
/home/pi/Desktop/images/02012026/14/07/image_02012026_14_07_54_10086.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402163847","1402163820","1402163834","1402163843","1402163851","1402163854"],"photo_ids_order":["1402163820","1402163834","1402163843","1402163847","1402163851","1402163854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc714b3987d56dbf334ca2469c7bc832.jpg","text":"TemporaryFile(/tmp/multipartBody1494142514266781230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362884097,"filename":"image_02012026_14_07_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/2/776b74377701fd9312b4f00010497673.jpg","text":"TemporaryFile(/tmp/multipartBody4550486770605264642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362884097,"filename":"image_02012026_14_04_15_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/2/06a21d2427426e79d4c6bb138e33f47f.jpg","text":"TemporaryFile(/tmp/multipartBody6327638837471012241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362884097,"filename":"image_02012026_14_04_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/2/be516a0be0eb8703ac776eedd96b7bce.jpg","text":"TemporaryFile(/tmp/multipartBody6694758187124709673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362884097,"filename":"image_02012026_14_06_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/2/c44f264a873837e493865ad1967e057d.jpg","text":"TemporaryFile(/tmp/multipartBody3779332181401630498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362884097,"filename":"image_02012026_14_07_44_9322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d06943281292088b10855310c4e79217.jpg","text":"TemporaryFile(/tmp/multipartBody8115209726912859048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362884097,"filename":"image_02012026_14_07_54_10086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163843","file1":"1402163834","file0":"1402163820","file4":"1402163851","file5":"1402163854","file3":"1402163847"},"map_files_photo_id_array":[{"photo_id":"1402163854","filename":"file5"},{"photo_id":"1402163843","filename":"file2"},{"photo_id":"1402163851","filename":"file4"},{"photo_id":"1402163834","filename":"file1"},{"photo_id":"1402163820","filename":"file0"},{"photo_id":"1402163847","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163847":["hashtag1","hashtag2"]},{"1402163820":["hashtag1","hashtag2"]},{"1402163834":["hashtag1","hashtag2"]},{"1402163843":["hashtag1","hashtag2"]},{"1402163851":["hashtag1","hashtag2"]},{"1402163854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163847, 1402163820, 1402163834, 1402163843, 1402163851, 1402163854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9154908657074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:07:42.863712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/12/image_05112025_19_13_00_6184.jpg', '/home/pi/Desktop/images/05112025/19/13/image_05112025_19_13_02_1873.jpg', '/home/pi/Desktop/images/05112025/19/13/image_05112025_19_13_31_26951.jpg', '/home/pi/Desktop/images/05112025/19/14/image_05112025_19_14_09_37881.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_07_3011.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_11_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/12/image_05112025_19_13_00_6184.jpg
/home/pi/Desktop/images/05112025/19/13/image_05112025_19_13_02_1873.jpg
/home/pi/Desktop/images/05112025/19/13/image_05112025_19_13_31_26951.jpg
/home/pi/Desktop/images/05112025/19/14/image_05112025_19_14_09_37881.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_07_3011.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_11_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":["1402163865","1402163862","1402163864","1402163860","1402163863","1402163866"],"photo_ids_order":["1402163860","1402163862","1402163863","1402163864","1402163865","1402163866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1ede68e9ce4feff8796db450c400930f.jpg","text":"TemporaryFile(/tmp/multipartBody9181442387985104233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362924630,"filename":"image_05112025_19_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f909e0ba76877017355cb177de199a9.jpg","text":"TemporaryFile(/tmp/multipartBody369054353800821843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362924630,"filename":"image_05112025_19_13_02_1873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/590c78d2a95250abef251bae25b88a45.jpg","text":"TemporaryFile(/tmp/multipartBody1887153439400190288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362924630,"filename":"image_05112025_19_14_09_37881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe72481c5dbfe9efaf7a7e0abb0425e4.jpg","text":"TemporaryFile(/tmp/multipartBody3014864671670091232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362924630,"filename":"image_05112025_19_13_00_6184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b31a95165f1fa2fdb4c3574274515041.jpg","text":"TemporaryFile(/tmp/multipartBody4246811108113647331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362924630,"filename":"image_05112025_19_13_31_26951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4cdf7dfea21481e3aff7bbdfba2e53ec.jpg","text":"TemporaryFile(/tmp/multipartBody2397083610100287889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362924630,"filename":"image_05112025_19_15_11_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163863","file1":"1402163862","file0":"1402163860","file4":"1402163865","file5":"1402163866","file3":"1402163864"},"map_files_photo_id_array":[{"photo_id":"1402163866","filename":"file5"},{"photo_id":"1402163863","filename":"file2"},{"photo_id":"1402163865","filename":"file4"},{"photo_id":"1402163862","filename":"file1"},{"photo_id":"1402163860","filename":"file0"},{"photo_id":"1402163864","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402163865":["hashtag1","hashtag2"]},{"1402163862":["hashtag1","hashtag2"]},{"1402163864":["hashtag1","hashtag2"]},{"1402163860":["hashtag1","hashtag2"]},{"1402163863":["hashtag1","hashtag2"]},{"1402163866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402163865, 1402163862, 1402163864, 1402163860, 1402163863, 1402163866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52187132835388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:08:21.972814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/08/image_02012026_14_08_14_9581.jpg', '/home/pi/Desktop/images/02012026/14/08/image_02012026_14_08_24_9789.jpg', '/home/pi/Desktop/images/02012026/14/08/image_02012026_14_08_54_9735.jpg', '/home/pi/Desktop/images/02012026/14/08/image_02012026_14_09_05_10646.jpg', '/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_15_9641.jpg', '/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_24_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/08/image_02012026_14_08_14_9581.jpg
/home/pi/Desktop/images/02012026/14/08/image_02012026_14_08_24_9789.jpg
/home/pi/Desktop/images/02012026/14/08/image_02012026_14_08_54_9735.jpg
/home/pi/Desktop/images/02012026/14/08/image_02012026_14_09_05_10646.jpg
/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_15_9641.jpg
/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_24_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":["1402163876","1402163870","1402163873","1402163867","1402163881","1402163878"],"photo_ids_order":["1402163867","1402163870","1402163873","1402163876","1402163878","1402163881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ba82b78924a5a451293269a435ec6fa.jpg","text":"TemporaryFile(/tmp/multipartBody5451068903716064175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362962536,"filename":"image_02012026_14_09_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/2/7c045e1083b9d306bf54a7b02c87dba8.jpg","text":"TemporaryFile(/tmp/multipartBody3987769768198000827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362962536,"filename":"image_02012026_14_08_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/2/834938cf0d072c634185aa9095bcdba5.jpg","text":"TemporaryFile(/tmp/multipartBody3628324436221770932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362962536,"filename":"image_02012026_14_08_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/2/73174f8afa230027f68e2d621f8e2151.jpg","text":"TemporaryFile(/tmp/multipartBody7499651013978880601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362962536,"filename":"image_02012026_14_08_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/2/66d1be9dd72bebad46871d8b90853a75.jpg","text":"TemporaryFile(/tmp/multipartBody7781130253250461109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362962536,"filename":"image_02012026_14_09_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/2/df74445d56aab838a8937fdbc70a5c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7532406854009594494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767362962536,"filename":"image_02012026_14_09_15_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163873","file1":"1402163870","file0":"1402163867","file4":"1402163878","file5":"1402163881","file3":"1402163876"},"map_files_photo_id_array":[{"photo_id":"1402163881","filename":"file5"},{"photo_id":"1402163873","filename":"file2"},{"photo_id":"1402163878","filename":"file4"},{"photo_id":"1402163870","filename":"file1"},{"photo_id":"1402163867","filename":"file0"},{"photo_id":"1402163876","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163876":["hashtag1","hashtag2"]},{"1402163870":["hashtag1","hashtag2"]},{"1402163873":["hashtag1","hashtag2"]},{"1402163867":["hashtag1","hashtag2"]},{"1402163881":["hashtag1","hashtag2"]},{"1402163878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163876, 1402163870, 1402163873, 1402163867, 1402163881, 1402163878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.306780099868774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:09:02.925070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 15:09:12.281379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_13_2492.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_20_2607.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_22_2616.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_26_3750.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_29_2606.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_31_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_13_2492.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_20_2607.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_22_2616.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_26_3750.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_29_2606.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_31_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":["1402163913","1402163907","1402163909","1402163906","1402163911","1402163905"],"photo_ids_order":["1402163905","1402163906","1402163907","1402163909","1402163911","1402163913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aea898d2067a5aa778ce37ed19d0b35d.jpg","text":"TemporaryFile(/tmp/multipartBody8097354012391557054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363014048,"filename":"image_05112025_19_15_31_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/2/a5496175bfcc8ecdce385faa87566c95.jpg","text":"TemporaryFile(/tmp/multipartBody6211232921117089995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363014048,"filename":"image_05112025_19_15_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/2/f33adb2c79bf15e340521c9c95bb13d3.jpg","text":"TemporaryFile(/tmp/multipartBody5721725150440374678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363014048,"filename":"image_05112025_19_15_26_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9de32b1b06cbe78ca6f5686ebb017462.jpg","text":"TemporaryFile(/tmp/multipartBody4597287691529458871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363014048,"filename":"image_05112025_19_15_20_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/2/25bab53c2eb708a601c4124239d8759f.jpg","text":"TemporaryFile(/tmp/multipartBody5690436136815167336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363014048,"filename":"image_05112025_19_15_29_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/2/41f223ec0e29a92b29c3eaf7833d8827.jpg","text":"TemporaryFile(/tmp/multipartBody9206788218700405326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363014048,"filename":"image_05112025_19_15_13_2492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163907","file1":"1402163906","file0":"1402163905","file4":"1402163911","file5":"1402163913","file3":"1402163909"},"map_files_photo_id_array":[{"photo_id":"1402163913","filename":"file5"},{"photo_id":"1402163907","filename":"file2"},{"photo_id":"1402163911","filename":"file4"},{"photo_id":"1402163906","filename":"file1"},{"photo_id":"1402163905","filename":"file0"},{"photo_id":"1402163909","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402163913":["hashtag1","hashtag2"]},{"1402163907":["hashtag1","hashtag2"]},{"1402163909":["hashtag1","hashtag2"]},{"1402163906":["hashtag1","hashtag2"]},{"1402163911":["hashtag1","hashtag2"]},{"1402163905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402163913, 1402163907, 1402163909, 1402163906, 1402163911, 1402163905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.289090633392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:10:02.864457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_45_9821.jpg', '/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_55_9734.jpg', '/home/pi/Desktop/images/02012026/14/09/image_02012026_14_10_04_9767.jpg', '/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_15_10682.jpg', '/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_34_9731.jpg', '/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_44_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_45_9821.jpg
/home/pi/Desktop/images/02012026/14/09/image_02012026_14_09_55_9734.jpg
/home/pi/Desktop/images/02012026/14/09/image_02012026_14_10_04_9767.jpg
/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_15_10682.jpg
/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_34_9731.jpg
/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_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":["1402163946","1402163922","1402163925","1402163951","1402163953","1402163938"],"photo_ids_order":["1402163922","1402163925","1402163938","1402163946","1402163951","1402163953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1ad72edf318f16874c2d086b8be4459.jpg","text":"TemporaryFile(/tmp/multipartBody8534118117987448528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363063527,"filename":"image_02012026_14_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/2/ce2c471207c1d81dd1b81201bedc0d86.jpg","text":"TemporaryFile(/tmp/multipartBody3837471095325554621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363063527,"filename":"image_02012026_14_09_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/2/e1b95c4a81461aea95b44bdde058ead9.jpg","text":"TemporaryFile(/tmp/multipartBody7502672834542404143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363063527,"filename":"image_02012026_14_09_55_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/2/5e84ad999e052ce2524b12e77081baf5.jpg","text":"TemporaryFile(/tmp/multipartBody4386516667626732833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363063527,"filename":"image_02012026_14_10_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/2/56b39ae3b903d48fbc43ebdce8c4c923.jpg","text":"TemporaryFile(/tmp/multipartBody2477730769778803170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363063527,"filename":"image_02012026_14_10_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/2/22d1b76117c3bd6ddc09ef19c45ce710.jpg","text":"TemporaryFile(/tmp/multipartBody2756157586820066574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363063527,"filename":"image_02012026_14_10_04_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163938","file1":"1402163925","file0":"1402163922","file4":"1402163951","file5":"1402163953","file3":"1402163946"},"map_files_photo_id_array":[{"photo_id":"1402163953","filename":"file5"},{"photo_id":"1402163938","filename":"file2"},{"photo_id":"1402163951","filename":"file4"},{"photo_id":"1402163925","filename":"file1"},{"photo_id":"1402163922","filename":"file0"},{"photo_id":"1402163946","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163946":["hashtag1","hashtag2"]},{"1402163922":["hashtag1","hashtag2"]},{"1402163925":["hashtag1","hashtag2"]},{"1402163951":["hashtag1","hashtag2"]},{"1402163953":["hashtag1","hashtag2"]},{"1402163938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163946, 1402163922, 1402163925, 1402163951, 1402163953, 1402163938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99285674095154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:10:42.416062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_35_3745.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_38_2592.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_40_2710.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_44_3581.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_47_2846.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_53_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_35_3745.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_38_2592.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_40_2710.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_44_3581.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_47_2846.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_53_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":["1402163973","1402163975","1402163963","1402163962","1402163965","1402163959"],"photo_ids_order":["1402163959","1402163962","1402163963","1402163965","1402163973","1402163975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/675fcb344641bac8841e54f8e0348902.jpg","text":"TemporaryFile(/tmp/multipartBody8930053334199946584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363104185,"filename":"image_05112025_19_15_47_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/2/90edefe3fc39eb6be23a9aedb0186148.jpg","text":"TemporaryFile(/tmp/multipartBody5357161139096320742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363104185,"filename":"image_05112025_19_15_53_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/2/13f6ca81275e4a6e2136beff693096cf.jpg","text":"TemporaryFile(/tmp/multipartBody7208853013822301676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363104185,"filename":"image_05112025_19_15_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/2/d846802ac5948742f6316e925095ddf3.jpg","text":"TemporaryFile(/tmp/multipartBody7575301666293716279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363104185,"filename":"image_05112025_19_15_38_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/2/10bc4eb14fa966967f630065ffb00254.jpg","text":"TemporaryFile(/tmp/multipartBody6806956898679957033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363104185,"filename":"image_05112025_19_15_44_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/2/9f80bea451b5040e7b37b5acc6eb0d13.jpg","text":"TemporaryFile(/tmp/multipartBody8775494292175300557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363104185,"filename":"image_05112025_19_15_35_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163963","file1":"1402163962","file0":"1402163959","file4":"1402163973","file5":"1402163975","file3":"1402163965"},"map_files_photo_id_array":[{"photo_id":"1402163975","filename":"file5"},{"photo_id":"1402163963","filename":"file2"},{"photo_id":"1402163973","filename":"file4"},{"photo_id":"1402163962","filename":"file1"},{"photo_id":"1402163959","filename":"file0"},{"photo_id":"1402163965","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402163973":["hashtag1","hashtag2"]},{"1402163975":["hashtag1","hashtag2"]},{"1402163963":["hashtag1","hashtag2"]},{"1402163962":["hashtag1","hashtag2"]},{"1402163965":["hashtag1","hashtag2"]},{"1402163959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402163973, 1402163975, 1402163963, 1402163962, 1402163965, 1402163959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.165215253829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:11:22.566530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_55_10654.jpg', '/home/pi/Desktop/images/02012026/14/10/image_02012026_14_11_05_9735.jpg', '/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_14_9725.jpg', '/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_24_9917.jpg', '/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_35_10685.jpg', '/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/10/image_02012026_14_10_55_10654.jpg
/home/pi/Desktop/images/02012026/14/10/image_02012026_14_11_05_9735.jpg
/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_14_9725.jpg
/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_24_9917.jpg
/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_35_10685.jpg
/home/pi/Desktop/images/02012026/14/11/image_02012026_14_11_54_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402163991","1402163994","1402163987","1402163984","1402163998","1402163989"],"photo_ids_order":["1402163984","1402163987","1402163989","1402163991","1402163994","1402163998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee568e7bc31840553c394d57b988e8af.jpg","text":"TemporaryFile(/tmp/multipartBody8732916449757764135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363143133,"filename":"image_02012026_14_11_24_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/2/e71045a12c0a19ec8fe5683ff2b4f8de.jpg","text":"TemporaryFile(/tmp/multipartBody6980683419468136590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363143133,"filename":"image_02012026_14_11_35_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/2/c99f23e2bf30a14399c121faa26ea114.jpg","text":"TemporaryFile(/tmp/multipartBody1372011734695888688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363143133,"filename":"image_02012026_14_11_05_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1064240f9d19a5025f0efb1522883f33.jpg","text":"TemporaryFile(/tmp/multipartBody5754462115010090867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363143133,"filename":"image_02012026_14_10_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/2/ce4c0327becaca84ff34abfd853a6fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5608866949588715061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363143133,"filename":"image_02012026_14_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/2/e68a3aee3d8ec32695fe8c310b36ed9e.jpg","text":"TemporaryFile(/tmp/multipartBody2888596920931179541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363143133,"filename":"image_02012026_14_11_14_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402163989","file1":"1402163987","file0":"1402163984","file4":"1402163994","file5":"1402163998","file3":"1402163991"},"map_files_photo_id_array":[{"photo_id":"1402163998","filename":"file5"},{"photo_id":"1402163989","filename":"file2"},{"photo_id":"1402163994","filename":"file4"},{"photo_id":"1402163987","filename":"file1"},{"photo_id":"1402163984","filename":"file0"},{"photo_id":"1402163991","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402163991":["hashtag1","hashtag2"]},{"1402163994":["hashtag1","hashtag2"]},{"1402163987":["hashtag1","hashtag2"]},{"1402163984":["hashtag1","hashtag2"]},{"1402163998":["hashtag1","hashtag2"]},{"1402163989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402163991, 1402163994, 1402163987, 1402163984, 1402163998, 1402163989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11788320541382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:12:02.255392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/12/image_02012026_14_12_45_9525.jpg', '/home/pi/Desktop/images/02012026/14/12/image_02012026_14_13_05_10762.jpg', '/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_15_9644.jpg', '/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_24_9577.jpg', '/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_35_10685.jpg', '/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_45_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/12/image_02012026_14_12_45_9525.jpg
/home/pi/Desktop/images/02012026/14/12/image_02012026_14_13_05_10762.jpg
/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_15_9644.jpg
/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_24_9577.jpg
/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_35_10685.jpg
/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_45_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":["1402164027","1402164030","1402164020","1402164023","1402164025","1402164028"],"photo_ids_order":["1402164020","1402164023","1402164025","1402164027","1402164028","1402164030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53f0ceead5607c2e7deed97b6efe18dc.jpg","text":"TemporaryFile(/tmp/multipartBody8098179284852277454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363182898,"filename":"image_02012026_14_13_24_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/2/d6ce63775a8a2e60872b1edea31d4d7d.jpg","text":"TemporaryFile(/tmp/multipartBody174895988779662558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363182898,"filename":"image_02012026_14_13_45_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/2/2aa67acc8387d20a198389c3189dbafb.jpg","text":"TemporaryFile(/tmp/multipartBody7995620712432673107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363182898,"filename":"image_02012026_14_12_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/2/41244e3b3d074eb508d357342d269dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3264563457510726084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363182898,"filename":"image_02012026_14_13_05_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/2/73725ecee1d37eab3642f4616c7e5e4b.jpg","text":"TemporaryFile(/tmp/multipartBody4619257201086190323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363182898,"filename":"image_02012026_14_13_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/2/862c750c98a909ffb1049ab036d96fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8156517864746010136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363182898,"filename":"image_02012026_14_13_35_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164025","file1":"1402164023","file0":"1402164020","file4":"1402164028","file5":"1402164030","file3":"1402164027"},"map_files_photo_id_array":[{"photo_id":"1402164030","filename":"file5"},{"photo_id":"1402164025","filename":"file2"},{"photo_id":"1402164028","filename":"file4"},{"photo_id":"1402164023","filename":"file1"},{"photo_id":"1402164020","filename":"file0"},{"photo_id":"1402164027","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164027":["hashtag1","hashtag2"]},{"1402164030":["hashtag1","hashtag2"]},{"1402164020":["hashtag1","hashtag2"]},{"1402164023":["hashtag1","hashtag2"]},{"1402164025":["hashtag1","hashtag2"]},{"1402164028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164027, 1402164030, 1402164020, 1402164023, 1402164025, 1402164028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28549838066101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:12:41.874858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_56_2684.jpg', '/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_59_2820.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_01_2519.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_05_3657.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_07_2727.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_17_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_56_2684.jpg
/home/pi/Desktop/images/05112025/19/15/image_05112025_19_15_59_2820.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_01_2519.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_05_3657.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_07_2727.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_17_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":["1402164045","1402164042","1402164044","1402164052","1402164040","1402164046"],"photo_ids_order":["1402164040","1402164042","1402164044","1402164045","1402164046","1402164052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/64528fe1c868fde7965a3c018a28c20d.jpg","text":"TemporaryFile(/tmp/multipartBody1210120030402910598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363223629,"filename":"image_05112025_19_16_05_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/2/16f2625c5ba81570ab5fa00fe64a3f0a.jpg","text":"TemporaryFile(/tmp/multipartBody555610960487872342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363223629,"filename":"image_05112025_19_15_59_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/2/81104cef69df096291c82c52777baf57.jpg","text":"TemporaryFile(/tmp/multipartBody3781115377620146433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363223629,"filename":"image_05112025_19_16_01_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/2/dfaabf6a00076f9a15bc018e5b1dee20.jpg","text":"TemporaryFile(/tmp/multipartBody4473254649900265625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363223629,"filename":"image_05112025_19_16_17_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/2/ae7f932554bf148b2ec6c71962ef4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody925587685123948567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363223629,"filename":"image_05112025_19_15_56_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/2/feca84420f12162431a6def6164ed0fa.jpg","text":"TemporaryFile(/tmp/multipartBody2404679313144511207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363223629,"filename":"image_05112025_19_16_07_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164044","file1":"1402164042","file0":"1402164040","file4":"1402164046","file5":"1402164052","file3":"1402164045"},"map_files_photo_id_array":[{"photo_id":"1402164052","filename":"file5"},{"photo_id":"1402164044","filename":"file2"},{"photo_id":"1402164046","filename":"file4"},{"photo_id":"1402164042","filename":"file1"},{"photo_id":"1402164040","filename":"file0"},{"photo_id":"1402164045","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164045":["hashtag1","hashtag2"]},{"1402164042":["hashtag1","hashtag2"]},{"1402164044":["hashtag1","hashtag2"]},{"1402164052":["hashtag1","hashtag2"]},{"1402164040":["hashtag1","hashtag2"]},{"1402164046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164045, 1402164042, 1402164044, 1402164052, 1402164040, 1402164046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20394802093506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:13:22.002516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_54_9812.jpg', '/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_15_10774.jpg', '/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_25_9591.jpg', '/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_34_9667.jpg', '/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_45_10609.jpg', '/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/13/image_02012026_14_13_54_9812.jpg
/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_15_10774.jpg
/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_25_9591.jpg
/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_34_9667.jpg
/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_45_10609.jpg
/home/pi/Desktop/images/02012026/14/14/image_02012026_14_14_54_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":["1402164092","1402164089","1402164086","1402164079","1402164082","1402164084"],"photo_ids_order":["1402164079","1402164082","1402164084","1402164086","1402164089","1402164092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bb34d178706ac3f480eff6216206825e.jpg","text":"TemporaryFile(/tmp/multipartBody3998737719907014948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363262602,"filename":"image_02012026_14_14_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/2/07c117d404b5c506c3f4817594a45e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1884833360933993886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363262602,"filename":"image_02012026_14_14_45_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/2/cf466ebbe5eada6f00f176724e1234b8.jpg","text":"TemporaryFile(/tmp/multipartBody8007072099617338435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363262602,"filename":"image_02012026_14_14_34_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/2/2c73d1355d419ba220d08127843ecb60.jpg","text":"TemporaryFile(/tmp/multipartBody315124022225549051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363262602,"filename":"image_02012026_14_13_54_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/2/e6b3dabdfc65ed9324ab981d6d6f0628.jpg","text":"TemporaryFile(/tmp/multipartBody5303276660280215845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363262602,"filename":"image_02012026_14_14_15_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/2/66041f2a322a430daddfcd03c4670667.jpg","text":"TemporaryFile(/tmp/multipartBody290689537653637544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363262602,"filename":"image_02012026_14_14_25_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164084","file1":"1402164082","file0":"1402164079","file4":"1402164089","file5":"1402164092","file3":"1402164086"},"map_files_photo_id_array":[{"photo_id":"1402164092","filename":"file5"},{"photo_id":"1402164084","filename":"file2"},{"photo_id":"1402164089","filename":"file4"},{"photo_id":"1402164082","filename":"file1"},{"photo_id":"1402164079","filename":"file0"},{"photo_id":"1402164086","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164092":["hashtag1","hashtag2"]},{"1402164089":["hashtag1","hashtag2"]},{"1402164086":["hashtag1","hashtag2"]},{"1402164079":["hashtag1","hashtag2"]},{"1402164082":["hashtag1","hashtag2"]},{"1402164084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164092, 1402164089, 1402164086, 1402164079, 1402164082, 1402164084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43256592750549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:14:02.745545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/15/image_02012026_14_15_25_10138.jpg', '/home/pi/Desktop/images/02012026/14/15/image_02012026_14_15_44_9685.jpg', '/home/pi/Desktop/images/02012026/14/15/image_02012026_14_15_55_10716.jpg', '/home/pi/Desktop/images/02012026/14/16/image_02012026_14_16_25_10649.jpg', '/home/pi/Desktop/images/02012026/14/16/image_02012026_14_16_44_9556.jpg', '/home/pi/Desktop/images/02012026/14/16/image_02012026_14_16_55_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/15/image_02012026_14_15_25_10138.jpg
/home/pi/Desktop/images/02012026/14/15/image_02012026_14_15_44_9685.jpg
/home/pi/Desktop/images/02012026/14/15/image_02012026_14_15_55_10716.jpg
/home/pi/Desktop/images/02012026/14/16/image_02012026_14_16_25_10649.jpg
/home/pi/Desktop/images/02012026/14/16/image_02012026_14_16_44_9556.jpg
/home/pi/Desktop/images/02012026/14/16/image_02012026_14_16_55_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164102","1402164095","1402164098","1402164104","1402164106","1402164109"],"photo_ids_order":["1402164095","1402164098","1402164102","1402164104","1402164106","1402164109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a0cac503bc2fb2d9edb8498ece1acab.jpg","text":"TemporaryFile(/tmp/multipartBody5505449003865918220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363303400,"filename":"image_02012026_14_15_55_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/2/6995f100eeac392bd97a059ddb1f9a55.jpg","text":"TemporaryFile(/tmp/multipartBody2078221654776849752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363303400,"filename":"image_02012026_14_15_25_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0485bf1f74a7fb9ab5ee620676d004b2.jpg","text":"TemporaryFile(/tmp/multipartBody2063534363373836847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363303400,"filename":"image_02012026_14_15_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/2/c65184067af04f19295a83d6dc31d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody851661767475975656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363303400,"filename":"image_02012026_14_16_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/2/262473d97e13ace1d5f9da20464f2c39.jpg","text":"TemporaryFile(/tmp/multipartBody879482059020047537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363303400,"filename":"image_02012026_14_16_44_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/2/eb1119000b15f7700a90e31bd405c946.jpg","text":"TemporaryFile(/tmp/multipartBody8088258287256839229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363303400,"filename":"image_02012026_14_16_55_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164102","file1":"1402164098","file0":"1402164095","file4":"1402164106","file5":"1402164109","file3":"1402164104"},"map_files_photo_id_array":[{"photo_id":"1402164109","filename":"file5"},{"photo_id":"1402164102","filename":"file2"},{"photo_id":"1402164106","filename":"file4"},{"photo_id":"1402164098","filename":"file1"},{"photo_id":"1402164095","filename":"file0"},{"photo_id":"1402164104","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164102":["hashtag1","hashtag2"]},{"1402164095":["hashtag1","hashtag2"]},{"1402164098":["hashtag1","hashtag2"]},{"1402164104":["hashtag1","hashtag2"]},{"1402164106":["hashtag1","hashtag2"]},{"1402164109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164102, 1402164095, 1402164098, 1402164104, 1402164106, 1402164109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8720440864563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:14:42.156218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_19_2707.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_22_2909.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_26_3768.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_29_2555.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_35_3547.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_37_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_19_2707.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_22_2909.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_26_3768.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_29_2555.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_35_3547.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_37_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164141","1402164123","1402164143","1402164140","1402164142","1402164139"],"photo_ids_order":["1402164123","1402164139","1402164140","1402164141","1402164142","1402164143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/efe54c679a05dd1cd7b28afa1acb1060.jpg","text":"TemporaryFile(/tmp/multipartBody8817707315324997045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363343923,"filename":"image_05112025_19_16_29_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/2/057399afc41b9f5c4c527e7b241d61b2.jpg","text":"TemporaryFile(/tmp/multipartBody9091676185126132040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363343923,"filename":"image_05112025_19_16_19_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/2/dbe02fa544a65809971e9dcd166163c4.jpg","text":"TemporaryFile(/tmp/multipartBody3868890181811057396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363343923,"filename":"image_05112025_19_16_37_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/2/92ab9c2f8fdc51b9262f6f0a671e9910.jpg","text":"TemporaryFile(/tmp/multipartBody1978131772232784624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363343923,"filename":"image_05112025_19_16_26_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/2/18601861df85b26148887801284cca5a.jpg","text":"TemporaryFile(/tmp/multipartBody2798624278090015304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363343923,"filename":"image_05112025_19_16_35_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3becd10a5f75c7689628688f6d7f9a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5292588403137108109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363343923,"filename":"image_05112025_19_16_22_2909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164140","file1":"1402164139","file0":"1402164123","file4":"1402164142","file5":"1402164143","file3":"1402164141"},"map_files_photo_id_array":[{"photo_id":"1402164143","filename":"file5"},{"photo_id":"1402164140","filename":"file2"},{"photo_id":"1402164142","filename":"file4"},{"photo_id":"1402164139","filename":"file1"},{"photo_id":"1402164123","filename":"file0"},{"photo_id":"1402164141","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164141":["hashtag1","hashtag2"]},{"1402164123":["hashtag1","hashtag2"]},{"1402164143":["hashtag1","hashtag2"]},{"1402164140":["hashtag1","hashtag2"]},{"1402164142":["hashtag1","hashtag2"]},{"1402164139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164141, 1402164123, 1402164143, 1402164140, 1402164142, 1402164139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10093975067139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:15:22.350010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/16/image_02012026_14_17_04_9641.jpg', '/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_14_9795.jpg', '/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_25_10632.jpg', '/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_35_9666.jpg', '/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_55_10626.jpg', '/home/pi/Desktop/images/02012026/14/17/image_02012026_14_18_04_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/16/image_02012026_14_17_04_9641.jpg
/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_14_9795.jpg
/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_25_10632.jpg
/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_35_9666.jpg
/home/pi/Desktop/images/02012026/14/17/image_02012026_14_17_55_10626.jpg
/home/pi/Desktop/images/02012026/14/17/image_02012026_14_18_04_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":["1402164150","1402164158","1402164160","1402164154","1402164163","1402164157"],"photo_ids_order":["1402164150","1402164154","1402164157","1402164158","1402164160","1402164163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cba088ba92798d2a0461a56f7afd14a2.jpg","text":"TemporaryFile(/tmp/multipartBody5544304840573410889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363382948,"filename":"image_02012026_14_17_04_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/2/6172955550d47fa0c7aa81b77ade3e09.jpg","text":"TemporaryFile(/tmp/multipartBody1458840802134074203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363382948,"filename":"image_02012026_14_17_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/2/a51d281177535c61c445cf16ba8d8ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6693078214169754427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363382948,"filename":"image_02012026_14_17_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/2/16388448d45321a2ed82876059dc5a7e.jpg","text":"TemporaryFile(/tmp/multipartBody8570153326003386863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363382948,"filename":"image_02012026_14_17_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/2/ce1da986df0ca51fc391bc8d597b804e.jpg","text":"TemporaryFile(/tmp/multipartBody5946621122158602313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363382948,"filename":"image_02012026_14_18_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/2/8d357c56858a7b76b2d2af3a26fcc780.jpg","text":"TemporaryFile(/tmp/multipartBody8300041433792636631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363382948,"filename":"image_02012026_14_17_25_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164157","file1":"1402164154","file0":"1402164150","file4":"1402164160","file5":"1402164163","file3":"1402164158"},"map_files_photo_id_array":[{"photo_id":"1402164163","filename":"file5"},{"photo_id":"1402164157","filename":"file2"},{"photo_id":"1402164160","filename":"file4"},{"photo_id":"1402164154","filename":"file1"},{"photo_id":"1402164150","filename":"file0"},{"photo_id":"1402164158","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164150":["hashtag1","hashtag2"]},{"1402164158":["hashtag1","hashtag2"]},{"1402164160":["hashtag1","hashtag2"]},{"1402164154":["hashtag1","hashtag2"]},{"1402164163":["hashtag1","hashtag2"]},{"1402164157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164150, 1402164158, 1402164160, 1402164154, 1402164163, 1402164157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93934726715088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:16:03.113239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_45_10618.jpg', '/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_55_9776.jpg', '/home/pi/Desktop/images/02012026/14/18/image_02012026_14_19_04_9667.jpg', '/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_14_9673.jpg', '/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_45_10681.jpg', '/home/pi/Desktop/images/02012026/14/20/image_02012026_14_20_14_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_45_10618.jpg
/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_55_9776.jpg
/home/pi/Desktop/images/02012026/14/18/image_02012026_14_19_04_9667.jpg
/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_14_9673.jpg
/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_45_10681.jpg
/home/pi/Desktop/images/02012026/14/20/image_02012026_14_20_14_9835.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.537304162979126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:16:12.661509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_41_3646.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_44_2684.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_50_3660.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_53_2676.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_55_2724.jpg', '/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_59_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_41_3646.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_44_2684.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_50_3660.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_53_2676.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_55_2724.jpg
/home/pi/Desktop/images/05112025/19/16/image_05112025_19_16_59_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164192","1402164216","1402164204","1402164176","1402164189","1402164180"],"photo_ids_order":["1402164176","1402164180","1402164189","1402164192","1402164204","1402164216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3198ee41ebab9f526ef4f4a006e32f08.jpg","text":"TemporaryFile(/tmp/multipartBody5596209436061402662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363434326,"filename":"image_05112025_19_16_53_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/2/df05905dea5046ecbfca8fd039de64d9.jpg","text":"TemporaryFile(/tmp/multipartBody3377019531477548091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363434326,"filename":"image_05112025_19_16_59_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/2/6d3d0ce4f005f66319cb03e4960d0510.jpg","text":"TemporaryFile(/tmp/multipartBody7390404896087460788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363434326,"filename":"image_05112025_19_16_55_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/2/8959ba29f05e8beacb13b9f3a56172cc.jpg","text":"TemporaryFile(/tmp/multipartBody5633077843361389913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363434326,"filename":"image_05112025_19_16_41_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/2/996fcf9eb8c5a17d4c5c8c59ec540ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8717697599530790491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363434326,"filename":"image_05112025_19_16_50_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/2/180ed1d6f9cc0f1f223232a7c7f84171.jpg","text":"TemporaryFile(/tmp/multipartBody2666492945316836276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363434326,"filename":"image_05112025_19_16_44_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164189","file1":"1402164180","file0":"1402164176","file4":"1402164204","file5":"1402164216","file3":"1402164192"},"map_files_photo_id_array":[{"photo_id":"1402164216","filename":"file5"},{"photo_id":"1402164189","filename":"file2"},{"photo_id":"1402164204","filename":"file4"},{"photo_id":"1402164180","filename":"file1"},{"photo_id":"1402164176","filename":"file0"},{"photo_id":"1402164192","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164192":["hashtag1","hashtag2"]},{"1402164216":["hashtag1","hashtag2"]},{"1402164204":["hashtag1","hashtag2"]},{"1402164176":["hashtag1","hashtag2"]},{"1402164189":["hashtag1","hashtag2"]},{"1402164180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164192, 1402164216, 1402164204, 1402164176, 1402164189, 1402164180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60908126831055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:17:03.435608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_45_10618.jpg', '/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_55_9776.jpg', '/home/pi/Desktop/images/02012026/14/18/image_02012026_14_19_04_9667.jpg', '/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_14_9673.jpg', '/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_45_10681.jpg', '/home/pi/Desktop/images/02012026/14/20/image_02012026_14_20_14_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_45_10618.jpg
/home/pi/Desktop/images/02012026/14/18/image_02012026_14_18_55_9776.jpg
/home/pi/Desktop/images/02012026/14/18/image_02012026_14_19_04_9667.jpg
/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_14_9673.jpg
/home/pi/Desktop/images/02012026/14/19/image_02012026_14_19_45_10681.jpg
/home/pi/Desktop/images/02012026/14/20/image_02012026_14_20_14_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164252","1402164246","1402164255","1402164249","1402164242","1402164244"],"photo_ids_order":["1402164242","1402164244","1402164246","1402164249","1402164252","1402164255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fbda6e6fc8bdabdf0adda357f1a74938.jpg","text":"TemporaryFile(/tmp/multipartBody5212088533059105642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363484071,"filename":"image_02012026_14_19_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/2/3758651c257a643a35d13a148bf4fe41.jpg","text":"TemporaryFile(/tmp/multipartBody3551567350885159563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363484071,"filename":"image_02012026_14_19_04_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/2/e3e0aee8f555394e71811e98b4446f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7702598810817314882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363484071,"filename":"image_02012026_14_20_14_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/2/f7a5d59650d1223ceb3c665020d9a660.jpg","text":"TemporaryFile(/tmp/multipartBody2038116412368615820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363484071,"filename":"image_02012026_14_19_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/2/a878416643de03955b2c374eee3cd6cf.jpg","text":"TemporaryFile(/tmp/multipartBody668306073056383595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363484071,"filename":"image_02012026_14_18_45_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/2/12c83605c43acc6a6e1f0cbb72809825.jpg","text":"TemporaryFile(/tmp/multipartBody6771131000371311852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363484071,"filename":"image_02012026_14_18_55_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164246","file1":"1402164244","file0":"1402164242","file4":"1402164252","file5":"1402164255","file3":"1402164249"},"map_files_photo_id_array":[{"photo_id":"1402164255","filename":"file5"},{"photo_id":"1402164246","filename":"file2"},{"photo_id":"1402164252","filename":"file4"},{"photo_id":"1402164244","filename":"file1"},{"photo_id":"1402164242","filename":"file0"},{"photo_id":"1402164249","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164252":["hashtag1","hashtag2"]},{"1402164246":["hashtag1","hashtag2"]},{"1402164255":["hashtag1","hashtag2"]},{"1402164249":["hashtag1","hashtag2"]},{"1402164242":["hashtag1","hashtag2"]},{"1402164244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164252, 1402164246, 1402164255, 1402164249, 1402164242, 1402164244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.285627126693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:17:42.819379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_11_3685.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_13_2807.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_20_3623.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_23_2672.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_25_2643.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_28_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_11_3685.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_13_2807.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_20_3623.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_23_2672.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_25_2643.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_28_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164279","1402164273","1402164287","1402164277","1402164286","1402164261"],"photo_ids_order":["1402164261","1402164273","1402164277","1402164279","1402164286","1402164287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/436c050834c72df4ca950f13fb023ecf.jpg","text":"TemporaryFile(/tmp/multipartBody354739270523260662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363524600,"filename":"image_05112025_19_17_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/2/d017859ac1ec25deab9b65940d33b057.jpg","text":"TemporaryFile(/tmp/multipartBody8143835929458261349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363524600,"filename":"image_05112025_19_17_13_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4f28347d32b537d3e329113d7b74f4b.jpg","text":"TemporaryFile(/tmp/multipartBody4737347568741124019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363524600,"filename":"image_05112025_19_17_28_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/2/356384a91066002741c55317f1b9684b.jpg","text":"TemporaryFile(/tmp/multipartBody7022383740340136135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363524600,"filename":"image_05112025_19_17_20_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/2/75df50e451f39dfccb0fb5f16fd0d965.jpg","text":"TemporaryFile(/tmp/multipartBody4167965991647719961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363524600,"filename":"image_05112025_19_17_25_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/2/e22ec768f74d9ce43ac4d75c0896dddb.jpg","text":"TemporaryFile(/tmp/multipartBody7741334401658595604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363524600,"filename":"image_05112025_19_17_11_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164277","file1":"1402164273","file0":"1402164261","file4":"1402164286","file5":"1402164287","file3":"1402164279"},"map_files_photo_id_array":[{"photo_id":"1402164287","filename":"file5"},{"photo_id":"1402164277","filename":"file2"},{"photo_id":"1402164286","filename":"file4"},{"photo_id":"1402164273","filename":"file1"},{"photo_id":"1402164261","filename":"file0"},{"photo_id":"1402164279","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164279":["hashtag1","hashtag2"]},{"1402164273":["hashtag1","hashtag2"]},{"1402164287":["hashtag1","hashtag2"]},{"1402164277":["hashtag1","hashtag2"]},{"1402164286":["hashtag1","hashtag2"]},{"1402164261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164279, 1402164273, 1402164287, 1402164277, 1402164286, 1402164261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47655129432678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:18:24.609038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/20/image_02012026_14_21_05_10684.jpg', '/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_15_9800.jpg', '/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_25_9894.jpg', '/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_34_9770.jpg', '/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_45_10623.jpg', '/home/pi/Desktop/images/02012026/14/21/image_02012026_14_22_04_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/20/image_02012026_14_21_05_10684.jpg
/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_15_9800.jpg
/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_25_9894.jpg
/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_34_9770.jpg
/home/pi/Desktop/images/02012026/14/21/image_02012026_14_21_45_10623.jpg
/home/pi/Desktop/images/02012026/14/21/image_02012026_14_22_04_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":["1402164306","1402164299","1402164295","1402164314","1402164301","1402164297"],"photo_ids_order":["1402164295","1402164297","1402164299","1402164301","1402164306","1402164314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c68c96c9336b658dce2cd574b7ca53d2.jpg","text":"TemporaryFile(/tmp/multipartBody3559431230366732884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363565218,"filename":"image_02012026_14_21_45_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/2/23b0ab87549763edbef536a4fa5b9785.jpg","text":"TemporaryFile(/tmp/multipartBody3212097736433066753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363565218,"filename":"image_02012026_14_21_25_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/2/ec1487cab7595d226bc6bfcbc381a19a.jpg","text":"TemporaryFile(/tmp/multipartBody4569523643529199864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363565218,"filename":"image_02012026_14_21_05_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/2/cc526608cded5249584deeff67a69b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5848232158750603147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363565218,"filename":"image_02012026_14_22_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/2/02dc325ce972ec691dcb0b964d0e3b22.jpg","text":"TemporaryFile(/tmp/multipartBody2764145975527002762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363565218,"filename":"image_02012026_14_21_34_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/2/b1be2b198c4802ef70bdbb939caac7f1.jpg","text":"TemporaryFile(/tmp/multipartBody2124670326388203916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363565218,"filename":"image_02012026_14_21_15_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164299","file1":"1402164297","file0":"1402164295","file4":"1402164306","file5":"1402164314","file3":"1402164301"},"map_files_photo_id_array":[{"photo_id":"1402164314","filename":"file5"},{"photo_id":"1402164299","filename":"file2"},{"photo_id":"1402164306","filename":"file4"},{"photo_id":"1402164297","filename":"file1"},{"photo_id":"1402164295","filename":"file0"},{"photo_id":"1402164301","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164306":["hashtag1","hashtag2"]},{"1402164299":["hashtag1","hashtag2"]},{"1402164295":["hashtag1","hashtag2"]},{"1402164314":["hashtag1","hashtag2"]},{"1402164301":["hashtag1","hashtag2"]},{"1402164297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164306, 1402164299, 1402164295, 1402164314, 1402164301, 1402164297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438334941864014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:19:03.656123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_25_10725.jpg', '/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_35_9753.jpg', '/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_44_9610.jpg', '/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_55_10860.jpg', '/home/pi/Desktop/images/02012026/14/22/image_02012026_14_23_05_9537.jpg', '/home/pi/Desktop/images/02012026/14/23/image_02012026_14_23_14_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_25_10725.jpg
/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_35_9753.jpg
/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_44_9610.jpg
/home/pi/Desktop/images/02012026/14/22/image_02012026_14_22_55_10860.jpg
/home/pi/Desktop/images/02012026/14/22/image_02012026_14_23_05_9537.jpg
/home/pi/Desktop/images/02012026/14/23/image_02012026_14_23_14_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164327","1402164318","1402164320","1402164322","1402164316","1402164325"],"photo_ids_order":["1402164316","1402164318","1402164320","1402164322","1402164325","1402164327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/83577fb8e69a342f81fb2819af7f8ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7589804067050306765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363604458,"filename":"image_02012026_14_23_14_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/2/0f136c18ed73d150f914f8a877420c73.jpg","text":"TemporaryFile(/tmp/multipartBody2963756591021824290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363604458,"filename":"image_02012026_14_22_35_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/2/0ad50635efee44a98beebf1fb8cdec9e.jpg","text":"TemporaryFile(/tmp/multipartBody7842600604669751459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363604458,"filename":"image_02012026_14_22_44_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/2/f505621f3600263e8a62e86c6b05a472.jpg","text":"TemporaryFile(/tmp/multipartBody4543164222867958811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363604458,"filename":"image_02012026_14_22_55_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/2/48163576c8d8a270da62d97d918bb2fa.jpg","text":"TemporaryFile(/tmp/multipartBody4411425488362459257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363604458,"filename":"image_02012026_14_22_25_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/2/1d843487fb3e7cd77cd267cf3690f7f4.jpg","text":"TemporaryFile(/tmp/multipartBody7297123500700186658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363604458,"filename":"image_02012026_14_23_05_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164320","file1":"1402164318","file0":"1402164316","file4":"1402164325","file5":"1402164327","file3":"1402164322"},"map_files_photo_id_array":[{"photo_id":"1402164327","filename":"file5"},{"photo_id":"1402164320","filename":"file2"},{"photo_id":"1402164325","filename":"file4"},{"photo_id":"1402164318","filename":"file1"},{"photo_id":"1402164316","filename":"file0"},{"photo_id":"1402164322","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164327":["hashtag1","hashtag2"]},{"1402164318":["hashtag1","hashtag2"]},{"1402164320":["hashtag1","hashtag2"]},{"1402164322":["hashtag1","hashtag2"]},{"1402164316":["hashtag1","hashtag2"]},{"1402164325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164327, 1402164318, 1402164320, 1402164322, 1402164316, 1402164325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86404633522034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:19:42.748031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_32_3719.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_37_2738.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_43_2670.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_46_2628.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_56_3580.jpg', '/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_59_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_32_3719.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_37_2738.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_43_2670.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_46_2628.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_56_3580.jpg
/home/pi/Desktop/images/05112025/19/17/image_05112025_19_17_59_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164357","1402164339","1402164353","1402164338","1402164332","1402164340"],"photo_ids_order":["1402164332","1402164338","1402164339","1402164340","1402164353","1402164357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/504355837607a1bc093fc4536fc82c63.jpg","text":"TemporaryFile(/tmp/multipartBody2707541588417584171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363644570,"filename":"image_05112025_19_17_59_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/2/84d83cd048db86541b927bc8f701d413.jpg","text":"TemporaryFile(/tmp/multipartBody2758181556044165749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363644570,"filename":"image_05112025_19_17_43_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/2/e0ee640c5cf7f1b11a220e7c8bfa5ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5300027594940111752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363644570,"filename":"image_05112025_19_17_56_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/2/ada6295dab5463376ded52b6b45c2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8989773035628197795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363644570,"filename":"image_05112025_19_17_37_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/2/ffadab72368cdd952a6d0eafb0fb304e.jpg","text":"TemporaryFile(/tmp/multipartBody6035105936267045321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363644570,"filename":"image_05112025_19_17_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/2/4141d7224624d7e2aa5289a7bb32393f.jpg","text":"TemporaryFile(/tmp/multipartBody3725975895303836020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363644570,"filename":"image_05112025_19_17_46_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164339","file1":"1402164338","file0":"1402164332","file4":"1402164353","file5":"1402164357","file3":"1402164340"},"map_files_photo_id_array":[{"photo_id":"1402164357","filename":"file5"},{"photo_id":"1402164339","filename":"file2"},{"photo_id":"1402164353","filename":"file4"},{"photo_id":"1402164338","filename":"file1"},{"photo_id":"1402164332","filename":"file0"},{"photo_id":"1402164340","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164357":["hashtag1","hashtag2"]},{"1402164339":["hashtag1","hashtag2"]},{"1402164353":["hashtag1","hashtag2"]},{"1402164338":["hashtag1","hashtag2"]},{"1402164332":["hashtag1","hashtag2"]},{"1402164340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164357, 1402164339, 1402164353, 1402164338, 1402164332, 1402164340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.395047187805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:20:21.955264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/23/image_02012026_14_23_24_9888.jpg', '/home/pi/Desktop/images/02012026/14/23/image_02012026_14_23_45_9773.jpg', '/home/pi/Desktop/images/02012026/14/24/image_02012026_14_24_55_10452.jpg', '/home/pi/Desktop/images/02012026/14/24/image_02012026_14_25_04_9714.jpg', '/home/pi/Desktop/images/02012026/14/25/image_02012026_14_25_14_9669.jpg', '/home/pi/Desktop/images/02012026/14/25/image_02012026_14_25_35_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/23/image_02012026_14_23_24_9888.jpg
/home/pi/Desktop/images/02012026/14/23/image_02012026_14_23_45_9773.jpg
/home/pi/Desktop/images/02012026/14/24/image_02012026_14_24_55_10452.jpg
/home/pi/Desktop/images/02012026/14/24/image_02012026_14_25_04_9714.jpg
/home/pi/Desktop/images/02012026/14/25/image_02012026_14_25_14_9669.jpg
/home/pi/Desktop/images/02012026/14/25/image_02012026_14_25_35_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":["1402164419","1402164439","1402164460","1402164400","1402164424","1402164453"],"photo_ids_order":["1402164400","1402164419","1402164424","1402164439","1402164453","1402164460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd26dd30f5b0dd8d58e141823e85d11f.jpg","text":"TemporaryFile(/tmp/multipartBody1079767711638854382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363682544,"filename":"image_02012026_14_23_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/2/2b383a8e65be07b76b7e9f10f49135c6.jpg","text":"TemporaryFile(/tmp/multipartBody3836532055849815975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363682544,"filename":"image_02012026_14_25_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/2/bd6dbbe4c37a15522264155048e85343.jpg","text":"TemporaryFile(/tmp/multipartBody3001945129571201234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363682544,"filename":"image_02012026_14_25_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/2/8cc11b6641ce463d63e351e0fe5eb87f.jpg","text":"TemporaryFile(/tmp/multipartBody5156024700119625651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363682544,"filename":"image_02012026_14_23_24_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/2/586a437802abda1c5e7159f16b7fbcfa.jpg","text":"TemporaryFile(/tmp/multipartBody4293502639647558312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363682544,"filename":"image_02012026_14_24_55_10452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7322062c97686e21c73202b8993a5f35.jpg","text":"TemporaryFile(/tmp/multipartBody5788976443197761068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363682544,"filename":"image_02012026_14_25_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164424","file1":"1402164419","file0":"1402164400","file4":"1402164453","file5":"1402164460","file3":"1402164439"},"map_files_photo_id_array":[{"photo_id":"1402164460","filename":"file5"},{"photo_id":"1402164424","filename":"file2"},{"photo_id":"1402164453","filename":"file4"},{"photo_id":"1402164419","filename":"file1"},{"photo_id":"1402164400","filename":"file0"},{"photo_id":"1402164439","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164419":["hashtag1","hashtag2"]},{"1402164439":["hashtag1","hashtag2"]},{"1402164460":["hashtag1","hashtag2"]},{"1402164400":["hashtag1","hashtag2"]},{"1402164424":["hashtag1","hashtag2"]},{"1402164453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164419, 1402164439, 1402164460, 1402164400, 1402164424, 1402164453)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.63663411140442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:21:27.850869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/25/image_02012026_14_25_55_10665.jpg', '/home/pi/Desktop/images/02012026/14/26/image_02012026_14_26_05_9800.jpg', '/home/pi/Desktop/images/02012026/14/26/image_02012026_14_26_25_10653.jpg', '/home/pi/Desktop/images/02012026/14/26/image_02012026_14_27_05_10771.jpg', '/home/pi/Desktop/images/02012026/14/27/image_02012026_14_27_15_9680.jpg', '/home/pi/Desktop/images/02012026/14/27/image_02012026_14_27_35_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/25/image_02012026_14_25_55_10665.jpg
/home/pi/Desktop/images/02012026/14/26/image_02012026_14_26_05_9800.jpg
/home/pi/Desktop/images/02012026/14/26/image_02012026_14_26_25_10653.jpg
/home/pi/Desktop/images/02012026/14/26/image_02012026_14_27_05_10771.jpg
/home/pi/Desktop/images/02012026/14/27/image_02012026_14_27_15_9680.jpg
/home/pi/Desktop/images/02012026/14/27/image_02012026_14_27_35_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164531","1402164533","1402164539","1402164538","1402164535","1402164529"],"photo_ids_order":["1402164529","1402164531","1402164533","1402164535","1402164538","1402164539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d4b36c8479d7cdbda77ac1103a8dfece.jpg","text":"TemporaryFile(/tmp/multipartBody7654938234529334579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363748474,"filename":"image_02012026_14_26_05_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/2/e32157db5ff9dc7e50119c1ba1df8a79.jpg","text":"TemporaryFile(/tmp/multipartBody8783660745096487901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363748474,"filename":"image_02012026_14_26_25_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/2/aa5c5b539368f112a992e1e284bd6a1b.jpg","text":"TemporaryFile(/tmp/multipartBody3308022661044653461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363748474,"filename":"image_02012026_14_27_35_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/2/4c7ba138623e16f0db599c4302139b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4769998594152621042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363748474,"filename":"image_02012026_14_27_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/2/5b8a03c379e1f66bdf6de0d4dd942a84.jpg","text":"TemporaryFile(/tmp/multipartBody493031402779287766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363748474,"filename":"image_02012026_14_27_05_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/2/35fc0873f40c0909569a7b178b53fd42.jpg","text":"TemporaryFile(/tmp/multipartBody2946523989113474427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363748474,"filename":"image_02012026_14_25_55_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164533","file1":"1402164531","file0":"1402164529","file4":"1402164538","file5":"1402164539","file3":"1402164535"},"map_files_photo_id_array":[{"photo_id":"1402164539","filename":"file5"},{"photo_id":"1402164533","filename":"file2"},{"photo_id":"1402164538","filename":"file4"},{"photo_id":"1402164531","filename":"file1"},{"photo_id":"1402164529","filename":"file0"},{"photo_id":"1402164535","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164531":["hashtag1","hashtag2"]},{"1402164533":["hashtag1","hashtag2"]},{"1402164539":["hashtag1","hashtag2"]},{"1402164538":["hashtag1","hashtag2"]},{"1402164535":["hashtag1","hashtag2"]},{"1402164529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164531, 1402164533, 1402164539, 1402164538, 1402164535, 1402164529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77533674240112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:22:12.113658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_01_2525.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_05_3702.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_08_2753.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_10_2561.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_16_2584.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_19_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_01_2525.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_05_3702.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_08_2753.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_10_2561.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_16_2584.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_19_2563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164555","1402164566","1402164557","1402164562","1402164559","1402164552"],"photo_ids_order":["1402164552","1402164555","1402164557","1402164559","1402164562","1402164566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/15e1854d6c8d0ec591b0318fdcfadc99.jpg","text":"TemporaryFile(/tmp/multipartBody1312115415654736341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363793755,"filename":"image_05112025_19_18_05_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/2/f57d7bfbceff7663658a94176ba1b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody4939524897886199719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363793755,"filename":"image_05112025_19_18_19_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/2/abdcde13cebf353c75d78047e0bc5c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7358653337395094681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363793755,"filename":"image_05112025_19_18_08_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/2/5431369e49df438dd11b2cfc42d0f016.jpg","text":"TemporaryFile(/tmp/multipartBody3654434132325744604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363793755,"filename":"image_05112025_19_18_16_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/2/ed3a54e5372b16d4e7655e1b3280be59.jpg","text":"TemporaryFile(/tmp/multipartBody5004245228838092624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363793755,"filename":"image_05112025_19_18_10_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/2/bb757c1280078e050a99dba4700fd19b.jpg","text":"TemporaryFile(/tmp/multipartBody3163289937055684438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363793755,"filename":"image_05112025_19_18_01_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164557","file1":"1402164555","file0":"1402164552","file4":"1402164562","file5":"1402164566","file3":"1402164559"},"map_files_photo_id_array":[{"photo_id":"1402164566","filename":"file5"},{"photo_id":"1402164557","filename":"file2"},{"photo_id":"1402164562","filename":"file4"},{"photo_id":"1402164555","filename":"file1"},{"photo_id":"1402164552","filename":"file0"},{"photo_id":"1402164559","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164555":["hashtag1","hashtag2"]},{"1402164566":["hashtag1","hashtag2"]},{"1402164557":["hashtag1","hashtag2"]},{"1402164562":["hashtag1","hashtag2"]},{"1402164559":["hashtag1","hashtag2"]},{"1402164552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164555, 1402164566, 1402164557, 1402164562, 1402164559, 1402164552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18893218040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:23:02.881392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/27/image_02012026_14_28_05_9884.jpg', '/home/pi/Desktop/images/02012026/14/28/image_02012026_14_28_34_9794.jpg', '/home/pi/Desktop/images/02012026/14/31/image_02012026_14_31_14_10046.jpg', '/home/pi/Desktop/images/02012026/14/32/image_02012026_14_32_24_9644.jpg', '/home/pi/Desktop/images/02012026/14/33/image_02012026_14_33_14_9598.jpg', '/home/pi/Desktop/images/02012026/14/33/image_02012026_14_33_44_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/27/image_02012026_14_28_05_9884.jpg
/home/pi/Desktop/images/02012026/14/28/image_02012026_14_28_34_9794.jpg
/home/pi/Desktop/images/02012026/14/31/image_02012026_14_31_14_10046.jpg
/home/pi/Desktop/images/02012026/14/32/image_02012026_14_32_24_9644.jpg
/home/pi/Desktop/images/02012026/14/33/image_02012026_14_33_14_9598.jpg
/home/pi/Desktop/images/02012026/14/33/image_02012026_14_33_44_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":["1402164572","1402164580","1402164574","1402164583","1402164577","1402164585"],"photo_ids_order":["1402164572","1402164574","1402164577","1402164580","1402164583","1402164585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/324b2af4f2bb7e1c2a631fb4f8ef8c84.jpg","text":"TemporaryFile(/tmp/multipartBody9109627630815420340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363843515,"filename":"image_02012026_14_28_05_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/2/f02fb9f637a2dc6ea7a7810282353c37.jpg","text":"TemporaryFile(/tmp/multipartBody1565313730863741815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363843515,"filename":"image_02012026_14_32_24_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/2/563ffdace9a56cf885bdade1b22c6cff.jpg","text":"TemporaryFile(/tmp/multipartBody1639815778624093729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363843515,"filename":"image_02012026_14_28_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/2/c73100b949a71c7bd1aaa6aa82b5285c.jpg","text":"TemporaryFile(/tmp/multipartBody279018028269839265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363843515,"filename":"image_02012026_14_33_14_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/2/12c7ca80ecf671f31ed68e4df6af22b2.jpg","text":"TemporaryFile(/tmp/multipartBody5890157071538651791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363843515,"filename":"image_02012026_14_31_14_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c468817fb8edef125dc9845bc27e41d.jpg","text":"TemporaryFile(/tmp/multipartBody1422515711355626282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363843515,"filename":"image_02012026_14_33_44_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164577","file1":"1402164574","file0":"1402164572","file4":"1402164583","file5":"1402164585","file3":"1402164580"},"map_files_photo_id_array":[{"photo_id":"1402164585","filename":"file5"},{"photo_id":"1402164577","filename":"file2"},{"photo_id":"1402164583","filename":"file4"},{"photo_id":"1402164574","filename":"file1"},{"photo_id":"1402164572","filename":"file0"},{"photo_id":"1402164580","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164572":["hashtag1","hashtag2"]},{"1402164580":["hashtag1","hashtag2"]},{"1402164574":["hashtag1","hashtag2"]},{"1402164583":["hashtag1","hashtag2"]},{"1402164577":["hashtag1","hashtag2"]},{"1402164585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164572, 1402164580, 1402164574, 1402164583, 1402164577, 1402164585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19420552253723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:23:42.229128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_23_3670.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_25_2693.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_28_2664.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_40_2636.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_43_2603.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_46_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_23_3670.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_25_2693.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_28_2664.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_40_2636.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_43_2603.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_46_3595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164603","1402164600","1402164590","1402164619","1402164604","1402164613"],"photo_ids_order":["1402164590","1402164600","1402164603","1402164604","1402164613","1402164619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29dd7afbb9f9fa6bda725cb44a259374.jpg","text":"TemporaryFile(/tmp/multipartBody8183824011153123120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363884010,"filename":"image_05112025_19_18_28_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/2/1d2951b8c768fafb61af50ec807f0ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5222826558050656787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363884010,"filename":"image_05112025_19_18_25_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/2/8600d70d5516f3e5a43b5b328fc82818.jpg","text":"TemporaryFile(/tmp/multipartBody8663053417278198767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363884010,"filename":"image_05112025_19_18_23_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/2/0278802b82ed8275c44b4c165fbf7ae4.jpg","text":"TemporaryFile(/tmp/multipartBody6528118136978526498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363884010,"filename":"image_05112025_19_18_46_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/2/f224bb96f7559efe4a7fea31ce417b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2190815282069934272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363884010,"filename":"image_05112025_19_18_40_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/2/d7eec6f1452c77000b175830bc06dfc3.jpg","text":"TemporaryFile(/tmp/multipartBody8059745343508259549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363884010,"filename":"image_05112025_19_18_43_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164603","file1":"1402164600","file0":"1402164590","file4":"1402164613","file5":"1402164619","file3":"1402164604"},"map_files_photo_id_array":[{"photo_id":"1402164619","filename":"file5"},{"photo_id":"1402164603","filename":"file2"},{"photo_id":"1402164613","filename":"file4"},{"photo_id":"1402164600","filename":"file1"},{"photo_id":"1402164590","filename":"file0"},{"photo_id":"1402164604","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164603":["hashtag1","hashtag2"]},{"1402164600":["hashtag1","hashtag2"]},{"1402164590":["hashtag1","hashtag2"]},{"1402164619":["hashtag1","hashtag2"]},{"1402164604":["hashtag1","hashtag2"]},{"1402164613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164603, 1402164600, 1402164590, 1402164619, 1402164604, 1402164613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94263696670532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:24:22.431291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/34/image_02012026_14_34_44_10563.jpg', '/home/pi/Desktop/images/02012026/14/35/image_02012026_14_35_34_9624.jpg', '/home/pi/Desktop/images/02012026/14/36/image_02012026_14_36_24_9642.jpg', '/home/pi/Desktop/images/02012026/14/36/image_02012026_14_37_05_9806.jpg', '/home/pi/Desktop/images/02012026/14/37/image_02012026_14_37_14_9716.jpg', '/home/pi/Desktop/images/02012026/14/37/image_02012026_14_37_24_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/34/image_02012026_14_34_44_10563.jpg
/home/pi/Desktop/images/02012026/14/35/image_02012026_14_35_34_9624.jpg
/home/pi/Desktop/images/02012026/14/36/image_02012026_14_36_24_9642.jpg
/home/pi/Desktop/images/02012026/14/36/image_02012026_14_37_05_9806.jpg
/home/pi/Desktop/images/02012026/14/37/image_02012026_14_37_14_9716.jpg
/home/pi/Desktop/images/02012026/14/37/image_02012026_14_37_24_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164660","1402164633","1402164663","1402164650","1402164629","1402164676"],"photo_ids_order":["1402164629","1402164633","1402164650","1402164660","1402164663","1402164676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b31ec0a94d62ddfc86683fd9ae3e0bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6150882590875405940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363923043,"filename":"image_02012026_14_37_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/2/fe9cf1bb16db863a25a3971a84634372.jpg","text":"TemporaryFile(/tmp/multipartBody7676432394948077436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363923043,"filename":"image_02012026_14_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/2/da6c6e83a8ed77a035be42bbc8ed5a54.jpg","text":"TemporaryFile(/tmp/multipartBody8714133245265978384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363923043,"filename":"image_02012026_14_37_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/2/d2b3950a73b6d57bf7c77f9300723128.jpg","text":"TemporaryFile(/tmp/multipartBody3145588556309732839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363923043,"filename":"image_02012026_14_36_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/2/ff555ed463b5a64844a68939c29ef208.jpg","text":"TemporaryFile(/tmp/multipartBody6919020662378347534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363923043,"filename":"image_02012026_14_34_44_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/2/d3212e9d25189b6eb2c1baf76b6dad76.jpg","text":"TemporaryFile(/tmp/multipartBody8349737999885547406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363923043,"filename":"image_02012026_14_37_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164650","file1":"1402164633","file0":"1402164629","file4":"1402164663","file5":"1402164676","file3":"1402164660"},"map_files_photo_id_array":[{"photo_id":"1402164676","filename":"file5"},{"photo_id":"1402164650","filename":"file2"},{"photo_id":"1402164663","filename":"file4"},{"photo_id":"1402164633","filename":"file1"},{"photo_id":"1402164629","filename":"file0"},{"photo_id":"1402164660","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164660":["hashtag1","hashtag2"]},{"1402164633":["hashtag1","hashtag2"]},{"1402164663":["hashtag1","hashtag2"]},{"1402164650":["hashtag1","hashtag2"]},{"1402164629":["hashtag1","hashtag2"]},{"1402164676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164660, 1402164633, 1402164663, 1402164650, 1402164629, 1402164676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04164433479309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:25:03.406641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/37/image_02012026_14_37_45_10638.jpg', '/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_24_9648.jpg', '/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_35_10598.jpg', '/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_44_9626.jpg', '/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_54_9823.jpg', '/home/pi/Desktop/images/02012026/14/38/image_02012026_14_39_05_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/37/image_02012026_14_37_45_10638.jpg
/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_24_9648.jpg
/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_35_10598.jpg
/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_44_9626.jpg
/home/pi/Desktop/images/02012026/14/38/image_02012026_14_38_54_9823.jpg
/home/pi/Desktop/images/02012026/14/38/image_02012026_14_39_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":["1402164689","1402164698","1402164691","1402164696","1402164700","1402164693"],"photo_ids_order":["1402164689","1402164691","1402164693","1402164696","1402164698","1402164700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66ecafd4b9f262f90c4c1c52b1154593.jpg","text":"TemporaryFile(/tmp/multipartBody4114095562588489730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363964057,"filename":"image_02012026_14_37_45_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/2/7c0bc547c509f993a62936a05ed4c911.jpg","text":"TemporaryFile(/tmp/multipartBody1075029308676207869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363964057,"filename":"image_02012026_14_38_54_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/2/1d81381d5872e0c16791118fb082758e.jpg","text":"TemporaryFile(/tmp/multipartBody5147893125048451742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363964057,"filename":"image_02012026_14_38_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/2/e01d46c34ebe2e88b4fec934b46a2c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4591156786639887024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363964057,"filename":"image_02012026_14_38_44_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/2/2c6d46d9497d38f74b440c124db48a50.jpg","text":"TemporaryFile(/tmp/multipartBody5424688512648133839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363964057,"filename":"image_02012026_14_39_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/2/2772277918f4705fcd4c48b463e1a015.jpg","text":"TemporaryFile(/tmp/multipartBody60462333791827422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767363964057,"filename":"image_02012026_14_38_35_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164693","file1":"1402164691","file0":"1402164689","file4":"1402164698","file5":"1402164700","file3":"1402164696"},"map_files_photo_id_array":[{"photo_id":"1402164700","filename":"file5"},{"photo_id":"1402164693","filename":"file2"},{"photo_id":"1402164698","filename":"file4"},{"photo_id":"1402164691","filename":"file1"},{"photo_id":"1402164689","filename":"file0"},{"photo_id":"1402164696","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164689":["hashtag1","hashtag2"]},{"1402164698":["hashtag1","hashtag2"]},{"1402164691":["hashtag1","hashtag2"]},{"1402164696":["hashtag1","hashtag2"]},{"1402164700":["hashtag1","hashtag2"]},{"1402164693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164689, 1402164698, 1402164691, 1402164696, 1402164700, 1402164693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63343572616577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:25:42.818989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_49_2702.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_52_2629.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_55_3629.jpg', '/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_58_2633.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_02_3628.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_04_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_49_2702.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_52_2629.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_55_3629.jpg
/home/pi/Desktop/images/05112025/19/18/image_05112025_19_18_58_2633.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_02_3628.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_04_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":["1402164711","1402164708","1402164713","1402164710","1402164706","1402164709"],"photo_ids_order":["1402164706","1402164708","1402164709","1402164710","1402164711","1402164713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4365690f0858deceb0f00118e31028fe.jpg","text":"TemporaryFile(/tmp/multipartBody1798545293908715385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364004594,"filename":"image_05112025_19_19_02_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ccad0932b35e00aa4df52d07ceae15e5.jpg","text":"TemporaryFile(/tmp/multipartBody7514842783056240936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364004594,"filename":"image_05112025_19_18_52_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/2/04f8b6dc106611ef80be99dcceef58b9.jpg","text":"TemporaryFile(/tmp/multipartBody2544100740483666133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364004594,"filename":"image_05112025_19_19_04_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/2/a461f565c6dde3f0a98b67186c5d9bad.jpg","text":"TemporaryFile(/tmp/multipartBody919004941186265915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364004594,"filename":"image_05112025_19_18_58_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/2/a3dcd3757bce4593b725cc91361697ce.jpg","text":"TemporaryFile(/tmp/multipartBody8543594292223820028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364004594,"filename":"image_05112025_19_18_49_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/2/d2aec4aa3d10d8fbc7a4b9d08686ed4a.jpg","text":"TemporaryFile(/tmp/multipartBody7155723758325395193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364004594,"filename":"image_05112025_19_18_55_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164709","file1":"1402164708","file0":"1402164706","file4":"1402164711","file5":"1402164713","file3":"1402164710"},"map_files_photo_id_array":[{"photo_id":"1402164713","filename":"file5"},{"photo_id":"1402164709","filename":"file2"},{"photo_id":"1402164711","filename":"file4"},{"photo_id":"1402164708","filename":"file1"},{"photo_id":"1402164706","filename":"file0"},{"photo_id":"1402164710","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164711":["hashtag1","hashtag2"]},{"1402164708":["hashtag1","hashtag2"]},{"1402164713":["hashtag1","hashtag2"]},{"1402164710":["hashtag1","hashtag2"]},{"1402164706":["hashtag1","hashtag2"]},{"1402164709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164711, 1402164708, 1402164713, 1402164710, 1402164706, 1402164709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.918397665023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:26:23.173803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/39/image_02012026_14_39_14_9739.jpg', '/home/pi/Desktop/images/02012026/14/39/image_02012026_14_39_24_9643.jpg', '/home/pi/Desktop/images/02012026/14/39/image_02012026_14_39_45_9725.jpg', '/home/pi/Desktop/images/02012026/14/40/image_02012026_14_40_15_10642.jpg', '/home/pi/Desktop/images/02012026/14/40/image_02012026_14_41_04_9633.jpg', '/home/pi/Desktop/images/02012026/14/41/image_02012026_14_41_44_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/39/image_02012026_14_39_14_9739.jpg
/home/pi/Desktop/images/02012026/14/39/image_02012026_14_39_24_9643.jpg
/home/pi/Desktop/images/02012026/14/39/image_02012026_14_39_45_9725.jpg
/home/pi/Desktop/images/02012026/14/40/image_02012026_14_40_15_10642.jpg
/home/pi/Desktop/images/02012026/14/40/image_02012026_14_41_04_9633.jpg
/home/pi/Desktop/images/02012026/14/41/image_02012026_14_41_44_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":["1402164723","1402164717","1402164726","1402164721","1402164739","1402164718"],"photo_ids_order":["1402164717","1402164718","1402164721","1402164723","1402164726","1402164739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe6ea8a4d8ec93f0e23d1c04604dc5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8265064455109636128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364043773,"filename":"image_02012026_14_40_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/2/643ad5c99e40883c578177105944e90e.jpg","text":"TemporaryFile(/tmp/multipartBody2468276641574507320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364043773,"filename":"image_02012026_14_39_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/2/5c37ce6a7069f594e41280f2929e70c4.jpg","text":"TemporaryFile(/tmp/multipartBody7310216826861148535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364043773,"filename":"image_02012026_14_41_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/2/e172ae6aaf7d1f73ae8a3ab02a2437f5.jpg","text":"TemporaryFile(/tmp/multipartBody8672893171583958663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364043773,"filename":"image_02012026_14_39_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/2/0142783857e74ef13a0b1e3fb323592b.jpg","text":"TemporaryFile(/tmp/multipartBody3679632747777821724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364043773,"filename":"image_02012026_14_41_44_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/2/c1f9ebc01831f763dd44496f8c13c4b6.jpg","text":"TemporaryFile(/tmp/multipartBody7925909312976081775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364043773,"filename":"image_02012026_14_39_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164721","file1":"1402164718","file0":"1402164717","file4":"1402164726","file5":"1402164739","file3":"1402164723"},"map_files_photo_id_array":[{"photo_id":"1402164739","filename":"file5"},{"photo_id":"1402164721","filename":"file2"},{"photo_id":"1402164726","filename":"file4"},{"photo_id":"1402164718","filename":"file1"},{"photo_id":"1402164717","filename":"file0"},{"photo_id":"1402164723","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164723":["hashtag1","hashtag2"]},{"1402164717":["hashtag1","hashtag2"]},{"1402164726":["hashtag1","hashtag2"]},{"1402164721":["hashtag1","hashtag2"]},{"1402164739":["hashtag1","hashtag2"]},{"1402164718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164723, 1402164717, 1402164726, 1402164721, 1402164739, 1402164718)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.17568302154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:27:12.214004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_07_2669.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_11_3679.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_13_2745.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_16_2884.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_19_2642.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_23_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_07_2669.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_11_3679.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_13_2745.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_16_2884.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_19_2642.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_23_3671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164773","1402164766","1402164769","1402164760","1402164763","1402164771"],"photo_ids_order":["1402164760","1402164763","1402164766","1402164769","1402164771","1402164773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/249a90f52e1ffe3e7f8ddeec2db56507.jpg","text":"TemporaryFile(/tmp/multipartBody8586358293888273177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364094009,"filename":"image_05112025_19_19_23_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/2/d732ee6a36466b4e7fc3f5ef1803cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody9096642331806570762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364094009,"filename":"image_05112025_19_19_13_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/2/b8c8f4924918622bf0a7dd93b29b08f5.jpg","text":"TemporaryFile(/tmp/multipartBody8998462763215345424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364094009,"filename":"image_05112025_19_19_16_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/2/b87290448b6f20e2b2016e1599807b69.jpg","text":"TemporaryFile(/tmp/multipartBody7675384751472748871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364094009,"filename":"image_05112025_19_19_07_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/2/bd3b97ab0ecdbbf3fc8bb61189ae8d2d.jpg","text":"TemporaryFile(/tmp/multipartBody7918243784721582410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364094009,"filename":"image_05112025_19_19_11_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/2/bb92477d5bde45fed532f29771f979d1.jpg","text":"TemporaryFile(/tmp/multipartBody9151084474734331556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364094009,"filename":"image_05112025_19_19_19_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164766","file1":"1402164763","file0":"1402164760","file4":"1402164771","file5":"1402164773","file3":"1402164769"},"map_files_photo_id_array":[{"photo_id":"1402164773","filename":"file5"},{"photo_id":"1402164766","filename":"file2"},{"photo_id":"1402164771","filename":"file4"},{"photo_id":"1402164763","filename":"file1"},{"photo_id":"1402164760","filename":"file0"},{"photo_id":"1402164769","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164773":["hashtag1","hashtag2"]},{"1402164766":["hashtag1","hashtag2"]},{"1402164769":["hashtag1","hashtag2"]},{"1402164760":["hashtag1","hashtag2"]},{"1402164763":["hashtag1","hashtag2"]},{"1402164771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164773, 1402164766, 1402164769, 1402164760, 1402164763, 1402164771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.771246910095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:28:02.986971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/41/image_02012026_14_41_54_9762.jpg', '/home/pi/Desktop/images/02012026/14/41/image_02012026_14_42_04_9650.jpg', '/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_14_10558.jpg', '/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_24_9776.jpg', '/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_34_9778.jpg', '/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/41/image_02012026_14_41_54_9762.jpg
/home/pi/Desktop/images/02012026/14/41/image_02012026_14_42_04_9650.jpg
/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_14_10558.jpg
/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_24_9776.jpg
/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_34_9778.jpg
/home/pi/Desktop/images/02012026/14/42/image_02012026_14_42_54_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":["1402164788","1402164782","1402164790","1402164784","1402164793","1402164786"],"photo_ids_order":["1402164782","1402164784","1402164786","1402164788","1402164790","1402164793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/33af22297ac26f0e01544b584d2398f7.jpg","text":"TemporaryFile(/tmp/multipartBody3121521187873371944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364143615,"filename":"image_02012026_14_42_24_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/2/f3b9756ee79d66b381229cabf8aad530.jpg","text":"TemporaryFile(/tmp/multipartBody3280845513222675012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364143615,"filename":"image_02012026_14_41_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/2/35793118730cdc7773ebabb3267a5945.jpg","text":"TemporaryFile(/tmp/multipartBody5595855820354388969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364143615,"filename":"image_02012026_14_42_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/2/159e7545c7e7705cc5469dc7ec539274.jpg","text":"TemporaryFile(/tmp/multipartBody1038666355826845128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364143615,"filename":"image_02012026_14_42_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/2/d38949a1fc2f8848e00a0d99c9e618a9.jpg","text":"TemporaryFile(/tmp/multipartBody8986253756765750038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364143615,"filename":"image_02012026_14_42_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/2/0b96035b085cb1a6f750968800b5bfca.jpg","text":"TemporaryFile(/tmp/multipartBody7596170664902183768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364143615,"filename":"image_02012026_14_42_14_10558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164786","file1":"1402164784","file0":"1402164782","file4":"1402164790","file5":"1402164793","file3":"1402164788"},"map_files_photo_id_array":[{"photo_id":"1402164793","filename":"file5"},{"photo_id":"1402164786","filename":"file2"},{"photo_id":"1402164790","filename":"file4"},{"photo_id":"1402164784","filename":"file1"},{"photo_id":"1402164782","filename":"file0"},{"photo_id":"1402164788","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164788":["hashtag1","hashtag2"]},{"1402164782":["hashtag1","hashtag2"]},{"1402164790":["hashtag1","hashtag2"]},{"1402164784":["hashtag1","hashtag2"]},{"1402164793":["hashtag1","hashtag2"]},{"1402164786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164788, 1402164782, 1402164790, 1402164784, 1402164793, 1402164786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.063743114471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:28:42.532832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_25_2575.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_28_2733.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_32_3749.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_35_2996.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_37_2671.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_44_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_25_2575.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_28_2733.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_32_3749.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_35_2996.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_37_2671.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_44_3658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6702969074249268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:29:03.714986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_15_10693.jpg', '/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_24_9664.jpg', '/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_34_9666.jpg', '/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_45_10600.jpg', '/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_54_9705.jpg', '/home/pi/Desktop/images/02012026/14/43/image_02012026_14_44_04_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_15_10693.jpg
/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_24_9664.jpg
/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_34_9666.jpg
/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_45_10600.jpg
/home/pi/Desktop/images/02012026/14/43/image_02012026_14_43_54_9705.jpg
/home/pi/Desktop/images/02012026/14/43/image_02012026_14_44_04_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402164834","1402164824","1402164818","1402164821","1402164829","1402164826"],"photo_ids_order":["1402164818","1402164821","1402164824","1402164826","1402164829","1402164834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/08ed4c4b106bbe07b3a31f39a198ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody6850816409248408650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364204483,"filename":"image_02012026_14_44_04_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/2/51c3c796660d00d9f536053918477560.jpg","text":"TemporaryFile(/tmp/multipartBody6836162621919654446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364204483,"filename":"image_02012026_14_43_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/2/3c97da4867430a18d28ce76769128746.jpg","text":"TemporaryFile(/tmp/multipartBody4770930854178377074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364204483,"filename":"image_02012026_14_43_15_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/2/06c4355d33afbcbb51179b420b3e28f6.jpg","text":"TemporaryFile(/tmp/multipartBody7100546129328578428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364204483,"filename":"image_02012026_14_43_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/2/b9046f5e184f78a09685261bc407aeeb.jpg","text":"TemporaryFile(/tmp/multipartBody8653481062007047263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364204483,"filename":"image_02012026_14_43_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/2/a3a6556c8be536c9baf9c6a1e1abc237.jpg","text":"TemporaryFile(/tmp/multipartBody7616281893159034857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364204483,"filename":"image_02012026_14_43_45_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164824","file1":"1402164821","file0":"1402164818","file4":"1402164829","file5":"1402164834","file3":"1402164826"},"map_files_photo_id_array":[{"photo_id":"1402164834","filename":"file5"},{"photo_id":"1402164824","filename":"file2"},{"photo_id":"1402164829","filename":"file4"},{"photo_id":"1402164821","filename":"file1"},{"photo_id":"1402164818","filename":"file0"},{"photo_id":"1402164826","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402164834":["hashtag1","hashtag2"]},{"1402164824":["hashtag1","hashtag2"]},{"1402164818":["hashtag1","hashtag2"]},{"1402164821":["hashtag1","hashtag2"]},{"1402164829":["hashtag1","hashtag2"]},{"1402164826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402164834, 1402164824, 1402164818, 1402164821, 1402164829, 1402164826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55070948600769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:29:42.667079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_25_2575.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_28_2733.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_32_3749.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_35_2996.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_37_2671.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_44_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_25_2575.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_28_2733.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_32_3749.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_35_2996.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_37_2671.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_44_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8c14l0h93</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8c14l0h93</strong>.
uploaded 0 photos
time to upload: 45.574175119400024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:30:31.836846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_25_2575.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_28_2733.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_32_3749.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_35_2996.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_37_2671.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_44_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_25_2575.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_28_2733.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_32_3749.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_35_2996.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_37_2671.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_44_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":["1402164887","1402164884","1402164866","1402164874","1402164879","1402164870"],"photo_ids_order":["1402164866","1402164870","1402164874","1402164879","1402164884","1402164887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7119be7fc38e87f779ac58e074f0a6fb.jpg","text":"TemporaryFile(/tmp/multipartBody8264394627245817600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364293508,"filename":"image_05112025_19_19_44_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/2/2d0ef25db1f786f1d0a88c65a687cc70.jpg","text":"TemporaryFile(/tmp/multipartBody7640986144698514535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364293508,"filename":"image_05112025_19_19_37_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/2/6d4176f411b6bd2f5360d0df1f9fcd25.jpg","text":"TemporaryFile(/tmp/multipartBody6045546856492405276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364293508,"filename":"image_05112025_19_19_25_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/2/24326cd70fc2f04acea9eea0937812b7.jpg","text":"TemporaryFile(/tmp/multipartBody5322893790547356100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364293508,"filename":"image_05112025_19_19_32_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/2/c0bf3a00255318d2222119844ba36969.jpg","text":"TemporaryFile(/tmp/multipartBody9205669491629875020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364293508,"filename":"image_05112025_19_19_35_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f9a88101812caf493777002b96087dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6080013040318476924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364293508,"filename":"image_05112025_19_19_28_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164874","file1":"1402164870","file0":"1402164866","file4":"1402164884","file5":"1402164887","file3":"1402164879"},"map_files_photo_id_array":[{"photo_id":"1402164887","filename":"file5"},{"photo_id":"1402164874","filename":"file2"},{"photo_id":"1402164884","filename":"file4"},{"photo_id":"1402164870","filename":"file1"},{"photo_id":"1402164866","filename":"file0"},{"photo_id":"1402164879","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402164887":["hashtag1","hashtag2"]},{"1402164884":["hashtag1","hashtag2"]},{"1402164866":["hashtag1","hashtag2"]},{"1402164874":["hashtag1","hashtag2"]},{"1402164879":["hashtag1","hashtag2"]},{"1402164870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402164887, 1402164884, 1402164866, 1402164874, 1402164879, 1402164870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72072696685791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:31:12.028765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_46_2705.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_49_2527.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_52_2810.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_55_3622.jpg', '/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_58_2932.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_01_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_46_2705.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_49_2527.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_52_2810.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_55_3622.jpg
/home/pi/Desktop/images/05112025/19/19/image_05112025_19_19_58_2932.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_01_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":["1402165017","1402164912","1402165034","1402165022","1402164997","1402164958"],"photo_ids_order":["1402164912","1402164958","1402164997","1402165017","1402165022","1402165034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d3259bb0347d0aed54034bca28250d1f.jpg","text":"TemporaryFile(/tmp/multipartBody332757480872154680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364333678,"filename":"image_05112025_19_19_55_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/2/d149319eee093f8657cb628f38e7ac9b.jpg","text":"TemporaryFile(/tmp/multipartBody2838267202875816883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364333678,"filename":"image_05112025_19_19_46_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/2/3a4ece2704af950bca8e176edb6426ae.jpg","text":"TemporaryFile(/tmp/multipartBody6770493673820873209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364333678,"filename":"image_05112025_19_20_01_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/2/09797a0c4972d7a8deea675d61e76255.jpg","text":"TemporaryFile(/tmp/multipartBody191174340431744465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364333678,"filename":"image_05112025_19_19_58_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/274af2cfb3d8431bac612bc11164736c.jpg","text":"TemporaryFile(/tmp/multipartBody3871131740022710535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364333678,"filename":"image_05112025_19_19_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/2/1c154768ada88528c92eb887934e7520.jpg","text":"TemporaryFile(/tmp/multipartBody6650628757253583790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364333678,"filename":"image_05112025_19_19_49_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402164997","file1":"1402164958","file0":"1402164912","file4":"1402165022","file5":"1402165034","file3":"1402165017"},"map_files_photo_id_array":[{"photo_id":"1402165034","filename":"file5"},{"photo_id":"1402164997","filename":"file2"},{"photo_id":"1402165022","filename":"file4"},{"photo_id":"1402164958","filename":"file1"},{"photo_id":"1402164912","filename":"file0"},{"photo_id":"1402165017","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165017":["hashtag1","hashtag2"]},{"1402164912":["hashtag1","hashtag2"]},{"1402165034":["hashtag1","hashtag2"]},{"1402165022":["hashtag1","hashtag2"]},{"1402164997":["hashtag1","hashtag2"]},{"1402164958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165017, 1402164912, 1402165034, 1402165022, 1402164997, 1402164958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.488449573516846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:32:02.693605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/44/image_02012026_14_44_15_10691.jpg', '/home/pi/Desktop/images/02012026/14/44/image_02012026_14_44_24_9702.jpg', '/home/pi/Desktop/images/02012026/14/44/image_02012026_14_44_34_9840.jpg', '/home/pi/Desktop/images/02012026/14/44/image_02012026_14_45_04_9591.jpg', '/home/pi/Desktop/images/02012026/14/45/image_02012026_14_45_55_9828.jpg', '/home/pi/Desktop/images/02012026/14/45/image_02012026_14_46_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/44/image_02012026_14_44_15_10691.jpg
/home/pi/Desktop/images/02012026/14/44/image_02012026_14_44_24_9702.jpg
/home/pi/Desktop/images/02012026/14/44/image_02012026_14_44_34_9840.jpg
/home/pi/Desktop/images/02012026/14/44/image_02012026_14_45_04_9591.jpg
/home/pi/Desktop/images/02012026/14/45/image_02012026_14_45_55_9828.jpg
/home/pi/Desktop/images/02012026/14/45/image_02012026_14_46_04_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165067","1402165061","1402165063","1402165060","1402165065","1402165059"],"photo_ids_order":["1402165059","1402165060","1402165061","1402165063","1402165065","1402165067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1696b0417f18f787e54f71395b67a65d.jpg","text":"TemporaryFile(/tmp/multipartBody4164698834557304005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364383277,"filename":"image_02012026_14_46_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/2/b29d5476ebe368dfb0bace4cc738b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2911379708172621474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364383277,"filename":"image_02012026_14_44_34_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/2/74c53af03dcff346b56545b84856d97e.jpg","text":"TemporaryFile(/tmp/multipartBody6097600932340885083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364383277,"filename":"image_02012026_14_45_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/2/afb0771a4acd07e15a3ada63218250fe.jpg","text":"TemporaryFile(/tmp/multipartBody1567718491629470519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364383277,"filename":"image_02012026_14_44_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/2/4ae5ea7a1abcb53b95a716ea72675a50.jpg","text":"TemporaryFile(/tmp/multipartBody4299678646888622777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364383277,"filename":"image_02012026_14_45_55_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/2/d306cd80ac8d0a94cad23ba25d8e0592.jpg","text":"TemporaryFile(/tmp/multipartBody7083393201715701858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364383277,"filename":"image_02012026_14_44_15_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165061","file1":"1402165060","file0":"1402165059","file4":"1402165065","file5":"1402165067","file3":"1402165063"},"map_files_photo_id_array":[{"photo_id":"1402165067","filename":"file5"},{"photo_id":"1402165061","filename":"file2"},{"photo_id":"1402165065","filename":"file4"},{"photo_id":"1402165060","filename":"file1"},{"photo_id":"1402165059","filename":"file0"},{"photo_id":"1402165063","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165067":["hashtag1","hashtag2"]},{"1402165061":["hashtag1","hashtag2"]},{"1402165063":["hashtag1","hashtag2"]},{"1402165060":["hashtag1","hashtag2"]},{"1402165065":["hashtag1","hashtag2"]},{"1402165059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165067, 1402165061, 1402165063, 1402165060, 1402165065, 1402165059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4301643371582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:32:42.285918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_04_2884.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_07_3024.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_10_3663.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_13_2686.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_16_2749.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_19_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_04_2884.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_07_3024.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_10_3663.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_13_2686.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_16_2749.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_19_2800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165097","1402165094","1402165073","1402165076","1402165099","1402165092"],"photo_ids_order":["1402165073","1402165076","1402165092","1402165094","1402165097","1402165099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ad06e8cbf69ca554e1a0348801f7b5fe.jpg","text":"TemporaryFile(/tmp/multipartBody3067553160864478916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364424042,"filename":"image_05112025_19_20_16_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/2/51ea4b2fa75273023a532841aa17cd10.jpg","text":"TemporaryFile(/tmp/multipartBody878811154794988552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364424042,"filename":"image_05112025_19_20_13_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/2/4dadcc46e4430232ec01d9ce1e0a5995.jpg","text":"TemporaryFile(/tmp/multipartBody6399553374060767554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364424042,"filename":"image_05112025_19_20_04_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/2/e10dd9c8d7c2a05e27acfb6329e05701.jpg","text":"TemporaryFile(/tmp/multipartBody4133385183774132049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364424042,"filename":"image_05112025_19_20_07_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/2/f98071c6a6b34131cd381972358902fa.jpg","text":"TemporaryFile(/tmp/multipartBody7273272656973004251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364424042,"filename":"image_05112025_19_20_19_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/2/66810ce17ef21ea6a3ba497c848d8c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4061187739030634871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364424042,"filename":"image_05112025_19_20_10_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165092","file1":"1402165076","file0":"1402165073","file4":"1402165097","file5":"1402165099","file3":"1402165094"},"map_files_photo_id_array":[{"photo_id":"1402165099","filename":"file5"},{"photo_id":"1402165092","filename":"file2"},{"photo_id":"1402165097","filename":"file4"},{"photo_id":"1402165076","filename":"file1"},{"photo_id":"1402165073","filename":"file0"},{"photo_id":"1402165094","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165097":["hashtag1","hashtag2"]},{"1402165094":["hashtag1","hashtag2"]},{"1402165073":["hashtag1","hashtag2"]},{"1402165076":["hashtag1","hashtag2"]},{"1402165099":["hashtag1","hashtag2"]},{"1402165092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165097, 1402165094, 1402165073, 1402165076, 1402165099, 1402165092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33371067047119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:33:22.442729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/46/image_02012026_14_46_25_10674.jpg', '/home/pi/Desktop/images/02012026/14/46/image_02012026_14_47_04_9799.jpg', '/home/pi/Desktop/images/02012026/14/47/image_02012026_14_47_25_10827.jpg', '/home/pi/Desktop/images/02012026/14/47/image_02012026_14_47_54_10244.jpg', '/home/pi/Desktop/images/02012026/14/49/image_02012026_14_49_24_9603.jpg', '/home/pi/Desktop/images/02012026/14/49/image_02012026_14_49_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/46/image_02012026_14_46_25_10674.jpg
/home/pi/Desktop/images/02012026/14/46/image_02012026_14_47_04_9799.jpg
/home/pi/Desktop/images/02012026/14/47/image_02012026_14_47_25_10827.jpg
/home/pi/Desktop/images/02012026/14/47/image_02012026_14_47_54_10244.jpg
/home/pi/Desktop/images/02012026/14/49/image_02012026_14_49_24_9603.jpg
/home/pi/Desktop/images/02012026/14/49/image_02012026_14_49_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165106","1402165114","1402165108","1402165102","1402165111","1402165104"],"photo_ids_order":["1402165102","1402165104","1402165106","1402165108","1402165111","1402165114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3b7cd0af572d74665d4c2918c33cef7a.jpg","text":"TemporaryFile(/tmp/multipartBody9112875386509659045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364463025,"filename":"image_02012026_14_47_25_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b77b33dec1a931d1bffd8f315bf3f84a.jpg","text":"TemporaryFile(/tmp/multipartBody8875201094173556257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364463025,"filename":"image_02012026_14_49_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/2/f6669ff721aeefa9304210143952eff4.jpg","text":"TemporaryFile(/tmp/multipartBody4020817358156275627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364463025,"filename":"image_02012026_14_47_54_10244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4cdd567bd4f8485691ac887b83538fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8536042378028654718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364463025,"filename":"image_02012026_14_46_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/2/1a64f0dbb159c66486095ed7a42355f2.jpg","text":"TemporaryFile(/tmp/multipartBody1707122166416255110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364463025,"filename":"image_02012026_14_49_24_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/2/b2e5e395e3453d6fa338fb8750712f41.jpg","text":"TemporaryFile(/tmp/multipartBody368079905750208179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364463025,"filename":"image_02012026_14_47_04_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165106","file1":"1402165104","file0":"1402165102","file4":"1402165111","file5":"1402165114","file3":"1402165108"},"map_files_photo_id_array":[{"photo_id":"1402165114","filename":"file5"},{"photo_id":"1402165106","filename":"file2"},{"photo_id":"1402165111","filename":"file4"},{"photo_id":"1402165104","filename":"file1"},{"photo_id":"1402165102","filename":"file0"},{"photo_id":"1402165108","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165106":["hashtag1","hashtag2"]},{"1402165114":["hashtag1","hashtag2"]},{"1402165108":["hashtag1","hashtag2"]},{"1402165102":["hashtag1","hashtag2"]},{"1402165111":["hashtag1","hashtag2"]},{"1402165104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165106, 1402165114, 1402165108, 1402165102, 1402165111, 1402165104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86625671386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:34:03.481811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/50/image_02012026_14_50_14_9761.jpg', '/home/pi/Desktop/images/02012026/14/50/image_02012026_14_51_05_10828.jpg', '/home/pi/Desktop/images/02012026/14/51/image_02012026_14_51_34_9729.jpg', '/home/pi/Desktop/images/02012026/14/52/image_02012026_14_52_35_10614.jpg', '/home/pi/Desktop/images/02012026/14/53/image_02012026_14_53_54_9694.jpg', '/home/pi/Desktop/images/02012026/14/54/image_02012026_14_54_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/50/image_02012026_14_50_14_9761.jpg
/home/pi/Desktop/images/02012026/14/50/image_02012026_14_51_05_10828.jpg
/home/pi/Desktop/images/02012026/14/51/image_02012026_14_51_34_9729.jpg
/home/pi/Desktop/images/02012026/14/52/image_02012026_14_52_35_10614.jpg
/home/pi/Desktop/images/02012026/14/53/image_02012026_14_53_54_9694.jpg
/home/pi/Desktop/images/02012026/14/54/image_02012026_14_54_24_9631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5181262493133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:34:12.615224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_22_3572.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_25_2595.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_29_3771.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_31_2542.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_34_2613.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_37_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_22_3572.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_25_2595.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_29_3771.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_31_2542.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_34_2613.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_37_3552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165130","1402165127","1402165132","1402165141","1402165135","1402165123"],"photo_ids_order":["1402165123","1402165127","1402165130","1402165132","1402165135","1402165141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f7078404f188092c124e430b6cfbeabe.jpg","text":"TemporaryFile(/tmp/multipartBody5403525683489004410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364514331,"filename":"image_05112025_19_20_29_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/2/b279fb48c2f7fc4b2b8ef151ddb9bfe8.jpg","text":"TemporaryFile(/tmp/multipartBody1726130223102611992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364514331,"filename":"image_05112025_19_20_25_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/2/b1adad3920f325e3004a1b170b89b90b.jpg","text":"TemporaryFile(/tmp/multipartBody3382814752332918056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364514331,"filename":"image_05112025_19_20_31_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/2/92d4a337f8b4de47e2b6b89595611538.jpg","text":"TemporaryFile(/tmp/multipartBody4270041983724034739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364514331,"filename":"image_05112025_19_20_37_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1582e3ceaa5ce6022bdac925b6cdaa6f.jpg","text":"TemporaryFile(/tmp/multipartBody3773070670487775888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364514331,"filename":"image_05112025_19_20_34_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/2/6117a1f40b1f84b4df514afb8e8f9b7c.jpg","text":"TemporaryFile(/tmp/multipartBody739283958136361549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364514331,"filename":"image_05112025_19_20_22_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165130","file1":"1402165127","file0":"1402165123","file4":"1402165135","file5":"1402165141","file3":"1402165132"},"map_files_photo_id_array":[{"photo_id":"1402165141","filename":"file5"},{"photo_id":"1402165130","filename":"file2"},{"photo_id":"1402165135","filename":"file4"},{"photo_id":"1402165127","filename":"file1"},{"photo_id":"1402165123","filename":"file0"},{"photo_id":"1402165132","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165130":["hashtag1","hashtag2"]},{"1402165127":["hashtag1","hashtag2"]},{"1402165132":["hashtag1","hashtag2"]},{"1402165141":["hashtag1","hashtag2"]},{"1402165135":["hashtag1","hashtag2"]},{"1402165123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165130, 1402165127, 1402165132, 1402165141, 1402165135, 1402165123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24117732048035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:35:02.628350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/50/image_02012026_14_50_14_9761.jpg', '/home/pi/Desktop/images/02012026/14/50/image_02012026_14_51_05_10828.jpg', '/home/pi/Desktop/images/02012026/14/51/image_02012026_14_51_34_9729.jpg', '/home/pi/Desktop/images/02012026/14/52/image_02012026_14_52_35_10614.jpg', '/home/pi/Desktop/images/02012026/14/53/image_02012026_14_53_54_9694.jpg', '/home/pi/Desktop/images/02012026/14/54/image_02012026_14_54_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/50/image_02012026_14_50_14_9761.jpg
/home/pi/Desktop/images/02012026/14/50/image_02012026_14_51_05_10828.jpg
/home/pi/Desktop/images/02012026/14/51/image_02012026_14_51_34_9729.jpg
/home/pi/Desktop/images/02012026/14/52/image_02012026_14_52_35_10614.jpg
/home/pi/Desktop/images/02012026/14/53/image_02012026_14_53_54_9694.jpg
/home/pi/Desktop/images/02012026/14/54/image_02012026_14_54_24_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165166","1402165171","1402165165","1402165174","1402165167","1402165176"],"photo_ids_order":["1402165165","1402165166","1402165167","1402165171","1402165174","1402165176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f939a99fb0f3c4990ddae8e8067f4933.jpg","text":"TemporaryFile(/tmp/multipartBody3766514277216422246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364563233,"filename":"image_02012026_14_51_05_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22a12dff77dd94cbf03094a827b6033e.jpg","text":"TemporaryFile(/tmp/multipartBody6905384876013212620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364563233,"filename":"image_02012026_14_52_35_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/2/82e4519ef2dfa256728995beeeafce42.jpg","text":"TemporaryFile(/tmp/multipartBody926463527284631986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364563233,"filename":"image_02012026_14_50_14_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/2/3ab400c547972fa6bbe6ec6c5d5c2338.jpg","text":"TemporaryFile(/tmp/multipartBody1742032274260674437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364563233,"filename":"image_02012026_14_53_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/2/7b49f7e034a27025700083b95b4984a9.jpg","text":"TemporaryFile(/tmp/multipartBody1990557738584564011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364563233,"filename":"image_02012026_14_51_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/2/d3763637ffb083b24f5ed1745769abe1.jpg","text":"TemporaryFile(/tmp/multipartBody100332039220034592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364563233,"filename":"image_02012026_14_54_24_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165167","file1":"1402165166","file0":"1402165165","file4":"1402165174","file5":"1402165176","file3":"1402165171"},"map_files_photo_id_array":[{"photo_id":"1402165176","filename":"file5"},{"photo_id":"1402165167","filename":"file2"},{"photo_id":"1402165174","filename":"file4"},{"photo_id":"1402165166","filename":"file1"},{"photo_id":"1402165165","filename":"file0"},{"photo_id":"1402165171","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165166":["hashtag1","hashtag2"]},{"1402165171":["hashtag1","hashtag2"]},{"1402165165":["hashtag1","hashtag2"]},{"1402165174":["hashtag1","hashtag2"]},{"1402165167":["hashtag1","hashtag2"]},{"1402165176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165166, 1402165171, 1402165165, 1402165174, 1402165167, 1402165176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93002462387085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:35:42.053546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_40_2772.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_43_2586.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_46_3674.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_49_2787.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_52_2594.jpg', '/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_55_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_40_2772.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_43_2586.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_46_3674.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_49_2787.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_52_2594.jpg
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_55_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165196","1402165193","1402165195","1402165192","1402165194","1402165182"],"photo_ids_order":["1402165182","1402165192","1402165193","1402165194","1402165195","1402165196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7811f7af743338617af6130ab7f7f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody8834923577933360807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364603815,"filename":"image_05112025_19_20_55_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/2/25be9799df8210f0aa087e7bae3a1a91.jpg","text":"TemporaryFile(/tmp/multipartBody4155555454168552902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364603815,"filename":"image_05112025_19_20_46_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/2/1499c17c5a8253584f917717c20e3b47.jpg","text":"TemporaryFile(/tmp/multipartBody8927889037065332670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364603815,"filename":"image_05112025_19_20_52_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/2/03a8d11e537f430c2702e368680d14c3.jpg","text":"TemporaryFile(/tmp/multipartBody7772741638212110674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364603815,"filename":"image_05112025_19_20_43_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/2/37c2f1ff05f919e7a391513adcb2f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7333025491207982271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364603815,"filename":"image_05112025_19_20_49_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/2/b87acc26421aeb1002decb072eb2bdee.jpg","text":"TemporaryFile(/tmp/multipartBody3109519621214547729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364603815,"filename":"image_05112025_19_20_40_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165193","file1":"1402165192","file0":"1402165182","file4":"1402165195","file5":"1402165196","file3":"1402165194"},"map_files_photo_id_array":[{"photo_id":"1402165196","filename":"file5"},{"photo_id":"1402165193","filename":"file2"},{"photo_id":"1402165195","filename":"file4"},{"photo_id":"1402165192","filename":"file1"},{"photo_id":"1402165182","filename":"file0"},{"photo_id":"1402165194","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165196":["hashtag1","hashtag2"]},{"1402165193":["hashtag1","hashtag2"]},{"1402165195":["hashtag1","hashtag2"]},{"1402165192":["hashtag1","hashtag2"]},{"1402165194":["hashtag1","hashtag2"]},{"1402165182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165196, 1402165193, 1402165195, 1402165192, 1402165194, 1402165182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28825068473816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:36:26.281678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/54/image_02012026_14_55_05_10688.jpg', '/home/pi/Desktop/images/02012026/14/55/image_02012026_14_55_14_9702.jpg', '/home/pi/Desktop/images/02012026/14/55/image_02012026_14_55_35_10568.jpg', '/home/pi/Desktop/images/02012026/14/55/image_02012026_14_55_44_9588.jpg', '/home/pi/Desktop/images/02012026/14/56/image_02012026_14_56_14_9792.jpg', '/home/pi/Desktop/images/02012026/14/56/image_02012026_14_57_04_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/54/image_02012026_14_55_05_10688.jpg
/home/pi/Desktop/images/02012026/14/55/image_02012026_14_55_14_9702.jpg
/home/pi/Desktop/images/02012026/14/55/image_02012026_14_55_35_10568.jpg
/home/pi/Desktop/images/02012026/14/55/image_02012026_14_55_44_9588.jpg
/home/pi/Desktop/images/02012026/14/56/image_02012026_14_56_14_9792.jpg
/home/pi/Desktop/images/02012026/14/56/image_02012026_14_57_04_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165206","1402165208","1402165213","1402165216","1402165210","1402165204"],"photo_ids_order":["1402165204","1402165206","1402165208","1402165210","1402165213","1402165216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/853780d89db9f26fb3cfe9abf53b627f.jpg","text":"TemporaryFile(/tmp/multipartBody1058613018895998432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364646844,"filename":"image_02012026_14_55_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/2/23ee2a816bae68280aa6f453104c04a6.jpg","text":"TemporaryFile(/tmp/multipartBody2913086551591978355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364646844,"filename":"image_02012026_14_55_35_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/2/081ee41b7b7e89313111362a6a571993.jpg","text":"TemporaryFile(/tmp/multipartBody5251337782555615275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364646844,"filename":"image_02012026_14_56_14_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/2/0d81aadc587b3624e2f9ac8d660e35c7.jpg","text":"TemporaryFile(/tmp/multipartBody142735909329733988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364646844,"filename":"image_02012026_14_57_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/2/1badd296edfdfe05f12470741f07e05c.jpg","text":"TemporaryFile(/tmp/multipartBody7168915675161361950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364646844,"filename":"image_02012026_14_55_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/2/768db4f0b55e9d4b557ddf30167b8177.jpg","text":"TemporaryFile(/tmp/multipartBody2728775792344471869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364646844,"filename":"image_02012026_14_55_05_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165208","file1":"1402165206","file0":"1402165204","file4":"1402165213","file5":"1402165216","file3":"1402165210"},"map_files_photo_id_array":[{"photo_id":"1402165216","filename":"file5"},{"photo_id":"1402165208","filename":"file2"},{"photo_id":"1402165213","filename":"file4"},{"photo_id":"1402165206","filename":"file1"},{"photo_id":"1402165204","filename":"file0"},{"photo_id":"1402165210","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165206":["hashtag1","hashtag2"]},{"1402165208":["hashtag1","hashtag2"]},{"1402165213":["hashtag1","hashtag2"]},{"1402165216":["hashtag1","hashtag2"]},{"1402165210":["hashtag1","hashtag2"]},{"1402165204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165206, 1402165208, 1402165213, 1402165216, 1402165210, 1402165204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73396873474121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:37:02.936727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/14/57/image_02012026_14_58_04_9735.jpg', '/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_14_9660.jpg', '/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_25_10655.jpg', '/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_34_9610.jpg', '/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_54_9604.jpg', '/home/pi/Desktop/images/02012026/15/00/image_02012026_15_00_44_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/14/57/image_02012026_14_58_04_9735.jpg
/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_14_9660.jpg
/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_25_10655.jpg
/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_34_9610.jpg
/home/pi/Desktop/images/02012026/14/59/image_02012026_14_59_54_9604.jpg
/home/pi/Desktop/images/02012026/15/00/image_02012026_15_00_44_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165223","1402165217","1402165234","1402165242","1402165245","1402165218"],"photo_ids_order":["1402165217","1402165218","1402165223","1402165234","1402165242","1402165245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e6dac4e373fe5b1d787f4d752bc57261.jpg","text":"TemporaryFile(/tmp/multipartBody2749828289961402474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364683612,"filename":"image_02012026_14_59_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/2/b5befaffe8b4ff25ca84bd645b1006b8.jpg","text":"TemporaryFile(/tmp/multipartBody2187265405564732553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364683612,"filename":"image_02012026_14_58_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/2/91397e1cf7d2b04c4adbbf19e3174124.jpg","text":"TemporaryFile(/tmp/multipartBody3728861290937440396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364683612,"filename":"image_02012026_14_59_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/2/322dace926728d1e0bd2724c3945504b.jpg","text":"TemporaryFile(/tmp/multipartBody1960808287603857233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364683612,"filename":"image_02012026_14_59_54_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/2/692280f54b49a2786c452cd5692a73e5.jpg","text":"TemporaryFile(/tmp/multipartBody9061474332665945125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364683612,"filename":"image_02012026_15_00_44_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/2/61c72001ea9ef89f4c2926bcce8d3fea.jpg","text":"TemporaryFile(/tmp/multipartBody9165069050148334391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364683612,"filename":"image_02012026_14_59_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165223","file1":"1402165218","file0":"1402165217","file4":"1402165242","file5":"1402165245","file3":"1402165234"},"map_files_photo_id_array":[{"photo_id":"1402165245","filename":"file5"},{"photo_id":"1402165223","filename":"file2"},{"photo_id":"1402165242","filename":"file4"},{"photo_id":"1402165218","filename":"file1"},{"photo_id":"1402165217","filename":"file0"},{"photo_id":"1402165234","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165223":["hashtag1","hashtag2"]},{"1402165217":["hashtag1","hashtag2"]},{"1402165234":["hashtag1","hashtag2"]},{"1402165242":["hashtag1","hashtag2"]},{"1402165245":["hashtag1","hashtag2"]},{"1402165218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165223, 1402165217, 1402165234, 1402165242, 1402165245, 1402165218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31278848648071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:37:42.384093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_58_2685.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_01_2635.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_04_3731.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_10_2641.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_13_3640.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_16_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/20/image_05112025_19_20_58_2685.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_01_2635.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_04_3731.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_10_2641.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_13_3640.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_16_2881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165364","1402165253","1402165321","1402165260","1402165254","1402165251"],"photo_ids_order":["1402165251","1402165253","1402165254","1402165260","1402165321","1402165364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4c4b48843997eeff955574b935ee5fd.jpg","text":"TemporaryFile(/tmp/multipartBody3101951226430677462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364724164,"filename":"image_05112025_19_21_16_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1ebf0feb6d0ed7bc991df8864a16aaab.jpg","text":"TemporaryFile(/tmp/multipartBody663004469375429341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364724164,"filename":"image_05112025_19_21_01_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/2/2961539b590b7e4bb8ffee4607bac155.jpg","text":"TemporaryFile(/tmp/multipartBody2199482407602769286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364724164,"filename":"image_05112025_19_21_13_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/2/e07cf9c9dfe00b9d05366cf525231e4e.jpg","text":"TemporaryFile(/tmp/multipartBody9132954834813213642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364724164,"filename":"image_05112025_19_21_10_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/2/017b7ec996be91bef53784688c9d028b.jpg","text":"TemporaryFile(/tmp/multipartBody7899725718244838378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364724164,"filename":"image_05112025_19_21_04_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9247e27291f59d2f48ae99224183cc80.jpg","text":"TemporaryFile(/tmp/multipartBody6566849973184697481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364724164,"filename":"image_05112025_19_20_58_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165254","file1":"1402165253","file0":"1402165251","file4":"1402165321","file5":"1402165364","file3":"1402165260"},"map_files_photo_id_array":[{"photo_id":"1402165364","filename":"file5"},{"photo_id":"1402165254","filename":"file2"},{"photo_id":"1402165321","filename":"file4"},{"photo_id":"1402165253","filename":"file1"},{"photo_id":"1402165251","filename":"file0"},{"photo_id":"1402165260","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165364":["hashtag1","hashtag2"]},{"1402165253":["hashtag1","hashtag2"]},{"1402165321":["hashtag1","hashtag2"]},{"1402165260":["hashtag1","hashtag2"]},{"1402165254":["hashtag1","hashtag2"]},{"1402165251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165364, 1402165253, 1402165321, 1402165260, 1402165254, 1402165251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.618698596954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:38:22.699433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/00/image_02012026_15_00_54_9711.jpg', '/home/pi/Desktop/images/02012026/15/00/image_02012026_15_01_05_10617.jpg', '/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_15_9853.jpg', '/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_24_9664.jpg', '/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_45_9839.jpg', '/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_54_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/00/image_02012026_15_00_54_9711.jpg
/home/pi/Desktop/images/02012026/15/00/image_02012026_15_01_05_10617.jpg
/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_15_9853.jpg
/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_24_9664.jpg
/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_45_9839.jpg
/home/pi/Desktop/images/02012026/15/01/image_02012026_15_01_54_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":["1402165481","1402165495","1402165474","1402165453","1402165408","1402165467"],"photo_ids_order":["1402165408","1402165453","1402165467","1402165474","1402165481","1402165495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e1c72d033cf165227963604a2bfcfe0.jpg","text":"TemporaryFile(/tmp/multipartBody5944029956820655623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364763313,"filename":"image_02012026_15_01_45_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/2/79f7b39ab6a50451cddca00f85758f67.jpg","text":"TemporaryFile(/tmp/multipartBody3678977736773981650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364763313,"filename":"image_02012026_15_01_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/2/f96f3f9f02f6d094fe2a4c8294a33dba.jpg","text":"TemporaryFile(/tmp/multipartBody899608909952499668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364763313,"filename":"image_02012026_15_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/2/7480a21f274e9e476808ae351b7b8a2f.jpg","text":"TemporaryFile(/tmp/multipartBody8627863085401791381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364763313,"filename":"image_02012026_15_01_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/2/2488fdb1d8d0cf66922f1e3ed20e76c8.jpg","text":"TemporaryFile(/tmp/multipartBody1813494274195368288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364763313,"filename":"image_02012026_15_00_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/2/5e4087c9f00868619acfe698d6766dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6872779970019631547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364763313,"filename":"image_02012026_15_01_15_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165467","file1":"1402165453","file0":"1402165408","file4":"1402165481","file5":"1402165495","file3":"1402165474"},"map_files_photo_id_array":[{"photo_id":"1402165495","filename":"file5"},{"photo_id":"1402165467","filename":"file2"},{"photo_id":"1402165481","filename":"file4"},{"photo_id":"1402165453","filename":"file1"},{"photo_id":"1402165408","filename":"file0"},{"photo_id":"1402165474","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165481":["hashtag1","hashtag2"]},{"1402165495":["hashtag1","hashtag2"]},{"1402165474":["hashtag1","hashtag2"]},{"1402165453":["hashtag1","hashtag2"]},{"1402165408":["hashtag1","hashtag2"]},{"1402165467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165481, 1402165495, 1402165474, 1402165453, 1402165408, 1402165467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84742736816406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:39:03.546633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_15_10814.jpg', '/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_25_9947.jpg', '/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_44_9858.jpg', '/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_54_9637.jpg', '/home/pi/Desktop/images/02012026/15/02/image_02012026_15_03_05_10752.jpg', '/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_15_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_15_10814.jpg
/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_25_9947.jpg
/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_44_9858.jpg
/home/pi/Desktop/images/02012026/15/02/image_02012026_15_02_54_9637.jpg
/home/pi/Desktop/images/02012026/15/02/image_02012026_15_03_05_10752.jpg
/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_15_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165541","1402165540","1402165543","1402165531","1402165519","1402165539"],"photo_ids_order":["1402165519","1402165531","1402165539","1402165540","1402165541","1402165543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/160597c26a17aa67863af9babf9dbf92.jpg","text":"TemporaryFile(/tmp/multipartBody442315359621060257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364804307,"filename":"image_02012026_15_03_05_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/2/a81dced87a9d8abc866b3af45b39405a.jpg","text":"TemporaryFile(/tmp/multipartBody5549047604988863056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364804307,"filename":"image_02012026_15_02_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/2/9c76f3b402bdea5333a4532f71899229.jpg","text":"TemporaryFile(/tmp/multipartBody167163341975266693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364804307,"filename":"image_02012026_15_03_15_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/2/0b59c4c7eaae8a0e7a7b123c7ac06d6e.jpg","text":"TemporaryFile(/tmp/multipartBody36986104160795082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364804307,"filename":"image_02012026_15_02_25_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/2/84f4ecf5fbd94859ea3124811cce4e60.jpg","text":"TemporaryFile(/tmp/multipartBody8822991343400781266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364804307,"filename":"image_02012026_15_02_15_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/2/f768e968f917f05a9d04a578c86e2592.jpg","text":"TemporaryFile(/tmp/multipartBody1638483316908263225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364804307,"filename":"image_02012026_15_02_44_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165539","file1":"1402165531","file0":"1402165519","file4":"1402165541","file5":"1402165543","file3":"1402165540"},"map_files_photo_id_array":[{"photo_id":"1402165543","filename":"file5"},{"photo_id":"1402165539","filename":"file2"},{"photo_id":"1402165541","filename":"file4"},{"photo_id":"1402165531","filename":"file1"},{"photo_id":"1402165519","filename":"file0"},{"photo_id":"1402165540","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165541":["hashtag1","hashtag2"]},{"1402165540":["hashtag1","hashtag2"]},{"1402165543":["hashtag1","hashtag2"]},{"1402165531":["hashtag1","hashtag2"]},{"1402165519":["hashtag1","hashtag2"]},{"1402165539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165541, 1402165540, 1402165543, 1402165531, 1402165519, 1402165539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61742091178894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:39:42.748976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_19_2549.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_22_3681.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_25_2752.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_28_2567.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_37_2717.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_40_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_19_2549.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_22_3681.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_25_2752.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_28_2567.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_37_2717.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_40_2844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165562","1402165565","1402165559","1402165570","1402165567","1402165555"],"photo_ids_order":["1402165555","1402165559","1402165562","1402165565","1402165567","1402165570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ff5e8514e897fccf52d18c84fe76e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4108699465749432519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364844576,"filename":"image_05112025_19_21_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/2/a85f48988207c22bae50268e7a6727f2.jpg","text":"TemporaryFile(/tmp/multipartBody3448502728094017893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364844576,"filename":"image_05112025_19_21_28_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/2/b8bfd15b3dea92c814d91a5c3467e10e.jpg","text":"TemporaryFile(/tmp/multipartBody3281881018980908014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364844576,"filename":"image_05112025_19_21_22_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/2/35d908c5a5fb358bb7e406947eb559c0.jpg","text":"TemporaryFile(/tmp/multipartBody5625036870162628516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364844576,"filename":"image_05112025_19_21_40_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/2/8f16f4ac3eb110f0359cc6960a1c7b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3782401844673312966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364844576,"filename":"image_05112025_19_21_37_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/2/195315e1888a5b94b27d742ae192e854.jpg","text":"TemporaryFile(/tmp/multipartBody3438962290619723331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364844576,"filename":"image_05112025_19_21_19_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165562","file1":"1402165559","file0":"1402165555","file4":"1402165567","file5":"1402165570","file3":"1402165565"},"map_files_photo_id_array":[{"photo_id":"1402165570","filename":"file5"},{"photo_id":"1402165562","filename":"file2"},{"photo_id":"1402165567","filename":"file4"},{"photo_id":"1402165559","filename":"file1"},{"photo_id":"1402165555","filename":"file0"},{"photo_id":"1402165565","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165562":["hashtag1","hashtag2"]},{"1402165565":["hashtag1","hashtag2"]},{"1402165559":["hashtag1","hashtag2"]},{"1402165570":["hashtag1","hashtag2"]},{"1402165567":["hashtag1","hashtag2"]},{"1402165555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165562, 1402165565, 1402165559, 1402165570, 1402165567, 1402165555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20514369010925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:40:21.894552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_24_9674.jpg', '/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_35_10701.jpg', '/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_44_9583.jpg', '/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_54_9626.jpg', '/home/pi/Desktop/images/02012026/15/03/image_02012026_15_04_05_10845.jpg', '/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_15_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_24_9674.jpg
/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_35_10701.jpg
/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_44_9583.jpg
/home/pi/Desktop/images/02012026/15/03/image_02012026_15_03_54_9626.jpg
/home/pi/Desktop/images/02012026/15/03/image_02012026_15_04_05_10845.jpg
/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_15_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165580","1402165582","1402165576","1402165584","1402165578","1402165587"],"photo_ids_order":["1402165576","1402165578","1402165580","1402165582","1402165584","1402165587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5cd5f560178b047bf91853c482b18d4.jpg","text":"TemporaryFile(/tmp/multipartBody9187305318872928812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364882478,"filename":"image_02012026_15_03_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/2/1c0a5b922540b1363a9355a8e144bde2.jpg","text":"TemporaryFile(/tmp/multipartBody7280516537480316451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364882478,"filename":"image_02012026_15_03_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/2/ba9c427b51a20db2bfa9a0e484215efa.jpg","text":"TemporaryFile(/tmp/multipartBody6499050104008875841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364882478,"filename":"image_02012026_15_03_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/2/62ad3ac5ab3a639a40dc3e9a858e30e3.jpg","text":"TemporaryFile(/tmp/multipartBody9018228194004653079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364882478,"filename":"image_02012026_15_04_05_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/2/c15c2b5081898ad47f3410b86aadbb27.jpg","text":"TemporaryFile(/tmp/multipartBody1915736057840709354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364882478,"filename":"image_02012026_15_03_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/2/cfda7ba69d05a805190ca1f95bb78e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7419007241352597738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364882478,"filename":"image_02012026_15_04_15_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165580","file1":"1402165578","file0":"1402165576","file4":"1402165584","file5":"1402165587","file3":"1402165582"},"map_files_photo_id_array":[{"photo_id":"1402165587","filename":"file5"},{"photo_id":"1402165580","filename":"file2"},{"photo_id":"1402165584","filename":"file4"},{"photo_id":"1402165578","filename":"file1"},{"photo_id":"1402165576","filename":"file0"},{"photo_id":"1402165582","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165580":["hashtag1","hashtag2"]},{"1402165582":["hashtag1","hashtag2"]},{"1402165576":["hashtag1","hashtag2"]},{"1402165584":["hashtag1","hashtag2"]},{"1402165578":["hashtag1","hashtag2"]},{"1402165587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165580, 1402165582, 1402165576, 1402165584, 1402165578, 1402165587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03262186050415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:41:02.883862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_24_9765.jpg', '/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_35_10625.jpg', '/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_45_9518.jpg', '/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_54_9567.jpg', '/home/pi/Desktop/images/02012026/15/04/image_02012026_15_05_05_10573.jpg', '/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_14_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_24_9765.jpg
/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_35_10625.jpg
/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_45_9518.jpg
/home/pi/Desktop/images/02012026/15/04/image_02012026_15_04_54_9567.jpg
/home/pi/Desktop/images/02012026/15/04/image_02012026_15_05_05_10573.jpg
/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_14_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165623","1402165602","1402165613","1402165621","1402165615","1402165618"],"photo_ids_order":["1402165602","1402165613","1402165615","1402165618","1402165621","1402165623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d2200078919ed14d617285ac9a547de.jpg","text":"TemporaryFile(/tmp/multipartBody7315033291706890668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364923551,"filename":"image_02012026_15_05_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/2/129b9db17bf08a28f58a3d8999258329.jpg","text":"TemporaryFile(/tmp/multipartBody6670497557693832188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364923551,"filename":"image_02012026_15_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/2/53b7faedd208153c42d17d0dcbf5de5f.jpg","text":"TemporaryFile(/tmp/multipartBody6051442490662219493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364923551,"filename":"image_02012026_15_04_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/010adaf5fe83a059c53e34a955e6c909.jpg","text":"TemporaryFile(/tmp/multipartBody8042051455217363082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364923551,"filename":"image_02012026_15_05_05_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/2/84dd138424c682cf67e6657dec17ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody8118081250190385672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364923551,"filename":"image_02012026_15_04_45_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/2/2aacdd85fecd1ec2109fa6945103ff03.jpg","text":"TemporaryFile(/tmp/multipartBody1537488768415438409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364923551,"filename":"image_02012026_15_04_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165615","file1":"1402165613","file0":"1402165602","file4":"1402165621","file5":"1402165623","file3":"1402165618"},"map_files_photo_id_array":[{"photo_id":"1402165623","filename":"file5"},{"photo_id":"1402165615","filename":"file2"},{"photo_id":"1402165621","filename":"file4"},{"photo_id":"1402165613","filename":"file1"},{"photo_id":"1402165602","filename":"file0"},{"photo_id":"1402165618","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165623":["hashtag1","hashtag2"]},{"1402165602":["hashtag1","hashtag2"]},{"1402165613":["hashtag1","hashtag2"]},{"1402165621":["hashtag1","hashtag2"]},{"1402165615":["hashtag1","hashtag2"]},{"1402165618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165623, 1402165602, 1402165613, 1402165621, 1402165615, 1402165618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.222917556762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:41:42.204247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_43_3643.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_46_2960.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_49_2778.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_55_3669.jpg', '/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_58_2780.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_01_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_43_3643.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_46_2960.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_49_2778.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_55_3669.jpg
/home/pi/Desktop/images/05112025/19/21/image_05112025_19_21_58_2780.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_01_2537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165631","1402165690","1402165692","1402165689","1402165683","1402165629"],"photo_ids_order":["1402165629","1402165631","1402165683","1402165689","1402165690","1402165692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/45d159f108927599a8f169cec6649fc3.jpg","text":"TemporaryFile(/tmp/multipartBody659328278856616582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364964022,"filename":"image_05112025_19_21_46_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/800eb133a7489094bba8661eddaf7f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5640270948822091133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364964022,"filename":"image_05112025_19_21_58_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8892d2e545ed59b4b8248894654b17d0.jpg","text":"TemporaryFile(/tmp/multipartBody5652340388114098975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364964022,"filename":"image_05112025_19_22_01_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1317860ca4e6e9d73ae2ba42ac1a968.jpg","text":"TemporaryFile(/tmp/multipartBody3193919018183947959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364964022,"filename":"image_05112025_19_21_55_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/2/dd2dde1872e56bba25aa2c7bc46e1c95.jpg","text":"TemporaryFile(/tmp/multipartBody2775557887427949932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364964022,"filename":"image_05112025_19_21_49_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/2/17f422fd268b10e7dc31d12b725203b5.jpg","text":"TemporaryFile(/tmp/multipartBody4332736129319844679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767364964022,"filename":"image_05112025_19_21_43_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165683","file1":"1402165631","file0":"1402165629","file4":"1402165690","file5":"1402165692","file3":"1402165689"},"map_files_photo_id_array":[{"photo_id":"1402165692","filename":"file5"},{"photo_id":"1402165683","filename":"file2"},{"photo_id":"1402165690","filename":"file4"},{"photo_id":"1402165631","filename":"file1"},{"photo_id":"1402165629","filename":"file0"},{"photo_id":"1402165689","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402165631":["hashtag1","hashtag2"]},{"1402165690":["hashtag1","hashtag2"]},{"1402165692":["hashtag1","hashtag2"]},{"1402165689":["hashtag1","hashtag2"]},{"1402165683":["hashtag1","hashtag2"]},{"1402165629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402165631, 1402165690, 1402165692, 1402165689, 1402165683, 1402165629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.670602560043335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:42:22.415520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_24_9701.jpg', '/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_35_10617.jpg', '/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_44_9522.jpg', '/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_55_10776.jpg', '/home/pi/Desktop/images/02012026/15/05/image_02012026_15_06_05_9679.jpg', '/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_14_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_24_9701.jpg
/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_35_10617.jpg
/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_44_9522.jpg
/home/pi/Desktop/images/02012026/15/05/image_02012026_15_05_55_10776.jpg
/home/pi/Desktop/images/02012026/15/05/image_02012026_15_06_05_9679.jpg
/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_14_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165748","1402165745","1402165750","1402165753","1402165741","1402165752"],"photo_ids_order":["1402165741","1402165745","1402165748","1402165750","1402165752","1402165753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8071a1c25337efe9eb62a73ae93393de.jpg","text":"TemporaryFile(/tmp/multipartBody5689822208053207677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365002999,"filename":"image_02012026_15_05_44_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/2/ef55cfafc84624c427d5a57443b337bf.jpg","text":"TemporaryFile(/tmp/multipartBody3059788712389114834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365002999,"filename":"image_02012026_15_05_35_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/2/5c5d23af4278bb67e8aa4da1d3862343.jpg","text":"TemporaryFile(/tmp/multipartBody7831058301474802423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365002999,"filename":"image_02012026_15_05_55_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/2/5006551b7196b749435eda1a5fc13fbf.jpg","text":"TemporaryFile(/tmp/multipartBody539378510253722561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365002999,"filename":"image_02012026_15_06_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/124d1c9b5a193bd343d7e7f646bbdac2.jpg","text":"TemporaryFile(/tmp/multipartBody8378500229645701137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365002999,"filename":"image_02012026_15_05_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/2/762eb56dbc280b1cc8c2a1529a6bc11e.jpg","text":"TemporaryFile(/tmp/multipartBody8382010119832307388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365002999,"filename":"image_02012026_15_06_05_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165748","file1":"1402165745","file0":"1402165741","file4":"1402165752","file5":"1402165753","file3":"1402165750"},"map_files_photo_id_array":[{"photo_id":"1402165753","filename":"file5"},{"photo_id":"1402165748","filename":"file2"},{"photo_id":"1402165752","filename":"file4"},{"photo_id":"1402165745","filename":"file1"},{"photo_id":"1402165741","filename":"file0"},{"photo_id":"1402165750","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165748":["hashtag1","hashtag2"]},{"1402165745":["hashtag1","hashtag2"]},{"1402165750":["hashtag1","hashtag2"]},{"1402165753":["hashtag1","hashtag2"]},{"1402165741":["hashtag1","hashtag2"]},{"1402165752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165748, 1402165745, 1402165750, 1402165753, 1402165741, 1402165752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06692624092102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:43:03.045993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_25_10585.jpg', '/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_35_9660.jpg', '/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_44_9646.jpg', '/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_55_10617.jpg', '/home/pi/Desktop/images/02012026/15/06/image_02012026_15_07_05_9637.jpg', '/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_14_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_25_10585.jpg
/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_35_9660.jpg
/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_44_9646.jpg
/home/pi/Desktop/images/02012026/15/06/image_02012026_15_06_55_10617.jpg
/home/pi/Desktop/images/02012026/15/06/image_02012026_15_07_05_9637.jpg
/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_14_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402165809","1402165841","1402165805","1402165843","1402165831","1402165812"],"photo_ids_order":["1402165805","1402165809","1402165812","1402165831","1402165841","1402165843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8b587094a8c8436f2b34699116278ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1656057283316151901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365043713,"filename":"image_02012026_15_06_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/2/e80017ee5ea161f667ecb406ff214f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1001227730392512788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365043713,"filename":"image_02012026_15_07_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/2/59857b6f908144c52a49f6523573860c.jpg","text":"TemporaryFile(/tmp/multipartBody2666292147886590775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365043713,"filename":"image_02012026_15_06_25_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/2/3e09cf134d3816c9145d401c13767c00.jpg","text":"TemporaryFile(/tmp/multipartBody4751504415125637622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365043713,"filename":"image_02012026_15_07_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/2/73fbe73c74a7b44d458d6aceb5da8857.jpg","text":"TemporaryFile(/tmp/multipartBody5581968449559830580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365043713,"filename":"image_02012026_15_06_55_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/2/29cd5543e1791e0e74bfead2866cca04.jpg","text":"TemporaryFile(/tmp/multipartBody3458207664060249282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365043713,"filename":"image_02012026_15_06_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402165812","file1":"1402165809","file0":"1402165805","file4":"1402165841","file5":"1402165843","file3":"1402165831"},"map_files_photo_id_array":[{"photo_id":"1402165843","filename":"file5"},{"photo_id":"1402165812","filename":"file2"},{"photo_id":"1402165841","filename":"file4"},{"photo_id":"1402165809","filename":"file1"},{"photo_id":"1402165805","filename":"file0"},{"photo_id":"1402165831","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402165809":["hashtag1","hashtag2"]},{"1402165841":["hashtag1","hashtag2"]},{"1402165805":["hashtag1","hashtag2"]},{"1402165843":["hashtag1","hashtag2"]},{"1402165831":["hashtag1","hashtag2"]},{"1402165812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402165809, 1402165841, 1402165805, 1402165843, 1402165831, 1402165812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02584362030029 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-02 15:44:02.711847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_25_10568.jpg', '/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_35_9627.jpg', '/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_44_9793.jpg', '/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_54_9748.jpg', '/home/pi/Desktop/images/02012026/15/07/image_02012026_15_08_05_10615.jpg', '/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_14_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_25_10568.jpg
/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_35_9627.jpg
/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_44_9793.jpg
/home/pi/Desktop/images/02012026/15/07/image_02012026_15_07_54_9748.jpg
/home/pi/Desktop/images/02012026/15/07/image_02012026_15_08_05_10615.jpg
/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_14_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":["1402166003","1402166011","1402166014","1402166008","1402166017","1402166004"],"photo_ids_order":["1402166003","1402166004","1402166008","1402166011","1402166014","1402166017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f7f69dbf915faacd7d2fc964863c551.jpg","text":"TemporaryFile(/tmp/multipartBody9049993378716305580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365103365,"filename":"image_02012026_15_07_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/2/49a5759ed05b9e99027e4ea379964da2.jpg","text":"TemporaryFile(/tmp/multipartBody6508292113067639196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365103365,"filename":"image_02012026_15_07_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/2/4d3f60686d6806b0638e2f47e318ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody7790081638646739378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365103365,"filename":"image_02012026_15_08_05_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/2/74d93986eb91bd2cb415cfdcbfbbc4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3791655368745076051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365103365,"filename":"image_02012026_15_07_44_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/2/3f2eb6ba8652f39844548cf07f3b655c.jpg","text":"TemporaryFile(/tmp/multipartBody2060826258854393472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365103365,"filename":"image_02012026_15_08_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/2/23992ba74f16486059c8f919f074b0e7.jpg","text":"TemporaryFile(/tmp/multipartBody3645528621111924443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365103365,"filename":"image_02012026_15_07_35_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166008","file1":"1402166004","file0":"1402166003","file4":"1402166014","file5":"1402166017","file3":"1402166011"},"map_files_photo_id_array":[{"photo_id":"1402166017","filename":"file5"},{"photo_id":"1402166008","filename":"file2"},{"photo_id":"1402166014","filename":"file4"},{"photo_id":"1402166004","filename":"file1"},{"photo_id":"1402166003","filename":"file0"},{"photo_id":"1402166011","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402166003":["hashtag1","hashtag2"]},{"1402166011":["hashtag1","hashtag2"]},{"1402166014":["hashtag1","hashtag2"]},{"1402166008":["hashtag1","hashtag2"]},{"1402166017":["hashtag1","hashtag2"]},{"1402166004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402166003, 1402166011, 1402166014, 1402166008, 1402166017, 1402166004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40461564064026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:44:41.934467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_04_3608.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_07_2691.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_10_2633.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_13_3565.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_16_2646.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_19_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_04_3608.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_07_2691.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_10_2633.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_13_3565.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_16_2646.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_19_3542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402166042","1402166041","1402166044","1402166040","1402166043","1402166025"],"photo_ids_order":["1402166025","1402166040","1402166041","1402166042","1402166043","1402166044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9e6564e60d1810b20cedf85f4e50ed5a.jpg","text":"TemporaryFile(/tmp/multipartBody2041151202733536474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365143608,"filename":"image_05112025_19_22_13_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/2/d19fea7461ede06cf655d61b8f1b63b2.jpg","text":"TemporaryFile(/tmp/multipartBody5904897736477363880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365143608,"filename":"image_05112025_19_22_10_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/2/d0ddb62ab2fcd16938983e444f3386af.jpg","text":"TemporaryFile(/tmp/multipartBody7816076848216456923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365143608,"filename":"image_05112025_19_22_19_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/2/001edc595c4b494f420cca46cf17661d.jpg","text":"TemporaryFile(/tmp/multipartBody3471478588124234510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365143608,"filename":"image_05112025_19_22_07_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/2/bb5f5c90d7dd2138cf51667dde3f081b.jpg","text":"TemporaryFile(/tmp/multipartBody2496326038857149629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365143608,"filename":"image_05112025_19_22_16_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/2/f65f0549990f693f78d586ac048fe0eb.jpg","text":"TemporaryFile(/tmp/multipartBody4258705481095277137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365143608,"filename":"image_05112025_19_22_04_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166041","file1":"1402166040","file0":"1402166025","file4":"1402166043","file5":"1402166044","file3":"1402166042"},"map_files_photo_id_array":[{"photo_id":"1402166044","filename":"file5"},{"photo_id":"1402166041","filename":"file2"},{"photo_id":"1402166043","filename":"file4"},{"photo_id":"1402166040","filename":"file1"},{"photo_id":"1402166025","filename":"file0"},{"photo_id":"1402166042","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402166042":["hashtag1","hashtag2"]},{"1402166041":["hashtag1","hashtag2"]},{"1402166044":["hashtag1","hashtag2"]},{"1402166040":["hashtag1","hashtag2"]},{"1402166043":["hashtag1","hashtag2"]},{"1402166025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402166042, 1402166041, 1402166044, 1402166040, 1402166043, 1402166025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12704873085022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:45:22.192485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_25_10648.jpg', '/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_35_9626.jpg', '/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_44_9677.jpg', '/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_55_10543.jpg', '/home/pi/Desktop/images/02012026/15/08/image_02012026_15_09_05_9728.jpg', '/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_15_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_25_10648.jpg
/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_35_9626.jpg
/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_44_9677.jpg
/home/pi/Desktop/images/02012026/15/08/image_02012026_15_08_55_10543.jpg
/home/pi/Desktop/images/02012026/15/08/image_02012026_15_09_05_9728.jpg
/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_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":["1402166087","1402166225","1402166056","1402166184","1402166061","1402166142"],"photo_ids_order":["1402166056","1402166061","1402166087","1402166142","1402166184","1402166225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5080ad5d58c5d7c5918d7a7f42c114a.jpg","text":"TemporaryFile(/tmp/multipartBody7296250706100140896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365182785,"filename":"image_02012026_15_08_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/2/209cca00591f9ba5f46c3a665b41230e.jpg","text":"TemporaryFile(/tmp/multipartBody7428035896886934085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365182785,"filename":"image_02012026_15_09_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/2/d25167be7538142b53051e460ce48bea.jpg","text":"TemporaryFile(/tmp/multipartBody3339790722069220614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365182785,"filename":"image_02012026_15_08_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/2/1a723e6f841c2f14ec756ac219f907d7.jpg","text":"TemporaryFile(/tmp/multipartBody4384453362606106989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365182785,"filename":"image_02012026_15_09_05_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/2/71b00d5bf4646786f1911ed70090c512.jpg","text":"TemporaryFile(/tmp/multipartBody290612141259848888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365182785,"filename":"image_02012026_15_08_35_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/2/bcc3d1469bcefbc6c4d5333002e2580a.jpg","text":"TemporaryFile(/tmp/multipartBody711051748183697560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365182785,"filename":"image_02012026_15_08_55_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166087","file1":"1402166061","file0":"1402166056","file4":"1402166184","file5":"1402166225","file3":"1402166142"},"map_files_photo_id_array":[{"photo_id":"1402166225","filename":"file5"},{"photo_id":"1402166087","filename":"file2"},{"photo_id":"1402166184","filename":"file4"},{"photo_id":"1402166061","filename":"file1"},{"photo_id":"1402166056","filename":"file0"},{"photo_id":"1402166142","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402166087":["hashtag1","hashtag2"]},{"1402166225":["hashtag1","hashtag2"]},{"1402166056":["hashtag1","hashtag2"]},{"1402166184":["hashtag1","hashtag2"]},{"1402166061":["hashtag1","hashtag2"]},{"1402166142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402166087, 1402166225, 1402166056, 1402166184, 1402166061, 1402166142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.747063636779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:46:02.818574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_24_9893.jpg', '/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_34_9647.jpg', '/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_45_10702.jpg', '/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_54_9525.jpg', '/home/pi/Desktop/images/02012026/15/09/image_02012026_15_10_05_10612.jpg', '/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_14_9208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_24_9893.jpg
/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_34_9647.jpg
/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_45_10702.jpg
/home/pi/Desktop/images/02012026/15/09/image_02012026_15_09_54_9525.jpg
/home/pi/Desktop/images/02012026/15/09/image_02012026_15_10_05_10612.jpg
/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_14_9208.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402166345","1402166358","1402166352","1402166346","1402166355","1402166349"],"photo_ids_order":["1402166345","1402166346","1402166349","1402166352","1402166355","1402166358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/033fd35f694b4e0e3bcb6c8a04bbd86c.jpg","text":"TemporaryFile(/tmp/multipartBody4256851491035725339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365223430,"filename":"image_02012026_15_09_24_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/2/753f540616ad2aadbd93c97ba0c23b31.jpg","text":"TemporaryFile(/tmp/multipartBody8421719584872588516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365223430,"filename":"image_02012026_15_10_14_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/2/c4d140e9f82357d2b85bf0def49cde1c.jpg","text":"TemporaryFile(/tmp/multipartBody4173344580161019936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365223430,"filename":"image_02012026_15_09_54_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/2/f88d359489517d51335dae0cb81efa5a.jpg","text":"TemporaryFile(/tmp/multipartBody7105607511664003766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365223430,"filename":"image_02012026_15_09_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/2/2c3c5eee4f9b6d8f4090cdd970daf910.jpg","text":"TemporaryFile(/tmp/multipartBody6941676955430167233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365223430,"filename":"image_02012026_15_10_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/2/c9bb83f94f2c0d2e5555fe7e6b22c3e8.jpg","text":"TemporaryFile(/tmp/multipartBody6492371349745072950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365223430,"filename":"image_02012026_15_09_45_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166349","file1":"1402166346","file0":"1402166345","file4":"1402166355","file5":"1402166358","file3":"1402166352"},"map_files_photo_id_array":[{"photo_id":"1402166358","filename":"file5"},{"photo_id":"1402166349","filename":"file2"},{"photo_id":"1402166355","filename":"file4"},{"photo_id":"1402166346","filename":"file1"},{"photo_id":"1402166345","filename":"file0"},{"photo_id":"1402166352","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402166345":["hashtag1","hashtag2"]},{"1402166358":["hashtag1","hashtag2"]},{"1402166352":["hashtag1","hashtag2"]},{"1402166346":["hashtag1","hashtag2"]},{"1402166355":["hashtag1","hashtag2"]},{"1402166349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402166345, 1402166358, 1402166352, 1402166346, 1402166355, 1402166349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16439652442932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:46:42.460261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_22_2668.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_25_2748.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_28_3542.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_34_2618.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_37_3603.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_40_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_22_2668.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_25_2748.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_28_3542.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_34_2618.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_37_3603.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_40_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402166384","1402166383","1402166401","1402166391","1402166385","1402166375"],"photo_ids_order":["1402166375","1402166383","1402166384","1402166385","1402166391","1402166401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17069c0cc73102c7f02a7adfd2fc1d0d.jpg","text":"TemporaryFile(/tmp/multipartBody638185785383948762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365264240,"filename":"image_05112025_19_22_28_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/2/f921de689d35442d3f624da46c7d72c7.jpg","text":"TemporaryFile(/tmp/multipartBody1016175985488007512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365264240,"filename":"image_05112025_19_22_25_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/2/671dbeb0a1e1db4f39c48683427fe622.jpg","text":"TemporaryFile(/tmp/multipartBody2295851101313165797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365264240,"filename":"image_05112025_19_22_40_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/2/77fc578503f29361fb4f2ba3064046d3.jpg","text":"TemporaryFile(/tmp/multipartBody161371505742581438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365264240,"filename":"image_05112025_19_22_37_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/2/dd2594562b26e62cf1277a21a76bf733.jpg","text":"TemporaryFile(/tmp/multipartBody775024976243185210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365264240,"filename":"image_05112025_19_22_34_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/2/918773953e93e9f875ba194670d64dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6552667222003606148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365264240,"filename":"image_05112025_19_22_22_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166384","file1":"1402166383","file0":"1402166375","file4":"1402166391","file5":"1402166401","file3":"1402166385"},"map_files_photo_id_array":[{"photo_id":"1402166401","filename":"file5"},{"photo_id":"1402166384","filename":"file2"},{"photo_id":"1402166391","filename":"file4"},{"photo_id":"1402166383","filename":"file1"},{"photo_id":"1402166375","filename":"file0"},{"photo_id":"1402166385","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402166384":["hashtag1","hashtag2"]},{"1402166383":["hashtag1","hashtag2"]},{"1402166401":["hashtag1","hashtag2"]},{"1402166391":["hashtag1","hashtag2"]},{"1402166385":["hashtag1","hashtag2"]},{"1402166375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402166384, 1402166383, 1402166401, 1402166391, 1402166385, 1402166375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73343062400818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:47:22.564732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_25_10727.jpg', '/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_34_9645.jpg', '/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_44_9617.jpg', '/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_55_10662.jpg', '/home/pi/Desktop/images/02012026/15/10/image_02012026_15_11_05_9918.jpg', '/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_14_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_25_10727.jpg
/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_34_9645.jpg
/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_44_9617.jpg
/home/pi/Desktop/images/02012026/15/10/image_02012026_15_10_55_10662.jpg
/home/pi/Desktop/images/02012026/15/10/image_02012026_15_11_05_9918.jpg
/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_14_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":["1402166482","1402166408","1402166428","1402166410","1402166412","1402166406"],"photo_ids_order":["1402166406","1402166408","1402166410","1402166412","1402166428","1402166482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8755fa4ad6a3249851ff146d435aed34.jpg","text":"TemporaryFile(/tmp/multipartBody257312342819234439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365303138,"filename":"image_02012026_15_11_14_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/2/ba323cbbb97695bce151df8d8aee719b.jpg","text":"TemporaryFile(/tmp/multipartBody5360291934189223843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365303138,"filename":"image_02012026_15_10_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/2/f26214e9dd5ffac45ecc6d4c06267568.jpg","text":"TemporaryFile(/tmp/multipartBody7232791042378388385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365303138,"filename":"image_02012026_15_11_05_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/135b65c29db17a9a253be32ac225c80f.jpg","text":"TemporaryFile(/tmp/multipartBody7814111202693891358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365303138,"filename":"image_02012026_15_10_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/2/c6d5089c33c1a461c9158bad781a1865.jpg","text":"TemporaryFile(/tmp/multipartBody4269289836275200829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365303138,"filename":"image_02012026_15_10_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/2/9aaf7ff3a188059134f55215066cf265.jpg","text":"TemporaryFile(/tmp/multipartBody2767102721539114210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365303138,"filename":"image_02012026_15_10_25_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166410","file1":"1402166408","file0":"1402166406","file4":"1402166428","file5":"1402166482","file3":"1402166412"},"map_files_photo_id_array":[{"photo_id":"1402166482","filename":"file5"},{"photo_id":"1402166410","filename":"file2"},{"photo_id":"1402166428","filename":"file4"},{"photo_id":"1402166408","filename":"file1"},{"photo_id":"1402166406","filename":"file0"},{"photo_id":"1402166412","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402166482":["hashtag1","hashtag2"]},{"1402166408":["hashtag1","hashtag2"]},{"1402166428":["hashtag1","hashtag2"]},{"1402166410":["hashtag1","hashtag2"]},{"1402166412":["hashtag1","hashtag2"]},{"1402166406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402166482, 1402166408, 1402166428, 1402166410, 1402166412, 1402166406)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.24327826499939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:48:18.768535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_43_2716.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_46_2968.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_49_3653.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_52_2744.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_54_2560.jpg', '/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_58_3818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_43_2716.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_46_2968.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_49_3653.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_52_2744.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_54_2560.jpg
/home/pi/Desktop/images/05112025/19/22/image_05112025_19_22_58_3818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402166770","1402166827","1402166796","1402166772","1402166841","1402166759"],"photo_ids_order":["1402166759","1402166770","1402166772","1402166796","1402166827","1402166841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a8375afcd900e5b4b380b5f81570a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody3886598711057734742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365360538,"filename":"image_05112025_19_22_46_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a167cd22ee88ec82d90978d51878247.jpg","text":"TemporaryFile(/tmp/multipartBody1784073483915687894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365360538,"filename":"image_05112025_19_22_54_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/2/c70cd4da606f5c6c9cb647ad78c2e040.jpg","text":"TemporaryFile(/tmp/multipartBody8689275241195806016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365360538,"filename":"image_05112025_19_22_52_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/2/d4fb3b51c71bf10a08913bd2e503a16d.jpg","text":"TemporaryFile(/tmp/multipartBody1448957008462216092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365360538,"filename":"image_05112025_19_22_49_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/2/5d801ce7c35adbf718141795152d812e.jpg","text":"TemporaryFile(/tmp/multipartBody5609600147185070988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365360538,"filename":"image_05112025_19_22_58_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d649ecf5d843ecce489ce9b7fa6d4861.jpg","text":"TemporaryFile(/tmp/multipartBody2200324279257586692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365360538,"filename":"image_05112025_19_22_43_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166772","file1":"1402166770","file0":"1402166759","file4":"1402166827","file5":"1402166841","file3":"1402166796"},"map_files_photo_id_array":[{"photo_id":"1402166841","filename":"file5"},{"photo_id":"1402166772","filename":"file2"},{"photo_id":"1402166827","filename":"file4"},{"photo_id":"1402166770","filename":"file1"},{"photo_id":"1402166759","filename":"file0"},{"photo_id":"1402166796","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402166770":["hashtag1","hashtag2"]},{"1402166827":["hashtag1","hashtag2"]},{"1402166796":["hashtag1","hashtag2"]},{"1402166772":["hashtag1","hashtag2"]},{"1402166841":["hashtag1","hashtag2"]},{"1402166759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402166770, 1402166827, 1402166796, 1402166772, 1402166841, 1402166759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.064136266708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:49:02.888449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_24_9678.jpg', '/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_35_10582.jpg', '/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_44_9669.jpg', '/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_54_9742.jpg', '/home/pi/Desktop/images/02012026/15/11/image_02012026_15_12_05_10690.jpg', '/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_15_10145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_24_9678.jpg
/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_35_10582.jpg
/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_44_9669.jpg
/home/pi/Desktop/images/02012026/15/11/image_02012026_15_11_54_9742.jpg
/home/pi/Desktop/images/02012026/15/11/image_02012026_15_12_05_10690.jpg
/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_15_10145.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402166912","1402166890","1402167040","1402166940","1402166981","1402166897"],"photo_ids_order":["1402166890","1402166897","1402166912","1402166940","1402166981","1402167040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5416bee31351fa7e63b463242693a05d.jpg","text":"TemporaryFile(/tmp/multipartBody8867110433697473599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365403720,"filename":"image_02012026_15_11_44_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/2/344b881299249c04bbb46a414d950af7.jpg","text":"TemporaryFile(/tmp/multipartBody8326938477810896878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365403720,"filename":"image_02012026_15_11_24_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/2/0239b878e0247fbfa963f75997a4867d.jpg","text":"TemporaryFile(/tmp/multipartBody5994634898870460828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365403720,"filename":"image_02012026_15_12_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/2/f3bd98e2cd9a3268b98f0c9b9e4ef8ab.jpg","text":"TemporaryFile(/tmp/multipartBody6752529249722227353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365403720,"filename":"image_02012026_15_11_54_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/2/5b70db538a650c4f287d2d47c81344df.jpg","text":"TemporaryFile(/tmp/multipartBody1903938683499242906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365403720,"filename":"image_02012026_15_12_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/2/c215ae51ff378e4326ea6fcb55434a60.jpg","text":"TemporaryFile(/tmp/multipartBody6677308254358607909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365403720,"filename":"image_02012026_15_11_35_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402166912","file1":"1402166897","file0":"1402166890","file4":"1402166981","file5":"1402167040","file3":"1402166940"},"map_files_photo_id_array":[{"photo_id":"1402167040","filename":"file5"},{"photo_id":"1402166912","filename":"file2"},{"photo_id":"1402166981","filename":"file4"},{"photo_id":"1402166897","filename":"file1"},{"photo_id":"1402166890","filename":"file0"},{"photo_id":"1402166940","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402166912":["hashtag1","hashtag2"]},{"1402166890":["hashtag1","hashtag2"]},{"1402167040":["hashtag1","hashtag2"]},{"1402166940":["hashtag1","hashtag2"]},{"1402166981":["hashtag1","hashtag2"]},{"1402166897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402166912, 1402166890, 1402167040, 1402166940, 1402166981, 1402166897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49317765235901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:49:42.068863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_01_2572.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_03_2574.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_10_2583.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_12_2635.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_19_2621.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_21_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_01_2572.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_03_2574.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_10_2583.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_12_2635.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_19_2621.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_21_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167124","1402167046","1402167078","1402167048","1402167114","1402167125"],"photo_ids_order":["1402167046","1402167048","1402167078","1402167114","1402167124","1402167125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3afc81c084bfc3e733f6b88b896c8fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2592635505093550230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365443846,"filename":"image_05112025_19_23_19_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/2/9b8b7c274e52d175d2db46da8f057307.jpg","text":"TemporaryFile(/tmp/multipartBody8567248668683581098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365443846,"filename":"image_05112025_19_23_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/2/8c236b9129186926d2ee02703948f83d.jpg","text":"TemporaryFile(/tmp/multipartBody1133900160361064208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365443846,"filename":"image_05112025_19_23_10_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/2/45dc7966f3541aa023de0fc84b4a90a2.jpg","text":"TemporaryFile(/tmp/multipartBody5975515371797109530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365443846,"filename":"image_05112025_19_23_03_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/2/bc63850ac3632d6014c483977e146c58.jpg","text":"TemporaryFile(/tmp/multipartBody5326998885342018397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365443846,"filename":"image_05112025_19_23_12_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/2/418a810464f0447271904dc4b59a812d.jpg","text":"TemporaryFile(/tmp/multipartBody3408741214157608031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365443846,"filename":"image_05112025_19_23_21_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167078","file1":"1402167048","file0":"1402167046","file4":"1402167124","file5":"1402167125","file3":"1402167114"},"map_files_photo_id_array":[{"photo_id":"1402167125","filename":"file5"},{"photo_id":"1402167078","filename":"file2"},{"photo_id":"1402167124","filename":"file4"},{"photo_id":"1402167048","filename":"file1"},{"photo_id":"1402167046","filename":"file0"},{"photo_id":"1402167114","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402167124":["hashtag1","hashtag2"]},{"1402167046":["hashtag1","hashtag2"]},{"1402167078":["hashtag1","hashtag2"]},{"1402167048":["hashtag1","hashtag2"]},{"1402167114":["hashtag1","hashtag2"]},{"1402167125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402167124, 1402167046, 1402167078, 1402167048, 1402167114, 1402167125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51831316947937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:50:22.230282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_25_9658.jpg', '/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_35_10013.jpg', '/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_44_9801.jpg', '/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_54_9700.jpg', '/home/pi/Desktop/images/02012026/15/12/image_02012026_15_13_05_10656.jpg', '/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_25_9658.jpg
/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_35_10013.jpg
/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_44_9801.jpg
/home/pi/Desktop/images/02012026/15/12/image_02012026_15_12_54_9700.jpg
/home/pi/Desktop/images/02012026/15/12/image_02012026_15_13_05_10656.jpg
/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_14_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":["1402167142","1402167136","1402167139","1402167153","1402167141","1402167131"],"photo_ids_order":["1402167131","1402167136","1402167139","1402167141","1402167142","1402167153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/005f4678bc10a65e0a999d4cc065f109.jpg","text":"TemporaryFile(/tmp/multipartBody1019078104370873906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365482807,"filename":"image_02012026_15_13_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/2/d37af71a2c5cf776eb38a2dec0385d83.jpg","text":"TemporaryFile(/tmp/multipartBody201244801439082957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365482807,"filename":"image_02012026_15_12_35_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/2/3102c1368374367e76f8d2cd0601783a.jpg","text":"TemporaryFile(/tmp/multipartBody4154674315615806218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365482807,"filename":"image_02012026_15_12_44_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/2/fddcfab4bba011dbc49ca0f471111347.jpg","text":"TemporaryFile(/tmp/multipartBody7086364465372716301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365482807,"filename":"image_02012026_15_13_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/2/0285e117570facd90e4daee201b646fd.jpg","text":"TemporaryFile(/tmp/multipartBody8209711514547612410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365482807,"filename":"image_02012026_15_12_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/2/4c9f0800e623221cc12e71ad1f09a76e.jpg","text":"TemporaryFile(/tmp/multipartBody657031319230013292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365482807,"filename":"image_02012026_15_12_25_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167139","file1":"1402167136","file0":"1402167131","file4":"1402167142","file5":"1402167153","file3":"1402167141"},"map_files_photo_id_array":[{"photo_id":"1402167153","filename":"file5"},{"photo_id":"1402167139","filename":"file2"},{"photo_id":"1402167142","filename":"file4"},{"photo_id":"1402167136","filename":"file1"},{"photo_id":"1402167131","filename":"file0"},{"photo_id":"1402167141","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167142":["hashtag1","hashtag2"]},{"1402167136":["hashtag1","hashtag2"]},{"1402167139":["hashtag1","hashtag2"]},{"1402167153":["hashtag1","hashtag2"]},{"1402167141":["hashtag1","hashtag2"]},{"1402167131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167142, 1402167136, 1402167139, 1402167153, 1402167141, 1402167131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43625736236572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:51:03.192247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_24_9746.jpg', '/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_35_10712.jpg', '/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_45_9681.jpg', '/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_54_9703.jpg', '/home/pi/Desktop/images/02012026/15/13/image_02012026_15_14_04_9915.jpg', '/home/pi/Desktop/images/02012026/15/14/image_02012026_15_14_15_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_24_9746.jpg
/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_35_10712.jpg
/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_45_9681.jpg
/home/pi/Desktop/images/02012026/15/13/image_02012026_15_13_54_9703.jpg
/home/pi/Desktop/images/02012026/15/13/image_02012026_15_14_04_9915.jpg
/home/pi/Desktop/images/02012026/15/14/image_02012026_15_14_15_10816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167190","1402167193","1402167195","1402167185","1402167188","1402167197"],"photo_ids_order":["1402167185","1402167188","1402167190","1402167193","1402167195","1402167197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bea0edb8058e1ead58f767ef0903d568.jpg","text":"TemporaryFile(/tmp/multipartBody1477372582719542099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365523881,"filename":"image_02012026_15_13_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/2/614c262a52f23ea8c321bce6a8772e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8456425550648834960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365523881,"filename":"image_02012026_15_13_54_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/2/9f7b29bb091f1cf8df8d53dcbfa1b172.jpg","text":"TemporaryFile(/tmp/multipartBody8011760784029438068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365523881,"filename":"image_02012026_15_14_04_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1347cc9159f784ecdc4da05d05d9ca65.jpg","text":"TemporaryFile(/tmp/multipartBody6390898833840727432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365523881,"filename":"image_02012026_15_13_24_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/2/3554c234a9ec7a22499a5af5990fe371.jpg","text":"TemporaryFile(/tmp/multipartBody3600458801993423335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365523881,"filename":"image_02012026_15_13_35_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/2/b36a00e9a9196d0707531716bcd2514e.jpg","text":"TemporaryFile(/tmp/multipartBody2769235574692702724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365523881,"filename":"image_02012026_15_14_15_10816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167190","file1":"1402167188","file0":"1402167185","file4":"1402167195","file5":"1402167197","file3":"1402167193"},"map_files_photo_id_array":[{"photo_id":"1402167197","filename":"file5"},{"photo_id":"1402167190","filename":"file2"},{"photo_id":"1402167195","filename":"file4"},{"photo_id":"1402167188","filename":"file1"},{"photo_id":"1402167185","filename":"file0"},{"photo_id":"1402167193","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167190":["hashtag1","hashtag2"]},{"1402167193":["hashtag1","hashtag2"]},{"1402167195":["hashtag1","hashtag2"]},{"1402167185":["hashtag1","hashtag2"]},{"1402167188":["hashtag1","hashtag2"]},{"1402167197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167190, 1402167193, 1402167195, 1402167185, 1402167188, 1402167197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95567345619202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:51:42.554146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_25_3592.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_28_2631.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_30_2764.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_34_3701.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_36_2398.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_40_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_25_3592.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_28_2631.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_30_2764.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_34_3701.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_36_2398.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_40_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":["1402167206","1402167211","1402167205","1402167219","1402167221","1402167203"],"photo_ids_order":["1402167203","1402167205","1402167206","1402167211","1402167219","1402167221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/640e6ab88c658cc86cd526417854eb1a.jpg","text":"TemporaryFile(/tmp/multipartBody448253755516160895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365564341,"filename":"image_05112025_19_23_30_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/2/3dbf32df762178f4b1ba4a847049ebf2.jpg","text":"TemporaryFile(/tmp/multipartBody2026802844025638415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365564341,"filename":"image_05112025_19_23_34_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/2/36abf40086b3f5d09f76dbd174127839.jpg","text":"TemporaryFile(/tmp/multipartBody4621412989967627127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365564341,"filename":"image_05112025_19_23_28_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/2/44112110fdc0d9771b7ade48ed081fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3782950448721152516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365564341,"filename":"image_05112025_19_23_36_2398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe3a39b3c647d09d595b2266084d5b94.jpg","text":"TemporaryFile(/tmp/multipartBody3276319295575888363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365564341,"filename":"image_05112025_19_23_40_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f4ae6ee89c0fd7e21b3b85507711381a.jpg","text":"TemporaryFile(/tmp/multipartBody6635107240159203640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365564341,"filename":"image_05112025_19_23_25_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167206","file1":"1402167205","file0":"1402167203","file4":"1402167219","file5":"1402167221","file3":"1402167211"},"map_files_photo_id_array":[{"photo_id":"1402167221","filename":"file5"},{"photo_id":"1402167206","filename":"file2"},{"photo_id":"1402167219","filename":"file4"},{"photo_id":"1402167205","filename":"file1"},{"photo_id":"1402167203","filename":"file0"},{"photo_id":"1402167211","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402167206":["hashtag1","hashtag2"]},{"1402167211":["hashtag1","hashtag2"]},{"1402167205":["hashtag1","hashtag2"]},{"1402167219":["hashtag1","hashtag2"]},{"1402167221":["hashtag1","hashtag2"]},{"1402167203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402167206, 1402167211, 1402167205, 1402167219, 1402167221, 1402167203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59928750991821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:52:22.711421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/14/image_02012026_15_14_25_9708.jpg', '/home/pi/Desktop/images/02012026/15/14/image_02012026_15_14_34_9742.jpg', '/home/pi/Desktop/images/02012026/15/14/image_02012026_15_15_05_9778.jpg', '/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_14_9709.jpg', '/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_34_9581.jpg', '/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_44_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/14/image_02012026_15_14_25_9708.jpg
/home/pi/Desktop/images/02012026/15/14/image_02012026_15_14_34_9742.jpg
/home/pi/Desktop/images/02012026/15/14/image_02012026_15_15_05_9778.jpg
/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_14_9709.jpg
/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_34_9581.jpg
/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_44_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167233","1402167247","1402167235","1402167243","1402167231","1402167228"],"photo_ids_order":["1402167228","1402167231","1402167233","1402167235","1402167243","1402167247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/92531c128d999c55061af0d2f10160b2.jpg","text":"TemporaryFile(/tmp/multipartBody1218185049031953263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365603290,"filename":"image_02012026_15_15_05_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/2/9ba22ed9f6dafd360508264983fd8f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1206660468850137397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365603290,"filename":"image_02012026_15_15_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/2/433a4bb2447eac8a64dd9b6aa4abfbef.jpg","text":"TemporaryFile(/tmp/multipartBody4355282820444437543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365603290,"filename":"image_02012026_15_15_14_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/2/331ffaaf9cd10e2abe4d3c997129957a.jpg","text":"TemporaryFile(/tmp/multipartBody4894904452703829169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365603290,"filename":"image_02012026_15_15_34_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/2/8ca75a6c09060311f85e516399ceead1.jpg","text":"TemporaryFile(/tmp/multipartBody6811529474538955927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365603290,"filename":"image_02012026_15_14_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/2/279dda4831fa4fae81d4dcc9dcfcb343.jpg","text":"TemporaryFile(/tmp/multipartBody853487844643364689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365603290,"filename":"image_02012026_15_14_25_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167233","file1":"1402167231","file0":"1402167228","file4":"1402167243","file5":"1402167247","file3":"1402167235"},"map_files_photo_id_array":[{"photo_id":"1402167247","filename":"file5"},{"photo_id":"1402167233","filename":"file2"},{"photo_id":"1402167243","filename":"file4"},{"photo_id":"1402167231","filename":"file1"},{"photo_id":"1402167228","filename":"file0"},{"photo_id":"1402167235","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167233":["hashtag1","hashtag2"]},{"1402167247":["hashtag1","hashtag2"]},{"1402167235":["hashtag1","hashtag2"]},{"1402167243":["hashtag1","hashtag2"]},{"1402167231":["hashtag1","hashtag2"]},{"1402167228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167233, 1402167247, 1402167235, 1402167243, 1402167231, 1402167228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300395488739014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:53:02.417836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_55_10619.jpg', '/home/pi/Desktop/images/02012026/15/15/image_02012026_15_16_05_9706.jpg', '/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_14_9650.jpg', '/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_25_10651.jpg', '/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_35_9766.jpg', '/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_44_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/15/image_02012026_15_15_55_10619.jpg
/home/pi/Desktop/images/02012026/15/15/image_02012026_15_16_05_9706.jpg
/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_14_9650.jpg
/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_25_10651.jpg
/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_35_9766.jpg
/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_44_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167250","1402167264","1402167252","1402167260","1402167254","1402167257"],"photo_ids_order":["1402167250","1402167252","1402167254","1402167257","1402167260","1402167264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22ee5abe1ff597027738759fc8bdd59e.jpg","text":"TemporaryFile(/tmp/multipartBody8285936682196410361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365643038,"filename":"image_02012026_15_15_55_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/2/f4f753577ef8eaeb44f13138f81f4ade.jpg","text":"TemporaryFile(/tmp/multipartBody3305905444995104832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365643038,"filename":"image_02012026_15_16_44_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/2/43a19d1296344bb756c07af139aa3034.jpg","text":"TemporaryFile(/tmp/multipartBody4050053656644750550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365643038,"filename":"image_02012026_15_16_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/2/21ab0dbaf0e339a1156240ead67a6dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1991962716123129038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365643038,"filename":"image_02012026_15_16_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/2/0e07bfeb0308468332714274a0fe5d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8391060234722320362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365643038,"filename":"image_02012026_15_16_14_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/2/dbeabaa93d6b9d0a15620fbfda975ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6552604595889491324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365643038,"filename":"image_02012026_15_16_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167254","file1":"1402167252","file0":"1402167250","file4":"1402167260","file5":"1402167264","file3":"1402167257"},"map_files_photo_id_array":[{"photo_id":"1402167264","filename":"file5"},{"photo_id":"1402167254","filename":"file2"},{"photo_id":"1402167260","filename":"file4"},{"photo_id":"1402167252","filename":"file1"},{"photo_id":"1402167250","filename":"file0"},{"photo_id":"1402167257","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167250":["hashtag1","hashtag2"]},{"1402167264":["hashtag1","hashtag2"]},{"1402167252":["hashtag1","hashtag2"]},{"1402167260":["hashtag1","hashtag2"]},{"1402167254":["hashtag1","hashtag2"]},{"1402167257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167250, 1402167264, 1402167252, 1402167260, 1402167254, 1402167257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81386733055115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:53:41.872906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_43_2625.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_49_3628.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_52_2673.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_54_2745.jpg', '/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_58_3607.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_01_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_43_2625.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_49_3628.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_52_2673.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_54_2745.jpg
/home/pi/Desktop/images/05112025/19/23/image_05112025_19_23_58_3607.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_01_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":["1402167277","1402167274","1402167276","1402167278","1402167272","1402167275"],"photo_ids_order":["1402167272","1402167274","1402167275","1402167276","1402167277","1402167278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be4d1b7425a29d6e91521ec5e5e390d9.jpg","text":"TemporaryFile(/tmp/multipartBody8955289067048642833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365683702,"filename":"image_05112025_19_23_58_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/2/dd5157f366b7b45b31c11b78658b622f.jpg","text":"TemporaryFile(/tmp/multipartBody7816620618811347036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365683702,"filename":"image_05112025_19_23_49_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c786a403e0414c1d27a01c0da463a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody8521123697034156451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365683702,"filename":"image_05112025_19_23_54_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/2/7a06db40eefdd90051f9299610489af4.jpg","text":"TemporaryFile(/tmp/multipartBody1264699535479301150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365683702,"filename":"image_05112025_19_24_01_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/2/1fac5aabe98f2406f5cc4d0f35ede4ec.jpg","text":"TemporaryFile(/tmp/multipartBody9015931756748356978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365683702,"filename":"image_05112025_19_23_43_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/2/f92d7a0d5bb1da12d7737769c256e13e.jpg","text":"TemporaryFile(/tmp/multipartBody9203881733848269017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365683702,"filename":"image_05112025_19_23_52_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167275","file1":"1402167274","file0":"1402167272","file4":"1402167277","file5":"1402167278","file3":"1402167276"},"map_files_photo_id_array":[{"photo_id":"1402167278","filename":"file5"},{"photo_id":"1402167275","filename":"file2"},{"photo_id":"1402167277","filename":"file4"},{"photo_id":"1402167274","filename":"file1"},{"photo_id":"1402167272","filename":"file0"},{"photo_id":"1402167276","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402167277":["hashtag1","hashtag2"]},{"1402167274":["hashtag1","hashtag2"]},{"1402167276":["hashtag1","hashtag2"]},{"1402167278":["hashtag1","hashtag2"]},{"1402167272":["hashtag1","hashtag2"]},{"1402167275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402167277, 1402167274, 1402167276, 1402167278, 1402167272, 1402167275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18123745918274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:54:22.098873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_55_10589.jpg', '/home/pi/Desktop/images/02012026/15/16/image_02012026_15_17_05_9942.jpg', '/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_14_9803.jpg', '/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_24_9602.jpg', '/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_35_10573.jpg', '/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_44_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/16/image_02012026_15_16_55_10589.jpg
/home/pi/Desktop/images/02012026/15/16/image_02012026_15_17_05_9942.jpg
/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_14_9803.jpg
/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_24_9602.jpg
/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_35_10573.jpg
/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_44_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":["1402167289","1402167283","1402167291","1402167294","1402167285","1402167287"],"photo_ids_order":["1402167283","1402167285","1402167287","1402167289","1402167291","1402167294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c56e82d2ef9b47bdc656477678868b1.jpg","text":"TemporaryFile(/tmp/multipartBody2813403414360319240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365722677,"filename":"image_02012026_15_17_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/2/0985c45df36f014c9cfd39b2be51c197.jpg","text":"TemporaryFile(/tmp/multipartBody6968221226763034730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365722677,"filename":"image_02012026_15_16_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/2/5971d427ad56bccad7a2b8a535819d58.jpg","text":"TemporaryFile(/tmp/multipartBody4536843222153945862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365722677,"filename":"image_02012026_15_17_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/2/362ff2c4f1d1115906dac751c919225b.jpg","text":"TemporaryFile(/tmp/multipartBody8806575354171265194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365722677,"filename":"image_02012026_15_17_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/2/ad1004fe2f36fa51c07b9b6d8a295c79.jpg","text":"TemporaryFile(/tmp/multipartBody7965637739758550001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365722677,"filename":"image_02012026_15_17_05_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/2/02e7e0c313954ed39daaa282c7146833.jpg","text":"TemporaryFile(/tmp/multipartBody8653970690461154997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365722677,"filename":"image_02012026_15_17_14_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167287","file1":"1402167285","file0":"1402167283","file4":"1402167291","file5":"1402167294","file3":"1402167289"},"map_files_photo_id_array":[{"photo_id":"1402167294","filename":"file5"},{"photo_id":"1402167287","filename":"file2"},{"photo_id":"1402167291","filename":"file4"},{"photo_id":"1402167285","filename":"file1"},{"photo_id":"1402167283","filename":"file0"},{"photo_id":"1402167289","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167289":["hashtag1","hashtag2"]},{"1402167283":["hashtag1","hashtag2"]},{"1402167291":["hashtag1","hashtag2"]},{"1402167294":["hashtag1","hashtag2"]},{"1402167285":["hashtag1","hashtag2"]},{"1402167287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167289, 1402167283, 1402167291, 1402167294, 1402167285, 1402167287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27461290359497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:55:03.003146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_54_9779.jpg', '/home/pi/Desktop/images/02012026/15/17/image_02012026_15_18_05_10692.jpg', '/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_15_9723.jpg', '/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_24_9671.jpg', '/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_35_10735.jpg', '/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_45_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/17/image_02012026_15_17_54_9779.jpg
/home/pi/Desktop/images/02012026/15/17/image_02012026_15_18_05_10692.jpg
/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_15_9723.jpg
/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_24_9671.jpg
/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_35_10735.jpg
/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_45_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167311","1402167305","1402167308","1402167297","1402167300","1402167302"],"photo_ids_order":["1402167297","1402167300","1402167302","1402167305","1402167308","1402167311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/019ae10095062b7bfce0b80e4fbe0215.jpg","text":"TemporaryFile(/tmp/multipartBody3861852309990462257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365763636,"filename":"image_02012026_15_18_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/2/da405961c7ef16bffb6aa367f1a4a91e.jpg","text":"TemporaryFile(/tmp/multipartBody4921091915645782988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365763636,"filename":"image_02012026_15_18_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/2/6961ce02e9f1ec42a40d4e4123cb4b91.jpg","text":"TemporaryFile(/tmp/multipartBody5119288076992760524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365763636,"filename":"image_02012026_15_18_35_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/2/cb2416be83bec02210b017bea8fa9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody6692962016183507841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365763636,"filename":"image_02012026_15_17_54_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/2/cdb23ed70fb1133cce25a53b46a45787.jpg","text":"TemporaryFile(/tmp/multipartBody8902142449110236736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365763636,"filename":"image_02012026_15_18_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/2/228c48fb4d6337328eac0787b48b1749.jpg","text":"TemporaryFile(/tmp/multipartBody988567235210333322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365763636,"filename":"image_02012026_15_18_15_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167302","file1":"1402167300","file0":"1402167297","file4":"1402167308","file5":"1402167311","file3":"1402167305"},"map_files_photo_id_array":[{"photo_id":"1402167311","filename":"file5"},{"photo_id":"1402167302","filename":"file2"},{"photo_id":"1402167308","filename":"file4"},{"photo_id":"1402167300","filename":"file1"},{"photo_id":"1402167297","filename":"file0"},{"photo_id":"1402167305","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167311":["hashtag1","hashtag2"]},{"1402167305":["hashtag1","hashtag2"]},{"1402167308":["hashtag1","hashtag2"]},{"1402167297":["hashtag1","hashtag2"]},{"1402167300":["hashtag1","hashtag2"]},{"1402167302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167311, 1402167305, 1402167308, 1402167297, 1402167300, 1402167302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833555459976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:55:42.202646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_06_3073.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_10_3564.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_15_5208.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_17_1658.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_19_1822.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_26_7063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_06_3073.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_10_3564.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_15_5208.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_17_1658.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_19_1822.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_26_7063.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167322","1402167319","1402167318","1402167321","1402167320","1402167317"],"photo_ids_order":["1402167317","1402167318","1402167319","1402167320","1402167321","1402167322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6923b5cfce547b2a6c0c7ec093e28b8.jpg","text":"TemporaryFile(/tmp/multipartBody5513245520820875608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365804046,"filename":"image_05112025_19_24_26_7063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/649398badb5cb7897bea29195fc2ee60.jpg","text":"TemporaryFile(/tmp/multipartBody5748726136795335160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365804046,"filename":"image_05112025_19_24_15_5208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1c3df42d5e2f56255926597cc94ba35e.jpg","text":"TemporaryFile(/tmp/multipartBody2562084764550943225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365804046,"filename":"image_05112025_19_24_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/2/57ba0303e9aa522a59dfd6793171a91c.jpg","text":"TemporaryFile(/tmp/multipartBody7041241098300051296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365804046,"filename":"image_05112025_19_24_19_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/2/c614d106b4441a16b2b3ee03953783d0.jpg","text":"TemporaryFile(/tmp/multipartBody1495767704842738466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365804046,"filename":"image_05112025_19_24_17_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/2/77cf8ff652d84326654c08cece12c353.jpg","text":"TemporaryFile(/tmp/multipartBody6690857751158304708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365804046,"filename":"image_05112025_19_24_06_3073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167319","file1":"1402167318","file0":"1402167317","file4":"1402167321","file5":"1402167322","file3":"1402167320"},"map_files_photo_id_array":[{"photo_id":"1402167322","filename":"file5"},{"photo_id":"1402167319","filename":"file2"},{"photo_id":"1402167321","filename":"file4"},{"photo_id":"1402167318","filename":"file1"},{"photo_id":"1402167317","filename":"file0"},{"photo_id":"1402167320","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402167322":["hashtag1","hashtag2"]},{"1402167319":["hashtag1","hashtag2"]},{"1402167318":["hashtag1","hashtag2"]},{"1402167321":["hashtag1","hashtag2"]},{"1402167320":["hashtag1","hashtag2"]},{"1402167317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402167322, 1402167319, 1402167318, 1402167321, 1402167320, 1402167317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01573467254639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 15:56:22.363608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_54_9777.jpg', '/home/pi/Desktop/images/02012026/15/18/image_02012026_15_19_05_10613.jpg', '/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_15_9660.jpg', '/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_24_9621.jpg', '/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_34_9905.jpg', '/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/18/image_02012026_15_18_54_9777.jpg
/home/pi/Desktop/images/02012026/15/18/image_02012026_15_19_05_10613.jpg
/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_15_9660.jpg
/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_24_9621.jpg
/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_34_9905.jpg
/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_45_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":["1402167332","1402167343","1402167328","1402167330","1402167327","1402167341"],"photo_ids_order":["1402167327","1402167328","1402167330","1402167332","1402167341","1402167343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30d97bd2c6974d465e9510b132cd6239.jpg","text":"TemporaryFile(/tmp/multipartBody1580156516931516024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365842953,"filename":"image_02012026_15_19_24_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/2/69bdab63d99cb175c621ecff845df04b.jpg","text":"TemporaryFile(/tmp/multipartBody2337018356988382211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365842953,"filename":"image_02012026_15_19_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/2/0d6a3a0a6932abdfd93b200bd47528f6.jpg","text":"TemporaryFile(/tmp/multipartBody7165758508938715097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365842953,"filename":"image_02012026_15_19_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/2/b5f8ff758d315788153d860021be7b3b.jpg","text":"TemporaryFile(/tmp/multipartBody7689993129258124650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365842953,"filename":"image_02012026_15_19_15_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/2/feac7e02d5df7b75ebd3a75e502d98e6.jpg","text":"TemporaryFile(/tmp/multipartBody2630639017639020358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365842953,"filename":"image_02012026_15_18_54_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/2/e02bf2854a0f562527ab612fa3dbb8fb.jpg","text":"TemporaryFile(/tmp/multipartBody4478012260724475023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365842953,"filename":"image_02012026_15_19_34_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167330","file1":"1402167328","file0":"1402167327","file4":"1402167341","file5":"1402167343","file3":"1402167332"},"map_files_photo_id_array":[{"photo_id":"1402167343","filename":"file5"},{"photo_id":"1402167330","filename":"file2"},{"photo_id":"1402167341","filename":"file4"},{"photo_id":"1402167328","filename":"file1"},{"photo_id":"1402167327","filename":"file0"},{"photo_id":"1402167332","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167332":["hashtag1","hashtag2"]},{"1402167343":["hashtag1","hashtag2"]},{"1402167328":["hashtag1","hashtag2"]},{"1402167330":["hashtag1","hashtag2"]},{"1402167327":["hashtag1","hashtag2"]},{"1402167341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167332, 1402167343, 1402167328, 1402167330, 1402167327, 1402167341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48219704627991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:57:03.334893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_54_9601.jpg', '/home/pi/Desktop/images/02012026/15/19/image_02012026_15_20_04_9757.jpg', '/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_14_9884.jpg', '/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_25_10651.jpg', '/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_34_9615.jpg', '/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_55_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/19/image_02012026_15_19_54_9601.jpg
/home/pi/Desktop/images/02012026/15/19/image_02012026_15_20_04_9757.jpg
/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_14_9884.jpg
/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_25_10651.jpg
/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_34_9615.jpg
/home/pi/Desktop/images/02012026/15/20/image_02012026_15_20_55_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167388","1402167376","1402167391","1402167385","1402167351","1402167362"],"photo_ids_order":["1402167351","1402167362","1402167376","1402167385","1402167388","1402167391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84c46b25f33e9a176755d5c465161493.jpg","text":"TemporaryFile(/tmp/multipartBody2135067080111699401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365883967,"filename":"image_02012026_15_20_34_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/2/42fcc9b66cf6fdb1b5eb0c98790cd6fe.jpg","text":"TemporaryFile(/tmp/multipartBody4838820128640294214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365883967,"filename":"image_02012026_15_20_14_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/2/5cf4b1b42ddbd93ddefbbba2080a6ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2954554495829740635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365883967,"filename":"image_02012026_15_20_55_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/2/1dca4b8e396734305abd5f8532b9555b.jpg","text":"TemporaryFile(/tmp/multipartBody1833215962292587853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365883967,"filename":"image_02012026_15_20_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/2/c081e1286e49e1b1ef8eef6fea916b11.jpg","text":"TemporaryFile(/tmp/multipartBody654001373305376083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365883967,"filename":"image_02012026_15_19_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/2/c2a72b3817c15f456907d636997e0769.jpg","text":"TemporaryFile(/tmp/multipartBody1945308177297605956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365883967,"filename":"image_02012026_15_20_04_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167376","file1":"1402167362","file0":"1402167351","file4":"1402167388","file5":"1402167391","file3":"1402167385"},"map_files_photo_id_array":[{"photo_id":"1402167391","filename":"file5"},{"photo_id":"1402167376","filename":"file2"},{"photo_id":"1402167388","filename":"file4"},{"photo_id":"1402167362","filename":"file1"},{"photo_id":"1402167351","filename":"file0"},{"photo_id":"1402167385","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402167388":["hashtag1","hashtag2"]},{"1402167376":["hashtag1","hashtag2"]},{"1402167391":["hashtag1","hashtag2"]},{"1402167385":["hashtag1","hashtag2"]},{"1402167351":["hashtag1","hashtag2"]},{"1402167362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402167388, 1402167376, 1402167391, 1402167385, 1402167351, 1402167362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.105745792388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 15:57:42.685186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_28_1768.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_29_1680.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_38_8313.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_41_1855.jpg', '/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_42_1549.jpg', '/home/pi/Desktop/images/05112025/19/25/image_05112025_19_25_15_32842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_28_1768.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_29_1680.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_38_8313.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_41_1855.jpg
/home/pi/Desktop/images/05112025/19/24/image_05112025_19_24_42_1549.jpg
/home/pi/Desktop/images/05112025/19/25/image_05112025_19_25_15_32842.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402167410","1402167407","1402167409","1402167403","1402167396","1402167408"],"photo_ids_order":["1402167396","1402167403","1402167407","1402167408","1402167409","1402167410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd9d970e0ff43d3c2da6164b58c260e9.jpg","text":"TemporaryFile(/tmp/multipartBody2376543593374336876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365924507,"filename":"image_05112025_19_25_15_32842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55e175853488ab3df1c15da49d3d9f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8486153417413997660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365924507,"filename":"image_05112025_19_24_38_8313.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca941f489f23c83f92de56996215f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody1540233608496006718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365924507,"filename":"image_05112025_19_24_42_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/2/fba65e6db07f93f06f510fc57615a33f.jpg","text":"TemporaryFile(/tmp/multipartBody381338026940132995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365924507,"filename":"image_05112025_19_24_29_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/2/c22f0732f41adc37c0896df97187425b.jpg","text":"TemporaryFile(/tmp/multipartBody2937034623212386654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365924507,"filename":"image_05112025_19_24_28_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8551ea7e9e3a5663ac3fbbbfa6bc5e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4296367498803706364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767365924507,"filename":"image_05112025_19_24_41_1855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402167407","file1":"1402167403","file0":"1402167396","file4":"1402167409","file5":"1402167410","file3":"1402167408"},"map_files_photo_id_array":[{"photo_id":"1402167410","filename":"file5"},{"photo_id":"1402167407","filename":"file2"},{"photo_id":"1402167409","filename":"file4"},{"photo_id":"1402167403","filename":"file1"},{"photo_id":"1402167396","filename":"file0"},{"photo_id":"1402167408","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402167410":["hashtag1","hashtag2"]},{"1402167407":["hashtag1","hashtag2"]},{"1402167409":["hashtag1","hashtag2"]},{"1402167403":["hashtag1","hashtag2"]},{"1402167396":["hashtag1","hashtag2"]},{"1402167408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402167410, 1402167407, 1402167409, 1402167403, 1402167396, 1402167408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.775049924850464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 15:59:03.085161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/20/image_02012026_15_21_04_9700.jpg', '/home/pi/Desktop/images/02012026/15/21/image_02012026_15_21_14_9638.jpg', '/home/pi/Desktop/images/02012026/15/21/image_02012026_15_21_45_10518.jpg', '/home/pi/Desktop/images/02012026/15/22/image_02012026_15_22_15_10871.jpg', '/home/pi/Desktop/images/02012026/15/22/image_02012026_15_22_35_9669.jpg', '/home/pi/Desktop/images/02012026/15/23/image_02012026_15_24_05_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/20/image_02012026_15_21_04_9700.jpg
/home/pi/Desktop/images/02012026/15/21/image_02012026_15_21_14_9638.jpg
/home/pi/Desktop/images/02012026/15/21/image_02012026_15_21_45_10518.jpg
/home/pi/Desktop/images/02012026/15/22/image_02012026_15_22_15_10871.jpg
/home/pi/Desktop/images/02012026/15/22/image_02012026_15_22_35_9669.jpg
/home/pi/Desktop/images/02012026/15/23/image_02012026_15_24_05_10642.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":["1402168240","1402168290","1402168182","1402168020","1402168109","1402167938"],"photo_ids_order":["1402167938","1402168020","1402168109","1402168182","1402168240","1402168290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ed437ac1a3114eb37359cd9c49b1934.jpg","text":"TemporaryFile(/tmp/multipartBody3826371174701800873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366003842,"filename":"image_02012026_15_22_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/2/433f8beb272ad65428ecbc65b5c41499.jpg","text":"TemporaryFile(/tmp/multipartBody8896063446542743964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366003842,"filename":"image_02012026_15_24_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/2/6cb146f57dd3035e3c8cfe05cd0d471e.jpg","text":"TemporaryFile(/tmp/multipartBody3498608430885640596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366003842,"filename":"image_02012026_15_22_15_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/2/0763383f940c0a72d3dc267f2117071d.jpg","text":"TemporaryFile(/tmp/multipartBody5822088989394758867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366003842,"filename":"image_02012026_15_21_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/2/988873f8e792c308988039cf74762ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4349374683274150281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366003842,"filename":"image_02012026_15_21_45_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c902856cfb8844e35c0879d3410364e.jpg","text":"TemporaryFile(/tmp/multipartBody3348162561356631464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366003842,"filename":"image_02012026_15_21_04_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402168109","file1":"1402168020","file0":"1402167938","file4":"1402168240","file5":"1402168290","file3":"1402168182"},"map_files_photo_id_array":[{"photo_id":"1402168290","filename":"file5"},{"photo_id":"1402168109","filename":"file2"},{"photo_id":"1402168240","filename":"file4"},{"photo_id":"1402168020","filename":"file1"},{"photo_id":"1402167938","filename":"file0"},{"photo_id":"1402168182","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402168240":["hashtag1","hashtag2"]},{"1402168290":["hashtag1","hashtag2"]},{"1402168182":["hashtag1","hashtag2"]},{"1402168020":["hashtag1","hashtag2"]},{"1402168109":["hashtag1","hashtag2"]},{"1402167938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402168240, 1402168290, 1402168182, 1402168020, 1402168109, 1402167938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.941139459609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:00:02.716326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/24/image_02012026_15_24_45_9675.jpg', '/home/pi/Desktop/images/02012026/15/24/image_02012026_15_24_54_9590.jpg', '/home/pi/Desktop/images/02012026/15/24/image_02012026_15_25_05_10604.jpg', '/home/pi/Desktop/images/02012026/15/25/image_02012026_15_25_14_9567.jpg', '/home/pi/Desktop/images/02012026/15/25/image_02012026_15_25_25_10646.jpg', '/home/pi/Desktop/images/02012026/15/25/image_02012026_15_25_54_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/24/image_02012026_15_24_45_9675.jpg
/home/pi/Desktop/images/02012026/15/24/image_02012026_15_24_54_9590.jpg
/home/pi/Desktop/images/02012026/15/24/image_02012026_15_25_05_10604.jpg
/home/pi/Desktop/images/02012026/15/25/image_02012026_15_25_14_9567.jpg
/home/pi/Desktop/images/02012026/15/25/image_02012026_15_25_25_10646.jpg
/home/pi/Desktop/images/02012026/15/25/image_02012026_15_25_54_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402168657","1402168644","1402168653","1402168548","1402168613","1402168570"],"photo_ids_order":["1402168548","1402168570","1402168613","1402168644","1402168653","1402168657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ab624c1693adc69eb59ca63c3b9b56f2.jpg","text":"TemporaryFile(/tmp/multipartBody1373003498933934657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366063333,"filename":"image_02012026_15_25_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/2/a7fc2703e6f148e852b939eb2c988aef.jpg","text":"TemporaryFile(/tmp/multipartBody2244944945145966749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366063333,"filename":"image_02012026_15_25_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/2/59e16795f01a70157e1fd5e91c67de16.jpg","text":"TemporaryFile(/tmp/multipartBody2338020714428946528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366063333,"filename":"image_02012026_15_25_25_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/2/316e0015d255db2412234d4efa2966c0.jpg","text":"TemporaryFile(/tmp/multipartBody268281948459473198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366063333,"filename":"image_02012026_15_24_45_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/2/0a1935e67cfce7c8c7bd2b16e5f6c3c3.jpg","text":"TemporaryFile(/tmp/multipartBody2375016846736409922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366063333,"filename":"image_02012026_15_25_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/2/8bdc5711a4af5a7123ccd75ebe4dcefb.jpg","text":"TemporaryFile(/tmp/multipartBody1941530109769451204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366063333,"filename":"image_02012026_15_24_54_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402168613","file1":"1402168570","file0":"1402168548","file4":"1402168653","file5":"1402168657","file3":"1402168644"},"map_files_photo_id_array":[{"photo_id":"1402168657","filename":"file5"},{"photo_id":"1402168613","filename":"file2"},{"photo_id":"1402168653","filename":"file4"},{"photo_id":"1402168570","filename":"file1"},{"photo_id":"1402168548","filename":"file0"},{"photo_id":"1402168644","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402168657":["hashtag1","hashtag2"]},{"1402168644":["hashtag1","hashtag2"]},{"1402168653":["hashtag1","hashtag2"]},{"1402168548":["hashtag1","hashtag2"]},{"1402168613":["hashtag1","hashtag2"]},{"1402168570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402168657, 1402168644, 1402168653, 1402168548, 1402168613, 1402168570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.54773211479187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:01:02.666686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/26/image_02012026_15_26_44_9789.jpg', '/home/pi/Desktop/images/02012026/15/27/image_02012026_15_27_14_9699.jpg', '/home/pi/Desktop/images/02012026/15/27/image_02012026_15_28_05_9544.jpg', '/home/pi/Desktop/images/02012026/15/29/image_02012026_15_29_15_10591.jpg', '/home/pi/Desktop/images/02012026/15/29/image_02012026_15_29_55_10659.jpg', '/home/pi/Desktop/images/02012026/15/30/image_02012026_15_30_56_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/26/image_02012026_15_26_44_9789.jpg
/home/pi/Desktop/images/02012026/15/27/image_02012026_15_27_14_9699.jpg
/home/pi/Desktop/images/02012026/15/27/image_02012026_15_28_05_9544.jpg
/home/pi/Desktop/images/02012026/15/29/image_02012026_15_29_15_10591.jpg
/home/pi/Desktop/images/02012026/15/29/image_02012026_15_29_55_10659.jpg
/home/pi/Desktop/images/02012026/15/30/image_02012026_15_30_56_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":["1402168669","1402168665","1402168667","1402168684","1402168663","1402168672"],"photo_ids_order":["1402168663","1402168665","1402168667","1402168669","1402168672","1402168684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d1023a2d39cb162c3c1c6385565b39f.jpg","text":"TemporaryFile(/tmp/multipartBody3629512210451706735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366123319,"filename":"image_02012026_15_29_15_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/2/7f62e094698925c2ed87a73b609f39d9.jpg","text":"TemporaryFile(/tmp/multipartBody6325216610316736731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366123319,"filename":"image_02012026_15_27_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/2/98d639c31076d84b880377961325a4e4.jpg","text":"TemporaryFile(/tmp/multipartBody1758883393156800149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366123319,"filename":"image_02012026_15_28_05_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/2/deb60a95878409ef10dd05cf90b5f51f.jpg","text":"TemporaryFile(/tmp/multipartBody5002780462986072323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366123319,"filename":"image_02012026_15_30_56_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/2/7216581cda41636f16d63e480f3a2ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7312735634882173659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366123319,"filename":"image_02012026_15_26_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/2/84dffcdc84a954eefd9870d99484d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody8658628494061357020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366123319,"filename":"image_02012026_15_29_55_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402168667","file1":"1402168665","file0":"1402168663","file4":"1402168672","file5":"1402168684","file3":"1402168669"},"map_files_photo_id_array":[{"photo_id":"1402168684","filename":"file5"},{"photo_id":"1402168667","filename":"file2"},{"photo_id":"1402168672","filename":"file4"},{"photo_id":"1402168665","filename":"file1"},{"photo_id":"1402168663","filename":"file0"},{"photo_id":"1402168669","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402168669":["hashtag1","hashtag2"]},{"1402168665":["hashtag1","hashtag2"]},{"1402168667":["hashtag1","hashtag2"]},{"1402168684":["hashtag1","hashtag2"]},{"1402168663":["hashtag1","hashtag2"]},{"1402168672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402168669, 1402168665, 1402168667, 1402168684, 1402168663, 1402168672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76475143432617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:01:42.010070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_06_3018.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_10_3603.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_13_2967.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_15_2738.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_18_2707.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_22_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_06_3018.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_10_3603.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_13_2967.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_15_2738.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_18_2707.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_22_3639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402168702","1402168698","1402168697","1402168701","1402168700","1402168699"],"photo_ids_order":["1402168697","1402168698","1402168699","1402168700","1402168701","1402168702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4bae6aea9b22449da9bba96456dc54c7.jpg","text":"TemporaryFile(/tmp/multipartBody3368472824240951661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366163698,"filename":"image_05112025_19_26_22_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/2/959e886b73f5bd0c26430ce9d0e6a03b.jpg","text":"TemporaryFile(/tmp/multipartBody2154701518743473932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366163698,"filename":"image_05112025_19_26_10_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/2/c2556209be898a5d3bbeda0c38404a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5642205780624441733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366163698,"filename":"image_05112025_19_26_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/2/75683dafb8e7c60f0db072486aee8975.jpg","text":"TemporaryFile(/tmp/multipartBody3900340814481288750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366163698,"filename":"image_05112025_19_26_18_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/2/bb90c311314b31815c08c5f44ce17e36.jpg","text":"TemporaryFile(/tmp/multipartBody3702481438756933571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366163698,"filename":"image_05112025_19_26_15_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/2/54f9e1ed697461510dbc404d07ab3da3.jpg","text":"TemporaryFile(/tmp/multipartBody7262801432979474206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366163698,"filename":"image_05112025_19_26_13_2967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402168699","file1":"1402168698","file0":"1402168697","file4":"1402168701","file5":"1402168702","file3":"1402168700"},"map_files_photo_id_array":[{"photo_id":"1402168702","filename":"file5"},{"photo_id":"1402168699","filename":"file2"},{"photo_id":"1402168701","filename":"file4"},{"photo_id":"1402168698","filename":"file1"},{"photo_id":"1402168697","filename":"file0"},{"photo_id":"1402168700","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402168702":["hashtag1","hashtag2"]},{"1402168698":["hashtag1","hashtag2"]},{"1402168697":["hashtag1","hashtag2"]},{"1402168701":["hashtag1","hashtag2"]},{"1402168700":["hashtag1","hashtag2"]},{"1402168699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402168702, 1402168698, 1402168697, 1402168701, 1402168700, 1402168699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84969711303711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:02:22.372882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/31/image_02012026_15_31_26_10738.jpg', '/home/pi/Desktop/images/02012026/15/32/image_02012026_15_32_36_10587.jpg', '/home/pi/Desktop/images/02012026/15/32/image_02012026_15_33_05_9775.jpg', '/home/pi/Desktop/images/02012026/15/33/image_02012026_15_33_16_10706.jpg', '/home/pi/Desktop/images/02012026/15/34/image_02012026_15_34_25_9705.jpg', '/home/pi/Desktop/images/02012026/15/35/image_02012026_15_35_16_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/31/image_02012026_15_31_26_10738.jpg
/home/pi/Desktop/images/02012026/15/32/image_02012026_15_32_36_10587.jpg
/home/pi/Desktop/images/02012026/15/32/image_02012026_15_33_05_9775.jpg
/home/pi/Desktop/images/02012026/15/33/image_02012026_15_33_16_10706.jpg
/home/pi/Desktop/images/02012026/15/34/image_02012026_15_34_25_9705.jpg
/home/pi/Desktop/images/02012026/15/35/image_02012026_15_35_16_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402168720","1402168717","1402168711","1402168718","1402168727","1402168709"],"photo_ids_order":["1402168709","1402168711","1402168717","1402168718","1402168720","1402168727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57388c0fe7b9b695208e5b6c27b3deec.jpg","text":"TemporaryFile(/tmp/multipartBody710520360790133279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366202969,"filename":"image_02012026_15_34_25_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/2/d75ce9d2fafddd0f2fd4f866f7766b19.jpg","text":"TemporaryFile(/tmp/multipartBody3459836201194514226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366202969,"filename":"image_02012026_15_33_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/2/b400984d47d5a0545e6e3b0a2771e1c2.jpg","text":"TemporaryFile(/tmp/multipartBody618505161572901407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366202969,"filename":"image_02012026_15_32_36_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/2/21331db00757925c8cf1b0b49f8951ee.jpg","text":"TemporaryFile(/tmp/multipartBody6536663689374380699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366202969,"filename":"image_02012026_15_33_16_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/2/1ac71445c1f484b84408490d0e39ae87.jpg","text":"TemporaryFile(/tmp/multipartBody6623999001173398287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366202969,"filename":"image_02012026_15_35_16_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/2/5bc0e5ac0319d28ab62da365b9de4bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7645744840406568883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366202969,"filename":"image_02012026_15_31_26_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402168717","file1":"1402168711","file0":"1402168709","file4":"1402168720","file5":"1402168727","file3":"1402168718"},"map_files_photo_id_array":[{"photo_id":"1402168727","filename":"file5"},{"photo_id":"1402168717","filename":"file2"},{"photo_id":"1402168720","filename":"file4"},{"photo_id":"1402168711","filename":"file1"},{"photo_id":"1402168709","filename":"file0"},{"photo_id":"1402168718","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402168720":["hashtag1","hashtag2"]},{"1402168717":["hashtag1","hashtag2"]},{"1402168711":["hashtag1","hashtag2"]},{"1402168718":["hashtag1","hashtag2"]},{"1402168727":["hashtag1","hashtag2"]},{"1402168709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402168720, 1402168717, 1402168711, 1402168718, 1402168727, 1402168709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.934919595718384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:03:03.184067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/35/image_02012026_15_35_35_9589.jpg', '/home/pi/Desktop/images/02012026/15/35/image_02012026_15_35_46_10678.jpg', '/home/pi/Desktop/images/02012026/15/36/image_02012026_15_36_16_10730.jpg', '/home/pi/Desktop/images/02012026/15/36/image_02012026_15_36_25_9629.jpg', '/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_16_9707.jpg', '/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_25_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/35/image_02012026_15_35_35_9589.jpg
/home/pi/Desktop/images/02012026/15/35/image_02012026_15_35_46_10678.jpg
/home/pi/Desktop/images/02012026/15/36/image_02012026_15_36_16_10730.jpg
/home/pi/Desktop/images/02012026/15/36/image_02012026_15_36_25_9629.jpg
/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_16_9707.jpg
/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_25_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":["1402168732","1402168741","1402168737","1402168734","1402168730","1402168744"],"photo_ids_order":["1402168730","1402168732","1402168734","1402168737","1402168741","1402168744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a3fc1177d3b4e8be82cdb0ed34a1009.jpg","text":"TemporaryFile(/tmp/multipartBody4177468369900199883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366243865,"filename":"image_02012026_15_35_46_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/2/c20e29abf084bc9d65704e9335bf658f.jpg","text":"TemporaryFile(/tmp/multipartBody8842346530188780325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366243865,"filename":"image_02012026_15_37_16_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/2/5e14d7eb4923823789f911c4eac200d4.jpg","text":"TemporaryFile(/tmp/multipartBody8892036802342180601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366243865,"filename":"image_02012026_15_36_25_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/2/2ecb040d58793697bb581f84e01ec80c.jpg","text":"TemporaryFile(/tmp/multipartBody902278144977429534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366243865,"filename":"image_02012026_15_36_16_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/2/cb87f9d57417581a405c5f547af6ce13.jpg","text":"TemporaryFile(/tmp/multipartBody7295552671139409654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366243865,"filename":"image_02012026_15_35_35_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/2/b59330ae562ff7d08708439d1d05580e.jpg","text":"TemporaryFile(/tmp/multipartBody528797571766102750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366243865,"filename":"image_02012026_15_37_25_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402168734","file1":"1402168732","file0":"1402168730","file4":"1402168741","file5":"1402168744","file3":"1402168737"},"map_files_photo_id_array":[{"photo_id":"1402168744","filename":"file5"},{"photo_id":"1402168734","filename":"file2"},{"photo_id":"1402168741","filename":"file4"},{"photo_id":"1402168732","filename":"file1"},{"photo_id":"1402168730","filename":"file0"},{"photo_id":"1402168737","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402168732":["hashtag1","hashtag2"]},{"1402168741":["hashtag1","hashtag2"]},{"1402168737":["hashtag1","hashtag2"]},{"1402168734":["hashtag1","hashtag2"]},{"1402168730":["hashtag1","hashtag2"]},{"1402168744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402168732, 1402168741, 1402168737, 1402168734, 1402168730, 1402168744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78666806221008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:03:42.525233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_24_2532.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_28_3600.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_31_2608.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_33_2652.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_37_3379.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_39_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_24_2532.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_28_3600.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_31_2608.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_33_2652.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_37_3379.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_39_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402168974","1402169261","1402169458","1402169353","1402169164","1402169071"],"photo_ids_order":["1402168974","1402169071","1402169164","1402169261","1402169353","1402169458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e326074e9b455d7e3719afcc09015e6d.jpg","text":"TemporaryFile(/tmp/multipartBody7329316535299464507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366284310,"filename":"image_05112025_19_26_24_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/2/a1d6ec42f5038a46c39b8eea6a5c08a3.jpg","text":"TemporaryFile(/tmp/multipartBody95055797553935657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366284310,"filename":"image_05112025_19_26_33_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/2/c31696179012cd5dbf6fda0168ab979d.jpg","text":"TemporaryFile(/tmp/multipartBody2781132258903883821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366284310,"filename":"image_05112025_19_26_39_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/2/fdff2ed1fc57522fb7ec094935674334.jpg","text":"TemporaryFile(/tmp/multipartBody7223942450516520178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366284310,"filename":"image_05112025_19_26_37_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/2/3dc4bcbafd678b5ade7845406c8c33c1.jpg","text":"TemporaryFile(/tmp/multipartBody7200182554754909843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366284310,"filename":"image_05112025_19_26_31_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/2/b8da2f5658a0900d72f41db1865b012b.jpg","text":"TemporaryFile(/tmp/multipartBody4510229694463088748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366284310,"filename":"image_05112025_19_26_28_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169164","file1":"1402169071","file0":"1402168974","file4":"1402169353","file5":"1402169458","file3":"1402169261"},"map_files_photo_id_array":[{"photo_id":"1402169458","filename":"file5"},{"photo_id":"1402169164","filename":"file2"},{"photo_id":"1402169353","filename":"file4"},{"photo_id":"1402169071","filename":"file1"},{"photo_id":"1402168974","filename":"file0"},{"photo_id":"1402169261","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402168974":["hashtag1","hashtag2"]},{"1402169261":["hashtag1","hashtag2"]},{"1402169458":["hashtag1","hashtag2"]},{"1402169353":["hashtag1","hashtag2"]},{"1402169164":["hashtag1","hashtag2"]},{"1402169071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402168974, 1402169261, 1402169458, 1402169353, 1402169164, 1402169071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46993041038513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:04:22.578102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_35_9633.jpg', '/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_46_10545.jpg', '/home/pi/Desktop/images/02012026/15/38/image_02012026_15_38_56_10674.jpg', '/home/pi/Desktop/images/02012026/15/39/image_02012026_15_39_26_10685.jpg', '/home/pi/Desktop/images/02012026/15/39/image_02012026_15_39_56_10657.jpg', '/home/pi/Desktop/images/02012026/15/40/image_02012026_15_40_36_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_35_9633.jpg
/home/pi/Desktop/images/02012026/15/37/image_02012026_15_37_46_10545.jpg
/home/pi/Desktop/images/02012026/15/38/image_02012026_15_38_56_10674.jpg
/home/pi/Desktop/images/02012026/15/39/image_02012026_15_39_26_10685.jpg
/home/pi/Desktop/images/02012026/15/39/image_02012026_15_39_56_10657.jpg
/home/pi/Desktop/images/02012026/15/40/image_02012026_15_40_36_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402169718","1402169727","1402169576","1402169578","1402169572","1402169641"],"photo_ids_order":["1402169572","1402169576","1402169578","1402169641","1402169718","1402169727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cf95983739c47fdb8788c8742ffc18a.jpg","text":"TemporaryFile(/tmp/multipartBody659676313528933253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366323125,"filename":"image_02012026_15_39_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/2/2ee0d1f254f8b2f29017bac1ec73f812.jpg","text":"TemporaryFile(/tmp/multipartBody1986107959256011173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366323125,"filename":"image_02012026_15_40_36_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/2/de52037728903770b164de06e8edd4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2602943118431914530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366323125,"filename":"image_02012026_15_37_46_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/2/fc75e6603f7a36eef4b4902af60813a6.jpg","text":"TemporaryFile(/tmp/multipartBody1771694147497468374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366323125,"filename":"image_02012026_15_38_56_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/2/d7a8a303ffdb219868ce1f4e54d66e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5233361969767671253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366323125,"filename":"image_02012026_15_37_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/2/84cf226327ba4e5121a3618d927c1827.jpg","text":"TemporaryFile(/tmp/multipartBody4299546851730772678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366323125,"filename":"image_02012026_15_39_26_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169578","file1":"1402169576","file0":"1402169572","file4":"1402169718","file5":"1402169727","file3":"1402169641"},"map_files_photo_id_array":[{"photo_id":"1402169727","filename":"file5"},{"photo_id":"1402169578","filename":"file2"},{"photo_id":"1402169718","filename":"file4"},{"photo_id":"1402169576","filename":"file1"},{"photo_id":"1402169572","filename":"file0"},{"photo_id":"1402169641","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402169718":["hashtag1","hashtag2"]},{"1402169727":["hashtag1","hashtag2"]},{"1402169576":["hashtag1","hashtag2"]},{"1402169578":["hashtag1","hashtag2"]},{"1402169572":["hashtag1","hashtag2"]},{"1402169641":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402169718, 1402169727, 1402169576, 1402169578, 1402169572, 1402169641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.000073194503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:05:02.741535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/40/image_02012026_15_40_45_9853.jpg', '/home/pi/Desktop/images/02012026/15/41/image_02012026_15_41_45_9663.jpg', '/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_25_9704.jpg', '/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_36_10538.jpg', '/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_56_10700.jpg', '/home/pi/Desktop/images/02012026/15/43/image_02012026_15_43_36_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/40/image_02012026_15_40_45_9853.jpg
/home/pi/Desktop/images/02012026/15/41/image_02012026_15_41_45_9663.jpg
/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_25_9704.jpg
/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_36_10538.jpg
/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_56_10700.jpg
/home/pi/Desktop/images/02012026/15/43/image_02012026_15_43_36_10729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5340480804443359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:05:11.991470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_43_3632.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_46_2602.jpg', '/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_48_2772.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_07_18477.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_08_1600.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_10_1737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_43_3632.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_46_2602.jpg
/home/pi/Desktop/images/05112025/19/26/image_05112025_19_26_48_2772.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_07_18477.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_08_1600.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_10_1737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402169832","1402169825","1402169828","1402169821","1402169830","1402169818"],"photo_ids_order":["1402169818","1402169821","1402169825","1402169828","1402169830","1402169832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/615ef6eb2c1a4c2a982d23567f060ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2578431502821667310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366373709,"filename":"image_05112025_19_27_10_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/2/977563fc9647b89a90befcca69eb7979.jpg","text":"TemporaryFile(/tmp/multipartBody5704876044867071472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366373709,"filename":"image_05112025_19_26_48_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/2/c75de13364de83cfaadf931933630b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7499012202374442701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366373709,"filename":"image_05112025_19_27_07_18477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/817fc8fe54b12c3640370263f930152e.jpg","text":"TemporaryFile(/tmp/multipartBody3700474826071026243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366373709,"filename":"image_05112025_19_26_46_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/2/6cd7dd86d93b9fa40cdd28a5177c29f5.jpg","text":"TemporaryFile(/tmp/multipartBody7491959328701610304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366373709,"filename":"image_05112025_19_27_08_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/2/a081ec73d8dd40d3ac361a57359c7f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8114047123601562011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366373709,"filename":"image_05112025_19_26_43_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169825","file1":"1402169821","file0":"1402169818","file4":"1402169830","file5":"1402169832","file3":"1402169828"},"map_files_photo_id_array":[{"photo_id":"1402169832","filename":"file5"},{"photo_id":"1402169825","filename":"file2"},{"photo_id":"1402169830","filename":"file4"},{"photo_id":"1402169821","filename":"file1"},{"photo_id":"1402169818","filename":"file0"},{"photo_id":"1402169828","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402169832":["hashtag1","hashtag2"]},{"1402169825":["hashtag1","hashtag2"]},{"1402169828":["hashtag1","hashtag2"]},{"1402169821":["hashtag1","hashtag2"]},{"1402169830":["hashtag1","hashtag2"]},{"1402169818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402169832, 1402169825, 1402169828, 1402169821, 1402169830, 1402169818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.528162717819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:06:02.553800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/40/image_02012026_15_40_45_9853.jpg', '/home/pi/Desktop/images/02012026/15/41/image_02012026_15_41_45_9663.jpg', '/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_25_9704.jpg', '/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_36_10538.jpg', '/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_56_10700.jpg', '/home/pi/Desktop/images/02012026/15/43/image_02012026_15_43_36_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/40/image_02012026_15_40_45_9853.jpg
/home/pi/Desktop/images/02012026/15/41/image_02012026_15_41_45_9663.jpg
/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_25_9704.jpg
/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_36_10538.jpg
/home/pi/Desktop/images/02012026/15/42/image_02012026_15_42_56_10700.jpg
/home/pi/Desktop/images/02012026/15/43/image_02012026_15_43_36_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":["1402169852","1402169840","1402169848","1402169842","1402169845","1402169839"],"photo_ids_order":["1402169839","1402169840","1402169842","1402169845","1402169848","1402169852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1d4b431806117f0c7fac3302cf18fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4161567485275154699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366423162,"filename":"image_02012026_15_43_36_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/2/8c647db9f0ad2b43eaf9c793f95e8780.jpg","text":"TemporaryFile(/tmp/multipartBody3672093400673518868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366423162,"filename":"image_02012026_15_41_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/2/a883f6f35d72a1dc15f2a2cc7e0a1e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5169473212710980583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366423162,"filename":"image_02012026_15_42_56_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/2/02a87316e883cc480b29b2c324f2c203.jpg","text":"TemporaryFile(/tmp/multipartBody8888760924987455794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366423162,"filename":"image_02012026_15_42_25_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/2/63a26bf640358476120fe2b231f616a7.jpg","text":"TemporaryFile(/tmp/multipartBody4758094684542616071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366423162,"filename":"image_02012026_15_42_36_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/994efa89a4b6c6de387ea25ecff31534.jpg","text":"TemporaryFile(/tmp/multipartBody5453116140063687609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366423162,"filename":"image_02012026_15_40_45_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169842","file1":"1402169840","file0":"1402169839","file4":"1402169848","file5":"1402169852","file3":"1402169845"},"map_files_photo_id_array":[{"photo_id":"1402169852","filename":"file5"},{"photo_id":"1402169842","filename":"file2"},{"photo_id":"1402169848","filename":"file4"},{"photo_id":"1402169840","filename":"file1"},{"photo_id":"1402169839","filename":"file0"},{"photo_id":"1402169845","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402169852":["hashtag1","hashtag2"]},{"1402169840":["hashtag1","hashtag2"]},{"1402169848":["hashtag1","hashtag2"]},{"1402169842":["hashtag1","hashtag2"]},{"1402169845":["hashtag1","hashtag2"]},{"1402169839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402169852, 1402169840, 1402169848, 1402169842, 1402169845, 1402169839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31906008720398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:06:42.143733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_12_1600.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_13_1718.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_15_1534.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_17_1716.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_18_1581.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_20_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_12_1600.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_13_1718.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_15_1534.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_17_1716.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_18_1581.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_20_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":["1402169877","1402169874","1402169876","1402169879","1402169872","1402169878"],"photo_ids_order":["1402169872","1402169874","1402169876","1402169877","1402169878","1402169879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/247271166c3a8607671b10436c324540.jpg","text":"TemporaryFile(/tmp/multipartBody5758947546381993682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366463930,"filename":"image_05112025_19_27_17_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/2/ee71843af5cd738fef7499555f05880b.jpg","text":"TemporaryFile(/tmp/multipartBody3777581948995162532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366463930,"filename":"image_05112025_19_27_13_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/2/a8b0e34ff6ea58b784f0b3f88f1c70cf.jpg","text":"TemporaryFile(/tmp/multipartBody5343555449069427013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366463930,"filename":"image_05112025_19_27_15_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/2/e2f1520e17ba73876f96a3006235512f.jpg","text":"TemporaryFile(/tmp/multipartBody5650677493612585737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366463930,"filename":"image_05112025_19_27_20_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/2/683b707470bc898576956a8f9b7b53ff.jpg","text":"TemporaryFile(/tmp/multipartBody2683188904472498655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366463930,"filename":"image_05112025_19_27_12_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/2/18397b5329f81839c1115debe9577e07.jpg","text":"TemporaryFile(/tmp/multipartBody3216092411111065072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366463930,"filename":"image_05112025_19_27_18_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169876","file1":"1402169874","file0":"1402169872","file4":"1402169878","file5":"1402169879","file3":"1402169877"},"map_files_photo_id_array":[{"photo_id":"1402169879","filename":"file5"},{"photo_id":"1402169876","filename":"file2"},{"photo_id":"1402169878","filename":"file4"},{"photo_id":"1402169874","filename":"file1"},{"photo_id":"1402169872","filename":"file0"},{"photo_id":"1402169877","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402169877":["hashtag1","hashtag2"]},{"1402169874":["hashtag1","hashtag2"]},{"1402169876":["hashtag1","hashtag2"]},{"1402169879":["hashtag1","hashtag2"]},{"1402169872":["hashtag1","hashtag2"]},{"1402169878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402169877, 1402169874, 1402169876, 1402169879, 1402169872, 1402169878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94458627700806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:07:22.278801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/43/image_02012026_15_43_46_9861.jpg', '/home/pi/Desktop/images/02012026/15/45/image_02012026_15_45_45_9784.jpg', '/home/pi/Desktop/images/02012026/15/45/image_02012026_15_46_05_9595.jpg', '/home/pi/Desktop/images/02012026/15/46/image_02012026_15_46_35_9611.jpg', '/home/pi/Desktop/images/02012026/15/46/image_02012026_15_47_05_9709.jpg', '/home/pi/Desktop/images/02012026/15/47/image_02012026_15_47_35_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/43/image_02012026_15_43_46_9861.jpg
/home/pi/Desktop/images/02012026/15/45/image_02012026_15_45_45_9784.jpg
/home/pi/Desktop/images/02012026/15/45/image_02012026_15_46_05_9595.jpg
/home/pi/Desktop/images/02012026/15/46/image_02012026_15_46_35_9611.jpg
/home/pi/Desktop/images/02012026/15/46/image_02012026_15_47_05_9709.jpg
/home/pi/Desktop/images/02012026/15/47/image_02012026_15_47_35_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402169892","1402169886","1402169894","1402169897","1402169895","1402169889"],"photo_ids_order":["1402169886","1402169889","1402169892","1402169894","1402169895","1402169897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17d0e6cf23feaed17970206b27793de3.jpg","text":"TemporaryFile(/tmp/multipartBody9221518792821213478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366502841,"filename":"image_02012026_15_46_05_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/2/44252af5bcb95b62956393494d964257.jpg","text":"TemporaryFile(/tmp/multipartBody8350245895548095402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366502841,"filename":"image_02012026_15_43_46_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/2/32bdb92e4b7d8089c164069f971dfada.jpg","text":"TemporaryFile(/tmp/multipartBody7030458189522587124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366502841,"filename":"image_02012026_15_46_35_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/2/faabec8499a162768eab1ea3a2a21d43.jpg","text":"TemporaryFile(/tmp/multipartBody8977122161866307580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366502841,"filename":"image_02012026_15_47_35_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/2/f448085aef5704f8a33bcba59228dae1.jpg","text":"TemporaryFile(/tmp/multipartBody2035198298517749560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366502841,"filename":"image_02012026_15_47_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/2/22f695b36a43d43406e312711396fc03.jpg","text":"TemporaryFile(/tmp/multipartBody6048986913501688572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366502841,"filename":"image_02012026_15_45_45_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169892","file1":"1402169889","file0":"1402169886","file4":"1402169895","file5":"1402169897","file3":"1402169894"},"map_files_photo_id_array":[{"photo_id":"1402169897","filename":"file5"},{"photo_id":"1402169892","filename":"file2"},{"photo_id":"1402169895","filename":"file4"},{"photo_id":"1402169889","filename":"file1"},{"photo_id":"1402169886","filename":"file0"},{"photo_id":"1402169894","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402169892":["hashtag1","hashtag2"]},{"1402169886":["hashtag1","hashtag2"]},{"1402169894":["hashtag1","hashtag2"]},{"1402169897":["hashtag1","hashtag2"]},{"1402169895":["hashtag1","hashtag2"]},{"1402169889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402169892, 1402169886, 1402169894, 1402169897, 1402169895, 1402169889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96374154090881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:08:03.053574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/48/image_02012026_15_48_25_9520.jpg', '/home/pi/Desktop/images/02012026/15/49/image_02012026_15_49_15_10357.jpg', '/home/pi/Desktop/images/02012026/15/49/image_02012026_15_49_49_13089.jpg', '/home/pi/Desktop/images/02012026/15/49/image_02012026_15_50_05_9628.jpg', '/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_16_10579.jpg', '/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_25_9308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/48/image_02012026_15_48_25_9520.jpg
/home/pi/Desktop/images/02012026/15/49/image_02012026_15_49_15_10357.jpg
/home/pi/Desktop/images/02012026/15/49/image_02012026_15_49_49_13089.jpg
/home/pi/Desktop/images/02012026/15/49/image_02012026_15_50_05_9628.jpg
/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_16_10579.jpg
/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_25_9308.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402169907","1402169924","1402169918","1402169927","1402169921","1402169929"],"photo_ids_order":["1402169907","1402169918","1402169921","1402169924","1402169927","1402169929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5ba44e5337a0c3a645959587ced68fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1383684402309784494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366543628,"filename":"image_02012026_15_48_25_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/2/87ff6d944073d051633f208901760614.jpg","text":"TemporaryFile(/tmp/multipartBody8897470686265205412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366543628,"filename":"image_02012026_15_50_05_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/2/e0866e127c7c16f211fafbc6e0d21861.jpg","text":"TemporaryFile(/tmp/multipartBody7388181295861937553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366543628,"filename":"image_02012026_15_49_15_10357.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd79f5ca1fa2bd4fbbb7e5ad5a57b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1809861693842969780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366543628,"filename":"image_02012026_15_50_16_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/2/0adf1d0198c2d2739d3855fb98de7aaa.jpg","text":"TemporaryFile(/tmp/multipartBody4044687527017211699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366543628,"filename":"image_02012026_15_49_49_13089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce7562f521bdcade91571975a9875249.jpg","text":"TemporaryFile(/tmp/multipartBody6144220239302683141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366543628,"filename":"image_02012026_15_50_25_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169921","file1":"1402169918","file0":"1402169907","file4":"1402169927","file5":"1402169929","file3":"1402169924"},"map_files_photo_id_array":[{"photo_id":"1402169929","filename":"file5"},{"photo_id":"1402169921","filename":"file2"},{"photo_id":"1402169927","filename":"file4"},{"photo_id":"1402169918","filename":"file1"},{"photo_id":"1402169907","filename":"file0"},{"photo_id":"1402169924","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402169907":["hashtag1","hashtag2"]},{"1402169924":["hashtag1","hashtag2"]},{"1402169918":["hashtag1","hashtag2"]},{"1402169927":["hashtag1","hashtag2"]},{"1402169921":["hashtag1","hashtag2"]},{"1402169929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402169907, 1402169924, 1402169918, 1402169927, 1402169921, 1402169929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30075144767761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:08:42.599827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_22_1777.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_23_1595.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_25_1836.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_28_2546.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_30_2588.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_34_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_22_1777.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_23_1595.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_25_1836.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_28_2546.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_30_2588.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_34_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":["1402169967","1402169955","1402169972","1402169966","1402169968","1402170002"],"photo_ids_order":["1402169955","1402169966","1402169967","1402169968","1402169972","1402170002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ebd37e4c4934ea4c3c890e759e5c5d36.jpg","text":"TemporaryFile(/tmp/multipartBody3005774052358130818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366584393,"filename":"image_05112025_19_27_25_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/2/5a787e6c474d776eb9d252bcc8cd4d36.jpg","text":"TemporaryFile(/tmp/multipartBody6844185438496502405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366584393,"filename":"image_05112025_19_27_22_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/2/f21518177bbe18e8e99bc3e46af6806f.jpg","text":"TemporaryFile(/tmp/multipartBody1877138198707477147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366584393,"filename":"image_05112025_19_27_30_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/2/574586ee4b49c1ac6d2a6ae78a9ab649.jpg","text":"TemporaryFile(/tmp/multipartBody7956426939390640997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366584393,"filename":"image_05112025_19_27_23_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/2/21b012f7d8ac3165ee1e7a95d80ca549.jpg","text":"TemporaryFile(/tmp/multipartBody497093659734952305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366584393,"filename":"image_05112025_19_27_28_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/2/7f044e4892db6283033cf069fcf2a883.jpg","text":"TemporaryFile(/tmp/multipartBody7896465133128328252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366584393,"filename":"image_05112025_19_27_34_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402169967","file1":"1402169966","file0":"1402169955","file4":"1402169972","file5":"1402170002","file3":"1402169968"},"map_files_photo_id_array":[{"photo_id":"1402170002","filename":"file5"},{"photo_id":"1402169967","filename":"file2"},{"photo_id":"1402169972","filename":"file4"},{"photo_id":"1402169966","filename":"file1"},{"photo_id":"1402169955","filename":"file0"},{"photo_id":"1402169968","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402169967":["hashtag1","hashtag2"]},{"1402169955":["hashtag1","hashtag2"]},{"1402169972":["hashtag1","hashtag2"]},{"1402169966":["hashtag1","hashtag2"]},{"1402169968":["hashtag1","hashtag2"]},{"1402170002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402169967, 1402169955, 1402169972, 1402169966, 1402169968, 1402170002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77936148643494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:09:22.880555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_45_9671.jpg', '/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_56_10540.jpg', '/home/pi/Desktop/images/02012026/15/50/image_02012026_15_51_05_9613.jpg', '/home/pi/Desktop/images/02012026/15/51/image_02012026_15_51_15_9567.jpg', '/home/pi/Desktop/images/02012026/15/51/image_02012026_15_51_45_9840.jpg', '/home/pi/Desktop/images/02012026/15/51/image_02012026_15_51_56_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_45_9671.jpg
/home/pi/Desktop/images/02012026/15/50/image_02012026_15_50_56_10540.jpg
/home/pi/Desktop/images/02012026/15/50/image_02012026_15_51_05_9613.jpg
/home/pi/Desktop/images/02012026/15/51/image_02012026_15_51_15_9567.jpg
/home/pi/Desktop/images/02012026/15/51/image_02012026_15_51_45_9840.jpg
/home/pi/Desktop/images/02012026/15/51/image_02012026_15_51_56_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170043","1402170010","1402170048","1402170042","1402170050","1402170053"],"photo_ids_order":["1402170010","1402170042","1402170043","1402170048","1402170050","1402170053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cb4a7929d11f0d58feaed964973ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody6598103353163186739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366623437,"filename":"image_02012026_15_51_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/2/1591bc69e81636d87c862bd5fed34639.jpg","text":"TemporaryFile(/tmp/multipartBody1589280342309963380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366623437,"filename":"image_02012026_15_50_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/2/a0f777ec4d7d5048022599f3920d3611.jpg","text":"TemporaryFile(/tmp/multipartBody6735011078906371671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366623437,"filename":"image_02012026_15_51_15_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/2/ce58f40fd3479ef06e0dcbfbb55e0431.jpg","text":"TemporaryFile(/tmp/multipartBody8133387346513869426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366623437,"filename":"image_02012026_15_50_56_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/2/3388040e88a73d9a75bc185372040e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3685987855682138157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366623437,"filename":"image_02012026_15_51_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/2/a12e5b244097fadf343a84444105969f.jpg","text":"TemporaryFile(/tmp/multipartBody6320175205196293970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366623437,"filename":"image_02012026_15_51_56_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170043","file1":"1402170042","file0":"1402170010","file4":"1402170050","file5":"1402170053","file3":"1402170048"},"map_files_photo_id_array":[{"photo_id":"1402170053","filename":"file5"},{"photo_id":"1402170043","filename":"file2"},{"photo_id":"1402170050","filename":"file4"},{"photo_id":"1402170042","filename":"file1"},{"photo_id":"1402170010","filename":"file0"},{"photo_id":"1402170048","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170043":["hashtag1","hashtag2"]},{"1402170010":["hashtag1","hashtag2"]},{"1402170048":["hashtag1","hashtag2"]},{"1402170042":["hashtag1","hashtag2"]},{"1402170050":["hashtag1","hashtag2"]},{"1402170053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170043, 1402170010, 1402170048, 1402170042, 1402170050, 1402170053)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.29917788505554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:10:13.049620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_37_2612.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_39_2657.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_42_2745.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_46_3777.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_51_4981.jpg', '/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_57_5893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_37_2612.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_39_2657.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_42_2745.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_46_3777.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_51_4981.jpg
/home/pi/Desktop/images/05112025/19/27/image_05112025_19_27_57_5893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170103","1402170109","1402170100","1402170105","1402170107","1402170097"],"photo_ids_order":["1402170097","1402170100","1402170103","1402170105","1402170107","1402170109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98d221a8ad3686aa28722c52b91b9f01.jpg","text":"TemporaryFile(/tmp/multipartBody7931650345257493754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366677168,"filename":"image_05112025_19_27_42_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/2/b97c7d985f13e37047df4ceb70e29358.jpg","text":"TemporaryFile(/tmp/multipartBody1577021934413920271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366677168,"filename":"image_05112025_19_27_57_5893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67cc90898fcf702dfac8af98c91d22c5.jpg","text":"TemporaryFile(/tmp/multipartBody3755330851003425673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366677168,"filename":"image_05112025_19_27_39_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/2/b15147f35ac217306a36cd6f440f8309.jpg","text":"TemporaryFile(/tmp/multipartBody615496948378536447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366677168,"filename":"image_05112025_19_27_46_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b0fbc075faa51f8700d89c102a867b3.jpg","text":"TemporaryFile(/tmp/multipartBody6943932777694802157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366677168,"filename":"image_05112025_19_27_51_4981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5bc75023daa3f06f8fa7b07664ad217d.jpg","text":"TemporaryFile(/tmp/multipartBody3820828393833542863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366677168,"filename":"image_05112025_19_27_37_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170103","file1":"1402170100","file0":"1402170097","file4":"1402170107","file5":"1402170109","file3":"1402170105"},"map_files_photo_id_array":[{"photo_id":"1402170109","filename":"file5"},{"photo_id":"1402170103","filename":"file2"},{"photo_id":"1402170107","filename":"file4"},{"photo_id":"1402170100","filename":"file1"},{"photo_id":"1402170097","filename":"file0"},{"photo_id":"1402170105","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170103":["hashtag1","hashtag2"]},{"1402170109":["hashtag1","hashtag2"]},{"1402170100":["hashtag1","hashtag2"]},{"1402170105":["hashtag1","hashtag2"]},{"1402170107":["hashtag1","hashtag2"]},{"1402170097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170103, 1402170109, 1402170100, 1402170105, 1402170107, 1402170097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.789968967437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:11:02.836972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/51/image_02012026_15_52_06_9734.jpg', '/home/pi/Desktop/images/02012026/15/52/image_02012026_15_52_25_9640.jpg', '/home/pi/Desktop/images/02012026/15/52/image_02012026_15_52_45_9749.jpg', '/home/pi/Desktop/images/02012026/15/52/image_02012026_15_52_55_9670.jpg', '/home/pi/Desktop/images/02012026/15/52/image_02012026_15_53_06_10606.jpg', '/home/pi/Desktop/images/02012026/15/53/image_02012026_15_53_15_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/51/image_02012026_15_52_06_9734.jpg
/home/pi/Desktop/images/02012026/15/52/image_02012026_15_52_25_9640.jpg
/home/pi/Desktop/images/02012026/15/52/image_02012026_15_52_45_9749.jpg
/home/pi/Desktop/images/02012026/15/52/image_02012026_15_52_55_9670.jpg
/home/pi/Desktop/images/02012026/15/52/image_02012026_15_53_06_10606.jpg
/home/pi/Desktop/images/02012026/15/53/image_02012026_15_53_15_9795.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":["1402170148","1402170138","1402170126","1402170141","1402170129","1402170146"],"photo_ids_order":["1402170126","1402170129","1402170138","1402170141","1402170146","1402170148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88517e507b9d642dd88cf5aa4ad9cb61.jpg","text":"TemporaryFile(/tmp/multipartBody8987356527281324049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366725831,"filename":"image_02012026_15_53_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/2/e3b02432fe92cc0e30a84bdea8b2b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody2923024098605326000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366725831,"filename":"image_02012026_15_52_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/2/a2aa77b17cb32eeec65f6533b9e2e56d.jpg","text":"TemporaryFile(/tmp/multipartBody2647457127475178972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366725831,"filename":"image_02012026_15_52_06_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/2/8b216d8d754186143b69e2fea2ad1c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1854593441419053011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366725831,"filename":"image_02012026_15_52_55_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/2/5b952c90b4b31e6daa861d3726b81da4.jpg","text":"TemporaryFile(/tmp/multipartBody1218966320441158382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366725831,"filename":"image_02012026_15_52_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/2/be7dad98602706c3afeb6781dd81dd05.jpg","text":"TemporaryFile(/tmp/multipartBody3508155541843877486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366725831,"filename":"image_02012026_15_53_06_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170138","file1":"1402170129","file0":"1402170126","file4":"1402170146","file5":"1402170148","file3":"1402170141"},"map_files_photo_id_array":[{"photo_id":"1402170148","filename":"file5"},{"photo_id":"1402170138","filename":"file2"},{"photo_id":"1402170146","filename":"file4"},{"photo_id":"1402170129","filename":"file1"},{"photo_id":"1402170126","filename":"file0"},{"photo_id":"1402170141","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170148":["hashtag1","hashtag2"]},{"1402170138":["hashtag1","hashtag2"]},{"1402170126":["hashtag1","hashtag2"]},{"1402170141":["hashtag1","hashtag2"]},{"1402170129":["hashtag1","hashtag2"]},{"1402170146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170148, 1402170138, 1402170126, 1402170141, 1402170129, 1402170146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.948426485061646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:12:02.741184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 16:12:12.367354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_03_5881.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_04_1634.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_06_1704.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_09_1675.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_11_1666.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_13_1770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_03_5881.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_04_1634.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_06_1704.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_09_1675.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_11_1666.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_13_1770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170180","1402170174","1402170177","1402170188","1402170182","1402170190"],"photo_ids_order":["1402170174","1402170177","1402170180","1402170182","1402170188","1402170190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/79f98cdf1480ab0d68cf8172a8e39a90.jpg","text":"TemporaryFile(/tmp/multipartBody8983110379156638591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366795950,"filename":"image_05112025_19_28_06_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/2/81ef5a29c7302ed17dc51fed9054b123.jpg","text":"TemporaryFile(/tmp/multipartBody8522067140010055889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366795950,"filename":"image_05112025_19_28_03_5881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/08b6a8c9fe55948e672fb406105dd2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2210612318127124523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366795950,"filename":"image_05112025_19_28_04_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/2/d50d6ecad5ac67409d315128c2e78e10.jpg","text":"TemporaryFile(/tmp/multipartBody4685087515899752995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366795950,"filename":"image_05112025_19_28_11_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/2/fd8e684d6f98278f5d336e003dc2a753.jpg","text":"TemporaryFile(/tmp/multipartBody9217273405151565571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366795950,"filename":"image_05112025_19_28_09_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/2/bf31227a7e760f3aca2b649942b50d75.jpg","text":"TemporaryFile(/tmp/multipartBody3174584788170759066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366795950,"filename":"image_05112025_19_28_13_1770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170180","file1":"1402170177","file0":"1402170174","file4":"1402170188","file5":"1402170190","file3":"1402170182"},"map_files_photo_id_array":[{"photo_id":"1402170190","filename":"file5"},{"photo_id":"1402170180","filename":"file2"},{"photo_id":"1402170188","filename":"file4"},{"photo_id":"1402170177","filename":"file1"},{"photo_id":"1402170174","filename":"file0"},{"photo_id":"1402170182","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170180":["hashtag1","hashtag2"]},{"1402170174":["hashtag1","hashtag2"]},{"1402170177":["hashtag1","hashtag2"]},{"1402170188":["hashtag1","hashtag2"]},{"1402170182":["hashtag1","hashtag2"]},{"1402170190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170180, 1402170174, 1402170177, 1402170188, 1402170182, 1402170190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.513646364212036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:13:03.278407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/53/image_02012026_15_53_46_9886.jpg', '/home/pi/Desktop/images/02012026/15/54/image_02012026_15_54_25_9662.jpg', '/home/pi/Desktop/images/02012026/15/55/image_02012026_15_56_05_9749.jpg', '/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_15_9769.jpg', '/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_25_9891.jpg', '/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_36_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/53/image_02012026_15_53_46_9886.jpg
/home/pi/Desktop/images/02012026/15/54/image_02012026_15_54_25_9662.jpg
/home/pi/Desktop/images/02012026/15/55/image_02012026_15_56_05_9749.jpg
/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_15_9769.jpg
/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_25_9891.jpg
/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_36_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170217","1402170228","1402170222","1402170201","1402170197","1402170199"],"photo_ids_order":["1402170197","1402170199","1402170201","1402170217","1402170222","1402170228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d9b76671629f4d0029a785ebcfe0b15c.jpg","text":"TemporaryFile(/tmp/multipartBody8564247496168187060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366843890,"filename":"image_02012026_15_56_15_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/2/a938cb766a7853f489b30414c57fcf09.jpg","text":"TemporaryFile(/tmp/multipartBody5009048786052625093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366843890,"filename":"image_02012026_15_56_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/2/2df5a9e5dbce40ef8fbf0a1a645dd8e5.jpg","text":"TemporaryFile(/tmp/multipartBody8177307367977170321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366843890,"filename":"image_02012026_15_56_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/2/9ef8537a632d7c6e09205123be1f03a2.jpg","text":"TemporaryFile(/tmp/multipartBody1882777136628519700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366843890,"filename":"image_02012026_15_56_05_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/2/174194b40908745a336e0a9fa5c7310a.jpg","text":"TemporaryFile(/tmp/multipartBody8048751552046825783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366843890,"filename":"image_02012026_15_53_46_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/2/31b94c1d1f8a73775f4fd8a32e16fe51.jpg","text":"TemporaryFile(/tmp/multipartBody7048407839030744482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366843890,"filename":"image_02012026_15_54_25_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170201","file1":"1402170199","file0":"1402170197","file4":"1402170222","file5":"1402170228","file3":"1402170217"},"map_files_photo_id_array":[{"photo_id":"1402170228","filename":"file5"},{"photo_id":"1402170201","filename":"file2"},{"photo_id":"1402170222","filename":"file4"},{"photo_id":"1402170199","filename":"file1"},{"photo_id":"1402170197","filename":"file0"},{"photo_id":"1402170217","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170217":["hashtag1","hashtag2"]},{"1402170228":["hashtag1","hashtag2"]},{"1402170222":["hashtag1","hashtag2"]},{"1402170201":["hashtag1","hashtag2"]},{"1402170197":["hashtag1","hashtag2"]},{"1402170199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170217, 1402170228, 1402170222, 1402170201, 1402170197, 1402170199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70934557914734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:13:42.556884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_16_2831.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_18_2592.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_22_3461.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_24_2655.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_28_3546.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_31_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_16_2831.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_18_2592.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_22_3461.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_24_2655.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_28_3546.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_31_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170325","1402170307","1402170278","1402170323","1402170305","1402170314"],"photo_ids_order":["1402170278","1402170305","1402170307","1402170314","1402170323","1402170325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0c67d3c97726f3d866bc4f310489a9dd.jpg","text":"TemporaryFile(/tmp/multipartBody247077604332912712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366884355,"filename":"image_05112025_19_28_31_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/2/07c14e0dedae913e3846d50cf0405771.jpg","text":"TemporaryFile(/tmp/multipartBody2493553143277615455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366884355,"filename":"image_05112025_19_28_22_3461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1b41210379e39b7b55a59984a3796baf.jpg","text":"TemporaryFile(/tmp/multipartBody3483404524271029901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366884355,"filename":"image_05112025_19_28_16_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/2/f98b0253b786f4fb14544c12f894a404.jpg","text":"TemporaryFile(/tmp/multipartBody8706985787362134413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366884355,"filename":"image_05112025_19_28_28_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53947a4dec0f1d5be4365c94cdbc01cc.jpg","text":"TemporaryFile(/tmp/multipartBody7013364422841154621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366884355,"filename":"image_05112025_19_28_18_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/2/676aedea8fc075f6fbf8bdba02bed643.jpg","text":"TemporaryFile(/tmp/multipartBody5212792156083502046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366884355,"filename":"image_05112025_19_28_24_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170307","file1":"1402170305","file0":"1402170278","file4":"1402170323","file5":"1402170325","file3":"1402170314"},"map_files_photo_id_array":[{"photo_id":"1402170325","filename":"file5"},{"photo_id":"1402170307","filename":"file2"},{"photo_id":"1402170323","filename":"file4"},{"photo_id":"1402170305","filename":"file1"},{"photo_id":"1402170278","filename":"file0"},{"photo_id":"1402170314","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170325":["hashtag1","hashtag2"]},{"1402170307":["hashtag1","hashtag2"]},{"1402170278":["hashtag1","hashtag2"]},{"1402170323":["hashtag1","hashtag2"]},{"1402170305":["hashtag1","hashtag2"]},{"1402170314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170325, 1402170307, 1402170278, 1402170323, 1402170305, 1402170314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1492121219635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:14:22.726264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_45_9679.jpg', '/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_55_9719.jpg', '/home/pi/Desktop/images/02012026/15/56/image_02012026_15_57_05_9992.jpg', '/home/pi/Desktop/images/02012026/15/57/image_02012026_15_57_25_9660.jpg', '/home/pi/Desktop/images/02012026/15/57/image_02012026_15_57_46_10722.jpg', '/home/pi/Desktop/images/02012026/15/57/image_02012026_15_58_05_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_45_9679.jpg
/home/pi/Desktop/images/02012026/15/56/image_02012026_15_56_55_9719.jpg
/home/pi/Desktop/images/02012026/15/56/image_02012026_15_57_05_9992.jpg
/home/pi/Desktop/images/02012026/15/57/image_02012026_15_57_25_9660.jpg
/home/pi/Desktop/images/02012026/15/57/image_02012026_15_57_46_10722.jpg
/home/pi/Desktop/images/02012026/15/57/image_02012026_15_58_05_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":["1402170352","1402170363","1402170374","1402170353","1402170356","1402170361"],"photo_ids_order":["1402170352","1402170353","1402170356","1402170361","1402170363","1402170374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cbec254117692a3abf75932671dde730.jpg","text":"TemporaryFile(/tmp/multipartBody2650020436845929639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366923287,"filename":"image_02012026_15_56_45_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/2/27af5322616a739106dd5939a52cd16c.jpg","text":"TemporaryFile(/tmp/multipartBody958800160939298050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366923287,"filename":"image_02012026_15_57_46_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/2/2ccc1def7c53067621b6283046a2d84e.jpg","text":"TemporaryFile(/tmp/multipartBody2787065490282439483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366923287,"filename":"image_02012026_15_58_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/2/134506175355985a71c655effff2119e.jpg","text":"TemporaryFile(/tmp/multipartBody4078229718388830200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366923287,"filename":"image_02012026_15_56_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/2/10781695daf3074240ba780f3099a2d4.jpg","text":"TemporaryFile(/tmp/multipartBody6661368297601992697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366923287,"filename":"image_02012026_15_57_05_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3774dfca455d094dd4ee3fba4c0a4539.jpg","text":"TemporaryFile(/tmp/multipartBody4492150344215234492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366923287,"filename":"image_02012026_15_57_25_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170356","file1":"1402170353","file0":"1402170352","file4":"1402170363","file5":"1402170374","file3":"1402170361"},"map_files_photo_id_array":[{"photo_id":"1402170374","filename":"file5"},{"photo_id":"1402170356","filename":"file2"},{"photo_id":"1402170363","filename":"file4"},{"photo_id":"1402170353","filename":"file1"},{"photo_id":"1402170352","filename":"file0"},{"photo_id":"1402170361","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170352":["hashtag1","hashtag2"]},{"1402170363":["hashtag1","hashtag2"]},{"1402170374":["hashtag1","hashtag2"]},{"1402170353":["hashtag1","hashtag2"]},{"1402170356":["hashtag1","hashtag2"]},{"1402170361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170352, 1402170363, 1402170374, 1402170353, 1402170356, 1402170361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.509496450424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:15:02.698799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_16_10727.jpg', '/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_25_9572.jpg', '/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_35_9717.jpg', '/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_46_10681.jpg', '/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_55_9613.jpg', '/home/pi/Desktop/images/02012026/15/59/image_02012026_15_59_26_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_16_10727.jpg
/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_25_9572.jpg
/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_35_9717.jpg
/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_46_10681.jpg
/home/pi/Desktop/images/02012026/15/58/image_02012026_15_58_55_9613.jpg
/home/pi/Desktop/images/02012026/15/59/image_02012026_15_59_26_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170393","1402170381","1402170384","1402170398","1402170383","1402170386"],"photo_ids_order":["1402170381","1402170383","1402170384","1402170386","1402170393","1402170398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff699afb74eddbd82334f2640f1cedf3.jpg","text":"TemporaryFile(/tmp/multipartBody4364544957451494847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366963335,"filename":"image_02012026_15_58_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/2/bab2310fc6c13e60f3e3b5470de8c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody607118089984149250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366963335,"filename":"image_02012026_15_58_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/2/67bf9e50e264e9929ea059aaf86553f5.jpg","text":"TemporaryFile(/tmp/multipartBody3677544042780184479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366963335,"filename":"image_02012026_15_58_35_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/2/8bb5457d88d7b1766cdbc3aaedfe7295.jpg","text":"TemporaryFile(/tmp/multipartBody744394820319049634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366963335,"filename":"image_02012026_15_59_26_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/2/6ec9a33b5b1025359029dc3de41e3fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6914582415712749695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366963335,"filename":"image_02012026_15_58_25_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/2/3c625f8edf489d5eb925ad8278605418.jpg","text":"TemporaryFile(/tmp/multipartBody1426271988407429320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767366963335,"filename":"image_02012026_15_58_46_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170384","file1":"1402170383","file0":"1402170381","file4":"1402170393","file5":"1402170398","file3":"1402170386"},"map_files_photo_id_array":[{"photo_id":"1402170398","filename":"file5"},{"photo_id":"1402170384","filename":"file2"},{"photo_id":"1402170393","filename":"file4"},{"photo_id":"1402170383","filename":"file1"},{"photo_id":"1402170381","filename":"file0"},{"photo_id":"1402170386","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170393":["hashtag1","hashtag2"]},{"1402170381":["hashtag1","hashtag2"]},{"1402170384":["hashtag1","hashtag2"]},{"1402170398":["hashtag1","hashtag2"]},{"1402170383":["hashtag1","hashtag2"]},{"1402170386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170393, 1402170381, 1402170384, 1402170398, 1402170383, 1402170386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26780605316162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:15:41.928587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_34_3036.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_36_2739.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_39_2734.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_43_3627.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_48_4929.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_49_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_34_3036.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_36_2739.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_39_2734.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_43_3627.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_48_4929.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_49_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170430","1402170427","1402170421","1402170423","1402170429","1402170422"],"photo_ids_order":["1402170421","1402170422","1402170423","1402170427","1402170429","1402170430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a09bbb59c9d84252fbdadef16418987.jpg","text":"TemporaryFile(/tmp/multipartBody3322490622730479148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367003721,"filename":"image_05112025_19_28_49_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/2/a336e99e31669d48ec6cbc813aebb8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6910888110777465417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367003721,"filename":"image_05112025_19_28_43_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/2/d0c767aadb21ead4b8e3a1e537098a15.jpg","text":"TemporaryFile(/tmp/multipartBody5964420838689789309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367003721,"filename":"image_05112025_19_28_34_3036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e66047fd6d8b34e4d737188f6eb4fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody2383491673283883168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367003721,"filename":"image_05112025_19_28_39_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/2/a6629761ad2af2f652cf08000cd2d600.jpg","text":"TemporaryFile(/tmp/multipartBody4273946118422277564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367003721,"filename":"image_05112025_19_28_48_4929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28c960dba0c60e9245b53d17898a9113.jpg","text":"TemporaryFile(/tmp/multipartBody4893538348839083913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367003721,"filename":"image_05112025_19_28_36_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170423","file1":"1402170422","file0":"1402170421","file4":"1402170429","file5":"1402170430","file3":"1402170427"},"map_files_photo_id_array":[{"photo_id":"1402170430","filename":"file5"},{"photo_id":"1402170423","filename":"file2"},{"photo_id":"1402170429","filename":"file4"},{"photo_id":"1402170422","filename":"file1"},{"photo_id":"1402170421","filename":"file0"},{"photo_id":"1402170427","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170430":["hashtag1","hashtag2"]},{"1402170427":["hashtag1","hashtag2"]},{"1402170421":["hashtag1","hashtag2"]},{"1402170423":["hashtag1","hashtag2"]},{"1402170429":["hashtag1","hashtag2"]},{"1402170422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170430, 1402170427, 1402170421, 1402170423, 1402170429, 1402170422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.206167459487915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:16:22.155516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/15/59/image_02012026_15_59_55_9621.jpg', '/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_14_10051.jpg', '/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_25_10824.jpg', '/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_35_9649.jpg', '/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_44_9584.jpg', '/home/pi/Desktop/images/02012026/16/00/image_02012026_16_01_05_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/15/59/image_02012026_15_59_55_9621.jpg
/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_14_10051.jpg
/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_25_10824.jpg
/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_35_9649.jpg
/home/pi/Desktop/images/02012026/16/00/image_02012026_16_00_44_9584.jpg
/home/pi/Desktop/images/02012026/16/00/image_02012026_16_01_05_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":["1402170451","1402170439","1402170433","1402170435","1402170443","1402170437"],"photo_ids_order":["1402170433","1402170435","1402170437","1402170439","1402170443","1402170451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f160f97a985e3d1806071bd69b108eb.jpg","text":"TemporaryFile(/tmp/multipartBody8639017993697142478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367042727,"filename":"image_02012026_16_01_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/2/63d718301b62ccf70a03946dacebd904.jpg","text":"TemporaryFile(/tmp/multipartBody5369747820817016519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367042727,"filename":"image_02012026_16_00_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/2/03be149123df67b380322c7aeadc795e.jpg","text":"TemporaryFile(/tmp/multipartBody8662424949887740653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367042727,"filename":"image_02012026_15_59_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/2/483ba08c80f75842fc78f59518d3fb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4832516930856602740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367042727,"filename":"image_02012026_16_00_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e498c60b2cc23e6b5895887bf57215cd.jpg","text":"TemporaryFile(/tmp/multipartBody1878382207907509555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367042727,"filename":"image_02012026_16_00_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/2/187e839d288de109b3da1b2b8ab322e4.jpg","text":"TemporaryFile(/tmp/multipartBody4595386135771617092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367042727,"filename":"image_02012026_16_00_25_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170437","file1":"1402170435","file0":"1402170433","file4":"1402170443","file5":"1402170451","file3":"1402170439"},"map_files_photo_id_array":[{"photo_id":"1402170451","filename":"file5"},{"photo_id":"1402170437","filename":"file2"},{"photo_id":"1402170443","filename":"file4"},{"photo_id":"1402170435","filename":"file1"},{"photo_id":"1402170433","filename":"file0"},{"photo_id":"1402170439","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170451":["hashtag1","hashtag2"]},{"1402170439":["hashtag1","hashtag2"]},{"1402170433":["hashtag1","hashtag2"]},{"1402170435":["hashtag1","hashtag2"]},{"1402170443":["hashtag1","hashtag2"]},{"1402170437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170451, 1402170439, 1402170433, 1402170435, 1402170443, 1402170437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25620746612549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:17:03.081528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_14_9749.jpg', '/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_25_10738.jpg', '/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_35_10022.jpg', '/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_45_9646.jpg', '/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_55_9962.jpg', '/home/pi/Desktop/images/02012026/16/01/image_02012026_16_02_04_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_14_9749.jpg
/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_25_10738.jpg
/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_35_10022.jpg
/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_45_9646.jpg
/home/pi/Desktop/images/02012026/16/01/image_02012026_16_01_55_9962.jpg
/home/pi/Desktop/images/02012026/16/01/image_02012026_16_02_04_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":["1402170466","1402170462","1402170459","1402170464","1402170458","1402170460"],"photo_ids_order":["1402170458","1402170459","1402170460","1402170462","1402170464","1402170466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/70c6fdf0bab8b8ba48ebb163a2dd2e36.jpg","text":"TemporaryFile(/tmp/multipartBody3109914543061476703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367083751,"filename":"image_02012026_16_02_04_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/2/fbdfd51f81c2dd62412983fc2362389e.jpg","text":"TemporaryFile(/tmp/multipartBody7218845936174197325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367083751,"filename":"image_02012026_16_01_45_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/2/f7a7d47325c72a861c25187d515acac7.jpg","text":"TemporaryFile(/tmp/multipartBody9058240896587793925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367083751,"filename":"image_02012026_16_01_25_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/2/cf53ced2cb35813067b7baf423ad95be.jpg","text":"TemporaryFile(/tmp/multipartBody996831671156796062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367083751,"filename":"image_02012026_16_01_55_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/2/42a19bbc2b717c777b9a487a360dcec8.jpg","text":"TemporaryFile(/tmp/multipartBody7632914761157407135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367083751,"filename":"image_02012026_16_01_14_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/2/6e383f28ea594b8ba3221e198f53ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody518249383321901898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367083751,"filename":"image_02012026_16_01_35_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170460","file1":"1402170459","file0":"1402170458","file4":"1402170464","file5":"1402170466","file3":"1402170462"},"map_files_photo_id_array":[{"photo_id":"1402170466","filename":"file5"},{"photo_id":"1402170460","filename":"file2"},{"photo_id":"1402170464","filename":"file4"},{"photo_id":"1402170459","filename":"file1"},{"photo_id":"1402170458","filename":"file0"},{"photo_id":"1402170462","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170466":["hashtag1","hashtag2"]},{"1402170462":["hashtag1","hashtag2"]},{"1402170459":["hashtag1","hashtag2"]},{"1402170464":["hashtag1","hashtag2"]},{"1402170458":["hashtag1","hashtag2"]},{"1402170460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170466, 1402170462, 1402170459, 1402170464, 1402170458, 1402170460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.368308782577515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:17:42.329932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_51_1673.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_54_3511.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_57_2710.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_29_01_3623.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_03_2675.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_06_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_51_1673.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_54_3511.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_57_2710.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_29_01_3623.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_03_2675.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_06_2580.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7461402416229248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:18:03.941350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_25_9654.jpg', '/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_34_9775.jpg', '/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_44_9723.jpg', '/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_55_10632.jpg', '/home/pi/Desktop/images/02012026/16/02/image_02012026_16_03_05_9745.jpg', '/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_25_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_25_9654.jpg
/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_34_9775.jpg
/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_44_9723.jpg
/home/pi/Desktop/images/02012026/16/02/image_02012026_16_02_55_10632.jpg
/home/pi/Desktop/images/02012026/16/02/image_02012026_16_03_05_9745.jpg
/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_25_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170523","1402170489","1402170491","1402170521","1402170518","1402170493"],"photo_ids_order":["1402170489","1402170491","1402170493","1402170518","1402170521","1402170523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73347f61b842513c39e1d37ba74b1046.jpg","text":"TemporaryFile(/tmp/multipartBody5558869853074625935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367144512,"filename":"image_02012026_16_03_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/2/15446131bc593ad406329192b5db45b4.jpg","text":"TemporaryFile(/tmp/multipartBody7595065208555844335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367144512,"filename":"image_02012026_16_02_25_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/2/23862f0436ce0cb7015535d275f1309c.jpg","text":"TemporaryFile(/tmp/multipartBody8431701194331200077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367144512,"filename":"image_02012026_16_02_34_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/2/150a6dc926697fc018737a65a3d5cecd.jpg","text":"TemporaryFile(/tmp/multipartBody2184618443527244122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367144512,"filename":"image_02012026_16_03_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/2/19b8f9823ce8fcd08213a11d0ec87be4.jpg","text":"TemporaryFile(/tmp/multipartBody6217027004815040931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367144512,"filename":"image_02012026_16_02_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/2/0824dd7a095c971ab7f963a1a96562ca.jpg","text":"TemporaryFile(/tmp/multipartBody3460633366135198328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367144512,"filename":"image_02012026_16_02_44_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170493","file1":"1402170491","file0":"1402170489","file4":"1402170521","file5":"1402170523","file3":"1402170518"},"map_files_photo_id_array":[{"photo_id":"1402170523","filename":"file5"},{"photo_id":"1402170493","filename":"file2"},{"photo_id":"1402170521","filename":"file4"},{"photo_id":"1402170491","filename":"file1"},{"photo_id":"1402170489","filename":"file0"},{"photo_id":"1402170518","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170523":["hashtag1","hashtag2"]},{"1402170489":["hashtag1","hashtag2"]},{"1402170491":["hashtag1","hashtag2"]},{"1402170521":["hashtag1","hashtag2"]},{"1402170518":["hashtag1","hashtag2"]},{"1402170493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170523, 1402170489, 1402170491, 1402170521, 1402170518, 1402170493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95193362236023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:18:43.207894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_51_1673.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_54_3511.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_57_2710.jpg', '/home/pi/Desktop/images/05112025/19/28/image_05112025_19_29_01_3623.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_03_2675.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_06_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_51_1673.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_54_3511.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_28_57_2710.jpg
/home/pi/Desktop/images/05112025/19/28/image_05112025_19_29_01_3623.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_03_2675.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_06_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170544","1402170538","1402170543","1402170537","1402170542","1402170541"],"photo_ids_order":["1402170537","1402170538","1402170541","1402170542","1402170543","1402170544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e24c18d313a299d8e4569c90cf88137f.jpg","text":"TemporaryFile(/tmp/multipartBody340435401327511552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367184867,"filename":"image_05112025_19_29_06_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/2/0d929561f18fbd744e019a9949c7f595.jpg","text":"TemporaryFile(/tmp/multipartBody3045476376849403041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367184867,"filename":"image_05112025_19_28_54_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/2/e5857762d6bf1681b0265ff0d2d717fc.jpg","text":"TemporaryFile(/tmp/multipartBody3161386690552402141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367184867,"filename":"image_05112025_19_29_03_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/2/8c7c5c7ec9f7404a5c6afdf872a91c39.jpg","text":"TemporaryFile(/tmp/multipartBody1533514551147023500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367184867,"filename":"image_05112025_19_28_51_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/2/070dc52c6facfb76bd834ccbb6983822.jpg","text":"TemporaryFile(/tmp/multipartBody5939022226939373950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367184867,"filename":"image_05112025_19_29_01_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/2/4c36e534ed37d1dec6cc35d2cec5b62a.jpg","text":"TemporaryFile(/tmp/multipartBody8717969052106770438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367184867,"filename":"image_05112025_19_28_57_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170541","file1":"1402170538","file0":"1402170537","file4":"1402170543","file5":"1402170544","file3":"1402170542"},"map_files_photo_id_array":[{"photo_id":"1402170544","filename":"file5"},{"photo_id":"1402170541","filename":"file2"},{"photo_id":"1402170543","filename":"file4"},{"photo_id":"1402170538","filename":"file1"},{"photo_id":"1402170537","filename":"file0"},{"photo_id":"1402170542","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170544":["hashtag1","hashtag2"]},{"1402170538":["hashtag1","hashtag2"]},{"1402170543":["hashtag1","hashtag2"]},{"1402170537":["hashtag1","hashtag2"]},{"1402170542":["hashtag1","hashtag2"]},{"1402170541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170544, 1402170538, 1402170543, 1402170537, 1402170542, 1402170541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.077049255371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:19:24.829662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_35_9578.jpg', '/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_45_10587.jpg', '/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_55_9781.jpg', '/home/pi/Desktop/images/02012026/16/03/image_02012026_16_04_04_9591.jpg', '/home/pi/Desktop/images/02012026/16/04/image_02012026_16_04_14_9776.jpg', '/home/pi/Desktop/images/02012026/16/04/image_02012026_16_04_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_35_9578.jpg
/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_45_10587.jpg
/home/pi/Desktop/images/02012026/16/03/image_02012026_16_03_55_9781.jpg
/home/pi/Desktop/images/02012026/16/03/image_02012026_16_04_04_9591.jpg
/home/pi/Desktop/images/02012026/16/04/image_02012026_16_04_14_9776.jpg
/home/pi/Desktop/images/02012026/16/04/image_02012026_16_04_25_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170550","1402170552","1402170558","1402170560","1402170554","1402170556"],"photo_ids_order":["1402170550","1402170552","1402170554","1402170556","1402170558","1402170560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f0f145ebcd1565238a427954422a0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2908057344128943425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367225406,"filename":"image_02012026_16_03_35_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/2/95406d8eddbef3a89e86506d60d7170b.jpg","text":"TemporaryFile(/tmp/multipartBody5318349342164520721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367225406,"filename":"image_02012026_16_03_45_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/2/2e83019bee4e276a2c0cfe5b19312aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5247905226777240237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367225406,"filename":"image_02012026_16_04_14_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/2/f3f41889e706e79086b21efa26259d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2603736174486416900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367225406,"filename":"image_02012026_16_04_25_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/2/31b7096839573aa7da6ed274a74a390c.jpg","text":"TemporaryFile(/tmp/multipartBody3060252624998247793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367225406,"filename":"image_02012026_16_03_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/2/3a69430aac42c9bb2c98421cde75fda5.jpg","text":"TemporaryFile(/tmp/multipartBody7919775632065595002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367225406,"filename":"image_02012026_16_04_04_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170554","file1":"1402170552","file0":"1402170550","file4":"1402170558","file5":"1402170560","file3":"1402170556"},"map_files_photo_id_array":[{"photo_id":"1402170560","filename":"file5"},{"photo_id":"1402170554","filename":"file2"},{"photo_id":"1402170558","filename":"file4"},{"photo_id":"1402170552","filename":"file1"},{"photo_id":"1402170550","filename":"file0"},{"photo_id":"1402170556","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170550":["hashtag1","hashtag2"]},{"1402170552":["hashtag1","hashtag2"]},{"1402170558":["hashtag1","hashtag2"]},{"1402170560":["hashtag1","hashtag2"]},{"1402170554":["hashtag1","hashtag2"]},{"1402170556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170550, 1402170552, 1402170558, 1402170560, 1402170554, 1402170556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34466505050659 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-02 16:20:15.801408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_10_3594.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_15_2578.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_19_3658.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_21_2598.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_25_3543.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_27_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_10_3594.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_15_2578.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_19_3658.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_21_2598.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_25_3543.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_27_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170628","1402170564","1402170566","1402170641","1402170586","1402170649"],"photo_ids_order":["1402170564","1402170566","1402170586","1402170628","1402170641","1402170649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f1f604c44a05e4b43864cab847ac7a2e.jpg","text":"TemporaryFile(/tmp/multipartBody769795834548055063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367277517,"filename":"image_05112025_19_29_21_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/2/7982c141375e1570a04238cf5b898ea3.jpg","text":"TemporaryFile(/tmp/multipartBody6172198294860578939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367277517,"filename":"image_05112025_19_29_10_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/2/d3aac50c1ba8b538a32e9b1e76b3aac2.jpg","text":"TemporaryFile(/tmp/multipartBody148185853120194420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367277517,"filename":"image_05112025_19_29_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/2/a46f14c9d107f0b3721cef45b52f9b24.jpg","text":"TemporaryFile(/tmp/multipartBody5810813472150904471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367277517,"filename":"image_05112025_19_29_25_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/2/60c4fbb24e0e5ea120cd8d946ab8a001.jpg","text":"TemporaryFile(/tmp/multipartBody2519608575454221346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367277517,"filename":"image_05112025_19_29_19_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a5167b189ed26b2e934baca69beedf32.jpg","text":"TemporaryFile(/tmp/multipartBody688258122877901718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367277517,"filename":"image_05112025_19_29_27_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170586","file1":"1402170566","file0":"1402170564","file4":"1402170641","file5":"1402170649","file3":"1402170628"},"map_files_photo_id_array":[{"photo_id":"1402170649","filename":"file5"},{"photo_id":"1402170586","filename":"file2"},{"photo_id":"1402170641","filename":"file4"},{"photo_id":"1402170566","filename":"file1"},{"photo_id":"1402170564","filename":"file0"},{"photo_id":"1402170628","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170628":["hashtag1","hashtag2"]},{"1402170564":["hashtag1","hashtag2"]},{"1402170566":["hashtag1","hashtag2"]},{"1402170641":["hashtag1","hashtag2"]},{"1402170586":["hashtag1","hashtag2"]},{"1402170649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170628, 1402170564, 1402170566, 1402170641, 1402170586, 1402170649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.054192543029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:21:04.975294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 16:21:14.390432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 16:21:24.369105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/04/image_02012026_16_04_35_10259.jpg', '/home/pi/Desktop/images/02012026/16/06/image_02012026_16_06_14_10053.jpg', '/home/pi/Desktop/images/02012026/16/06/image_02012026_16_06_34_9715.jpg', '/home/pi/Desktop/images/02012026/16/06/image_02012026_16_06_44_9688.jpg', '/home/pi/Desktop/images/02012026/16/06/image_02012026_16_07_04_9753.jpg', '/home/pi/Desktop/images/02012026/16/07/image_02012026_16_07_35_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/04/image_02012026_16_04_35_10259.jpg
/home/pi/Desktop/images/02012026/16/06/image_02012026_16_06_14_10053.jpg
/home/pi/Desktop/images/02012026/16/06/image_02012026_16_06_34_9715.jpg
/home/pi/Desktop/images/02012026/16/06/image_02012026_16_06_44_9688.jpg
/home/pi/Desktop/images/02012026/16/06/image_02012026_16_07_04_9753.jpg
/home/pi/Desktop/images/02012026/16/07/image_02012026_16_07_35_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170681","1402170687","1402170683","1402170677","1402170686","1402170679"],"photo_ids_order":["1402170677","1402170679","1402170681","1402170683","1402170686","1402170687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dfccc5d40e22bc33b5890aa6da6512d1.jpg","text":"TemporaryFile(/tmp/multipartBody5278476273674297202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367344914,"filename":"image_02012026_16_06_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/2/ea482bcb87d5a3408b8b93c58666ba5e.jpg","text":"TemporaryFile(/tmp/multipartBody1812664352848945890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367344914,"filename":"image_02012026_16_07_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/2/d0ae72f70f41211fc4b1f9b8e1d88ad4.jpg","text":"TemporaryFile(/tmp/multipartBody5946589319564069819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367344914,"filename":"image_02012026_16_06_44_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/2/bb294aca8e41ce979935463ebfae270a.jpg","text":"TemporaryFile(/tmp/multipartBody8416523565798600338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367344914,"filename":"image_02012026_16_04_35_10259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec7a3d6c0729313b5c2cfc2ddd3c4f85.jpg","text":"TemporaryFile(/tmp/multipartBody7277101239655874699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367344914,"filename":"image_02012026_16_07_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/2/569ac14a5492291ebaea29f364f95240.jpg","text":"TemporaryFile(/tmp/multipartBody7205448698969087912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367344914,"filename":"image_02012026_16_06_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170681","file1":"1402170679","file0":"1402170677","file4":"1402170686","file5":"1402170687","file3":"1402170683"},"map_files_photo_id_array":[{"photo_id":"1402170687","filename":"file5"},{"photo_id":"1402170681","filename":"file2"},{"photo_id":"1402170686","filename":"file4"},{"photo_id":"1402170679","filename":"file1"},{"photo_id":"1402170677","filename":"file0"},{"photo_id":"1402170683","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170681":["hashtag1","hashtag2"]},{"1402170687":["hashtag1","hashtag2"]},{"1402170683":["hashtag1","hashtag2"]},{"1402170677":["hashtag1","hashtag2"]},{"1402170686":["hashtag1","hashtag2"]},{"1402170679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170681, 1402170687, 1402170683, 1402170677, 1402170686, 1402170679)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.20347189903259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:22:17.837241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_32_4875.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_34_1837.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_37_2600.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_39_2708.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_42_2565.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_46_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_32_4875.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_34_1837.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_37_2600.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_39_2708.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_42_2565.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_46_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":["1402170703","1402170712","1402170699","1402170697","1402170716","1402170701"],"photo_ids_order":["1402170697","1402170699","1402170701","1402170703","1402170712","1402170716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/50029fbf33207083874eb1e7aca0dbb8.jpg","text":"TemporaryFile(/tmp/multipartBody226785289876994619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367400961,"filename":"image_05112025_19_29_39_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/2/e1723bc7f36b2b4ab3a686bc9789c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5419408794410603772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367400961,"filename":"image_05112025_19_29_42_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d12e4ba8922d964cd945c5d428ee757.jpg","text":"TemporaryFile(/tmp/multipartBody3425477208216852131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367400961,"filename":"image_05112025_19_29_34_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/2/18aa671f34f6cd470ab20115506e33e2.jpg","text":"TemporaryFile(/tmp/multipartBody6321151195353272134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367400961,"filename":"image_05112025_19_29_32_4875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3392e50dc065efeaf563d29e66e54f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7278011610421383335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367400961,"filename":"image_05112025_19_29_46_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/2/ea3c3cc2c423f113baa3ff86d7e424d8.jpg","text":"TemporaryFile(/tmp/multipartBody832377413811183103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367400961,"filename":"image_05112025_19_29_37_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170701","file1":"1402170699","file0":"1402170697","file4":"1402170712","file5":"1402170716","file3":"1402170703"},"map_files_photo_id_array":[{"photo_id":"1402170716","filename":"file5"},{"photo_id":"1402170701","filename":"file2"},{"photo_id":"1402170712","filename":"file4"},{"photo_id":"1402170699","filename":"file1"},{"photo_id":"1402170697","filename":"file0"},{"photo_id":"1402170703","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170703":["hashtag1","hashtag2"]},{"1402170712":["hashtag1","hashtag2"]},{"1402170699":["hashtag1","hashtag2"]},{"1402170697":["hashtag1","hashtag2"]},{"1402170716":["hashtag1","hashtag2"]},{"1402170701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170703, 1402170712, 1402170699, 1402170697, 1402170716, 1402170701)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.85432195663452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:23:12.107181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_48_2662.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_51_2624.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_55_3734.jpg', '/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_57_2687.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_07_3011.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_11_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_48_2662.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_51_2624.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_55_3734.jpg
/home/pi/Desktop/images/05112025/19/29/image_05112025_19_29_57_2687.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_07_3011.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_11_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170724","1402170726","1402170729","1402170720","1402170728","1402170722"],"photo_ids_order":["1402170720","1402170722","1402170724","1402170726","1402170728","1402170729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/956ece5e758fd0bc6bdda1ea7724f38d.jpg","text":"TemporaryFile(/tmp/multipartBody2111061971054460046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367453949,"filename":"image_05112025_19_29_55_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/2/e65498f4fb322d8f8fd27acc7155c0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3532155979382186079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367453949,"filename":"image_05112025_19_29_57_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/2/791256bebcf5e9af8cb0a980f6914d68.jpg","text":"TemporaryFile(/tmp/multipartBody1610883311055309355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367453949,"filename":"image_05112025_19_30_11_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/2/2a4fc1116c8bab08c4de395e1e1cab0f.jpg","text":"TemporaryFile(/tmp/multipartBody3815876087381454049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367453949,"filename":"image_05112025_19_29_48_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/2/9c5a8123b366a86b13fb87401ed0f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody5904958965910838156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367453949,"filename":"image_05112025_19_30_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/2/b79267a41aca521e45c4067be3530e54.jpg","text":"TemporaryFile(/tmp/multipartBody7039167595636613704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367453949,"filename":"image_05112025_19_29_51_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170724","file1":"1402170722","file0":"1402170720","file4":"1402170728","file5":"1402170729","file3":"1402170726"},"map_files_photo_id_array":[{"photo_id":"1402170729","filename":"file5"},{"photo_id":"1402170724","filename":"file2"},{"photo_id":"1402170728","filename":"file4"},{"photo_id":"1402170722","filename":"file1"},{"photo_id":"1402170720","filename":"file0"},{"photo_id":"1402170726","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170724":["hashtag1","hashtag2"]},{"1402170726":["hashtag1","hashtag2"]},{"1402170729":["hashtag1","hashtag2"]},{"1402170720":["hashtag1","hashtag2"]},{"1402170728":["hashtag1","hashtag2"]},{"1402170722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170724, 1402170726, 1402170729, 1402170720, 1402170728, 1402170722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88868451118469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:24:02.890193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/07/image_02012026_16_08_04_10707.jpg', '/home/pi/Desktop/images/02012026/16/08/image_02012026_16_08_35_10681.jpg', '/home/pi/Desktop/images/02012026/16/08/image_02012026_16_08_54_9657.jpg', '/home/pi/Desktop/images/02012026/16/09/image_02012026_16_09_24_9671.jpg', '/home/pi/Desktop/images/02012026/16/09/image_02012026_16_09_54_10009.jpg', '/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_13_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/07/image_02012026_16_08_04_10707.jpg
/home/pi/Desktop/images/02012026/16/08/image_02012026_16_08_35_10681.jpg
/home/pi/Desktop/images/02012026/16/08/image_02012026_16_08_54_9657.jpg
/home/pi/Desktop/images/02012026/16/09/image_02012026_16_09_24_9671.jpg
/home/pi/Desktop/images/02012026/16/09/image_02012026_16_09_54_10009.jpg
/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_13_10047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170739","1402170744","1402170741","1402170743","1402170746","1402170740"],"photo_ids_order":["1402170739","1402170740","1402170741","1402170743","1402170744","1402170746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a8f2295ca3611145fa9daf9505ceb71.jpg","text":"TemporaryFile(/tmp/multipartBody2917343518161133287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367503562,"filename":"image_02012026_16_08_04_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/2/eabf36533c21cfac9060291654ec7c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5446290602084036229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367503562,"filename":"image_02012026_16_09_54_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/2/aa46ff1a44366bdf20c2360cb5c7c25b.jpg","text":"TemporaryFile(/tmp/multipartBody3219584192022407923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367503562,"filename":"image_02012026_16_08_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/2/bf3123a773b310dddfdd4c857dc2894a.jpg","text":"TemporaryFile(/tmp/multipartBody2506642819714975017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367503562,"filename":"image_02012026_16_09_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/2/64dd61cf5c4328549d0f617b68920001.jpg","text":"TemporaryFile(/tmp/multipartBody7126709749125656878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367503562,"filename":"image_02012026_16_11_13_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/2/28cf3680e1aabb05b487b6e5573eb4bf.jpg","text":"TemporaryFile(/tmp/multipartBody5835353974483349097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367503562,"filename":"image_02012026_16_08_35_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170741","file1":"1402170740","file0":"1402170739","file4":"1402170744","file5":"1402170746","file3":"1402170743"},"map_files_photo_id_array":[{"photo_id":"1402170746","filename":"file5"},{"photo_id":"1402170741","filename":"file2"},{"photo_id":"1402170744","filename":"file4"},{"photo_id":"1402170740","filename":"file1"},{"photo_id":"1402170739","filename":"file0"},{"photo_id":"1402170743","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170739":["hashtag1","hashtag2"]},{"1402170744":["hashtag1","hashtag2"]},{"1402170741":["hashtag1","hashtag2"]},{"1402170743":["hashtag1","hashtag2"]},{"1402170746":["hashtag1","hashtag2"]},{"1402170740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170739, 1402170744, 1402170741, 1402170743, 1402170746, 1402170740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19813132286072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:24:42.202168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_14_2680.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_16_2779.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_22_5364.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_30_8492.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_32_1711.jpg', '/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_34_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_14_2680.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_16_2779.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_22_5364.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_30_8492.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_32_1711.jpg
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_34_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":["1402170757","1402170768","1402170770","1402170767","1402170772","1402170769"],"photo_ids_order":["1402170757","1402170767","1402170768","1402170769","1402170770","1402170772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ccad9c08625c19d8efa548749a91c91.jpg","text":"TemporaryFile(/tmp/multipartBody8458240050872467741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367544000,"filename":"image_05112025_19_30_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/2/2f0390a7df2f02752533e44d85559971.jpg","text":"TemporaryFile(/tmp/multipartBody3467195229301838151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367544000,"filename":"image_05112025_19_30_22_5364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/11babdc69beb4c54e930513f2f962109.jpg","text":"TemporaryFile(/tmp/multipartBody1086812645830384636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367544000,"filename":"image_05112025_19_30_32_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/2/95102d9db61a1c123a7dba6a5ddfccba.jpg","text":"TemporaryFile(/tmp/multipartBody3568377382443620872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367544000,"filename":"image_05112025_19_30_16_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/2/47135a0b850a2dcf0def5b49be538d50.jpg","text":"TemporaryFile(/tmp/multipartBody8044322941021791328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367544000,"filename":"image_05112025_19_30_34_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/2/bff2f241529a82f2cc52d9f00399e16f.jpg","text":"TemporaryFile(/tmp/multipartBody164722434219070341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367544000,"filename":"image_05112025_19_30_30_8492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170768","file1":"1402170767","file0":"1402170757","file4":"1402170770","file5":"1402170772","file3":"1402170769"},"map_files_photo_id_array":[{"photo_id":"1402170772","filename":"file5"},{"photo_id":"1402170768","filename":"file2"},{"photo_id":"1402170770","filename":"file4"},{"photo_id":"1402170767","filename":"file1"},{"photo_id":"1402170757","filename":"file0"},{"photo_id":"1402170769","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170757":["hashtag1","hashtag2"]},{"1402170768":["hashtag1","hashtag2"]},{"1402170770":["hashtag1","hashtag2"]},{"1402170767":["hashtag1","hashtag2"]},{"1402170772":["hashtag1","hashtag2"]},{"1402170769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170757, 1402170768, 1402170770, 1402170767, 1402170772, 1402170769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66545534133911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:25:22.350478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_24_10661.jpg', '/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_34_9933.jpg', '/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_53_9756.jpg', '/home/pi/Desktop/images/02012026/16/12/image_02012026_16_12_33_9759.jpg', '/home/pi/Desktop/images/02012026/16/12/image_02012026_16_12_44_10667.jpg', '/home/pi/Desktop/images/02012026/16/12/image_02012026_16_12_53_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_24_10661.jpg
/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_34_9933.jpg
/home/pi/Desktop/images/02012026/16/11/image_02012026_16_11_53_9756.jpg
/home/pi/Desktop/images/02012026/16/12/image_02012026_16_12_33_9759.jpg
/home/pi/Desktop/images/02012026/16/12/image_02012026_16_12_44_10667.jpg
/home/pi/Desktop/images/02012026/16/12/image_02012026_16_12_53_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":["1402170780","1402170776","1402170784","1402170778","1402170787","1402170781"],"photo_ids_order":["1402170776","1402170778","1402170780","1402170781","1402170784","1402170787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb1e3a852bd4a7b5b33ad1f6aa945ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8459476379668043119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367582969,"filename":"image_02012026_16_11_53_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/2/a068d1759a7186420ccf0a5bdf5716ba.jpg","text":"TemporaryFile(/tmp/multipartBody2960271861718776432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367582969,"filename":"image_02012026_16_11_24_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/2/f3ae786d13ee230df0d552c057249b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8906842439222451561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367582969,"filename":"image_02012026_16_12_44_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/2/531fdc3ca4d2f4773a95d17181eca487.jpg","text":"TemporaryFile(/tmp/multipartBody5112483291176214244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367582969,"filename":"image_02012026_16_11_34_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/2/424eedd791c454d3ad9bcb618e5dcf68.jpg","text":"TemporaryFile(/tmp/multipartBody2524850542866415807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367582969,"filename":"image_02012026_16_12_53_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/2/96ffed1d48badda44e0b7b15f5c00ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8856030594715597246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367582969,"filename":"image_02012026_16_12_33_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170780","file1":"1402170778","file0":"1402170776","file4":"1402170784","file5":"1402170787","file3":"1402170781"},"map_files_photo_id_array":[{"photo_id":"1402170787","filename":"file5"},{"photo_id":"1402170780","filename":"file2"},{"photo_id":"1402170784","filename":"file4"},{"photo_id":"1402170778","filename":"file1"},{"photo_id":"1402170776","filename":"file0"},{"photo_id":"1402170781","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170780":["hashtag1","hashtag2"]},{"1402170776":["hashtag1","hashtag2"]},{"1402170784":["hashtag1","hashtag2"]},{"1402170778":["hashtag1","hashtag2"]},{"1402170787":["hashtag1","hashtag2"]},{"1402170781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170780, 1402170776, 1402170784, 1402170778, 1402170787, 1402170781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67550706863403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:26:03.153944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/12/image_02012026_16_13_03_9586.jpg', '/home/pi/Desktop/images/02012026/16/13/image_02012026_16_13_23_9633.jpg', '/home/pi/Desktop/images/02012026/16/13/image_02012026_16_13_44_9569.jpg', '/home/pi/Desktop/images/02012026/16/13/image_02012026_16_13_53_9675.jpg', '/home/pi/Desktop/images/02012026/16/13/image_02012026_16_14_04_10643.jpg', '/home/pi/Desktop/images/02012026/16/14/image_02012026_16_14_43_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/12/image_02012026_16_13_03_9586.jpg
/home/pi/Desktop/images/02012026/16/13/image_02012026_16_13_23_9633.jpg
/home/pi/Desktop/images/02012026/16/13/image_02012026_16_13_44_9569.jpg
/home/pi/Desktop/images/02012026/16/13/image_02012026_16_13_53_9675.jpg
/home/pi/Desktop/images/02012026/16/13/image_02012026_16_14_04_10643.jpg
/home/pi/Desktop/images/02012026/16/14/image_02012026_16_14_43_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":["1402170802","1402170795","1402170789","1402170791","1402170788","1402170799"],"photo_ids_order":["1402170788","1402170789","1402170791","1402170795","1402170799","1402170802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a7ff8e99c5b523e577c9cd5cdc3660c2.jpg","text":"TemporaryFile(/tmp/multipartBody1278585153675987034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367624648,"filename":"image_02012026_16_14_43_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/2/f153b76d54605b0d8bb48eaf97a90bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7470381421494750872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367624648,"filename":"image_02012026_16_13_53_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/2/99359ae379edcb7a05b55fcd4e4dc850.jpg","text":"TemporaryFile(/tmp/multipartBody4845408648175965497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367624648,"filename":"image_02012026_16_13_23_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/2/b661d41e837d67f4504e2239cfda1373.jpg","text":"TemporaryFile(/tmp/multipartBody3818433250985983464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367624648,"filename":"image_02012026_16_13_44_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/2/ebde0b4ffdb17356ff20b35cbff18564.jpg","text":"TemporaryFile(/tmp/multipartBody7260104732528432775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367624648,"filename":"image_02012026_16_13_03_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/2/05abbadab63dd57a6561768721b21c40.jpg","text":"TemporaryFile(/tmp/multipartBody6866302562009965850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367624648,"filename":"image_02012026_16_14_04_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170791","file1":"1402170789","file0":"1402170788","file4":"1402170799","file5":"1402170802","file3":"1402170795"},"map_files_photo_id_array":[{"photo_id":"1402170802","filename":"file5"},{"photo_id":"1402170791","filename":"file2"},{"photo_id":"1402170799","filename":"file4"},{"photo_id":"1402170789","filename":"file1"},{"photo_id":"1402170788","filename":"file0"},{"photo_id":"1402170795","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170802":["hashtag1","hashtag2"]},{"1402170795":["hashtag1","hashtag2"]},{"1402170789":["hashtag1","hashtag2"]},{"1402170791":["hashtag1","hashtag2"]},{"1402170788":["hashtag1","hashtag2"]},{"1402170799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170802, 1402170795, 1402170789, 1402170791, 1402170788, 1402170799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09536266326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:26:42.790658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_35_1838.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_05_29700.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_07_1605.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_08_1761.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_10_1636.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_12_1758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/30/image_05112025_19_30_35_1838.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_05_29700.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_07_1605.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_08_1761.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_10_1636.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_12_1758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170835","1402170817","1402170832","1402170834","1402170836","1402170833"],"photo_ids_order":["1402170817","1402170832","1402170833","1402170834","1402170835","1402170836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f93372721934648806d055aaace0dcdb.jpg","text":"TemporaryFile(/tmp/multipartBody3770100480480189122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367664583,"filename":"image_05112025_19_31_10_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/2/a1b0317f7bc043d6424caa7dcf9fba23.jpg","text":"TemporaryFile(/tmp/multipartBody8409550855454335381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367664583,"filename":"image_05112025_19_30_35_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/2/3cc68b80b84992abe4494581c6e45e80.jpg","text":"TemporaryFile(/tmp/multipartBody3204478909747919631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367664583,"filename":"image_05112025_19_31_05_29700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d13620131c33fc4d55cbab2b1f565f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2544008065691261934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367664583,"filename":"image_05112025_19_31_08_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/2/580955c035bdd7200c058102226e614c.jpg","text":"TemporaryFile(/tmp/multipartBody7885769670758792165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367664583,"filename":"image_05112025_19_31_12_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/2/93f027ea9a37ffc5895bc473d7256c17.jpg","text":"TemporaryFile(/tmp/multipartBody2163426363259819628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367664583,"filename":"image_05112025_19_31_07_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170833","file1":"1402170832","file0":"1402170817","file4":"1402170835","file5":"1402170836","file3":"1402170834"},"map_files_photo_id_array":[{"photo_id":"1402170836","filename":"file5"},{"photo_id":"1402170833","filename":"file2"},{"photo_id":"1402170835","filename":"file4"},{"photo_id":"1402170832","filename":"file1"},{"photo_id":"1402170817","filename":"file0"},{"photo_id":"1402170834","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170835":["hashtag1","hashtag2"]},{"1402170817":["hashtag1","hashtag2"]},{"1402170832":["hashtag1","hashtag2"]},{"1402170834":["hashtag1","hashtag2"]},{"1402170836":["hashtag1","hashtag2"]},{"1402170833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170835, 1402170817, 1402170832, 1402170834, 1402170836, 1402170833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07796001434326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:27:21.906855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/15/image_02012026_16_15_14_10055.jpg', '/home/pi/Desktop/images/02012026/16/15/image_02012026_16_15_35_9713.jpg', '/home/pi/Desktop/images/02012026/16/15/image_02012026_16_15_54_9704.jpg', '/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_15_10726.jpg', '/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_34_9606.jpg', '/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_45_10836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/15/image_02012026_16_15_14_10055.jpg
/home/pi/Desktop/images/02012026/16/15/image_02012026_16_15_35_9713.jpg
/home/pi/Desktop/images/02012026/16/15/image_02012026_16_15_54_9704.jpg
/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_15_10726.jpg
/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_34_9606.jpg
/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_45_10836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170843","1402170852","1402170849","1402170854","1402170839","1402170847"],"photo_ids_order":["1402170839","1402170843","1402170847","1402170849","1402170852","1402170854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/23f3fed019f886083026d613ed86ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody8140967165190625167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367702499,"filename":"image_02012026_16_15_35_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/2/cfa689f86682ed7dd49f5915a769b2ca.jpg","text":"TemporaryFile(/tmp/multipartBody1659152952147936657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367702499,"filename":"image_02012026_16_16_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/2/95ee8e2b88e173c849f57352175be373.jpg","text":"TemporaryFile(/tmp/multipartBody366707976038795725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367702499,"filename":"image_02012026_16_16_15_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/2/40f0ccd5bfdf8b2f283b153aaa476dba.jpg","text":"TemporaryFile(/tmp/multipartBody7309124593137842493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367702499,"filename":"image_02012026_16_16_45_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/2/9d7cdc24f7f3b9e8e00db5c51c3cdc7d.jpg","text":"TemporaryFile(/tmp/multipartBody5178003212157424179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367702499,"filename":"image_02012026_16_15_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/2/894724a9e15f2dc08a731c224bb77de4.jpg","text":"TemporaryFile(/tmp/multipartBody8986358270654040690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367702499,"filename":"image_02012026_16_15_54_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170847","file1":"1402170843","file0":"1402170839","file4":"1402170852","file5":"1402170854","file3":"1402170849"},"map_files_photo_id_array":[{"photo_id":"1402170854","filename":"file5"},{"photo_id":"1402170847","filename":"file2"},{"photo_id":"1402170852","filename":"file4"},{"photo_id":"1402170843","filename":"file1"},{"photo_id":"1402170839","filename":"file0"},{"photo_id":"1402170849","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170843":["hashtag1","hashtag2"]},{"1402170852":["hashtag1","hashtag2"]},{"1402170849":["hashtag1","hashtag2"]},{"1402170854":["hashtag1","hashtag2"]},{"1402170839":["hashtag1","hashtag2"]},{"1402170847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170843, 1402170852, 1402170849, 1402170854, 1402170839, 1402170847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18415141105652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:28:02.429604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_55_9563.jpg', '/home/pi/Desktop/images/02012026/16/16/image_02012026_16_17_05_9821.jpg', '/home/pi/Desktop/images/02012026/16/17/image_02012026_16_17_15_10633.jpg', '/home/pi/Desktop/images/02012026/16/17/image_02012026_16_17_34_9635.jpg', '/home/pi/Desktop/images/02012026/16/17/image_02012026_16_17_45_10628.jpg', '/home/pi/Desktop/images/02012026/16/17/image_02012026_16_18_04_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/16/image_02012026_16_16_55_9563.jpg
/home/pi/Desktop/images/02012026/16/16/image_02012026_16_17_05_9821.jpg
/home/pi/Desktop/images/02012026/16/17/image_02012026_16_17_15_10633.jpg
/home/pi/Desktop/images/02012026/16/17/image_02012026_16_17_34_9635.jpg
/home/pi/Desktop/images/02012026/16/17/image_02012026_16_17_45_10628.jpg
/home/pi/Desktop/images/02012026/16/17/image_02012026_16_18_04_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170862","1402170864","1402170858","1402170855","1402170860","1402170866"],"photo_ids_order":["1402170855","1402170858","1402170860","1402170862","1402170864","1402170866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c7edc2b52b351ac9eedb51625b4a220.jpg","text":"TemporaryFile(/tmp/multipartBody2057333701587226831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367743039,"filename":"image_02012026_16_17_34_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/2/93d90d5ab1e7ecf55a7a6b45d9d449bd.jpg","text":"TemporaryFile(/tmp/multipartBody631366496230996558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367743039,"filename":"image_02012026_16_17_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/2/9d89f61c514b05119ae09b233a31a610.jpg","text":"TemporaryFile(/tmp/multipartBody8675470023011740499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367743039,"filename":"image_02012026_16_17_05_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/2/06865524b96b8a7e6ac91e5cd3813b86.jpg","text":"TemporaryFile(/tmp/multipartBody1751449844115882426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367743039,"filename":"image_02012026_16_16_55_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/2/4ecbf72d13d97fa113765a1961a76069.jpg","text":"TemporaryFile(/tmp/multipartBody2116513277179715688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367743039,"filename":"image_02012026_16_17_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/2/1acb874d81ee8033301fe576ddeface1.jpg","text":"TemporaryFile(/tmp/multipartBody666355704302493454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367743039,"filename":"image_02012026_16_18_04_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170860","file1":"1402170858","file0":"1402170855","file4":"1402170864","file5":"1402170866","file3":"1402170862"},"map_files_photo_id_array":[{"photo_id":"1402170866","filename":"file5"},{"photo_id":"1402170860","filename":"file2"},{"photo_id":"1402170864","filename":"file4"},{"photo_id":"1402170858","filename":"file1"},{"photo_id":"1402170855","filename":"file0"},{"photo_id":"1402170862","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402170862":["hashtag1","hashtag2"]},{"1402170864":["hashtag1","hashtag2"]},{"1402170858":["hashtag1","hashtag2"]},{"1402170855":["hashtag1","hashtag2"]},{"1402170860":["hashtag1","hashtag2"]},{"1402170866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402170862, 1402170864, 1402170858, 1402170855, 1402170860, 1402170866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79318976402283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:28:42.163329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_14_1730.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_15_1700.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_17_1611.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_19_1707.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_20_1823.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_22_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_14_1730.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_15_1700.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_17_1611.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_19_1707.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_20_1823.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_22_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":["1402170879","1402170936","1402170909","1402170881","1402170875","1402170920"],"photo_ids_order":["1402170875","1402170879","1402170881","1402170909","1402170920","1402170936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e30008079b5402d040c61b30093d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody5856489321863140026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367784020,"filename":"image_05112025_19_31_15_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/2/d2329dbac5bc7aa0dfb145db4247ab49.jpg","text":"TemporaryFile(/tmp/multipartBody5475688125353649888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367784020,"filename":"image_05112025_19_31_22_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/2/f1c5cbfbc42bee3ae2dff36156e8e0b0.jpg","text":"TemporaryFile(/tmp/multipartBody5736717114446721278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367784020,"filename":"image_05112025_19_31_19_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/2/1c8c2e01db9a9ef2b3e6d0c695b8605a.jpg","text":"TemporaryFile(/tmp/multipartBody7606187005192861163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367784020,"filename":"image_05112025_19_31_17_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/2/3a648dd115f5cb5a2885dfd359c58a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5323120666928719891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367784020,"filename":"image_05112025_19_31_14_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/2/7849b5e17e91810af7c1e2532451db76.jpg","text":"TemporaryFile(/tmp/multipartBody8292636541935113727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367784020,"filename":"image_05112025_19_31_20_1823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170881","file1":"1402170879","file0":"1402170875","file4":"1402170920","file5":"1402170936","file3":"1402170909"},"map_files_photo_id_array":[{"photo_id":"1402170936","filename":"file5"},{"photo_id":"1402170881","filename":"file2"},{"photo_id":"1402170920","filename":"file4"},{"photo_id":"1402170879","filename":"file1"},{"photo_id":"1402170875","filename":"file0"},{"photo_id":"1402170909","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170879":["hashtag1","hashtag2"]},{"1402170936":["hashtag1","hashtag2"]},{"1402170909":["hashtag1","hashtag2"]},{"1402170881":["hashtag1","hashtag2"]},{"1402170875":["hashtag1","hashtag2"]},{"1402170920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170879, 1402170936, 1402170909, 1402170881, 1402170875, 1402170920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96149468421936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:29:22.336553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_15_10656.jpg', '/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_34_9646.jpg', '/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_45_10604.jpg', '/home/pi/Desktop/images/02012026/16/18/image_02012026_16_19_04_9594.jpg', '/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_15_10682.jpg', '/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_45_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_15_10656.jpg
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_34_9646.jpg
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_45_10604.jpg
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_19_04_9594.jpg
/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_15_10682.jpg
/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_45_9620.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47460031509399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:29:32.393125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_35_11427.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_37_1576.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_46_8966.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_47_1592.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_49_1599.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_51_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_35_11427.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_37_1576.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_46_8966.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_47_1592.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_49_1599.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_51_1554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402170998","1402171043","1402171007","1402170994","1402170991","1402171009"],"photo_ids_order":["1402170991","1402170994","1402170998","1402171007","1402171009","1402171043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2a78294df15ec4a39a7918fc48734fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5481981297306751410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367834187,"filename":"image_05112025_19_31_46_8966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/069fcf639d3710e08686fc6d02f7f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody1170182335058418866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367834187,"filename":"image_05112025_19_31_51_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/2/e7698cc06276400089fbad4db8b5120f.jpg","text":"TemporaryFile(/tmp/multipartBody3970113162493165156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367834187,"filename":"image_05112025_19_31_47_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/2/474c4a9655db0ce444dcf8bf0cd9a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody672068311268459785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367834187,"filename":"image_05112025_19_31_37_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/2/daf36f9dd6f4d4256afb29789362bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody3692395011759225441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367834187,"filename":"image_05112025_19_31_35_11427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8535f9aa48f9352e219e870c3b3b9718.jpg","text":"TemporaryFile(/tmp/multipartBody457833548246028914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367834187,"filename":"image_05112025_19_31_49_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402170998","file1":"1402170994","file0":"1402170991","file4":"1402171009","file5":"1402171043","file3":"1402171007"},"map_files_photo_id_array":[{"photo_id":"1402171043","filename":"file5"},{"photo_id":"1402170998","filename":"file2"},{"photo_id":"1402171009","filename":"file4"},{"photo_id":"1402170994","filename":"file1"},{"photo_id":"1402170991","filename":"file0"},{"photo_id":"1402171007","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402170998":["hashtag1","hashtag2"]},{"1402171043":["hashtag1","hashtag2"]},{"1402171007":["hashtag1","hashtag2"]},{"1402170994":["hashtag1","hashtag2"]},{"1402170991":["hashtag1","hashtag2"]},{"1402171009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402170998, 1402171043, 1402171007, 1402170994, 1402170991, 1402171009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.628419399261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:30:12.490095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_52_1617.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_54_1759.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_56_1666.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_57_1566.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_59_1582.jpg', '/home/pi/Desktop/images/05112025/19/31/image_05112025_19_32_00_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_52_1617.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_54_1759.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_56_1666.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_57_1566.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_31_59_1582.jpg
/home/pi/Desktop/images/05112025/19/31/image_05112025_19_32_00_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":["1402171158","1402171166","1402171145","1402171169","1402171136","1402171171"],"photo_ids_order":["1402171136","1402171145","1402171158","1402171166","1402171169","1402171171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b5caba3867d1f6eb0f57ee0f5f57db6.jpg","text":"TemporaryFile(/tmp/multipartBody7549188377361645446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367874481,"filename":"image_05112025_19_31_56_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/2/28ea0e6cd440dde4e4f98091b1931041.jpg","text":"TemporaryFile(/tmp/multipartBody6894363492436201871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367874481,"filename":"image_05112025_19_31_57_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/2/8318c85d4c692b665bbc389edc96d395.jpg","text":"TemporaryFile(/tmp/multipartBody4991539791162103568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367874481,"filename":"image_05112025_19_31_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/2/d8093134b0176d543bedc9015beb3663.jpg","text":"TemporaryFile(/tmp/multipartBody277474849661212647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367874481,"filename":"image_05112025_19_31_59_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/2/4ceae753a87dfdca9078fc5a43668d63.jpg","text":"TemporaryFile(/tmp/multipartBody6354798249379252854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367874481,"filename":"image_05112025_19_31_52_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/2/f235c49d462bc19d1c43e01babcb8bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5362732976508484202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367874481,"filename":"image_05112025_19_32_00_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171158","file1":"1402171145","file0":"1402171136","file4":"1402171169","file5":"1402171171","file3":"1402171166"},"map_files_photo_id_array":[{"photo_id":"1402171171","filename":"file5"},{"photo_id":"1402171158","filename":"file2"},{"photo_id":"1402171169","filename":"file4"},{"photo_id":"1402171145","filename":"file1"},{"photo_id":"1402171136","filename":"file0"},{"photo_id":"1402171166","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171158":["hashtag1","hashtag2"]},{"1402171166":["hashtag1","hashtag2"]},{"1402171145":["hashtag1","hashtag2"]},{"1402171169":["hashtag1","hashtag2"]},{"1402171136":["hashtag1","hashtag2"]},{"1402171171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171158, 1402171166, 1402171145, 1402171169, 1402171136, 1402171171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46898102760315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:31:03.466929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_15_10656.jpg', '/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_34_9646.jpg', '/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_45_10604.jpg', '/home/pi/Desktop/images/02012026/16/18/image_02012026_16_19_04_9594.jpg', '/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_15_10682.jpg', '/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_45_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_15_10656.jpg
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_34_9646.jpg
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_18_45_10604.jpg
/home/pi/Desktop/images/02012026/16/18/image_02012026_16_19_04_9594.jpg
/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_15_10682.jpg
/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_45_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171179","1402171188","1402171182","1402171184","1402171183","1402171186"],"photo_ids_order":["1402171179","1402171182","1402171183","1402171184","1402171186","1402171188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/223c5120f22714770da8b5e628ef8dad.jpg","text":"TemporaryFile(/tmp/multipartBody7671446416862368037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367924166,"filename":"image_02012026_16_18_15_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/2/c907cf05e1c430958c480c8082de3f8d.jpg","text":"TemporaryFile(/tmp/multipartBody7126613826831294338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367924166,"filename":"image_02012026_16_19_45_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/2/867364f85ebc1b06d0904f78f19d507f.jpg","text":"TemporaryFile(/tmp/multipartBody2353801603940207292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367924166,"filename":"image_02012026_16_18_34_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/2/03e41bc2efe93105c672c36e64b37c04.jpg","text":"TemporaryFile(/tmp/multipartBody4519705202631942122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367924166,"filename":"image_02012026_16_19_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/2/bf62b013df02ee4c82e77d151c2a1427.jpg","text":"TemporaryFile(/tmp/multipartBody9087333910172557053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367924166,"filename":"image_02012026_16_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/2/6157e3e9a19df40d9ca5ca6eb09d800e.jpg","text":"TemporaryFile(/tmp/multipartBody5587561559087226813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367924166,"filename":"image_02012026_16_19_15_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171183","file1":"1402171182","file0":"1402171179","file4":"1402171186","file5":"1402171188","file3":"1402171184"},"map_files_photo_id_array":[{"photo_id":"1402171188","filename":"file5"},{"photo_id":"1402171183","filename":"file2"},{"photo_id":"1402171186","filename":"file4"},{"photo_id":"1402171182","filename":"file1"},{"photo_id":"1402171179","filename":"file0"},{"photo_id":"1402171184","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171179":["hashtag1","hashtag2"]},{"1402171188":["hashtag1","hashtag2"]},{"1402171182":["hashtag1","hashtag2"]},{"1402171184":["hashtag1","hashtag2"]},{"1402171183":["hashtag1","hashtag2"]},{"1402171186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171179, 1402171188, 1402171182, 1402171184, 1402171183, 1402171186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34145975112915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:31:42.742406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_07_3010.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_10_3627.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_13_2674.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_16_2762.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_20_3766.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_22_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_07_3010.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_10_3627.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_13_2674.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_16_2762.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_20_3766.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_22_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":["1402171194","1402171196","1402171193","1402171192","1402171195","1402171198"],"photo_ids_order":["1402171192","1402171193","1402171194","1402171195","1402171196","1402171198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d65b6fee0eb786146733dad668e0084e.jpg","text":"TemporaryFile(/tmp/multipartBody2246447998802552887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367964547,"filename":"image_05112025_19_34_13_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/2/655d65ab2bd8ac79854f0e6d29a981c1.jpg","text":"TemporaryFile(/tmp/multipartBody4752130027873142836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367964547,"filename":"image_05112025_19_34_20_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da5b8e5ec5d00fd3adb5e400b97e93ac.jpg","text":"TemporaryFile(/tmp/multipartBody7172533079933955472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367964547,"filename":"image_05112025_19_34_10_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/2/9229130adff8f106861c7945f4d2b1e3.jpg","text":"TemporaryFile(/tmp/multipartBody5533871263690892917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367964547,"filename":"image_05112025_19_34_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/2/128a3749a7fc3b5ab4ea345eb4fa87a3.jpg","text":"TemporaryFile(/tmp/multipartBody1268936467421822555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367964547,"filename":"image_05112025_19_34_16_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/2/f5092da250632790d5d425258735381f.jpg","text":"TemporaryFile(/tmp/multipartBody8959499756050396281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767367964547,"filename":"image_05112025_19_34_22_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171194","file1":"1402171193","file0":"1402171192","file4":"1402171196","file5":"1402171198","file3":"1402171195"},"map_files_photo_id_array":[{"photo_id":"1402171198","filename":"file5"},{"photo_id":"1402171194","filename":"file2"},{"photo_id":"1402171196","filename":"file4"},{"photo_id":"1402171193","filename":"file1"},{"photo_id":"1402171192","filename":"file0"},{"photo_id":"1402171195","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171194":["hashtag1","hashtag2"]},{"1402171196":["hashtag1","hashtag2"]},{"1402171193":["hashtag1","hashtag2"]},{"1402171192":["hashtag1","hashtag2"]},{"1402171195":["hashtag1","hashtag2"]},{"1402171198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171194, 1402171196, 1402171193, 1402171192, 1402171195, 1402171198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.416383028030396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:32:21.897196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_55_9768.jpg', '/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_25_10404.jpg', '/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_34_9847.jpg', '/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_45_10889.jpg', '/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_55_9744.jpg', '/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_06_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/19/image_02012026_16_19_55_9768.jpg
/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_25_10404.jpg
/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_34_9847.jpg
/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_45_10889.jpg
/home/pi/Desktop/images/02012026/16/20/image_02012026_16_20_55_9744.jpg
/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_06_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":["1402171201","1402171203","1402171199","1402171208","1402171210","1402171213"],"photo_ids_order":["1402171199","1402171201","1402171203","1402171208","1402171210","1402171213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5cc4c24711187058b73ac4e7f68ee0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6253917763595224657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368002491,"filename":"image_02012026_16_20_25_10404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1c3f1d478e0107feff26e88d3769697e.jpg","text":"TemporaryFile(/tmp/multipartBody2242100665963112322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368002491,"filename":"image_02012026_16_20_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/2/7624ad11e003dc019021648924f2ed65.jpg","text":"TemporaryFile(/tmp/multipartBody4315077523421707615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368002491,"filename":"image_02012026_16_19_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/2/20fcae42ae69a330174096361e797927.jpg","text":"TemporaryFile(/tmp/multipartBody6161040085791888222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368002491,"filename":"image_02012026_16_20_45_10889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c8de779e519ddc834bdf491bdd871c23.jpg","text":"TemporaryFile(/tmp/multipartBody6481289012580531851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368002491,"filename":"image_02012026_16_20_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/2/d713c5a7a455eac6fa7c6e264a917d64.jpg","text":"TemporaryFile(/tmp/multipartBody2440612732942481982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368002491,"filename":"image_02012026_16_21_06_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171203","file1":"1402171201","file0":"1402171199","file4":"1402171210","file5":"1402171213","file3":"1402171208"},"map_files_photo_id_array":[{"photo_id":"1402171213","filename":"file5"},{"photo_id":"1402171203","filename":"file2"},{"photo_id":"1402171210","filename":"file4"},{"photo_id":"1402171201","filename":"file1"},{"photo_id":"1402171199","filename":"file0"},{"photo_id":"1402171208","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171201":["hashtag1","hashtag2"]},{"1402171203":["hashtag1","hashtag2"]},{"1402171199":["hashtag1","hashtag2"]},{"1402171208":["hashtag1","hashtag2"]},{"1402171210":["hashtag1","hashtag2"]},{"1402171213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171201, 1402171203, 1402171199, 1402171208, 1402171210, 1402171213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.467562198638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:33:02.614240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_25_10577.jpg', '/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_51_16593.jpg', '/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_55_3770.jpg', '/home/pi/Desktop/images/02012026/16/21/image_02012026_16_22_05_9740.jpg', '/home/pi/Desktop/images/02012026/16/22/image_02012026_16_22_15_9993.jpg', '/home/pi/Desktop/images/02012026/16/22/image_02012026_16_22_35_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_25_10577.jpg
/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_51_16593.jpg
/home/pi/Desktop/images/02012026/16/21/image_02012026_16_21_55_3770.jpg
/home/pi/Desktop/images/02012026/16/21/image_02012026_16_22_05_9740.jpg
/home/pi/Desktop/images/02012026/16/22/image_02012026_16_22_15_9993.jpg
/home/pi/Desktop/images/02012026/16/22/image_02012026_16_22_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":["1402171227","1402171229","1402171223","1402171231","1402171225","1402171228"],"photo_ids_order":["1402171223","1402171225","1402171227","1402171228","1402171229","1402171231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9149ca7c7e04edcf1ea6ee37893b3ec4.jpg","text":"TemporaryFile(/tmp/multipartBody5647320847887359233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368043236,"filename":"image_02012026_16_21_55_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/2/894053f85004700f12eb57e4ec28fc44.jpg","text":"TemporaryFile(/tmp/multipartBody3375381898809275012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368043236,"filename":"image_02012026_16_22_15_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/2/4633619199fba729c6940569fe055aad.jpg","text":"TemporaryFile(/tmp/multipartBody6678511035326617652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368043236,"filename":"image_02012026_16_21_25_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/2/0ab39c5b571d14c5c5a9e3563a4c5d98.jpg","text":"TemporaryFile(/tmp/multipartBody1102158421554040732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368043236,"filename":"image_02012026_16_22_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/2/0e214078bebfc5dc35bafc017aa4c6f8.jpg","text":"TemporaryFile(/tmp/multipartBody9077840660284449793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368043236,"filename":"image_02012026_16_21_51_16593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f375257007b42aadef8228776d633d99.jpg","text":"TemporaryFile(/tmp/multipartBody921919660817874043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368043236,"filename":"image_02012026_16_22_05_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171227","file1":"1402171225","file0":"1402171223","file4":"1402171229","file5":"1402171231","file3":"1402171228"},"map_files_photo_id_array":[{"photo_id":"1402171231","filename":"file5"},{"photo_id":"1402171227","filename":"file2"},{"photo_id":"1402171229","filename":"file4"},{"photo_id":"1402171225","filename":"file1"},{"photo_id":"1402171223","filename":"file0"},{"photo_id":"1402171228","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171227":["hashtag1","hashtag2"]},{"1402171229":["hashtag1","hashtag2"]},{"1402171223":["hashtag1","hashtag2"]},{"1402171231":["hashtag1","hashtag2"]},{"1402171225":["hashtag1","hashtag2"]},{"1402171228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171227, 1402171229, 1402171223, 1402171231, 1402171225, 1402171228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360121965408325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:33:42.122637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_25_2636.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_29_3718.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_31_2522.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_35_3594.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_37_2701.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_40_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_25_2636.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_29_3718.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_31_2522.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_35_3594.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_37_2701.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_40_2623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7005512714385986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:34:03.073695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/22/image_02012026_16_23_04_9567.jpg', '/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_14_9752.jpg', '/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_25_10640.jpg', '/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_35_9746.jpg', '/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_44_9591.jpg', '/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_55_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/22/image_02012026_16_23_04_9567.jpg
/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_14_9752.jpg
/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_25_10640.jpg
/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_35_9746.jpg
/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_44_9591.jpg
/home/pi/Desktop/images/02012026/16/23/image_02012026_16_23_55_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171248","1402171245","1402171250","1402171244","1402171253","1402171243"],"photo_ids_order":["1402171243","1402171244","1402171245","1402171248","1402171250","1402171253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e29fe358989b0b4ce697b9d726cf9277.jpg","text":"TemporaryFile(/tmp/multipartBody6051044920159146137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368103746,"filename":"image_02012026_16_23_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/2/cf0a423c99078eb12816c4212a117d5f.jpg","text":"TemporaryFile(/tmp/multipartBody9131763249821387698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368103746,"filename":"image_02012026_16_23_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/2/cc7a6815524338940a3d68f2f38140f8.jpg","text":"TemporaryFile(/tmp/multipartBody7858761347973794438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368103746,"filename":"image_02012026_16_23_44_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/2/511f45d18b2d9e96d4c44c3f0c4f60c6.jpg","text":"TemporaryFile(/tmp/multipartBody2376130545433263524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368103746,"filename":"image_02012026_16_23_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/2/fcbfbc53ad22171bc9d6f624be7070d5.jpg","text":"TemporaryFile(/tmp/multipartBody9090995592367043546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368103746,"filename":"image_02012026_16_23_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/2/49e3bf579759f22d1f144fb55689b18b.jpg","text":"TemporaryFile(/tmp/multipartBody899291462632792773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368103746,"filename":"image_02012026_16_23_04_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171245","file1":"1402171244","file0":"1402171243","file4":"1402171250","file5":"1402171253","file3":"1402171248"},"map_files_photo_id_array":[{"photo_id":"1402171253","filename":"file5"},{"photo_id":"1402171245","filename":"file2"},{"photo_id":"1402171250","filename":"file4"},{"photo_id":"1402171244","filename":"file1"},{"photo_id":"1402171243","filename":"file0"},{"photo_id":"1402171248","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171248":["hashtag1","hashtag2"]},{"1402171245":["hashtag1","hashtag2"]},{"1402171250":["hashtag1","hashtag2"]},{"1402171244":["hashtag1","hashtag2"]},{"1402171253":["hashtag1","hashtag2"]},{"1402171243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171248, 1402171245, 1402171250, 1402171244, 1402171253, 1402171243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21833395957947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:34:42.353186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_25_2636.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_29_3718.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_31_2522.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_35_3594.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_37_2701.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_40_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_25_2636.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_29_3718.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_31_2522.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_35_3594.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_37_2701.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_40_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":["1402171278","1402171275","1402171263","1402171268","1402171261","1402171264"],"photo_ids_order":["1402171261","1402171263","1402171264","1402171268","1402171275","1402171278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/204d2a5d90d35b16c78f9a19af1e9218.jpg","text":"TemporaryFile(/tmp/multipartBody3876348161875811338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368144058,"filename":"image_05112025_19_34_40_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/2/a65979c718c72191862a8650ceadac1d.jpg","text":"TemporaryFile(/tmp/multipartBody9199680653585730468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368144058,"filename":"image_05112025_19_34_37_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/2/23940d1da09f982873ae2eb947fec9c4.jpg","text":"TemporaryFile(/tmp/multipartBody2977647415133736285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368144058,"filename":"image_05112025_19_34_29_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/2/4a9a216d29d21aa90622c5917ee70c3d.jpg","text":"TemporaryFile(/tmp/multipartBody308734831255290896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368144058,"filename":"image_05112025_19_34_35_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/2/e650469b3444b9e0386d21fd6bd2d836.jpg","text":"TemporaryFile(/tmp/multipartBody9049776345580356191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368144058,"filename":"image_05112025_19_34_25_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/2/2a1f22fa75dab2595bc18cdeefe1c120.jpg","text":"TemporaryFile(/tmp/multipartBody798730948977536386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368144058,"filename":"image_05112025_19_34_31_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171264","file1":"1402171263","file0":"1402171261","file4":"1402171275","file5":"1402171278","file3":"1402171268"},"map_files_photo_id_array":[{"photo_id":"1402171278","filename":"file5"},{"photo_id":"1402171264","filename":"file2"},{"photo_id":"1402171275","filename":"file4"},{"photo_id":"1402171263","filename":"file1"},{"photo_id":"1402171261","filename":"file0"},{"photo_id":"1402171268","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171278":["hashtag1","hashtag2"]},{"1402171275":["hashtag1","hashtag2"]},{"1402171263":["hashtag1","hashtag2"]},{"1402171268":["hashtag1","hashtag2"]},{"1402171261":["hashtag1","hashtag2"]},{"1402171264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171278, 1402171275, 1402171263, 1402171268, 1402171261, 1402171264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15658092498779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:35:22.599707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/24/image_02012026_16_24_04_9419.jpg', '/home/pi/Desktop/images/02012026/16/24/image_02012026_16_24_15_10622.jpg', '/home/pi/Desktop/images/02012026/16/24/image_02012026_16_24_25_9815.jpg', '/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_14_10057.jpg', '/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_34_9726.jpg', '/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/24/image_02012026_16_24_04_9419.jpg
/home/pi/Desktop/images/02012026/16/24/image_02012026_16_24_15_10622.jpg
/home/pi/Desktop/images/02012026/16/24/image_02012026_16_24_25_9815.jpg
/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_14_10057.jpg
/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_34_9726.jpg
/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_44_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":["1402171299","1402171290","1402171292","1402171288","1402171297","1402171285"],"photo_ids_order":["1402171285","1402171288","1402171290","1402171292","1402171297","1402171299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a01a2961de1f4287d6b09c47ba8a42e3.jpg","text":"TemporaryFile(/tmp/multipartBody6043338079837053151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368183173,"filename":"image_02012026_16_25_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/2/18dde05f4dc0b778a08724afe73970ad.jpg","text":"TemporaryFile(/tmp/multipartBody8690662036196145103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368183173,"filename":"image_02012026_16_24_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/2/861b81043efd75926668efb7257dd9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3566302107244999086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368183173,"filename":"image_02012026_16_25_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b6968bbee55d542cc76cb469e75b297d.jpg","text":"TemporaryFile(/tmp/multipartBody543669834953829015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368183173,"filename":"image_02012026_16_24_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/2/cf2fe5a9151e41a936d3d5c1da2c37b6.jpg","text":"TemporaryFile(/tmp/multipartBody7480388729268266782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368183173,"filename":"image_02012026_16_25_34_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/2/d9b17548b88bcecc0d42754e5ea65fc6.jpg","text":"TemporaryFile(/tmp/multipartBody6968979480104696158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368183173,"filename":"image_02012026_16_24_04_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171290","file1":"1402171288","file0":"1402171285","file4":"1402171297","file5":"1402171299","file3":"1402171292"},"map_files_photo_id_array":[{"photo_id":"1402171299","filename":"file5"},{"photo_id":"1402171290","filename":"file2"},{"photo_id":"1402171297","filename":"file4"},{"photo_id":"1402171288","filename":"file1"},{"photo_id":"1402171285","filename":"file0"},{"photo_id":"1402171292","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171299":["hashtag1","hashtag2"]},{"1402171290":["hashtag1","hashtag2"]},{"1402171292":["hashtag1","hashtag2"]},{"1402171288":["hashtag1","hashtag2"]},{"1402171297":["hashtag1","hashtag2"]},{"1402171285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171299, 1402171290, 1402171292, 1402171288, 1402171297, 1402171285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2320191860199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:36:02.508732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 16:36:11.880281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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 70 --only_old 1
2026-01-02 16:36:31.890568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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
2026-01-02 16:37:15.703447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_55_10672.jpg', '/home/pi/Desktop/images/02012026/16/26/image_02012026_16_26_25_10623.jpg', '/home/pi/Desktop/images/02012026/16/26/image_02012026_16_26_34_9582.jpg', '/home/pi/Desktop/images/02012026/16/26/image_02012026_16_26_44_9626.jpg', '/home/pi/Desktop/images/02012026/16/26/image_02012026_16_27_04_9633.jpg', '/home/pi/Desktop/images/02012026/16/27/image_02012026_16_27_25_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/25/image_02012026_16_25_55_10672.jpg
/home/pi/Desktop/images/02012026/16/26/image_02012026_16_26_25_10623.jpg
/home/pi/Desktop/images/02012026/16/26/image_02012026_16_26_34_9582.jpg
/home/pi/Desktop/images/02012026/16/26/image_02012026_16_26_44_9626.jpg
/home/pi/Desktop/images/02012026/16/26/image_02012026_16_27_04_9633.jpg
/home/pi/Desktop/images/02012026/16/27/image_02012026_16_27_25_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":["1402171467","1402171437","1402171469","1402171433","1402171465","1402171418"],"photo_ids_order":["1402171418","1402171433","1402171437","1402171465","1402171467","1402171469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54a842cb3443375d56c0bd027ccf2461.jpg","text":"TemporaryFile(/tmp/multipartBody3689594619161957781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368296319,"filename":"image_02012026_16_27_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/2/c5e4a52bdd38663eebdc8681a7e387a7.jpg","text":"TemporaryFile(/tmp/multipartBody4693281291852540934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368296319,"filename":"image_02012026_16_26_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/2/5dd455c750664ef63bcb36fec040640d.jpg","text":"TemporaryFile(/tmp/multipartBody5534145344929124644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368296319,"filename":"image_02012026_16_27_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/2/3641cbd9f86dab480a8de63e5b95af92.jpg","text":"TemporaryFile(/tmp/multipartBody1174903540508609226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368296319,"filename":"image_02012026_16_26_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/2/4dee45cc1d4906d64d6fa711c2cb39e9.jpg","text":"TemporaryFile(/tmp/multipartBody3875946340855634325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368296319,"filename":"image_02012026_16_26_44_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/2/1ccb8616fe1fbb1b3fc9c3cb7a0126e2.jpg","text":"TemporaryFile(/tmp/multipartBody3310478917958663681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368296319,"filename":"image_02012026_16_25_55_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171437","file1":"1402171433","file0":"1402171418","file4":"1402171467","file5":"1402171469","file3":"1402171465"},"map_files_photo_id_array":[{"photo_id":"1402171469","filename":"file5"},{"photo_id":"1402171437","filename":"file2"},{"photo_id":"1402171467","filename":"file4"},{"photo_id":"1402171433","filename":"file1"},{"photo_id":"1402171418","filename":"file0"},{"photo_id":"1402171465","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171467":["hashtag1","hashtag2"]},{"1402171437":["hashtag1","hashtag2"]},{"1402171469":["hashtag1","hashtag2"]},{"1402171433":["hashtag1","hashtag2"]},{"1402171465":["hashtag1","hashtag2"]},{"1402171418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171467, 1402171437, 1402171469, 1402171433, 1402171465, 1402171418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.952414989471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:37:55.047998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_44_3674.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_46_2649.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_49_2783.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_52_2659.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_55_3590.jpg', '/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_58_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_44_3674.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_46_2649.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_49_2783.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_52_2659.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_55_3590.jpg
/home/pi/Desktop/images/05112025/19/34/image_05112025_19_34_58_2665.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":["1402171476","1402171473","1402171478","1402171472","1402171480","1402171474"],"photo_ids_order":["1402171472","1402171473","1402171474","1402171476","1402171478","1402171480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3f7983a68eaf5abf3e5d0bd8cd18d45d.jpg","text":"TemporaryFile(/tmp/multipartBody8144377270159062090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368336844,"filename":"image_05112025_19_34_52_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/2/775ab1648936c96945cdce20cdc6a0f6.jpg","text":"TemporaryFile(/tmp/multipartBody3303322824384346482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368336844,"filename":"image_05112025_19_34_46_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/2/21020eda5a7af44b2b854805d59486f7.jpg","text":"TemporaryFile(/tmp/multipartBody4182228497967977783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368336844,"filename":"image_05112025_19_34_55_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/2/f7a66b9f05b9e1d98b950bcbb056b68d.jpg","text":"TemporaryFile(/tmp/multipartBody978132573114553347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368336844,"filename":"image_05112025_19_34_44_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/2/fa57367e46e51853c19971eeed3d457b.jpg","text":"TemporaryFile(/tmp/multipartBody5755707248810038542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368336844,"filename":"image_05112025_19_34_58_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/2/e2ac8cae703c256c57d946b21b060e75.jpg","text":"TemporaryFile(/tmp/multipartBody5223413585542122202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368336844,"filename":"image_05112025_19_34_49_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171474","file1":"1402171473","file0":"1402171472","file4":"1402171478","file5":"1402171480","file3":"1402171476"},"map_files_photo_id_array":[{"photo_id":"1402171480","filename":"file5"},{"photo_id":"1402171474","filename":"file2"},{"photo_id":"1402171478","filename":"file4"},{"photo_id":"1402171473","filename":"file1"},{"photo_id":"1402171472","filename":"file0"},{"photo_id":"1402171476","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171476":["hashtag1","hashtag2"]},{"1402171473":["hashtag1","hashtag2"]},{"1402171478":["hashtag1","hashtag2"]},{"1402171472":["hashtag1","hashtag2"]},{"1402171480":["hashtag1","hashtag2"]},{"1402171474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171476, 1402171473, 1402171478, 1402171472, 1402171480, 1402171474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76209378242493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:38:42.259623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_01_2752.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_04_3065.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_07_3617.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_10_2798.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_13_2749.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_16_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_01_2752.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_04_3065.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_07_3617.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_10_2798.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_13_2749.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_16_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":["1402171497","1402171503","1402171506","1402171499","1402171498","1402171494"],"photo_ids_order":["1402171494","1402171497","1402171498","1402171499","1402171503","1402171506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/530c9d41c38e5140e040bcfaf6bba697.jpg","text":"TemporaryFile(/tmp/multipartBody7900279473644663112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368383942,"filename":"image_05112025_19_35_04_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/11756fd88e76a9774515081b9965d30c.jpg","text":"TemporaryFile(/tmp/multipartBody6711808150215268120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368383942,"filename":"image_05112025_19_35_13_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/2/088664ab80a5e499a6ee107f7be55f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7632875627172971391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368383942,"filename":"image_05112025_19_35_16_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/2/f091ac8a5317da6ef865806bf4547a59.jpg","text":"TemporaryFile(/tmp/multipartBody90023486696808301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368383942,"filename":"image_05112025_19_35_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/2/23c4a98b8fce35667556f8dbfc952abf.jpg","text":"TemporaryFile(/tmp/multipartBody5749659912240148803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368383942,"filename":"image_05112025_19_35_07_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/2/395fe30fe27fb4c951cd9eadf2a0e439.jpg","text":"TemporaryFile(/tmp/multipartBody8779168722952212927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368383942,"filename":"image_05112025_19_35_01_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171498","file1":"1402171497","file0":"1402171494","file4":"1402171503","file5":"1402171506","file3":"1402171499"},"map_files_photo_id_array":[{"photo_id":"1402171506","filename":"file5"},{"photo_id":"1402171498","filename":"file2"},{"photo_id":"1402171503","filename":"file4"},{"photo_id":"1402171497","filename":"file1"},{"photo_id":"1402171494","filename":"file0"},{"photo_id":"1402171499","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171497":["hashtag1","hashtag2"]},{"1402171503":["hashtag1","hashtag2"]},{"1402171506":["hashtag1","hashtag2"]},{"1402171499":["hashtag1","hashtag2"]},{"1402171498":["hashtag1","hashtag2"]},{"1402171494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171497, 1402171503, 1402171506, 1402171499, 1402171498, 1402171494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16732859611511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:39:22.719742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/27/image_02012026_16_27_35_9597.jpg', '/home/pi/Desktop/images/02012026/16/27/image_02012026_16_27_44_9720.jpg', '/home/pi/Desktop/images/02012026/16/28/image_02012026_16_28_35_9736.jpg', '/home/pi/Desktop/images/02012026/16/28/image_02012026_16_28_55_10624.jpg', '/home/pi/Desktop/images/02012026/16/28/image_02012026_16_29_04_9617.jpg', '/home/pi/Desktop/images/02012026/16/29/image_02012026_16_29_14_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/27/image_02012026_16_27_35_9597.jpg
/home/pi/Desktop/images/02012026/16/27/image_02012026_16_27_44_9720.jpg
/home/pi/Desktop/images/02012026/16/28/image_02012026_16_28_35_9736.jpg
/home/pi/Desktop/images/02012026/16/28/image_02012026_16_28_55_10624.jpg
/home/pi/Desktop/images/02012026/16/28/image_02012026_16_29_04_9617.jpg
/home/pi/Desktop/images/02012026/16/29/image_02012026_16_29_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":["1402171521","1402171523","1402171514","1402171517","1402171516","1402171519"],"photo_ids_order":["1402171514","1402171516","1402171517","1402171519","1402171521","1402171523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea0d0d50e0bb58242f9c03f2360cf878.jpg","text":"TemporaryFile(/tmp/multipartBody7879381011127116464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368423294,"filename":"image_02012026_16_29_04_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/2/64d9efa99e814175635ca85118324504.jpg","text":"TemporaryFile(/tmp/multipartBody1787096521967937805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368423294,"filename":"image_02012026_16_29_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/2/1690c60e44b6a7767df3980eac4a78c1.jpg","text":"TemporaryFile(/tmp/multipartBody1013224280659675170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368423294,"filename":"image_02012026_16_27_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/2/3a345e6e0cc62e306df50acb2fd73a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1579342726689428011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368423294,"filename":"image_02012026_16_28_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/2/ed5c09e8b878ff46e98d97ffd0c68a54.jpg","text":"TemporaryFile(/tmp/multipartBody6111720042536527565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368423294,"filename":"image_02012026_16_27_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/2/e0e8cc02559343b95b70b9151332833b.jpg","text":"TemporaryFile(/tmp/multipartBody4849433029430726878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368423294,"filename":"image_02012026_16_28_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171517","file1":"1402171516","file0":"1402171514","file4":"1402171521","file5":"1402171523","file3":"1402171519"},"map_files_photo_id_array":[{"photo_id":"1402171523","filename":"file5"},{"photo_id":"1402171517","filename":"file2"},{"photo_id":"1402171521","filename":"file4"},{"photo_id":"1402171516","filename":"file1"},{"photo_id":"1402171514","filename":"file0"},{"photo_id":"1402171519","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171521":["hashtag1","hashtag2"]},{"1402171523":["hashtag1","hashtag2"]},{"1402171514":["hashtag1","hashtag2"]},{"1402171517":["hashtag1","hashtag2"]},{"1402171516":["hashtag1","hashtag2"]},{"1402171519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171521, 1402171523, 1402171514, 1402171517, 1402171516, 1402171519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15433382987976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:40:03.310571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/29/image_02012026_16_29_25_10623.jpg', '/home/pi/Desktop/images/02012026/16/29/image_02012026_16_29_55_10636.jpg', '/home/pi/Desktop/images/02012026/16/31/image_02012026_16_31_14_10040.jpg', '/home/pi/Desktop/images/02012026/16/31/image_02012026_16_31_25_10840.jpg', '/home/pi/Desktop/images/02012026/16/31/image_02012026_16_31_34_9621.jpg', '/home/pi/Desktop/images/02012026/16/32/image_02012026_16_32_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/29/image_02012026_16_29_25_10623.jpg
/home/pi/Desktop/images/02012026/16/29/image_02012026_16_29_55_10636.jpg
/home/pi/Desktop/images/02012026/16/31/image_02012026_16_31_14_10040.jpg
/home/pi/Desktop/images/02012026/16/31/image_02012026_16_31_25_10840.jpg
/home/pi/Desktop/images/02012026/16/31/image_02012026_16_31_34_9621.jpg
/home/pi/Desktop/images/02012026/16/32/image_02012026_16_32_54_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171524","1402171526","1402171534","1402171528","1402171537","1402171531"],"photo_ids_order":["1402171524","1402171526","1402171528","1402171531","1402171534","1402171537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5dcd572278789a660e49e1b73c4362b0.jpg","text":"TemporaryFile(/tmp/multipartBody9138842812373456343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368463908,"filename":"image_02012026_16_29_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/2/7d4d6ac6756b53a7315fb3557405c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody4266169251737124699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368463908,"filename":"image_02012026_16_29_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/2/4d0e89629867363f84cd1bb97eec0c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2596787388230797855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368463908,"filename":"image_02012026_16_31_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/2/ff26689b65c2d1d435e973c32afab35d.jpg","text":"TemporaryFile(/tmp/multipartBody1642710312646554605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368463908,"filename":"image_02012026_16_31_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/634aed92911b0c16421c99c0fba09394.jpg","text":"TemporaryFile(/tmp/multipartBody3304040719829848608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368463908,"filename":"image_02012026_16_32_54_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/2/5ab08bb5f2f64a4120c579995083189e.jpg","text":"TemporaryFile(/tmp/multipartBody7602656919148328578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368463908,"filename":"image_02012026_16_31_25_10840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171528","file1":"1402171526","file0":"1402171524","file4":"1402171534","file5":"1402171537","file3":"1402171531"},"map_files_photo_id_array":[{"photo_id":"1402171537","filename":"file5"},{"photo_id":"1402171528","filename":"file2"},{"photo_id":"1402171534","filename":"file4"},{"photo_id":"1402171526","filename":"file1"},{"photo_id":"1402171524","filename":"file0"},{"photo_id":"1402171531","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171524":["hashtag1","hashtag2"]},{"1402171526":["hashtag1","hashtag2"]},{"1402171534":["hashtag1","hashtag2"]},{"1402171528":["hashtag1","hashtag2"]},{"1402171537":["hashtag1","hashtag2"]},{"1402171531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171524, 1402171526, 1402171534, 1402171528, 1402171537, 1402171531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20137333869934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:40:42.787798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_19_2886.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_22_3634.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_25_2715.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_29_3544.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_31_2663.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_34_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_19_2886.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_22_3634.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_25_2715.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_29_3544.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_31_2663.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_34_2525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171560","1402171568","1402171562","1402171553","1402171564","1402171561"],"photo_ids_order":["1402171553","1402171560","1402171561","1402171562","1402171564","1402171568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/11c81a1685642f3963f8850383191eee.jpg","text":"TemporaryFile(/tmp/multipartBody4000594753376377498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368504585,"filename":"image_05112025_19_35_22_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/2/6d6f5f076d5d255391c7afc39053cdce.jpg","text":"TemporaryFile(/tmp/multipartBody7147880763124129994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368504585,"filename":"image_05112025_19_35_34_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/2/04883e6150089aafaf9e9131d3e688e4.jpg","text":"TemporaryFile(/tmp/multipartBody6121810376932543047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368504585,"filename":"image_05112025_19_35_29_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/2/41c397bc9504c8f40e8364463e850735.jpg","text":"TemporaryFile(/tmp/multipartBody4196604001081956966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368504585,"filename":"image_05112025_19_35_19_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/2/63710a04fb3c60fc56ff5719f4c74ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3677132101147761903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368504585,"filename":"image_05112025_19_35_31_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/2/2de5afa95376b62c47f86ac50a92d51a.jpg","text":"TemporaryFile(/tmp/multipartBody3988569642283073076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368504585,"filename":"image_05112025_19_35_25_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171561","file1":"1402171560","file0":"1402171553","file4":"1402171564","file5":"1402171568","file3":"1402171562"},"map_files_photo_id_array":[{"photo_id":"1402171568","filename":"file5"},{"photo_id":"1402171561","filename":"file2"},{"photo_id":"1402171564","filename":"file4"},{"photo_id":"1402171560","filename":"file1"},{"photo_id":"1402171553","filename":"file0"},{"photo_id":"1402171562","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171560":["hashtag1","hashtag2"]},{"1402171568":["hashtag1","hashtag2"]},{"1402171562":["hashtag1","hashtag2"]},{"1402171553":["hashtag1","hashtag2"]},{"1402171564":["hashtag1","hashtag2"]},{"1402171561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171560, 1402171568, 1402171562, 1402171553, 1402171564, 1402171561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54228377342224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:41:21.935114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/33/image_02012026_16_33_34_10728.jpg', '/home/pi/Desktop/images/02012026/16/33/image_02012026_16_33_44_9640.jpg', '/home/pi/Desktop/images/02012026/16/34/image_02012026_16_34_35_10594.jpg', '/home/pi/Desktop/images/02012026/16/35/image_02012026_16_36_05_9697.jpg', '/home/pi/Desktop/images/02012026/16/36/image_02012026_16_37_05_10797.jpg', '/home/pi/Desktop/images/02012026/16/37/image_02012026_16_37_25_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/33/image_02012026_16_33_34_10728.jpg
/home/pi/Desktop/images/02012026/16/33/image_02012026_16_33_44_9640.jpg
/home/pi/Desktop/images/02012026/16/34/image_02012026_16_34_35_10594.jpg
/home/pi/Desktop/images/02012026/16/35/image_02012026_16_36_05_9697.jpg
/home/pi/Desktop/images/02012026/16/36/image_02012026_16_37_05_10797.jpg
/home/pi/Desktop/images/02012026/16/37/image_02012026_16_37_25_9994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171584","1402171586","1402171580","1402171582","1402171594","1402171588"],"photo_ids_order":["1402171580","1402171582","1402171584","1402171586","1402171588","1402171594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0583863d2e965d0b0597461bc7687259.jpg","text":"TemporaryFile(/tmp/multipartBody361105718176902043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368542524,"filename":"image_02012026_16_34_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/2/45daf88cc480ce645652db012d2b2e70.jpg","text":"TemporaryFile(/tmp/multipartBody3580074186223281084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368542524,"filename":"image_02012026_16_36_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/41400b888c426b51ecb96e52dcbf739f.jpg","text":"TemporaryFile(/tmp/multipartBody6377858760046415286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368542524,"filename":"image_02012026_16_33_34_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/2/91863c45c32c4ba0ae860d439155a57a.jpg","text":"TemporaryFile(/tmp/multipartBody5855314291370830557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368542524,"filename":"image_02012026_16_33_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/2/c0d72d96261d2dedffb05f8b6c787c47.jpg","text":"TemporaryFile(/tmp/multipartBody791642346770799937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368542524,"filename":"image_02012026_16_37_25_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6a041ffde459ddd97dd7e278e09c72fc.jpg","text":"TemporaryFile(/tmp/multipartBody1246804044334027781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368542524,"filename":"image_02012026_16_37_05_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171584","file1":"1402171582","file0":"1402171580","file4":"1402171588","file5":"1402171594","file3":"1402171586"},"map_files_photo_id_array":[{"photo_id":"1402171594","filename":"file5"},{"photo_id":"1402171584","filename":"file2"},{"photo_id":"1402171588","filename":"file4"},{"photo_id":"1402171582","filename":"file1"},{"photo_id":"1402171580","filename":"file0"},{"photo_id":"1402171586","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171584":["hashtag1","hashtag2"]},{"1402171586":["hashtag1","hashtag2"]},{"1402171580":["hashtag1","hashtag2"]},{"1402171582":["hashtag1","hashtag2"]},{"1402171594":["hashtag1","hashtag2"]},{"1402171588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171584, 1402171586, 1402171580, 1402171582, 1402171594, 1402171588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90891671180725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:42:02.654823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/39/image_02012026_16_39_24_9720.jpg', '/home/pi/Desktop/images/02012026/16/40/image_02012026_16_40_44_9618.jpg', '/home/pi/Desktop/images/02012026/16/40/image_02012026_16_40_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/39/image_02012026_16_39_24_9720.jpg
/home/pi/Desktop/images/02012026/16/40/image_02012026_16_40_44_9618.jpg
/home/pi/Desktop/images/02012026/16/40/image_02012026_16_40_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":["1402171596","1402171598","1402171600"],"photo_ids_order":["1402171596","1402171598","1402171600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9611f47d9033ea654e333e9984c05bd5.jpg","text":"TemporaryFile(/tmp/multipartBody788611692225381589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368583130,"filename":"image_02012026_16_39_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/2/c5552491554749e6378cd415045bdcbd.jpg","text":"TemporaryFile(/tmp/multipartBody4164990985364250040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368583130,"filename":"image_02012026_16_40_44_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/2/51698b108025324a0ee1363ac8427598.jpg","text":"TemporaryFile(/tmp/multipartBody6440451749251851754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368583130,"filename":"image_02012026_16_40_55_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171600","file1":"1402171598","file0":"1402171596"},"map_files_photo_id_array":[{"photo_id":"1402171600","filename":"file2"},{"photo_id":"1402171598","filename":"file1"},{"photo_id":"1402171596","filename":"file0"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171596":["hashtag1","hashtag2"]},{"1402171598":["hashtag1","hashtag2"]},{"1402171600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171596, 1402171598, 1402171600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.782662630081177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:42:32.150285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_40_2717.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_43_2582.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_46_3626.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_49_2606.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_52_2832.jpg', '/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_55_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_40_2717.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_43_2582.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_46_3626.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_49_2606.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_52_2832.jpg
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_55_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":["1402171611","1402171614","1402171622","1402171619","1402171616","1402171618"],"photo_ids_order":["1402171611","1402171614","1402171616","1402171618","1402171619","1402171622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/15f046564c125423734a1d5f8c8a763e.jpg","text":"TemporaryFile(/tmp/multipartBody3303709397448846824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368613995,"filename":"image_05112025_19_35_40_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/2/6b3d52b97246319b00db2f74f67fe03e.jpg","text":"TemporaryFile(/tmp/multipartBody4804807870495758982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368613995,"filename":"image_05112025_19_35_43_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/2/dc1239a382a4dcf8e9a74d09f0afd19e.jpg","text":"TemporaryFile(/tmp/multipartBody6661827181681457199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368613995,"filename":"image_05112025_19_35_55_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/2/b49f29861b5cd1c8c5ae1bd1e4836209.jpg","text":"TemporaryFile(/tmp/multipartBody2769138685845840880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368613995,"filename":"image_05112025_19_35_52_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/2/a87fe9b73f3e0b0bfeac360a350f270e.jpg","text":"TemporaryFile(/tmp/multipartBody589722284879981618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368613995,"filename":"image_05112025_19_35_46_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/2/ad023235a91d3e04f5463ed0825a0fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2435789282720745797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368613995,"filename":"image_05112025_19_35_49_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171616","file1":"1402171614","file0":"1402171611","file4":"1402171619","file5":"1402171622","file3":"1402171618"},"map_files_photo_id_array":[{"photo_id":"1402171622","filename":"file5"},{"photo_id":"1402171616","filename":"file2"},{"photo_id":"1402171619","filename":"file4"},{"photo_id":"1402171614","filename":"file1"},{"photo_id":"1402171611","filename":"file0"},{"photo_id":"1402171618","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171611":["hashtag1","hashtag2"]},{"1402171614":["hashtag1","hashtag2"]},{"1402171622":["hashtag1","hashtag2"]},{"1402171619":["hashtag1","hashtag2"]},{"1402171616":["hashtag1","hashtag2"]},{"1402171618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171611, 1402171614, 1402171622, 1402171619, 1402171616, 1402171618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05507969856262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:43:12.235379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_58_2682.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_01_2714.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_04_3743.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_07_2564.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_10_2624.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_13_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/35/image_05112025_19_35_58_2682.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_01_2714.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_04_3743.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_07_2564.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_10_2624.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_13_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171638","1402171632","1402171641","1402171635","1402171645","1402171642"],"photo_ids_order":["1402171632","1402171635","1402171638","1402171641","1402171642","1402171645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4f3af13f6267eb7325c5a7c1168de6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7271031109208629259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368653927,"filename":"image_05112025_19_36_04_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a9c0b18086ead0f08eb3dbaa609b961.jpg","text":"TemporaryFile(/tmp/multipartBody7571476364609932266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368653927,"filename":"image_05112025_19_35_58_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/2/b835ab34ac94ba75e194a086f707dcd8.jpg","text":"TemporaryFile(/tmp/multipartBody8879617030693570076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368653927,"filename":"image_05112025_19_36_07_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/2/a4c424aa8df6b8c94e4b443a19314d30.jpg","text":"TemporaryFile(/tmp/multipartBody4703320906658592821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368653927,"filename":"image_05112025_19_36_01_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/2/6ed665431ffe92a17cb54c64ec52d89e.jpg","text":"TemporaryFile(/tmp/multipartBody7510427468923702412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368653927,"filename":"image_05112025_19_36_13_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/2/b3871c13ee36c793457f010b424d8046.jpg","text":"TemporaryFile(/tmp/multipartBody1946330487894966727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368653927,"filename":"image_05112025_19_36_10_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171638","file1":"1402171635","file0":"1402171632","file4":"1402171642","file5":"1402171645","file3":"1402171641"},"map_files_photo_id_array":[{"photo_id":"1402171645","filename":"file5"},{"photo_id":"1402171638","filename":"file2"},{"photo_id":"1402171642","filename":"file4"},{"photo_id":"1402171635","filename":"file1"},{"photo_id":"1402171632","filename":"file0"},{"photo_id":"1402171641","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171638":["hashtag1","hashtag2"]},{"1402171632":["hashtag1","hashtag2"]},{"1402171641":["hashtag1","hashtag2"]},{"1402171635":["hashtag1","hashtag2"]},{"1402171645":["hashtag1","hashtag2"]},{"1402171642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171638, 1402171632, 1402171641, 1402171635, 1402171645, 1402171642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94388175010681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:44:03.326571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/41/image_02012026_16_41_45_9777.jpg', '/home/pi/Desktop/images/02012026/16/42/image_02012026_16_42_24_9888.jpg', '/home/pi/Desktop/images/02012026/16/42/image_02012026_16_42_35_10577.jpg', '/home/pi/Desktop/images/02012026/16/42/image_02012026_16_42_45_9738.jpg', '/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_25_9755.jpg', '/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_35_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/41/image_02012026_16_41_45_9777.jpg
/home/pi/Desktop/images/02012026/16/42/image_02012026_16_42_24_9888.jpg
/home/pi/Desktop/images/02012026/16/42/image_02012026_16_42_35_10577.jpg
/home/pi/Desktop/images/02012026/16/42/image_02012026_16_42_45_9738.jpg
/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_25_9755.jpg
/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_35_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":["1402171662","1402171656","1402171659","1402171653","1402171663","1402171651"],"photo_ids_order":["1402171651","1402171653","1402171656","1402171659","1402171662","1402171663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3c328cdb24b584a60286894ec824f6be.jpg","text":"TemporaryFile(/tmp/multipartBody3733353355171993694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368703990,"filename":"image_02012026_16_43_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/2/1ebba8a5e8026512f4b6f1d104073ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7611152257053593087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368703990,"filename":"image_02012026_16_42_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/2/1897b8674a2b5e932d76a3d8fc4419da.jpg","text":"TemporaryFile(/tmp/multipartBody9058024432626884121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368703990,"filename":"image_02012026_16_42_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/2/6258c2798d562e78a3f039aa3dd0927c.jpg","text":"TemporaryFile(/tmp/multipartBody1225716209724686625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368703990,"filename":"image_02012026_16_42_24_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/2/301054b5fb391ddcc337fce86e4c12b2.jpg","text":"TemporaryFile(/tmp/multipartBody5922297382547396929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368703990,"filename":"image_02012026_16_43_35_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/2/2f183d1a41ff8d2b3c5a9dad6572cd73.jpg","text":"TemporaryFile(/tmp/multipartBody5747871701109116003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368703990,"filename":"image_02012026_16_41_45_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171656","file1":"1402171653","file0":"1402171651","file4":"1402171662","file5":"1402171663","file3":"1402171659"},"map_files_photo_id_array":[{"photo_id":"1402171663","filename":"file5"},{"photo_id":"1402171656","filename":"file2"},{"photo_id":"1402171662","filename":"file4"},{"photo_id":"1402171653","filename":"file1"},{"photo_id":"1402171651","filename":"file0"},{"photo_id":"1402171659","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171662":["hashtag1","hashtag2"]},{"1402171656":["hashtag1","hashtag2"]},{"1402171659":["hashtag1","hashtag2"]},{"1402171653":["hashtag1","hashtag2"]},{"1402171663":["hashtag1","hashtag2"]},{"1402171651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171662, 1402171656, 1402171659, 1402171653, 1402171663, 1402171651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48152709007263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:44:42.587662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_16_2676.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_19_2607.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_22_3744.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_25_2517.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_28_2606.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_31_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_16_2676.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_19_2607.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_22_3744.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_25_2517.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_28_2606.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_31_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171698","1402171686","1402171688","1402171681","1402171700","1402171702"],"photo_ids_order":["1402171681","1402171686","1402171688","1402171698","1402171700","1402171702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/764b1f8c4e15502c78181a138248eb60.jpg","text":"TemporaryFile(/tmp/multipartBody2136639123251734801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368744407,"filename":"image_05112025_19_36_25_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/2/2d1de28b5ae5afb30f4b922f256f0fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2764753695760243139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368744407,"filename":"image_05112025_19_36_19_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/2/46afc17006e7b79717cbee4d69e9c293.jpg","text":"TemporaryFile(/tmp/multipartBody2118694306493090094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368744407,"filename":"image_05112025_19_36_22_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/984fd9ebdbc8a803650a7275a7a47d32.jpg","text":"TemporaryFile(/tmp/multipartBody2486815298606087476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368744407,"filename":"image_05112025_19_36_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/2/764bdfb310f112e2c6ce5e965f2cbdc4.jpg","text":"TemporaryFile(/tmp/multipartBody1309500847278237200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368744407,"filename":"image_05112025_19_36_28_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/2/d90c323afbbc443adfed4a936a7f020f.jpg","text":"TemporaryFile(/tmp/multipartBody72894481081731279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368744407,"filename":"image_05112025_19_36_31_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171688","file1":"1402171686","file0":"1402171681","file4":"1402171700","file5":"1402171702","file3":"1402171698"},"map_files_photo_id_array":[{"photo_id":"1402171702","filename":"file5"},{"photo_id":"1402171688","filename":"file2"},{"photo_id":"1402171700","filename":"file4"},{"photo_id":"1402171686","filename":"file1"},{"photo_id":"1402171681","filename":"file0"},{"photo_id":"1402171698","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171698":["hashtag1","hashtag2"]},{"1402171686":["hashtag1","hashtag2"]},{"1402171688":["hashtag1","hashtag2"]},{"1402171681":["hashtag1","hashtag2"]},{"1402171700":["hashtag1","hashtag2"]},{"1402171702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171698, 1402171686, 1402171688, 1402171681, 1402171700, 1402171702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74436712265015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:45:22.805114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_55_9684.jpg', '/home/pi/Desktop/images/02012026/16/43/image_02012026_16_44_05_10702.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_15_9781.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_25_9742.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_34_9654.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_45_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_55_9684.jpg
/home/pi/Desktop/images/02012026/16/43/image_02012026_16_44_05_10702.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_15_9781.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_25_9742.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_34_9654.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_45_10708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.46776270866394043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:45:32.746745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_34_2791.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_37_2648.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_40_3710.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_43_2733.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_46_2808.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_49_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_34_2791.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_37_2648.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_40_3710.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_43_2733.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_46_2808.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_49_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":["1402171725","1402171721","1402171724","1402171714","1402171723","1402171717"],"photo_ids_order":["1402171714","1402171717","1402171721","1402171723","1402171724","1402171725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ee418a62c17d6188c01da193f06297d.jpg","text":"TemporaryFile(/tmp/multipartBody1048581913933364038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368794548,"filename":"image_05112025_19_36_49_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/2/8066d2bb81b02d1c6e14d68bd56b8982.jpg","text":"TemporaryFile(/tmp/multipartBody1273961811349706165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368794548,"filename":"image_05112025_19_36_40_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/69d73a856762caf0c7d19f7cad63aad3.jpg","text":"TemporaryFile(/tmp/multipartBody6564363706671475925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368794548,"filename":"image_05112025_19_36_46_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/2/12d3225a454c44498443a35c6f79257f.jpg","text":"TemporaryFile(/tmp/multipartBody4603878212602273736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368794548,"filename":"image_05112025_19_36_34_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/2/cd4d4a44dc36510e7717d60f07a6d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3672459007115974830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368794548,"filename":"image_05112025_19_36_43_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/2/013f3af329f0634a2f88826756f48cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5322693701504594258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368794548,"filename":"image_05112025_19_36_37_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171721","file1":"1402171717","file0":"1402171714","file4":"1402171724","file5":"1402171725","file3":"1402171723"},"map_files_photo_id_array":[{"photo_id":"1402171725","filename":"file5"},{"photo_id":"1402171721","filename":"file2"},{"photo_id":"1402171724","filename":"file4"},{"photo_id":"1402171717","filename":"file1"},{"photo_id":"1402171714","filename":"file0"},{"photo_id":"1402171723","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171725":["hashtag1","hashtag2"]},{"1402171721":["hashtag1","hashtag2"]},{"1402171724":["hashtag1","hashtag2"]},{"1402171714":["hashtag1","hashtag2"]},{"1402171723":["hashtag1","hashtag2"]},{"1402171717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171725, 1402171721, 1402171724, 1402171714, 1402171723, 1402171717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81873965263367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:46:11.833786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_52_3531.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_55_2727.jpg', '/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_58_3650.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_01_2677.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_04_2787.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_07_3501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_52_3531.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_55_2727.jpg
/home/pi/Desktop/images/05112025/19/36/image_05112025_19_36_58_3650.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_01_2677.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_04_2787.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_07_3501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171728","1402171736","1402171730","1402171744","1402171732","1402171735"],"photo_ids_order":["1402171728","1402171730","1402171732","1402171735","1402171736","1402171744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b4615a32c27e91f27daf1830058b174.jpg","text":"TemporaryFile(/tmp/multipartBody121016301874221548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368833517,"filename":"image_05112025_19_36_52_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/2/9c3bd0d1a3c6d07c1e83785e005eb615.jpg","text":"TemporaryFile(/tmp/multipartBody5768546754599302274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368833517,"filename":"image_05112025_19_37_04_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/2/ba1b30f3433913ca36338b25c3eac525.jpg","text":"TemporaryFile(/tmp/multipartBody6257897055653617073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368833517,"filename":"image_05112025_19_36_55_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/47b3cfa389d38fb0b937b49965050cea.jpg","text":"TemporaryFile(/tmp/multipartBody8104860641684481751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368833517,"filename":"image_05112025_19_37_07_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c1eea851aa1c681e136dd8be8f1dc1e.jpg","text":"TemporaryFile(/tmp/multipartBody8748509633394432243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368833517,"filename":"image_05112025_19_36_58_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/2/42cd00bd979bfef0e920012b565ec17f.jpg","text":"TemporaryFile(/tmp/multipartBody2583391752356708588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368833517,"filename":"image_05112025_19_37_01_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171732","file1":"1402171730","file0":"1402171728","file4":"1402171736","file5":"1402171744","file3":"1402171735"},"map_files_photo_id_array":[{"photo_id":"1402171744","filename":"file5"},{"photo_id":"1402171732","filename":"file2"},{"photo_id":"1402171736","filename":"file4"},{"photo_id":"1402171730","filename":"file1"},{"photo_id":"1402171728","filename":"file0"},{"photo_id":"1402171735","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171728":["hashtag1","hashtag2"]},{"1402171736":["hashtag1","hashtag2"]},{"1402171730":["hashtag1","hashtag2"]},{"1402171744":["hashtag1","hashtag2"]},{"1402171732":["hashtag1","hashtag2"]},{"1402171735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171728, 1402171736, 1402171730, 1402171744, 1402171732, 1402171735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27332019805908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:47:02.739546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_55_9684.jpg', '/home/pi/Desktop/images/02012026/16/43/image_02012026_16_44_05_10702.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_15_9781.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_25_9742.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_34_9654.jpg', '/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_45_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/43/image_02012026_16_43_55_9684.jpg
/home/pi/Desktop/images/02012026/16/43/image_02012026_16_44_05_10702.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_15_9781.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_25_9742.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_34_9654.jpg
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_45_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171764","1402171760","1402171754","1402171757","1402171762","1402171753"],"photo_ids_order":["1402171753","1402171754","1402171757","1402171760","1402171762","1402171764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/227f0dcf311c83f1a195131e424bddf5.jpg","text":"TemporaryFile(/tmp/multipartBody9081687426874253374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368883376,"filename":"image_02012026_16_44_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/2/eadcb0923d9ef2bed7f0261b12c57d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3263725398064108572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368883376,"filename":"image_02012026_16_44_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/2/032a219871c853f427e7f89027137eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1497506664407504228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368883376,"filename":"image_02012026_16_44_05_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/2/446d8793582c5444d5505c13487c30e1.jpg","text":"TemporaryFile(/tmp/multipartBody6356808000928929277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368883376,"filename":"image_02012026_16_44_15_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/2/6f47f316b3a61abf525705e6c9263e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7355497019740088960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368883376,"filename":"image_02012026_16_44_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8e1666792cfa21375fcaa875bf7659a.jpg","text":"TemporaryFile(/tmp/multipartBody7585359140946448057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368883376,"filename":"image_02012026_16_43_55_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171757","file1":"1402171754","file0":"1402171753","file4":"1402171762","file5":"1402171764","file3":"1402171760"},"map_files_photo_id_array":[{"photo_id":"1402171764","filename":"file5"},{"photo_id":"1402171757","filename":"file2"},{"photo_id":"1402171762","filename":"file4"},{"photo_id":"1402171754","filename":"file1"},{"photo_id":"1402171753","filename":"file0"},{"photo_id":"1402171760","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171764":["hashtag1","hashtag2"]},{"1402171760":["hashtag1","hashtag2"]},{"1402171754":["hashtag1","hashtag2"]},{"1402171757":["hashtag1","hashtag2"]},{"1402171762":["hashtag1","hashtag2"]},{"1402171753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171764, 1402171760, 1402171754, 1402171757, 1402171762, 1402171753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78878951072693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:47:42.022000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_10_2590.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_13_2662.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_16_3666.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_19_2796.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_22_2625.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_25_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_10_2590.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_13_2662.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_16_3666.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_19_2796.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_22_2625.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_25_3654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171773","1402171776","1402171770","1402171778","1402171775","1402171777"],"photo_ids_order":["1402171770","1402171773","1402171775","1402171776","1402171777","1402171778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e1c5644d36dfeed34037bf6bc58a908.jpg","text":"TemporaryFile(/tmp/multipartBody2612848716088562412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368923861,"filename":"image_05112025_19_37_13_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/2/c18a093a797ec7742639e0a9a7779d2e.jpg","text":"TemporaryFile(/tmp/multipartBody9079328847725526331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368923861,"filename":"image_05112025_19_37_19_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/2/49e1496f04e9f1f2fe3865f19fa306c0.jpg","text":"TemporaryFile(/tmp/multipartBody2255897784495513565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368923861,"filename":"image_05112025_19_37_10_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/2/d31313b4b63a435c5d29371f7c0b560d.jpg","text":"TemporaryFile(/tmp/multipartBody257467125665684399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368923861,"filename":"image_05112025_19_37_25_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/2/5c9957c9150ffae4e8569ce4d5421ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1908140595269460047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368923861,"filename":"image_05112025_19_37_16_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/2/b46a2862a5c04375039370b57de765cd.jpg","text":"TemporaryFile(/tmp/multipartBody258754045384769910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368923861,"filename":"image_05112025_19_37_22_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171775","file1":"1402171773","file0":"1402171770","file4":"1402171777","file5":"1402171778","file3":"1402171776"},"map_files_photo_id_array":[{"photo_id":"1402171778","filename":"file5"},{"photo_id":"1402171775","filename":"file2"},{"photo_id":"1402171777","filename":"file4"},{"photo_id":"1402171773","filename":"file1"},{"photo_id":"1402171770","filename":"file0"},{"photo_id":"1402171776","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171773":["hashtag1","hashtag2"]},{"1402171776":["hashtag1","hashtag2"]},{"1402171770":["hashtag1","hashtag2"]},{"1402171778":["hashtag1","hashtag2"]},{"1402171775":["hashtag1","hashtag2"]},{"1402171777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171773, 1402171776, 1402171770, 1402171778, 1402171775, 1402171777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35751914978027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:48:22.204231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_55_9598.jpg', '/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_14_10062.jpg', '/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_25_10637.jpg', '/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_35_9564.jpg', '/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_45_10653.jpg', '/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_55_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/44/image_02012026_16_44_55_9598.jpg
/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_14_10062.jpg
/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_25_10637.jpg
/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_35_9564.jpg
/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_45_10653.jpg
/home/pi/Desktop/images/02012026/16/45/image_02012026_16_45_55_9801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171788","1402171782","1402171784","1402171795","1402171792","1402171786"],"photo_ids_order":["1402171782","1402171784","1402171786","1402171788","1402171792","1402171795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/698345465b39859453939cdea25523bc.jpg","text":"TemporaryFile(/tmp/multipartBody4117506421334714618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368962780,"filename":"image_02012026_16_45_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/2/7e2cf3bc2fb77bf3ca35567969a6ee24.jpg","text":"TemporaryFile(/tmp/multipartBody9181809086271935933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368962780,"filename":"image_02012026_16_44_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/2/8a5ddf9788fce88e7c057cc21addebc3.jpg","text":"TemporaryFile(/tmp/multipartBody2032470541404235519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368962780,"filename":"image_02012026_16_45_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/2/3bbb127418101ad4e955fad09367a32f.jpg","text":"TemporaryFile(/tmp/multipartBody5328789071292491910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368962780,"filename":"image_02012026_16_45_55_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/2/dc410458f196969d6dbcb0e40d82d6f0.jpg","text":"TemporaryFile(/tmp/multipartBody766077961372411520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368962780,"filename":"image_02012026_16_45_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/2/5aa820f2e410a5abfea20e21195553d2.jpg","text":"TemporaryFile(/tmp/multipartBody3583891261454815131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767368962780,"filename":"image_02012026_16_45_25_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171786","file1":"1402171784","file0":"1402171782","file4":"1402171792","file5":"1402171795","file3":"1402171788"},"map_files_photo_id_array":[{"photo_id":"1402171795","filename":"file5"},{"photo_id":"1402171786","filename":"file2"},{"photo_id":"1402171792","filename":"file4"},{"photo_id":"1402171784","filename":"file1"},{"photo_id":"1402171782","filename":"file0"},{"photo_id":"1402171788","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171788":["hashtag1","hashtag2"]},{"1402171782":["hashtag1","hashtag2"]},{"1402171784":["hashtag1","hashtag2"]},{"1402171795":["hashtag1","hashtag2"]},{"1402171792":["hashtag1","hashtag2"]},{"1402171786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171788, 1402171782, 1402171784, 1402171795, 1402171792, 1402171786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46828317642212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:49:03.349803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/45/image_02012026_16_46_05_9670.jpg', '/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_14_9719.jpg', '/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_25_10527.jpg', '/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_35_9838.jpg', '/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_44_9649.jpg', '/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/45/image_02012026_16_46_05_9670.jpg
/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_14_9719.jpg
/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_25_10527.jpg
/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_35_9838.jpg
/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_44_9649.jpg
/home/pi/Desktop/images/02012026/16/46/image_02012026_16_46_55_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171804","1402171806","1402171809","1402171799","1402171802","1402171807"],"photo_ids_order":["1402171799","1402171802","1402171804","1402171806","1402171807","1402171809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7c7019708540d80790ead9a260b57ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4630296723491959157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369004108,"filename":"image_02012026_16_46_25_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/2/3f349916d035967a5744e6d1e613cb80.jpg","text":"TemporaryFile(/tmp/multipartBody542330792979956843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369004108,"filename":"image_02012026_16_46_35_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/2/e75a2fa93c1279f98eb94f475fb3d312.jpg","text":"TemporaryFile(/tmp/multipartBody1153206237773613778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369004108,"filename":"image_02012026_16_46_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/2/3cc926c9a6d32f70c96d33e9eebf5957.jpg","text":"TemporaryFile(/tmp/multipartBody4259470328893402891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369004108,"filename":"image_02012026_16_46_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/2/23ad4045675cbd4ded92fd5f212e81ea.jpg","text":"TemporaryFile(/tmp/multipartBody917095991024554884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369004108,"filename":"image_02012026_16_46_14_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/2/1218dabff12e97f42367cfa3649cc9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8583158516325638634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369004108,"filename":"image_02012026_16_46_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171804","file1":"1402171802","file0":"1402171799","file4":"1402171807","file5":"1402171809","file3":"1402171806"},"map_files_photo_id_array":[{"photo_id":"1402171809","filename":"file5"},{"photo_id":"1402171804","filename":"file2"},{"photo_id":"1402171807","filename":"file4"},{"photo_id":"1402171802","filename":"file1"},{"photo_id":"1402171799","filename":"file0"},{"photo_id":"1402171806","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171804":["hashtag1","hashtag2"]},{"1402171806":["hashtag1","hashtag2"]},{"1402171809":["hashtag1","hashtag2"]},{"1402171799":["hashtag1","hashtag2"]},{"1402171802":["hashtag1","hashtag2"]},{"1402171807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171804, 1402171806, 1402171809, 1402171799, 1402171802, 1402171807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.063660621643066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:49:42.386522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_28_2711.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_33_2702.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_37_3562.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_40_2711.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_43_2804.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_46_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_28_2711.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_33_2702.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_37_3562.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_40_2711.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_43_2804.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_46_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":["1402171819","1402171818","1402171821","1402171820","1402171823","1402171816"],"photo_ids_order":["1402171816","1402171818","1402171819","1402171820","1402171821","1402171823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d537e365a91a7c933db4c9a045a53f8.jpg","text":"TemporaryFile(/tmp/multipartBody4649784645959531500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369044182,"filename":"image_05112025_19_37_37_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/2/cca065b1476f217dc7148900f6810f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1629957699413240908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369044182,"filename":"image_05112025_19_37_33_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/2/8c906a241ea02bf8dd5ab20f78b2ea34.jpg","text":"TemporaryFile(/tmp/multipartBody8782010002764395617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369044182,"filename":"image_05112025_19_37_43_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/2/abd6ba6b45bb148f98478324487a30d4.jpg","text":"TemporaryFile(/tmp/multipartBody3048731618459629703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369044182,"filename":"image_05112025_19_37_40_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/2/7876b5cbfccb025f541a3c4e2c874980.jpg","text":"TemporaryFile(/tmp/multipartBody4862880351125512816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369044182,"filename":"image_05112025_19_37_46_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/2/e64cc180a50890fb7b8b12e4521933a5.jpg","text":"TemporaryFile(/tmp/multipartBody4408884640038643338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369044182,"filename":"image_05112025_19_37_28_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171819","file1":"1402171818","file0":"1402171816","file4":"1402171821","file5":"1402171823","file3":"1402171820"},"map_files_photo_id_array":[{"photo_id":"1402171823","filename":"file5"},{"photo_id":"1402171819","filename":"file2"},{"photo_id":"1402171821","filename":"file4"},{"photo_id":"1402171818","filename":"file1"},{"photo_id":"1402171816","filename":"file0"},{"photo_id":"1402171820","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171819":["hashtag1","hashtag2"]},{"1402171818":["hashtag1","hashtag2"]},{"1402171821":["hashtag1","hashtag2"]},{"1402171820":["hashtag1","hashtag2"]},{"1402171823":["hashtag1","hashtag2"]},{"1402171816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171819, 1402171818, 1402171821, 1402171820, 1402171823, 1402171816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.730626821517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:50:22.539086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/46/image_02012026_16_47_05_9692.jpg', '/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_15_9716.jpg', '/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_25_10698.jpg', '/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_35_9644.jpg', '/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_45_9617.jpg', '/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/46/image_02012026_16_47_05_9692.jpg
/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_15_9716.jpg
/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_25_10698.jpg
/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_35_9644.jpg
/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_45_9617.jpg
/home/pi/Desktop/images/02012026/16/47/image_02012026_16_47_55_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":["1402171848","1402171839","1402171833","1402171829","1402171831","1402171828"],"photo_ids_order":["1402171828","1402171829","1402171831","1402171833","1402171839","1402171848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/512a6c64219cd9dd5a9fec90115683cf.jpg","text":"TemporaryFile(/tmp/multipartBody454416430089131655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369083131,"filename":"image_02012026_16_47_55_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/2/009c1a3e020e5938f8ceedcad5d29c12.jpg","text":"TemporaryFile(/tmp/multipartBody8978658129268036472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369083131,"filename":"image_02012026_16_47_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/2/c5cf9990889918bfdaa859e181e742ac.jpg","text":"TemporaryFile(/tmp/multipartBody8109622700810070127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369083131,"filename":"image_02012026_16_47_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/2/ab5eab52a44afeb02c1c854b2e941df5.jpg","text":"TemporaryFile(/tmp/multipartBody723009715343217614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369083131,"filename":"image_02012026_16_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/2/3d5cca1713aa5e723a83097f84b6cd6d.jpg","text":"TemporaryFile(/tmp/multipartBody1768693579720191826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369083131,"filename":"image_02012026_16_47_25_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/2/cfedcafee21e122703d4c9fbbc44ffcb.jpg","text":"TemporaryFile(/tmp/multipartBody2863374371778792221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369083131,"filename":"image_02012026_16_47_05_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171831","file1":"1402171829","file0":"1402171828","file4":"1402171839","file5":"1402171848","file3":"1402171833"},"map_files_photo_id_array":[{"photo_id":"1402171848","filename":"file5"},{"photo_id":"1402171831","filename":"file2"},{"photo_id":"1402171839","filename":"file4"},{"photo_id":"1402171829","filename":"file1"},{"photo_id":"1402171828","filename":"file0"},{"photo_id":"1402171833","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171848":["hashtag1","hashtag2"]},{"1402171839":["hashtag1","hashtag2"]},{"1402171833":["hashtag1","hashtag2"]},{"1402171829":["hashtag1","hashtag2"]},{"1402171831":["hashtag1","hashtag2"]},{"1402171828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171848, 1402171839, 1402171833, 1402171829, 1402171831, 1402171828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78609323501587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:51:03.360716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/47/image_02012026_16_48_05_9785.jpg', '/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_15_9579.jpg', '/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_24_9816.jpg', '/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_35_10831.jpg', '/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_45_9595.jpg', '/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/47/image_02012026_16_48_05_9785.jpg
/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_15_9579.jpg
/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_24_9816.jpg
/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_35_10831.jpg
/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_45_9595.jpg
/home/pi/Desktop/images/02012026/16/48/image_02012026_16_48_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171869","1402171860","1402171871","1402171873","1402171867","1402171852"],"photo_ids_order":["1402171852","1402171860","1402171867","1402171869","1402171871","1402171873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/069c75f0e43ae40f49ed97f79b83ea03.jpg","text":"TemporaryFile(/tmp/multipartBody2988077228265527888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369123973,"filename":"image_02012026_16_48_35_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ca7372c9f9703f5cf006d4142ff959a.jpg","text":"TemporaryFile(/tmp/multipartBody1049411786377396080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369123973,"filename":"image_02012026_16_48_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/2/f02f7d0dc991cd066c3d10b3a6a13e28.jpg","text":"TemporaryFile(/tmp/multipartBody4804179451139115198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369123973,"filename":"image_02012026_16_48_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/2/ea1fe77c85a03fd523be7c0263ff0563.jpg","text":"TemporaryFile(/tmp/multipartBody3668683385721550117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369123973,"filename":"image_02012026_16_48_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/2/80fd8603b06594ebd38a39602f19e7f2.jpg","text":"TemporaryFile(/tmp/multipartBody567205179136947411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369123973,"filename":"image_02012026_16_48_24_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/2/2299f9b8a766705ff12d8988cfa68368.jpg","text":"TemporaryFile(/tmp/multipartBody5663155502672169888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369123973,"filename":"image_02012026_16_48_05_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171867","file1":"1402171860","file0":"1402171852","file4":"1402171871","file5":"1402171873","file3":"1402171869"},"map_files_photo_id_array":[{"photo_id":"1402171873","filename":"file5"},{"photo_id":"1402171867","filename":"file2"},{"photo_id":"1402171871","filename":"file4"},{"photo_id":"1402171860","filename":"file1"},{"photo_id":"1402171852","filename":"file0"},{"photo_id":"1402171869","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171869":["hashtag1","hashtag2"]},{"1402171860":["hashtag1","hashtag2"]},{"1402171871":["hashtag1","hashtag2"]},{"1402171873":["hashtag1","hashtag2"]},{"1402171867":["hashtag1","hashtag2"]},{"1402171852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171869, 1402171860, 1402171871, 1402171873, 1402171867, 1402171852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.006744384765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:51:42.777297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_49_2797.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_52_2767.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_54_2658.jpg', '/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_58_3637.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_01_2545.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_04_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_49_2797.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_52_2767.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_54_2658.jpg
/home/pi/Desktop/images/05112025/19/37/image_05112025_19_37_58_3637.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_01_2545.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_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":["1402171881","1402171889","1402171891","1402171879","1402171890","1402171884"],"photo_ids_order":["1402171879","1402171881","1402171884","1402171889","1402171890","1402171891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f1b66c3d0408facd4688e36c0710d5d.jpg","text":"TemporaryFile(/tmp/multipartBody192439513657561995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369164567,"filename":"image_05112025_19_37_52_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/2/e2fdfca234939ec2346c4b7a58332270.jpg","text":"TemporaryFile(/tmp/multipartBody1991631814073908572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369164567,"filename":"image_05112025_19_37_58_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/2/c27ba17ef18f982f87b849bc3e1be2b3.jpg","text":"TemporaryFile(/tmp/multipartBody5410726515578592480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369164567,"filename":"image_05112025_19_38_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/2/53eb4d956ca90a704fd37b27e211392f.jpg","text":"TemporaryFile(/tmp/multipartBody3210821764730970963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369164567,"filename":"image_05112025_19_37_49_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/2/2013336323cde28e67248d1ab4c5ca68.jpg","text":"TemporaryFile(/tmp/multipartBody5386386624541339106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369164567,"filename":"image_05112025_19_38_01_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/2/f946e11580819b71dfa446075d9b0249.jpg","text":"TemporaryFile(/tmp/multipartBody1669881953557161900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369164567,"filename":"image_05112025_19_37_54_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171884","file1":"1402171881","file0":"1402171879","file4":"1402171890","file5":"1402171891","file3":"1402171889"},"map_files_photo_id_array":[{"photo_id":"1402171891","filename":"file5"},{"photo_id":"1402171884","filename":"file2"},{"photo_id":"1402171890","filename":"file4"},{"photo_id":"1402171881","filename":"file1"},{"photo_id":"1402171879","filename":"file0"},{"photo_id":"1402171889","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171881":["hashtag1","hashtag2"]},{"1402171889":["hashtag1","hashtag2"]},{"1402171891":["hashtag1","hashtag2"]},{"1402171879":["hashtag1","hashtag2"]},{"1402171890":["hashtag1","hashtag2"]},{"1402171884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171881, 1402171889, 1402171891, 1402171879, 1402171890, 1402171884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28668808937073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:52:22.127996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/48/image_02012026_16_49_05_10580.jpg', '/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_15_9671.jpg', '/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_24_9706.jpg', '/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_35_10755.jpg', '/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_45_9619.jpg', '/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_54_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/48/image_02012026_16_49_05_10580.jpg
/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_15_9671.jpg
/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_24_9706.jpg
/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_35_10755.jpg
/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_45_9619.jpg
/home/pi/Desktop/images/02012026/16/49/image_02012026_16_49_54_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171903","1402171896","1402171908","1402171898","1402171906","1402171900"],"photo_ids_order":["1402171896","1402171898","1402171900","1402171903","1402171906","1402171908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2341455485e3428af5aed1b4160c917b.jpg","text":"TemporaryFile(/tmp/multipartBody2432584161112959945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369202691,"filename":"image_02012026_16_49_35_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/2/bb2761b88ab9d380ba2c335fd0f97e89.jpg","text":"TemporaryFile(/tmp/multipartBody6998191458012937585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369202691,"filename":"image_02012026_16_49_05_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/2/f1d3f9945402b782ccc59ca9cd1865af.jpg","text":"TemporaryFile(/tmp/multipartBody1841333812307439105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369202691,"filename":"image_02012026_16_49_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/2/6a4fb7ed9d502191a768425730dff333.jpg","text":"TemporaryFile(/tmp/multipartBody7352111282026609957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369202691,"filename":"image_02012026_16_49_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/2/4cc92c930214001a267f57e8fc7dc589.jpg","text":"TemporaryFile(/tmp/multipartBody6462670124852747189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369202691,"filename":"image_02012026_16_49_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dcb331ea79d3098f0818e8bd19d8ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody7230802522244564221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369202691,"filename":"image_02012026_16_49_24_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171900","file1":"1402171898","file0":"1402171896","file4":"1402171906","file5":"1402171908","file3":"1402171903"},"map_files_photo_id_array":[{"photo_id":"1402171908","filename":"file5"},{"photo_id":"1402171900","filename":"file2"},{"photo_id":"1402171906","filename":"file4"},{"photo_id":"1402171898","filename":"file1"},{"photo_id":"1402171896","filename":"file0"},{"photo_id":"1402171903","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171903":["hashtag1","hashtag2"]},{"1402171896":["hashtag1","hashtag2"]},{"1402171908":["hashtag1","hashtag2"]},{"1402171898":["hashtag1","hashtag2"]},{"1402171906":["hashtag1","hashtag2"]},{"1402171900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171903, 1402171896, 1402171908, 1402171898, 1402171906, 1402171900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.651443004608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:53:02.879476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_15_10054.jpg', '/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_25_10662.jpg', '/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_35_9715.jpg', '/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_45_9808.jpg', '/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_55_9894.jpg', '/home/pi/Desktop/images/02012026/16/50/image_02012026_16_51_05_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_15_10054.jpg
/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_25_10662.jpg
/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_35_9715.jpg
/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_45_9808.jpg
/home/pi/Desktop/images/02012026/16/50/image_02012026_16_50_55_9894.jpg
/home/pi/Desktop/images/02012026/16/50/image_02012026_16_51_05_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":["1402171917","1402171911","1402171920","1402171914","1402171912","1402171915"],"photo_ids_order":["1402171911","1402171912","1402171914","1402171915","1402171917","1402171920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1a1bfe58624f283754b7f6aaf0a5d8fb.jpg","text":"TemporaryFile(/tmp/multipartBody8906980834355641695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369243546,"filename":"image_02012026_16_50_55_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/2/ec216eb61475b57fa76046c5c8cfcde1.jpg","text":"TemporaryFile(/tmp/multipartBody3434895077433239000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369243546,"filename":"image_02012026_16_50_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/25276694186b373fba17be0820035aae.jpg","text":"TemporaryFile(/tmp/multipartBody297416992256556078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369243546,"filename":"image_02012026_16_51_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/2/e903c8bd3a531211ee2161be2fd6bb56.jpg","text":"TemporaryFile(/tmp/multipartBody8741336022792386252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369243546,"filename":"image_02012026_16_50_35_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/2/ce6149de1197c744f97e4747c245bb4d.jpg","text":"TemporaryFile(/tmp/multipartBody8966061960813188410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369243546,"filename":"image_02012026_16_50_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/2/133aed95cdde2d522470b437e9902bb7.jpg","text":"TemporaryFile(/tmp/multipartBody324395159594892020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369243546,"filename":"image_02012026_16_50_45_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171914","file1":"1402171912","file0":"1402171911","file4":"1402171917","file5":"1402171920","file3":"1402171915"},"map_files_photo_id_array":[{"photo_id":"1402171920","filename":"file5"},{"photo_id":"1402171914","filename":"file2"},{"photo_id":"1402171917","filename":"file4"},{"photo_id":"1402171912","filename":"file1"},{"photo_id":"1402171911","filename":"file0"},{"photo_id":"1402171915","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171917":["hashtag1","hashtag2"]},{"1402171911":["hashtag1","hashtag2"]},{"1402171920":["hashtag1","hashtag2"]},{"1402171914":["hashtag1","hashtag2"]},{"1402171912":["hashtag1","hashtag2"]},{"1402171915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171917, 1402171911, 1402171920, 1402171914, 1402171912, 1402171915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18634223937988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:53:42.141331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_07_2617.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_10_2668.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_13_3715.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_16_2543.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_25_3603.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_28_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_07_2617.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_10_2668.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_13_3715.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_16_2543.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_25_3603.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_28_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171950","1402171926","1402171952","1402171949","1402171940","1402171951"],"photo_ids_order":["1402171926","1402171940","1402171949","1402171950","1402171951","1402171952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1207c33fcfa50f7068a8f2cac6b4d228.jpg","text":"TemporaryFile(/tmp/multipartBody26715807385074157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369283947,"filename":"image_05112025_19_38_16_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/2/daf38bc1962a136e98c9260c31b1115f.jpg","text":"TemporaryFile(/tmp/multipartBody4271458581626338193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369283947,"filename":"image_05112025_19_38_07_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/2/420a729e1c9771be83dffb4c12d7ae25.jpg","text":"TemporaryFile(/tmp/multipartBody7630511725694576571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369283947,"filename":"image_05112025_19_38_28_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/2/dd3ed56ae089ade7f12b20d0f7304963.jpg","text":"TemporaryFile(/tmp/multipartBody7025565974270363517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369283947,"filename":"image_05112025_19_38_13_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/2/78c0cd61b71d9803ffa24d4bf6e139da.jpg","text":"TemporaryFile(/tmp/multipartBody4666061454296113045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369283947,"filename":"image_05112025_19_38_10_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/2/c4719088dcd063254b9464a8b20b1222.jpg","text":"TemporaryFile(/tmp/multipartBody2861315673753882368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369283947,"filename":"image_05112025_19_38_25_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171949","file1":"1402171940","file0":"1402171926","file4":"1402171951","file5":"1402171952","file3":"1402171950"},"map_files_photo_id_array":[{"photo_id":"1402171952","filename":"file5"},{"photo_id":"1402171949","filename":"file2"},{"photo_id":"1402171951","filename":"file4"},{"photo_id":"1402171940","filename":"file1"},{"photo_id":"1402171926","filename":"file0"},{"photo_id":"1402171950","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171950":["hashtag1","hashtag2"]},{"1402171926":["hashtag1","hashtag2"]},{"1402171952":["hashtag1","hashtag2"]},{"1402171949":["hashtag1","hashtag2"]},{"1402171940":["hashtag1","hashtag2"]},{"1402171951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171950, 1402171926, 1402171952, 1402171949, 1402171940, 1402171951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.411402225494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:54:22.321361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_15_9755.jpg', '/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_25_9680.jpg', '/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_35_10659.jpg', '/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_45_9689.jpg', '/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_55_9723.jpg', '/home/pi/Desktop/images/02012026/16/51/image_02012026_16_52_06_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_15_9755.jpg
/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_25_9680.jpg
/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_35_10659.jpg
/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_45_9689.jpg
/home/pi/Desktop/images/02012026/16/51/image_02012026_16_51_55_9723.jpg
/home/pi/Desktop/images/02012026/16/51/image_02012026_16_52_06_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":["1402171965","1402171968","1402171964","1402171958","1402171961","1402171960"],"photo_ids_order":["1402171958","1402171960","1402171961","1402171964","1402171965","1402171968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/01a668e98f7ba39e485698829be7e270.jpg","text":"TemporaryFile(/tmp/multipartBody4587352170305579929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369322929,"filename":"image_02012026_16_51_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/2/25061a7ff76c2cec52b730daf25f49cc.jpg","text":"TemporaryFile(/tmp/multipartBody6102301988470962839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369322929,"filename":"image_02012026_16_52_06_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/2/faabc056b97ad3788b987ba6f86504f8.jpg","text":"TemporaryFile(/tmp/multipartBody4711123863824787820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369322929,"filename":"image_02012026_16_51_45_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/2/e94077a4ffcc97f1453dfc52efc833dc.jpg","text":"TemporaryFile(/tmp/multipartBody483387715198085165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369322929,"filename":"image_02012026_16_51_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/2/023dec5d2296aab9f11cf0bb074bd80a.jpg","text":"TemporaryFile(/tmp/multipartBody2479687659413507141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369322929,"filename":"image_02012026_16_51_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/2/58788a30f16156c8e7cbffc50e1472de.jpg","text":"TemporaryFile(/tmp/multipartBody2921609521141670372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369322929,"filename":"image_02012026_16_51_25_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171961","file1":"1402171960","file0":"1402171958","file4":"1402171965","file5":"1402171968","file3":"1402171964"},"map_files_photo_id_array":[{"photo_id":"1402171968","filename":"file5"},{"photo_id":"1402171961","filename":"file2"},{"photo_id":"1402171965","filename":"file4"},{"photo_id":"1402171960","filename":"file1"},{"photo_id":"1402171958","filename":"file0"},{"photo_id":"1402171964","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171965":["hashtag1","hashtag2"]},{"1402171968":["hashtag1","hashtag2"]},{"1402171964":["hashtag1","hashtag2"]},{"1402171958":["hashtag1","hashtag2"]},{"1402171961":["hashtag1","hashtag2"]},{"1402171960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171965, 1402171968, 1402171964, 1402171958, 1402171961, 1402171960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82376265525818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:55:03.001199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_15_9545.jpg', '/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_25_9817.jpg', '/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_35_10548.jpg', '/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_45_9562.jpg', '/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_55_9711.jpg', '/home/pi/Desktop/images/02012026/16/52/image_02012026_16_53_06_10842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_15_9545.jpg
/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_25_9817.jpg
/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_35_10548.jpg
/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_45_9562.jpg
/home/pi/Desktop/images/02012026/16/52/image_02012026_16_52_55_9711.jpg
/home/pi/Desktop/images/02012026/16/52/image_02012026_16_53_06_10842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171971","1402171974","1402171977","1402171979","1402171970","1402171972"],"photo_ids_order":["1402171970","1402171971","1402171972","1402171974","1402171977","1402171979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe1dcbf85303a6ac6902605683c9a400.jpg","text":"TemporaryFile(/tmp/multipartBody7332934374496009774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369363631,"filename":"image_02012026_16_52_25_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/2/fb43717119a138f37d0613172325559d.jpg","text":"TemporaryFile(/tmp/multipartBody4786176757395025688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369363631,"filename":"image_02012026_16_52_45_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/2/5c16a9ebdba9ab5220ce42dff3505aee.jpg","text":"TemporaryFile(/tmp/multipartBody1139020565808019179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369363631,"filename":"image_02012026_16_52_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/2/c565bdb28f93aaec756b9559635ae441.jpg","text":"TemporaryFile(/tmp/multipartBody1662479828511484586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369363631,"filename":"image_02012026_16_53_06_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/809a63a93d320d44ae8d16899d85795f.jpg","text":"TemporaryFile(/tmp/multipartBody5406532956327264522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369363631,"filename":"image_02012026_16_52_15_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/2/3ac96d56479291e1f14715697e82bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody6664087170520760196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369363631,"filename":"image_02012026_16_52_35_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171972","file1":"1402171971","file0":"1402171970","file4":"1402171977","file5":"1402171979","file3":"1402171974"},"map_files_photo_id_array":[{"photo_id":"1402171979","filename":"file5"},{"photo_id":"1402171972","filename":"file2"},{"photo_id":"1402171977","filename":"file4"},{"photo_id":"1402171971","filename":"file1"},{"photo_id":"1402171970","filename":"file0"},{"photo_id":"1402171974","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402171971":["hashtag1","hashtag2"]},{"1402171974":["hashtag1","hashtag2"]},{"1402171977":["hashtag1","hashtag2"]},{"1402171979":["hashtag1","hashtag2"]},{"1402171970":["hashtag1","hashtag2"]},{"1402171972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402171971, 1402171974, 1402171977, 1402171979, 1402171970, 1402171972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13467860221863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:55:42.529603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_30_2631.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_34_3666.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_37_2821.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_40_2674.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_43_3612.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_48_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_30_2631.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_34_3666.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_37_2821.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_40_2674.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_43_3612.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_48_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402171986","1402171989","1402171988","1402171987","1402171990","1402171984"],"photo_ids_order":["1402171984","1402171986","1402171987","1402171988","1402171989","1402171990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f1eb877e17d996df0b6d21f09537ef87.jpg","text":"TemporaryFile(/tmp/multipartBody3679362240070934461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369404389,"filename":"image_05112025_19_38_34_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/2/42e112591ec908b33be220f13ac838de.jpg","text":"TemporaryFile(/tmp/multipartBody5195919745732328728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369404389,"filename":"image_05112025_19_38_43_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/2/21d4c2c2bf49c64b6f15db7125e4e93b.jpg","text":"TemporaryFile(/tmp/multipartBody2579631804898260712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369404389,"filename":"image_05112025_19_38_40_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/2/813f8fb18d797152972f488fabcf199f.jpg","text":"TemporaryFile(/tmp/multipartBody7171955179973875154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369404389,"filename":"image_05112025_19_38_37_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e8e7009fe29ba89c1e0bb0b78a7c353.jpg","text":"TemporaryFile(/tmp/multipartBody5695086705877887874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369404389,"filename":"image_05112025_19_38_48_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c49926f0cff2cd74861f4c3e4b4afa8.jpg","text":"TemporaryFile(/tmp/multipartBody7569647563039423427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369404389,"filename":"image_05112025_19_38_30_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402171987","file1":"1402171986","file0":"1402171984","file4":"1402171989","file5":"1402171990","file3":"1402171988"},"map_files_photo_id_array":[{"photo_id":"1402171990","filename":"file5"},{"photo_id":"1402171987","filename":"file2"},{"photo_id":"1402171989","filename":"file4"},{"photo_id":"1402171986","filename":"file1"},{"photo_id":"1402171984","filename":"file0"},{"photo_id":"1402171988","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402171986":["hashtag1","hashtag2"]},{"1402171989":["hashtag1","hashtag2"]},{"1402171988":["hashtag1","hashtag2"]},{"1402171987":["hashtag1","hashtag2"]},{"1402171990":["hashtag1","hashtag2"]},{"1402171984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402171986, 1402171989, 1402171988, 1402171987, 1402171990, 1402171984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68216800689697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 16:56:22.719340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_15_9725.jpg', '/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_25_9725.jpg', '/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_36_10549.jpg', '/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_45_9652.jpg', '/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_55_9623.jpg', '/home/pi/Desktop/images/02012026/16/53/image_02012026_16_54_05_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_15_9725.jpg
/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_25_9725.jpg
/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_36_10549.jpg
/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_45_9652.jpg
/home/pi/Desktop/images/02012026/16/53/image_02012026_16_53_55_9623.jpg
/home/pi/Desktop/images/02012026/16/53/image_02012026_16_54_05_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":["1402172013","1402171994","1402172009","1402172000","1402171996","1402172017"],"photo_ids_order":["1402171994","1402171996","1402172000","1402172009","1402172013","1402172017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0848860435992f9f46a04b9b2221c28.jpg","text":"TemporaryFile(/tmp/multipartBody6924748207827231855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369443294,"filename":"image_02012026_16_53_55_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/2/9bef1c0835af6e62eaecbc5924dc0222.jpg","text":"TemporaryFile(/tmp/multipartBody3956333590863730400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369443294,"filename":"image_02012026_16_53_15_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/2/9b0092f5ab475f5ad18c4be31adc53c0.jpg","text":"TemporaryFile(/tmp/multipartBody5884391538220418832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369443294,"filename":"image_02012026_16_53_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/2/1ea3b998592dc9c5772fa42c7fb8dec8.jpg","text":"TemporaryFile(/tmp/multipartBody947073377120047302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369443294,"filename":"image_02012026_16_53_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/2/2b77b07010556166c3371d1e15ead6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3043109019691903528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369443294,"filename":"image_02012026_16_53_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/44c9a0ad45796a3b535179dbc4f71e16.jpg","text":"TemporaryFile(/tmp/multipartBody9082972245192490497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369443294,"filename":"image_02012026_16_54_05_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172000","file1":"1402171996","file0":"1402171994","file4":"1402172013","file5":"1402172017","file3":"1402172009"},"map_files_photo_id_array":[{"photo_id":"1402172017","filename":"file5"},{"photo_id":"1402172000","filename":"file2"},{"photo_id":"1402172013","filename":"file4"},{"photo_id":"1402171996","filename":"file1"},{"photo_id":"1402171994","filename":"file0"},{"photo_id":"1402172009","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402172013":["hashtag1","hashtag2"]},{"1402171994":["hashtag1","hashtag2"]},{"1402172009":["hashtag1","hashtag2"]},{"1402172000":["hashtag1","hashtag2"]},{"1402171996":["hashtag1","hashtag2"]},{"1402172017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402172013, 1402171994, 1402172009, 1402172000, 1402171996, 1402172017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08542585372925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:57:02.500029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_15_10614.jpg', '/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_25_9767.jpg', '/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_35_9619.jpg', '/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_46_10720.jpg', '/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_55_9663.jpg', '/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_14_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_15_10614.jpg
/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_25_9767.jpg
/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_35_9619.jpg
/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_46_10720.jpg
/home/pi/Desktop/images/02012026/16/54/image_02012026_16_54_55_9663.jpg
/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_14_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402172090","1402172084","1402172087","1402172086","1402172083","1402172082"],"photo_ids_order":["1402172082","1402172083","1402172084","1402172086","1402172087","1402172090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75e92f51d1c6bdc365add4306c12d198.jpg","text":"TemporaryFile(/tmp/multipartBody1069865303481550642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369483186,"filename":"image_02012026_16_55_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/2/886781fadf98f8f53f0b1aa24c63f762.jpg","text":"TemporaryFile(/tmp/multipartBody3756361332651066046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369483186,"filename":"image_02012026_16_54_35_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/2/3770f20ab557d40721fbf1641cd616d9.jpg","text":"TemporaryFile(/tmp/multipartBody8531588186617603029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369483186,"filename":"image_02012026_16_54_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/2/acdb4780ea3859731bd3f54bc42f6698.jpg","text":"TemporaryFile(/tmp/multipartBody4578226959040660445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369483186,"filename":"image_02012026_16_54_46_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/2/473fb4582bd82943ad821ac1ddcac73e.jpg","text":"TemporaryFile(/tmp/multipartBody6506905669036286904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369483186,"filename":"image_02012026_16_54_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/2/781f04a12eec321f98ea14e3c9f1fcaa.jpg","text":"TemporaryFile(/tmp/multipartBody8063210422824257566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369483186,"filename":"image_02012026_16_54_15_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172084","file1":"1402172083","file0":"1402172082","file4":"1402172087","file5":"1402172090","file3":"1402172086"},"map_files_photo_id_array":[{"photo_id":"1402172090","filename":"file5"},{"photo_id":"1402172084","filename":"file2"},{"photo_id":"1402172087","filename":"file4"},{"photo_id":"1402172083","filename":"file1"},{"photo_id":"1402172082","filename":"file0"},{"photo_id":"1402172086","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402172090":["hashtag1","hashtag2"]},{"1402172084":["hashtag1","hashtag2"]},{"1402172087":["hashtag1","hashtag2"]},{"1402172086":["hashtag1","hashtag2"]},{"1402172083":["hashtag1","hashtag2"]},{"1402172082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402172090, 1402172084, 1402172087, 1402172086, 1402172083, 1402172082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39007019996643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:57:41.827542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_51_2892.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_55_3845.jpg', '/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_58_2704.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_01_2695.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_04_3699.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_07_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_51_2892.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_55_3845.jpg
/home/pi/Desktop/images/05112025/19/38/image_05112025_19_38_58_2704.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_01_2695.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_04_3699.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_07_2697.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402172100","1402172096","1402172099","1402172098","1402172102","1402172101"],"photo_ids_order":["1402172096","1402172098","1402172099","1402172100","1402172101","1402172102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8493436ac05db33ae1de0aa0716f1fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1563985201753095723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369523632,"filename":"image_05112025_19_39_01_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/2/07007535d8fc87f62bd3f83b48713d81.jpg","text":"TemporaryFile(/tmp/multipartBody4476276758531353917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369523632,"filename":"image_05112025_19_38_51_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/747f2e88ea4f9b570ded828ff2e957ed.jpg","text":"TemporaryFile(/tmp/multipartBody3439693231881112103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369523632,"filename":"image_05112025_19_38_58_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/2/772583e1f7f4103846bd4e648c498a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7712414899840067962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369523632,"filename":"image_05112025_19_38_55_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/2/83792571cdd841d27f2072e354110dcd.jpg","text":"TemporaryFile(/tmp/multipartBody3377543856878185182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369523632,"filename":"image_05112025_19_39_07_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/2/5cfb9f153cfff357884feb4d3b37a313.jpg","text":"TemporaryFile(/tmp/multipartBody4200536162303705309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369523632,"filename":"image_05112025_19_39_04_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172099","file1":"1402172098","file0":"1402172096","file4":"1402172101","file5":"1402172102","file3":"1402172100"},"map_files_photo_id_array":[{"photo_id":"1402172102","filename":"file5"},{"photo_id":"1402172099","filename":"file2"},{"photo_id":"1402172101","filename":"file4"},{"photo_id":"1402172098","filename":"file1"},{"photo_id":"1402172096","filename":"file0"},{"photo_id":"1402172100","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402172100":["hashtag1","hashtag2"]},{"1402172096":["hashtag1","hashtag2"]},{"1402172099":["hashtag1","hashtag2"]},{"1402172098":["hashtag1","hashtag2"]},{"1402172102":["hashtag1","hashtag2"]},{"1402172101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402172100, 1402172096, 1402172099, 1402172098, 1402172102, 1402172101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24420475959778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 16:59:02.826751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_25_10736.jpg', '/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_34_9587.jpg', '/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_44_9625.jpg', '/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_54_10683.jpg', '/home/pi/Desktop/images/02012026/16/55/image_02012026_16_56_04_9727.jpg', '/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_14_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_25_10736.jpg
/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_34_9587.jpg
/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_44_9625.jpg
/home/pi/Desktop/images/02012026/16/55/image_02012026_16_55_54_10683.jpg
/home/pi/Desktop/images/02012026/16/55/image_02012026_16_56_04_9727.jpg
/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_14_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":["1402172115","1402172192","1402172105","1402172155","1402172119","1402172110"],"photo_ids_order":["1402172105","1402172110","1402172115","1402172119","1402172155","1402172192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/048bcb58c999e29ed47870a4ed430c44.jpg","text":"TemporaryFile(/tmp/multipartBody1865333895355246664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369603534,"filename":"image_02012026_16_55_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/2/d3fc083f366b6b375f09f91e3d7d7eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2564328251103722399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369603534,"filename":"image_02012026_16_56_14_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/2/5279c649631f60f2f6981162469dd218.jpg","text":"TemporaryFile(/tmp/multipartBody2631973478025530630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369603534,"filename":"image_02012026_16_55_25_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/2/fe376a8ce6bd4fdd418ee1816d3f61f9.jpg","text":"TemporaryFile(/tmp/multipartBody8650476189591517084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369603534,"filename":"image_02012026_16_56_04_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/2/51ae92923010b56944f02e3ccd702b28.jpg","text":"TemporaryFile(/tmp/multipartBody7250951460916225951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369603534,"filename":"image_02012026_16_55_54_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/2/4917551bf6e8a183918769096ea8c911.jpg","text":"TemporaryFile(/tmp/multipartBody8170569001434557699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369603534,"filename":"image_02012026_16_55_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172115","file1":"1402172110","file0":"1402172105","file4":"1402172155","file5":"1402172192","file3":"1402172119"},"map_files_photo_id_array":[{"photo_id":"1402172192","filename":"file5"},{"photo_id":"1402172115","filename":"file2"},{"photo_id":"1402172155","filename":"file4"},{"photo_id":"1402172110","filename":"file1"},{"photo_id":"1402172105","filename":"file0"},{"photo_id":"1402172119","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402172115":["hashtag1","hashtag2"]},{"1402172192":["hashtag1","hashtag2"]},{"1402172105":["hashtag1","hashtag2"]},{"1402172155":["hashtag1","hashtag2"]},{"1402172119":["hashtag1","hashtag2"]},{"1402172110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402172115, 1402172192, 1402172105, 1402172155, 1402172119, 1402172110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41633439064026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 16:59:42.111759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_12_2635.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_16_3564.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_21_2823.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_25_3646.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_28_2715.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_30_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_12_2635.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_16_3564.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_21_2823.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_25_3646.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_28_2715.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_30_2619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402172508","1402172436","1402172330","1402172545","1402172473","1402172382"],"photo_ids_order":["1402172330","1402172382","1402172436","1402172473","1402172508","1402172545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f98bbc8b7b6fa4fe764466d11f961325.jpg","text":"TemporaryFile(/tmp/multipartBody7802358137903460859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369643979,"filename":"image_05112025_19_39_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/2/513dd5da50ccb60a35d85ecd294f5ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3210081882793859707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369643979,"filename":"image_05112025_19_39_21_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/2/56861f7a029ef1a32b57e2fe442c6a4c.jpg","text":"TemporaryFile(/tmp/multipartBody8929356613510560677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369643979,"filename":"image_05112025_19_39_12_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/2/97011a9f6f2d23946d9fd26dae9f4f49.jpg","text":"TemporaryFile(/tmp/multipartBody2215460020160639068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369643979,"filename":"image_05112025_19_39_30_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/2/46923e9d93024831eb31ac49ece513b2.jpg","text":"TemporaryFile(/tmp/multipartBody3397307988067692536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369643979,"filename":"image_05112025_19_39_25_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/2/1d6f608777ee6953e8a620101932ca58.jpg","text":"TemporaryFile(/tmp/multipartBody842262344480833387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369643979,"filename":"image_05112025_19_39_16_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172436","file1":"1402172382","file0":"1402172330","file4":"1402172508","file5":"1402172545","file3":"1402172473"},"map_files_photo_id_array":[{"photo_id":"1402172545","filename":"file5"},{"photo_id":"1402172436","filename":"file2"},{"photo_id":"1402172508","filename":"file4"},{"photo_id":"1402172382","filename":"file1"},{"photo_id":"1402172330","filename":"file0"},{"photo_id":"1402172473","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402172508":["hashtag1","hashtag2"]},{"1402172436":["hashtag1","hashtag2"]},{"1402172330":["hashtag1","hashtag2"]},{"1402172545":["hashtag1","hashtag2"]},{"1402172473":["hashtag1","hashtag2"]},{"1402172382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402172508, 1402172436, 1402172330, 1402172545, 1402172473, 1402172382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92145299911499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:00:22.284406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_25_10622.jpg', '/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_34_9600.jpg', '/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_45_10573.jpg', '/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_54_9557.jpg', '/home/pi/Desktop/images/02012026/16/56/image_02012026_16_57_04_9611.jpg', '/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_15_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_25_10622.jpg
/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_34_9600.jpg
/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_45_10573.jpg
/home/pi/Desktop/images/02012026/16/56/image_02012026_16_56_54_9557.jpg
/home/pi/Desktop/images/02012026/16/56/image_02012026_16_57_04_9611.jpg
/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_15_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402172590","1402172620","1402172701","1402172592","1402172667","1402172595"],"photo_ids_order":["1402172590","1402172592","1402172595","1402172620","1402172667","1402172701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/714b3886cf356498f265385eca47b919.jpg","text":"TemporaryFile(/tmp/multipartBody9220737237310901119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369682893,"filename":"image_02012026_16_56_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/2/9c561387880ef5e933ab07737d633588.jpg","text":"TemporaryFile(/tmp/multipartBody3865799704785386037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369682893,"filename":"image_02012026_16_56_54_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/2/44c3bbe407fbf9e1fca2beada784fc4b.jpg","text":"TemporaryFile(/tmp/multipartBody4917792196565832799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369682893,"filename":"image_02012026_16_57_15_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/2/4df504f1cc2d1b7a1c2696c85eda4a9c.jpg","text":"TemporaryFile(/tmp/multipartBody214212193369279617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369682893,"filename":"image_02012026_16_56_34_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/2/af43c1c2204a2fb316f0cbfdc6276ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1530468324429246885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369682893,"filename":"image_02012026_16_57_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/2/c06cc8d7d50ba361c823716e11121f8e.jpg","text":"TemporaryFile(/tmp/multipartBody5349306756833103028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369682893,"filename":"image_02012026_16_56_45_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172595","file1":"1402172592","file0":"1402172590","file4":"1402172667","file5":"1402172701","file3":"1402172620"},"map_files_photo_id_array":[{"photo_id":"1402172701","filename":"file5"},{"photo_id":"1402172595","filename":"file2"},{"photo_id":"1402172667","filename":"file4"},{"photo_id":"1402172592","filename":"file1"},{"photo_id":"1402172590","filename":"file0"},{"photo_id":"1402172620","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402172590":["hashtag1","hashtag2"]},{"1402172620":["hashtag1","hashtag2"]},{"1402172701":["hashtag1","hashtag2"]},{"1402172592":["hashtag1","hashtag2"]},{"1402172667":["hashtag1","hashtag2"]},{"1402172595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402172590, 1402172620, 1402172701, 1402172592, 1402172667, 1402172595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9905743598938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:01:03.232002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_24_9634.jpg', '/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_35_10559.jpg', '/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_44_9659.jpg', '/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_54_9575.jpg', '/home/pi/Desktop/images/02012026/16/57/image_02012026_16_58_05_10722.jpg', '/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_14_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_24_9634.jpg
/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_35_10559.jpg
/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_44_9659.jpg
/home/pi/Desktop/images/02012026/16/57/image_02012026_16_57_54_9575.jpg
/home/pi/Desktop/images/02012026/16/57/image_02012026_16_58_05_10722.jpg
/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_14_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":["1402172771","1402172813","1402172764","1402172806","1402172809","1402172799"],"photo_ids_order":["1402172764","1402172771","1402172799","1402172806","1402172809","1402172813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e46b0e43c69b0d65d93b8f0f01f576f8.jpg","text":"TemporaryFile(/tmp/multipartBody15437693848186707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369723864,"filename":"image_02012026_16_57_35_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/2/5f020c374e70f116e3b0b4d52f9340ad.jpg","text":"TemporaryFile(/tmp/multipartBody5586164049056075852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369723864,"filename":"image_02012026_16_58_14_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/2/ae96f9598de7cc74ca82d96d59776c38.jpg","text":"TemporaryFile(/tmp/multipartBody7182976115436132858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369723864,"filename":"image_02012026_16_57_24_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/2/216e260340a0bae480211e890debb0bc.jpg","text":"TemporaryFile(/tmp/multipartBody3272423769602562343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369723864,"filename":"image_02012026_16_57_54_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/2/c700b905972c9bd1d85439fac0f67e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6376735247303477525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369723864,"filename":"image_02012026_16_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/2/8d595c49c3fb359d48099ba6744c19ba.jpg","text":"TemporaryFile(/tmp/multipartBody7360509911963260706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369723864,"filename":"image_02012026_16_57_44_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402172799","file1":"1402172771","file0":"1402172764","file4":"1402172809","file5":"1402172813","file3":"1402172806"},"map_files_photo_id_array":[{"photo_id":"1402172813","filename":"file5"},{"photo_id":"1402172799","filename":"file2"},{"photo_id":"1402172809","filename":"file4"},{"photo_id":"1402172771","filename":"file1"},{"photo_id":"1402172764","filename":"file0"},{"photo_id":"1402172806","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402172771":["hashtag1","hashtag2"]},{"1402172813":["hashtag1","hashtag2"]},{"1402172764":["hashtag1","hashtag2"]},{"1402172806":["hashtag1","hashtag2"]},{"1402172809":["hashtag1","hashtag2"]},{"1402172799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402172771, 1402172813, 1402172764, 1402172806, 1402172809, 1402172799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93489956855774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:01:42.423078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_34_3638.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_37_2604.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_43_2892.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_46_2649.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_48_2760.jpg', '/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_52_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_34_3638.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_37_2604.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_43_2892.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_46_2649.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_48_2760.jpg
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_52_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":["1402173071","1402173173","1402173176","1402172876","1402173174","1402172973"],"photo_ids_order":["1402172876","1402172973","1402173071","1402173173","1402173174","1402173176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a22b9236dc42cb659947dcf00eb6ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1942891520938847404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369764224,"filename":"image_05112025_19_39_43_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b050f19bed3ae3741e0d1ae092817e1b.jpg","text":"TemporaryFile(/tmp/multipartBody3450748276003782942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369764224,"filename":"image_05112025_19_39_46_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/2/1c592710add8c5ba57c6d63bc9fec735.jpg","text":"TemporaryFile(/tmp/multipartBody4097178897815109107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369764224,"filename":"image_05112025_19_39_52_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/2/26745ea720cbc7071ca9426173c971e4.jpg","text":"TemporaryFile(/tmp/multipartBody8512136777759466835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369764224,"filename":"image_05112025_19_39_34_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/2/ffe8c242724a7c7bd645f6a5cfc4a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody8353854432124710120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369764224,"filename":"image_05112025_19_39_48_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/2/963ad5e9c501c00609fff65edca0ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody320536739034751237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369764224,"filename":"image_05112025_19_39_37_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402173071","file1":"1402172973","file0":"1402172876","file4":"1402173174","file5":"1402173176","file3":"1402173173"},"map_files_photo_id_array":[{"photo_id":"1402173176","filename":"file5"},{"photo_id":"1402173071","filename":"file2"},{"photo_id":"1402173174","filename":"file4"},{"photo_id":"1402172973","filename":"file1"},{"photo_id":"1402172876","filename":"file0"},{"photo_id":"1402173173","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402173071":["hashtag1","hashtag2"]},{"1402173173":["hashtag1","hashtag2"]},{"1402173176":["hashtag1","hashtag2"]},{"1402172876":["hashtag1","hashtag2"]},{"1402173174":["hashtag1","hashtag2"]},{"1402172973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402173071, 1402173173, 1402173176, 1402172876, 1402173174, 1402172973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43441653251648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:02:22.586023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_24_9861.jpg', '/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_34_9772.jpg', '/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_44_9745.jpg', '/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_55_10751.jpg', '/home/pi/Desktop/images/02012026/16/58/image_02012026_16_59_04_9695.jpg', '/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_14_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_24_9861.jpg
/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_34_9772.jpg
/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_44_9745.jpg
/home/pi/Desktop/images/02012026/16/58/image_02012026_16_58_55_10751.jpg
/home/pi/Desktop/images/02012026/16/58/image_02012026_16_59_04_9695.jpg
/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_14_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":["1402173287","1402173272","1402173268","1402173273","1402173267","1402173264"],"photo_ids_order":["1402173264","1402173267","1402173268","1402173272","1402173273","1402173287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93f0e8d08c9b42bcf0b93218aca4ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody1580701084863832023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369803166,"filename":"image_02012026_16_59_14_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/2/0f06425e6f7367535dac8f1511ed7bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1012049304178213166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369803166,"filename":"image_02012026_16_58_55_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/2/216c1a43b6dab0fe25e48119f61b6379.jpg","text":"TemporaryFile(/tmp/multipartBody2842760320371922008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369803166,"filename":"image_02012026_16_58_44_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/2/7362cd82e366e87cee7a1bad036cb1dd.jpg","text":"TemporaryFile(/tmp/multipartBody422361311415729519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369803166,"filename":"image_02012026_16_59_04_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/2/4ca0155586d57fa0232baca2c41b76f9.jpg","text":"TemporaryFile(/tmp/multipartBody6120623468521284567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369803166,"filename":"image_02012026_16_58_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/2/9fc4e4cb6cfb163eac1272a826950b6c.jpg","text":"TemporaryFile(/tmp/multipartBody841635329548149579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369803166,"filename":"image_02012026_16_58_24_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402173268","file1":"1402173267","file0":"1402173264","file4":"1402173273","file5":"1402173287","file3":"1402173272"},"map_files_photo_id_array":[{"photo_id":"1402173287","filename":"file5"},{"photo_id":"1402173268","filename":"file2"},{"photo_id":"1402173273","filename":"file4"},{"photo_id":"1402173267","filename":"file1"},{"photo_id":"1402173264","filename":"file0"},{"photo_id":"1402173272","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402173287":["hashtag1","hashtag2"]},{"1402173272":["hashtag1","hashtag2"]},{"1402173268":["hashtag1","hashtag2"]},{"1402173273":["hashtag1","hashtag2"]},{"1402173267":["hashtag1","hashtag2"]},{"1402173264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402173287, 1402173272, 1402173268, 1402173273, 1402173267, 1402173264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004952907562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:03:03.379379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_24_10509.jpg', '/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_34_9557.jpg', '/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_45_10808.jpg', '/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_54_9597.jpg', '/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_14_10038.jpg', '/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_24_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_24_10509.jpg
/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_34_9557.jpg
/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_45_10808.jpg
/home/pi/Desktop/images/02012026/16/59/image_02012026_16_59_54_9597.jpg
/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_14_10038.jpg
/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_24_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":["1402173300","1402173302","1402173295","1402173292","1402173304","1402173297"],"photo_ids_order":["1402173292","1402173295","1402173297","1402173300","1402173302","1402173304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1bb85b7ffda4ecdca2af67d303e6a508.jpg","text":"TemporaryFile(/tmp/multipartBody6128700273971142580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369844047,"filename":"image_02012026_16_59_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/2/0fdc1cedaff5fdcb2e81443ade1113e1.jpg","text":"TemporaryFile(/tmp/multipartBody5331185425092252842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369844047,"filename":"image_02012026_17_01_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/2/0edbd5705524303359e9ca74d450946d.jpg","text":"TemporaryFile(/tmp/multipartBody2431480127590403691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369844047,"filename":"image_02012026_16_59_34_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/2/ed83d92efbf13da087fd750b80dc3967.jpg","text":"TemporaryFile(/tmp/multipartBody4624707399651509427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369844047,"filename":"image_02012026_16_59_24_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/2/9f97e59e43837832e8b9d11d3dd40f84.jpg","text":"TemporaryFile(/tmp/multipartBody4575128793536065205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369844047,"filename":"image_02012026_17_01_24_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/2/889edc70d6af72a71df50e4dad2f2b0b.jpg","text":"TemporaryFile(/tmp/multipartBody966820588518507383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369844047,"filename":"image_02012026_16_59_45_10808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402173297","file1":"1402173295","file0":"1402173292","file4":"1402173302","file5":"1402173304","file3":"1402173300"},"map_files_photo_id_array":[{"photo_id":"1402173304","filename":"file5"},{"photo_id":"1402173297","filename":"file2"},{"photo_id":"1402173302","filename":"file4"},{"photo_id":"1402173295","filename":"file1"},{"photo_id":"1402173292","filename":"file0"},{"photo_id":"1402173300","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402173300":["hashtag1","hashtag2"]},{"1402173302":["hashtag1","hashtag2"]},{"1402173295":["hashtag1","hashtag2"]},{"1402173292":["hashtag1","hashtag2"]},{"1402173304":["hashtag1","hashtag2"]},{"1402173297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402173300, 1402173302, 1402173295, 1402173292, 1402173304, 1402173297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86896300315857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:03:42.756445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_55_2748.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_04_3669.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_07_2748.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_09_2779.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_12_2781.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_19_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/39/image_05112025_19_39_55_2748.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_04_3669.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_07_2748.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_09_2779.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_12_2781.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_19_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":["1402173374","1402173313","1402173415","1402173337","1402173310","1402173312"],"photo_ids_order":["1402173310","1402173312","1402173313","1402173337","1402173374","1402173415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/df2f286f7c4211d0ab4d1500c2a92fa9.jpg","text":"TemporaryFile(/tmp/multipartBody610607279789816824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369884579,"filename":"image_05112025_19_40_12_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/2/31d5fca462aa5849f9ca68c30704bd79.jpg","text":"TemporaryFile(/tmp/multipartBody4649313229952584079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369884579,"filename":"image_05112025_19_40_07_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/2/971337472fb9e837f6ce8145a9b911e2.jpg","text":"TemporaryFile(/tmp/multipartBody5965595181383205308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369884579,"filename":"image_05112025_19_40_19_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/2/573247f949534777900ea6934d8b5b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8637504757133086147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369884579,"filename":"image_05112025_19_40_09_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/2/29eb56e0690db144e8cb04c43210b18d.jpg","text":"TemporaryFile(/tmp/multipartBody2244620414086282810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369884579,"filename":"image_05112025_19_39_55_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/2/7d433d17b4353ffc4103e80b7741dcbb.jpg","text":"TemporaryFile(/tmp/multipartBody4541793003325351568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369884579,"filename":"image_05112025_19_40_04_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402173313","file1":"1402173312","file0":"1402173310","file4":"1402173374","file5":"1402173415","file3":"1402173337"},"map_files_photo_id_array":[{"photo_id":"1402173415","filename":"file5"},{"photo_id":"1402173313","filename":"file2"},{"photo_id":"1402173374","filename":"file4"},{"photo_id":"1402173312","filename":"file1"},{"photo_id":"1402173310","filename":"file0"},{"photo_id":"1402173337","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402173374":["hashtag1","hashtag2"]},{"1402173313":["hashtag1","hashtag2"]},{"1402173415":["hashtag1","hashtag2"]},{"1402173337":["hashtag1","hashtag2"]},{"1402173310":["hashtag1","hashtag2"]},{"1402173312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402173374, 1402173313, 1402173415, 1402173337, 1402173310, 1402173312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7666552066803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:04:21.923050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_34_9756.jpg', '/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_44_10636.jpg', '/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_54_9873.jpg', '/home/pi/Desktop/images/02012026/17/01/image_02012026_17_02_04_9601.jpg', '/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_14_9610.jpg', '/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_24_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_34_9756.jpg
/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_44_10636.jpg
/home/pi/Desktop/images/02012026/17/01/image_02012026_17_01_54_9873.jpg
/home/pi/Desktop/images/02012026/17/01/image_02012026_17_02_04_9601.jpg
/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_14_9610.jpg
/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_24_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":["1402173665","1402173533","1402173716","1402173571","1402173754","1402173622"],"photo_ids_order":["1402173533","1402173571","1402173622","1402173665","1402173716","1402173754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6b538302cbaa418121fc3d5e944f8f2f.jpg","text":"TemporaryFile(/tmp/multipartBody34162930257138214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369922485,"filename":"image_02012026_17_02_04_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/2/c05f870970df361058480f6db7d3a327.jpg","text":"TemporaryFile(/tmp/multipartBody363880235639654703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369922485,"filename":"image_02012026_17_01_34_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/2/8fd2928626e16b11ac7376fef3e4c276.jpg","text":"TemporaryFile(/tmp/multipartBody8586653681147334321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369922485,"filename":"image_02012026_17_02_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/2/a43f7fa673d910f0f71b5b6d20f89bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5765645206036916995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369922485,"filename":"image_02012026_17_01_44_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/2/7cb660b1650bc0e55f75fe6bf7cd41fb.jpg","text":"TemporaryFile(/tmp/multipartBody8726575433931668795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369922485,"filename":"image_02012026_17_02_24_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/2/1c504236bf824df9b6896960565e8873.jpg","text":"TemporaryFile(/tmp/multipartBody2613511654235718298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369922485,"filename":"image_02012026_17_01_54_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402173622","file1":"1402173571","file0":"1402173533","file4":"1402173716","file5":"1402173754","file3":"1402173665"},"map_files_photo_id_array":[{"photo_id":"1402173754","filename":"file5"},{"photo_id":"1402173622","filename":"file2"},{"photo_id":"1402173716","filename":"file4"},{"photo_id":"1402173571","filename":"file1"},{"photo_id":"1402173533","filename":"file0"},{"photo_id":"1402173665","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402173665":["hashtag1","hashtag2"]},{"1402173533":["hashtag1","hashtag2"]},{"1402173716":["hashtag1","hashtag2"]},{"1402173571":["hashtag1","hashtag2"]},{"1402173754":["hashtag1","hashtag2"]},{"1402173622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402173665, 1402173533, 1402173716, 1402173571, 1402173754, 1402173622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87017583847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:05:02.796741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_34_9696.jpg', '/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_44_9667.jpg', '/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_54_10597.jpg', '/home/pi/Desktop/images/02012026/17/02/image_02012026_17_03_04_9604.jpg', '/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_14_10600.jpg', '/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_34_9696.jpg
/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_44_9667.jpg
/home/pi/Desktop/images/02012026/17/02/image_02012026_17_02_54_10597.jpg
/home/pi/Desktop/images/02012026/17/02/image_02012026_17_03_04_9604.jpg
/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_14_10600.jpg
/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_24_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402174106","1402173982","1402174024","1402173904","1402174065","1402173945"],"photo_ids_order":["1402173904","1402173945","1402173982","1402174024","1402174065","1402174106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e17c62f7bf592bed4f871f0dcc6a2249.jpg","text":"TemporaryFile(/tmp/multipartBody8481545112946692232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369963398,"filename":"image_02012026_17_03_24_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/2/93c2f40f591b5f1be30976958c39c30a.jpg","text":"TemporaryFile(/tmp/multipartBody9000462333042672181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369963398,"filename":"image_02012026_17_02_54_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/2/d67e0d9c2ebb2d7a0631e8bc7f50c386.jpg","text":"TemporaryFile(/tmp/multipartBody1500562332157340180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369963398,"filename":"image_02012026_17_03_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/2/8dd77eb1832bd97f062b5697a1fc75fd.jpg","text":"TemporaryFile(/tmp/multipartBody8338491705683088429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369963398,"filename":"image_02012026_17_02_34_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/2/9914a8f15523200946a601d29c6d145e.jpg","text":"TemporaryFile(/tmp/multipartBody6633474726678043440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369963398,"filename":"image_02012026_17_03_14_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/2/0ad1e326d5c5dc1c9058e86039786060.jpg","text":"TemporaryFile(/tmp/multipartBody9098414715979662154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767369963398,"filename":"image_02012026_17_02_44_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402173982","file1":"1402173945","file0":"1402173904","file4":"1402174065","file5":"1402174106","file3":"1402174024"},"map_files_photo_id_array":[{"photo_id":"1402174106","filename":"file5"},{"photo_id":"1402173982","filename":"file2"},{"photo_id":"1402174065","filename":"file4"},{"photo_id":"1402173945","filename":"file1"},{"photo_id":"1402173904","filename":"file0"},{"photo_id":"1402174024","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174106":["hashtag1","hashtag2"]},{"1402173982":["hashtag1","hashtag2"]},{"1402174024":["hashtag1","hashtag2"]},{"1402173904":["hashtag1","hashtag2"]},{"1402174065":["hashtag1","hashtag2"]},{"1402173945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174106, 1402173982, 1402174024, 1402173904, 1402174065, 1402173945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0802686214447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:05:42.100100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_21_2607.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_24_2799.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_27_2856.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_31_3818.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_34_2779.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_36_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_21_2607.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_24_2799.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_27_2856.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_31_3818.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_34_2779.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_36_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":["1402174226","1402174255","1402174225","1402174216","1402174201","1402174227"],"photo_ids_order":["1402174201","1402174216","1402174225","1402174226","1402174227","1402174255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2346fc5402ddbd1692030116ba6e11e.jpg","text":"TemporaryFile(/tmp/multipartBody5331996104450904131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370003914,"filename":"image_05112025_19_40_31_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3f1a4f1f41bc16c3dd01375fccfbf7d.jpg","text":"TemporaryFile(/tmp/multipartBody5394626794704886760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370003914,"filename":"image_05112025_19_40_36_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/2/881fc75b6588e254080557678815b88e.jpg","text":"TemporaryFile(/tmp/multipartBody7575180832248356277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370003914,"filename":"image_05112025_19_40_27_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/2/683b169f2c8282036dc82db8ba2f5c9a.jpg","text":"TemporaryFile(/tmp/multipartBody7146976795122231250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370003914,"filename":"image_05112025_19_40_24_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/2/e2ed4c64d6090b2a9aebdd79e262a292.jpg","text":"TemporaryFile(/tmp/multipartBody3456502769702160711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370003914,"filename":"image_05112025_19_40_21_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/2/5f3fed8b575b43f1c77f00113c9d6cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3462260116821798743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370003914,"filename":"image_05112025_19_40_34_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174225","file1":"1402174216","file0":"1402174201","file4":"1402174227","file5":"1402174255","file3":"1402174226"},"map_files_photo_id_array":[{"photo_id":"1402174255","filename":"file5"},{"photo_id":"1402174225","filename":"file2"},{"photo_id":"1402174227","filename":"file4"},{"photo_id":"1402174216","filename":"file1"},{"photo_id":"1402174201","filename":"file0"},{"photo_id":"1402174226","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402174226":["hashtag1","hashtag2"]},{"1402174255":["hashtag1","hashtag2"]},{"1402174225":["hashtag1","hashtag2"]},{"1402174216":["hashtag1","hashtag2"]},{"1402174201":["hashtag1","hashtag2"]},{"1402174227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402174226, 1402174255, 1402174225, 1402174216, 1402174201, 1402174227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.994343757629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:06:22.276300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_34_9599.jpg', '/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_44_10614.jpg', '/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_54_9596.jpg', '/home/pi/Desktop/images/02012026/17/03/image_02012026_17_04_04_9731.jpg', '/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_14_10645.jpg', '/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_24_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_34_9599.jpg
/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_44_10614.jpg
/home/pi/Desktop/images/02012026/17/03/image_02012026_17_03_54_9596.jpg
/home/pi/Desktop/images/02012026/17/03/image_02012026_17_04_04_9731.jpg
/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_14_10645.jpg
/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_24_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":["1402174433","1402174412","1402174435","1402174482","1402174491","1402174446"],"photo_ids_order":["1402174412","1402174433","1402174435","1402174446","1402174482","1402174491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/61baf1c1f75c30e0eb77b635339c08f3.jpg","text":"TemporaryFile(/tmp/multipartBody1051034879074799078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370042888,"filename":"image_02012026_17_03_44_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/2/b7aef79f542aab9a73954caba7353d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8441982742793912243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370042888,"filename":"image_02012026_17_03_34_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/2/79c2689301d46b67824e4136985a5505.jpg","text":"TemporaryFile(/tmp/multipartBody7994865297980836473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370042888,"filename":"image_02012026_17_03_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/2/22ea3860c6c9475f64b59a1043fded0d.jpg","text":"TemporaryFile(/tmp/multipartBody1826849649219403578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370042888,"filename":"image_02012026_17_04_14_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/2/f43fbc4a51c245cfde6194fc317aef25.jpg","text":"TemporaryFile(/tmp/multipartBody2081151745172919321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370042888,"filename":"image_02012026_17_04_24_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/2/0701313af5b9178998247a84de53ad9d.jpg","text":"TemporaryFile(/tmp/multipartBody2890146395401736142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370042888,"filename":"image_02012026_17_04_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174435","file1":"1402174433","file0":"1402174412","file4":"1402174482","file5":"1402174491","file3":"1402174446"},"map_files_photo_id_array":[{"photo_id":"1402174491","filename":"file5"},{"photo_id":"1402174435","filename":"file2"},{"photo_id":"1402174482","filename":"file4"},{"photo_id":"1402174433","filename":"file1"},{"photo_id":"1402174412","filename":"file0"},{"photo_id":"1402174446","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174433":["hashtag1","hashtag2"]},{"1402174412":["hashtag1","hashtag2"]},{"1402174435":["hashtag1","hashtag2"]},{"1402174482":["hashtag1","hashtag2"]},{"1402174491":["hashtag1","hashtag2"]},{"1402174446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174433, 1402174412, 1402174435, 1402174482, 1402174491, 1402174446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35538935661316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:07:03.166034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_34_9666.jpg', '/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_44_10683.jpg', '/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_54_9636.jpg', '/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_13_10057.jpg', '/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_24_10701.jpg', '/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_34_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_34_9666.jpg
/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_44_10683.jpg
/home/pi/Desktop/images/02012026/17/04/image_02012026_17_04_54_9636.jpg
/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_13_10057.jpg
/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_24_10701.jpg
/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_34_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402174532","1402174534","1402174543","1402174539","1402174536","1402174541"],"photo_ids_order":["1402174532","1402174534","1402174536","1402174539","1402174541","1402174543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/18aabeb734d3934b26e1f971ddad7522.jpg","text":"TemporaryFile(/tmp/multipartBody2294082754932857398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370083823,"filename":"image_02012026_17_04_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/2/dd5491f90a16ccdba7b9c2ad85ecd5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2484397249570037659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370083823,"filename":"image_02012026_17_04_44_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/2/547861d75433d1ab74546dbad6b941cc.jpg","text":"TemporaryFile(/tmp/multipartBody895356929919135750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370083823,"filename":"image_02012026_17_05_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/2/aaf21896ce012d5fc3be4ba6027adf7d.jpg","text":"TemporaryFile(/tmp/multipartBody6122023544708560153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370083823,"filename":"image_02012026_17_05_13_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/2/8b84adcd8b6d86c95d81855e97429d00.jpg","text":"TemporaryFile(/tmp/multipartBody1583331181729129907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370083823,"filename":"image_02012026_17_04_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/2/4246613d3a77caa0007458cdfedf2e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8884710633699058396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370083823,"filename":"image_02012026_17_05_24_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174536","file1":"1402174534","file0":"1402174532","file4":"1402174541","file5":"1402174543","file3":"1402174539"},"map_files_photo_id_array":[{"photo_id":"1402174543","filename":"file5"},{"photo_id":"1402174536","filename":"file2"},{"photo_id":"1402174541","filename":"file4"},{"photo_id":"1402174534","filename":"file1"},{"photo_id":"1402174532","filename":"file0"},{"photo_id":"1402174539","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174532":["hashtag1","hashtag2"]},{"1402174534":["hashtag1","hashtag2"]},{"1402174543":["hashtag1","hashtag2"]},{"1402174539":["hashtag1","hashtag2"]},{"1402174536":["hashtag1","hashtag2"]},{"1402174541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174532, 1402174534, 1402174543, 1402174539, 1402174536, 1402174541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17781591415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:07:42.502829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_39_2855.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_43_3681.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_46_2652.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_48_2675.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_52_3728.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_55_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_39_2855.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_43_3681.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_46_2652.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_48_2675.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_52_3728.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_55_2674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.771111249923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:08:03.152929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_44_9723.jpg', '/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_54_10658.jpg', '/home/pi/Desktop/images/02012026/17/05/image_02012026_17_06_04_9680.jpg', '/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_14_9639.jpg', '/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_24_10757.jpg', '/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_34_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_44_9723.jpg
/home/pi/Desktop/images/02012026/17/05/image_02012026_17_05_54_10658.jpg
/home/pi/Desktop/images/02012026/17/05/image_02012026_17_06_04_9680.jpg
/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_14_9639.jpg
/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_24_10757.jpg
/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_34_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":["1402174559","1402174561","1402174563","1402174557","1402174566","1402174554"],"photo_ids_order":["1402174554","1402174557","1402174559","1402174561","1402174563","1402174566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/763cad1708e48be5aa198aad1425cddb.jpg","text":"TemporaryFile(/tmp/multipartBody8853676062474041446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370143806,"filename":"image_02012026_17_06_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/2/95aedded58f8957b7f53da0f16bfed57.jpg","text":"TemporaryFile(/tmp/multipartBody8626816838915064325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370143806,"filename":"image_02012026_17_06_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/2/2a88111e21f1452d18bef2878f8e97d4.jpg","text":"TemporaryFile(/tmp/multipartBody8102970214500524522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370143806,"filename":"image_02012026_17_06_24_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/2/715ff3f58952bd61e3d3051f0838bae2.jpg","text":"TemporaryFile(/tmp/multipartBody706146882356761689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370143806,"filename":"image_02012026_17_05_54_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/2/297bb9b829cb645ab639d4b4cde2ceed.jpg","text":"TemporaryFile(/tmp/multipartBody7790196829912372369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370143806,"filename":"image_02012026_17_06_34_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/2/30eac967be4f19ea07749095f9c3bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody3496406978658191098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370143806,"filename":"image_02012026_17_05_44_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174559","file1":"1402174557","file0":"1402174554","file4":"1402174563","file5":"1402174566","file3":"1402174561"},"map_files_photo_id_array":[{"photo_id":"1402174566","filename":"file5"},{"photo_id":"1402174559","filename":"file2"},{"photo_id":"1402174563","filename":"file4"},{"photo_id":"1402174557","filename":"file1"},{"photo_id":"1402174554","filename":"file0"},{"photo_id":"1402174561","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174559":["hashtag1","hashtag2"]},{"1402174561":["hashtag1","hashtag2"]},{"1402174563":["hashtag1","hashtag2"]},{"1402174557":["hashtag1","hashtag2"]},{"1402174566":["hashtag1","hashtag2"]},{"1402174554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174559, 1402174561, 1402174563, 1402174557, 1402174566, 1402174554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.749948024749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:08:42.632225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_39_2855.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_43_3681.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_46_2652.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_48_2675.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_52_3728.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_55_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_39_2855.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_43_3681.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_46_2652.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_48_2675.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_52_3728.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_55_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402174591","1402174588","1402174606","1402174590","1402174578","1402174589"],"photo_ids_order":["1402174578","1402174588","1402174589","1402174590","1402174591","1402174606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a4f27a02470b0aeb9affe07e1854da6.jpg","text":"TemporaryFile(/tmp/multipartBody7903416259089385941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370184366,"filename":"image_05112025_19_40_52_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/2/01dc9a0e149b82b7e85c965073385fc1.jpg","text":"TemporaryFile(/tmp/multipartBody4247315033242609322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370184366,"filename":"image_05112025_19_40_43_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/2/979b3bb73885c669c0651e9d6d271043.jpg","text":"TemporaryFile(/tmp/multipartBody8556050038229485710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370184366,"filename":"image_05112025_19_40_55_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/2/1081c2f05f26b36692c2550655212009.jpg","text":"TemporaryFile(/tmp/multipartBody8492943693904384774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370184366,"filename":"image_05112025_19_40_48_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/2/6ada7ddc449e6896fb6ea3307066c2ac.jpg","text":"TemporaryFile(/tmp/multipartBody2016115898977285932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370184366,"filename":"image_05112025_19_40_39_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b489c8c0dfe56fdac9aae40cb5b106a.jpg","text":"TemporaryFile(/tmp/multipartBody6364931635960915703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370184366,"filename":"image_05112025_19_40_46_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174589","file1":"1402174588","file0":"1402174578","file4":"1402174591","file5":"1402174606","file3":"1402174590"},"map_files_photo_id_array":[{"photo_id":"1402174606","filename":"file5"},{"photo_id":"1402174589","filename":"file2"},{"photo_id":"1402174591","filename":"file4"},{"photo_id":"1402174588","filename":"file1"},{"photo_id":"1402174578","filename":"file0"},{"photo_id":"1402174590","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402174591":["hashtag1","hashtag2"]},{"1402174588":["hashtag1","hashtag2"]},{"1402174606":["hashtag1","hashtag2"]},{"1402174590":["hashtag1","hashtag2"]},{"1402174578":["hashtag1","hashtag2"]},{"1402174589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402174591, 1402174588, 1402174606, 1402174590, 1402174578, 1402174589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.739120960235596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:09:22.869326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_44_9722.jpg', '/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_53_9741.jpg', '/home/pi/Desktop/images/02012026/17/06/image_02012026_17_07_04_10633.jpg', '/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_14_9634.jpg', '/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_23_9702.jpg', '/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_34_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_44_9722.jpg
/home/pi/Desktop/images/02012026/17/06/image_02012026_17_06_53_9741.jpg
/home/pi/Desktop/images/02012026/17/06/image_02012026_17_07_04_10633.jpg
/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_14_9634.jpg
/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_23_9702.jpg
/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_34_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":["1402174622","1402174616","1402174621","1402174618","1402174620","1402174614"],"photo_ids_order":["1402174614","1402174616","1402174618","1402174620","1402174621","1402174622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/351d0769e41312917dcacac5e0f9c12e.jpg","text":"TemporaryFile(/tmp/multipartBody3552488799844373147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370223460,"filename":"image_02012026_17_07_34_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/2/c3cac1159071088e7e107d5fee421555.jpg","text":"TemporaryFile(/tmp/multipartBody1875045215035889533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370223460,"filename":"image_02012026_17_06_53_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/2/a7eae2577a791633c73108f3c92bb1c6.jpg","text":"TemporaryFile(/tmp/multipartBody385126161907388412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370223460,"filename":"image_02012026_17_07_23_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/2/ccbfff8870226c8df2d6157f5622b199.jpg","text":"TemporaryFile(/tmp/multipartBody7237019313343026259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370223460,"filename":"image_02012026_17_07_04_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/2/692153371dfe1cfd994607b6e8a0593e.jpg","text":"TemporaryFile(/tmp/multipartBody2081086902402575377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370223460,"filename":"image_02012026_17_07_14_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/2/59e2f5fd8fc0f5b5e5594838531e155e.jpg","text":"TemporaryFile(/tmp/multipartBody4871067106511627132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370223460,"filename":"image_02012026_17_06_44_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174618","file1":"1402174616","file0":"1402174614","file4":"1402174621","file5":"1402174622","file3":"1402174620"},"map_files_photo_id_array":[{"photo_id":"1402174622","filename":"file5"},{"photo_id":"1402174618","filename":"file2"},{"photo_id":"1402174621","filename":"file4"},{"photo_id":"1402174616","filename":"file1"},{"photo_id":"1402174614","filename":"file0"},{"photo_id":"1402174620","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174622":["hashtag1","hashtag2"]},{"1402174616":["hashtag1","hashtag2"]},{"1402174621":["hashtag1","hashtag2"]},{"1402174618":["hashtag1","hashtag2"]},{"1402174620":["hashtag1","hashtag2"]},{"1402174614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174622, 1402174616, 1402174621, 1402174618, 1402174620, 1402174614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.470401763916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:10:02.521685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_44_9871.jpg', '/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_54_9813.jpg', '/home/pi/Desktop/images/02012026/17/07/image_02012026_17_08_04_9704.jpg', '/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_14_10627.jpg', '/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_24_9755.jpg', '/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_34_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_44_9871.jpg
/home/pi/Desktop/images/02012026/17/07/image_02012026_17_07_54_9813.jpg
/home/pi/Desktop/images/02012026/17/07/image_02012026_17_08_04_9704.jpg
/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_14_10627.jpg
/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_24_9755.jpg
/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_34_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":["1402174625","1402174627","1402174630","1402174623","1402174632","1402174629"],"photo_ids_order":["1402174623","1402174625","1402174627","1402174629","1402174630","1402174632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05e72d7fa9ed1a02cb9f64be16884365.jpg","text":"TemporaryFile(/tmp/multipartBody5928211716362048651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370263108,"filename":"image_02012026_17_07_54_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/2/8eb4ccf0b6b1d4b7593d32f5531d3c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5161131589275365345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370263108,"filename":"image_02012026_17_08_04_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/2/8e9bc96b0105145ba04303847f68d970.jpg","text":"TemporaryFile(/tmp/multipartBody7166843790022946707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370263108,"filename":"image_02012026_17_08_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/2/c30b7160128f3a952962e829ff898aa0.jpg","text":"TemporaryFile(/tmp/multipartBody9068083281826440208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370263108,"filename":"image_02012026_17_07_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/2/1a81eb130c19f9eefe54e68ba5624211.jpg","text":"TemporaryFile(/tmp/multipartBody7170159510969706942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370263108,"filename":"image_02012026_17_08_34_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/2/822a811b5901ee52cecd4d01d01b2f42.jpg","text":"TemporaryFile(/tmp/multipartBody7249088966889307228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370263108,"filename":"image_02012026_17_08_14_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174627","file1":"1402174625","file0":"1402174623","file4":"1402174630","file5":"1402174632","file3":"1402174629"},"map_files_photo_id_array":[{"photo_id":"1402174632","filename":"file5"},{"photo_id":"1402174627","filename":"file2"},{"photo_id":"1402174630","filename":"file4"},{"photo_id":"1402174625","filename":"file1"},{"photo_id":"1402174623","filename":"file0"},{"photo_id":"1402174629","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174625":["hashtag1","hashtag2"]},{"1402174627":["hashtag1","hashtag2"]},{"1402174630":["hashtag1","hashtag2"]},{"1402174623":["hashtag1","hashtag2"]},{"1402174632":["hashtag1","hashtag2"]},{"1402174629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174625, 1402174627, 1402174630, 1402174623, 1402174632, 1402174629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36367917060852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:10:42.192868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_57_2824.jpg', '/home/pi/Desktop/images/05112025/19/40/image_05112025_19_41_00_2833.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_04_3688.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_07_2646.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_09_2732.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_12_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_40_57_2824.jpg
/home/pi/Desktop/images/05112025/19/40/image_05112025_19_41_00_2833.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_04_3688.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_07_2646.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_09_2732.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_12_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402174645","1402174660","1402174648","1402174642","1402174650","1402174649"],"photo_ids_order":["1402174642","1402174645","1402174648","1402174649","1402174650","1402174660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5c9e867dbaeda69e38bd4d4b9765ade.jpg","text":"TemporaryFile(/tmp/multipartBody3975173589194469394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370304007,"filename":"image_05112025_19_41_00_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/2/2c1bfe64efa27b177f209d5df5e541cd.jpg","text":"TemporaryFile(/tmp/multipartBody2288551269270792791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370304007,"filename":"image_05112025_19_41_12_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/2/94b7e184d90a23e8815512aec3b46531.jpg","text":"TemporaryFile(/tmp/multipartBody7192817204276692914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370304007,"filename":"image_05112025_19_41_04_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/2/25f352de7020ab5f0de93127db7955bf.jpg","text":"TemporaryFile(/tmp/multipartBody2854020463741676707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370304007,"filename":"image_05112025_19_40_57_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/2/85f9a1d365a66672ebcbd2977e67d93d.jpg","text":"TemporaryFile(/tmp/multipartBody1544524852602113146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370304007,"filename":"image_05112025_19_41_09_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/2/3191d9cb5a6dcfba53b9a99489c1cf76.jpg","text":"TemporaryFile(/tmp/multipartBody8396660703709460369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370304007,"filename":"image_05112025_19_41_07_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174648","file1":"1402174645","file0":"1402174642","file4":"1402174650","file5":"1402174660","file3":"1402174649"},"map_files_photo_id_array":[{"photo_id":"1402174660","filename":"file5"},{"photo_id":"1402174648","filename":"file2"},{"photo_id":"1402174650","filename":"file4"},{"photo_id":"1402174645","filename":"file1"},{"photo_id":"1402174642","filename":"file0"},{"photo_id":"1402174649","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402174645":["hashtag1","hashtag2"]},{"1402174660":["hashtag1","hashtag2"]},{"1402174648":["hashtag1","hashtag2"]},{"1402174642":["hashtag1","hashtag2"]},{"1402174650":["hashtag1","hashtag2"]},{"1402174649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402174645, 1402174660, 1402174648, 1402174642, 1402174650, 1402174649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.215890645980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:11:22.315972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_54_9657.jpg', '/home/pi/Desktop/images/02012026/17/08/image_02012026_17_09_04_9756.jpg', '/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_13_9703.jpg', '/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_24_10694.jpg', '/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_34_9687.jpg', '/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_44_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/08/image_02012026_17_08_54_9657.jpg
/home/pi/Desktop/images/02012026/17/08/image_02012026_17_09_04_9756.jpg
/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_13_9703.jpg
/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_24_10694.jpg
/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_34_9687.jpg
/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_44_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":["1402174672","1402174674","1402174668","1402174670","1402174694","1402174676"],"photo_ids_order":["1402174668","1402174670","1402174672","1402174674","1402174676","1402174694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aae759457837305a7e5b1d5bb93ad477.jpg","text":"TemporaryFile(/tmp/multipartBody4497289235209380424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370342898,"filename":"image_02012026_17_09_13_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/2/0f982ff6d82c129842366526dd57bb61.jpg","text":"TemporaryFile(/tmp/multipartBody8299217871331257692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370342898,"filename":"image_02012026_17_09_24_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5b2ae216c2302129b9fcaec981f3ba8e.jpg","text":"TemporaryFile(/tmp/multipartBody5541354877762225900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370342898,"filename":"image_02012026_17_08_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/2/118e2f24a4a3170fe9db04381f000fb1.jpg","text":"TemporaryFile(/tmp/multipartBody337351072694526993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370342898,"filename":"image_02012026_17_09_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/2/3f386067d33ed409f9202cfb7ec3d331.jpg","text":"TemporaryFile(/tmp/multipartBody1196205190795014265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370342898,"filename":"image_02012026_17_09_44_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/2/3e11ce93549fda4785356b45353b4eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6660998543553878298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370342898,"filename":"image_02012026_17_09_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174672","file1":"1402174670","file0":"1402174668","file4":"1402174676","file5":"1402174694","file3":"1402174674"},"map_files_photo_id_array":[{"photo_id":"1402174694","filename":"file5"},{"photo_id":"1402174672","filename":"file2"},{"photo_id":"1402174676","filename":"file4"},{"photo_id":"1402174670","filename":"file1"},{"photo_id":"1402174668","filename":"file0"},{"photo_id":"1402174674","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174672":["hashtag1","hashtag2"]},{"1402174674":["hashtag1","hashtag2"]},{"1402174668":["hashtag1","hashtag2"]},{"1402174670":["hashtag1","hashtag2"]},{"1402174694":["hashtag1","hashtag2"]},{"1402174676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174672, 1402174674, 1402174668, 1402174670, 1402174694, 1402174676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17578482627869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:12:02.946430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_54_9876.jpg', '/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_15_10055.jpg', '/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_25_10771.jpg', '/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_35_9582.jpg', '/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_45_9685.jpg', '/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_55_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/09/image_02012026_17_09_54_9876.jpg
/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_15_10055.jpg
/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_25_10771.jpg
/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_35_9582.jpg
/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_45_9685.jpg
/home/pi/Desktop/images/02012026/17/10/image_02012026_17_10_55_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402174745","1402174780","1402174777","1402174771","1402174735","1402174760"],"photo_ids_order":["1402174735","1402174745","1402174760","1402174771","1402174777","1402174780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/915499c1c2583aa2f0a2ff80fa806711.jpg","text":"TemporaryFile(/tmp/multipartBody8248834830548283138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370383535,"filename":"image_02012026_17_10_15_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/2/7cbee55d92201912819de351ce16b34a.jpg","text":"TemporaryFile(/tmp/multipartBody5931666466833498680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370383535,"filename":"image_02012026_17_10_55_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/2/a3ed8989371b049da92402a7acc472b9.jpg","text":"TemporaryFile(/tmp/multipartBody3887468172613645809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370383535,"filename":"image_02012026_17_10_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/2/63dc01602f3e7dd365dd02123b798674.jpg","text":"TemporaryFile(/tmp/multipartBody5229497528269048525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370383535,"filename":"image_02012026_17_10_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/2/6bb32566a90e880c8228e680db1267b8.jpg","text":"TemporaryFile(/tmp/multipartBody8595929258664137981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370383535,"filename":"image_02012026_17_09_54_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/2/7e93d77af237e03aace753953ed6cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody4679451905111043218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370383535,"filename":"image_02012026_17_10_25_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174760","file1":"1402174745","file0":"1402174735","file4":"1402174777","file5":"1402174780","file3":"1402174771"},"map_files_photo_id_array":[{"photo_id":"1402174780","filename":"file5"},{"photo_id":"1402174760","filename":"file2"},{"photo_id":"1402174777","filename":"file4"},{"photo_id":"1402174745","filename":"file1"},{"photo_id":"1402174735","filename":"file0"},{"photo_id":"1402174771","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174745":["hashtag1","hashtag2"]},{"1402174780":["hashtag1","hashtag2"]},{"1402174777":["hashtag1","hashtag2"]},{"1402174771":["hashtag1","hashtag2"]},{"1402174735":["hashtag1","hashtag2"]},{"1402174760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174745, 1402174780, 1402174777, 1402174771, 1402174735, 1402174760)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.04401421546936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:13:03.342178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/10/image_02012026_17_11_05_9493.jpg', '/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_15_9898.jpg', '/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_25_10653.jpg', '/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_35_9600.jpg', '/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_45_9604.jpg', '/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_55_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/10/image_02012026_17_11_05_9493.jpg
/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_15_9898.jpg
/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_25_10653.jpg
/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_35_9600.jpg
/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_45_9604.jpg
/home/pi/Desktop/images/02012026/17/11/image_02012026_17_11_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":["1402174919","1402174910","1402174960","1402174912","1402174914","1402174908"],"photo_ids_order":["1402174908","1402174910","1402174912","1402174914","1402174919","1402174960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d6a86f7ef50e6a319cff7a648e495fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5420059128849790917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370443967,"filename":"image_02012026_17_11_45_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/2/8f037b8ebb0db1ec91ff6ffccd10a304.jpg","text":"TemporaryFile(/tmp/multipartBody3724939520391332182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370443967,"filename":"image_02012026_17_11_15_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/2/6a36ade47d3209110f6a73584f997cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2944451939903747613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370443967,"filename":"image_02012026_17_11_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/2/5d6f6c8ec318ba300c683ff040959e1d.jpg","text":"TemporaryFile(/tmp/multipartBody433239038750874940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370443967,"filename":"image_02012026_17_11_25_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/2/c68dd38f51b684d3ed18ac6a079a822c.jpg","text":"TemporaryFile(/tmp/multipartBody637301415275662667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370443967,"filename":"image_02012026_17_11_35_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/2/d5830186149c9f0fc37cffbbdddbeed3.jpg","text":"TemporaryFile(/tmp/multipartBody486587399050369056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370443967,"filename":"image_02012026_17_11_05_9493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402174912","file1":"1402174910","file0":"1402174908","file4":"1402174919","file5":"1402174960","file3":"1402174914"},"map_files_photo_id_array":[{"photo_id":"1402174960","filename":"file5"},{"photo_id":"1402174912","filename":"file2"},{"photo_id":"1402174919","filename":"file4"},{"photo_id":"1402174910","filename":"file1"},{"photo_id":"1402174908","filename":"file0"},{"photo_id":"1402174914","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402174919":["hashtag1","hashtag2"]},{"1402174910":["hashtag1","hashtag2"]},{"1402174960":["hashtag1","hashtag2"]},{"1402174912":["hashtag1","hashtag2"]},{"1402174914":["hashtag1","hashtag2"]},{"1402174908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402174919, 1402174910, 1402174960, 1402174912, 1402174914, 1402174908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45638370513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:13:42.747382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_16_3820.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_19_2775.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_21_2763.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_24_2742.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_31_3583.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_33_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_16_3820.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_19_2775.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_21_2763.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_24_2742.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_31_3583.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_33_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":["1402175062","1402175059","1402175061","1402175060","1402175063","1402175057"],"photo_ids_order":["1402175057","1402175059","1402175060","1402175061","1402175062","1402175063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2886c205fd443fbdfc4cd71d2b0a7894.jpg","text":"TemporaryFile(/tmp/multipartBody5480796526929525916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370484571,"filename":"image_05112025_19_41_31_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/2/5eefd24b553b26af505c520e50c731e9.jpg","text":"TemporaryFile(/tmp/multipartBody8645067652198890319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370484571,"filename":"image_05112025_19_41_19_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/2/7567dc6750bc8c1b9985be44ab831037.jpg","text":"TemporaryFile(/tmp/multipartBody5055306763265879609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370484571,"filename":"image_05112025_19_41_24_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/2/d3b3587d69482207b0b199f988809811.jpg","text":"TemporaryFile(/tmp/multipartBody1253367369219848956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370484571,"filename":"image_05112025_19_41_21_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/2/8c8dc1f7a520e9b436d162aa4b6e2a16.jpg","text":"TemporaryFile(/tmp/multipartBody2618566907036298266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370484571,"filename":"image_05112025_19_41_33_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/2/09b0e799ecbf894afba8769e4a4e59dd.jpg","text":"TemporaryFile(/tmp/multipartBody486272623076523850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370484571,"filename":"image_05112025_19_41_16_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175060","file1":"1402175059","file0":"1402175057","file4":"1402175062","file5":"1402175063","file3":"1402175061"},"map_files_photo_id_array":[{"photo_id":"1402175063","filename":"file5"},{"photo_id":"1402175060","filename":"file2"},{"photo_id":"1402175062","filename":"file4"},{"photo_id":"1402175059","filename":"file1"},{"photo_id":"1402175057","filename":"file0"},{"photo_id":"1402175061","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175062":["hashtag1","hashtag2"]},{"1402175059":["hashtag1","hashtag2"]},{"1402175061":["hashtag1","hashtag2"]},{"1402175060":["hashtag1","hashtag2"]},{"1402175063":["hashtag1","hashtag2"]},{"1402175057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175062, 1402175059, 1402175061, 1402175060, 1402175063, 1402175057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83669447898865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:14:21.974708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/11/image_02012026_17_12_05_9690.jpg', '/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_15_9843.jpg', '/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_25_10590.jpg', '/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_35_9615.jpg', '/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_45_9770.jpg', '/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_56_10803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/11/image_02012026_17_12_05_9690.jpg
/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_15_9843.jpg
/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_25_10590.jpg
/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_35_9615.jpg
/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_45_9770.jpg
/home/pi/Desktop/images/02012026/17/12/image_02012026_17_12_56_10803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175080","1402175082","1402175076","1402175085","1402175073","1402175072"],"photo_ids_order":["1402175072","1402175073","1402175076","1402175080","1402175082","1402175085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99aeddfba19e70608aacb16883aaf078.jpg","text":"TemporaryFile(/tmp/multipartBody4687282136788448298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370522571,"filename":"image_02012026_17_12_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/2/21be92b58bb2635838ec16afe63f8f49.jpg","text":"TemporaryFile(/tmp/multipartBody8373967914064136618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370522571,"filename":"image_02012026_17_12_45_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/2/d656ba217a4e91e01f3a676124b3b816.jpg","text":"TemporaryFile(/tmp/multipartBody649253599337823064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370522571,"filename":"image_02012026_17_12_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/2/6188dc2c0db48f8cffe58d73cce4adcd.jpg","text":"TemporaryFile(/tmp/multipartBody5936183133478229058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370522571,"filename":"image_02012026_17_12_56_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/2/7dc980028805d4da8f21366281955ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2942175210713224969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370522571,"filename":"image_02012026_17_12_15_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/2/931aef042b85e5d9d124bb55a339e3d7.jpg","text":"TemporaryFile(/tmp/multipartBody1533119366844469772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370522571,"filename":"image_02012026_17_12_05_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175076","file1":"1402175073","file0":"1402175072","file4":"1402175082","file5":"1402175085","file3":"1402175080"},"map_files_photo_id_array":[{"photo_id":"1402175085","filename":"file5"},{"photo_id":"1402175076","filename":"file2"},{"photo_id":"1402175082","filename":"file4"},{"photo_id":"1402175073","filename":"file1"},{"photo_id":"1402175072","filename":"file0"},{"photo_id":"1402175080","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175080":["hashtag1","hashtag2"]},{"1402175082":["hashtag1","hashtag2"]},{"1402175076":["hashtag1","hashtag2"]},{"1402175085":["hashtag1","hashtag2"]},{"1402175073":["hashtag1","hashtag2"]},{"1402175072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175080, 1402175082, 1402175076, 1402175085, 1402175073, 1402175072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6509952545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:15:02.712028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/12/image_02012026_17_13_05_9589.jpg', '/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_15_9583.jpg', '/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_25_10635.jpg', '/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_35_9863.jpg', '/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_45_9701.jpg', '/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_55_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/12/image_02012026_17_13_05_9589.jpg
/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_15_9583.jpg
/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_25_10635.jpg
/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_35_9863.jpg
/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_45_9701.jpg
/home/pi/Desktop/images/02012026/17/13/image_02012026_17_13_55_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175092","1402175095","1402175101","1402175088","1402175090","1402175098"],"photo_ids_order":["1402175088","1402175090","1402175092","1402175095","1402175098","1402175101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/db4cc227aef73d7e318f4a4d67266a05.jpg","text":"TemporaryFile(/tmp/multipartBody471528577082353313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370563370,"filename":"image_02012026_17_13_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/2/ce632597fa93f36fe96f04e520ac6d09.jpg","text":"TemporaryFile(/tmp/multipartBody7602501363589923460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370563370,"filename":"image_02012026_17_13_35_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/2/aa35bb25975470f51998c91d6429cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody1108992487033407426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370563370,"filename":"image_02012026_17_13_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/2/da5ca5813acec023225718f577217e03.jpg","text":"TemporaryFile(/tmp/multipartBody5316884888951335873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370563370,"filename":"image_02012026_17_13_05_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/2/ade11585f6a58c0b7c2a3367c7329975.jpg","text":"TemporaryFile(/tmp/multipartBody1547108029986642628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370563370,"filename":"image_02012026_17_13_15_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/2/3dc3404ca31a0aed2d8efe8f62ec93e8.jpg","text":"TemporaryFile(/tmp/multipartBody7663164925522964016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370563370,"filename":"image_02012026_17_13_45_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175092","file1":"1402175090","file0":"1402175088","file4":"1402175098","file5":"1402175101","file3":"1402175095"},"map_files_photo_id_array":[{"photo_id":"1402175101","filename":"file5"},{"photo_id":"1402175092","filename":"file2"},{"photo_id":"1402175098","filename":"file4"},{"photo_id":"1402175090","filename":"file1"},{"photo_id":"1402175088","filename":"file0"},{"photo_id":"1402175095","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175092":["hashtag1","hashtag2"]},{"1402175095":["hashtag1","hashtag2"]},{"1402175101":["hashtag1","hashtag2"]},{"1402175088":["hashtag1","hashtag2"]},{"1402175090":["hashtag1","hashtag2"]},{"1402175098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175092, 1402175095, 1402175101, 1402175088, 1402175090, 1402175098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20375442504883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:15:42.127494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_40_3522.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_42_2755.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_45_2537.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_49_3837.jpg', '/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_52_2782.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_06_3139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_40_3522.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_42_2755.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_45_2537.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_49_3837.jpg
/home/pi/Desktop/images/05112025/19/41/image_05112025_19_41_52_2782.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_06_3139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175110","1402175113","1402175109","1402175106","1402175111","1402175108"],"photo_ids_order":["1402175106","1402175108","1402175109","1402175110","1402175111","1402175113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f1d18636829554781fbafdd4d9d4f8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2484929680061708276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370603831,"filename":"image_05112025_19_41_49_3837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ab0beec613f6cba29a7d8324909e023f.jpg","text":"TemporaryFile(/tmp/multipartBody6445572121962220231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370603831,"filename":"image_05112025_19_42_06_3139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b77a278869838f294cb574a3f3a36bc.jpg","text":"TemporaryFile(/tmp/multipartBody653869949703620629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370603831,"filename":"image_05112025_19_41_45_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ec12bf2afd8faf2eb7f51585e285842.jpg","text":"TemporaryFile(/tmp/multipartBody5052613626458208785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370603831,"filename":"image_05112025_19_41_40_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/2/ef9ca543c452aee0f8498e34ad0881bd.jpg","text":"TemporaryFile(/tmp/multipartBody3044849993403810235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370603831,"filename":"image_05112025_19_41_52_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/2/a1298d65e9ecf00bd488782c16a3e551.jpg","text":"TemporaryFile(/tmp/multipartBody7750586183647427518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370603831,"filename":"image_05112025_19_41_42_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175109","file1":"1402175108","file0":"1402175106","file4":"1402175111","file5":"1402175113","file3":"1402175110"},"map_files_photo_id_array":[{"photo_id":"1402175113","filename":"file5"},{"photo_id":"1402175109","filename":"file2"},{"photo_id":"1402175111","filename":"file4"},{"photo_id":"1402175108","filename":"file1"},{"photo_id":"1402175106","filename":"file0"},{"photo_id":"1402175110","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175110":["hashtag1","hashtag2"]},{"1402175113":["hashtag1","hashtag2"]},{"1402175109":["hashtag1","hashtag2"]},{"1402175106":["hashtag1","hashtag2"]},{"1402175111":["hashtag1","hashtag2"]},{"1402175108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175110, 1402175113, 1402175109, 1402175106, 1402175111, 1402175108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.861448526382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:16:22.379526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/13/image_02012026_17_14_05_9689.jpg', '/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_15_9625.jpg', '/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_25_10582.jpg', '/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_35_9643.jpg', '/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_45_9791.jpg', '/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_56_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/13/image_02012026_17_14_05_9689.jpg
/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_15_9625.jpg
/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_25_10582.jpg
/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_35_9643.jpg
/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_45_9791.jpg
/home/pi/Desktop/images/02012026/17/14/image_02012026_17_14_56_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":["1402175245","1402175361","1402175355","1402175283","1402175319","1402175357"],"photo_ids_order":["1402175245","1402175283","1402175319","1402175355","1402175357","1402175361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cca6cebeca664f49435ba7a6d6d6f9b.jpg","text":"TemporaryFile(/tmp/multipartBody446863722569197898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370642950,"filename":"image_02012026_17_14_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/2/1fa7841fba56b8aac9aa48f78be1447d.jpg","text":"TemporaryFile(/tmp/multipartBody4350693388405127520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370642950,"filename":"image_02012026_17_14_56_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/2/928418b64c3ebd36e830a599386c7965.jpg","text":"TemporaryFile(/tmp/multipartBody8432978708846594897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370642950,"filename":"image_02012026_17_14_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/2/c8bf306c6d817de5572d1c4ca6c2ab20.jpg","text":"TemporaryFile(/tmp/multipartBody8864468333838485045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370642950,"filename":"image_02012026_17_14_15_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/2/c0914bd2cb97965e8e39bc0c6631d183.jpg","text":"TemporaryFile(/tmp/multipartBody6751206581724777830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370642950,"filename":"image_02012026_17_14_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/2/32373c94e2f4e4ba1467cf20f238c784.jpg","text":"TemporaryFile(/tmp/multipartBody5913824123900418188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370642950,"filename":"image_02012026_17_14_45_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175319","file1":"1402175283","file0":"1402175245","file4":"1402175357","file5":"1402175361","file3":"1402175355"},"map_files_photo_id_array":[{"photo_id":"1402175361","filename":"file5"},{"photo_id":"1402175319","filename":"file2"},{"photo_id":"1402175357","filename":"file4"},{"photo_id":"1402175283","filename":"file1"},{"photo_id":"1402175245","filename":"file0"},{"photo_id":"1402175355","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175245":["hashtag1","hashtag2"]},{"1402175361":["hashtag1","hashtag2"]},{"1402175355":["hashtag1","hashtag2"]},{"1402175283":["hashtag1","hashtag2"]},{"1402175319":["hashtag1","hashtag2"]},{"1402175357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175245, 1402175361, 1402175355, 1402175283, 1402175319, 1402175357)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.50584959983826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:17:15.749249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_07_1810.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_13_3692.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_21_3592.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_24_2639.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_28_3566.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_30_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_07_1810.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_13_3692.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_21_3592.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_24_2639.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_28_3566.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_30_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175440","1402175410","1402175388","1402175424","1402175406","1402175447"],"photo_ids_order":["1402175388","1402175406","1402175410","1402175424","1402175440","1402175447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c735d8359bd70b433e1d154dfbd93b40.jpg","text":"TemporaryFile(/tmp/multipartBody5600092237118253993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370697468,"filename":"image_05112025_19_42_28_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/2/b4113abb04a890db4ee938884d7db4a1.jpg","text":"TemporaryFile(/tmp/multipartBody1855013505234694502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370697468,"filename":"image_05112025_19_42_21_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/2/732f37ca9a8c818c3f5c7f328827a9a4.jpg","text":"TemporaryFile(/tmp/multipartBody8211793264721524947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370697468,"filename":"image_05112025_19_42_07_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/2/1a731d2f3b5dddab863fe98f66a32a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2880603419099381589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370697468,"filename":"image_05112025_19_42_24_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/2/27a5da714026f1180746896396e78065.jpg","text":"TemporaryFile(/tmp/multipartBody3598063201603685001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370697468,"filename":"image_05112025_19_42_13_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/2/f8e24f1c3ebf4e9e4dfa086a86612af0.jpg","text":"TemporaryFile(/tmp/multipartBody540662557073534191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370697468,"filename":"image_05112025_19_42_30_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175410","file1":"1402175406","file0":"1402175388","file4":"1402175440","file5":"1402175447","file3":"1402175424"},"map_files_photo_id_array":[{"photo_id":"1402175447","filename":"file5"},{"photo_id":"1402175410","filename":"file2"},{"photo_id":"1402175440","filename":"file4"},{"photo_id":"1402175406","filename":"file1"},{"photo_id":"1402175388","filename":"file0"},{"photo_id":"1402175424","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175440":["hashtag1","hashtag2"]},{"1402175410":["hashtag1","hashtag2"]},{"1402175388":["hashtag1","hashtag2"]},{"1402175424":["hashtag1","hashtag2"]},{"1402175406":["hashtag1","hashtag2"]},{"1402175447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175440, 1402175410, 1402175388, 1402175424, 1402175406, 1402175447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.56195092201233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:18:02.576218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_14_10037.jpg', '/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_24_10667.jpg', '/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_34_9778.jpg', '/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_44_9620.jpg', '/home/pi/Desktop/images/02012026/17/16/image_02012026_17_17_04_9679.jpg', '/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_14_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_14_10037.jpg
/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_24_10667.jpg
/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_34_9778.jpg
/home/pi/Desktop/images/02012026/17/16/image_02012026_17_16_44_9620.jpg
/home/pi/Desktop/images/02012026/17/16/image_02012026_17_17_04_9679.jpg
/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_14_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175497","1402175527","1402175490","1402175492","1402175494","1402175488"],"photo_ids_order":["1402175488","1402175490","1402175492","1402175494","1402175497","1402175527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c2ba4cac83ab904952adf2f77b3f2187.jpg","text":"TemporaryFile(/tmp/multipartBody196100689236362010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370743186,"filename":"image_02012026_17_17_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/2/727c8dde8ea1c3cafd4305d0118f0bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8459402615441519139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370743186,"filename":"image_02012026_17_17_14_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/2/e25a89b90d2f639387e52cfe05ad01d7.jpg","text":"TemporaryFile(/tmp/multipartBody9140013196724140770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370743186,"filename":"image_02012026_17_16_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/2/9cda5ba1383c76a130e3c7da8b3fa95f.jpg","text":"TemporaryFile(/tmp/multipartBody2142412376941177623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370743186,"filename":"image_02012026_17_16_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/2/77032ecbcc4ec0136ccb5579d12f6d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4208066427755240779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370743186,"filename":"image_02012026_17_16_44_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/2/25c0460bedafc6ad0ec58636806ad0e2.jpg","text":"TemporaryFile(/tmp/multipartBody7006949800139617106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370743186,"filename":"image_02012026_17_16_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175492","file1":"1402175490","file0":"1402175488","file4":"1402175497","file5":"1402175527","file3":"1402175494"},"map_files_photo_id_array":[{"photo_id":"1402175527","filename":"file5"},{"photo_id":"1402175492","filename":"file2"},{"photo_id":"1402175497","filename":"file4"},{"photo_id":"1402175490","filename":"file1"},{"photo_id":"1402175488","filename":"file0"},{"photo_id":"1402175494","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175497":["hashtag1","hashtag2"]},{"1402175527":["hashtag1","hashtag2"]},{"1402175490":["hashtag1","hashtag2"]},{"1402175492":["hashtag1","hashtag2"]},{"1402175494":["hashtag1","hashtag2"]},{"1402175488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175497, 1402175527, 1402175490, 1402175492, 1402175494, 1402175488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56471610069275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:18:42.089417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_33_2527.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_37_3779.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_46_3542.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_58_3656.jpg', '/home/pi/Desktop/images/05112025/19/42/image_05112025_19_43_00_2826.jpg', '/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_03_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_33_2527.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_37_3779.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_46_3542.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_42_58_3656.jpg
/home/pi/Desktop/images/05112025/19/42/image_05112025_19_43_00_2826.jpg
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_03_2557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175614","1402175617","1402175616","1402175612","1402175615","1402175618"],"photo_ids_order":["1402175612","1402175614","1402175615","1402175616","1402175617","1402175618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d569523b53103ff8ff7742adf84078bc.jpg","text":"TemporaryFile(/tmp/multipartBody5151094313535343631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370783877,"filename":"image_05112025_19_42_37_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/608983856103dd7804c5fc6a324591f4.jpg","text":"TemporaryFile(/tmp/multipartBody7624025161707221601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370783877,"filename":"image_05112025_19_43_00_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/2/a804b0ffef26e4597f2f28aa30082415.jpg","text":"TemporaryFile(/tmp/multipartBody3907316475501181461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370783877,"filename":"image_05112025_19_42_58_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/2/64a461d1fe4c6687f66948d33828d749.jpg","text":"TemporaryFile(/tmp/multipartBody3467401068993673230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370783877,"filename":"image_05112025_19_42_33_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca31fe63e1113175ed38cfe809810995.jpg","text":"TemporaryFile(/tmp/multipartBody2926683153423859616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370783877,"filename":"image_05112025_19_42_46_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/2/aafc597312af4ca8c6363cb5903c396a.jpg","text":"TemporaryFile(/tmp/multipartBody5253043394132072283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370783877,"filename":"image_05112025_19_43_03_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175615","file1":"1402175614","file0":"1402175612","file4":"1402175617","file5":"1402175618","file3":"1402175616"},"map_files_photo_id_array":[{"photo_id":"1402175618","filename":"file5"},{"photo_id":"1402175615","filename":"file2"},{"photo_id":"1402175617","filename":"file4"},{"photo_id":"1402175614","filename":"file1"},{"photo_id":"1402175612","filename":"file0"},{"photo_id":"1402175616","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175614":["hashtag1","hashtag2"]},{"1402175617":["hashtag1","hashtag2"]},{"1402175616":["hashtag1","hashtag2"]},{"1402175612":["hashtag1","hashtag2"]},{"1402175615":["hashtag1","hashtag2"]},{"1402175618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175614, 1402175617, 1402175616, 1402175612, 1402175615, 1402175618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.218334913253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:19:22.495983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_25_10756.jpg', '/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_34_9761.jpg', '/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_44_9675.jpg', '/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_55_10664.jpg', '/home/pi/Desktop/images/02012026/17/17/image_02012026_17_18_04_9675.jpg', '/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_14_10129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_25_10756.jpg
/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_34_9761.jpg
/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_44_9675.jpg
/home/pi/Desktop/images/02012026/17/17/image_02012026_17_17_55_10664.jpg
/home/pi/Desktop/images/02012026/17/17/image_02012026_17_18_04_9675.jpg
/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_14_10129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175641","1402175655","1402175643","1402175669","1402175627","1402175624"],"photo_ids_order":["1402175624","1402175627","1402175641","1402175643","1402175655","1402175669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a7b6aca5868d615688cf32e3632e2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6638215890336607126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370823068,"filename":"image_02012026_17_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/2/304cadfc447a0ec93e8cb6f4d5dafc89.jpg","text":"TemporaryFile(/tmp/multipartBody522057314873070095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370823068,"filename":"image_02012026_17_18_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/2/632500a7095071e402f1677c581eceb8.jpg","text":"TemporaryFile(/tmp/multipartBody3873242657314350167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370823068,"filename":"image_02012026_17_17_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/2/097e542fcd3a5b655db16f755c020372.jpg","text":"TemporaryFile(/tmp/multipartBody910634490116366227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370823068,"filename":"image_02012026_17_18_14_10129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8111a254d415e7f4c346dd23aeec4acd.jpg","text":"TemporaryFile(/tmp/multipartBody6567007991911251402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370823068,"filename":"image_02012026_17_17_34_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/2/91770e00688ba649926b5456f33f36e8.jpg","text":"TemporaryFile(/tmp/multipartBody2814792175552710326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370823068,"filename":"image_02012026_17_17_25_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175641","file1":"1402175627","file0":"1402175624","file4":"1402175655","file5":"1402175669","file3":"1402175643"},"map_files_photo_id_array":[{"photo_id":"1402175669","filename":"file5"},{"photo_id":"1402175641","filename":"file2"},{"photo_id":"1402175655","filename":"file4"},{"photo_id":"1402175627","filename":"file1"},{"photo_id":"1402175624","filename":"file0"},{"photo_id":"1402175643","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175641":["hashtag1","hashtag2"]},{"1402175655":["hashtag1","hashtag2"]},{"1402175643":["hashtag1","hashtag2"]},{"1402175669":["hashtag1","hashtag2"]},{"1402175627":["hashtag1","hashtag2"]},{"1402175624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175641, 1402175655, 1402175643, 1402175669, 1402175627, 1402175624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02631950378418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:20:02.893201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_24_9606.jpg', '/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_35_10626.jpg', '/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_44_9762.jpg', '/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_54_9677.jpg', '/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_24_9774.jpg', '/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_35_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_24_9606.jpg
/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_35_10626.jpg
/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_44_9762.jpg
/home/pi/Desktop/images/02012026/17/18/image_02012026_17_18_54_9677.jpg
/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_24_9774.jpg
/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_35_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175737","1402175710","1402175739","1402175741","1402175735","1402175729"],"photo_ids_order":["1402175710","1402175729","1402175735","1402175737","1402175739","1402175741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a88cfb12e5f3ff6c57409ad1aeec32d.jpg","text":"TemporaryFile(/tmp/multipartBody358212599563497154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370863516,"filename":"image_02012026_17_18_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/2/581132cac1ee40861dc61385aafb45d1.jpg","text":"TemporaryFile(/tmp/multipartBody9207535820660670188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370863516,"filename":"image_02012026_17_18_24_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/2/5a53fd63221fbd56c515fe0acfe020fe.jpg","text":"TemporaryFile(/tmp/multipartBody4051456079969584728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370863516,"filename":"image_02012026_17_19_24_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/2/2ab23170a6e715e0e13e1940d2285009.jpg","text":"TemporaryFile(/tmp/multipartBody5673295212890751343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370863516,"filename":"image_02012026_17_19_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/2/d673969caeaad1ce1ab0a5d967ec1862.jpg","text":"TemporaryFile(/tmp/multipartBody803831497877434875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370863516,"filename":"image_02012026_17_18_44_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/2/5001f62ea01916f1e4b5d7b3e5762e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1526627216827191338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370863516,"filename":"image_02012026_17_18_35_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175735","file1":"1402175729","file0":"1402175710","file4":"1402175739","file5":"1402175741","file3":"1402175737"},"map_files_photo_id_array":[{"photo_id":"1402175741","filename":"file5"},{"photo_id":"1402175735","filename":"file2"},{"photo_id":"1402175739","filename":"file4"},{"photo_id":"1402175729","filename":"file1"},{"photo_id":"1402175710","filename":"file0"},{"photo_id":"1402175737","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175737":["hashtag1","hashtag2"]},{"1402175710":["hashtag1","hashtag2"]},{"1402175739":["hashtag1","hashtag2"]},{"1402175741":["hashtag1","hashtag2"]},{"1402175735":["hashtag1","hashtag2"]},{"1402175729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175737, 1402175710, 1402175739, 1402175741, 1402175735, 1402175729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13935041427612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:20:42.573226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_07_3527.jpg', '/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_12_5397.jpg', '/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_18_2586.jpg', '/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_21_3642.jpg', '/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_33_3654.jpg', '/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_39_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_07_3527.jpg
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_12_5397.jpg
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_18_2586.jpg
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_21_3642.jpg
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_33_3654.jpg
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_39_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":["1402175752","1402175754","1402175762","1402175756","1402175750","1402175747"],"photo_ids_order":["1402175747","1402175750","1402175752","1402175754","1402175756","1402175762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f88ac04617f27b7ae5daa329fbfe7163.jpg","text":"TemporaryFile(/tmp/multipartBody808405505761397072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370904699,"filename":"image_05112025_19_43_18_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/2/378da5a93f99d92599dd55b049d94719.jpg","text":"TemporaryFile(/tmp/multipartBody3498501792931245910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370904699,"filename":"image_05112025_19_43_21_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/2/0fd2c85f84c3485f8eb905a7e0dc5998.jpg","text":"TemporaryFile(/tmp/multipartBody4969892690079728510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370904699,"filename":"image_05112025_19_43_39_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/2/2b6ea451662766ea7efa044b0fba5d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8435334034818288716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370904699,"filename":"image_05112025_19_43_33_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/2/4c0b6f647b0a2c8da8bd58b27b8018ae.jpg","text":"TemporaryFile(/tmp/multipartBody8974687760636794065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370904699,"filename":"image_05112025_19_43_12_5397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/873f87d3a3355ec3800efe776a827e8a.jpg","text":"TemporaryFile(/tmp/multipartBody8868571558376569953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370904699,"filename":"image_05112025_19_43_07_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175752","file1":"1402175750","file0":"1402175747","file4":"1402175756","file5":"1402175762","file3":"1402175754"},"map_files_photo_id_array":[{"photo_id":"1402175762","filename":"file5"},{"photo_id":"1402175752","filename":"file2"},{"photo_id":"1402175756","filename":"file4"},{"photo_id":"1402175750","filename":"file1"},{"photo_id":"1402175747","filename":"file0"},{"photo_id":"1402175754","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175752":["hashtag1","hashtag2"]},{"1402175754":["hashtag1","hashtag2"]},{"1402175762":["hashtag1","hashtag2"]},{"1402175756":["hashtag1","hashtag2"]},{"1402175750":["hashtag1","hashtag2"]},{"1402175747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175752, 1402175754, 1402175762, 1402175756, 1402175750, 1402175747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6114182472229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:21:32.822383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_48_2858.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_03_3592.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_10_3548.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_12_2650.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_30_2712.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_33_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/43/image_05112025_19_43_48_2858.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_03_3592.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_10_3548.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_12_2650.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_30_2712.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_33_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175821","1402175818","1402175819","1402175810","1402175822","1402175801"],"photo_ids_order":["1402175801","1402175810","1402175818","1402175819","1402175821","1402175822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7277e9842d1d480b7b673e450935f08.jpg","text":"TemporaryFile(/tmp/multipartBody4271742499181820149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370954651,"filename":"image_05112025_19_44_30_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/2/4b2c027085e1e17f9de6c0ad3f3a7d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8437184100383594828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370954651,"filename":"image_05112025_19_44_10_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/2/bf9cf41328ede147cf3186042aafb76c.jpg","text":"TemporaryFile(/tmp/multipartBody3597120100806369686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370954651,"filename":"image_05112025_19_44_12_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/2/0b5215946eb7d62a4b9cfc727b835dc1.jpg","text":"TemporaryFile(/tmp/multipartBody945642686509771296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370954651,"filename":"image_05112025_19_44_03_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/2/d24d806133500ed29db01e7d23f9f95b.jpg","text":"TemporaryFile(/tmp/multipartBody6195425223349948243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370954651,"filename":"image_05112025_19_44_33_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/2/7823b12c713541b4936201d0c5ca6786.jpg","text":"TemporaryFile(/tmp/multipartBody5255244588867175152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767370954651,"filename":"image_05112025_19_43_48_2858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175818","file1":"1402175810","file0":"1402175801","file4":"1402175821","file5":"1402175822","file3":"1402175819"},"map_files_photo_id_array":[{"photo_id":"1402175822","filename":"file5"},{"photo_id":"1402175818","filename":"file2"},{"photo_id":"1402175821","filename":"file4"},{"photo_id":"1402175810","filename":"file1"},{"photo_id":"1402175801","filename":"file0"},{"photo_id":"1402175819","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175821":["hashtag1","hashtag2"]},{"1402175818":["hashtag1","hashtag2"]},{"1402175819":["hashtag1","hashtag2"]},{"1402175810":["hashtag1","hashtag2"]},{"1402175822":["hashtag1","hashtag2"]},{"1402175801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175821, 1402175818, 1402175819, 1402175810, 1402175822, 1402175801)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.01537799835205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:22:21.989428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_44_9805.jpg', '/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_54_9715.jpg', '/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_14_10057.jpg', '/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_25_10688.jpg', '/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_34_9548.jpg', '/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_45_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_44_9805.jpg
/home/pi/Desktop/images/02012026/17/19/image_02012026_17_19_54_9715.jpg
/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_14_10057.jpg
/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_25_10688.jpg
/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_34_9548.jpg
/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_45_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175869","1402175850","1402175841","1402175835","1402175855","1402175846"],"photo_ids_order":["1402175835","1402175841","1402175846","1402175850","1402175855","1402175869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a4f29890820d4c4c8cdc6346c235872d.jpg","text":"TemporaryFile(/tmp/multipartBody5711562720838510406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371002560,"filename":"image_02012026_17_20_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/2/89e1e39f5257e4ea4a438b01c6c5f858.jpg","text":"TemporaryFile(/tmp/multipartBody8126745894296818153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371002560,"filename":"image_02012026_17_20_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/2/e05239230eb2898968382afb76db4c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4434106288548175342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371002560,"filename":"image_02012026_17_19_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/2/14165d1948b9b26c89b3adf93b33057a.jpg","text":"TemporaryFile(/tmp/multipartBody6958885961183665161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371002560,"filename":"image_02012026_17_19_44_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/2/c905e4ae341a3b43a0f45e3916e08aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7428768060700042624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371002560,"filename":"image_02012026_17_20_34_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/2/05f0b72ad2bb06e11e5be5504301d534.jpg","text":"TemporaryFile(/tmp/multipartBody5102045218611872228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371002560,"filename":"image_02012026_17_20_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175846","file1":"1402175841","file0":"1402175835","file4":"1402175855","file5":"1402175869","file3":"1402175850"},"map_files_photo_id_array":[{"photo_id":"1402175869","filename":"file5"},{"photo_id":"1402175846","filename":"file2"},{"photo_id":"1402175855","filename":"file4"},{"photo_id":"1402175841","filename":"file1"},{"photo_id":"1402175835","filename":"file0"},{"photo_id":"1402175850","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175869":["hashtag1","hashtag2"]},{"1402175850":["hashtag1","hashtag2"]},{"1402175841":["hashtag1","hashtag2"]},{"1402175835":["hashtag1","hashtag2"]},{"1402175855":["hashtag1","hashtag2"]},{"1402175846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175869, 1402175850, 1402175841, 1402175835, 1402175855, 1402175846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85650682449341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:23:02.892854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_55_9825.jpg', '/home/pi/Desktop/images/02012026/17/20/image_02012026_17_21_05_9657.jpg', '/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_14_9698.jpg', '/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_35_9648.jpg', '/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_44_9662.jpg', '/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_55_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/20/image_02012026_17_20_55_9825.jpg
/home/pi/Desktop/images/02012026/17/20/image_02012026_17_21_05_9657.jpg
/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_14_9698.jpg
/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_35_9648.jpg
/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_44_9662.jpg
/home/pi/Desktop/images/02012026/17/21/image_02012026_17_21_55_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":["1402175919","1402175888","1402175930","1402175924","1402175915","1402175890"],"photo_ids_order":["1402175888","1402175890","1402175915","1402175919","1402175924","1402175930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2371b87669592f114968f607e3a6753.jpg","text":"TemporaryFile(/tmp/multipartBody8890769046037512346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371043500,"filename":"image_02012026_17_21_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/2/0432f6acd33511196b2a96a811442a78.jpg","text":"TemporaryFile(/tmp/multipartBody7906665246861742831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371043500,"filename":"image_02012026_17_20_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/2/4f58af9803ba188335930fae32aa2b3d.jpg","text":"TemporaryFile(/tmp/multipartBody584551464782781450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371043500,"filename":"image_02012026_17_21_55_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/2/f5a9ef0af07d704410e53cfad0d3838e.jpg","text":"TemporaryFile(/tmp/multipartBody2234880032956153552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371043500,"filename":"image_02012026_17_21_44_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/2/ec25a85d7c29c6237fa574f4adfd1363.jpg","text":"TemporaryFile(/tmp/multipartBody2413113281441417600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371043500,"filename":"image_02012026_17_21_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/2/a7cd329176f095b3fa4e7e9bcd6441e6.jpg","text":"TemporaryFile(/tmp/multipartBody5425805847865008721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371043500,"filename":"image_02012026_17_21_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175915","file1":"1402175890","file0":"1402175888","file4":"1402175924","file5":"1402175930","file3":"1402175919"},"map_files_photo_id_array":[{"photo_id":"1402175930","filename":"file5"},{"photo_id":"1402175915","filename":"file2"},{"photo_id":"1402175924","filename":"file4"},{"photo_id":"1402175890","filename":"file1"},{"photo_id":"1402175888","filename":"file0"},{"photo_id":"1402175919","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175919":["hashtag1","hashtag2"]},{"1402175888":["hashtag1","hashtag2"]},{"1402175930":["hashtag1","hashtag2"]},{"1402175924":["hashtag1","hashtag2"]},{"1402175915":["hashtag1","hashtag2"]},{"1402175890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175919, 1402175888, 1402175930, 1402175924, 1402175915, 1402175890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87297463417053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:23:42.137065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_36_2680.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_42_2704.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_45_2812.jpg', '/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_57_2802.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_06_2780.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_10_3814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_36_2680.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_42_2704.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_45_2812.jpg
/home/pi/Desktop/images/05112025/19/44/image_05112025_19_44_57_2802.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_06_2780.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_10_3814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175947","1402175944","1402175938","1402175946","1402175940","1402175942"],"photo_ids_order":["1402175938","1402175940","1402175942","1402175944","1402175946","1402175947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a829100caa02b8ee1201e7a4a8cd9bef.jpg","text":"TemporaryFile(/tmp/multipartBody5118653804250718426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371083983,"filename":"image_05112025_19_45_10_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/334b2f9e698001130dc6fa5411f47c43.jpg","text":"TemporaryFile(/tmp/multipartBody6221936504001307011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371083983,"filename":"image_05112025_19_44_57_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/2/4fb90154e16191a47fba533622afd23a.jpg","text":"TemporaryFile(/tmp/multipartBody5331879529922426713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371083983,"filename":"image_05112025_19_44_36_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/2/a79e4a4255f3ad7a5628a6c58b661057.jpg","text":"TemporaryFile(/tmp/multipartBody5058599132460782321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371083983,"filename":"image_05112025_19_45_06_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ce40c2d40170c1d5d86d97f5ccf82c8.jpg","text":"TemporaryFile(/tmp/multipartBody6980871671073182040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371083983,"filename":"image_05112025_19_44_42_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/2/fdd15e2e7310d251d65b6b7d1cf24ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3261563285542932005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371083983,"filename":"image_05112025_19_44_45_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175942","file1":"1402175940","file0":"1402175938","file4":"1402175946","file5":"1402175947","file3":"1402175944"},"map_files_photo_id_array":[{"photo_id":"1402175947","filename":"file5"},{"photo_id":"1402175942","filename":"file2"},{"photo_id":"1402175946","filename":"file4"},{"photo_id":"1402175940","filename":"file1"},{"photo_id":"1402175938","filename":"file0"},{"photo_id":"1402175944","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175947":["hashtag1","hashtag2"]},{"1402175944":["hashtag1","hashtag2"]},{"1402175938":["hashtag1","hashtag2"]},{"1402175946":["hashtag1","hashtag2"]},{"1402175940":["hashtag1","hashtag2"]},{"1402175942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175947, 1402175944, 1402175938, 1402175946, 1402175940, 1402175942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63117218017578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:24:22.299173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/21/image_02012026_17_22_05_9672.jpg', '/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_14_9658.jpg', '/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_25_10716.jpg', '/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_35_9595.jpg', '/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_44_9757.jpg', '/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_54_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/21/image_02012026_17_22_05_9672.jpg
/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_14_9658.jpg
/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_25_10716.jpg
/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_35_9595.jpg
/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_44_9757.jpg
/home/pi/Desktop/images/02012026/17/22/image_02012026_17_22_54_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":["1402175964","1402175958","1402175955","1402175969","1402175960","1402175966"],"photo_ids_order":["1402175955","1402175958","1402175960","1402175964","1402175966","1402175969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/947438e205eeaed4eb0c39281c9074de.jpg","text":"TemporaryFile(/tmp/multipartBody1534025353431926716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371122895,"filename":"image_02012026_17_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/2/ba987cd42ce215e52ccb5acd70e94e26.jpg","text":"TemporaryFile(/tmp/multipartBody4043127194185234503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371122895,"filename":"image_02012026_17_22_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/2/ba89667bf4e0cebdec7dd73e5baafc4f.jpg","text":"TemporaryFile(/tmp/multipartBody5973810770920799892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371122895,"filename":"image_02012026_17_22_05_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/2/25a6efb7e3ae114a47db1b14cd087f18.jpg","text":"TemporaryFile(/tmp/multipartBody8598178989825161448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371122895,"filename":"image_02012026_17_22_54_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/2/785ab91905a6bd084b2b7c3e9f993639.jpg","text":"TemporaryFile(/tmp/multipartBody3830807267799632838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371122895,"filename":"image_02012026_17_22_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/2/51a57eba642a9aef559945d53fa8b141.jpg","text":"TemporaryFile(/tmp/multipartBody5086948045711294718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371122895,"filename":"image_02012026_17_22_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175960","file1":"1402175958","file0":"1402175955","file4":"1402175966","file5":"1402175969","file3":"1402175964"},"map_files_photo_id_array":[{"photo_id":"1402175969","filename":"file5"},{"photo_id":"1402175960","filename":"file2"},{"photo_id":"1402175966","filename":"file4"},{"photo_id":"1402175958","filename":"file1"},{"photo_id":"1402175955","filename":"file0"},{"photo_id":"1402175964","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175964":["hashtag1","hashtag2"]},{"1402175958":["hashtag1","hashtag2"]},{"1402175955":["hashtag1","hashtag2"]},{"1402175969":["hashtag1","hashtag2"]},{"1402175960":["hashtag1","hashtag2"]},{"1402175966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175964, 1402175958, 1402175955, 1402175969, 1402175960, 1402175966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91899228096008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:25:02.605976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_05_10596.jpg', '/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_14_9597.jpg', '/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_25_10612.jpg', '/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_35_9901.jpg', '/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_45_9748.jpg', '/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_05_10596.jpg
/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_14_9597.jpg
/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_25_10612.jpg
/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_35_9901.jpg
/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_45_9748.jpg
/home/pi/Desktop/images/02012026/17/23/image_02012026_17_23_54_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":["1402175974","1402175985","1402175979","1402175987","1402175981","1402175983"],"photo_ids_order":["1402175974","1402175979","1402175981","1402175983","1402175985","1402175987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42c275d30fdb89ac1553b671fed15cda.jpg","text":"TemporaryFile(/tmp/multipartBody7800664009845608704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371163258,"filename":"image_02012026_17_23_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/2/900c1b534bbb8e52448f4261500f0d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5008282454006584020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371163258,"filename":"image_02012026_17_23_45_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/2/5e5f660cd1ea6155fa5323d8424978ab.jpg","text":"TemporaryFile(/tmp/multipartBody3790494193727357304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371163258,"filename":"image_02012026_17_23_14_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/2/a45fdd51b38ec71d5702df20e6e2de43.jpg","text":"TemporaryFile(/tmp/multipartBody1839994855318145234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371163258,"filename":"image_02012026_17_23_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/2/efd9d1f2b6739dc1cb6b618c048d1812.jpg","text":"TemporaryFile(/tmp/multipartBody5061018830835337167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371163258,"filename":"image_02012026_17_23_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/2/b3ed9b092329165fb0d89b85653dcd30.jpg","text":"TemporaryFile(/tmp/multipartBody6687774109529308518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371163258,"filename":"image_02012026_17_23_35_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175981","file1":"1402175979","file0":"1402175974","file4":"1402175985","file5":"1402175987","file3":"1402175983"},"map_files_photo_id_array":[{"photo_id":"1402175987","filename":"file5"},{"photo_id":"1402175981","filename":"file2"},{"photo_id":"1402175985","filename":"file4"},{"photo_id":"1402175979","filename":"file1"},{"photo_id":"1402175974","filename":"file0"},{"photo_id":"1402175983","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402175974":["hashtag1","hashtag2"]},{"1402175985":["hashtag1","hashtag2"]},{"1402175979":["hashtag1","hashtag2"]},{"1402175987":["hashtag1","hashtag2"]},{"1402175981":["hashtag1","hashtag2"]},{"1402175983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402175974, 1402175985, 1402175979, 1402175987, 1402175981, 1402175983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97409629821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:25:41.986614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_12_2702.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_15_2670.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_18_2667.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_24_2670.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_30_2750.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_33_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_12_2702.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_15_2670.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_18_2667.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_24_2670.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_30_2750.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_33_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402175994","1402175997","1402175993","1402175996","1402175995","1402175998"],"photo_ids_order":["1402175993","1402175994","1402175995","1402175996","1402175997","1402175998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa24cc9ae465014670b7e5c734a59b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8201656954553675666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371203821,"filename":"image_05112025_19_45_15_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/2/db6f4dcb0898ecc3c89523703f74f49c.jpg","text":"TemporaryFile(/tmp/multipartBody4758765272194625690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371203821,"filename":"image_05112025_19_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/2/68d675417a822021f218ef897a7344dd.jpg","text":"TemporaryFile(/tmp/multipartBody8072395405782299479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371203821,"filename":"image_05112025_19_45_12_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/2/a5f3a7843a54a03163ef0fb4ced264cd.jpg","text":"TemporaryFile(/tmp/multipartBody1542313599267333740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371203821,"filename":"image_05112025_19_45_24_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/2/ba955e3de5812aefb7141fdf5a5e46d7.jpg","text":"TemporaryFile(/tmp/multipartBody3449518238629193697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371203821,"filename":"image_05112025_19_45_18_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/2/a7da8d055a01b0080800ac98851b462e.jpg","text":"TemporaryFile(/tmp/multipartBody6390548427229755717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371203821,"filename":"image_05112025_19_45_33_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402175995","file1":"1402175994","file0":"1402175993","file4":"1402175997","file5":"1402175998","file3":"1402175996"},"map_files_photo_id_array":[{"photo_id":"1402175998","filename":"file5"},{"photo_id":"1402175995","filename":"file2"},{"photo_id":"1402175997","filename":"file4"},{"photo_id":"1402175994","filename":"file1"},{"photo_id":"1402175993","filename":"file0"},{"photo_id":"1402175996","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402175994":["hashtag1","hashtag2"]},{"1402175997":["hashtag1","hashtag2"]},{"1402175993":["hashtag1","hashtag2"]},{"1402175996":["hashtag1","hashtag2"]},{"1402175995":["hashtag1","hashtag2"]},{"1402175998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402175994, 1402175997, 1402175993, 1402175996, 1402175995, 1402175998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.731691122055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:26:22.238463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_15_9628.jpg', '/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_24_9628.jpg', '/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_35_10711.jpg', '/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_44_9569.jpg', '/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_55_10526.jpg', '/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_15_9628.jpg
/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_24_9628.jpg
/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_35_10711.jpg
/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_44_9569.jpg
/home/pi/Desktop/images/02012026/17/24/image_02012026_17_24_55_10526.jpg
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_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":["1402176010","1402176006","1402176021","1402176018","1402176026","1402176014"],"photo_ids_order":["1402176006","1402176010","1402176014","1402176018","1402176021","1402176026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b9877887f7eed15fdf4f639c79dc8c05.jpg","text":"TemporaryFile(/tmp/multipartBody4708312304631985929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371242810,"filename":"image_02012026_17_24_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/2/920413642f85777e03d99fd32ca6b76a.jpg","text":"TemporaryFile(/tmp/multipartBody6017725370031481554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371242810,"filename":"image_02012026_17_24_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/2/ef499cb0cfd5f9856c75e67a7d320c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4626627963140282925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371242810,"filename":"image_02012026_17_24_55_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/2/736bcee456bc4b11bf7f892c4bb6b314.jpg","text":"TemporaryFile(/tmp/multipartBody7348291789996959162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371242810,"filename":"image_02012026_17_24_44_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/2/25d5a8f4155af6f956bc40d75aad06c8.jpg","text":"TemporaryFile(/tmp/multipartBody8216753583067807237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371242810,"filename":"image_02012026_17_25_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8361f9e37e81759159966bb5846d4e73.jpg","text":"TemporaryFile(/tmp/multipartBody6943128757470120769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371242810,"filename":"image_02012026_17_24_35_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176014","file1":"1402176010","file0":"1402176006","file4":"1402176021","file5":"1402176026","file3":"1402176018"},"map_files_photo_id_array":[{"photo_id":"1402176026","filename":"file5"},{"photo_id":"1402176014","filename":"file2"},{"photo_id":"1402176021","filename":"file4"},{"photo_id":"1402176010","filename":"file1"},{"photo_id":"1402176006","filename":"file0"},{"photo_id":"1402176018","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176010":["hashtag1","hashtag2"]},{"1402176006":["hashtag1","hashtag2"]},{"1402176021":["hashtag1","hashtag2"]},{"1402176018":["hashtag1","hashtag2"]},{"1402176026":["hashtag1","hashtag2"]},{"1402176014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176010, 1402176006, 1402176021, 1402176018, 1402176026, 1402176014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20891571044922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:27:03.135950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_35_9750.jpg', '/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_53_18005.jpg', '/home/pi/Desktop/images/02012026/17/25/image_02012026_17_26_04_9557.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_15_10655.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_24_9616.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_34_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_35_9750.jpg
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_53_18005.jpg
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_26_04_9557.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_15_10655.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_24_9616.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_34_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.5122485160827637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:27:12.458588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_36_2845.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_39_2784.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_42_2807.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_45_2813.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_48_3730.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_51_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_36_2845.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_39_2784.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_42_2807.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_45_2813.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_48_3730.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_51_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":["1402176055","1402176057","1402176042","1402176053","1402176050","1402176047"],"photo_ids_order":["1402176042","1402176047","1402176050","1402176053","1402176055","1402176057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f4dcac1a1a19e8e60f2aa966b9e00bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5692196876629871214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371298774,"filename":"image_05112025_19_45_48_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/2/235355fd3dfe24b2e663df7b5db2dfd6.jpg","text":"TemporaryFile(/tmp/multipartBody630884253375376947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371298774,"filename":"image_05112025_19_45_51_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/2/a06e94f5f7913f80314d570bc915bac6.jpg","text":"TemporaryFile(/tmp/multipartBody3953430710795070872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371298774,"filename":"image_05112025_19_45_36_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/2/dcd66a605a138dbac3855e3015b3f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody3151805562746698353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371298774,"filename":"image_05112025_19_45_45_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/2/5f4a6f77bfea0a9f7ff4736f43036733.jpg","text":"TemporaryFile(/tmp/multipartBody2581817036490074408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371298774,"filename":"image_05112025_19_45_42_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1147c7638d671317229ddcffcdb32931.jpg","text":"TemporaryFile(/tmp/multipartBody5409157250384039629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371298774,"filename":"image_05112025_19_45_39_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176050","file1":"1402176047","file0":"1402176042","file4":"1402176055","file5":"1402176057","file3":"1402176053"},"map_files_photo_id_array":[{"photo_id":"1402176057","filename":"file5"},{"photo_id":"1402176050","filename":"file2"},{"photo_id":"1402176055","filename":"file4"},{"photo_id":"1402176047","filename":"file1"},{"photo_id":"1402176042","filename":"file0"},{"photo_id":"1402176053","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176055":["hashtag1","hashtag2"]},{"1402176057":["hashtag1","hashtag2"]},{"1402176042":["hashtag1","hashtag2"]},{"1402176053":["hashtag1","hashtag2"]},{"1402176050":["hashtag1","hashtag2"]},{"1402176047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176055, 1402176057, 1402176042, 1402176053, 1402176050, 1402176047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00425887107849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:28:03.134602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 17:28:12.625365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_54_2741.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_58_3712.jpg', '/home/pi/Desktop/images/05112025/19/45/image_05112025_19_46_00_2779.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_06_2785.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_09_3575.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_12_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_54_2741.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_45_58_3712.jpg
/home/pi/Desktop/images/05112025/19/45/image_05112025_19_46_00_2779.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_06_2785.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_09_3575.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_12_2836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176069","1402176063","1402176071","1402176065","1402176073","1402176067"],"photo_ids_order":["1402176063","1402176065","1402176067","1402176069","1402176071","1402176073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/980c31ca63efe43c6dd686224818eec0.jpg","text":"TemporaryFile(/tmp/multipartBody216635165546507881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371355679,"filename":"image_05112025_19_46_06_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/2/5410eedfd4614b3c59481147552647b3.jpg","text":"TemporaryFile(/tmp/multipartBody8758368693490347762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371355679,"filename":"image_05112025_19_45_54_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/2/7212317495d594367bffa07a0eebc86b.jpg","text":"TemporaryFile(/tmp/multipartBody1984816632406284577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371355679,"filename":"image_05112025_19_46_09_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/2/e266618f66e573a34c6a316102f02254.jpg","text":"TemporaryFile(/tmp/multipartBody5946920180624756721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371355679,"filename":"image_05112025_19_45_58_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/2/019629380b588d9c13bc05b7ae0ddf70.jpg","text":"TemporaryFile(/tmp/multipartBody810526593465017252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371355679,"filename":"image_05112025_19_46_12_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9670cf3b8c6d47ebc23da7d17728b50.jpg","text":"TemporaryFile(/tmp/multipartBody7788981562976078438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371355679,"filename":"image_05112025_19_46_00_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176067","file1":"1402176065","file0":"1402176063","file4":"1402176071","file5":"1402176073","file3":"1402176069"},"map_files_photo_id_array":[{"photo_id":"1402176073","filename":"file5"},{"photo_id":"1402176067","filename":"file2"},{"photo_id":"1402176071","filename":"file4"},{"photo_id":"1402176065","filename":"file1"},{"photo_id":"1402176063","filename":"file0"},{"photo_id":"1402176069","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176069":["hashtag1","hashtag2"]},{"1402176063":["hashtag1","hashtag2"]},{"1402176071":["hashtag1","hashtag2"]},{"1402176065":["hashtag1","hashtag2"]},{"1402176073":["hashtag1","hashtag2"]},{"1402176067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176069, 1402176063, 1402176071, 1402176065, 1402176073, 1402176067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38795471191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:29:02.937075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_35_9750.jpg', '/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_53_18005.jpg', '/home/pi/Desktop/images/02012026/17/25/image_02012026_17_26_04_9557.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_15_10655.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_24_9616.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_34_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_35_9750.jpg
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_25_53_18005.jpg
/home/pi/Desktop/images/02012026/17/25/image_02012026_17_26_04_9557.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_15_10655.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_24_9616.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402176100","1402176093","1402176087","1402176096","1402176090","1402176098"],"photo_ids_order":["1402176087","1402176090","1402176093","1402176096","1402176098","1402176100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/258a46fb2a30cac32e566fd5fad096c1.jpg","text":"TemporaryFile(/tmp/multipartBody8831559581658362582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371403734,"filename":"image_02012026_17_26_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/2/b858e5049c9ff318cd363da67f822a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6447368611564660544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371403734,"filename":"image_02012026_17_26_04_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/2/8d83749bf0ecef1b198a9a076e19c047.jpg","text":"TemporaryFile(/tmp/multipartBody5805976549415841365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371403734,"filename":"image_02012026_17_25_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/2/76615d30b1e879df5a76c40d05c63aa9.jpg","text":"TemporaryFile(/tmp/multipartBody9180719028711307561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371403734,"filename":"image_02012026_17_26_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/2/c426142db7bef9693d29b7c3993743eb.jpg","text":"TemporaryFile(/tmp/multipartBody8919220856477316968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371403734,"filename":"image_02012026_17_25_53_18005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c9cdd5126314dfbc8377f9a6ec31258.jpg","text":"TemporaryFile(/tmp/multipartBody1069644812980587262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371403734,"filename":"image_02012026_17_26_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176093","file1":"1402176090","file0":"1402176087","file4":"1402176098","file5":"1402176100","file3":"1402176096"},"map_files_photo_id_array":[{"photo_id":"1402176100","filename":"file5"},{"photo_id":"1402176093","filename":"file2"},{"photo_id":"1402176098","filename":"file4"},{"photo_id":"1402176090","filename":"file1"},{"photo_id":"1402176087","filename":"file0"},{"photo_id":"1402176096","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176100":["hashtag1","hashtag2"]},{"1402176093":["hashtag1","hashtag2"]},{"1402176087":["hashtag1","hashtag2"]},{"1402176096":["hashtag1","hashtag2"]},{"1402176090":["hashtag1","hashtag2"]},{"1402176098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176100, 1402176093, 1402176087, 1402176096, 1402176090, 1402176098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41272473335266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:30:02.570212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_45_10808.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_55_9896.jpg', '/home/pi/Desktop/images/02012026/17/26/image_02012026_17_27_04_9833.jpg', '/home/pi/Desktop/images/02012026/17/27/image_02012026_17_27_14_9693.jpg', '/home/pi/Desktop/images/02012026/17/27/image_02012026_17_27_34_9567.jpg', '/home/pi/Desktop/images/02012026/17/27/image_02012026_17_27_54_10316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_45_10808.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_26_55_9896.jpg
/home/pi/Desktop/images/02012026/17/26/image_02012026_17_27_04_9833.jpg
/home/pi/Desktop/images/02012026/17/27/image_02012026_17_27_14_9693.jpg
/home/pi/Desktop/images/02012026/17/27/image_02012026_17_27_34_9567.jpg
/home/pi/Desktop/images/02012026/17/27/image_02012026_17_27_54_10316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176253","1402176220","1402176255","1402176258","1402176228","1402176227"],"photo_ids_order":["1402176220","1402176227","1402176228","1402176253","1402176255","1402176258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd5d32446d8b933824cdc9b2942b78d7.jpg","text":"TemporaryFile(/tmp/multipartBody25829462972569341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371463200,"filename":"image_02012026_17_27_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/2/43d72c2824842b1c10ac81492b80efe3.jpg","text":"TemporaryFile(/tmp/multipartBody3607440051282054038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371463200,"filename":"image_02012026_17_26_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/2/cc35f094aaa533c4d413fee397299341.jpg","text":"TemporaryFile(/tmp/multipartBody473407802244067692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371463200,"filename":"image_02012026_17_27_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/2/d50e61c18fc4e44a26c9fa577c61fc59.jpg","text":"TemporaryFile(/tmp/multipartBody6858058882942178174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371463200,"filename":"image_02012026_17_27_54_10316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3fff4c802aea2b62073f0529eeede3c9.jpg","text":"TemporaryFile(/tmp/multipartBody6060913734861765232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371463200,"filename":"image_02012026_17_27_04_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/2/e03407eff62c6b29037830026b7fce6c.jpg","text":"TemporaryFile(/tmp/multipartBody1977982987186861043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371463200,"filename":"image_02012026_17_26_55_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176228","file1":"1402176227","file0":"1402176220","file4":"1402176255","file5":"1402176258","file3":"1402176253"},"map_files_photo_id_array":[{"photo_id":"1402176258","filename":"file5"},{"photo_id":"1402176228","filename":"file2"},{"photo_id":"1402176255","filename":"file4"},{"photo_id":"1402176227","filename":"file1"},{"photo_id":"1402176220","filename":"file0"},{"photo_id":"1402176253","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176253":["hashtag1","hashtag2"]},{"1402176220":["hashtag1","hashtag2"]},{"1402176255":["hashtag1","hashtag2"]},{"1402176258":["hashtag1","hashtag2"]},{"1402176228":["hashtag1","hashtag2"]},{"1402176227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176253, 1402176220, 1402176255, 1402176258, 1402176228, 1402176227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.953776597976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:30:42.221215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_15_2665.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_18_3745.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_24_2739.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_27_2881.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_29_2609.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_33_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_15_2665.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_18_3745.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_24_2739.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_27_2881.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_29_2609.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_33_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176268","1402176288","1402176363","1402176272","1402176323","1402176271"],"photo_ids_order":["1402176268","1402176271","1402176272","1402176288","1402176323","1402176363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6986238cbdbcf85cbae19e8f31acaaae.jpg","text":"TemporaryFile(/tmp/multipartBody5457492405750471192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371504168,"filename":"image_05112025_19_46_15_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/2/e6941aee1abbb38c9ec1bc26432e7ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3754922342463662908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371504168,"filename":"image_05112025_19_46_27_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c19887fdd55c5b328d51294475e4e868.jpg","text":"TemporaryFile(/tmp/multipartBody4406985324107597337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371504168,"filename":"image_05112025_19_46_33_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe457729371cf46fb4c39b4cc9932cee.jpg","text":"TemporaryFile(/tmp/multipartBody7023199923530347069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371504168,"filename":"image_05112025_19_46_24_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/2/ceda13cc90af71a5b30c3f5d7543e9a9.jpg","text":"TemporaryFile(/tmp/multipartBody3710563576988805398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371504168,"filename":"image_05112025_19_46_29_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/2/5b50ea728d3df116595a84d7e4544d68.jpg","text":"TemporaryFile(/tmp/multipartBody5202312987733613771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371504168,"filename":"image_05112025_19_46_18_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176272","file1":"1402176271","file0":"1402176268","file4":"1402176323","file5":"1402176363","file3":"1402176288"},"map_files_photo_id_array":[{"photo_id":"1402176363","filename":"file5"},{"photo_id":"1402176272","filename":"file2"},{"photo_id":"1402176323","filename":"file4"},{"photo_id":"1402176271","filename":"file1"},{"photo_id":"1402176268","filename":"file0"},{"photo_id":"1402176288","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176268":["hashtag1","hashtag2"]},{"1402176288":["hashtag1","hashtag2"]},{"1402176363":["hashtag1","hashtag2"]},{"1402176272":["hashtag1","hashtag2"]},{"1402176323":["hashtag1","hashtag2"]},{"1402176271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176268, 1402176288, 1402176363, 1402176272, 1402176323, 1402176271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81070351600647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:31:32.323605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_36_2652.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_54_2788.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_57_2814.jpg', '/home/pi/Desktop/images/05112025/19/46/image_05112025_19_47_00_2730.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_03_3798.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_06_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_36_2652.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_54_2788.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_46_57_2814.jpg
/home/pi/Desktop/images/05112025/19/46/image_05112025_19_47_00_2730.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_03_3798.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_06_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176415","1402176420","1402176423","1402176417","1402176422","1402176442"],"photo_ids_order":["1402176415","1402176417","1402176420","1402176422","1402176423","1402176442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65cbe9ade3d1dece28865904121d8eee.jpg","text":"TemporaryFile(/tmp/multipartBody4615183937609789687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371554199,"filename":"image_05112025_19_46_36_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/2/f0df4a905f098729da4104f0925cc5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6628209005988678638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371554199,"filename":"image_05112025_19_46_57_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/2/90a7398734ec101173b201d1fe4246b9.jpg","text":"TemporaryFile(/tmp/multipartBody6921217665224961171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371554199,"filename":"image_05112025_19_47_03_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8381dda56c5c68d50a53cc89cb99131.jpg","text":"TemporaryFile(/tmp/multipartBody4493622275324639136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371554199,"filename":"image_05112025_19_46_54_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/2/04a2dddd00b8701bad545f5303c5447e.jpg","text":"TemporaryFile(/tmp/multipartBody8585693999465301093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371554199,"filename":"image_05112025_19_47_00_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/2/2e0976e3ed3a3321efed4b7175ca091b.jpg","text":"TemporaryFile(/tmp/multipartBody7351579067585183047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371554199,"filename":"image_05112025_19_47_06_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176420","file1":"1402176417","file0":"1402176415","file4":"1402176423","file5":"1402176442","file3":"1402176422"},"map_files_photo_id_array":[{"photo_id":"1402176442","filename":"file5"},{"photo_id":"1402176420","filename":"file2"},{"photo_id":"1402176423","filename":"file4"},{"photo_id":"1402176417","filename":"file1"},{"photo_id":"1402176415","filename":"file0"},{"photo_id":"1402176422","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176415":["hashtag1","hashtag2"]},{"1402176420":["hashtag1","hashtag2"]},{"1402176423":["hashtag1","hashtag2"]},{"1402176417":["hashtag1","hashtag2"]},{"1402176422":["hashtag1","hashtag2"]},{"1402176442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176415, 1402176420, 1402176423, 1402176417, 1402176422, 1402176442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09579515457153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:32:12.545007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_09_2642.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_12_2640.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_15_3706.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_24_3675.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_27_2613.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_29_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_09_2642.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_12_2640.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_15_3706.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_24_3675.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_27_2613.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_29_2569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176445","1402176448","1402176450","1402176453","1402176443","1402176452"],"photo_ids_order":["1402176443","1402176445","1402176448","1402176450","1402176452","1402176453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b74aa3177053db69daa86497102dda0.jpg","text":"TemporaryFile(/tmp/multipartBody7840249324532210361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371594306,"filename":"image_05112025_19_47_12_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/2/a87fb4bca21b00f4a3c3a8fe49c92986.jpg","text":"TemporaryFile(/tmp/multipartBody263934743434669373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371594306,"filename":"image_05112025_19_47_15_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/2/7d4453f3c568c98a80003bb901f5d31e.jpg","text":"TemporaryFile(/tmp/multipartBody1790093585171244528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371594306,"filename":"image_05112025_19_47_24_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/2/c5dfa3f510ac9e5cb07d52208708670b.jpg","text":"TemporaryFile(/tmp/multipartBody4105991033301912817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371594306,"filename":"image_05112025_19_47_29_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/2/4d7217214fa26cc37215c5c5869f6c05.jpg","text":"TemporaryFile(/tmp/multipartBody9147787689651532032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371594306,"filename":"image_05112025_19_47_09_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/2/966756625c5f9c30a9a1357c59bff731.jpg","text":"TemporaryFile(/tmp/multipartBody8575076969747934941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371594306,"filename":"image_05112025_19_47_27_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176448","file1":"1402176445","file0":"1402176443","file4":"1402176452","file5":"1402176453","file3":"1402176450"},"map_files_photo_id_array":[{"photo_id":"1402176453","filename":"file5"},{"photo_id":"1402176448","filename":"file2"},{"photo_id":"1402176452","filename":"file4"},{"photo_id":"1402176445","filename":"file1"},{"photo_id":"1402176443","filename":"file0"},{"photo_id":"1402176450","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176445":["hashtag1","hashtag2"]},{"1402176448":["hashtag1","hashtag2"]},{"1402176450":["hashtag1","hashtag2"]},{"1402176453":["hashtag1","hashtag2"]},{"1402176443":["hashtag1","hashtag2"]},{"1402176452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176445, 1402176448, 1402176450, 1402176453, 1402176443, 1402176452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22299242019653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:33:03.405377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/27/image_02012026_17_28_04_9816.jpg', '/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_15_10686.jpg', '/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_24_9585.jpg', '/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_34_9607.jpg', '/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_45_10564.jpg', '/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_54_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/27/image_02012026_17_28_04_9816.jpg
/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_15_10686.jpg
/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_24_9585.jpg
/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_34_9607.jpg
/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_45_10564.jpg
/home/pi/Desktop/images/02012026/17/28/image_02012026_17_28_54_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":["1402176612","1402176615","1402176609","1402176537","1402176491","1402176611"],"photo_ids_order":["1402176491","1402176537","1402176609","1402176611","1402176612","1402176615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22076049a61c21a1c07b1564cc845c90.jpg","text":"TemporaryFile(/tmp/multipartBody3958291124865299267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371644075,"filename":"image_02012026_17_28_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/2/60ac7446ed3b13668e041f906651cee4.jpg","text":"TemporaryFile(/tmp/multipartBody8118251869093310897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371644075,"filename":"image_02012026_17_28_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/2/1a1be861e4da2a438eea0f80834c419c.jpg","text":"TemporaryFile(/tmp/multipartBody5863323958564324121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371644075,"filename":"image_02012026_17_28_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/2/8cbecdc469039fc87a102a2ec3ac4c27.jpg","text":"TemporaryFile(/tmp/multipartBody4158570074561229501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371644075,"filename":"image_02012026_17_28_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/2/426bf52868f876d4c754408d2747347d.jpg","text":"TemporaryFile(/tmp/multipartBody6044745125030064521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371644075,"filename":"image_02012026_17_28_04_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/2/08d34aa06171145850350c136b4045d2.jpg","text":"TemporaryFile(/tmp/multipartBody5500020524363154718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371644075,"filename":"image_02012026_17_28_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176609","file1":"1402176537","file0":"1402176491","file4":"1402176612","file5":"1402176615","file3":"1402176611"},"map_files_photo_id_array":[{"photo_id":"1402176615","filename":"file5"},{"photo_id":"1402176609","filename":"file2"},{"photo_id":"1402176612","filename":"file4"},{"photo_id":"1402176537","filename":"file1"},{"photo_id":"1402176491","filename":"file0"},{"photo_id":"1402176611","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176612":["hashtag1","hashtag2"]},{"1402176615":["hashtag1","hashtag2"]},{"1402176609":["hashtag1","hashtag2"]},{"1402176537":["hashtag1","hashtag2"]},{"1402176491":["hashtag1","hashtag2"]},{"1402176611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176612, 1402176615, 1402176609, 1402176537, 1402176491, 1402176611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.230737924575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:33:42.709191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_33_3787.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_41_2732.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_45_3660.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_48_2685.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_51_3577.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_54_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_33_3787.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_41_2732.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_45_3660.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_48_2685.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_51_3577.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_54_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176627","1402176621","1402176624","1402176626","1402176629","1402176628"],"photo_ids_order":["1402176621","1402176624","1402176626","1402176627","1402176628","1402176629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb3d287871693dfb78a20989b5972284.jpg","text":"TemporaryFile(/tmp/multipartBody8759285681935454627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371684637,"filename":"image_05112025_19_47_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/2/8b3ae6480df8944e396f90f21538979c.jpg","text":"TemporaryFile(/tmp/multipartBody1322822215860432515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371684637,"filename":"image_05112025_19_47_33_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/2/1293488899db36543ae8d89f701c4ece.jpg","text":"TemporaryFile(/tmp/multipartBody1049393877339052342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371684637,"filename":"image_05112025_19_47_41_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/2/fe72f732703e7c5034656fbfabf3198d.jpg","text":"TemporaryFile(/tmp/multipartBody813128712132601998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371684637,"filename":"image_05112025_19_47_45_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/2/e7c36777e3de3e01370f3e88590dfc93.jpg","text":"TemporaryFile(/tmp/multipartBody8366582860340513609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371684637,"filename":"image_05112025_19_47_54_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/2/f0bd78d61bfd5a180765b8c7fe45b68e.jpg","text":"TemporaryFile(/tmp/multipartBody6054839595315404877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371684637,"filename":"image_05112025_19_47_51_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176626","file1":"1402176624","file0":"1402176621","file4":"1402176628","file5":"1402176629","file3":"1402176627"},"map_files_photo_id_array":[{"photo_id":"1402176629","filename":"file5"},{"photo_id":"1402176626","filename":"file2"},{"photo_id":"1402176628","filename":"file4"},{"photo_id":"1402176624","filename":"file1"},{"photo_id":"1402176621","filename":"file0"},{"photo_id":"1402176627","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176627":["hashtag1","hashtag2"]},{"1402176621":["hashtag1","hashtag2"]},{"1402176624":["hashtag1","hashtag2"]},{"1402176626":["hashtag1","hashtag2"]},{"1402176629":["hashtag1","hashtag2"]},{"1402176628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176627, 1402176621, 1402176624, 1402176626, 1402176629, 1402176628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6271014213562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:34:21.842778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/28/image_02012026_17_29_04_9710.jpg', '/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_15_10516.jpg', '/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_24_9670.jpg', '/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_35_10363.jpg', '/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_55_10647.jpg', '/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/28/image_02012026_17_29_04_9710.jpg
/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_15_10516.jpg
/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_24_9670.jpg
/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_35_10363.jpg
/home/pi/Desktop/images/02012026/17/29/image_02012026_17_29_55_10647.jpg
/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176642","1402176644","1402176638","1402176632","1402176635","1402176640"],"photo_ids_order":["1402176632","1402176635","1402176638","1402176640","1402176642","1402176644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/96e3c7b2d12d63a82dcd6b0c27f2a2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2892686976141836022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371722412,"filename":"image_02012026_17_29_55_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/2/f97e4cf5f86e3946fbcab8238beb77d2.jpg","text":"TemporaryFile(/tmp/multipartBody3833564202560984652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371722412,"filename":"image_02012026_17_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/2/9e1d9820a1b6bb6dce0f2b7d99a4326d.jpg","text":"TemporaryFile(/tmp/multipartBody8918809725951647689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371722412,"filename":"image_02012026_17_29_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/2/3a481adc2937e3cc0329374e0a87db2c.jpg","text":"TemporaryFile(/tmp/multipartBody7456681226079109494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371722412,"filename":"image_02012026_17_29_04_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/2/c540c957017df08b4f5c684fa2678db0.jpg","text":"TemporaryFile(/tmp/multipartBody2026856886669066316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371722412,"filename":"image_02012026_17_29_15_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c3cdead8bd0ede646580f23ac05c828a.jpg","text":"TemporaryFile(/tmp/multipartBody5005314318862392891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371722412,"filename":"image_02012026_17_29_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176638","file1":"1402176635","file0":"1402176632","file4":"1402176642","file5":"1402176644","file3":"1402176640"},"map_files_photo_id_array":[{"photo_id":"1402176644","filename":"file5"},{"photo_id":"1402176638","filename":"file2"},{"photo_id":"1402176642","filename":"file4"},{"photo_id":"1402176635","filename":"file1"},{"photo_id":"1402176632","filename":"file0"},{"photo_id":"1402176640","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176642":["hashtag1","hashtag2"]},{"1402176644":["hashtag1","hashtag2"]},{"1402176638":["hashtag1","hashtag2"]},{"1402176632":["hashtag1","hashtag2"]},{"1402176635":["hashtag1","hashtag2"]},{"1402176640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176642, 1402176644, 1402176638, 1402176632, 1402176635, 1402176640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.163585901260376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:35:02.839410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_25_10578.jpg', '/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_35_9731.jpg', '/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_44_9883.jpg', '/home/pi/Desktop/images/02012026/17/30/image_02012026_17_31_05_9746.jpg', '/home/pi/Desktop/images/02012026/17/31/image_02012026_17_31_14_9659.jpg', '/home/pi/Desktop/images/02012026/17/31/image_02012026_17_31_25_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_25_10578.jpg
/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_35_9731.jpg
/home/pi/Desktop/images/02012026/17/30/image_02012026_17_30_44_9883.jpg
/home/pi/Desktop/images/02012026/17/30/image_02012026_17_31_05_9746.jpg
/home/pi/Desktop/images/02012026/17/31/image_02012026_17_31_14_9659.jpg
/home/pi/Desktop/images/02012026/17/31/image_02012026_17_31_25_10543.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":["1402176657","1402176660","1402176654","1402176662","1402176652","1402176655"],"photo_ids_order":["1402176652","1402176654","1402176655","1402176657","1402176660","1402176662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef4c3dc7fc8c016593aa290b1e0d8beb.jpg","text":"TemporaryFile(/tmp/multipartBody7079763072967870243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371763455,"filename":"image_02012026_17_31_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/2/8823d66233781dc5ce23162ba26ec9da.jpg","text":"TemporaryFile(/tmp/multipartBody3566353666907761064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371763455,"filename":"image_02012026_17_31_14_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/2/e833a7ad429c9821d96d88944f1a4f05.jpg","text":"TemporaryFile(/tmp/multipartBody6975393171174516267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371763455,"filename":"image_02012026_17_30_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/2/b888930729d4a6b25f62aaf9822a156e.jpg","text":"TemporaryFile(/tmp/multipartBody7159487486247089846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371763455,"filename":"image_02012026_17_31_25_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/2/b55a144a6d0b1b7362b81706bc7a5dd7.jpg","text":"TemporaryFile(/tmp/multipartBody8554912773543532117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371763455,"filename":"image_02012026_17_30_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/2/976fc20e8acb0429101242f0d92bb147.jpg","text":"TemporaryFile(/tmp/multipartBody6271018651728970454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371763455,"filename":"image_02012026_17_30_44_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176655","file1":"1402176654","file0":"1402176652","file4":"1402176660","file5":"1402176662","file3":"1402176657"},"map_files_photo_id_array":[{"photo_id":"1402176662","filename":"file5"},{"photo_id":"1402176655","filename":"file2"},{"photo_id":"1402176660","filename":"file4"},{"photo_id":"1402176654","filename":"file1"},{"photo_id":"1402176652","filename":"file0"},{"photo_id":"1402176657","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176657":["hashtag1","hashtag2"]},{"1402176660":["hashtag1","hashtag2"]},{"1402176654":["hashtag1","hashtag2"]},{"1402176662":["hashtag1","hashtag2"]},{"1402176652":["hashtag1","hashtag2"]},{"1402176655":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176657, 1402176660, 1402176654, 1402176662, 1402176652, 1402176655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11529493331909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:36:02.819387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/31/image_02012026_17_32_05_10651.jpg', '/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_15_9807.jpg', '/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_24_9694.jpg', '/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_35_10592.jpg', '/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_45_9642.jpg', '/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_55_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/31/image_02012026_17_32_05_10651.jpg
/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_15_9807.jpg
/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_24_9694.jpg
/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_35_10592.jpg
/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_45_9642.jpg
/home/pi/Desktop/images/02012026/17/32/image_02012026_17_32_55_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":["1402176672","1402176669","1402176674","1402176668","1402176671","1402176667"],"photo_ids_order":["1402176667","1402176668","1402176669","1402176671","1402176672","1402176674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd4ab32a7043e24f2ce36111af42d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody5926378425005396643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371823431,"filename":"image_02012026_17_32_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/2/5c57f086fcccbf0a4ea2a3a658d1b7cf.jpg","text":"TemporaryFile(/tmp/multipartBody8953827396318124451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371823431,"filename":"image_02012026_17_32_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/2/e64ff00c284887d74868fe67be0deae8.jpg","text":"TemporaryFile(/tmp/multipartBody2742926458209647085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371823431,"filename":"image_02012026_17_32_55_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/2/dd1aaceea68c25a91a538df3f332bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody2842055750486677706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371823431,"filename":"image_02012026_17_32_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/2/e953bbb8540892e2ca5ce6ba9acd9803.jpg","text":"TemporaryFile(/tmp/multipartBody2685716125888900906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371823431,"filename":"image_02012026_17_32_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/2/6afd968d88079c079cc76df9de367e7c.jpg","text":"TemporaryFile(/tmp/multipartBody663843334760420410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371823431,"filename":"image_02012026_17_32_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176669","file1":"1402176668","file0":"1402176667","file4":"1402176672","file5":"1402176674","file3":"1402176671"},"map_files_photo_id_array":[{"photo_id":"1402176674","filename":"file5"},{"photo_id":"1402176669","filename":"file2"},{"photo_id":"1402176672","filename":"file4"},{"photo_id":"1402176668","filename":"file1"},{"photo_id":"1402176667","filename":"file0"},{"photo_id":"1402176671","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176672":["hashtag1","hashtag2"]},{"1402176669":["hashtag1","hashtag2"]},{"1402176674":["hashtag1","hashtag2"]},{"1402176668":["hashtag1","hashtag2"]},{"1402176671":["hashtag1","hashtag2"]},{"1402176667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176672, 1402176669, 1402176674, 1402176668, 1402176671, 1402176667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50004696846008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:36:42.421290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_57_2684.jpg', '/home/pi/Desktop/images/05112025/19/47/image_05112025_19_48_00_3561.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_03_2684.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_06_2573.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_08_2889.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_12_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_47_57_2684.jpg
/home/pi/Desktop/images/05112025/19/47/image_05112025_19_48_00_3561.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_03_2684.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_06_2573.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_08_2889.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_12_3724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176699","1402176690","1402176708","1402176686","1402176689","1402176691"],"photo_ids_order":["1402176686","1402176689","1402176690","1402176691","1402176699","1402176708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/25b4ece4932ca30d2a64d52365f5423c.jpg","text":"TemporaryFile(/tmp/multipartBody2814851511648676212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371864302,"filename":"image_05112025_19_48_08_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/2/b3dab4136b69bd55cef2170c6e8cf14d.jpg","text":"TemporaryFile(/tmp/multipartBody778767241886077319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371864302,"filename":"image_05112025_19_48_03_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/2/3241628d1dc8774cc06a320205ba5e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6978627883977333999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371864302,"filename":"image_05112025_19_48_12_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/2/2f5a845cbb31e4cd2fe060780ab2dc07.jpg","text":"TemporaryFile(/tmp/multipartBody1981777174325110783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371864302,"filename":"image_05112025_19_47_57_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/2/74c531d2a17b65d6ecf3c699c384cf11.jpg","text":"TemporaryFile(/tmp/multipartBody6761755880810270783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371864302,"filename":"image_05112025_19_48_00_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/2/c2667371ba58ed59483c4d89486af910.jpg","text":"TemporaryFile(/tmp/multipartBody8093085878136837746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371864302,"filename":"image_05112025_19_48_06_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176690","file1":"1402176689","file0":"1402176686","file4":"1402176699","file5":"1402176708","file3":"1402176691"},"map_files_photo_id_array":[{"photo_id":"1402176708","filename":"file5"},{"photo_id":"1402176690","filename":"file2"},{"photo_id":"1402176699","filename":"file4"},{"photo_id":"1402176689","filename":"file1"},{"photo_id":"1402176686","filename":"file0"},{"photo_id":"1402176691","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176699":["hashtag1","hashtag2"]},{"1402176690":["hashtag1","hashtag2"]},{"1402176708":["hashtag1","hashtag2"]},{"1402176686":["hashtag1","hashtag2"]},{"1402176689":["hashtag1","hashtag2"]},{"1402176691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176699, 1402176690, 1402176708, 1402176686, 1402176689, 1402176691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46504092216492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:37:22.650091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/32/image_02012026_17_33_05_9690.jpg', '/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_14_9518.jpg', '/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_25_10662.jpg', '/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_35_9631.jpg', '/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_44_9585.jpg', '/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_55_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/32/image_02012026_17_33_05_9690.jpg
/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_14_9518.jpg
/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_25_10662.jpg
/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_35_9631.jpg
/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_44_9585.jpg
/home/pi/Desktop/images/02012026/17/33/image_02012026_17_33_55_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":["1402176712","1402176720","1402176717","1402176710","1402176713","1402176716"],"photo_ids_order":["1402176710","1402176712","1402176713","1402176716","1402176717","1402176720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfca94fc293b334dce73579a3f464562.jpg","text":"TemporaryFile(/tmp/multipartBody4864537875587056833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371903254,"filename":"image_02012026_17_33_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/2/e16c0ecea37a84ffc6f1fe49e31bbd09.jpg","text":"TemporaryFile(/tmp/multipartBody2777673720646391077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371903254,"filename":"image_02012026_17_33_55_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/2/e870427f121fd44dfdf1b0d6d7554f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6282940945672246189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371903254,"filename":"image_02012026_17_33_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/2/6b58d1b976d92870784702811da32d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6139303280426896027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371903254,"filename":"image_02012026_17_33_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/2/a16f2b6f3833694d28b731c64be70db9.jpg","text":"TemporaryFile(/tmp/multipartBody4401641676098025380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371903254,"filename":"image_02012026_17_33_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/2/5d80d1730928fbb1e4aefaf8d0900a46.jpg","text":"TemporaryFile(/tmp/multipartBody3023568545229758458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371903254,"filename":"image_02012026_17_33_35_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176713","file1":"1402176712","file0":"1402176710","file4":"1402176717","file5":"1402176720","file3":"1402176716"},"map_files_photo_id_array":[{"photo_id":"1402176720","filename":"file5"},{"photo_id":"1402176713","filename":"file2"},{"photo_id":"1402176717","filename":"file4"},{"photo_id":"1402176712","filename":"file1"},{"photo_id":"1402176710","filename":"file0"},{"photo_id":"1402176716","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176712":["hashtag1","hashtag2"]},{"1402176720":["hashtag1","hashtag2"]},{"1402176717":["hashtag1","hashtag2"]},{"1402176710":["hashtag1","hashtag2"]},{"1402176713":["hashtag1","hashtag2"]},{"1402176716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176712, 1402176720, 1402176717, 1402176710, 1402176713, 1402176716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89373326301575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:38:02.293698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_15_10672.jpg', '/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_25_9598.jpg', '/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_34_9651.jpg', '/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_45_10696.jpg', '/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_55_9787.jpg', '/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_13_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_15_10672.jpg
/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_25_9598.jpg
/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_34_9651.jpg
/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_45_10696.jpg
/home/pi/Desktop/images/02012026/17/34/image_02012026_17_34_55_9787.jpg
/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_13_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176721","1402176724","1402176726","1402176722","1402176725","1402176728"],"photo_ids_order":["1402176721","1402176722","1402176724","1402176725","1402176726","1402176728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a8a9620cd13fc16b7cb85314e7188bf.jpg","text":"TemporaryFile(/tmp/multipartBody9055617689501052059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371942897,"filename":"image_02012026_17_34_15_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/2/b012ac54642ebc233322346c5306e7b4.jpg","text":"TemporaryFile(/tmp/multipartBody6545766230657089231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371942897,"filename":"image_02012026_17_34_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/2/8f7a31fcc44a35580fd3c66473a1fb12.jpg","text":"TemporaryFile(/tmp/multipartBody6993597593035892769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371942897,"filename":"image_02012026_17_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/2/5b9c4f280dfbc62f3668704f7bb70316.jpg","text":"TemporaryFile(/tmp/multipartBody1339026937373055168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371942897,"filename":"image_02012026_17_34_25_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/2/12aa19c846b3da44cc9637b497d68d10.jpg","text":"TemporaryFile(/tmp/multipartBody3791911231298314251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371942897,"filename":"image_02012026_17_34_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/2/d68c997a9aa47de8da43ff6f2f8b01b8.jpg","text":"TemporaryFile(/tmp/multipartBody7713014881847867522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371942897,"filename":"image_02012026_17_35_13_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176724","file1":"1402176722","file0":"1402176721","file4":"1402176726","file5":"1402176728","file3":"1402176725"},"map_files_photo_id_array":[{"photo_id":"1402176728","filename":"file5"},{"photo_id":"1402176724","filename":"file2"},{"photo_id":"1402176726","filename":"file4"},{"photo_id":"1402176722","filename":"file1"},{"photo_id":"1402176721","filename":"file0"},{"photo_id":"1402176725","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176721":["hashtag1","hashtag2"]},{"1402176724":["hashtag1","hashtag2"]},{"1402176726":["hashtag1","hashtag2"]},{"1402176722":["hashtag1","hashtag2"]},{"1402176725":["hashtag1","hashtag2"]},{"1402176728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176721, 1402176724, 1402176726, 1402176722, 1402176725, 1402176728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98065948486328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:38:41.914928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_18_2703.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_21_3682.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_24_2940.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_36_2749.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_39_2753.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_42_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_18_2703.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_21_3682.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_24_2940.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_36_2749.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_39_2753.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_42_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176736","1402176777","1402176765","1402176738","1402176779","1402176778"],"photo_ids_order":["1402176736","1402176738","1402176765","1402176777","1402176778","1402176779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/56ecd499bf3c34b2c2e0c68f134606f0.jpg","text":"TemporaryFile(/tmp/multipartBody519022334183534725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371983859,"filename":"image_05112025_19_48_18_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/2/38bc63fe8ac4afce5b124775e3cd5fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5676081949282528357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371983859,"filename":"image_05112025_19_48_36_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/2/8ac01ad072f6704605d53111b7d03276.jpg","text":"TemporaryFile(/tmp/multipartBody6821686957897967274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371983859,"filename":"image_05112025_19_48_24_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/2/be761ea09eb8ef67da3bd6162719a84d.jpg","text":"TemporaryFile(/tmp/multipartBody7823415414243422228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371983859,"filename":"image_05112025_19_48_21_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/203800346c9e583d536cd7e2612a79ac.jpg","text":"TemporaryFile(/tmp/multipartBody8045362863441286964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371983859,"filename":"image_05112025_19_48_42_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/2/323bff0218d2f83bda8868b15351349c.jpg","text":"TemporaryFile(/tmp/multipartBody779475982372786241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767371983859,"filename":"image_05112025_19_48_39_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176765","file1":"1402176738","file0":"1402176736","file4":"1402176778","file5":"1402176779","file3":"1402176777"},"map_files_photo_id_array":[{"photo_id":"1402176779","filename":"file5"},{"photo_id":"1402176765","filename":"file2"},{"photo_id":"1402176778","filename":"file4"},{"photo_id":"1402176738","filename":"file1"},{"photo_id":"1402176736","filename":"file0"},{"photo_id":"1402176777","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176736":["hashtag1","hashtag2"]},{"1402176777":["hashtag1","hashtag2"]},{"1402176765":["hashtag1","hashtag2"]},{"1402176738":["hashtag1","hashtag2"]},{"1402176779":["hashtag1","hashtag2"]},{"1402176778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176736, 1402176777, 1402176765, 1402176738, 1402176779, 1402176778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7502658367157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:39:22.111396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_24_10646.jpg', '/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_34_9575.jpg', '/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_43_9810.jpg', '/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_54_10680.jpg', '/home/pi/Desktop/images/02012026/17/35/image_02012026_17_36_04_9598.jpg', '/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_14_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_24_10646.jpg
/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_34_9575.jpg
/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_43_9810.jpg
/home/pi/Desktop/images/02012026/17/35/image_02012026_17_35_54_10680.jpg
/home/pi/Desktop/images/02012026/17/35/image_02012026_17_36_04_9598.jpg
/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_14_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":["1402176792","1402176789","1402176780","1402176786","1402176782","1402176784"],"photo_ids_order":["1402176780","1402176782","1402176784","1402176786","1402176789","1402176792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c3d28b58e72ba59efc6b4ae4c23ff08.jpg","text":"TemporaryFile(/tmp/multipartBody2133067644613793707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372022663,"filename":"image_02012026_17_36_14_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/2/e54aeda167af38480f8b88556d83bf7a.jpg","text":"TemporaryFile(/tmp/multipartBody5972381905666998558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372022663,"filename":"image_02012026_17_36_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/2/70a6f0319f90bae59995a814ee177f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4310898101500472708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372022663,"filename":"image_02012026_17_35_24_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/2/2b9a9a1e51fd56c33fe0e59e72206bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6737931394154590545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372022663,"filename":"image_02012026_17_35_54_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/2/9a7969bee0c4d85236b53ee95d322382.jpg","text":"TemporaryFile(/tmp/multipartBody9014464982629391000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372022663,"filename":"image_02012026_17_35_34_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/2/99e7d0f3d840e7c91c19d0559ede6f02.jpg","text":"TemporaryFile(/tmp/multipartBody7093736485387979766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372022663,"filename":"image_02012026_17_35_43_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176784","file1":"1402176782","file0":"1402176780","file4":"1402176789","file5":"1402176792","file3":"1402176786"},"map_files_photo_id_array":[{"photo_id":"1402176792","filename":"file5"},{"photo_id":"1402176784","filename":"file2"},{"photo_id":"1402176789","filename":"file4"},{"photo_id":"1402176782","filename":"file1"},{"photo_id":"1402176780","filename":"file0"},{"photo_id":"1402176786","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176792":["hashtag1","hashtag2"]},{"1402176789":["hashtag1","hashtag2"]},{"1402176780":["hashtag1","hashtag2"]},{"1402176786":["hashtag1","hashtag2"]},{"1402176782":["hashtag1","hashtag2"]},{"1402176784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176792, 1402176789, 1402176780, 1402176786, 1402176782, 1402176784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81945300102234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:40:02.706760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_23_9788.jpg', '/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_34_10706.jpg', '/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_44_9600.jpg', '/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_53_9674.jpg', '/home/pi/Desktop/images/02012026/17/37/image_02012026_17_37_24_9701.jpg', '/home/pi/Desktop/images/02012026/17/37/image_02012026_17_37_34_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_23_9788.jpg
/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_34_10706.jpg
/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_44_9600.jpg
/home/pi/Desktop/images/02012026/17/36/image_02012026_17_36_53_9674.jpg
/home/pi/Desktop/images/02012026/17/37/image_02012026_17_37_24_9701.jpg
/home/pi/Desktop/images/02012026/17/37/image_02012026_17_37_34_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":["1402176795","1402176798","1402176801","1402176794","1402176796","1402176793"],"photo_ids_order":["1402176793","1402176794","1402176795","1402176796","1402176798","1402176801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a657246d54b9b3af2af39765f0af69ef.jpg","text":"TemporaryFile(/tmp/multipartBody4518725504800117255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372063285,"filename":"image_02012026_17_36_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/2/3d6b1bab5acd852b4b4d69ab5f389ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2239433398585937659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372063285,"filename":"image_02012026_17_37_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/2/df3988bafc3a879f350674e07af535bb.jpg","text":"TemporaryFile(/tmp/multipartBody1188939562386673501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372063285,"filename":"image_02012026_17_37_34_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/2/c14db366349fe79e9965e3da0f241ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7411175382954428741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372063285,"filename":"image_02012026_17_36_34_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/2/8b4473ebc77b2d998567ee90c41ed28c.jpg","text":"TemporaryFile(/tmp/multipartBody770418916333966652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372063285,"filename":"image_02012026_17_36_53_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/2/206b167272f187a972752202ca81e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody364727031712751759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372063285,"filename":"image_02012026_17_36_23_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176795","file1":"1402176794","file0":"1402176793","file4":"1402176798","file5":"1402176801","file3":"1402176796"},"map_files_photo_id_array":[{"photo_id":"1402176801","filename":"file5"},{"photo_id":"1402176795","filename":"file2"},{"photo_id":"1402176798","filename":"file4"},{"photo_id":"1402176794","filename":"file1"},{"photo_id":"1402176793","filename":"file0"},{"photo_id":"1402176796","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176795":["hashtag1","hashtag2"]},{"1402176798":["hashtag1","hashtag2"]},{"1402176801":["hashtag1","hashtag2"]},{"1402176794":["hashtag1","hashtag2"]},{"1402176796":["hashtag1","hashtag2"]},{"1402176793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176795, 1402176798, 1402176801, 1402176794, 1402176796, 1402176793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19688606262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:40:42.236604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_45_2796.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_48_2588.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_51_3657.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_54_2614.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_57_2773.jpg', '/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_59_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_45_2796.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_48_2588.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_51_3657.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_54_2614.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_57_2773.jpg
/home/pi/Desktop/images/05112025/19/48/image_05112025_19_48_59_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176817","1402176819","1402176816","1402176815","1402176818","1402176812"],"photo_ids_order":["1402176812","1402176815","1402176816","1402176817","1402176818","1402176819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf91f9442751247b1e4ef4f6f700e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody303329651519768025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372104040,"filename":"image_05112025_19_48_54_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/2/9f0a197c2cc9b8a6db8c93604fccb4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1063824382455379760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372104040,"filename":"image_05112025_19_48_59_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/2/0fea4dbe9fc26fc24d731218aee36b21.jpg","text":"TemporaryFile(/tmp/multipartBody272263131956138406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372104040,"filename":"image_05112025_19_48_51_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/2/fe015b9bd0f9937639525b051bf159ac.jpg","text":"TemporaryFile(/tmp/multipartBody4823931173094023665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372104040,"filename":"image_05112025_19_48_48_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/2/c983ab70e469337603389fa8262948e9.jpg","text":"TemporaryFile(/tmp/multipartBody5152476201646804305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372104040,"filename":"image_05112025_19_48_57_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/2/94c3ca74f5f9023a0ee1b20ee4a3ae83.jpg","text":"TemporaryFile(/tmp/multipartBody4490004863081317487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372104040,"filename":"image_05112025_19_48_45_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176816","file1":"1402176815","file0":"1402176812","file4":"1402176818","file5":"1402176819","file3":"1402176817"},"map_files_photo_id_array":[{"photo_id":"1402176819","filename":"file5"},{"photo_id":"1402176816","filename":"file2"},{"photo_id":"1402176818","filename":"file4"},{"photo_id":"1402176815","filename":"file1"},{"photo_id":"1402176812","filename":"file0"},{"photo_id":"1402176817","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176817":["hashtag1","hashtag2"]},{"1402176819":["hashtag1","hashtag2"]},{"1402176816":["hashtag1","hashtag2"]},{"1402176815":["hashtag1","hashtag2"]},{"1402176818":["hashtag1","hashtag2"]},{"1402176812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176817, 1402176819, 1402176816, 1402176815, 1402176818, 1402176812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00154519081116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:41:22.483703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_23_9644.jpg', '/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_34_10655.jpg', '/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_44_9654.jpg', '/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_53_9659.jpg', '/home/pi/Desktop/images/02012026/17/39/image_02012026_17_39_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_23_9644.jpg
/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_34_10655.jpg
/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_44_9654.jpg
/home/pi/Desktop/images/02012026/17/38/image_02012026_17_38_53_9659.jpg
/home/pi/Desktop/images/02012026/17/39/image_02012026_17_39_44_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":["1402176820","1402176825","1402176828","1402176822","1402176827"],"photo_ids_order":["1402176820","1402176822","1402176825","1402176827","1402176828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65f05d6847371ac683eaf8890238faa8.jpg","text":"TemporaryFile(/tmp/multipartBody6088040482120090643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372142985,"filename":"image_02012026_17_38_23_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/2/ea19f9599794a544e5b72762dfb1aa3f.jpg","text":"TemporaryFile(/tmp/multipartBody42424283194513073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372142985,"filename":"image_02012026_17_38_44_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/2/bb9b170902cfa66c132aa91a1d738903.jpg","text":"TemporaryFile(/tmp/multipartBody1272325729487175318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372142985,"filename":"image_02012026_17_39_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a1ab9aa4a22da828c4c86c0ed184ada.jpg","text":"TemporaryFile(/tmp/multipartBody1287500961279452366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372142985,"filename":"image_02012026_17_38_34_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/2/f54458d92df737ff6f76591412d14f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3221131861416728683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372142985,"filename":"image_02012026_17_38_53_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176825","file1":"1402176822","file0":"1402176820","file4":"1402176828","file3":"1402176827"},"map_files_photo_id_array":[{"photo_id":"1402176825","filename":"file2"},{"photo_id":"1402176828","filename":"file4"},{"photo_id":"1402176822","filename":"file1"},{"photo_id":"1402176820","filename":"file0"},{"photo_id":"1402176827","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176820":["hashtag1","hashtag2"]},{"1402176825":["hashtag1","hashtag2"]},{"1402176828":["hashtag1","hashtag2"]},{"1402176822":["hashtag1","hashtag2"]},{"1402176827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176820, 1402176825, 1402176828, 1402176822, 1402176827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.701186180114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:42:03.051489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_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/11/image_30122025_23_11_44_9704.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_54_9598.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_12_05_10762.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_14_9727.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_24_9803.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_34_9697.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/11/image_30122025_23_11_44_9704.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_54_9598.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_12_05_10762.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_14_9727.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_24_9803.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_34_9697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.913658857345581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:42:12.687183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_03_3818.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_06_2652.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_08_2624.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_11_2798.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_15_3626.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_21_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_03_3818.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_06_2652.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_08_2624.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_11_2798.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_15_3626.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_21_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176841","1402176835","1402176843","1402176837","1402176845","1402176839"],"photo_ids_order":["1402176835","1402176837","1402176839","1402176841","1402176843","1402176845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/659d66b32a62d2edab608ef46ae244f2.jpg","text":"TemporaryFile(/tmp/multipartBody1337891333881294299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372194532,"filename":"image_05112025_19_49_11_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/2/56fbd0d76567b97b06999ef7a7ffd2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2511018784287039873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372194532,"filename":"image_05112025_19_49_03_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1d9735729deb4955fcea1ad65aa2a3a5.jpg","text":"TemporaryFile(/tmp/multipartBody1605157026456772265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372194532,"filename":"image_05112025_19_49_15_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/2/a00a777079ff7a34fafad7dc0879e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6655165712798226989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372194532,"filename":"image_05112025_19_49_06_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/2/dc4d1a0381875c98bd9c7e50187cdcf9.jpg","text":"TemporaryFile(/tmp/multipartBody837083220907183657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372194532,"filename":"image_05112025_19_49_21_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/2/06dab79d2a3cfa34957e172f2a31f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3223880727404611169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372194532,"filename":"image_05112025_19_49_08_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176839","file1":"1402176837","file0":"1402176835","file4":"1402176843","file5":"1402176845","file3":"1402176841"},"map_files_photo_id_array":[{"photo_id":"1402176845","filename":"file5"},{"photo_id":"1402176839","filename":"file2"},{"photo_id":"1402176843","filename":"file4"},{"photo_id":"1402176837","filename":"file1"},{"photo_id":"1402176835","filename":"file0"},{"photo_id":"1402176841","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176841":["hashtag1","hashtag2"]},{"1402176835":["hashtag1","hashtag2"]},{"1402176843":["hashtag1","hashtag2"]},{"1402176837":["hashtag1","hashtag2"]},{"1402176845":["hashtag1","hashtag2"]},{"1402176839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176841, 1402176835, 1402176843, 1402176837, 1402176845, 1402176839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.671791791915894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:43:02.477976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/41/image_02012026_17_41_54_9639.jpg', '/home/pi/Desktop/images/02012026/17/42/image_02012026_17_42_14_10603.jpg', '/home/pi/Desktop/images/02012026/17/42/image_02012026_17_42_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/41/image_02012026_17_41_54_9639.jpg
/home/pi/Desktop/images/02012026/17/42/image_02012026_17_42_14_10603.jpg
/home/pi/Desktop/images/02012026/17/42/image_02012026_17_42_24_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":["1402176861","1402176863","1402176862"],"photo_ids_order":["1402176861","1402176862","1402176863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e49798386eeff5ae835ca71a7f46336d.jpg","text":"TemporaryFile(/tmp/multipartBody6607682927405239913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372245294,"filename":"image_02012026_17_41_54_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/2/7b253f6fc97f91fbf53df3bd7e129624.jpg","text":"TemporaryFile(/tmp/multipartBody9001001376974665691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372245294,"filename":"image_02012026_17_42_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/2/bc617625997c197f46cccfd7134d8ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7662207127862781344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372245294,"filename":"image_02012026_17_42_14_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176863","file1":"1402176862","file0":"1402176861"},"map_files_photo_id_array":[{"photo_id":"1402176863","filename":"file2"},{"photo_id":"1402176862","filename":"file1"},{"photo_id":"1402176861","filename":"file0"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176861":["hashtag1","hashtag2"]},{"1402176863":["hashtag1","hashtag2"]},{"1402176862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176861, 1402176863, 1402176862)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 30.68019723892212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:43:41.887586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_24_2637.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_26_2616.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_30_3839.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_36_2694.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_38_2593.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_45_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_24_2637.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_26_2616.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_30_3839.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_36_2694.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_38_2593.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_45_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
<Response [200]>
b'{"photo_ids":["1402176873","1402176870","1402176872","1402176875","1402176871","1402176874"],"photo_ids_order":["1402176870","1402176871","1402176872","1402176873","1402176874","1402176875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d54ea653399018f761dc142eb62775a8.jpg","text":"TemporaryFile(/tmp/multipartBody5955528480706656707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372283821,"filename":"image_05112025_19_49_36_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/2/9b0d607102359301e08b0d992055fb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3807882361988734243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372283821,"filename":"image_05112025_19_49_24_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/2/23b86b30e8f29eb1180096488c10c13a.jpg","text":"TemporaryFile(/tmp/multipartBody5609071798950953737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372283821,"filename":"image_05112025_19_49_30_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67eb6a828465d7cb06cb88d73d5d9924.jpg","text":"TemporaryFile(/tmp/multipartBody145756047277099979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372283821,"filename":"image_05112025_19_49_45_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/2/f2f8d8f27ad3e66a9e5cf784dda066ea.jpg","text":"TemporaryFile(/tmp/multipartBody1022202161012684338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372283821,"filename":"image_05112025_19_49_26_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/2/7850c7d6e4678448297e5712b8c32dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2148363426046289246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372283821,"filename":"image_05112025_19_49_38_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176872","file1":"1402176871","file0":"1402176870","file4":"1402176874","file5":"1402176875","file3":"1402176873"},"map_files_photo_id_array":[{"photo_id":"1402176875","filename":"file5"},{"photo_id":"1402176872","filename":"file2"},{"photo_id":"1402176874","filename":"file4"},{"photo_id":"1402176871","filename":"file1"},{"photo_id":"1402176870","filename":"file0"},{"photo_id":"1402176873","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176873":["hashtag1","hashtag2"]},{"1402176870":["hashtag1","hashtag2"]},{"1402176872":["hashtag1","hashtag2"]},{"1402176875":["hashtag1","hashtag2"]},{"1402176871":["hashtag1","hashtag2"]},{"1402176874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176873, 1402176870, 1402176872, 1402176875, 1402176871, 1402176874)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.692527055740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:44:32.110365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_47_2823.jpg', '/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_56_2640.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_06_3883.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_15_3560.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_20_2605.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_27_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_47_2823.jpg
/home/pi/Desktop/images/05112025/19/49/image_05112025_19_49_56_2640.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_06_3883.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_15_3560.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_20_2605.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_27_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176899","1402176881","1402176898","1402176883","1402176892","1402176886"],"photo_ids_order":["1402176881","1402176883","1402176886","1402176892","1402176898","1402176899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2878d1185c8555db672cec37029b51d1.jpg","text":"TemporaryFile(/tmp/multipartBody6210876248682493142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372333948,"filename":"image_05112025_19_50_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/2/693f9730fbd9cb1fdc25ddd5018e5fde.jpg","text":"TemporaryFile(/tmp/multipartBody6785672386784505898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372333948,"filename":"image_05112025_19_49_47_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/2/9c399fb8171f9c55247758a2a78fa692.jpg","text":"TemporaryFile(/tmp/multipartBody5407409977072716739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372333948,"filename":"image_05112025_19_50_20_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/2/339d570353601666eb4160c669578125.jpg","text":"TemporaryFile(/tmp/multipartBody2217423119628781251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372333948,"filename":"image_05112025_19_49_56_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/2/5bc5569df590c20e43627f16e14d4c34.jpg","text":"TemporaryFile(/tmp/multipartBody4397055085441478045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372333948,"filename":"image_05112025_19_50_15_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/2/4c03f7da76065d9ba42f3cbb8fd7b721.jpg","text":"TemporaryFile(/tmp/multipartBody828086815322931836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372333948,"filename":"image_05112025_19_50_06_3883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176886","file1":"1402176883","file0":"1402176881","file4":"1402176898","file5":"1402176899","file3":"1402176892"},"map_files_photo_id_array":[{"photo_id":"1402176899","filename":"file5"},{"photo_id":"1402176886","filename":"file2"},{"photo_id":"1402176898","filename":"file4"},{"photo_id":"1402176883","filename":"file1"},{"photo_id":"1402176881","filename":"file0"},{"photo_id":"1402176892","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176899":["hashtag1","hashtag2"]},{"1402176881":["hashtag1","hashtag2"]},{"1402176898":["hashtag1","hashtag2"]},{"1402176883":["hashtag1","hashtag2"]},{"1402176892":["hashtag1","hashtag2"]},{"1402176886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176899, 1402176881, 1402176898, 1402176883, 1402176892, 1402176886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.504690408706665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:45:12.272785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_29_2638.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_32_2870.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_39_2663.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_45_3723.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_50_2756.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_56_5379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_29_2638.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_32_2870.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_39_2663.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_45_3723.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_50_2756.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_56_5379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176907","1402176901","1402176909","1402176900","1402176903","1402176905"],"photo_ids_order":["1402176900","1402176901","1402176903","1402176905","1402176907","1402176909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ef493f08b5c71c782180a33790a9a22.jpg","text":"TemporaryFile(/tmp/multipartBody7198711214166640652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372374062,"filename":"image_05112025_19_50_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/2/7214c92b2312d33fa533a53440923148.jpg","text":"TemporaryFile(/tmp/multipartBody3238534587245395444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372374062,"filename":"image_05112025_19_50_32_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/2/018b7d75fe000745ec8790adb107cd17.jpg","text":"TemporaryFile(/tmp/multipartBody6436043485227620922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372374062,"filename":"image_05112025_19_50_56_5379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9315600107949a50aa2bb86e7abec977.jpg","text":"TemporaryFile(/tmp/multipartBody890103768377279293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372374062,"filename":"image_05112025_19_50_29_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/2/f6f2b711227d960338a6049ca54a6280.jpg","text":"TemporaryFile(/tmp/multipartBody4420577240496703668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372374062,"filename":"image_05112025_19_50_39_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/2/02fa7da38820740a06af51eb718cf22a.jpg","text":"TemporaryFile(/tmp/multipartBody2659094287465988647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372374062,"filename":"image_05112025_19_50_45_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176903","file1":"1402176901","file0":"1402176900","file4":"1402176907","file5":"1402176909","file3":"1402176905"},"map_files_photo_id_array":[{"photo_id":"1402176909","filename":"file5"},{"photo_id":"1402176903","filename":"file2"},{"photo_id":"1402176907","filename":"file4"},{"photo_id":"1402176901","filename":"file1"},{"photo_id":"1402176900","filename":"file0"},{"photo_id":"1402176905","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176907":["hashtag1","hashtag2"]},{"1402176901":["hashtag1","hashtag2"]},{"1402176909":["hashtag1","hashtag2"]},{"1402176900":["hashtag1","hashtag2"]},{"1402176903":["hashtag1","hashtag2"]},{"1402176905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176907, 1402176901, 1402176909, 1402176900, 1402176903, 1402176905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23449492454529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:46:03.235066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_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/11/image_30122025_23_11_44_9704.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_54_9598.jpg', '/home/pi/Desktop/images/30122025/23/11/image_30122025_23_12_05_10762.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_14_9727.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_24_9803.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_34_9697.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/11/image_30122025_23_11_44_9704.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_11_54_9598.jpg
/home/pi/Desktop/images/30122025/23/11/image_30122025_23_12_05_10762.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_14_9727.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_24_9803.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_34_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":["1402176913","1402176919","1402176912","1402176915","1402176917","1402176911"],"photo_ids_order":["1402176911","1402176912","1402176913","1402176915","1402176917","1402176919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfddf849a575b3b2391fc19a56c18f84.jpg","text":"TemporaryFile(/tmp/multipartBody8011503141022730285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372426782,"filename":"image_30122025_23_12_05_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/2/2ed4cc3a441e33b6633e1e59f8c24097.jpg","text":"TemporaryFile(/tmp/multipartBody9059573878550183300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372426782,"filename":"image_30122025_23_12_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/2/40bc05ddee2579d155c51e23c6b9a4be.jpg","text":"TemporaryFile(/tmp/multipartBody3038293771072901093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372426782,"filename":"image_30122025_23_11_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/2/00d9674e96092b42c9dbf37d9e8d126b.jpg","text":"TemporaryFile(/tmp/multipartBody4554560295382735367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372426782,"filename":"image_30122025_23_12_14_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/2/bf299ae1ad4f8890b00abe1827c830c0.jpg","text":"TemporaryFile(/tmp/multipartBody1021518304333319702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372426782,"filename":"image_30122025_23_12_24_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/2/fe7c9ccdc84b5c400a446b6c19443207.jpg","text":"TemporaryFile(/tmp/multipartBody100614556970582225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372426782,"filename":"image_30122025_23_11_44_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176913","file1":"1402176912","file0":"1402176911","file4":"1402176917","file5":"1402176919","file3":"1402176915"},"map_files_photo_id_array":[{"photo_id":"1402176919","filename":"file5"},{"photo_id":"1402176913","filename":"file2"},{"photo_id":"1402176917","filename":"file4"},{"photo_id":"1402176912","filename":"file1"},{"photo_id":"1402176911","filename":"file0"},{"photo_id":"1402176915","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1402176913":["hashtag1","hashtag2"]},{"1402176919":["hashtag1","hashtag2"]},{"1402176912":["hashtag1","hashtag2"]},{"1402176915":["hashtag1","hashtag2"]},{"1402176917":["hashtag1","hashtag2"]},{"1402176911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1402176913, 1402176919, 1402176912, 1402176915, 1402176917, 1402176911)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.19933891296387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:47:04.174777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 17:47:12.608012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 17:47:22.618554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/42/image_02012026_17_42_54_9789.jpg', '/home/pi/Desktop/images/02012026/17/46/image_02012026_17_46_34_9930.jpg', '/home/pi/Desktop/images/02012026/17/46/image_02012026_17_46_44_9655.jpg', '/home/pi/Desktop/images/02012026/17/46/image_02012026_17_46_54_10354.jpg', '/home/pi/Desktop/images/02012026/17/46/image_02012026_17_47_04_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/42/image_02012026_17_42_54_9789.jpg
/home/pi/Desktop/images/02012026/17/46/image_02012026_17_46_34_9930.jpg
/home/pi/Desktop/images/02012026/17/46/image_02012026_17_46_44_9655.jpg
/home/pi/Desktop/images/02012026/17/46/image_02012026_17_46_54_10354.jpg
/home/pi/Desktop/images/02012026/17/46/image_02012026_17_47_04_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176933","1402176927","1402176935","1402176929","1402176931"],"photo_ids_order":["1402176927","1402176929","1402176931","1402176933","1402176935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f91dfcbf8cd69a4fda053ef9999c373d.jpg","text":"TemporaryFile(/tmp/multipartBody2348713330798000144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372504191,"filename":"image_02012026_17_46_54_10354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b7598aaac2fc0371046db858b23c5898.jpg","text":"TemporaryFile(/tmp/multipartBody8328506845786039134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372504191,"filename":"image_02012026_17_42_54_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/2/977a6b0aec5011b5e2b6ef3c139176a8.jpg","text":"TemporaryFile(/tmp/multipartBody8892520129806434969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372504191,"filename":"image_02012026_17_47_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/2/3e470014664f3736e81728bf4afeabd8.jpg","text":"TemporaryFile(/tmp/multipartBody827306674993583700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372504191,"filename":"image_02012026_17_46_34_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb86d58723aaf7d06ad5fbc5f5e2b4ce.jpg","text":"TemporaryFile(/tmp/multipartBody2341029741990419310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372504191,"filename":"image_02012026_17_46_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176931","file1":"1402176929","file0":"1402176927","file4":"1402176935","file3":"1402176933"},"map_files_photo_id_array":[{"photo_id":"1402176931","filename":"file2"},{"photo_id":"1402176935","filename":"file4"},{"photo_id":"1402176929","filename":"file1"},{"photo_id":"1402176927","filename":"file0"},{"photo_id":"1402176933","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176933":["hashtag1","hashtag2"]},{"1402176927":["hashtag1","hashtag2"]},{"1402176935":["hashtag1","hashtag2"]},{"1402176929":["hashtag1","hashtag2"]},{"1402176931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176933, 1402176927, 1402176935, 1402176929, 1402176931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.89575242996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:48:02.766152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_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/12/image_30122025_23_12_44_10560.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_54_9601.jpg', '/home/pi/Desktop/images/30122025/23/12/image_30122025_23_13_04_9771.jpg', '/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_14_10657.jpg', '/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_24_9803.jpg', '/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_34_9554.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/12/image_30122025_23_12_44_10560.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_12_54_9601.jpg
/home/pi/Desktop/images/30122025/23/12/image_30122025_23_13_04_9771.jpg
/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_14_10657.jpg
/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_24_9803.jpg
/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_34_9554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176960","1402176963","1402176965","1402176959","1402176961","1402176958"],"photo_ids_order":["1402176958","1402176959","1402176960","1402176961","1402176963","1402176965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/083ff0bc9a7381b55d8a383b337878da.jpg","text":"TemporaryFile(/tmp/multipartBody4412570181416010733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372546349,"filename":"image_30122025_23_13_04_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/2/2ec9b9ca457fa535b0abe1e8f756e9d3.jpg","text":"TemporaryFile(/tmp/multipartBody6411150573498247912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372546349,"filename":"image_30122025_23_13_24_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/2/86c9c08582c7551afd74214e69f504ec.jpg","text":"TemporaryFile(/tmp/multipartBody3075135393625024843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372546349,"filename":"image_30122025_23_13_34_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/2/d55d8d33da81f3f57e855b14504efe69.jpg","text":"TemporaryFile(/tmp/multipartBody5975557471667111979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372546349,"filename":"image_30122025_23_12_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/2/9b12392e3099f7c3bf7b30ea7abb2cca.jpg","text":"TemporaryFile(/tmp/multipartBody45107236561941035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372546349,"filename":"image_30122025_23_13_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/2/e3ff7f7dae9218152930bd662a4d9cdc.jpg","text":"TemporaryFile(/tmp/multipartBody268517440229724870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372546349,"filename":"image_30122025_23_12_44_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176960","file1":"1402176959","file0":"1402176958","file4":"1402176963","file5":"1402176965","file3":"1402176961"},"map_files_photo_id_array":[{"photo_id":"1402176965","filename":"file5"},{"photo_id":"1402176960","filename":"file2"},{"photo_id":"1402176963","filename":"file4"},{"photo_id":"1402176959","filename":"file1"},{"photo_id":"1402176958","filename":"file0"},{"photo_id":"1402176961","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1402176960":["hashtag1","hashtag2"]},{"1402176963":["hashtag1","hashtag2"]},{"1402176965":["hashtag1","hashtag2"]},{"1402176959":["hashtag1","hashtag2"]},{"1402176961":["hashtag1","hashtag2"]},{"1402176958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1402176960, 1402176963, 1402176965, 1402176959, 1402176961, 1402176958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.957515716552734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:48:42.362009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_59_2981.jpg', '/home/pi/Desktop/images/05112025/19/50/image_05112025_19_51_00_1645.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_05_4258.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_19_13010.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_22_3069.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_24_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_50_59_2981.jpg
/home/pi/Desktop/images/05112025/19/50/image_05112025_19_51_00_1645.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_05_4258.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_19_13010.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_22_3069.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_24_1821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176972","1402176978","1402176977","1402176976","1402176979","1402176973"],"photo_ids_order":["1402176972","1402176973","1402176976","1402176977","1402176978","1402176979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29a42c1e0bd9068f0ac8e930a2e680d4.jpg","text":"TemporaryFile(/tmp/multipartBody2653108646512614840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372584122,"filename":"image_05112025_19_50_59_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/2/771d56f801053001659bc99e88db713c.jpg","text":"TemporaryFile(/tmp/multipartBody7345215287543280305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372584122,"filename":"image_05112025_19_51_22_3069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8141e66af8507c0f4313b217a47cf26e.jpg","text":"TemporaryFile(/tmp/multipartBody9100916533756912739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372584122,"filename":"image_05112025_19_51_19_13010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f07745c82f984b3abc5f588b1599f28a.jpg","text":"TemporaryFile(/tmp/multipartBody6506589282450230144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372584122,"filename":"image_05112025_19_51_05_4258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/13075c03d76fa5b23481d526e2404d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1631459514649264233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372584122,"filename":"image_05112025_19_51_24_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/2/2307af74b87b8d6caed8e2b0e0207704.jpg","text":"TemporaryFile(/tmp/multipartBody1151473591196218873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372584122,"filename":"image_05112025_19_51_00_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176976","file1":"1402176973","file0":"1402176972","file4":"1402176978","file5":"1402176979","file3":"1402176977"},"map_files_photo_id_array":[{"photo_id":"1402176979","filename":"file5"},{"photo_id":"1402176976","filename":"file2"},{"photo_id":"1402176978","filename":"file4"},{"photo_id":"1402176973","filename":"file1"},{"photo_id":"1402176972","filename":"file0"},{"photo_id":"1402176977","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402176972":["hashtag1","hashtag2"]},{"1402176978":["hashtag1","hashtag2"]},{"1402176977":["hashtag1","hashtag2"]},{"1402176976":["hashtag1","hashtag2"]},{"1402176979":["hashtag1","hashtag2"]},{"1402176973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402176972, 1402176978, 1402176977, 1402176976, 1402176979, 1402176973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17062425613403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:49:22.566004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/47/image_02012026_17_47_54_9798.jpg', '/home/pi/Desktop/images/02012026/17/48/image_02012026_17_48_24_9745.jpg', '/home/pi/Desktop/images/02012026/17/48/image_02012026_17_49_05_10735.jpg', '/home/pi/Desktop/images/02012026/17/49/image_02012026_17_49_14_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/47/image_02012026_17_47_54_9798.jpg
/home/pi/Desktop/images/02012026/17/48/image_02012026_17_48_24_9745.jpg
/home/pi/Desktop/images/02012026/17/48/image_02012026_17_49_05_10735.jpg
/home/pi/Desktop/images/02012026/17/49/image_02012026_17_49_14_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402176986","1402176989","1402176980","1402176982"],"photo_ids_order":["1402176980","1402176982","1402176986","1402176989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/121981f93565362129e53743cc5e7f36.jpg","text":"TemporaryFile(/tmp/multipartBody4890251893135009609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372623055,"filename":"image_02012026_17_49_05_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/2/564c4c78ed14088517a7f68e05f85326.jpg","text":"TemporaryFile(/tmp/multipartBody4834098096322483506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372623055,"filename":"image_02012026_17_49_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/2/a72f51cdb99fe3528a9418e5e37e8993.jpg","text":"TemporaryFile(/tmp/multipartBody7177552904846227178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372623055,"filename":"image_02012026_17_47_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/2/929ea5a8aa86c1f0825173c9fce785f4.jpg","text":"TemporaryFile(/tmp/multipartBody5337809570711087267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372623055,"filename":"image_02012026_17_48_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176986","file1":"1402176982","file0":"1402176980","file3":"1402176989"},"map_files_photo_id_array":[{"photo_id":"1402176986","filename":"file2"},{"photo_id":"1402176982","filename":"file1"},{"photo_id":"1402176980","filename":"file0"},{"photo_id":"1402176989","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402176986":["hashtag1","hashtag2"]},{"1402176989":["hashtag1","hashtag2"]},{"1402176980":["hashtag1","hashtag2"]},{"1402176982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402176986, 1402176989, 1402176980, 1402176982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.29071283340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:50:02.444335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_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/13/image_30122025_23_13_45_10727.jpg', '/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_54_9561.jpg', '/home/pi/Desktop/images/30122025/23/13/image_30122025_23_14_04_9699.jpg', '/home/pi/Desktop/images/30122025/23/14/image_30122025_23_14_24_9766.jpg', '/home/pi/Desktop/images/30122025/23/14/image_30122025_23_14_34_9638.jpg', '/home/pi/Desktop/images/30122025/23/14/image_30122025_23_14_44_10608.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/13/image_30122025_23_13_45_10727.jpg
/home/pi/Desktop/images/30122025/23/13/image_30122025_23_13_54_9561.jpg
/home/pi/Desktop/images/30122025/23/13/image_30122025_23_14_04_9699.jpg
/home/pi/Desktop/images/30122025/23/14/image_30122025_23_14_24_9766.jpg
/home/pi/Desktop/images/30122025/23/14/image_30122025_23_14_34_9638.jpg
/home/pi/Desktop/images/30122025/23/14/image_30122025_23_14_44_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":["1402176999","1402176993","1402176996","1402176995","1402176998","1402177000"],"photo_ids_order":["1402176993","1402176995","1402176996","1402176998","1402176999","1402177000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e39d777841d591edf3b3fd17371bd99.jpg","text":"TemporaryFile(/tmp/multipartBody3235427114878722943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372663458,"filename":"image_30122025_23_14_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/2/f3383c89234846a6cca62d94e4d30521.jpg","text":"TemporaryFile(/tmp/multipartBody7840893538616741284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372663458,"filename":"image_30122025_23_13_45_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/2/7c6d2ab64ce053302b8146f02aab8583.jpg","text":"TemporaryFile(/tmp/multipartBody8824804914857063891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372663458,"filename":"image_30122025_23_14_04_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/2/225357d5b7605ac294d86d728840ba6b.jpg","text":"TemporaryFile(/tmp/multipartBody6693193570531626540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372663458,"filename":"image_30122025_23_13_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/2/52a9cbd3a630e4fe87a49a8cda93d479.jpg","text":"TemporaryFile(/tmp/multipartBody772481849404163121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372663458,"filename":"image_30122025_23_14_24_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/2/fd98391121dee34a413564cea3ffbfb9.jpg","text":"TemporaryFile(/tmp/multipartBody6040175735652115490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372663458,"filename":"image_30122025_23_14_44_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402176996","file1":"1402176995","file0":"1402176993","file4":"1402176999","file5":"1402177000","file3":"1402176998"},"map_files_photo_id_array":[{"photo_id":"1402177000","filename":"file5"},{"photo_id":"1402176996","filename":"file2"},{"photo_id":"1402176999","filename":"file4"},{"photo_id":"1402176995","filename":"file1"},{"photo_id":"1402176993","filename":"file0"},{"photo_id":"1402176998","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1402176999":["hashtag1","hashtag2"]},{"1402176993":["hashtag1","hashtag2"]},{"1402176996":["hashtag1","hashtag2"]},{"1402176995":["hashtag1","hashtag2"]},{"1402176998":["hashtag1","hashtag2"]},{"1402177000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1402176999, 1402176993, 1402176996, 1402176995, 1402176998, 1402177000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89908480644226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:50:42.001930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_26_1706.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_30_4349.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_32_1755.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_34_2021.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_36_1705.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_38_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_26_1706.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_30_4349.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_32_1755.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_34_2021.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_36_1705.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_38_1805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177018","1402177011","1402177014","1402177013","1402177016","1402177009"],"photo_ids_order":["1402177009","1402177011","1402177013","1402177014","1402177016","1402177018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/726a4dc47a9fa0dc2c070807c7ed653a.jpg","text":"TemporaryFile(/tmp/multipartBody1037460641614787933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372703856,"filename":"image_05112025_19_51_38_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/2/d1cea2c212a2d451dc63c3b8cdf2185a.jpg","text":"TemporaryFile(/tmp/multipartBody5339128054259931259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372703856,"filename":"image_05112025_19_51_30_4349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c704cc777bfb535abe4719e524fe7415.jpg","text":"TemporaryFile(/tmp/multipartBody687848915865379362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372703856,"filename":"image_05112025_19_51_34_2021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/72f87dc8a164f968a4286ecb5b0df747.jpg","text":"TemporaryFile(/tmp/multipartBody545540734550787877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372703856,"filename":"image_05112025_19_51_32_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/2/bc831fcb0c230d5e754f4f3bcb2891f9.jpg","text":"TemporaryFile(/tmp/multipartBody5282284812688741796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372703856,"filename":"image_05112025_19_51_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/2/fa654bf4ea805bd168facc7352be4ec1.jpg","text":"TemporaryFile(/tmp/multipartBody9099356538115700649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372703856,"filename":"image_05112025_19_51_26_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177013","file1":"1402177011","file0":"1402177009","file4":"1402177016","file5":"1402177018","file3":"1402177014"},"map_files_photo_id_array":[{"photo_id":"1402177018","filename":"file5"},{"photo_id":"1402177013","filename":"file2"},{"photo_id":"1402177016","filename":"file4"},{"photo_id":"1402177011","filename":"file1"},{"photo_id":"1402177009","filename":"file0"},{"photo_id":"1402177014","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402177018":["hashtag1","hashtag2"]},{"1402177011":["hashtag1","hashtag2"]},{"1402177014":["hashtag1","hashtag2"]},{"1402177013":["hashtag1","hashtag2"]},{"1402177016":["hashtag1","hashtag2"]},{"1402177009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402177018, 1402177011, 1402177014, 1402177013, 1402177016, 1402177009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6685094833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 17:51:22.301509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/49/image_02012026_17_49_24_10045.jpg', '/home/pi/Desktop/images/02012026/17/50/image_02012026_17_50_45_10612.jpg', '/home/pi/Desktop/images/02012026/17/50/image_02012026_17_50_55_9678.jpg', '/home/pi/Desktop/images/02012026/17/50/image_02012026_17_51_04_9682.jpg', '/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_15_10724.jpg', '/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_25_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/49/image_02012026_17_49_24_10045.jpg
/home/pi/Desktop/images/02012026/17/50/image_02012026_17_50_45_10612.jpg
/home/pi/Desktop/images/02012026/17/50/image_02012026_17_50_55_9678.jpg
/home/pi/Desktop/images/02012026/17/50/image_02012026_17_51_04_9682.jpg
/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_15_10724.jpg
/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_25_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402177023","1402177026","1402177028","1402177019","1402177030","1402177021"],"photo_ids_order":["1402177019","1402177021","1402177023","1402177026","1402177028","1402177030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb3f11139054bd85bfe30385eadc9b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5143196983266107055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372742852,"filename":"image_02012026_17_50_55_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/2/c000f8ca759cda4b6a65eb68c9108206.jpg","text":"TemporaryFile(/tmp/multipartBody590701330825110468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372742852,"filename":"image_02012026_17_51_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/2/873a72ad6593ed537ad07ec3a9715e15.jpg","text":"TemporaryFile(/tmp/multipartBody6185227267341704137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372742852,"filename":"image_02012026_17_51_15_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/2/a4e91f99d5fcbdda2ff5aec1e1dbbaed.jpg","text":"TemporaryFile(/tmp/multipartBody8365708680541855422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372742852,"filename":"image_02012026_17_49_24_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/2/d1c0b0efbd8c5351e6faf24748daaa55.jpg","text":"TemporaryFile(/tmp/multipartBody1100461504442054810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372742852,"filename":"image_02012026_17_51_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/2/f8236eb5aa6d8a68ba61ace2cca7fa1c.jpg","text":"TemporaryFile(/tmp/multipartBody4500883435285148435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372742852,"filename":"image_02012026_17_50_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177023","file1":"1402177021","file0":"1402177019","file4":"1402177028","file5":"1402177030","file3":"1402177026"},"map_files_photo_id_array":[{"photo_id":"1402177030","filename":"file5"},{"photo_id":"1402177023","filename":"file2"},{"photo_id":"1402177028","filename":"file4"},{"photo_id":"1402177021","filename":"file1"},{"photo_id":"1402177019","filename":"file0"},{"photo_id":"1402177026","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402177023":["hashtag1","hashtag2"]},{"1402177026":["hashtag1","hashtag2"]},{"1402177028":["hashtag1","hashtag2"]},{"1402177019":["hashtag1","hashtag2"]},{"1402177030":["hashtag1","hashtag2"]},{"1402177021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402177023, 1402177026, 1402177028, 1402177019, 1402177030, 1402177021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22594738006592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:52:12.381675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_39_1728.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_43_1706.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_51_3608.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_54_2767.jpg', '/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_56_2754.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_05_6242.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_39_1728.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_43_1706.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_51_3608.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_54_2767.jpg
/home/pi/Desktop/images/05112025/19/51/image_05112025_19_51_56_2754.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_05_6242.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177044","1402177032","1402177031","1402177034","1402177042","1402177036"],"photo_ids_order":["1402177031","1402177032","1402177034","1402177036","1402177042","1402177044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6487e108db924af92b5ee655b719285e.jpg","text":"TemporaryFile(/tmp/multipartBody6119300060417446678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372794157,"filename":"image_05112025_19_52_05_6242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f9f61a411980fdd2433eb58a97c2aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5615880323042991890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372794157,"filename":"image_05112025_19_51_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/2/c9e8b3d60b149332dabf21e3f89b94e1.jpg","text":"TemporaryFile(/tmp/multipartBody3021768869385074259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372794157,"filename":"image_05112025_19_51_39_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/2/fcacd9c3fd54f0d08ace9498d0dccd85.jpg","text":"TemporaryFile(/tmp/multipartBody3576319805286889527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372794157,"filename":"image_05112025_19_51_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/2/8c6ff8f548af3c63f401717db60e40e2.jpg","text":"TemporaryFile(/tmp/multipartBody3827596420148633525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372794157,"filename":"image_05112025_19_51_56_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/2/78360764cc899b559177986298356c96.jpg","text":"TemporaryFile(/tmp/multipartBody8906421097922264700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372794157,"filename":"image_05112025_19_51_54_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177034","file1":"1402177032","file0":"1402177031","file4":"1402177042","file5":"1402177044","file3":"1402177036"},"map_files_photo_id_array":[{"photo_id":"1402177044","filename":"file5"},{"photo_id":"1402177034","filename":"file2"},{"photo_id":"1402177042","filename":"file4"},{"photo_id":"1402177032","filename":"file1"},{"photo_id":"1402177031","filename":"file0"},{"photo_id":"1402177036","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402177044":["hashtag1","hashtag2"]},{"1402177032":["hashtag1","hashtag2"]},{"1402177031":["hashtag1","hashtag2"]},{"1402177034":["hashtag1","hashtag2"]},{"1402177042":["hashtag1","hashtag2"]},{"1402177036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402177044, 1402177032, 1402177031, 1402177034, 1402177042, 1402177036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44656682014465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:53:03.307766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_45_10654.jpg', '/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_55_9813.jpg', '/home/pi/Desktop/images/02012026/17/51/image_02012026_17_52_05_9681.jpg', '/home/pi/Desktop/images/02012026/17/52/image_02012026_17_52_14_9704.jpg', '/home/pi/Desktop/images/02012026/17/52/image_02012026_17_52_34_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_45_10654.jpg
/home/pi/Desktop/images/02012026/17/51/image_02012026_17_51_55_9813.jpg
/home/pi/Desktop/images/02012026/17/51/image_02012026_17_52_05_9681.jpg
/home/pi/Desktop/images/02012026/17/52/image_02012026_17_52_14_9704.jpg
/home/pi/Desktop/images/02012026/17/52/image_02012026_17_52_34_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177050","1402177052","1402177049","1402177051","1402177048"],"photo_ids_order":["1402177048","1402177049","1402177050","1402177051","1402177052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8c38f854ce8f0e6bedec22b95748295e.jpg","text":"TemporaryFile(/tmp/multipartBody1193131448405254777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372843878,"filename":"image_02012026_17_52_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/2/970c60fd948ccdc42f6a836036a8959c.jpg","text":"TemporaryFile(/tmp/multipartBody1437059148880283062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372843878,"filename":"image_02012026_17_52_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/2/03d00dd7a75c7c3fd2a3da9990ce8e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1175526565676342543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372843878,"filename":"image_02012026_17_51_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/2/669c4e4396dcfc8cd82582c82ff40710.jpg","text":"TemporaryFile(/tmp/multipartBody5466972166998303197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372843878,"filename":"image_02012026_17_52_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/2/f8ba2e8c9b07b05df79a3b0361d54941.jpg","text":"TemporaryFile(/tmp/multipartBody9168243664112032703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372843878,"filename":"image_02012026_17_51_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177050","file1":"1402177049","file0":"1402177048","file4":"1402177052","file3":"1402177051"},"map_files_photo_id_array":[{"photo_id":"1402177050","filename":"file2"},{"photo_id":"1402177052","filename":"file4"},{"photo_id":"1402177049","filename":"file1"},{"photo_id":"1402177048","filename":"file0"},{"photo_id":"1402177051","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402177050":["hashtag1","hashtag2"]},{"1402177052":["hashtag1","hashtag2"]},{"1402177049":["hashtag1","hashtag2"]},{"1402177051":["hashtag1","hashtag2"]},{"1402177048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402177050, 1402177052, 1402177049, 1402177051, 1402177048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.03139877319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:53:43.275427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_10_1673.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_12_1676.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_25_10367.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_27_1763.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_28_1688.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_30_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_10_1673.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_12_1676.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_25_10367.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_27_1763.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_28_1688.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_30_1690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7620880603790283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:54:03.278755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/52/image_02012026_17_52_45_10221.jpg', '/home/pi/Desktop/images/02012026/17/53/image_02012026_17_53_15_9683.jpg', '/home/pi/Desktop/images/02012026/17/53/image_02012026_17_53_24_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/52/image_02012026_17_52_45_10221.jpg
/home/pi/Desktop/images/02012026/17/53/image_02012026_17_53_15_9683.jpg
/home/pi/Desktop/images/02012026/17/53/image_02012026_17_53_24_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177068","1402177067","1402177066"],"photo_ids_order":["1402177066","1402177067","1402177068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fe263211d60993496f367c5b698c6e7.jpg","text":"TemporaryFile(/tmp/multipartBody4274840168204750378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372903790,"filename":"image_02012026_17_53_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/2/e8fd9b5459d42ed38c99f1f99ce80574.jpg","text":"TemporaryFile(/tmp/multipartBody764926886308121572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372903790,"filename":"image_02012026_17_53_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/2/5f8d934dcdb689353d23f49ca8786a9d.jpg","text":"TemporaryFile(/tmp/multipartBody6522147294495117538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372903790,"filename":"image_02012026_17_52_45_10221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177068","file1":"1402177067","file0":"1402177066"},"map_files_photo_id_array":[{"photo_id":"1402177068","filename":"file2"},{"photo_id":"1402177067","filename":"file1"},{"photo_id":"1402177066","filename":"file0"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402177068":["hashtag1","hashtag2"]},{"1402177067":["hashtag1","hashtag2"]},{"1402177066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402177068, 1402177067, 1402177066)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 36.7516975402832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:54:50.367891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_10_1673.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_12_1676.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_25_10367.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_27_1763.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_28_1688.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_30_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_10_1673.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_12_1676.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_25_10367.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_27_1763.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_28_1688.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_30_1690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177080","1402177077","1402177076","1402177079","1402177075","1402177078"],"photo_ids_order":["1402177075","1402177076","1402177077","1402177078","1402177079","1402177080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b4cf77e3e96a816d4cd5a5408eaa937.jpg","text":"TemporaryFile(/tmp/multipartBody6801431616521734884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372952076,"filename":"image_05112025_19_52_30_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/2/2c77b2edffa0c940b9c82716f36b59ad.jpg","text":"TemporaryFile(/tmp/multipartBody6021189712722947394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372952076,"filename":"image_05112025_19_52_25_10367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/79b47c1933b36c775cf792410d5cd9de.jpg","text":"TemporaryFile(/tmp/multipartBody3749295704662052833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372952076,"filename":"image_05112025_19_52_12_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/2/be174ec81728566b053562ec9b4fbb84.jpg","text":"TemporaryFile(/tmp/multipartBody1722286344809203377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372952076,"filename":"image_05112025_19_52_28_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/2/dd562bcff0bbd74e0779fb5de30310c3.jpg","text":"TemporaryFile(/tmp/multipartBody6292114827556698468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372952076,"filename":"image_05112025_19_52_10_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/2/70d7f5cc4a711d1cd6db2c48a984d3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5869591585450505051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372952076,"filename":"image_05112025_19_52_27_1763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177077","file1":"1402177076","file0":"1402177075","file4":"1402177079","file5":"1402177080","file3":"1402177078"},"map_files_photo_id_array":[{"photo_id":"1402177080","filename":"file5"},{"photo_id":"1402177077","filename":"file2"},{"photo_id":"1402177079","filename":"file4"},{"photo_id":"1402177076","filename":"file1"},{"photo_id":"1402177075","filename":"file0"},{"photo_id":"1402177078","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402177080":["hashtag1","hashtag2"]},{"1402177077":["hashtag1","hashtag2"]},{"1402177076":["hashtag1","hashtag2"]},{"1402177079":["hashtag1","hashtag2"]},{"1402177075":["hashtag1","hashtag2"]},{"1402177078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402177080, 1402177077, 1402177076, 1402177079, 1402177075, 1402177078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31415033340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:55:32.366264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_32_1927.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_34_1741.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_35_1641.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_45_9902.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_47_1695.jpg', '/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_56_8486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_32_1927.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_34_1741.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_35_1641.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_45_9902.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_47_1695.jpg
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_56_8486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177092","1402177086","1402177091","1402177088","1402177090","1402177084"],"photo_ids_order":["1402177084","1402177086","1402177088","1402177090","1402177091","1402177092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca4be5fe6550e999adebcb7db36dc5d4.jpg","text":"TemporaryFile(/tmp/multipartBody646059093475298243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372994149,"filename":"image_05112025_19_52_56_8486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fee45d522b94e36fbf077c25803f8985.jpg","text":"TemporaryFile(/tmp/multipartBody2715574335735305713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372994149,"filename":"image_05112025_19_52_34_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/2/f619305b61ade233f9d54cb94665fd29.jpg","text":"TemporaryFile(/tmp/multipartBody5062534872084031696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372994149,"filename":"image_05112025_19_52_47_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/2/e0fd344c5b5402b9db6918ac4d9a8729.jpg","text":"TemporaryFile(/tmp/multipartBody671366786866735732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372994149,"filename":"image_05112025_19_52_35_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/2/9d6764228e10f13602ef21e809fd0f29.jpg","text":"TemporaryFile(/tmp/multipartBody8698187544085357494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372994149,"filename":"image_05112025_19_52_45_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5297478ebd00dfdd47a267d46b173950.jpg","text":"TemporaryFile(/tmp/multipartBody6200408068383605472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767372994149,"filename":"image_05112025_19_52_32_1927.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177088","file1":"1402177086","file0":"1402177084","file4":"1402177091","file5":"1402177092","file3":"1402177090"},"map_files_photo_id_array":[{"photo_id":"1402177092","filename":"file5"},{"photo_id":"1402177088","filename":"file2"},{"photo_id":"1402177091","filename":"file4"},{"photo_id":"1402177086","filename":"file1"},{"photo_id":"1402177084","filename":"file0"},{"photo_id":"1402177090","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402177092":["hashtag1","hashtag2"]},{"1402177086":["hashtag1","hashtag2"]},{"1402177091":["hashtag1","hashtag2"]},{"1402177088":["hashtag1","hashtag2"]},{"1402177090":["hashtag1","hashtag2"]},{"1402177084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402177092, 1402177086, 1402177091, 1402177088, 1402177090, 1402177084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4599711894989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 17:56:12.802866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_59_1683.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_02_1718.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_04_1641.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_07_1646.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_12_2754.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_50_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/52/image_05112025_19_52_59_1683.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_02_1718.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_04_1641.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_07_1646.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_12_2754.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_50_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402177102","1402177095","1402177094","1402177097","1402177101","1402177098"],"photo_ids_order":["1402177094","1402177095","1402177097","1402177098","1402177101","1402177102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/34d3b2f6bde332296ace8aa06cdeb6da.jpg","text":"TemporaryFile(/tmp/multipartBody2394674454768232623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373034567,"filename":"image_05112025_19_53_50_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/2/124e6e287f43a78160d069cfff87ded5.jpg","text":"TemporaryFile(/tmp/multipartBody739813100305961431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373034567,"filename":"image_05112025_19_53_02_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/2/81adf385e3d7a2703fd3b20fb195afe8.jpg","text":"TemporaryFile(/tmp/multipartBody4033225737011144876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373034567,"filename":"image_05112025_19_52_59_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/2/b4bc7377e1408f613d5418327717c237.jpg","text":"TemporaryFile(/tmp/multipartBody2823466684836637786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373034567,"filename":"image_05112025_19_53_04_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/2/dd946c420b09e14aabb97e214b49240f.jpg","text":"TemporaryFile(/tmp/multipartBody8504080951607905855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373034567,"filename":"image_05112025_19_53_12_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/2/c0ff82b87d3a06a13044bb2342adb5d2.jpg","text":"TemporaryFile(/tmp/multipartBody2911480526910208052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373034567,"filename":"image_05112025_19_53_07_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177097","file1":"1402177095","file0":"1402177094","file4":"1402177101","file5":"1402177102","file3":"1402177098"},"map_files_photo_id_array":[{"photo_id":"1402177102","filename":"file5"},{"photo_id":"1402177097","filename":"file2"},{"photo_id":"1402177101","filename":"file4"},{"photo_id":"1402177095","filename":"file1"},{"photo_id":"1402177094","filename":"file0"},{"photo_id":"1402177098","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402177102":["hashtag1","hashtag2"]},{"1402177095":["hashtag1","hashtag2"]},{"1402177094":["hashtag1","hashtag2"]},{"1402177097":["hashtag1","hashtag2"]},{"1402177101":["hashtag1","hashtag2"]},{"1402177098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402177102, 1402177095, 1402177094, 1402177097, 1402177101, 1402177098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24732446670532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:57:02.638014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/53/image_02012026_17_53_54_9742.jpg', '/home/pi/Desktop/images/02012026/17/53/image_02012026_17_54_05_10648.jpg', '/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_15_9710.jpg', '/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_34_9665.jpg', '/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_45_10679.jpg', '/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_55_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/53/image_02012026_17_53_54_9742.jpg
/home/pi/Desktop/images/02012026/17/53/image_02012026_17_54_05_10648.jpg
/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_15_9710.jpg
/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_34_9665.jpg
/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_45_10679.jpg
/home/pi/Desktop/images/02012026/17/54/image_02012026_17_54_55_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402177107","1402177109","1402177106","1402177111","1402177105","1402177108"],"photo_ids_order":["1402177105","1402177106","1402177107","1402177108","1402177109","1402177111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d230b62109db66384329a9669f94ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1944830994082551382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373083306,"filename":"image_02012026_17_54_15_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/2/9e18dd6e49a5d2f14b8d698af76260c1.jpg","text":"TemporaryFile(/tmp/multipartBody1139299736129818441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373083306,"filename":"image_02012026_17_54_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/2/de4a28cac600ed8bb54ed01df69a0b1b.jpg","text":"TemporaryFile(/tmp/multipartBody6757783274254052971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373083306,"filename":"image_02012026_17_54_05_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/2/c82dfb7ac0f6a186300953710fe3c024.jpg","text":"TemporaryFile(/tmp/multipartBody4283377527474485451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373083306,"filename":"image_02012026_17_54_55_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/2/a71700c8dd14bcada0059497bcf37234.jpg","text":"TemporaryFile(/tmp/multipartBody3027837772324110162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373083306,"filename":"image_02012026_17_53_54_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/2/b9a2a3e154899019f191facb5ab9c172.jpg","text":"TemporaryFile(/tmp/multipartBody3515411682576113557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373083306,"filename":"image_02012026_17_54_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177107","file1":"1402177106","file0":"1402177105","file4":"1402177109","file5":"1402177111","file3":"1402177108"},"map_files_photo_id_array":[{"photo_id":"1402177111","filename":"file5"},{"photo_id":"1402177107","filename":"file2"},{"photo_id":"1402177109","filename":"file4"},{"photo_id":"1402177106","filename":"file1"},{"photo_id":"1402177105","filename":"file0"},{"photo_id":"1402177108","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402177107":["hashtag1","hashtag2"]},{"1402177109":["hashtag1","hashtag2"]},{"1402177106":["hashtag1","hashtag2"]},{"1402177111":["hashtag1","hashtag2"]},{"1402177105":["hashtag1","hashtag2"]},{"1402177108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402177107, 1402177109, 1402177106, 1402177111, 1402177105, 1402177108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59027457237244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 17:59:03.136516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/55/image_02012026_17_55_25_10544.jpg', '/home/pi/Desktop/images/02012026/17/56/image_02012026_17_56_25_10606.jpg', '/home/pi/Desktop/images/02012026/17/56/image_02012026_17_57_04_9590.jpg', '/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_15_10644.jpg', '/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_25_9786.jpg', '/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_35_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/55/image_02012026_17_55_25_10544.jpg
/home/pi/Desktop/images/02012026/17/56/image_02012026_17_56_25_10606.jpg
/home/pi/Desktop/images/02012026/17/56/image_02012026_17_57_04_9590.jpg
/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_15_10644.jpg
/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_25_9786.jpg
/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_35_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":["1402177383","1402177117","1402177119","1402177305","1402177235","1402177159"],"photo_ids_order":["1402177117","1402177119","1402177159","1402177235","1402177305","1402177383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1861a86d78ad8ca70c0441e9eb9b4b39.jpg","text":"TemporaryFile(/tmp/multipartBody7875270482260637039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373203889,"filename":"image_02012026_17_57_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/2/1a15a6fde63a40cd4f473308a4d7692d.jpg","text":"TemporaryFile(/tmp/multipartBody46465941848126960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373203889,"filename":"image_02012026_17_55_25_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/2/911fbcecc3689987d4d3421323ea455e.jpg","text":"TemporaryFile(/tmp/multipartBody3372236328827507775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373203889,"filename":"image_02012026_17_56_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/2/ca0ab6ab817ad4f3c790122e5f83009a.jpg","text":"TemporaryFile(/tmp/multipartBody843371477134841328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373203889,"filename":"image_02012026_17_57_25_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/2/5d34d0910e9194d43c93895844ce485d.jpg","text":"TemporaryFile(/tmp/multipartBody2112094239900575713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373203889,"filename":"image_02012026_17_57_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/2/98dfacfeaa456f4b258e76aa2395437d.jpg","text":"TemporaryFile(/tmp/multipartBody5967732417722455587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373203889,"filename":"image_02012026_17_57_04_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402177159","file1":"1402177119","file0":"1402177117","file4":"1402177305","file5":"1402177383","file3":"1402177235"},"map_files_photo_id_array":[{"photo_id":"1402177383","filename":"file5"},{"photo_id":"1402177159","filename":"file2"},{"photo_id":"1402177305","filename":"file4"},{"photo_id":"1402177119","filename":"file1"},{"photo_id":"1402177117","filename":"file0"},{"photo_id":"1402177235","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402177383":["hashtag1","hashtag2"]},{"1402177117":["hashtag1","hashtag2"]},{"1402177119":["hashtag1","hashtag2"]},{"1402177305":["hashtag1","hashtag2"]},{"1402177235":["hashtag1","hashtag2"]},{"1402177159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402177383, 1402177117, 1402177119, 1402177305, 1402177235, 1402177159)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.47368383407593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:00:03.404810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_45_10673.jpg', '/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_55_9530.jpg', '/home/pi/Desktop/images/02012026/17/57/image_02012026_17_58_05_9908.jpg', '/home/pi/Desktop/images/02012026/17/58/image_02012026_17_58_35_10628.jpg', '/home/pi/Desktop/images/02012026/17/58/image_02012026_17_58_45_9691.jpg', '/home/pi/Desktop/images/02012026/17/58/image_02012026_17_58_55_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_45_10673.jpg
/home/pi/Desktop/images/02012026/17/57/image_02012026_17_57_55_9530.jpg
/home/pi/Desktop/images/02012026/17/57/image_02012026_17_58_05_9908.jpg
/home/pi/Desktop/images/02012026/17/58/image_02012026_17_58_35_10628.jpg
/home/pi/Desktop/images/02012026/17/58/image_02012026_17_58_45_9691.jpg
/home/pi/Desktop/images/02012026/17/58/image_02012026_17_58_55_10532.jpg
 val : 1 : upload photos already in 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":["1402177974","1402177935","1402178174","1402178141","1402178068","1402178011"],"photo_ids_order":["1402177935","1402177974","1402178011","1402178068","1402178141","1402178174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa06e964f3cad2650962893dd5ed31ae.jpg","text":"TemporaryFile(/tmp/multipartBody2953251918414328708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373264011,"filename":"image_02012026_17_57_55_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/2/c0786439741b69ffbb4869bcaff3d0f7.jpg","text":"TemporaryFile(/tmp/multipartBody8668204717303310097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373264011,"filename":"image_02012026_17_57_45_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/2/4cdbe3ed0f3c20fe49664a4e17c59dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1407420854543609257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373264011,"filename":"image_02012026_17_58_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/2/5def4f776a4fd25d6f990e97e8621a68.jpg","text":"TemporaryFile(/tmp/multipartBody1354940096587992577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373264011,"filename":"image_02012026_17_58_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/2/3593a8dfdc0901fe636dced406495204.jpg","text":"TemporaryFile(/tmp/multipartBody8432809226868741009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373264011,"filename":"image_02012026_17_58_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/2/e5e848416ac4f3b203950e0ea3825c3f.jpg","text":"TemporaryFile(/tmp/multipartBody7365456992146803422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373264011,"filename":"image_02012026_17_58_05_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178011","file1":"1402177974","file0":"1402177935","file4":"1402178141","file5":"1402178174","file3":"1402178068"},"map_files_photo_id_array":[{"photo_id":"1402178174","filename":"file5"},{"photo_id":"1402178011","filename":"file2"},{"photo_id":"1402178141","filename":"file4"},{"photo_id":"1402177974","filename":"file1"},{"photo_id":"1402177935","filename":"file0"},{"photo_id":"1402178068","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402177974":["hashtag1","hashtag2"]},{"1402177935":["hashtag1","hashtag2"]},{"1402178174":["hashtag1","hashtag2"]},{"1402178141":["hashtag1","hashtag2"]},{"1402178068":["hashtag1","hashtag2"]},{"1402178011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402177974, 1402177935, 1402178174, 1402178141, 1402178068, 1402178011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.220423221588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:01:08.981773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/58/image_02012026_17_59_05_9625.jpg', '/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_14_9600.jpg', '/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_25_10661.jpg', '/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_35_9636.jpg', '/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/58/image_02012026_17_59_05_9625.jpg
/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_14_9600.jpg
/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_25_10661.jpg
/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_35_9636.jpg
/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_44_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":["1402178471","1402178465","1402178434","1402178404","1402178442"],"photo_ids_order":["1402178404","1402178434","1402178442","1402178465","1402178471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ea8a3244508941125261cc4aa20c1eb.jpg","text":"TemporaryFile(/tmp/multipartBody7775991828727047606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373333489,"filename":"image_02012026_17_59_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/2/9444d6617cc426a744aa6a7374c488aa.jpg","text":"TemporaryFile(/tmp/multipartBody8955723536272200709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373333489,"filename":"image_02012026_17_59_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/2/df2b9de4dbd201d0f2217a45ab579b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5498467561193279256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373333489,"filename":"image_02012026_17_59_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/2/680ae2cd6f7a6477f0ac84b521fb6914.jpg","text":"TemporaryFile(/tmp/multipartBody1483916998262988272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373333489,"filename":"image_02012026_17_59_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/2/0b4115d6be00ce7749a4a610f45a4525.jpg","text":"TemporaryFile(/tmp/multipartBody4482568868612971744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373333489,"filename":"image_02012026_17_59_25_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178442","file1":"1402178434","file0":"1402178404","file4":"1402178471","file3":"1402178465"},"map_files_photo_id_array":[{"photo_id":"1402178442","filename":"file2"},{"photo_id":"1402178471","filename":"file4"},{"photo_id":"1402178434","filename":"file1"},{"photo_id":"1402178404","filename":"file0"},{"photo_id":"1402178465","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402178471":["hashtag1","hashtag2"]},{"1402178465":["hashtag1","hashtag2"]},{"1402178434":["hashtag1","hashtag2"]},{"1402178404":["hashtag1","hashtag2"]},{"1402178442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402178471, 1402178465, 1402178434, 1402178404, 1402178442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.90630340576172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:01:48.611903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_53_2640.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_56_2690.jpg', '/home/pi/Desktop/images/05112025/19/53/image_05112025_19_54_00_3740.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_05_2533.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_09_3763.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_11_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_53_2640.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_53_56_2690.jpg
/home/pi/Desktop/images/05112025/19/53/image_05112025_19_54_00_3740.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_05_2533.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_09_3763.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_11_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402178901","1402178708","1402178833","1402178818","1402178880","1402178832"],"photo_ids_order":["1402178708","1402178818","1402178832","1402178833","1402178880","1402178901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7dedc2c1984e5b3fc5afbd251e0f8fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1169328954335983521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373370480,"filename":"image_05112025_19_54_11_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/2/fbbe57f7827e35e6d9f5916dcae90ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7400941072900223337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373370480,"filename":"image_05112025_19_53_53_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/2/22e4145ceca217b9ba393bbb77903989.jpg","text":"TemporaryFile(/tmp/multipartBody4093986939818264709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373370480,"filename":"image_05112025_19_54_05_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/2/1961d54fbc5a7fb1bd95b4107ccca730.jpg","text":"TemporaryFile(/tmp/multipartBody7292128603276849546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373370480,"filename":"image_05112025_19_53_56_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/2/41122d5349e47b4aa7bbc6ca1ffb3bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8505597359689591605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373370480,"filename":"image_05112025_19_54_09_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/2/6dad3a02b42803a3792b3fb77d99b26a.jpg","text":"TemporaryFile(/tmp/multipartBody6341408668062560970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373370480,"filename":"image_05112025_19_54_00_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178832","file1":"1402178818","file0":"1402178708","file4":"1402178880","file5":"1402178901","file3":"1402178833"},"map_files_photo_id_array":[{"photo_id":"1402178901","filename":"file5"},{"photo_id":"1402178832","filename":"file2"},{"photo_id":"1402178880","filename":"file4"},{"photo_id":"1402178818","filename":"file1"},{"photo_id":"1402178708","filename":"file0"},{"photo_id":"1402178833","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402178901":["hashtag1","hashtag2"]},{"1402178708":["hashtag1","hashtag2"]},{"1402178833":["hashtag1","hashtag2"]},{"1402178818":["hashtag1","hashtag2"]},{"1402178880":["hashtag1","hashtag2"]},{"1402178832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402178901, 1402178708, 1402178833, 1402178818, 1402178880, 1402178832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.215270042419434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:02:32.688437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_14_2833.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_20_3745.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_23_2723.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_26_2715.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_29_2785.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_32_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_14_2833.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_20_3745.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_23_2723.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_26_2715.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_29_2785.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_32_3682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402178940","1402178928","1402178939","1402178938","1402178926","1402178931"],"photo_ids_order":["1402178926","1402178928","1402178931","1402178938","1402178939","1402178940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78b64ee7ba435e732bf900898c36e731.jpg","text":"TemporaryFile(/tmp/multipartBody888053689730560480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373414696,"filename":"image_05112025_19_54_32_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5566c9645e2835e86bfe2ccb44e92584.jpg","text":"TemporaryFile(/tmp/multipartBody5232283637122592443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373414696,"filename":"image_05112025_19_54_20_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/2/3f940e021b7b93e197704cab3afcf1aa.jpg","text":"TemporaryFile(/tmp/multipartBody1590753506281287067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373414696,"filename":"image_05112025_19_54_29_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/2/90fedc9dda5d9a554203437b0b4801fb.jpg","text":"TemporaryFile(/tmp/multipartBody6261788967295380711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373414696,"filename":"image_05112025_19_54_26_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/2/b521e79f70181086de6ca1832e501033.jpg","text":"TemporaryFile(/tmp/multipartBody7408855911840865407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373414696,"filename":"image_05112025_19_54_14_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/2/aa501fd9b8e5f3fbbc980fa7118ae311.jpg","text":"TemporaryFile(/tmp/multipartBody5197535781585468104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373414696,"filename":"image_05112025_19_54_23_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178931","file1":"1402178928","file0":"1402178926","file4":"1402178939","file5":"1402178940","file3":"1402178938"},"map_files_photo_id_array":[{"photo_id":"1402178940","filename":"file5"},{"photo_id":"1402178931","filename":"file2"},{"photo_id":"1402178939","filename":"file4"},{"photo_id":"1402178928","filename":"file1"},{"photo_id":"1402178926","filename":"file0"},{"photo_id":"1402178938","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402178940":["hashtag1","hashtag2"]},{"1402178928":["hashtag1","hashtag2"]},{"1402178939":["hashtag1","hashtag2"]},{"1402178938":["hashtag1","hashtag2"]},{"1402178926":["hashtag1","hashtag2"]},{"1402178931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402178940, 1402178928, 1402178939, 1402178938, 1402178926, 1402178931)","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 = 1402178931 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_23_2723.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.0397891998291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:03:37.821877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_35_2880.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_38_2732.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_41_2760.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_45_3791.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_47_2512.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_53_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_35_2880.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_38_2732.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_41_2760.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_45_3791.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_47_2512.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_53_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402178954","1402178950","1402178953","1402178956","1402178955","1402178952"],"photo_ids_order":["1402178950","1402178952","1402178953","1402178954","1402178955","1402178956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d37c1278e88227010b125ea71dbe4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5198375655809547384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373482513,"filename":"image_05112025_19_54_45_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d767fd12fcb78c9d92aafadebf61a9a.jpg","text":"TemporaryFile(/tmp/multipartBody4307416750182254762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373482513,"filename":"image_05112025_19_54_35_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/2/b176c66ada54e68393975eb55d711044.jpg","text":"TemporaryFile(/tmp/multipartBody7309076879769555564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373482513,"filename":"image_05112025_19_54_41_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/2/c2617ef86e884e1c1fb47271b130c781.jpg","text":"TemporaryFile(/tmp/multipartBody8604282470515656120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373482513,"filename":"image_05112025_19_54_53_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/2/0606ce64e7180fb9d81c4bbc1de49b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5770860240358508907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373482513,"filename":"image_05112025_19_54_47_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/2/9b30760d462866aed6bde24518d2b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1440780128059424849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373482513,"filename":"image_05112025_19_54_38_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178953","file1":"1402178952","file0":"1402178950","file4":"1402178955","file5":"1402178956","file3":"1402178954"},"map_files_photo_id_array":[{"photo_id":"1402178956","filename":"file5"},{"photo_id":"1402178953","filename":"file2"},{"photo_id":"1402178955","filename":"file4"},{"photo_id":"1402178952","filename":"file1"},{"photo_id":"1402178950","filename":"file0"},{"photo_id":"1402178954","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402178954":["hashtag1","hashtag2"]},{"1402178950":["hashtag1","hashtag2"]},{"1402178953":["hashtag1","hashtag2"]},{"1402178956":["hashtag1","hashtag2"]},{"1402178955":["hashtag1","hashtag2"]},{"1402178952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402178954, 1402178950, 1402178953, 1402178956, 1402178955, 1402178952)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.87682127952576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:04:32.243085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_56_2665.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_59_2697.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_03_3764.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_08_2755.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_11_2746.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_14_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_56_2665.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_59_2697.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_03_3764.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_08_2755.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_11_2746.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_14_3556.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6642873287200928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:04:42.083847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_56_2665.jpg', '/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_59_2697.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_03_3764.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_08_2755.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_11_2746.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_14_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_56_2665.jpg
/home/pi/Desktop/images/05112025/19/54/image_05112025_19_54_59_2697.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_03_3764.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_08_2755.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_11_2746.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_14_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":["1402178972","1402178981","1402178978","1402178980","1402178976","1402178979"],"photo_ids_order":["1402178972","1402178976","1402178978","1402178979","1402178980","1402178981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d758e162be71e7953e063e5960e1249b.jpg","text":"TemporaryFile(/tmp/multipartBody9126592779432924854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373543710,"filename":"image_05112025_19_54_56_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/2/e4bff095964cf2050278ee4f2dc6b4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1469014313193533594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373543710,"filename":"image_05112025_19_55_14_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/2/79f25fbdf5133c5859cbf5eb6d351802.jpg","text":"TemporaryFile(/tmp/multipartBody7314272132811035010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373543710,"filename":"image_05112025_19_55_03_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5650de400c108ec23ca72fe490e29fd.jpg","text":"TemporaryFile(/tmp/multipartBody4876934684676791719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373543710,"filename":"image_05112025_19_55_11_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/2/6f8b1b08b1a4e76b1b75fba1fe21f068.jpg","text":"TemporaryFile(/tmp/multipartBody5057373516195699022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373543710,"filename":"image_05112025_19_54_59_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/2/d79f3b70c40e3bc5b202d36a35dca9c4.jpg","text":"TemporaryFile(/tmp/multipartBody3362372949597115337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373543710,"filename":"image_05112025_19_55_08_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178978","file1":"1402178976","file0":"1402178972","file4":"1402178980","file5":"1402178981","file3":"1402178979"},"map_files_photo_id_array":[{"photo_id":"1402178981","filename":"file5"},{"photo_id":"1402178978","filename":"file2"},{"photo_id":"1402178980","filename":"file4"},{"photo_id":"1402178976","filename":"file1"},{"photo_id":"1402178972","filename":"file0"},{"photo_id":"1402178979","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402178972":["hashtag1","hashtag2"]},{"1402178981":["hashtag1","hashtag2"]},{"1402178978":["hashtag1","hashtag2"]},{"1402178980":["hashtag1","hashtag2"]},{"1402178976":["hashtag1","hashtag2"]},{"1402178979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402178972, 1402178981, 1402178978, 1402178980, 1402178976, 1402178979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50656223297119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:05:22.383795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_55_10749.jpg', '/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_14_10060.jpg', '/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_25_10774.jpg', '/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_35_9613.jpg', '/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_44_9600.jpg', '/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_03_18392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/17/59/image_02012026_17_59_55_10749.jpg
/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_14_10060.jpg
/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_25_10774.jpg
/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_35_9613.jpg
/home/pi/Desktop/images/02012026/18/00/image_02012026_18_00_44_9600.jpg
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_03_18392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402178999","1402178993","1402178995","1402178986","1402178991","1402178997"],"photo_ids_order":["1402178986","1402178991","1402178993","1402178995","1402178997","1402178999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f445cc4e3aa1e3774d6fa463811fa59.jpg","text":"TemporaryFile(/tmp/multipartBody1897898169020716313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373582948,"filename":"image_02012026_18_01_03_18392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a03ace590235bba1ddbee26887422c2.jpg","text":"TemporaryFile(/tmp/multipartBody4607269195999481376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373582948,"filename":"image_02012026_18_00_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/2/a25e94d7101abc159c73bd35b4250ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8703475852604282822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373582948,"filename":"image_02012026_18_00_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/2/f66e25c987dd5895d6a3e1c332c3432b.jpg","text":"TemporaryFile(/tmp/multipartBody8688385302819701408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373582948,"filename":"image_02012026_17_59_55_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/2/398bfe07a747523ed260f6d721dde1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2978595747425490567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373582948,"filename":"image_02012026_18_00_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/2/771f30241547ff0d67db1857d35e4fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8900400417335727814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373582948,"filename":"image_02012026_18_00_44_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402178993","file1":"1402178991","file0":"1402178986","file4":"1402178997","file5":"1402178999","file3":"1402178995"},"map_files_photo_id_array":[{"photo_id":"1402178999","filename":"file5"},{"photo_id":"1402178993","filename":"file2"},{"photo_id":"1402178997","filename":"file4"},{"photo_id":"1402178991","filename":"file1"},{"photo_id":"1402178986","filename":"file0"},{"photo_id":"1402178995","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402178999":["hashtag1","hashtag2"]},{"1402178993":["hashtag1","hashtag2"]},{"1402178995":["hashtag1","hashtag2"]},{"1402178986":["hashtag1","hashtag2"]},{"1402178991":["hashtag1","hashtag2"]},{"1402178997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402178999, 1402178993, 1402178995, 1402178986, 1402178991, 1402178997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25696110725403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:06:03.032696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_05_2548.jpg', '/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_15_9733.jpg', '/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_25_9571.jpg', '/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_34_9726.jpg', '/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_45_10886.jpg', '/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_55_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_05_2548.jpg
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_15_9733.jpg
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_25_9571.jpg
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_34_9726.jpg
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_45_10886.jpg
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_01_55_9939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179003","1402179011","1402179005","1402179001","1402179007","1402179009"],"photo_ids_order":["1402179001","1402179003","1402179005","1402179007","1402179009","1402179011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf4ad246da00610af74c99f5c282d231.jpg","text":"TemporaryFile(/tmp/multipartBody6590024460343148094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373623646,"filename":"image_02012026_18_01_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/2/4d9ca96e1785bd1b9315d69013b77bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8509564984166239305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373623646,"filename":"image_02012026_18_01_55_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/41875d7f5f8afc603d89d7fde04b7624.jpg","text":"TemporaryFile(/tmp/multipartBody8668975729840858529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373623646,"filename":"image_02012026_18_01_25_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/2/e49bd1b53d6029ea47685199721b6d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3938848034469743805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373623646,"filename":"image_02012026_18_01_05_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/2/6f7e3222cd660af71436a858ab8d06dc.jpg","text":"TemporaryFile(/tmp/multipartBody9019665407090196421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373623646,"filename":"image_02012026_18_01_34_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/2/4ec78b1f1cd2cf423dd2620de3716c36.jpg","text":"TemporaryFile(/tmp/multipartBody4370262655553907233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373623646,"filename":"image_02012026_18_01_45_10886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179005","file1":"1402179003","file0":"1402179001","file4":"1402179009","file5":"1402179011","file3":"1402179007"},"map_files_photo_id_array":[{"photo_id":"1402179011","filename":"file5"},{"photo_id":"1402179005","filename":"file2"},{"photo_id":"1402179009","filename":"file4"},{"photo_id":"1402179003","filename":"file1"},{"photo_id":"1402179001","filename":"file0"},{"photo_id":"1402179007","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179003":["hashtag1","hashtag2"]},{"1402179011":["hashtag1","hashtag2"]},{"1402179005":["hashtag1","hashtag2"]},{"1402179001":["hashtag1","hashtag2"]},{"1402179007":["hashtag1","hashtag2"]},{"1402179009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179003, 1402179011, 1402179005, 1402179001, 1402179007, 1402179009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12978529930115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:06:42.532960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_17_2891.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_20_2696.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_23_2744.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_26_3673.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_29_2768.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_32_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_17_2891.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_20_2696.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_23_2744.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_26_3673.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_29_2768.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_32_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179023","1402179032","1402179031","1402179028","1402179030","1402179021"],"photo_ids_order":["1402179021","1402179023","1402179028","1402179030","1402179031","1402179032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a2feeaa7780c428e9404498369cf69ed.jpg","text":"TemporaryFile(/tmp/multipartBody7157502784095208795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373664382,"filename":"image_05112025_19_55_20_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/2/abd35b984e293200c3a867cb01d7db8e.jpg","text":"TemporaryFile(/tmp/multipartBody6024388650441358514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373664382,"filename":"image_05112025_19_55_32_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/2/268627cf3cc4a5195bc51667255778d2.jpg","text":"TemporaryFile(/tmp/multipartBody5371136834438683282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373664382,"filename":"image_05112025_19_55_29_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/2/324520ed739a151d0d648ddb27c60fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4724989236205837488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373664382,"filename":"image_05112025_19_55_23_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/2/e3e1ef8ae1ad348c9cb045f2557060b4.jpg","text":"TemporaryFile(/tmp/multipartBody7131772892779967683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373664382,"filename":"image_05112025_19_55_26_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/2/7f285bc75acab0e1bf30f4b2887dd793.jpg","text":"TemporaryFile(/tmp/multipartBody7057820444110387415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373664382,"filename":"image_05112025_19_55_17_2891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179028","file1":"1402179023","file0":"1402179021","file4":"1402179031","file5":"1402179032","file3":"1402179030"},"map_files_photo_id_array":[{"photo_id":"1402179032","filename":"file5"},{"photo_id":"1402179028","filename":"file2"},{"photo_id":"1402179031","filename":"file4"},{"photo_id":"1402179023","filename":"file1"},{"photo_id":"1402179021","filename":"file0"},{"photo_id":"1402179030","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179023":["hashtag1","hashtag2"]},{"1402179032":["hashtag1","hashtag2"]},{"1402179031":["hashtag1","hashtag2"]},{"1402179028":["hashtag1","hashtag2"]},{"1402179030":["hashtag1","hashtag2"]},{"1402179021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179023, 1402179032, 1402179031, 1402179028, 1402179030, 1402179021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.325175523757935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:07:22.719101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/01/image_02012026_18_02_05_10102.jpg', '/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_15_9696.jpg', '/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_25_9618.jpg', '/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_35_10680.jpg', '/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_44_9064.jpg', '/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_55_10909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/01/image_02012026_18_02_05_10102.jpg
/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_15_9696.jpg
/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_25_9618.jpg
/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_35_10680.jpg
/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_44_9064.jpg
/home/pi/Desktop/images/02012026/18/02/image_02012026_18_02_55_10909.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179056","1402179059","1402179050","1402179052","1402179049","1402179054"],"photo_ids_order":["1402179049","1402179050","1402179052","1402179054","1402179056","1402179059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/de1927f55ed97ef9b5c0eea90e99595a.jpg","text":"TemporaryFile(/tmp/multipartBody8662229607050619032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373703288,"filename":"image_02012026_18_02_44_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/2/f33a1e32c3ee2a54aaaa47a27ed85065.jpg","text":"TemporaryFile(/tmp/multipartBody8726627059410301854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373703288,"filename":"image_02012026_18_02_55_10909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e616949680325aff7b71e195dc79122.jpg","text":"TemporaryFile(/tmp/multipartBody7933418352302354291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373703288,"filename":"image_02012026_18_02_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/2/b0f89fe5956d5cdc5e90e546cd8c9978.jpg","text":"TemporaryFile(/tmp/multipartBody8087402806910605810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373703288,"filename":"image_02012026_18_02_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/2/b855a25b0432edc9cb49c3229c7783d9.jpg","text":"TemporaryFile(/tmp/multipartBody5275656482975982081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373703288,"filename":"image_02012026_18_02_05_10102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b40ad01b2665bddec87f18299d85577a.jpg","text":"TemporaryFile(/tmp/multipartBody1911028876301499152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373703288,"filename":"image_02012026_18_02_35_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179052","file1":"1402179050","file0":"1402179049","file4":"1402179056","file5":"1402179059","file3":"1402179054"},"map_files_photo_id_array":[{"photo_id":"1402179059","filename":"file5"},{"photo_id":"1402179052","filename":"file2"},{"photo_id":"1402179056","filename":"file4"},{"photo_id":"1402179050","filename":"file1"},{"photo_id":"1402179049","filename":"file0"},{"photo_id":"1402179054","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179056":["hashtag1","hashtag2"]},{"1402179059":["hashtag1","hashtag2"]},{"1402179050":["hashtag1","hashtag2"]},{"1402179052":["hashtag1","hashtag2"]},{"1402179049":["hashtag1","hashtag2"]},{"1402179054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179056, 1402179059, 1402179050, 1402179052, 1402179049, 1402179054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5152268409729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:08:02.420851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_05_9902.jpg', '/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_15_9744.jpg', '/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_35_9852.jpg', '/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_45_10645.jpg', '/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_55_9543.jpg', '/home/pi/Desktop/images/02012026/18/03/image_02012026_18_04_05_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_05_9902.jpg
/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_15_9744.jpg
/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_35_9852.jpg
/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_45_10645.jpg
/home/pi/Desktop/images/02012026/18/03/image_02012026_18_03_55_9543.jpg
/home/pi/Desktop/images/02012026/18/03/image_02012026_18_04_05_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":["1402179071","1402179065","1402179068","1402179062","1402179061","1402179063"],"photo_ids_order":["1402179061","1402179062","1402179063","1402179065","1402179068","1402179071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57dd02d6472214d16db05c73081c2b28.jpg","text":"TemporaryFile(/tmp/multipartBody4755984050196888595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373743046,"filename":"image_02012026_18_04_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/2/ebd9f43ae8ddb8b488169956d5bd1255.jpg","text":"TemporaryFile(/tmp/multipartBody8624160331358716339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373743046,"filename":"image_02012026_18_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/2/ee52f0258bd3bfbaeb1400039365901c.jpg","text":"TemporaryFile(/tmp/multipartBody1012144605733038774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373743046,"filename":"image_02012026_18_03_55_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/2/4265cbf5079dd7ec2a30004ad38f0885.jpg","text":"TemporaryFile(/tmp/multipartBody3733636812569969606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373743046,"filename":"image_02012026_18_03_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/2/fec23c34ff3055ec5a7e68975073faca.jpg","text":"TemporaryFile(/tmp/multipartBody3692090557240441233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373743046,"filename":"image_02012026_18_03_05_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84963096aa5a2f9c19fecec160fddbea.jpg","text":"TemporaryFile(/tmp/multipartBody6386654940563511672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373743046,"filename":"image_02012026_18_03_35_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179063","file1":"1402179062","file0":"1402179061","file4":"1402179068","file5":"1402179071","file3":"1402179065"},"map_files_photo_id_array":[{"photo_id":"1402179071","filename":"file5"},{"photo_id":"1402179063","filename":"file2"},{"photo_id":"1402179068","filename":"file4"},{"photo_id":"1402179062","filename":"file1"},{"photo_id":"1402179061","filename":"file0"},{"photo_id":"1402179065","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179071":["hashtag1","hashtag2"]},{"1402179065":["hashtag1","hashtag2"]},{"1402179068":["hashtag1","hashtag2"]},{"1402179062":["hashtag1","hashtag2"]},{"1402179061":["hashtag1","hashtag2"]},{"1402179063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179071, 1402179065, 1402179068, 1402179062, 1402179061, 1402179063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06805396080017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:08:42.037785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_35_2864.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_38_3747.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_44_2695.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_47_3707.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_50_2637.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_53_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_35_2864.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_38_3747.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_44_2695.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_47_3707.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_50_2637.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_53_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179092","1402179089","1402179104","1402179100","1402179135","1402179120"],"photo_ids_order":["1402179089","1402179092","1402179100","1402179104","1402179120","1402179135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/21f127e5c43118494e2426a332a35844.jpg","text":"TemporaryFile(/tmp/multipartBody4906006494827133197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373783965,"filename":"image_05112025_19_55_38_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/2/2d73d1bfd3c7252bc125448176169b30.jpg","text":"TemporaryFile(/tmp/multipartBody5995429534150445166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373783965,"filename":"image_05112025_19_55_35_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/2/6610e9bd3b024f59ea1209bdbf51ff26.jpg","text":"TemporaryFile(/tmp/multipartBody7790712985118907422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373783965,"filename":"image_05112025_19_55_47_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ebf3d1f3542a09b761759006748a88e.jpg","text":"TemporaryFile(/tmp/multipartBody9207353831630133354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373783965,"filename":"image_05112025_19_55_44_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/2/2131251e8de0f9acc0ee4f14c72c759c.jpg","text":"TemporaryFile(/tmp/multipartBody7194200711139211018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373783965,"filename":"image_05112025_19_55_53_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/2/aea67dba403fdeecef9dc228b30ac94f.jpg","text":"TemporaryFile(/tmp/multipartBody3010270445754776907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373783965,"filename":"image_05112025_19_55_50_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179100","file1":"1402179092","file0":"1402179089","file4":"1402179120","file5":"1402179135","file3":"1402179104"},"map_files_photo_id_array":[{"photo_id":"1402179135","filename":"file5"},{"photo_id":"1402179100","filename":"file2"},{"photo_id":"1402179120","filename":"file4"},{"photo_id":"1402179092","filename":"file1"},{"photo_id":"1402179089","filename":"file0"},{"photo_id":"1402179104","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179092":["hashtag1","hashtag2"]},{"1402179089":["hashtag1","hashtag2"]},{"1402179104":["hashtag1","hashtag2"]},{"1402179100":["hashtag1","hashtag2"]},{"1402179135":["hashtag1","hashtag2"]},{"1402179120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179092, 1402179089, 1402179104, 1402179100, 1402179135, 1402179120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.883007764816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:09:22.322116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_15_10024.jpg', '/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_25_10598.jpg', '/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_35_9755.jpg', '/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_45_9885.jpg', '/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_55_9954.jpg', '/home/pi/Desktop/images/02012026/18/04/image_02012026_18_05_05_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_15_10024.jpg
/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_25_10598.jpg
/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_35_9755.jpg
/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_45_9885.jpg
/home/pi/Desktop/images/02012026/18/04/image_02012026_18_04_55_9954.jpg
/home/pi/Desktop/images/02012026/18/04/image_02012026_18_05_05_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179170","1402179164","1402179173","1402179166","1402179168","1402179162"],"photo_ids_order":["1402179162","1402179164","1402179166","1402179168","1402179170","1402179173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9346ad7b1f3bffb2ca9575593543e64d.jpg","text":"TemporaryFile(/tmp/multipartBody4356117516125494478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373822922,"filename":"image_02012026_18_04_55_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c4e9e2c4c79e04cd35fa17d5afbeaf8.jpg","text":"TemporaryFile(/tmp/multipartBody7204155048970900680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373822922,"filename":"image_02012026_18_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/2/dc8d05549bb79a3454c7d9cfdef1557e.jpg","text":"TemporaryFile(/tmp/multipartBody8942509128985907095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373822922,"filename":"image_02012026_18_05_05_10458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20c200e63719eaa88e71e5b82bf67018.jpg","text":"TemporaryFile(/tmp/multipartBody4955173994192631247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373822922,"filename":"image_02012026_18_04_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/2/16050daf4ee3e3de213fde4475ac08cf.jpg","text":"TemporaryFile(/tmp/multipartBody5257804714394835692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373822922,"filename":"image_02012026_18_04_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/2/6bc1035d70134430cfb497cb0a10f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody7692278131908210729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373822922,"filename":"image_02012026_18_04_15_10024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179166","file1":"1402179164","file0":"1402179162","file4":"1402179170","file5":"1402179173","file3":"1402179168"},"map_files_photo_id_array":[{"photo_id":"1402179173","filename":"file5"},{"photo_id":"1402179166","filename":"file2"},{"photo_id":"1402179170","filename":"file4"},{"photo_id":"1402179164","filename":"file1"},{"photo_id":"1402179162","filename":"file0"},{"photo_id":"1402179168","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179170":["hashtag1","hashtag2"]},{"1402179164":["hashtag1","hashtag2"]},{"1402179173":["hashtag1","hashtag2"]},{"1402179166":["hashtag1","hashtag2"]},{"1402179168":["hashtag1","hashtag2"]},{"1402179162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179170, 1402179164, 1402179173, 1402179166, 1402179168, 1402179162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.588234424591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:10:02.853906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_15_9750.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_25_9646.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_35_10632.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_45_9776.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_55_9649.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_06_05_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_15_9750.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_25_9646.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_35_10632.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_45_9776.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_55_9649.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_06_05_10547.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.49259400367736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:10:12.326911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_56_3612.jpg', '/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_59_2843.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_02_2591.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_18_16347.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_34_15491.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_41_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_56_3612.jpg
/home/pi/Desktop/images/05112025/19/55/image_05112025_19_55_59_2843.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_02_2591.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_18_16347.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_34_15491.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_41_1680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179185","1402179187","1402179178","1402179189","1402179180","1402179183"],"photo_ids_order":["1402179178","1402179180","1402179183","1402179185","1402179187","1402179189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f7478faa1ebbdb184f0f0defe5333685.jpg","text":"TemporaryFile(/tmp/multipartBody4306345047146223940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373874109,"filename":"image_05112025_19_56_18_16347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1dc2e913479dcd28a870c35ef4885d34.jpg","text":"TemporaryFile(/tmp/multipartBody2598765730171569380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373874109,"filename":"image_05112025_19_56_34_15491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80fa5065aca2fb477a69b7805e0838ed.jpg","text":"TemporaryFile(/tmp/multipartBody8956278212208656757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373874109,"filename":"image_05112025_19_55_56_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/2/797f3fe4df600c9549083268a1eb0ef3.jpg","text":"TemporaryFile(/tmp/multipartBody6971537699146867059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373874109,"filename":"image_05112025_19_56_41_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/2/1dc976b79dbf53065bf478ff1e37502a.jpg","text":"TemporaryFile(/tmp/multipartBody1958164018968580047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373874109,"filename":"image_05112025_19_55_59_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/2/399293854a6e5cbae50ab0f8e419c616.jpg","text":"TemporaryFile(/tmp/multipartBody5491281405743845022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373874109,"filename":"image_05112025_19_56_02_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179183","file1":"1402179180","file0":"1402179178","file4":"1402179187","file5":"1402179189","file3":"1402179185"},"map_files_photo_id_array":[{"photo_id":"1402179189","filename":"file5"},{"photo_id":"1402179183","filename":"file2"},{"photo_id":"1402179187","filename":"file4"},{"photo_id":"1402179180","filename":"file1"},{"photo_id":"1402179178","filename":"file0"},{"photo_id":"1402179185","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179185":["hashtag1","hashtag2"]},{"1402179187":["hashtag1","hashtag2"]},{"1402179178":["hashtag1","hashtag2"]},{"1402179189":["hashtag1","hashtag2"]},{"1402179180":["hashtag1","hashtag2"]},{"1402179183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179185, 1402179187, 1402179178, 1402179189, 1402179180, 1402179183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04829025268555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:11:03.291813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_15_9750.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_25_9646.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_35_10632.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_45_9776.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_55_9649.jpg', '/home/pi/Desktop/images/02012026/18/05/image_02012026_18_06_05_10547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_15_9750.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_25_9646.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_35_10632.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_45_9776.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_05_55_9649.jpg
/home/pi/Desktop/images/02012026/18/05/image_02012026_18_06_05_10547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179425","1402179430","1402179433","1402179427","1402179435","1402179389"],"photo_ids_order":["1402179389","1402179425","1402179427","1402179430","1402179433","1402179435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54e02e8def56dc7887216fd913a25777.jpg","text":"TemporaryFile(/tmp/multipartBody920173996097627473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373923973,"filename":"image_02012026_18_05_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/2/1acb9fc7665718286edb09f213835211.jpg","text":"TemporaryFile(/tmp/multipartBody3964436959762049285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373923973,"filename":"image_02012026_18_05_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/2/ea10da697ec970a9eaabc8aeba72bd10.jpg","text":"TemporaryFile(/tmp/multipartBody6372082650860861842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373923973,"filename":"image_02012026_18_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/2/3a3ff3adc172e4a594eac55c8d7d0a03.jpg","text":"TemporaryFile(/tmp/multipartBody7367721162601075849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373923973,"filename":"image_02012026_18_05_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/2/965bcf51a8db671010b9e09655cfaa21.jpg","text":"TemporaryFile(/tmp/multipartBody3648345531503076865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373923973,"filename":"image_02012026_18_06_05_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/2/ab5841813c73647c4e1e62835fe3cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2445857340340186958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373923973,"filename":"image_02012026_18_05_15_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179427","file1":"1402179425","file0":"1402179389","file4":"1402179433","file5":"1402179435","file3":"1402179430"},"map_files_photo_id_array":[{"photo_id":"1402179435","filename":"file5"},{"photo_id":"1402179427","filename":"file2"},{"photo_id":"1402179433","filename":"file4"},{"photo_id":"1402179425","filename":"file1"},{"photo_id":"1402179389","filename":"file0"},{"photo_id":"1402179430","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179425":["hashtag1","hashtag2"]},{"1402179430":["hashtag1","hashtag2"]},{"1402179433":["hashtag1","hashtag2"]},{"1402179427":["hashtag1","hashtag2"]},{"1402179435":["hashtag1","hashtag2"]},{"1402179389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179425, 1402179430, 1402179433, 1402179427, 1402179435, 1402179389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49394631385803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:11:42.599931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_43_1714.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_46_1655.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_49_1589.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_51_1736.jpg', '/home/pi/Desktop/images/05112025/19/56/image_05112025_19_57_00_6851.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_04_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_43_1714.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_46_1655.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_49_1589.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_56_51_1736.jpg
/home/pi/Desktop/images/05112025/19/56/image_05112025_19_57_00_6851.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_04_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":["1402179452","1402179469","1402179451","1402179450","1402179453","1402179441"],"photo_ids_order":["1402179441","1402179450","1402179451","1402179452","1402179453","1402179469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee700e7351fadf86ed55bbdbe149281e.jpg","text":"TemporaryFile(/tmp/multipartBody3800971583402639247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373964457,"filename":"image_05112025_19_56_51_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/2/556bbb9f7e9c214df7ddeda98a79f3a2.jpg","text":"TemporaryFile(/tmp/multipartBody5716376631524571098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373964457,"filename":"image_05112025_19_57_04_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/2/d72a83ce57e292ca813bc7cb7e8e99c3.jpg","text":"TemporaryFile(/tmp/multipartBody2780249745621428465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373964457,"filename":"image_05112025_19_56_49_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/2/827b727951aa70284807ce3486cb11df.jpg","text":"TemporaryFile(/tmp/multipartBody8848250907926516550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373964457,"filename":"image_05112025_19_56_46_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/2/907c3e1e3b9b40b4cb4ecf3177980de4.jpg","text":"TemporaryFile(/tmp/multipartBody6335135861002431760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373964457,"filename":"image_05112025_19_57_00_6851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98235a466e171b2ad96f8473ac261847.jpg","text":"TemporaryFile(/tmp/multipartBody1619764326417422467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767373964457,"filename":"image_05112025_19_56_43_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179451","file1":"1402179450","file0":"1402179441","file4":"1402179453","file5":"1402179469","file3":"1402179452"},"map_files_photo_id_array":[{"photo_id":"1402179469","filename":"file5"},{"photo_id":"1402179451","filename":"file2"},{"photo_id":"1402179453","filename":"file4"},{"photo_id":"1402179450","filename":"file1"},{"photo_id":"1402179441","filename":"file0"},{"photo_id":"1402179452","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179452":["hashtag1","hashtag2"]},{"1402179469":["hashtag1","hashtag2"]},{"1402179451":["hashtag1","hashtag2"]},{"1402179450":["hashtag1","hashtag2"]},{"1402179453":["hashtag1","hashtag2"]},{"1402179441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179452, 1402179469, 1402179451, 1402179450, 1402179453, 1402179441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69676351547241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:12:22.752774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_15_9755.jpg', '/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_25_9700.jpg', '/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_35_10599.jpg', '/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_45_9638.jpg', '/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_55_9643.jpg', '/home/pi/Desktop/images/02012026/18/06/image_02012026_18_07_05_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_15_9755.jpg
/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_25_9700.jpg
/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_35_10599.jpg
/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_45_9638.jpg
/home/pi/Desktop/images/02012026/18/06/image_02012026_18_06_55_9643.jpg
/home/pi/Desktop/images/02012026/18/06/image_02012026_18_07_05_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":["1402179608","1402179616","1402179610","1402179613","1402179624","1402179599"],"photo_ids_order":["1402179599","1402179608","1402179610","1402179613","1402179616","1402179624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/056aa2c76fa454b6619e3d27d88c4073.jpg","text":"TemporaryFile(/tmp/multipartBody178143719914474935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374003371,"filename":"image_02012026_18_06_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/2/de60bc7502991cc3c937c922640c664d.jpg","text":"TemporaryFile(/tmp/multipartBody6592763573653469511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374003371,"filename":"image_02012026_18_06_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/2/63378a6a459297765d727887e4c70d50.jpg","text":"TemporaryFile(/tmp/multipartBody8479088074639296322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374003371,"filename":"image_02012026_18_06_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/2/a01ab27f91c5b0606b82cb125ede2052.jpg","text":"TemporaryFile(/tmp/multipartBody4556183147135658650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374003371,"filename":"image_02012026_18_06_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7e9b6289cc6ba192aefe2135c04b0998.jpg","text":"TemporaryFile(/tmp/multipartBody7922968580327177099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374003371,"filename":"image_02012026_18_07_05_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/2/6e29c6a2f183a552085e6191b139a288.jpg","text":"TemporaryFile(/tmp/multipartBody4110281281277251165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374003371,"filename":"image_02012026_18_06_15_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179610","file1":"1402179608","file0":"1402179599","file4":"1402179616","file5":"1402179624","file3":"1402179613"},"map_files_photo_id_array":[{"photo_id":"1402179624","filename":"file5"},{"photo_id":"1402179610","filename":"file2"},{"photo_id":"1402179616","filename":"file4"},{"photo_id":"1402179608","filename":"file1"},{"photo_id":"1402179599","filename":"file0"},{"photo_id":"1402179613","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179608":["hashtag1","hashtag2"]},{"1402179616":["hashtag1","hashtag2"]},{"1402179610":["hashtag1","hashtag2"]},{"1402179613":["hashtag1","hashtag2"]},{"1402179624":["hashtag1","hashtag2"]},{"1402179599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179608, 1402179616, 1402179610, 1402179613, 1402179624, 1402179599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.181949615478516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:13:12.064392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_06_1698.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_08_1793.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_10_1845.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_16_1706.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_17_1657.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_22_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_06_1698.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_08_1793.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_10_1845.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_16_1706.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_17_1657.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_22_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179653","1402179646","1402179649","1402179640","1402179643","1402179651"],"photo_ids_order":["1402179640","1402179643","1402179646","1402179649","1402179651","1402179653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/073bb18800601bf45466297390436ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1794482032879430868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374053781,"filename":"image_05112025_19_57_22_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/2/76ba432d2f029881cc889ad50cdadbf9.jpg","text":"TemporaryFile(/tmp/multipartBody3474409830706996830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374053781,"filename":"image_05112025_19_57_10_1845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe3febea81d2b66cbe832a965df50341.jpg","text":"TemporaryFile(/tmp/multipartBody1668825074789992933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374053781,"filename":"image_05112025_19_57_16_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/2/936d054f39edc4ef917e6684469c301b.jpg","text":"TemporaryFile(/tmp/multipartBody9089174420253980423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374053781,"filename":"image_05112025_19_57_06_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/2/8669200e81cf2b3c0866128a6fd95e36.jpg","text":"TemporaryFile(/tmp/multipartBody3955894026451238695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374053781,"filename":"image_05112025_19_57_08_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/40129c72a4c906ba1fe8c0aa6caf042b.jpg","text":"TemporaryFile(/tmp/multipartBody81865393008698399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374053781,"filename":"image_05112025_19_57_17_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179646","file1":"1402179643","file0":"1402179640","file4":"1402179651","file5":"1402179653","file3":"1402179649"},"map_files_photo_id_array":[{"photo_id":"1402179653","filename":"file5"},{"photo_id":"1402179646","filename":"file2"},{"photo_id":"1402179651","filename":"file4"},{"photo_id":"1402179643","filename":"file1"},{"photo_id":"1402179640","filename":"file0"},{"photo_id":"1402179649","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179653":["hashtag1","hashtag2"]},{"1402179646":["hashtag1","hashtag2"]},{"1402179649":["hashtag1","hashtag2"]},{"1402179640":["hashtag1","hashtag2"]},{"1402179643":["hashtag1","hashtag2"]},{"1402179651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179653, 1402179646, 1402179649, 1402179640, 1402179643, 1402179651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.345579385757446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:14:09.965266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_15_9739.jpg', '/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_25_9729.jpg', '/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_35_10668.jpg', '/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_45_9615.jpg', '/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_55_9578.jpg', '/home/pi/Desktop/images/02012026/18/07/image_02012026_18_08_05_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_15_9739.jpg
/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_25_9729.jpg
/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_35_10668.jpg
/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_45_9615.jpg
/home/pi/Desktop/images/02012026/18/07/image_02012026_18_07_55_9578.jpg
/home/pi/Desktop/images/02012026/18/07/image_02012026_18_08_05_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":["1402179677","1402179679","1402179670","1402179664","1402179660","1402179657"],"photo_ids_order":["1402179657","1402179660","1402179664","1402179670","1402179677","1402179679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88a6e0d6dc2ea91bd163ed215b8e8804.jpg","text":"TemporaryFile(/tmp/multipartBody5779571671790472384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374110587,"filename":"image_02012026_18_07_55_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/2/20c3754686d2d2a3c4f7601033e534d2.jpg","text":"TemporaryFile(/tmp/multipartBody7064629291865625302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374110587,"filename":"image_02012026_18_08_05_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/2/79e072e172d579267786f41bdd67bb7f.jpg","text":"TemporaryFile(/tmp/multipartBody6021503426722176126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374110587,"filename":"image_02012026_18_07_45_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/2/985ce2c93d4f9db95db43518719188a7.jpg","text":"TemporaryFile(/tmp/multipartBody6082773213216441303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374110587,"filename":"image_02012026_18_07_35_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/2/fa79deb99762805a675d11b3b1fd009d.jpg","text":"TemporaryFile(/tmp/multipartBody5949165779354435190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374110587,"filename":"image_02012026_18_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/2/f86653ee470e6c2e3d1517039ff8846c.jpg","text":"TemporaryFile(/tmp/multipartBody964144607595531323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374110587,"filename":"image_02012026_18_07_15_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179664","file1":"1402179660","file0":"1402179657","file4":"1402179677","file5":"1402179679","file3":"1402179670"},"map_files_photo_id_array":[{"photo_id":"1402179679","filename":"file5"},{"photo_id":"1402179664","filename":"file2"},{"photo_id":"1402179677","filename":"file4"},{"photo_id":"1402179660","filename":"file1"},{"photo_id":"1402179657","filename":"file0"},{"photo_id":"1402179670","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179677":["hashtag1","hashtag2"]},{"1402179679":["hashtag1","hashtag2"]},{"1402179670":["hashtag1","hashtag2"]},{"1402179664":["hashtag1","hashtag2"]},{"1402179660":["hashtag1","hashtag2"]},{"1402179657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179677, 1402179679, 1402179670, 1402179664, 1402179660, 1402179657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.650383949279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:14:49.400045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_24_1715.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_26_1675.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_27_1616.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_29_1726.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_32_3281.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_34_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_24_1715.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_26_1675.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_27_1616.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_29_1726.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_32_3281.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_34_1560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179704","1402179697","1402179700","1402179699","1402179702","1402179692"],"photo_ids_order":["1402179692","1402179697","1402179699","1402179700","1402179702","1402179704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd471d14db0c8a11757b4fbba1660ae5.jpg","text":"TemporaryFile(/tmp/multipartBody805161275011379931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374151262,"filename":"image_05112025_19_57_34_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/2/d11b9b916a46d7e02eaadbc26e719450.jpg","text":"TemporaryFile(/tmp/multipartBody3779407646355338604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374151262,"filename":"image_05112025_19_57_26_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/2/6f986d50cc518852549cf0d19d76bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody8075070038962150684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374151262,"filename":"image_05112025_19_57_29_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/2/6e654463249b3426f9c72d7689282949.jpg","text":"TemporaryFile(/tmp/multipartBody2187756082072163996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374151262,"filename":"image_05112025_19_57_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/2/58128925f204638409a128d039163abe.jpg","text":"TemporaryFile(/tmp/multipartBody6123441422160602098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374151262,"filename":"image_05112025_19_57_32_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/2/7a86e94cde559c633557a64403645cfd.jpg","text":"TemporaryFile(/tmp/multipartBody175293122205778257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374151262,"filename":"image_05112025_19_57_24_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179699","file1":"1402179697","file0":"1402179692","file4":"1402179702","file5":"1402179704","file3":"1402179700"},"map_files_photo_id_array":[{"photo_id":"1402179704","filename":"file5"},{"photo_id":"1402179699","filename":"file2"},{"photo_id":"1402179702","filename":"file4"},{"photo_id":"1402179697","filename":"file1"},{"photo_id":"1402179692","filename":"file0"},{"photo_id":"1402179700","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179704":["hashtag1","hashtag2"]},{"1402179697":["hashtag1","hashtag2"]},{"1402179700":["hashtag1","hashtag2"]},{"1402179699":["hashtag1","hashtag2"]},{"1402179702":["hashtag1","hashtag2"]},{"1402179692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179704, 1402179697, 1402179700, 1402179699, 1402179702, 1402179692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8850519657135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:15:32.531487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_44_8029.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_45_1602.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_47_1731.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_49_1659.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_52_1766.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_54_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_44_8029.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_45_1602.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_47_1731.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_49_1659.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_52_1766.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_54_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":["1402179719","1402179721","1402179712","1402179720","1402179714","1402179717"],"photo_ids_order":["1402179712","1402179714","1402179717","1402179719","1402179720","1402179721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/56b1963898792e3cdd9d714d3289383f.jpg","text":"TemporaryFile(/tmp/multipartBody7315972982954733450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374194393,"filename":"image_05112025_19_57_49_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/2/00d336452282c7802f61790efece8a10.jpg","text":"TemporaryFile(/tmp/multipartBody143393351866199668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374194393,"filename":"image_05112025_19_57_54_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/2/f949db73a9b9b9f9ffccf2a416d97e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6812424625149755305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374194393,"filename":"image_05112025_19_57_44_8029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9f26a8baf110900d8f8256d2d93da69.jpg","text":"TemporaryFile(/tmp/multipartBody798920515744067271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374194393,"filename":"image_05112025_19_57_52_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/2/a1f64b14ce55cf9e0cb375e8d528c51d.jpg","text":"TemporaryFile(/tmp/multipartBody8875651331407738839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374194393,"filename":"image_05112025_19_57_45_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/2/a83ba16a28080f4402cfa63ea0f04d66.jpg","text":"TemporaryFile(/tmp/multipartBody5970884848370626154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374194393,"filename":"image_05112025_19_57_47_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179717","file1":"1402179714","file0":"1402179712","file4":"1402179720","file5":"1402179721","file3":"1402179719"},"map_files_photo_id_array":[{"photo_id":"1402179721","filename":"file5"},{"photo_id":"1402179717","filename":"file2"},{"photo_id":"1402179720","filename":"file4"},{"photo_id":"1402179714","filename":"file1"},{"photo_id":"1402179712","filename":"file0"},{"photo_id":"1402179719","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179719":["hashtag1","hashtag2"]},{"1402179721":["hashtag1","hashtag2"]},{"1402179712":["hashtag1","hashtag2"]},{"1402179720":["hashtag1","hashtag2"]},{"1402179714":["hashtag1","hashtag2"]},{"1402179717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179719, 1402179721, 1402179712, 1402179720, 1402179714, 1402179717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.908350706100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:16:22.002539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_15_9670.jpg', '/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_25_9692.jpg', '/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_35_10584.jpg', '/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_45_9686.jpg', '/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_55_9691.jpg', '/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_15_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_15_9670.jpg
/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_25_9692.jpg
/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_35_10584.jpg
/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_45_9686.jpg
/home/pi/Desktop/images/02012026/18/08/image_02012026_18_08_55_9691.jpg
/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_15_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179734","1402179754","1402179727","1402179730","1402179771","1402179765"],"photo_ids_order":["1402179727","1402179730","1402179734","1402179754","1402179765","1402179771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65b99ee1ecac3a6f52bc476cb624ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody6359635834400450992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374242579,"filename":"image_02012026_18_08_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/2/d6f8f9c221f6d4faeea0178a487941b7.jpg","text":"TemporaryFile(/tmp/multipartBody6483131998034942900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374242579,"filename":"image_02012026_18_08_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/2/62887eb7fa6ad8c7fdb8bc28c1a1d5f9.jpg","text":"TemporaryFile(/tmp/multipartBody8123876020847054805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374242579,"filename":"image_02012026_18_08_15_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/2/436a52f39dfbd24cf8dbe8c0727fc7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4162408785082429757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374242579,"filename":"image_02012026_18_08_25_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/2/49d58aaab87324977294eb9247b1dfca.jpg","text":"TemporaryFile(/tmp/multipartBody3916154668531121954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374242579,"filename":"image_02012026_18_09_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/2/cc0aa09b8a7d59c23b8403d944dab66e.jpg","text":"TemporaryFile(/tmp/multipartBody8924299337649988046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374242579,"filename":"image_02012026_18_08_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179734","file1":"1402179730","file0":"1402179727","file4":"1402179765","file5":"1402179771","file3":"1402179754"},"map_files_photo_id_array":[{"photo_id":"1402179771","filename":"file5"},{"photo_id":"1402179734","filename":"file2"},{"photo_id":"1402179765","filename":"file4"},{"photo_id":"1402179730","filename":"file1"},{"photo_id":"1402179727","filename":"file0"},{"photo_id":"1402179754","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179734":["hashtag1","hashtag2"]},{"1402179754":["hashtag1","hashtag2"]},{"1402179727":["hashtag1","hashtag2"]},{"1402179730":["hashtag1","hashtag2"]},{"1402179771":["hashtag1","hashtag2"]},{"1402179765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179734, 1402179754, 1402179727, 1402179730, 1402179771, 1402179765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23978781700134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:17:02.997988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_25_9625.jpg', '/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_35_10664.jpg', '/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_45_9705.jpg', '/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_55_9676.jpg', '/home/pi/Desktop/images/02012026/18/09/image_02012026_18_10_05_10754.jpg', '/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_15_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_25_9625.jpg
/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_35_10664.jpg
/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_45_9705.jpg
/home/pi/Desktop/images/02012026/18/09/image_02012026_18_09_55_9676.jpg
/home/pi/Desktop/images/02012026/18/09/image_02012026_18_10_05_10754.jpg
/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_15_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":["1402179788","1402179776","1402179781","1402179778","1402179774","1402179785"],"photo_ids_order":["1402179774","1402179776","1402179778","1402179781","1402179785","1402179788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/985f5270cd29ea37ac2660c0c00308ee.jpg","text":"TemporaryFile(/tmp/multipartBody6070152892289425051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374283619,"filename":"image_02012026_18_10_15_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/2/05b0789f9af140dc0132af42340d4ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8173845848336679855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374283619,"filename":"image_02012026_18_09_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/2/b6a7cedbc39cdb0de00d45f41ec46268.jpg","text":"TemporaryFile(/tmp/multipartBody2946902646225498593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374283619,"filename":"image_02012026_18_09_55_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/2/c6dce14e7a6b3689673199a7bb902366.jpg","text":"TemporaryFile(/tmp/multipartBody971998253972936516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374283619,"filename":"image_02012026_18_09_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/2/440654e0a5eb7b447f99c45425b055bf.jpg","text":"TemporaryFile(/tmp/multipartBody6155003603322244611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374283619,"filename":"image_02012026_18_09_25_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/2/73b0520d4ee15039ec71a1e10c955bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6827791542449572064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374283619,"filename":"image_02012026_18_10_05_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179778","file1":"1402179776","file0":"1402179774","file4":"1402179785","file5":"1402179788","file3":"1402179781"},"map_files_photo_id_array":[{"photo_id":"1402179788","filename":"file5"},{"photo_id":"1402179778","filename":"file2"},{"photo_id":"1402179785","filename":"file4"},{"photo_id":"1402179776","filename":"file1"},{"photo_id":"1402179774","filename":"file0"},{"photo_id":"1402179781","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402179788":["hashtag1","hashtag2"]},{"1402179776":["hashtag1","hashtag2"]},{"1402179781":["hashtag1","hashtag2"]},{"1402179778":["hashtag1","hashtag2"]},{"1402179774":["hashtag1","hashtag2"]},{"1402179785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402179788, 1402179776, 1402179781, 1402179778, 1402179774, 1402179785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76477265357971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:17:42.547203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_56_1824.jpg', '/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_57_1573.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_08_4294.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_12_1730.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_17_2731.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_19_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_56_1824.jpg
/home/pi/Desktop/images/05112025/19/57/image_05112025_19_57_57_1573.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_08_4294.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_12_1730.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_17_2731.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_19_2529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402179893","1402179794","1402179964","1402179928","1402179823","1402179858"],"photo_ids_order":["1402179794","1402179823","1402179858","1402179893","1402179928","1402179964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b56923086e1a3475bfaf39e04562b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2731653818335706489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374324415,"filename":"image_05112025_19_58_12_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/2/7e7f462406a1e471c0ef3405d9612936.jpg","text":"TemporaryFile(/tmp/multipartBody3403233616334099118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374324415,"filename":"image_05112025_19_57_56_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/2/c5291ea0e2cc3434fe3a941e4fb901ed.jpg","text":"TemporaryFile(/tmp/multipartBody7148083984736920200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374324415,"filename":"image_05112025_19_58_19_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/2/3670b5613d1b4c61620158844aad2f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2114701452558751980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374324415,"filename":"image_05112025_19_58_17_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/2/30c7f4fe0cda2f193923f638a8fa8807.jpg","text":"TemporaryFile(/tmp/multipartBody5553939778386564317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374324415,"filename":"image_05112025_19_57_57_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/2/0296f7c206b54a7aa9ed5655453a0e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6594298713188084826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374324415,"filename":"image_05112025_19_58_08_4294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402179858","file1":"1402179823","file0":"1402179794","file4":"1402179928","file5":"1402179964","file3":"1402179893"},"map_files_photo_id_array":[{"photo_id":"1402179964","filename":"file5"},{"photo_id":"1402179858","filename":"file2"},{"photo_id":"1402179928","filename":"file4"},{"photo_id":"1402179823","filename":"file1"},{"photo_id":"1402179794","filename":"file0"},{"photo_id":"1402179893","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402179893":["hashtag1","hashtag2"]},{"1402179794":["hashtag1","hashtag2"]},{"1402179964":["hashtag1","hashtag2"]},{"1402179928":["hashtag1","hashtag2"]},{"1402179823":["hashtag1","hashtag2"]},{"1402179858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402179893, 1402179794, 1402179964, 1402179928, 1402179823, 1402179858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19105887413025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:18:22.812878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_25_9712.jpg', '/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_35_10606.jpg', '/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_45_9617.jpg', '/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_55_9642.jpg', '/home/pi/Desktop/images/02012026/18/10/image_02012026_18_11_05_10687.jpg', '/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_15_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_25_9712.jpg
/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_35_10606.jpg
/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_45_9617.jpg
/home/pi/Desktop/images/02012026/18/10/image_02012026_18_10_55_9642.jpg
/home/pi/Desktop/images/02012026/18/10/image_02012026_18_11_05_10687.jpg
/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_15_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":["1402180059","1402180064","1402180031","1402180078","1402180027","1402180068"],"photo_ids_order":["1402180027","1402180031","1402180059","1402180064","1402180068","1402180078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/059f73545b33062c343c82be9cf8c2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5489271144604483737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374363399,"filename":"image_02012026_18_10_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/2/e9488a41cbf88afe316c52c0c2e22d3c.jpg","text":"TemporaryFile(/tmp/multipartBody6850178074053038303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374363399,"filename":"image_02012026_18_10_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/2/ac04d6f31eb6dbc3281beb8e525f4560.jpg","text":"TemporaryFile(/tmp/multipartBody5316196651049193936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374363399,"filename":"image_02012026_18_10_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/2/ddf560af3c9a39be738719b5076a246d.jpg","text":"TemporaryFile(/tmp/multipartBody4252303720411601801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374363399,"filename":"image_02012026_18_11_15_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/2/d90a73bcac1d0e6a361fdb83717208a5.jpg","text":"TemporaryFile(/tmp/multipartBody6607043175379123365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374363399,"filename":"image_02012026_18_10_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/2/67e77396fb1cb968cb3b3ef03eefab3b.jpg","text":"TemporaryFile(/tmp/multipartBody5504338305203147916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374363399,"filename":"image_02012026_18_11_05_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180059","file1":"1402180031","file0":"1402180027","file4":"1402180068","file5":"1402180078","file3":"1402180064"},"map_files_photo_id_array":[{"photo_id":"1402180078","filename":"file5"},{"photo_id":"1402180059","filename":"file2"},{"photo_id":"1402180068","filename":"file4"},{"photo_id":"1402180031","filename":"file1"},{"photo_id":"1402180027","filename":"file0"},{"photo_id":"1402180064","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180059":["hashtag1","hashtag2"]},{"1402180064":["hashtag1","hashtag2"]},{"1402180031":["hashtag1","hashtag2"]},{"1402180078":["hashtag1","hashtag2"]},{"1402180027":["hashtag1","hashtag2"]},{"1402180068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180059, 1402180064, 1402180031, 1402180078, 1402180027, 1402180068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.778767108917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:19:02.797023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_25_9561.jpg', '/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_35_10726.jpg', '/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_45_9606.jpg', '/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_54_9632.jpg', '/home/pi/Desktop/images/02012026/18/11/image_02012026_18_12_05_10543.jpg', '/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_15_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_25_9561.jpg
/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_35_10726.jpg
/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_45_9606.jpg
/home/pi/Desktop/images/02012026/18/11/image_02012026_18_11_54_9632.jpg
/home/pi/Desktop/images/02012026/18/11/image_02012026_18_12_05_10543.jpg
/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_15_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":["1402180157","1402180211","1402180189","1402180123","1402180120","1402180188"],"photo_ids_order":["1402180120","1402180123","1402180157","1402180188","1402180189","1402180211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4d2eef639809039ad725a4301d5d32f0.jpg","text":"TemporaryFile(/tmp/multipartBody4916392244690514734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374403478,"filename":"image_02012026_18_11_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/2/e35dbaa5e490a0f68d1c1c61fda392b7.jpg","text":"TemporaryFile(/tmp/multipartBody908510111577780366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374403478,"filename":"image_02012026_18_12_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/2/b6e03c306f3c7aacccf91b17c0d9d5af.jpg","text":"TemporaryFile(/tmp/multipartBody291221822667014570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374403478,"filename":"image_02012026_18_12_05_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/2/785150f8b5dd222dfe4882d573d1eab6.jpg","text":"TemporaryFile(/tmp/multipartBody8109635589110319117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374403478,"filename":"image_02012026_18_11_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/2/d0d899ffcff8bf037df515376e1132d4.jpg","text":"TemporaryFile(/tmp/multipartBody2691681175995749580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374403478,"filename":"image_02012026_18_11_25_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/2/9a367eeb0b66397008ce83c30cdaae39.jpg","text":"TemporaryFile(/tmp/multipartBody3729149626218608181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374403478,"filename":"image_02012026_18_11_54_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180157","file1":"1402180123","file0":"1402180120","file4":"1402180189","file5":"1402180211","file3":"1402180188"},"map_files_photo_id_array":[{"photo_id":"1402180211","filename":"file5"},{"photo_id":"1402180157","filename":"file2"},{"photo_id":"1402180189","filename":"file4"},{"photo_id":"1402180123","filename":"file1"},{"photo_id":"1402180120","filename":"file0"},{"photo_id":"1402180188","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180157":["hashtag1","hashtag2"]},{"1402180211":["hashtag1","hashtag2"]},{"1402180189":["hashtag1","hashtag2"]},{"1402180123":["hashtag1","hashtag2"]},{"1402180120":["hashtag1","hashtag2"]},{"1402180188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180157, 1402180211, 1402180189, 1402180123, 1402180120, 1402180188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31463932991028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:19:41.869136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_42_19283.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_51_8983.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_57_6094.jpg', '/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_59_1606.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_01_1631.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_02_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_42_19283.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_51_8983.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_57_6094.jpg
/home/pi/Desktop/images/05112025/19/58/image_05112025_19_58_59_1606.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_01_1631.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_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":["1402180394","1402180477","1402180480","1402180468","1402180357","1402180431"],"photo_ids_order":["1402180357","1402180394","1402180431","1402180468","1402180477","1402180480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3ce32061023c4859c73d5abb7633881c.jpg","text":"TemporaryFile(/tmp/multipartBody1688887223813970764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374443722,"filename":"image_05112025_19_58_51_8983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba6fcb7b70798f3c8e01b8695f69eee5.jpg","text":"TemporaryFile(/tmp/multipartBody3148697520310364316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374443722,"filename":"image_05112025_19_59_01_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/2/dc7200d0233c8782bcaf9c29df263e19.jpg","text":"TemporaryFile(/tmp/multipartBody6043828889935264220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374443722,"filename":"image_05112025_19_59_02_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/2/d20cec23aea36fad3612cddf5b8c19bc.jpg","text":"TemporaryFile(/tmp/multipartBody5837396240467984526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374443722,"filename":"image_05112025_19_58_59_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/2/7300f088d0a0de02f42e78bdbfed2ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6338210071566854819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374443722,"filename":"image_05112025_19_58_42_19283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36c836ee105e0ee6e5c1a800c7fbdc34.jpg","text":"TemporaryFile(/tmp/multipartBody8890992436758115500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374443722,"filename":"image_05112025_19_58_57_6094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180431","file1":"1402180394","file0":"1402180357","file4":"1402180477","file5":"1402180480","file3":"1402180468"},"map_files_photo_id_array":[{"photo_id":"1402180480","filename":"file5"},{"photo_id":"1402180431","filename":"file2"},{"photo_id":"1402180477","filename":"file4"},{"photo_id":"1402180394","filename":"file1"},{"photo_id":"1402180357","filename":"file0"},{"photo_id":"1402180468","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402180394":["hashtag1","hashtag2"]},{"1402180477":["hashtag1","hashtag2"]},{"1402180480":["hashtag1","hashtag2"]},{"1402180468":["hashtag1","hashtag2"]},{"1402180357":["hashtag1","hashtag2"]},{"1402180431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402180394, 1402180477, 1402180480, 1402180468, 1402180357, 1402180431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95172476768494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:20:22.114156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_25_10702.jpg', '/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_35_9783.jpg', '/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_45_9722.jpg', '/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_55_9727.jpg', '/home/pi/Desktop/images/02012026/18/12/image_02012026_18_13_05_10681.jpg', '/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_15_9543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_25_10702.jpg
/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_35_9783.jpg
/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_45_9722.jpg
/home/pi/Desktop/images/02012026/18/12/image_02012026_18_12_55_9727.jpg
/home/pi/Desktop/images/02012026/18/12/image_02012026_18_13_05_10681.jpg
/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_15_9543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402180490","1402180493","1402180502","1402180513","1402180488","1402180485"],"photo_ids_order":["1402180485","1402180488","1402180490","1402180493","1402180502","1402180513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ccc1e32468995d5d712cbbb54dc1a78.jpg","text":"TemporaryFile(/tmp/multipartBody4342126536730043279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374482724,"filename":"image_02012026_18_12_45_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/2/5c4953b039dd97178f8fae600f77d3c1.jpg","text":"TemporaryFile(/tmp/multipartBody8910348080171908378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374482724,"filename":"image_02012026_18_12_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/2/6ec17bc7da52d7ca43f03e49fe57d019.jpg","text":"TemporaryFile(/tmp/multipartBody8594357365583611888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374482724,"filename":"image_02012026_18_13_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/2/5fa0d82f49235df1e1de8941f01ad398.jpg","text":"TemporaryFile(/tmp/multipartBody6216396940676743724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374482724,"filename":"image_02012026_18_13_15_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/2/077af5db82a6b2267cdd4d644f22501a.jpg","text":"TemporaryFile(/tmp/multipartBody6301128736596437176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374482724,"filename":"image_02012026_18_12_35_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/2/39e5548a2e5ba79239ffdc36d34caa7f.jpg","text":"TemporaryFile(/tmp/multipartBody4693081056262444810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374482724,"filename":"image_02012026_18_12_25_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180490","file1":"1402180488","file0":"1402180485","file4":"1402180502","file5":"1402180513","file3":"1402180493"},"map_files_photo_id_array":[{"photo_id":"1402180513","filename":"file5"},{"photo_id":"1402180490","filename":"file2"},{"photo_id":"1402180502","filename":"file4"},{"photo_id":"1402180488","filename":"file1"},{"photo_id":"1402180485","filename":"file0"},{"photo_id":"1402180493","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180490":["hashtag1","hashtag2"]},{"1402180493":["hashtag1","hashtag2"]},{"1402180502":["hashtag1","hashtag2"]},{"1402180513":["hashtag1","hashtag2"]},{"1402180488":["hashtag1","hashtag2"]},{"1402180485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180490, 1402180493, 1402180502, 1402180513, 1402180488, 1402180485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86470079421997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:21:03.110534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_24_9605.jpg', '/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_35_10886.jpg', '/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_45_9758.jpg', '/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_55_9556.jpg', '/home/pi/Desktop/images/02012026/18/13/image_02012026_18_14_05_10646.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_15_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_24_9605.jpg
/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_35_10886.jpg
/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_45_9758.jpg
/home/pi/Desktop/images/02012026/18/13/image_02012026_18_13_55_9556.jpg
/home/pi/Desktop/images/02012026/18/13/image_02012026_18_14_05_10646.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_15_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402180521","1402180523","1402180531","1402180534","1402180528","1402180525"],"photo_ids_order":["1402180521","1402180523","1402180525","1402180528","1402180531","1402180534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/859c0df6725a8263dd703a00d0c769aa.jpg","text":"TemporaryFile(/tmp/multipartBody727402310195442547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374523732,"filename":"image_02012026_18_13_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/2/f63324abad2ddaaf83bcabd820b75ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1787891522499796079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374523732,"filename":"image_02012026_18_13_35_10886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9e8b4fffd7f46baaf8a5ba481d8c92a4.jpg","text":"TemporaryFile(/tmp/multipartBody8010392955238568424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374523732,"filename":"image_02012026_18_14_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/2/998551b3071f78e51e4cfdc5b1be1255.jpg","text":"TemporaryFile(/tmp/multipartBody1350919861541320506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374523732,"filename":"image_02012026_18_14_15_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/2/ff8b337fc5b03fcfc830cf3b1f1c1a19.jpg","text":"TemporaryFile(/tmp/multipartBody1226374153608787263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374523732,"filename":"image_02012026_18_13_55_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/2/7067d36783f6061e4b978346404a2f27.jpg","text":"TemporaryFile(/tmp/multipartBody4210098684511040611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374523732,"filename":"image_02012026_18_13_45_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180525","file1":"1402180523","file0":"1402180521","file4":"1402180531","file5":"1402180534","file3":"1402180528"},"map_files_photo_id_array":[{"photo_id":"1402180534","filename":"file5"},{"photo_id":"1402180525","filename":"file2"},{"photo_id":"1402180531","filename":"file4"},{"photo_id":"1402180523","filename":"file1"},{"photo_id":"1402180521","filename":"file0"},{"photo_id":"1402180528","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180521":["hashtag1","hashtag2"]},{"1402180523":["hashtag1","hashtag2"]},{"1402180531":["hashtag1","hashtag2"]},{"1402180534":["hashtag1","hashtag2"]},{"1402180528":["hashtag1","hashtag2"]},{"1402180525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180521, 1402180523, 1402180531, 1402180534, 1402180528, 1402180525)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.20517587661743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:22:02.716633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_25_9550.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_35_10211.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_45_9601.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_55_10654.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_15_05_9554.jpg', '/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_15_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_25_9550.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_35_10211.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_45_9601.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_55_10654.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_15_05_9554.jpg
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_15_10541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5448040962219238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:22:15.925969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_04_1691.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_06_1699.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_07_1628.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_12_5088.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_14_1642.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_16_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_04_1691.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_06_1699.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_07_1628.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_12_5088.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_14_1642.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_16_1725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402180583","1402180574","1402180568","1402180581","1402180578","1402180572"],"photo_ids_order":["1402180568","1402180572","1402180574","1402180578","1402180581","1402180583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75760f84fc2cce03aa3c210b65446923.jpg","text":"TemporaryFile(/tmp/multipartBody4197661776586588149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374600016,"filename":"image_05112025_19_59_16_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/2/7b79832af0e414a2294d97c03ce81f59.jpg","text":"TemporaryFile(/tmp/multipartBody6361809436169041302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374600016,"filename":"image_05112025_19_59_07_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/2/aa8ba548c1e51cf85e2092ba10da76e5.jpg","text":"TemporaryFile(/tmp/multipartBody1595274532861923870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374600016,"filename":"image_05112025_19_59_04_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/2/5730f34f4dd0c3afc64731e3ebdca2ca.jpg","text":"TemporaryFile(/tmp/multipartBody7588856753805595113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374600016,"filename":"image_05112025_19_59_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/2/50a72d425a736b84840d5b5ff58a3d09.jpg","text":"TemporaryFile(/tmp/multipartBody2906228242916393773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374600016,"filename":"image_05112025_19_59_12_5088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09e44722f7c8404ba4cd0ddaa5abb75b.jpg","text":"TemporaryFile(/tmp/multipartBody1937511101786369079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374600016,"filename":"image_05112025_19_59_06_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180574","file1":"1402180572","file0":"1402180568","file4":"1402180581","file5":"1402180583","file3":"1402180578"},"map_files_photo_id_array":[{"photo_id":"1402180583","filename":"file5"},{"photo_id":"1402180574","filename":"file2"},{"photo_id":"1402180581","filename":"file4"},{"photo_id":"1402180572","filename":"file1"},{"photo_id":"1402180568","filename":"file0"},{"photo_id":"1402180578","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402180583":["hashtag1","hashtag2"]},{"1402180574":["hashtag1","hashtag2"]},{"1402180568":["hashtag1","hashtag2"]},{"1402180581":["hashtag1","hashtag2"]},{"1402180578":["hashtag1","hashtag2"]},{"1402180572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402180583, 1402180574, 1402180568, 1402180581, 1402180578, 1402180572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.292532205581665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:23:03.012405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_25_9550.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_35_10211.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_45_9601.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_55_10654.jpg', '/home/pi/Desktop/images/02012026/18/14/image_02012026_18_15_05_9554.jpg', '/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_15_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_25_9550.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_35_10211.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_45_9601.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_14_55_10654.jpg
/home/pi/Desktop/images/02012026/18/14/image_02012026_18_15_05_9554.jpg
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_15_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402180592","1402180595","1402180597","1402180588","1402180599","1402180590"],"photo_ids_order":["1402180588","1402180590","1402180592","1402180595","1402180597","1402180599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1cda27dc3bab182b23f69dd640ef80f0.jpg","text":"TemporaryFile(/tmp/multipartBody2857777973146003381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374643671,"filename":"image_02012026_18_14_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/2/039a2a6e55c1c66111b34c89f1b4e412.jpg","text":"TemporaryFile(/tmp/multipartBody4257134184718060051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374643671,"filename":"image_02012026_18_14_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/2/05df99b96830153f5c3c117c58a5c203.jpg","text":"TemporaryFile(/tmp/multipartBody8005129105400593795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374643671,"filename":"image_02012026_18_15_05_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/2/49b0d0262e6c3e9ed6a0a909903f86d4.jpg","text":"TemporaryFile(/tmp/multipartBody189235978529731688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374643671,"filename":"image_02012026_18_14_25_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/2/592b7bd82afc16a2adc7e5c9f367aa9c.jpg","text":"TemporaryFile(/tmp/multipartBody4562651653860151966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374643671,"filename":"image_02012026_18_15_15_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/2/d719e6117f1c7d6e5221039f097dd52a.jpg","text":"TemporaryFile(/tmp/multipartBody7629652387588019181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374643671,"filename":"image_02012026_18_14_35_10211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180592","file1":"1402180590","file0":"1402180588","file4":"1402180597","file5":"1402180599","file3":"1402180595"},"map_files_photo_id_array":[{"photo_id":"1402180599","filename":"file5"},{"photo_id":"1402180592","filename":"file2"},{"photo_id":"1402180597","filename":"file4"},{"photo_id":"1402180590","filename":"file1"},{"photo_id":"1402180588","filename":"file0"},{"photo_id":"1402180595","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180592":["hashtag1","hashtag2"]},{"1402180595":["hashtag1","hashtag2"]},{"1402180597":["hashtag1","hashtag2"]},{"1402180588":["hashtag1","hashtag2"]},{"1402180599":["hashtag1","hashtag2"]},{"1402180590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180592, 1402180595, 1402180597, 1402180588, 1402180599, 1402180590)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.39270257949829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:24:02.681357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 18:24:22.032748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_25_9825.jpg', '/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_35_9787.jpg', '/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_45_9649.jpg', '/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_55_10599.jpg', '/home/pi/Desktop/images/02012026/18/15/image_02012026_18_16_05_9846.jpg', '/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_15_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_25_9825.jpg
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_35_9787.jpg
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_45_9649.jpg
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_15_55_10599.jpg
/home/pi/Desktop/images/02012026/18/15/image_02012026_18_16_05_9846.jpg
/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_15_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402180925","1402180928","1402180910","1402180930","1402180933","1402180920"],"photo_ids_order":["1402180910","1402180920","1402180925","1402180928","1402180930","1402180933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbb8bbab83c1a9136c0889744012e0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5734971053281159899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374722594,"filename":"image_02012026_18_15_45_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/2/f2900068961b98f52b80a5d816b60d23.jpg","text":"TemporaryFile(/tmp/multipartBody3035253699580522424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374722594,"filename":"image_02012026_18_15_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/2/8cfbe6c4215527cdf8c4d8e9478a4652.jpg","text":"TemporaryFile(/tmp/multipartBody2614821665974320687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374722594,"filename":"image_02012026_18_15_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/2/c5736d89aae0def7d5bd27ead421fdfd.jpg","text":"TemporaryFile(/tmp/multipartBody4146238934989523388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374722594,"filename":"image_02012026_18_16_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/2/77f35064c85fc12c2066c9e85167303d.jpg","text":"TemporaryFile(/tmp/multipartBody1227102168615652203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374722594,"filename":"image_02012026_18_16_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/2/6bd3a67b5f237e97c98b22b750a69ade.jpg","text":"TemporaryFile(/tmp/multipartBody176071098113218296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374722594,"filename":"image_02012026_18_15_35_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180925","file1":"1402180920","file0":"1402180910","file4":"1402180930","file5":"1402180933","file3":"1402180928"},"map_files_photo_id_array":[{"photo_id":"1402180933","filename":"file5"},{"photo_id":"1402180925","filename":"file2"},{"photo_id":"1402180930","filename":"file4"},{"photo_id":"1402180920","filename":"file1"},{"photo_id":"1402180910","filename":"file0"},{"photo_id":"1402180928","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180925":["hashtag1","hashtag2"]},{"1402180928":["hashtag1","hashtag2"]},{"1402180910":["hashtag1","hashtag2"]},{"1402180930":["hashtag1","hashtag2"]},{"1402180933":["hashtag1","hashtag2"]},{"1402180920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180925, 1402180928, 1402180910, 1402180930, 1402180933, 1402180920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61514234542847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:25:03.051070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_24_9674.jpg', '/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_35_10700.jpg', '/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_45_9741.jpg', '/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_55_9661.jpg', '/home/pi/Desktop/images/02012026/18/16/image_02012026_18_17_05_10669.jpg', '/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_15_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_24_9674.jpg
/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_35_10700.jpg
/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_45_9741.jpg
/home/pi/Desktop/images/02012026/18/16/image_02012026_18_16_55_9661.jpg
/home/pi/Desktop/images/02012026/18/16/image_02012026_18_17_05_10669.jpg
/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_15_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":["1402180944","1402180940","1402180942","1402180950","1402180953","1402180947"],"photo_ids_order":["1402180940","1402180942","1402180944","1402180947","1402180950","1402180953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/965b3eb9e3fb5c2d817ec71c3b916574.jpg","text":"TemporaryFile(/tmp/multipartBody1232331964928756946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374763732,"filename":"image_02012026_18_16_45_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/2/0e45b506d8b7d74b964f4f3a3f86d1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8418519246374357546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374763732,"filename":"image_02012026_18_16_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/2/600ff4d999c09f2dff60a007e4664d15.jpg","text":"TemporaryFile(/tmp/multipartBody4638660659623144623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374763732,"filename":"image_02012026_18_16_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/2/c71158409833c967ccc7e05b406af92e.jpg","text":"TemporaryFile(/tmp/multipartBody3431139029074279211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374763732,"filename":"image_02012026_18_17_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/2/81c1db37e58c5083d27fa79819a06083.jpg","text":"TemporaryFile(/tmp/multipartBody4455473777987186268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374763732,"filename":"image_02012026_18_17_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/2/078f5a8635f1adfe79407e21a07b4a89.jpg","text":"TemporaryFile(/tmp/multipartBody2480517299628263903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374763732,"filename":"image_02012026_18_16_55_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180944","file1":"1402180942","file0":"1402180940","file4":"1402180950","file5":"1402180953","file3":"1402180947"},"map_files_photo_id_array":[{"photo_id":"1402180953","filename":"file5"},{"photo_id":"1402180944","filename":"file2"},{"photo_id":"1402180950","filename":"file4"},{"photo_id":"1402180942","filename":"file1"},{"photo_id":"1402180940","filename":"file0"},{"photo_id":"1402180947","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180944":["hashtag1","hashtag2"]},{"1402180940":["hashtag1","hashtag2"]},{"1402180942":["hashtag1","hashtag2"]},{"1402180950":["hashtag1","hashtag2"]},{"1402180953":["hashtag1","hashtag2"]},{"1402180947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180944, 1402180940, 1402180942, 1402180950, 1402180953, 1402180947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91467237472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:25:42.405359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_17_1638.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_19_1702.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_24_1510.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_26_1683.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_27_1729.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_45_3171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_17_1638.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_19_1702.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_24_1510.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_26_1683.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_27_1729.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_45_3171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402180976","1402180975","1402180977","1402180965","1402180959","1402180974"],"photo_ids_order":["1402180959","1402180965","1402180974","1402180975","1402180976","1402180977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8ea8e908a0ff1697316b0d95bcbdc58.jpg","text":"TemporaryFile(/tmp/multipartBody2530292442408279583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374804119,"filename":"image_05112025_19_59_27_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/2/8411eca8127da9c168681bad8f5f9239.jpg","text":"TemporaryFile(/tmp/multipartBody1871711815889577048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374804119,"filename":"image_05112025_19_59_26_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/2/b79cbb0f728b394f4397e6b3d12512c6.jpg","text":"TemporaryFile(/tmp/multipartBody1418402464011098305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374804119,"filename":"image_05112025_19_59_45_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/2/db54e76c09daefe9450b3e13e867c6dd.jpg","text":"TemporaryFile(/tmp/multipartBody8961311835600234940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374804119,"filename":"image_05112025_19_59_19_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/2/aced475589f78e27110e007ab860b295.jpg","text":"TemporaryFile(/tmp/multipartBody7491623980349712072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374804119,"filename":"image_05112025_19_59_17_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/2/7b973c700cac048aa5de7ae2c49fcc28.jpg","text":"TemporaryFile(/tmp/multipartBody831415079813217203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374804119,"filename":"image_05112025_19_59_24_1510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180974","file1":"1402180965","file0":"1402180959","file4":"1402180976","file5":"1402180977","file3":"1402180975"},"map_files_photo_id_array":[{"photo_id":"1402180977","filename":"file5"},{"photo_id":"1402180974","filename":"file2"},{"photo_id":"1402180976","filename":"file4"},{"photo_id":"1402180965","filename":"file1"},{"photo_id":"1402180959","filename":"file0"},{"photo_id":"1402180975","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402180976":["hashtag1","hashtag2"]},{"1402180975":["hashtag1","hashtag2"]},{"1402180977":["hashtag1","hashtag2"]},{"1402180965":["hashtag1","hashtag2"]},{"1402180959":["hashtag1","hashtag2"]},{"1402180974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402180976, 1402180975, 1402180977, 1402180965, 1402180959, 1402180974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25432515144348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:26:22.906020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_25_10140.jpg', '/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_35_10053.jpg', '/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_45_9653.jpg', '/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_55_10668.jpg', '/home/pi/Desktop/images/02012026/18/17/image_02012026_18_18_05_9648.jpg', '/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_15_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_25_10140.jpg
/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_35_10053.jpg
/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_45_9653.jpg
/home/pi/Desktop/images/02012026/18/17/image_02012026_18_17_55_10668.jpg
/home/pi/Desktop/images/02012026/18/17/image_02012026_18_18_05_9648.jpg
/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_15_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":["1402180994","1402180997","1402181006","1402180999","1402180984","1402180987"],"photo_ids_order":["1402180984","1402180987","1402180994","1402180997","1402180999","1402181006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/628983bb1b9dd566a95f61d253de593d.jpg","text":"TemporaryFile(/tmp/multipartBody4043047377291050149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374843478,"filename":"image_02012026_18_17_45_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/2/ee0e1d870c869f634939a4e1cfa71de6.jpg","text":"TemporaryFile(/tmp/multipartBody6879034327417856958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374843478,"filename":"image_02012026_18_17_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/2/3ec3e9525a42a4474c14b8444f0dafc8.jpg","text":"TemporaryFile(/tmp/multipartBody7221782656509347187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374843478,"filename":"image_02012026_18_18_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/2/9e09e1570bbe3ed2692c1040cbdf6c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5559150036252442518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374843478,"filename":"image_02012026_18_18_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/2/6f4e7d20ec3a7542696359c3848af824.jpg","text":"TemporaryFile(/tmp/multipartBody1055631306586361879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374843478,"filename":"image_02012026_18_17_25_10140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2dacccf9b803be624093353076514d8.jpg","text":"TemporaryFile(/tmp/multipartBody2206416040359958789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374843478,"filename":"image_02012026_18_17_35_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402180994","file1":"1402180987","file0":"1402180984","file4":"1402180999","file5":"1402181006","file3":"1402180997"},"map_files_photo_id_array":[{"photo_id":"1402181006","filename":"file5"},{"photo_id":"1402180994","filename":"file2"},{"photo_id":"1402180999","filename":"file4"},{"photo_id":"1402180987","filename":"file1"},{"photo_id":"1402180984","filename":"file0"},{"photo_id":"1402180997","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402180994":["hashtag1","hashtag2"]},{"1402180997":["hashtag1","hashtag2"]},{"1402181006":["hashtag1","hashtag2"]},{"1402180999":["hashtag1","hashtag2"]},{"1402180984":["hashtag1","hashtag2"]},{"1402180987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402180994, 1402180997, 1402181006, 1402180999, 1402180984, 1402180987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85116195678711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:27:02.742118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_25_10687.jpg', '/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_35_9558.jpg', '/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_45_9583.jpg', '/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_55_10667.jpg', '/home/pi/Desktop/images/02012026/18/18/image_02012026_18_19_05_9723.jpg', '/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_15_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_25_10687.jpg
/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_35_9558.jpg
/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_45_9583.jpg
/home/pi/Desktop/images/02012026/18/18/image_02012026_18_18_55_10667.jpg
/home/pi/Desktop/images/02012026/18/18/image_02012026_18_19_05_9723.jpg
/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_15_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":["1402181012","1402181009","1402181023","1402181017","1402181020","1402181014"],"photo_ids_order":["1402181009","1402181012","1402181014","1402181017","1402181020","1402181023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8cb87dc68c938dae6229ac9eaed2823c.jpg","text":"TemporaryFile(/tmp/multipartBody1922158737084370134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374883532,"filename":"image_02012026_18_18_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/2/127584c1bd994d28b21423e64efe1751.jpg","text":"TemporaryFile(/tmp/multipartBody872428501242842623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374883532,"filename":"image_02012026_18_18_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/2/ca94a959ea783e7d01ae94835d9ed3b5.jpg","text":"TemporaryFile(/tmp/multipartBody7781434212970205407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374883532,"filename":"image_02012026_18_19_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/2/aadf341aa5d2773458c60aecd32a9a17.jpg","text":"TemporaryFile(/tmp/multipartBody6757363169735389087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374883532,"filename":"image_02012026_18_18_55_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/2/6c4cb8f4360d9981d2926cd741d22658.jpg","text":"TemporaryFile(/tmp/multipartBody6149496621987946737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374883532,"filename":"image_02012026_18_19_05_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/2/60323f8bb3ff2c02a26a69e063d56580.jpg","text":"TemporaryFile(/tmp/multipartBody4684354048990495066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374883532,"filename":"image_02012026_18_18_45_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181014","file1":"1402181012","file0":"1402181009","file4":"1402181020","file5":"1402181023","file3":"1402181017"},"map_files_photo_id_array":[{"photo_id":"1402181023","filename":"file5"},{"photo_id":"1402181014","filename":"file2"},{"photo_id":"1402181020","filename":"file4"},{"photo_id":"1402181012","filename":"file1"},{"photo_id":"1402181009","filename":"file0"},{"photo_id":"1402181017","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181012":["hashtag1","hashtag2"]},{"1402181009":["hashtag1","hashtag2"]},{"1402181023":["hashtag1","hashtag2"]},{"1402181017":["hashtag1","hashtag2"]},{"1402181020":["hashtag1","hashtag2"]},{"1402181014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181012, 1402181009, 1402181023, 1402181017, 1402181020, 1402181014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41357946395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:27:42.058382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_47_1713.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_55_1676.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_59_4266.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_05_6037.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_07_1609.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_09_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_47_1713.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_55_1676.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_19_59_59_4266.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_05_6037.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_07_1609.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_09_1784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181039","1402181033","1402181035","1402181029","1402181031","1402181037"],"photo_ids_order":["1402181029","1402181031","1402181033","1402181035","1402181037","1402181039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98f302625ea9707eb23180f1a1aa8743.jpg","text":"TemporaryFile(/tmp/multipartBody6816578860457721894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374923872,"filename":"image_05112025_20_00_09_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/2/d171619181fb18900d70dd11376e4a36.jpg","text":"TemporaryFile(/tmp/multipartBody2179370507275716012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374923872,"filename":"image_05112025_19_59_59_4266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cdf6d9f9fa9a161d5e33457fb8e0551d.jpg","text":"TemporaryFile(/tmp/multipartBody1120359616823632751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374923872,"filename":"image_05112025_20_00_05_6037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf54e23951e63a1b326f83d829077705.jpg","text":"TemporaryFile(/tmp/multipartBody7887220491392088657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374923872,"filename":"image_05112025_19_59_47_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/2/62fc25ae14e9916739e1b265de503a59.jpg","text":"TemporaryFile(/tmp/multipartBody5922907995540359252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374923872,"filename":"image_05112025_19_59_55_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/2/2645a4dcbf3180b8beac368a9598a8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2585639580732840583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374923872,"filename":"image_05112025_20_00_07_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181033","file1":"1402181031","file0":"1402181029","file4":"1402181037","file5":"1402181039","file3":"1402181035"},"map_files_photo_id_array":[{"photo_id":"1402181039","filename":"file5"},{"photo_id":"1402181033","filename":"file2"},{"photo_id":"1402181037","filename":"file4"},{"photo_id":"1402181031","filename":"file1"},{"photo_id":"1402181029","filename":"file0"},{"photo_id":"1402181035","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181039":["hashtag1","hashtag2"]},{"1402181033":["hashtag1","hashtag2"]},{"1402181035":["hashtag1","hashtag2"]},{"1402181029":["hashtag1","hashtag2"]},{"1402181031":["hashtag1","hashtag2"]},{"1402181037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181039, 1402181033, 1402181035, 1402181029, 1402181031, 1402181037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47906279563904 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-02 18:28:32.239116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_10_1736.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_20_7509.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_35_6996.jpg', '/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_36_1631.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_07_3015.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_11_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_10_1736.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_20_7509.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_35_6996.jpg
/home/pi/Desktop/images/05112025/19/59/image_05112025_20_00_36_1631.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_07_3015.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_11_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181138","1402181147","1402181149","1402181181","1402181107","1402181091"],"photo_ids_order":["1402181091","1402181107","1402181138","1402181147","1402181149","1402181181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f67bf0f61227e57c54e924f342b470ab.jpg","text":"TemporaryFile(/tmp/multipartBody7359824801001567896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374974930,"filename":"image_05112025_20_00_35_6996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8be992af19e942dc9977f7f8458e5364.jpg","text":"TemporaryFile(/tmp/multipartBody8171235526407139984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374974930,"filename":"image_05112025_20_00_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/2/148c3010e905bc73ca5617431333f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody5132755636925925859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374974930,"filename":"image_05112025_20_03_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/2/143cbf44f8cd5f70d372be02960d52a5.jpg","text":"TemporaryFile(/tmp/multipartBody7603443620971820278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374974930,"filename":"image_05112025_20_03_11_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/2/ab78bdb075a6eebb65395ac5b3a5f7f3.jpg","text":"TemporaryFile(/tmp/multipartBody324609943816623283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374974930,"filename":"image_05112025_20_00_20_7509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb7dbc8b80c70c8812d5de51c1f73930.jpg","text":"TemporaryFile(/tmp/multipartBody1351559779190555664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767374974930,"filename":"image_05112025_20_00_10_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181138","file1":"1402181107","file0":"1402181091","file4":"1402181149","file5":"1402181181","file3":"1402181147"},"map_files_photo_id_array":[{"photo_id":"1402181181","filename":"file5"},{"photo_id":"1402181138","filename":"file2"},{"photo_id":"1402181149","filename":"file4"},{"photo_id":"1402181107","filename":"file1"},{"photo_id":"1402181091","filename":"file0"},{"photo_id":"1402181147","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181138":["hashtag1","hashtag2"]},{"1402181147":["hashtag1","hashtag2"]},{"1402181149":["hashtag1","hashtag2"]},{"1402181181":["hashtag1","hashtag2"]},{"1402181107":["hashtag1","hashtag2"]},{"1402181091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181138, 1402181147, 1402181149, 1402181181, 1402181107, 1402181091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.186060428619385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:29:22.587176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_24_9838.jpg', '/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_35_10671.jpg', '/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_45_9568.jpg', '/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_55_10679.jpg', '/home/pi/Desktop/images/02012026/18/19/image_02012026_18_20_05_9742.jpg', '/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_15_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_24_9838.jpg
/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_35_10671.jpg
/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_45_9568.jpg
/home/pi/Desktop/images/02012026/18/19/image_02012026_18_19_55_10679.jpg
/home/pi/Desktop/images/02012026/18/19/image_02012026_18_20_05_9742.jpg
/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_15_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181263","1402181256","1402181259","1402181250","1402181253","1402181270"],"photo_ids_order":["1402181250","1402181253","1402181256","1402181259","1402181263","1402181270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/27863ec2145c725edb5d580e7a23659f.jpg","text":"TemporaryFile(/tmp/multipartBody3206205134307497633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375023312,"filename":"image_02012026_18_20_05_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/2/41ca49d0fc938a1c817b44b167690e8f.jpg","text":"TemporaryFile(/tmp/multipartBody706361849704024439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375023312,"filename":"image_02012026_18_19_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/2/df70b7cec228913d4d79148256a0fd52.jpg","text":"TemporaryFile(/tmp/multipartBody5361070902445977021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375023312,"filename":"image_02012026_18_19_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/2/191cae52cc7d45f145fc311120849897.jpg","text":"TemporaryFile(/tmp/multipartBody742619831623723547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375023312,"filename":"image_02012026_18_19_24_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/2/339dabb18f06222b70777821bd064c84.jpg","text":"TemporaryFile(/tmp/multipartBody7739425141691154270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375023312,"filename":"image_02012026_18_19_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/2/a5fab6be0967a7af0417b91ff18a7a70.jpg","text":"TemporaryFile(/tmp/multipartBody837661944681672547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375023312,"filename":"image_02012026_18_20_15_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181256","file1":"1402181253","file0":"1402181250","file4":"1402181263","file5":"1402181270","file3":"1402181259"},"map_files_photo_id_array":[{"photo_id":"1402181270","filename":"file5"},{"photo_id":"1402181256","filename":"file2"},{"photo_id":"1402181263","filename":"file4"},{"photo_id":"1402181253","filename":"file1"},{"photo_id":"1402181250","filename":"file0"},{"photo_id":"1402181259","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181263":["hashtag1","hashtag2"]},{"1402181256":["hashtag1","hashtag2"]},{"1402181259":["hashtag1","hashtag2"]},{"1402181250":["hashtag1","hashtag2"]},{"1402181253":["hashtag1","hashtag2"]},{"1402181270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181263, 1402181256, 1402181259, 1402181250, 1402181253, 1402181270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49831938743591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:30:03.150135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_24_9578.jpg', '/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_35_10652.jpg', '/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_45_9564.jpg', '/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_55_9848.jpg', '/home/pi/Desktop/images/02012026/18/20/image_02012026_18_21_05_10706.jpg', '/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_15_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_24_9578.jpg
/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_35_10652.jpg
/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_45_9564.jpg
/home/pi/Desktop/images/02012026/18/20/image_02012026_18_20_55_9848.jpg
/home/pi/Desktop/images/02012026/18/20/image_02012026_18_21_05_10706.jpg
/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_15_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":["1402181273","1402181282","1402181284","1402181278","1402181275","1402181271"],"photo_ids_order":["1402181271","1402181273","1402181275","1402181278","1402181282","1402181284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/527a9e6a03189f08f748ffe860e4afde.jpg","text":"TemporaryFile(/tmp/multipartBody2442640835732082785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375063779,"filename":"image_02012026_18_20_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/2/93d4d1de3d81db6843ac4be01c21248b.jpg","text":"TemporaryFile(/tmp/multipartBody2257564965900873973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375063779,"filename":"image_02012026_18_21_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/2/3ab0d2eb175e49a437a75d5ed6bfe491.jpg","text":"TemporaryFile(/tmp/multipartBody5281611765204397177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375063779,"filename":"image_02012026_18_21_15_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/2/1b63692d240d6f1c1d8ef21d3dde6314.jpg","text":"TemporaryFile(/tmp/multipartBody8840920603656439963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375063779,"filename":"image_02012026_18_20_55_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/2/aec5c1ca978cb568c31b479a0bd6d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody6175368782139982867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375063779,"filename":"image_02012026_18_20_45_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/2/0502385afe298aca93a4811e92866527.jpg","text":"TemporaryFile(/tmp/multipartBody4848333803563197502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375063779,"filename":"image_02012026_18_20_24_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181275","file1":"1402181273","file0":"1402181271","file4":"1402181282","file5":"1402181284","file3":"1402181278"},"map_files_photo_id_array":[{"photo_id":"1402181284","filename":"file5"},{"photo_id":"1402181275","filename":"file2"},{"photo_id":"1402181282","filename":"file4"},{"photo_id":"1402181273","filename":"file1"},{"photo_id":"1402181271","filename":"file0"},{"photo_id":"1402181278","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181273":["hashtag1","hashtag2"]},{"1402181282":["hashtag1","hashtag2"]},{"1402181284":["hashtag1","hashtag2"]},{"1402181278":["hashtag1","hashtag2"]},{"1402181275":["hashtag1","hashtag2"]},{"1402181271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181273, 1402181282, 1402181284, 1402181278, 1402181275, 1402181271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4175705909729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:30:42.598406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_13_2731.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_16_2705.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_20_3740.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_24_4202.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_26_1684.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_28_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_13_2731.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_16_2705.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_20_3740.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_24_4202.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_26_1684.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_28_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":["1402181303","1402181300","1402181299","1402181302","1402181297","1402181301"],"photo_ids_order":["1402181297","1402181299","1402181300","1402181301","1402181302","1402181303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6dcc4aa2f660701a5d291f30b3e25384.jpg","text":"TemporaryFile(/tmp/multipartBody6207982175935499650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375104491,"filename":"image_05112025_20_03_28_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/2/ec1464c59de10c9d11c4ce1c750e5ae0.jpg","text":"TemporaryFile(/tmp/multipartBody4769469213628144086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375104491,"filename":"image_05112025_20_03_20_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0daf96e93d8a4d7ff3dce7a12096735c.jpg","text":"TemporaryFile(/tmp/multipartBody7765152740677830296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375104491,"filename":"image_05112025_20_03_16_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/2/f3c69ab273c9c97874b66e0dc4519ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3448228465983517846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375104491,"filename":"image_05112025_20_03_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/2/6696bab94ca25125a0f059014fb1d08e.jpg","text":"TemporaryFile(/tmp/multipartBody5173125570655198537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375104491,"filename":"image_05112025_20_03_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/2/441776d56714655153e54d186d9d33b6.jpg","text":"TemporaryFile(/tmp/multipartBody4539757002874570577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375104491,"filename":"image_05112025_20_03_24_4202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181300","file1":"1402181299","file0":"1402181297","file4":"1402181302","file5":"1402181303","file3":"1402181301"},"map_files_photo_id_array":[{"photo_id":"1402181303","filename":"file5"},{"photo_id":"1402181300","filename":"file2"},{"photo_id":"1402181302","filename":"file4"},{"photo_id":"1402181299","filename":"file1"},{"photo_id":"1402181297","filename":"file0"},{"photo_id":"1402181301","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181303":["hashtag1","hashtag2"]},{"1402181300":["hashtag1","hashtag2"]},{"1402181299":["hashtag1","hashtag2"]},{"1402181302":["hashtag1","hashtag2"]},{"1402181297":["hashtag1","hashtag2"]},{"1402181301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181303, 1402181300, 1402181299, 1402181302, 1402181297, 1402181301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.192708015441895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:31:22.755350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_25_9758.jpg', '/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_35_10726.jpg', '/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_45_9824.jpg', '/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_55_9641.jpg', '/home/pi/Desktop/images/02012026/18/21/image_02012026_18_22_05_10618.jpg', '/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_25_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_25_9758.jpg
/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_35_10726.jpg
/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_45_9824.jpg
/home/pi/Desktop/images/02012026/18/21/image_02012026_18_21_55_9641.jpg
/home/pi/Desktop/images/02012026/18/21/image_02012026_18_22_05_10618.jpg
/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_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":["1402181321","1402181318","1402181323","1402181310","1402181313","1402181316"],"photo_ids_order":["1402181310","1402181313","1402181316","1402181318","1402181321","1402181323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5bcf343c4eaba23e5b7748d352676c83.jpg","text":"TemporaryFile(/tmp/multipartBody8922213394203563108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375143368,"filename":"image_02012026_18_22_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/2/a06dd0cd4bd0c9d0aa0a0526406929db.jpg","text":"TemporaryFile(/tmp/multipartBody743954277094360494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375143368,"filename":"image_02012026_18_21_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/2/c2d0500301d8bb64566e838bd053a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody4956405389093233086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375143368,"filename":"image_02012026_18_22_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/2/028f5e3c55560c3580807bcdba48ad44.jpg","text":"TemporaryFile(/tmp/multipartBody5525156491938935409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375143368,"filename":"image_02012026_18_21_25_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/2/4b1a67050c00295f35e9c798d0208cdd.jpg","text":"TemporaryFile(/tmp/multipartBody9005572942883043023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375143368,"filename":"image_02012026_18_21_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/2/a440df590e763e951b265c66bcc3e562.jpg","text":"TemporaryFile(/tmp/multipartBody8036620973636250380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375143368,"filename":"image_02012026_18_21_45_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181316","file1":"1402181313","file0":"1402181310","file4":"1402181321","file5":"1402181323","file3":"1402181318"},"map_files_photo_id_array":[{"photo_id":"1402181323","filename":"file5"},{"photo_id":"1402181316","filename":"file2"},{"photo_id":"1402181321","filename":"file4"},{"photo_id":"1402181313","filename":"file1"},{"photo_id":"1402181310","filename":"file0"},{"photo_id":"1402181318","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181321":["hashtag1","hashtag2"]},{"1402181318":["hashtag1","hashtag2"]},{"1402181323":["hashtag1","hashtag2"]},{"1402181310":["hashtag1","hashtag2"]},{"1402181313":["hashtag1","hashtag2"]},{"1402181316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181321, 1402181318, 1402181323, 1402181310, 1402181313, 1402181316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.045560121536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:32:02.499484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_35_10637.jpg', '/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_45_9850.jpg', '/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_55_9797.jpg', '/home/pi/Desktop/images/02012026/18/22/image_02012026_18_23_05_9732.jpg', '/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_15_10576.jpg', '/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_25_9495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_35_10637.jpg
/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_45_9850.jpg
/home/pi/Desktop/images/02012026/18/22/image_02012026_18_22_55_9797.jpg
/home/pi/Desktop/images/02012026/18/22/image_02012026_18_23_05_9732.jpg
/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_15_10576.jpg
/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_25_9495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181333","1402181327","1402181335","1402181329","1402181338","1402181331"],"photo_ids_order":["1402181327","1402181329","1402181331","1402181333","1402181335","1402181338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6cfcd740a209215cfc10cb2668425600.jpg","text":"TemporaryFile(/tmp/multipartBody344696228857946398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375183137,"filename":"image_02012026_18_23_05_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/2/516690d9248bc0963171268bbc092c46.jpg","text":"TemporaryFile(/tmp/multipartBody6243761908788180377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375183137,"filename":"image_02012026_18_22_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/2/7fbfa23908d8cbd5de63d7663587863c.jpg","text":"TemporaryFile(/tmp/multipartBody1582387982394087311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375183137,"filename":"image_02012026_18_23_15_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/2/ccbd5448176746062089f8039b45dc42.jpg","text":"TemporaryFile(/tmp/multipartBody5915158566590796378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375183137,"filename":"image_02012026_18_22_45_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/2/5d2eafe5cca678af219c9ebfa21d4af4.jpg","text":"TemporaryFile(/tmp/multipartBody1409040701337032066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375183137,"filename":"image_02012026_18_23_25_9495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b42fa865f99ce061f028bd93c93f1599.jpg","text":"TemporaryFile(/tmp/multipartBody691724276324407077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375183137,"filename":"image_02012026_18_22_55_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181331","file1":"1402181329","file0":"1402181327","file4":"1402181335","file5":"1402181338","file3":"1402181333"},"map_files_photo_id_array":[{"photo_id":"1402181338","filename":"file5"},{"photo_id":"1402181331","filename":"file2"},{"photo_id":"1402181335","filename":"file4"},{"photo_id":"1402181329","filename":"file1"},{"photo_id":"1402181327","filename":"file0"},{"photo_id":"1402181333","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181333":["hashtag1","hashtag2"]},{"1402181327":["hashtag1","hashtag2"]},{"1402181335":["hashtag1","hashtag2"]},{"1402181329":["hashtag1","hashtag2"]},{"1402181338":["hashtag1","hashtag2"]},{"1402181331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181333, 1402181327, 1402181335, 1402181329, 1402181338, 1402181331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02124643325806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:32:42.052475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_33_4372.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_37_2589.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_47_2616.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_49_2542.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_52_2682.jpg', '/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_57_5110.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_33_4372.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_37_2589.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_47_2616.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_49_2542.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_52_2682.jpg
/home/pi/Desktop/images/05112025/20/03/image_05112025_20_03_57_5110.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181354","1402181357","1402181350","1402181356","1402181355","1402181358"],"photo_ids_order":["1402181350","1402181354","1402181355","1402181356","1402181357","1402181358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/863adb304dcf801dca33948c7a6985eb.jpg","text":"TemporaryFile(/tmp/multipartBody2607939002824608620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375223896,"filename":"image_05112025_20_03_37_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/2/a8be6bfaad14b1e3769f440cdd5b6ebf.jpg","text":"TemporaryFile(/tmp/multipartBody5455903470456607934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375223896,"filename":"image_05112025_20_03_52_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/2/a8b2ba9d2b396c9a7476479a2c5d34d7.jpg","text":"TemporaryFile(/tmp/multipartBody6264145946044070868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375223896,"filename":"image_05112025_20_03_33_4372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d8a72006661b4395bc4e72ccbd70185.jpg","text":"TemporaryFile(/tmp/multipartBody5026116165463041173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375223896,"filename":"image_05112025_20_03_49_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/2/f201557627d8ad76171d1463dc8ebd51.jpg","text":"TemporaryFile(/tmp/multipartBody1072795009697833207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375223896,"filename":"image_05112025_20_03_47_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/2/cd625797d83ebc38d2a335f4764319d7.jpg","text":"TemporaryFile(/tmp/multipartBody8436616776054217565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375223896,"filename":"image_05112025_20_03_57_5110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181355","file1":"1402181354","file0":"1402181350","file4":"1402181357","file5":"1402181358","file3":"1402181356"},"map_files_photo_id_array":[{"photo_id":"1402181358","filename":"file5"},{"photo_id":"1402181355","filename":"file2"},{"photo_id":"1402181357","filename":"file4"},{"photo_id":"1402181354","filename":"file1"},{"photo_id":"1402181350","filename":"file0"},{"photo_id":"1402181356","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181354":["hashtag1","hashtag2"]},{"1402181357":["hashtag1","hashtag2"]},{"1402181350":["hashtag1","hashtag2"]},{"1402181356":["hashtag1","hashtag2"]},{"1402181355":["hashtag1","hashtag2"]},{"1402181358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181354, 1402181357, 1402181350, 1402181356, 1402181355, 1402181358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89398002624512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:33:22.228729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_34_9632.jpg', '/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_45_10616.jpg', '/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_55_9659.jpg', '/home/pi/Desktop/images/02012026/18/23/image_02012026_18_24_05_10650.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_15_9789.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_25_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_34_9632.jpg
/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_45_10616.jpg
/home/pi/Desktop/images/02012026/18/23/image_02012026_18_23_55_9659.jpg
/home/pi/Desktop/images/02012026/18/23/image_02012026_18_24_05_10650.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_15_9789.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_25_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181465","1402181461","1402181467","1402181469","1402181463","1402181457"],"photo_ids_order":["1402181457","1402181461","1402181463","1402181465","1402181467","1402181469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36155999d1da654fb3d04be8b328243f.jpg","text":"TemporaryFile(/tmp/multipartBody1756255426218318352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375262834,"filename":"image_02012026_18_24_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/2/092074c6d7e0e4b200d99b04be03706f.jpg","text":"TemporaryFile(/tmp/multipartBody2658803343287155887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375262834,"filename":"image_02012026_18_23_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/2/a8852cd7028a2e56c77ddbd7b0a3d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6875323507733644264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375262834,"filename":"image_02012026_18_24_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/2/451a3839b08b92c66136dc5ef3963e30.jpg","text":"TemporaryFile(/tmp/multipartBody5754110503823629710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375262834,"filename":"image_02012026_18_24_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/2/3045e8a871e366494afbe4a607adfe61.jpg","text":"TemporaryFile(/tmp/multipartBody2207079333426475043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375262834,"filename":"image_02012026_18_23_55_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/2/3b9bd8a4d5918012414ce954522029c7.jpg","text":"TemporaryFile(/tmp/multipartBody629787447243832640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375262834,"filename":"image_02012026_18_23_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181463","file1":"1402181461","file0":"1402181457","file4":"1402181467","file5":"1402181469","file3":"1402181465"},"map_files_photo_id_array":[{"photo_id":"1402181469","filename":"file5"},{"photo_id":"1402181463","filename":"file2"},{"photo_id":"1402181467","filename":"file4"},{"photo_id":"1402181461","filename":"file1"},{"photo_id":"1402181457","filename":"file0"},{"photo_id":"1402181465","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181465":["hashtag1","hashtag2"]},{"1402181461":["hashtag1","hashtag2"]},{"1402181467":["hashtag1","hashtag2"]},{"1402181469":["hashtag1","hashtag2"]},{"1402181463":["hashtag1","hashtag2"]},{"1402181457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181465, 1402181461, 1402181467, 1402181469, 1402181463, 1402181457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.727508544921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:34:03.057375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_35_9818.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_47_12119.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_55_7651.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_25_05_10698.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_15_9296.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_25_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_35_9818.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_47_12119.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_55_7651.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_25_05_10698.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_15_9296.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_25_10603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5393855571746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:34:12.443568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_02_3185.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_04_2617.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_12_7697.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_14_1591.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_22_3573.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_50_27521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_02_3185.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_04_2617.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_12_7697.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_14_1591.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_22_3573.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_50_27521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181489","1402181479","1402181490","1402181484","1402181487","1402181475"],"photo_ids_order":["1402181475","1402181479","1402181484","1402181487","1402181489","1402181490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a48dbf4ae351e3315962fc1260b5b840.jpg","text":"TemporaryFile(/tmp/multipartBody8430050626941491946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375314208,"filename":"image_05112025_20_04_22_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/2/ccb18ba81ad11338de40519715d0960d.jpg","text":"TemporaryFile(/tmp/multipartBody1743687212019429979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375314208,"filename":"image_05112025_20_04_04_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/2/bea0e041f54e9bc1a1059a92d19849ae.jpg","text":"TemporaryFile(/tmp/multipartBody8854083819955700850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375314208,"filename":"image_05112025_20_04_50_27521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9579efdd27d9f91931c9675423877118.jpg","text":"TemporaryFile(/tmp/multipartBody7018291813214895690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375314208,"filename":"image_05112025_20_04_12_7697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/64bbc4ae4a91c59c61279b51a1f364bc.jpg","text":"TemporaryFile(/tmp/multipartBody4964621306114007069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375314208,"filename":"image_05112025_20_04_14_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/2/67364f3008c2e329e5522ea2bfe6da38.jpg","text":"TemporaryFile(/tmp/multipartBody4002974870159400909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375314208,"filename":"image_05112025_20_04_02_3185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181484","file1":"1402181479","file0":"1402181475","file4":"1402181489","file5":"1402181490","file3":"1402181487"},"map_files_photo_id_array":[{"photo_id":"1402181490","filename":"file5"},{"photo_id":"1402181484","filename":"file2"},{"photo_id":"1402181489","filename":"file4"},{"photo_id":"1402181479","filename":"file1"},{"photo_id":"1402181475","filename":"file0"},{"photo_id":"1402181487","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181489":["hashtag1","hashtag2"]},{"1402181479":["hashtag1","hashtag2"]},{"1402181490":["hashtag1","hashtag2"]},{"1402181484":["hashtag1","hashtag2"]},{"1402181487":["hashtag1","hashtag2"]},{"1402181475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181489, 1402181479, 1402181490, 1402181484, 1402181487, 1402181475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66311264038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:35:03.310494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_35_9818.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_47_12119.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_55_7651.jpg', '/home/pi/Desktop/images/02012026/18/24/image_02012026_18_25_05_10698.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_15_9296.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_25_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_35_9818.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_47_12119.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_24_55_7651.jpg
/home/pi/Desktop/images/02012026/18/24/image_02012026_18_25_05_10698.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_15_9296.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_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":["1402181504","1402181497","1402181506","1402181499","1402181502","1402181495"],"photo_ids_order":["1402181495","1402181497","1402181499","1402181502","1402181504","1402181506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3395649a56abc5587b2069580819ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody5906920049637179978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375363967,"filename":"image_02012026_18_25_15_9296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17c3707d01c8017d6627659a85532f5b.jpg","text":"TemporaryFile(/tmp/multipartBody8031964623018291309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375363967,"filename":"image_02012026_18_24_47_12119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6bd66e77168996ad68c34ea8c6825a5c.jpg","text":"TemporaryFile(/tmp/multipartBody50874615022436910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375363967,"filename":"image_02012026_18_25_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/2/d469962b2af5a8bd8ae052d8033feade.jpg","text":"TemporaryFile(/tmp/multipartBody8905991121569503346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375363967,"filename":"image_02012026_18_24_55_7651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5fe5cb1ee2ad17443a9ca00c46d91eff.jpg","text":"TemporaryFile(/tmp/multipartBody2915993308417744743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375363967,"filename":"image_02012026_18_25_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/2/0c0cf2981ae4942a9aafbc55cb840ce9.jpg","text":"TemporaryFile(/tmp/multipartBody8561727750305403500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375363967,"filename":"image_02012026_18_24_35_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181499","file1":"1402181497","file0":"1402181495","file4":"1402181504","file5":"1402181506","file3":"1402181502"},"map_files_photo_id_array":[{"photo_id":"1402181506","filename":"file5"},{"photo_id":"1402181499","filename":"file2"},{"photo_id":"1402181504","filename":"file4"},{"photo_id":"1402181497","filename":"file1"},{"photo_id":"1402181495","filename":"file0"},{"photo_id":"1402181502","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181504":["hashtag1","hashtag2"]},{"1402181497":["hashtag1","hashtag2"]},{"1402181506":["hashtag1","hashtag2"]},{"1402181499":["hashtag1","hashtag2"]},{"1402181502":["hashtag1","hashtag2"]},{"1402181495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181504, 1402181497, 1402181506, 1402181499, 1402181502, 1402181495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44088792800903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:35:42.691942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_53_1828.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_57_1600.jpg', '/home/pi/Desktop/images/05112025/20/04/image_05112025_20_05_00_1658.jpg', '/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_02_1828.jpg', '/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_04_1706.jpg', '/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_05_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_53_1828.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_04_57_1600.jpg
/home/pi/Desktop/images/05112025/20/04/image_05112025_20_05_00_1658.jpg
/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_02_1828.jpg
/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_04_1706.jpg
/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_05_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":["1402181522","1402181524","1402181521","1402181520","1402181523","1402181514"],"photo_ids_order":["1402181514","1402181520","1402181521","1402181522","1402181523","1402181524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84a020fb50dfbfd64ef08345f7aef969.jpg","text":"TemporaryFile(/tmp/multipartBody6656489355630042379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375404539,"filename":"image_05112025_20_05_02_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/2/8f8bbdd1554120f17f4f883fd6597996.jpg","text":"TemporaryFile(/tmp/multipartBody2202748290084432356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375404539,"filename":"image_05112025_20_05_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/2/076d3af09a3d4dc16fa51461953ef446.jpg","text":"TemporaryFile(/tmp/multipartBody7820960082475547824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375404539,"filename":"image_05112025_20_05_00_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/2/56fd4d4f7d88446f9e94ebc91938a9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8777549223857558147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375404539,"filename":"image_05112025_20_04_57_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/2/ab828ab5c0bf0a8e2a6e1c02f0f4dad6.jpg","text":"TemporaryFile(/tmp/multipartBody803216357071242750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375404539,"filename":"image_05112025_20_05_04_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/2/52df3515bc916fbf64589f6bded06a09.jpg","text":"TemporaryFile(/tmp/multipartBody7161273434400664293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375404539,"filename":"image_05112025_20_04_53_1828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181521","file1":"1402181520","file0":"1402181514","file4":"1402181523","file5":"1402181524","file3":"1402181522"},"map_files_photo_id_array":[{"photo_id":"1402181524","filename":"file5"},{"photo_id":"1402181521","filename":"file2"},{"photo_id":"1402181523","filename":"file4"},{"photo_id":"1402181520","filename":"file1"},{"photo_id":"1402181514","filename":"file0"},{"photo_id":"1402181522","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181522":["hashtag1","hashtag2"]},{"1402181524":["hashtag1","hashtag2"]},{"1402181521":["hashtag1","hashtag2"]},{"1402181520":["hashtag1","hashtag2"]},{"1402181523":["hashtag1","hashtag2"]},{"1402181514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181522, 1402181524, 1402181521, 1402181520, 1402181523, 1402181514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55483269691467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:36:21.852292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_35_9617.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_45_10567.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_55_9544.jpg', '/home/pi/Desktop/images/02012026/18/25/image_02012026_18_26_05_9677.jpg', '/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_15_10729.jpg', '/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_25_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_35_9617.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_45_10567.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_25_55_9544.jpg
/home/pi/Desktop/images/02012026/18/25/image_02012026_18_26_05_9677.jpg
/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_15_10729.jpg
/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_25_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181531","1402181540","1402181534","1402181536","1402181551","1402181538"],"photo_ids_order":["1402181531","1402181534","1402181536","1402181538","1402181540","1402181551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e0d9d407cccb5d9e69b04ae6373d1e46.jpg","text":"TemporaryFile(/tmp/multipartBody5600041108806894871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375442444,"filename":"image_02012026_18_25_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/2/49a6668d257cb8043ad29386101b9e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4616937134286373493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375442444,"filename":"image_02012026_18_26_15_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/2/0b9401e231f09386dd493361af0fe620.jpg","text":"TemporaryFile(/tmp/multipartBody9216972051692544507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375442444,"filename":"image_02012026_18_25_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/2/bc0df075b179ad5cf17192c10941e9a2.jpg","text":"TemporaryFile(/tmp/multipartBody5858802721711856362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375442444,"filename":"image_02012026_18_25_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/2/7ff9de41fb341e6001f0262704bed5d5.jpg","text":"TemporaryFile(/tmp/multipartBody7361571827484760313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375442444,"filename":"image_02012026_18_26_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/2/9a23f0155c5c0451ac54cfe67aba1867.jpg","text":"TemporaryFile(/tmp/multipartBody4385342185460410268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375442444,"filename":"image_02012026_18_26_05_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181536","file1":"1402181534","file0":"1402181531","file4":"1402181540","file5":"1402181551","file3":"1402181538"},"map_files_photo_id_array":[{"photo_id":"1402181551","filename":"file5"},{"photo_id":"1402181536","filename":"file2"},{"photo_id":"1402181540","filename":"file4"},{"photo_id":"1402181534","filename":"file1"},{"photo_id":"1402181531","filename":"file0"},{"photo_id":"1402181538","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181531":["hashtag1","hashtag2"]},{"1402181540":["hashtag1","hashtag2"]},{"1402181534":["hashtag1","hashtag2"]},{"1402181536":["hashtag1","hashtag2"]},{"1402181551":["hashtag1","hashtag2"]},{"1402181538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181531, 1402181540, 1402181534, 1402181536, 1402181551, 1402181538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6304190158844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:37:02.619708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_35_9683.jpg', '/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_45_10660.jpg', '/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_55_9840.jpg', '/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_05_9971.jpg', '/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_15_9315.jpg', '/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_25_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_35_9683.jpg
/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_45_10660.jpg
/home/pi/Desktop/images/02012026/18/26/image_02012026_18_26_55_9840.jpg
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_05_9971.jpg
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_15_9315.jpg
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_25_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181564","1402181561","1402181557","1402181566","1402181568","1402181559"],"photo_ids_order":["1402181557","1402181559","1402181561","1402181564","1402181566","1402181568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6a015683912247100f801baf1bd77ef.jpg","text":"TemporaryFile(/tmp/multipartBody216461017390933145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375483242,"filename":"image_02012026_18_27_05_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da465874f444a41e1075499a2863cca7.jpg","text":"TemporaryFile(/tmp/multipartBody5455343037699301730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375483242,"filename":"image_02012026_18_26_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/2/787c9ca1dcbb6b9990518f1561498421.jpg","text":"TemporaryFile(/tmp/multipartBody8349061449739398176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375483242,"filename":"image_02012026_18_26_35_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/2/3fc8e225e80b253aa7a4fb06f05a8dc4.jpg","text":"TemporaryFile(/tmp/multipartBody830165470416567931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375483242,"filename":"image_02012026_18_27_15_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/2/10f5e673abb6493c4ff02ae649709bdb.jpg","text":"TemporaryFile(/tmp/multipartBody5596495883089042056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375483242,"filename":"image_02012026_18_27_25_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/2/43c558fb5bc9faa51f28a5f8ed675bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3945553787750827901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375483242,"filename":"image_02012026_18_26_45_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181561","file1":"1402181559","file0":"1402181557","file4":"1402181566","file5":"1402181568","file3":"1402181564"},"map_files_photo_id_array":[{"photo_id":"1402181568","filename":"file5"},{"photo_id":"1402181561","filename":"file2"},{"photo_id":"1402181566","filename":"file4"},{"photo_id":"1402181559","filename":"file1"},{"photo_id":"1402181557","filename":"file0"},{"photo_id":"1402181564","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181564":["hashtag1","hashtag2"]},{"1402181561":["hashtag1","hashtag2"]},{"1402181557":["hashtag1","hashtag2"]},{"1402181566":["hashtag1","hashtag2"]},{"1402181568":["hashtag1","hashtag2"]},{"1402181559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181564, 1402181561, 1402181557, 1402181566, 1402181568, 1402181559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98371863365173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:37:41.999088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_07_1751.jpg', '/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_10_1594.jpg', '/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_12_1585.jpg', '/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_07_3018.jpg', '/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_10_3132.jpg', '/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_17_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_07_1751.jpg
/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_10_1594.jpg
/home/pi/Desktop/images/05112025/20/05/image_05112025_20_05_12_1585.jpg
/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_07_3018.jpg
/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_10_3132.jpg
/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_17_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181624","1402181614","1402181574","1402181577","1402181604","1402181576"],"photo_ids_order":["1402181574","1402181576","1402181577","1402181604","1402181614","1402181624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d5bd360c361b47422bfd23b3de13b50b.jpg","text":"TemporaryFile(/tmp/multipartBody2869111175589112467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375524429,"filename":"image_05112025_20_08_17_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/2/98a21d400b5b8c949a07856348a75e86.jpg","text":"TemporaryFile(/tmp/multipartBody5019644892704986900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375524429,"filename":"image_05112025_20_08_10_3132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5129e4f2327761afd81c3b4d941c6761.jpg","text":"TemporaryFile(/tmp/multipartBody6636189187759480013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375524429,"filename":"image_05112025_20_05_07_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/2/5f8f95a64a803c3de5e4f84384eeaa9e.jpg","text":"TemporaryFile(/tmp/multipartBody8871313285053295324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375524429,"filename":"image_05112025_20_05_12_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/2/be912d4d5ee788d994b5cbcc347c3dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4310094095393797864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375524429,"filename":"image_05112025_20_08_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/2/ef8ab5ac48b96c44ff632e2befe848f6.jpg","text":"TemporaryFile(/tmp/multipartBody6277177807677558744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375524429,"filename":"image_05112025_20_05_10_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181577","file1":"1402181576","file0":"1402181574","file4":"1402181614","file5":"1402181624","file3":"1402181604"},"map_files_photo_id_array":[{"photo_id":"1402181624","filename":"file5"},{"photo_id":"1402181577","filename":"file2"},{"photo_id":"1402181614","filename":"file4"},{"photo_id":"1402181576","filename":"file1"},{"photo_id":"1402181574","filename":"file0"},{"photo_id":"1402181604","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181624":["hashtag1","hashtag2"]},{"1402181614":["hashtag1","hashtag2"]},{"1402181574":["hashtag1","hashtag2"]},{"1402181577":["hashtag1","hashtag2"]},{"1402181604":["hashtag1","hashtag2"]},{"1402181576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181624, 1402181614, 1402181574, 1402181577, 1402181604, 1402181576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54424691200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:38:22.176159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_35_9644.jpg', '/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_45_10629.jpg', '/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_55_9656.jpg', '/home/pi/Desktop/images/02012026/18/27/image_02012026_18_28_05_9681.jpg', '/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_15_9917.jpg', '/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_25_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_35_9644.jpg
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_45_10629.jpg
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_27_55_9656.jpg
/home/pi/Desktop/images/02012026/18/27/image_02012026_18_28_05_9681.jpg
/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_15_9917.jpg
/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_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":["1402181732","1402181726","1402181723","1402181662","1402181664","1402181658"],"photo_ids_order":["1402181658","1402181662","1402181664","1402181723","1402181726","1402181732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bb477acbbe2c90d266dc527bdc90ce48.jpg","text":"TemporaryFile(/tmp/multipartBody5424597273043913205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375562750,"filename":"image_02012026_18_28_25_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/2/990bcdbdb6d6121935a690b4a1debb5a.jpg","text":"TemporaryFile(/tmp/multipartBody5870396267366990805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375562750,"filename":"image_02012026_18_28_15_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/2/3e4e30fbb63c19dc53922eef16c8517d.jpg","text":"TemporaryFile(/tmp/multipartBody7406740863511526625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375562750,"filename":"image_02012026_18_28_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cee9c6195505da0707df6deaa91e6af4.jpg","text":"TemporaryFile(/tmp/multipartBody2745017012933144821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375562750,"filename":"image_02012026_18_27_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/2/e477eb96fb43dc6b48e1db3959444824.jpg","text":"TemporaryFile(/tmp/multipartBody7602194904416454338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375562750,"filename":"image_02012026_18_27_55_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/2/dedee631925ad55cee7b3b0cb9a0f9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4106555971149370480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375562750,"filename":"image_02012026_18_27_35_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181664","file1":"1402181662","file0":"1402181658","file4":"1402181726","file5":"1402181732","file3":"1402181723"},"map_files_photo_id_array":[{"photo_id":"1402181732","filename":"file5"},{"photo_id":"1402181664","filename":"file2"},{"photo_id":"1402181726","filename":"file4"},{"photo_id":"1402181662","filename":"file1"},{"photo_id":"1402181658","filename":"file0"},{"photo_id":"1402181723","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181732":["hashtag1","hashtag2"]},{"1402181726":["hashtag1","hashtag2"]},{"1402181723":["hashtag1","hashtag2"]},{"1402181662":["hashtag1","hashtag2"]},{"1402181664":["hashtag1","hashtag2"]},{"1402181658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181732, 1402181726, 1402181723, 1402181662, 1402181664, 1402181658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.800857067108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:39:03.431065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_45_10552.jpg', '/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_55_9598.jpg', '/home/pi/Desktop/images/02012026/18/28/image_02012026_18_29_05_9835.jpg', '/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_15_9739.jpg', '/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_25_10673.jpg', '/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_35_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_45_10552.jpg
/home/pi/Desktop/images/02012026/18/28/image_02012026_18_28_55_9598.jpg
/home/pi/Desktop/images/02012026/18/28/image_02012026_18_29_05_9835.jpg
/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_15_9739.jpg
/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_25_10673.jpg
/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_35_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":["1402181759","1402181750","1402181761","1402181763","1402181766","1402181742"],"photo_ids_order":["1402181742","1402181750","1402181759","1402181761","1402181763","1402181766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98eb2e4c16e162143fd13898d934ef78.jpg","text":"TemporaryFile(/tmp/multipartBody6883165748069848626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375604133,"filename":"image_02012026_18_29_05_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/2/8696297c5dd16937a3ec3bf8dfabb649.jpg","text":"TemporaryFile(/tmp/multipartBody1714259930268172541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375604133,"filename":"image_02012026_18_28_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/2/a2fa1c6ed46de15fb80ee93c1886dd3a.jpg","text":"TemporaryFile(/tmp/multipartBody7921534986726139359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375604133,"filename":"image_02012026_18_29_15_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/2/160a7fe8262a00b8d157d973cdc2e445.jpg","text":"TemporaryFile(/tmp/multipartBody7660408862174719926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375604133,"filename":"image_02012026_18_29_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/2/dc7ca8d61b0e48af917444652029f5f9.jpg","text":"TemporaryFile(/tmp/multipartBody308034980997619779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375604133,"filename":"image_02012026_18_29_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/2/404f302dd92ab8b20ce5ea984a5c3bd0.jpg","text":"TemporaryFile(/tmp/multipartBody8418240768919255777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375604133,"filename":"image_02012026_18_28_45_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181759","file1":"1402181750","file0":"1402181742","file4":"1402181763","file5":"1402181766","file3":"1402181761"},"map_files_photo_id_array":[{"photo_id":"1402181766","filename":"file5"},{"photo_id":"1402181759","filename":"file2"},{"photo_id":"1402181763","filename":"file4"},{"photo_id":"1402181750","filename":"file1"},{"photo_id":"1402181742","filename":"file0"},{"photo_id":"1402181761","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181759":["hashtag1","hashtag2"]},{"1402181750":["hashtag1","hashtag2"]},{"1402181761":["hashtag1","hashtag2"]},{"1402181763":["hashtag1","hashtag2"]},{"1402181766":["hashtag1","hashtag2"]},{"1402181742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181759, 1402181750, 1402181761, 1402181763, 1402181766, 1402181742)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.51337242126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:40:03.242573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_45_9707.jpg', '/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_54_9809.jpg', '/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_15_10051.jpg', '/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_25_10562.jpg', '/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_35_9782.jpg', '/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_45_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_45_9707.jpg
/home/pi/Desktop/images/02012026/18/29/image_02012026_18_29_54_9809.jpg
/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_15_10051.jpg
/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_25_10562.jpg
/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_35_9782.jpg
/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_45_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":["1402181779","1402181781","1402181784","1402181778","1402181787","1402181780"],"photo_ids_order":["1402181778","1402181779","1402181780","1402181781","1402181784","1402181787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bb6f2784694a8bab4e29b03b21efc04f.jpg","text":"TemporaryFile(/tmp/multipartBody8275847938193406341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375663882,"filename":"image_02012026_18_29_54_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/2/8d5a7ee5b70c42782455936559e335a6.jpg","text":"TemporaryFile(/tmp/multipartBody3252346848831064477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375663882,"filename":"image_02012026_18_30_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/2/2e6f58b74edd19e822383cfef74c8e13.jpg","text":"TemporaryFile(/tmp/multipartBody3683113052137326939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375663882,"filename":"image_02012026_18_30_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/2/14982945c5fe34242f935cf7967027fc.jpg","text":"TemporaryFile(/tmp/multipartBody491839005966116345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375663882,"filename":"image_02012026_18_29_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/2/d30f2d31826bc45ebe3cbfb4c0ef96c7.jpg","text":"TemporaryFile(/tmp/multipartBody7900914081984830134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375663882,"filename":"image_02012026_18_30_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/2/d6dc2cafc73b6bb101cf3e267dde474f.jpg","text":"TemporaryFile(/tmp/multipartBody7862896246032866668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375663882,"filename":"image_02012026_18_30_15_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181780","file1":"1402181779","file0":"1402181778","file4":"1402181784","file5":"1402181787","file3":"1402181781"},"map_files_photo_id_array":[{"photo_id":"1402181787","filename":"file5"},{"photo_id":"1402181780","filename":"file2"},{"photo_id":"1402181784","filename":"file4"},{"photo_id":"1402181779","filename":"file1"},{"photo_id":"1402181778","filename":"file0"},{"photo_id":"1402181781","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181779":["hashtag1","hashtag2"]},{"1402181781":["hashtag1","hashtag2"]},{"1402181784":["hashtag1","hashtag2"]},{"1402181778":["hashtag1","hashtag2"]},{"1402181787":["hashtag1","hashtag2"]},{"1402181780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181779, 1402181781, 1402181784, 1402181778, 1402181787, 1402181780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63503050804138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:40:42.670329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_19_2607.jpg', '/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_28_2627.jpg', '/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_32_3540.jpg', '/home/pi/Desktop/images/05112025/20/09/image_05112025_20_09_07_35169.jpg', '/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_08_3011.jpg', '/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_12_3832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_19_2607.jpg
/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_28_2627.jpg
/home/pi/Desktop/images/05112025/20/08/image_05112025_20_08_32_3540.jpg
/home/pi/Desktop/images/05112025/20/09/image_05112025_20_09_07_35169.jpg
/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_08_3011.jpg
/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_12_3832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181813","1402181821","1402181829","1402181814","1402181808","1402181811"],"photo_ids_order":["1402181808","1402181811","1402181813","1402181814","1402181821","1402181829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/effbe2458a67101060890dd1c56fe305.jpg","text":"TemporaryFile(/tmp/multipartBody603643809562948221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375704518,"filename":"image_05112025_20_08_32_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/2/e48d2bdd16ef0545095d2ea5f70420d9.jpg","text":"TemporaryFile(/tmp/multipartBody1675949649853004003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375704518,"filename":"image_05112025_20_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/2/974ac834d66da0a5c6ae4f659a4e1991.jpg","text":"TemporaryFile(/tmp/multipartBody5038915033890590796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375704518,"filename":"image_05112025_20_10_12_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3eef7e1cad1c569fc949c7530a42243c.jpg","text":"TemporaryFile(/tmp/multipartBody7409197548020012762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375704518,"filename":"image_05112025_20_09_07_35169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/507a5099b42f5b9c4d40fec6a4473e05.jpg","text":"TemporaryFile(/tmp/multipartBody8975538136983157784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375704518,"filename":"image_05112025_20_08_19_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/2/6a9b9b4d1984d7fb078e0deb675234a2.jpg","text":"TemporaryFile(/tmp/multipartBody4878013682140845042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375704518,"filename":"image_05112025_20_08_28_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181813","file1":"1402181811","file0":"1402181808","file4":"1402181821","file5":"1402181829","file3":"1402181814"},"map_files_photo_id_array":[{"photo_id":"1402181829","filename":"file5"},{"photo_id":"1402181813","filename":"file2"},{"photo_id":"1402181821","filename":"file4"},{"photo_id":"1402181811","filename":"file1"},{"photo_id":"1402181808","filename":"file0"},{"photo_id":"1402181814","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181813":["hashtag1","hashtag2"]},{"1402181821":["hashtag1","hashtag2"]},{"1402181829":["hashtag1","hashtag2"]},{"1402181814":["hashtag1","hashtag2"]},{"1402181808":["hashtag1","hashtag2"]},{"1402181811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181813, 1402181821, 1402181829, 1402181814, 1402181808, 1402181811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.213515758514404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:41:21.877422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_55_10640.jpg', '/home/pi/Desktop/images/02012026/18/30/image_02012026_18_31_05_9810.jpg', '/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_15_9744.jpg', '/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_25_9699.jpg', '/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_35_10672.jpg', '/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_45_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/30/image_02012026_18_30_55_10640.jpg
/home/pi/Desktop/images/02012026/18/30/image_02012026_18_31_05_9810.jpg
/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_15_9744.jpg
/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_25_9699.jpg
/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_35_10672.jpg
/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_45_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181849","1402181843","1402181837","1402181839","1402181841","1402181835"],"photo_ids_order":["1402181835","1402181837","1402181839","1402181841","1402181843","1402181849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71e5b281415b3127e0ab5b4fd49dedd9.jpg","text":"TemporaryFile(/tmp/multipartBody7860164112712818936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375742489,"filename":"image_02012026_18_31_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/2/096869506b9c512dd7ecd8f4ac80dadb.jpg","text":"TemporaryFile(/tmp/multipartBody7002246447704749040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375742489,"filename":"image_02012026_18_31_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/2/331fab802f35cad0f5b25dbb338356cc.jpg","text":"TemporaryFile(/tmp/multipartBody6261816309562734357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375742489,"filename":"image_02012026_18_31_05_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/2/7a80ce5139b3c74b626a37f2c4cdcae4.jpg","text":"TemporaryFile(/tmp/multipartBody7046040064441525057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375742489,"filename":"image_02012026_18_31_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/2/d1a32fdaa64646757d6d1144c138a4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6690139658266086942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375742489,"filename":"image_02012026_18_31_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/2/f3b056a4d38e9f4befafb5c63b2a6d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5975089168959562131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375742489,"filename":"image_02012026_18_30_55_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181839","file1":"1402181837","file0":"1402181835","file4":"1402181843","file5":"1402181849","file3":"1402181841"},"map_files_photo_id_array":[{"photo_id":"1402181849","filename":"file5"},{"photo_id":"1402181839","filename":"file2"},{"photo_id":"1402181843","filename":"file4"},{"photo_id":"1402181837","filename":"file1"},{"photo_id":"1402181835","filename":"file0"},{"photo_id":"1402181841","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181849":["hashtag1","hashtag2"]},{"1402181843":["hashtag1","hashtag2"]},{"1402181837":["hashtag1","hashtag2"]},{"1402181839":["hashtag1","hashtag2"]},{"1402181841":["hashtag1","hashtag2"]},{"1402181835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181849, 1402181843, 1402181837, 1402181839, 1402181841, 1402181835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.081809520721436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:42:04.106891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_55_9892.jpg', '/home/pi/Desktop/images/02012026/18/31/image_02012026_18_32_05_9796.jpg', '/home/pi/Desktop/images/02012026/18/32/image_02012026_18_32_25_9703.jpg', '/home/pi/Desktop/images/02012026/18/32/image_02012026_18_32_35_9641.jpg', '/home/pi/Desktop/images/02012026/18/32/image_02012026_18_32_45_10733.jpg', '/home/pi/Desktop/images/02012026/18/32/image_02012026_18_33_05_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/31/image_02012026_18_31_55_9892.jpg
/home/pi/Desktop/images/02012026/18/31/image_02012026_18_32_05_9796.jpg
/home/pi/Desktop/images/02012026/18/32/image_02012026_18_32_25_9703.jpg
/home/pi/Desktop/images/02012026/18/32/image_02012026_18_32_35_9641.jpg
/home/pi/Desktop/images/02012026/18/32/image_02012026_18_32_45_10733.jpg
/home/pi/Desktop/images/02012026/18/32/image_02012026_18_33_05_9607.jpg
 val : 1 : upload photos already in 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":["1402181852","1402181851","1402181860","1402181854","1402181857","1402181853"],"photo_ids_order":["1402181851","1402181852","1402181853","1402181854","1402181857","1402181860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/252b8aef02efa37580090daf256f7de0.jpg","text":"TemporaryFile(/tmp/multipartBody3465275865273251050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375784769,"filename":"image_02012026_18_32_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/2/cdbbb15bf2e6089a994a4692eb8163c8.jpg","text":"TemporaryFile(/tmp/multipartBody7779699691376782226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375784769,"filename":"image_02012026_18_31_55_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/2/d382fa6b442cb3ec59da7fa0adb46610.jpg","text":"TemporaryFile(/tmp/multipartBody551095219413648011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375784769,"filename":"image_02012026_18_33_05_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/2/8d92c29c1d7129614f8119b64998db4b.jpg","text":"TemporaryFile(/tmp/multipartBody4009519644932095904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375784769,"filename":"image_02012026_18_32_35_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/2/8bd436e76e1c408d378805455ea8b97f.jpg","text":"TemporaryFile(/tmp/multipartBody3499617882773248320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375784769,"filename":"image_02012026_18_32_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/2/4d32d8bdb20f07c8f6ecb812120c100c.jpg","text":"TemporaryFile(/tmp/multipartBody4213058301076566379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375784769,"filename":"image_02012026_18_32_25_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181853","file1":"1402181852","file0":"1402181851","file4":"1402181857","file5":"1402181860","file3":"1402181854"},"map_files_photo_id_array":[{"photo_id":"1402181860","filename":"file5"},{"photo_id":"1402181853","filename":"file2"},{"photo_id":"1402181857","filename":"file4"},{"photo_id":"1402181852","filename":"file1"},{"photo_id":"1402181851","filename":"file0"},{"photo_id":"1402181854","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181852":["hashtag1","hashtag2"]},{"1402181851":["hashtag1","hashtag2"]},{"1402181860":["hashtag1","hashtag2"]},{"1402181854":["hashtag1","hashtag2"]},{"1402181857":["hashtag1","hashtag2"]},{"1402181853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181852, 1402181851, 1402181860, 1402181854, 1402181857, 1402181853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78295707702637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:43:03.195050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/33/image_02012026_18_33_15_10720.jpg', '/home/pi/Desktop/images/02012026/18/33/image_02012026_18_33_45_10796.jpg', '/home/pi/Desktop/images/02012026/18/33/image_02012026_18_33_55_9697.jpg', '/home/pi/Desktop/images/02012026/18/33/image_02012026_18_34_05_9539.jpg', '/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_15_10778.jpg', '/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_35_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/33/image_02012026_18_33_15_10720.jpg
/home/pi/Desktop/images/02012026/18/33/image_02012026_18_33_45_10796.jpg
/home/pi/Desktop/images/02012026/18/33/image_02012026_18_33_55_9697.jpg
/home/pi/Desktop/images/02012026/18/33/image_02012026_18_34_05_9539.jpg
/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_15_10778.jpg
/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_35_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":["1402181876","1402181870","1402181869","1402181874","1402181871","1402181873"],"photo_ids_order":["1402181869","1402181870","1402181871","1402181873","1402181874","1402181876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a639e269b7d26f004c168f6a3dee24ec.jpg","text":"TemporaryFile(/tmp/multipartBody7432398328945967479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375843812,"filename":"image_02012026_18_34_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/2/05f75a6ea981710315af3ee5876574c5.jpg","text":"TemporaryFile(/tmp/multipartBody1602693672692083050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375843812,"filename":"image_02012026_18_33_45_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/2/7f7f0f5e19a438a227bbf4782011f682.jpg","text":"TemporaryFile(/tmp/multipartBody7458893984119421137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375843812,"filename":"image_02012026_18_33_15_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/2/cea3815d177dca3712d071c6848b2e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2330342187955243771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375843812,"filename":"image_02012026_18_34_15_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/2/acd93bc37fb098ef86831c0a6789e049.jpg","text":"TemporaryFile(/tmp/multipartBody7496833516370839304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375843812,"filename":"image_02012026_18_33_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/2/0d14cc840f67921afc99ada8c7344532.jpg","text":"TemporaryFile(/tmp/multipartBody3666073268582850498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375843812,"filename":"image_02012026_18_34_05_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181871","file1":"1402181870","file0":"1402181869","file4":"1402181874","file5":"1402181876","file3":"1402181873"},"map_files_photo_id_array":[{"photo_id":"1402181876","filename":"file5"},{"photo_id":"1402181871","filename":"file2"},{"photo_id":"1402181874","filename":"file4"},{"photo_id":"1402181870","filename":"file1"},{"photo_id":"1402181869","filename":"file0"},{"photo_id":"1402181873","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181876":["hashtag1","hashtag2"]},{"1402181870":["hashtag1","hashtag2"]},{"1402181869":["hashtag1","hashtag2"]},{"1402181874":["hashtag1","hashtag2"]},{"1402181871":["hashtag1","hashtag2"]},{"1402181873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181876, 1402181870, 1402181869, 1402181874, 1402181871, 1402181873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.957367181777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:43:42.589499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_37_19451.jpg', '/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_42_5890.jpg', '/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_46_1771.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_02_15931.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_08_6052.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_13_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_37_19451.jpg
/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_42_5890.jpg
/home/pi/Desktop/images/05112025/20/10/image_05112025_20_10_46_1771.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_02_15931.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_08_6052.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_13_1546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181882","1402181884","1402181887","1402181886","1402181885","1402181888"],"photo_ids_order":["1402181882","1402181884","1402181885","1402181886","1402181887","1402181888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2e7354bb08c5effee0281cec8d939259.jpg","text":"TemporaryFile(/tmp/multipartBody3726424042175313423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375884427,"filename":"image_05112025_20_10_37_19451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a59cfc9dca3ed61e7707bd532a5cdce0.jpg","text":"TemporaryFile(/tmp/multipartBody2743453491479021533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375884427,"filename":"image_05112025_20_10_42_5890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/785351033b974484d18eefbb00a2f5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4504711577564591518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375884427,"filename":"image_05112025_20_11_08_6052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/609a1eed60466e71a04a672ff33539ec.jpg","text":"TemporaryFile(/tmp/multipartBody3157340217266113382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375884427,"filename":"image_05112025_20_11_02_15931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05cae3dd710f8cfa61a22f2e7f82aaa1.jpg","text":"TemporaryFile(/tmp/multipartBody8041733655297135395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375884427,"filename":"image_05112025_20_10_46_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/2/9be28e9d55db6dc6c221d5ee398fbc38.jpg","text":"TemporaryFile(/tmp/multipartBody1691429922335167038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375884427,"filename":"image_05112025_20_11_13_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181885","file1":"1402181884","file0":"1402181882","file4":"1402181887","file5":"1402181888","file3":"1402181886"},"map_files_photo_id_array":[{"photo_id":"1402181888","filename":"file5"},{"photo_id":"1402181885","filename":"file2"},{"photo_id":"1402181887","filename":"file4"},{"photo_id":"1402181884","filename":"file1"},{"photo_id":"1402181882","filename":"file0"},{"photo_id":"1402181886","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402181882":["hashtag1","hashtag2"]},{"1402181884":["hashtag1","hashtag2"]},{"1402181887":["hashtag1","hashtag2"]},{"1402181886":["hashtag1","hashtag2"]},{"1402181885":["hashtag1","hashtag2"]},{"1402181888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402181882, 1402181884, 1402181887, 1402181886, 1402181885, 1402181888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2196741104126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:44:22.747065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_45_10555.jpg', '/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_55_9764.jpg', '/home/pi/Desktop/images/02012026/18/34/image_02012026_18_35_05_9587.jpg', '/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_15_10635.jpg', '/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_35_9604.jpg', '/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_45_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_45_10555.jpg
/home/pi/Desktop/images/02012026/18/34/image_02012026_18_34_55_9764.jpg
/home/pi/Desktop/images/02012026/18/34/image_02012026_18_35_05_9587.jpg
/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_15_10635.jpg
/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_35_9604.jpg
/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_45_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181897","1402181896","1402181899","1402181893","1402181908","1402181891"],"photo_ids_order":["1402181891","1402181893","1402181896","1402181897","1402181899","1402181908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c46162a947e915a06353884a17f9d1cb.jpg","text":"TemporaryFile(/tmp/multipartBody4035224065845669065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375923327,"filename":"image_02012026_18_35_15_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/2/607a2b4b4d28c60c457cf030f326e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8983319960578373759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375923327,"filename":"image_02012026_18_35_05_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/2/58645ac0a55c19b32803731a8b9e531e.jpg","text":"TemporaryFile(/tmp/multipartBody55963199426621610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375923327,"filename":"image_02012026_18_35_35_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/2/c6876f2be7ddb23a867f68e3640795bf.jpg","text":"TemporaryFile(/tmp/multipartBody35802609176657465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375923327,"filename":"image_02012026_18_34_55_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/2/fd820f12bc841b65a4b450559c2738ad.jpg","text":"TemporaryFile(/tmp/multipartBody2399434746593649784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375923327,"filename":"image_02012026_18_35_45_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/2/74c1aaf5caf60d36de7d44ceb105da95.jpg","text":"TemporaryFile(/tmp/multipartBody2250543411942509995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375923327,"filename":"image_02012026_18_34_45_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181896","file1":"1402181893","file0":"1402181891","file4":"1402181899","file5":"1402181908","file3":"1402181897"},"map_files_photo_id_array":[{"photo_id":"1402181908","filename":"file5"},{"photo_id":"1402181896","filename":"file2"},{"photo_id":"1402181899","filename":"file4"},{"photo_id":"1402181893","filename":"file1"},{"photo_id":"1402181891","filename":"file0"},{"photo_id":"1402181897","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181897":["hashtag1","hashtag2"]},{"1402181896":["hashtag1","hashtag2"]},{"1402181899":["hashtag1","hashtag2"]},{"1402181893":["hashtag1","hashtag2"]},{"1402181908":["hashtag1","hashtag2"]},{"1402181891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181897, 1402181896, 1402181899, 1402181893, 1402181908, 1402181891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.717390060424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:45:02.527254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_55_9644.jpg', '/home/pi/Desktop/images/02012026/18/35/image_02012026_18_36_05_9583.jpg', '/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_15_10738.jpg', '/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_25_9652.jpg', '/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_35_9641.jpg', '/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_45_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/35/image_02012026_18_35_55_9644.jpg
/home/pi/Desktop/images/02012026/18/35/image_02012026_18_36_05_9583.jpg
/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_15_10738.jpg
/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_25_9652.jpg
/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_35_9641.jpg
/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_45_10605.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":["1402181948","1402181933","1402181935","1402181937","1402181946","1402181931"],"photo_ids_order":["1402181931","1402181933","1402181935","1402181937","1402181946","1402181948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4f4cf8dad9d304cc2ca38da8e5f00911.jpg","text":"TemporaryFile(/tmp/multipartBody3013151335182162618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375965709,"filename":"image_02012026_18_36_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/2/111755295d845005c296912519c08255.jpg","text":"TemporaryFile(/tmp/multipartBody9114057792587730959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375965709,"filename":"image_02012026_18_36_05_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/2/c6a618992a72343df40a36d81b0ed7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3130283201415281333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375965709,"filename":"image_02012026_18_36_15_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/2/d30ee1649abb7b223888840253cfd6e5.jpg","text":"TemporaryFile(/tmp/multipartBody7858182070521783529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375965709,"filename":"image_02012026_18_36_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/2/4c9626a812d17c67138709fff285f22c.jpg","text":"TemporaryFile(/tmp/multipartBody6290423270257759254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375965709,"filename":"image_02012026_18_36_35_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/2/47463a2f343ee20e057efa43b7e10bae.jpg","text":"TemporaryFile(/tmp/multipartBody2399294442894973774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767375965709,"filename":"image_02012026_18_35_55_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181935","file1":"1402181933","file0":"1402181931","file4":"1402181946","file5":"1402181948","file3":"1402181937"},"map_files_photo_id_array":[{"photo_id":"1402181948","filename":"file5"},{"photo_id":"1402181935","filename":"file2"},{"photo_id":"1402181946","filename":"file4"},{"photo_id":"1402181933","filename":"file1"},{"photo_id":"1402181931","filename":"file0"},{"photo_id":"1402181937","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181948":["hashtag1","hashtag2"]},{"1402181933":["hashtag1","hashtag2"]},{"1402181935":["hashtag1","hashtag2"]},{"1402181937":["hashtag1","hashtag2"]},{"1402181946":["hashtag1","hashtag2"]},{"1402181931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181948, 1402181933, 1402181935, 1402181937, 1402181946, 1402181931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.534428119659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:46:02.512301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_55_9558.jpg', '/home/pi/Desktop/images/02012026/18/36/image_02012026_18_37_05_10735.jpg', '/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_15_9768.jpg', '/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_25_9785.jpg', '/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_45_10624.jpg', '/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_55_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/36/image_02012026_18_36_55_9558.jpg
/home/pi/Desktop/images/02012026/18/36/image_02012026_18_37_05_10735.jpg
/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_15_9768.jpg
/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_25_9785.jpg
/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_45_10624.jpg
/home/pi/Desktop/images/02012026/18/37/image_02012026_18_37_55_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402181969","1402181963","1402181959","1402181961","1402181972","1402181966"],"photo_ids_order":["1402181959","1402181961","1402181963","1402181966","1402181969","1402181972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46d8a0d7e79d033d5185c05ec51b7aac.jpg","text":"TemporaryFile(/tmp/multipartBody905795194462170640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376023142,"filename":"image_02012026_18_37_45_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/2/505450afcf32b2201483d72a24de05f9.jpg","text":"TemporaryFile(/tmp/multipartBody6480870710896899534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376023142,"filename":"image_02012026_18_37_15_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/2/f0bdfbec862e3d98d8176861f7661b82.jpg","text":"TemporaryFile(/tmp/multipartBody3275035195579805054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376023142,"filename":"image_02012026_18_36_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/2/71278a950fa93ab82ff2688f1795b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody2871560504976137101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376023142,"filename":"image_02012026_18_37_05_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/2/c6f47ae50f894fbf94929b3cfac842db.jpg","text":"TemporaryFile(/tmp/multipartBody5309634413780586502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376023142,"filename":"image_02012026_18_37_55_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/2/8dd32bff3bc32fc3524622dc563743a1.jpg","text":"TemporaryFile(/tmp/multipartBody1693354640446890502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376023142,"filename":"image_02012026_18_37_25_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402181963","file1":"1402181961","file0":"1402181959","file4":"1402181969","file5":"1402181972","file3":"1402181966"},"map_files_photo_id_array":[{"photo_id":"1402181972","filename":"file5"},{"photo_id":"1402181963","filename":"file2"},{"photo_id":"1402181969","filename":"file4"},{"photo_id":"1402181961","filename":"file1"},{"photo_id":"1402181959","filename":"file0"},{"photo_id":"1402181966","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402181969":["hashtag1","hashtag2"]},{"1402181963":["hashtag1","hashtag2"]},{"1402181959":["hashtag1","hashtag2"]},{"1402181961":["hashtag1","hashtag2"]},{"1402181972":["hashtag1","hashtag2"]},{"1402181966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402181969, 1402181963, 1402181959, 1402181961, 1402181972, 1402181966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18908977508545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:46:42.108193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_27_14629.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_29_1652.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_32_1649.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_36_1771.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_37_1690.jpg', '/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_39_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_27_14629.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_29_1652.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_32_1649.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_36_1771.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_37_1690.jpg
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_39_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":["1402182175","1402182169","1402181989","1402182160","1402182036","1402182132"],"photo_ids_order":["1402181989","1402182036","1402182132","1402182160","1402182169","1402182175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fc4347a824f72ee549b1ac825c70a9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7220814517658016004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376063965,"filename":"image_05112025_20_11_39_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/2/612b95ad33c1684a9ccefe618fabc961.jpg","text":"TemporaryFile(/tmp/multipartBody3054318811668353602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376063965,"filename":"image_05112025_20_11_37_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/2/4d16a2b085d02e18ab090a33cd9e2eee.jpg","text":"TemporaryFile(/tmp/multipartBody7625122576716668256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376063965,"filename":"image_05112025_20_11_27_14629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3fdad9de5018340be5df4c1844a7c6fa.jpg","text":"TemporaryFile(/tmp/multipartBody7622727090175838403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376063965,"filename":"image_05112025_20_11_36_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/2/dc5c853f51359821d088f60a2a3600bc.jpg","text":"TemporaryFile(/tmp/multipartBody6615895704862763773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376063965,"filename":"image_05112025_20_11_29_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/2/720409bcf1e71f8541722bf61b851f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8834569758280685210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376063965,"filename":"image_05112025_20_11_32_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182132","file1":"1402182036","file0":"1402181989","file4":"1402182169","file5":"1402182175","file3":"1402182160"},"map_files_photo_id_array":[{"photo_id":"1402182175","filename":"file5"},{"photo_id":"1402182132","filename":"file2"},{"photo_id":"1402182169","filename":"file4"},{"photo_id":"1402182036","filename":"file1"},{"photo_id":"1402181989","filename":"file0"},{"photo_id":"1402182160","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182175":["hashtag1","hashtag2"]},{"1402182169":["hashtag1","hashtag2"]},{"1402181989":["hashtag1","hashtag2"]},{"1402182160":["hashtag1","hashtag2"]},{"1402182036":["hashtag1","hashtag2"]},{"1402182132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182175, 1402182169, 1402181989, 1402182160, 1402182036, 1402182132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.401392221450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:47:32.280518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_41_1630.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_04_1520.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_06_1637.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_07_1633.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_12_1704.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_14_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/11/image_05112025_20_11_41_1630.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_04_1520.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_06_1637.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_07_1633.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_12_1704.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_14_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":["1402182236","1402182239","1402182218","1402182241","1402182240","1402182228"],"photo_ids_order":["1402182218","1402182228","1402182236","1402182239","1402182240","1402182241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ac31d7703f52d9b56e1b397a878290e3.jpg","text":"TemporaryFile(/tmp/multipartBody5446093278295792076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376114138,"filename":"image_05112025_20_12_06_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/2/a1fbfef3ef1a1be17a4e7979d2896d72.jpg","text":"TemporaryFile(/tmp/multipartBody5230470252964239134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376114138,"filename":"image_05112025_20_12_07_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/2/ebdd178aa2d64804a287106e2cc26758.jpg","text":"TemporaryFile(/tmp/multipartBody8333668850844718172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376114138,"filename":"image_05112025_20_11_41_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/2/e05595235a11bf14d9ebe026abdc75e2.jpg","text":"TemporaryFile(/tmp/multipartBody2739813070937186041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376114138,"filename":"image_05112025_20_12_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/2/d3c2b4386fa3cd6b6e7c5530d529ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody8494381827256868187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376114138,"filename":"image_05112025_20_12_12_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/2/6b150864c7e4b5a1b15256b43bbd390e.jpg","text":"TemporaryFile(/tmp/multipartBody6982569722904616259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376114138,"filename":"image_05112025_20_12_04_1520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182236","file1":"1402182228","file0":"1402182218","file4":"1402182240","file5":"1402182241","file3":"1402182239"},"map_files_photo_id_array":[{"photo_id":"1402182241","filename":"file5"},{"photo_id":"1402182236","filename":"file2"},{"photo_id":"1402182240","filename":"file4"},{"photo_id":"1402182228","filename":"file1"},{"photo_id":"1402182218","filename":"file0"},{"photo_id":"1402182239","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182236":["hashtag1","hashtag2"]},{"1402182239":["hashtag1","hashtag2"]},{"1402182218":["hashtag1","hashtag2"]},{"1402182241":["hashtag1","hashtag2"]},{"1402182240":["hashtag1","hashtag2"]},{"1402182228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182236, 1402182239, 1402182218, 1402182241, 1402182240, 1402182228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40442776679993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:48:12.370324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_17_1804.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_19_1649.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_26_1710.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_29_1848.jpg', '/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_38_1616.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_14_36066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_17_1804.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_19_1649.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_26_1710.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_29_1848.jpg
/home/pi/Desktop/images/05112025/20/12/image_05112025_20_12_38_1616.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_14_36066.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402182364","1402182354","1402182357","1402182359","1402182332","1402182326"],"photo_ids_order":["1402182326","1402182332","1402182354","1402182357","1402182359","1402182364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0008f14c6fa661e4cf3e3175290d805a.jpg","text":"TemporaryFile(/tmp/multipartBody1057939924962194369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376154103,"filename":"image_05112025_20_13_14_36066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/34abd66f715a8ee770beac080f095e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6491691776781166043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376154103,"filename":"image_05112025_20_12_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/2/f1b49849075a819fd5c5895cc6b3c7e7.jpg","text":"TemporaryFile(/tmp/multipartBody1890277377046102179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376154103,"filename":"image_05112025_20_12_29_1848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0cfaa55fb1b1c80b44a2d4a11c95ee5f.jpg","text":"TemporaryFile(/tmp/multipartBody7498877344905803075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376154103,"filename":"image_05112025_20_12_38_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/2/54133079e63f82eba941cd86defb1222.jpg","text":"TemporaryFile(/tmp/multipartBody4822537037778925421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376154103,"filename":"image_05112025_20_12_19_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/2/ef1a41f8df3c71b316540e46f472f02c.jpg","text":"TemporaryFile(/tmp/multipartBody7559164404005357945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376154103,"filename":"image_05112025_20_12_17_1804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182354","file1":"1402182332","file0":"1402182326","file4":"1402182359","file5":"1402182364","file3":"1402182357"},"map_files_photo_id_array":[{"photo_id":"1402182364","filename":"file5"},{"photo_id":"1402182354","filename":"file2"},{"photo_id":"1402182359","filename":"file4"},{"photo_id":"1402182332","filename":"file1"},{"photo_id":"1402182326","filename":"file0"},{"photo_id":"1402182357","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182364":["hashtag1","hashtag2"]},{"1402182354":["hashtag1","hashtag2"]},{"1402182357":["hashtag1","hashtag2"]},{"1402182359":["hashtag1","hashtag2"]},{"1402182332":["hashtag1","hashtag2"]},{"1402182326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182364, 1402182354, 1402182357, 1402182359, 1402182332, 1402182326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33177638053894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:49:03.511763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/37/image_02012026_18_38_05_9902.jpg', '/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_15_10704.jpg', '/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_25_9776.jpg', '/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_35_9855.jpg', '/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_55_10628.jpg', '/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_15_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/37/image_02012026_18_38_05_9902.jpg
/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_15_10704.jpg
/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_25_9776.jpg
/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_35_9855.jpg
/home/pi/Desktop/images/02012026/18/38/image_02012026_18_38_55_10628.jpg
/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_15_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":["1402182440","1402182428","1402182436","1402182430","1402182433","1402182426"],"photo_ids_order":["1402182426","1402182428","1402182430","1402182433","1402182436","1402182440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42575021ac93145e5bea49288a4fe745.jpg","text":"TemporaryFile(/tmp/multipartBody3174278563838872861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376204270,"filename":"image_02012026_18_39_15_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/2/a7ba1432d1380ecfb582af8a09662c05.jpg","text":"TemporaryFile(/tmp/multipartBody6396572055766984119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376204270,"filename":"image_02012026_18_38_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/2/7ad0b4be8caf1b93f8922bda927a4cd1.jpg","text":"TemporaryFile(/tmp/multipartBody916254457584037218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376204270,"filename":"image_02012026_18_38_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/2/e187b4d327a9673c2718241d7abc0ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1713071737613039340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376204270,"filename":"image_02012026_18_38_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/2/4593db26382468b4d34e6c6a5baeb9f6.jpg","text":"TemporaryFile(/tmp/multipartBody4820858414349169419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376204270,"filename":"image_02012026_18_38_35_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/2/abc24b37d6d5925d797215bfb105f897.jpg","text":"TemporaryFile(/tmp/multipartBody8624541145842737202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376204270,"filename":"image_02012026_18_38_05_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182430","file1":"1402182428","file0":"1402182426","file4":"1402182436","file5":"1402182440","file3":"1402182433"},"map_files_photo_id_array":[{"photo_id":"1402182440","filename":"file5"},{"photo_id":"1402182430","filename":"file2"},{"photo_id":"1402182436","filename":"file4"},{"photo_id":"1402182428","filename":"file1"},{"photo_id":"1402182426","filename":"file0"},{"photo_id":"1402182433","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402182440":["hashtag1","hashtag2"]},{"1402182428":["hashtag1","hashtag2"]},{"1402182436":["hashtag1","hashtag2"]},{"1402182430":["hashtag1","hashtag2"]},{"1402182433":["hashtag1","hashtag2"]},{"1402182426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402182440, 1402182428, 1402182436, 1402182430, 1402182433, 1402182426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05233979225159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:49:42.573302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_29_15494.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_33_1724.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_35_1650.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_36_1649.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_38_1737.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_40_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_29_15494.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_33_1724.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_35_1650.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_36_1649.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_38_1737.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_40_1728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402182463","1402182465","1402182462","1402182456","1402182461","1402182446"],"photo_ids_order":["1402182446","1402182456","1402182461","1402182462","1402182463","1402182465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3bb0cf62a4b905053e37f39db0c8ff79.jpg","text":"TemporaryFile(/tmp/multipartBody7310615164042714807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376244406,"filename":"image_05112025_20_13_38_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/2/8fb63fd9fecb0e249dbcf54a96ad9ec3.jpg","text":"TemporaryFile(/tmp/multipartBody275889279532922416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376244406,"filename":"image_05112025_20_13_40_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/2/6ec4c37745577b078d64191f72794877.jpg","text":"TemporaryFile(/tmp/multipartBody5500504084816509921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376244406,"filename":"image_05112025_20_13_36_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/2/991236a271e7374b4621ba7e5b9f301b.jpg","text":"TemporaryFile(/tmp/multipartBody690322543736381637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376244406,"filename":"image_05112025_20_13_33_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/2/9b12634d0684d331398366716bb0aa60.jpg","text":"TemporaryFile(/tmp/multipartBody6051637540981618760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376244406,"filename":"image_05112025_20_13_35_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/2/009f9c5b5f2ff900506bb3327b6f11f3.jpg","text":"TemporaryFile(/tmp/multipartBody3999490088379342167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376244406,"filename":"image_05112025_20_13_29_15494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182461","file1":"1402182456","file0":"1402182446","file4":"1402182463","file5":"1402182465","file3":"1402182462"},"map_files_photo_id_array":[{"photo_id":"1402182465","filename":"file5"},{"photo_id":"1402182461","filename":"file2"},{"photo_id":"1402182463","filename":"file4"},{"photo_id":"1402182456","filename":"file1"},{"photo_id":"1402182446","filename":"file0"},{"photo_id":"1402182462","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182463":["hashtag1","hashtag2"]},{"1402182465":["hashtag1","hashtag2"]},{"1402182462":["hashtag1","hashtag2"]},{"1402182456":["hashtag1","hashtag2"]},{"1402182461":["hashtag1","hashtag2"]},{"1402182446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182463, 1402182465, 1402182462, 1402182456, 1402182461, 1402182446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89446210861206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:50:32.720151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_47_1770.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_48_1728.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_55_1572.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_56_1686.jpg', '/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_58_1558.jpg', '/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_08_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_47_1770.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_48_1728.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_55_1572.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_56_1686.jpg
/home/pi/Desktop/images/05112025/20/13/image_05112025_20_13_58_1558.jpg
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_08_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402182500","1402182472","1402182481","1402182495","1402182491","1402182488"],"photo_ids_order":["1402182472","1402182481","1402182488","1402182491","1402182495","1402182500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a6d6caf5e0368640ce8dc0827f65623d.jpg","text":"TemporaryFile(/tmp/multipartBody7853099963101904779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376294574,"filename":"image_05112025_20_14_08_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/2/887aa20c2b69d29dc74c9915e1fee9e3.jpg","text":"TemporaryFile(/tmp/multipartBody1780206604835685287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376294574,"filename":"image_05112025_20_13_47_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/2/8bf6013b6e22fea8f5654a18a088ff0e.jpg","text":"TemporaryFile(/tmp/multipartBody1720379761491440299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376294574,"filename":"image_05112025_20_13_48_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/2/ec1b6443bd48bbe8283dfbd7906f3cba.jpg","text":"TemporaryFile(/tmp/multipartBody6983989211877791157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376294574,"filename":"image_05112025_20_13_58_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/2/265ad3150497b82c6c48ce5fcd88dca7.jpg","text":"TemporaryFile(/tmp/multipartBody3938061197675298744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376294574,"filename":"image_05112025_20_13_56_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/2/d2b6c5798bcd29365ac83c3be5948511.jpg","text":"TemporaryFile(/tmp/multipartBody1334793239461857913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376294574,"filename":"image_05112025_20_13_55_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182488","file1":"1402182481","file0":"1402182472","file4":"1402182495","file5":"1402182500","file3":"1402182491"},"map_files_photo_id_array":[{"photo_id":"1402182500","filename":"file5"},{"photo_id":"1402182488","filename":"file2"},{"photo_id":"1402182495","filename":"file4"},{"photo_id":"1402182481","filename":"file1"},{"photo_id":"1402182472","filename":"file0"},{"photo_id":"1402182491","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182500":["hashtag1","hashtag2"]},{"1402182472":["hashtag1","hashtag2"]},{"1402182481":["hashtag1","hashtag2"]},{"1402182495":["hashtag1","hashtag2"]},{"1402182491":["hashtag1","hashtag2"]},{"1402182488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182500, 1402182472, 1402182481, 1402182495, 1402182491, 1402182488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84907937049866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:51:22.673125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_35_9542.jpg', '/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_45_10646.jpg', '/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_55_9638.jpg', '/home/pi/Desktop/images/02012026/18/40/image_02012026_18_40_15_10595.jpg', '/home/pi/Desktop/images/02012026/18/40/image_02012026_18_40_35_9611.jpg', '/home/pi/Desktop/images/02012026/18/40/image_02012026_18_40_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_35_9542.jpg
/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_45_10646.jpg
/home/pi/Desktop/images/02012026/18/39/image_02012026_18_39_55_9638.jpg
/home/pi/Desktop/images/02012026/18/40/image_02012026_18_40_15_10595.jpg
/home/pi/Desktop/images/02012026/18/40/image_02012026_18_40_35_9611.jpg
/home/pi/Desktop/images/02012026/18/40/image_02012026_18_40_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":["1402182515","1402182509","1402182535","1402182529","1402182514","1402182508"],"photo_ids_order":["1402182508","1402182509","1402182514","1402182515","1402182529","1402182535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd0082473e36e1031348283bb99f7c97.jpg","text":"TemporaryFile(/tmp/multipartBody7098978025956985338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376343217,"filename":"image_02012026_18_40_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/2/a3ca0c3dc52fb5d1c5dda5fc074d030a.jpg","text":"TemporaryFile(/tmp/multipartBody7478116988152837148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376343217,"filename":"image_02012026_18_39_45_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/2/7d4f8ee85c827ad87ed3183f0cc58e91.jpg","text":"TemporaryFile(/tmp/multipartBody3090858669545650116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376343217,"filename":"image_02012026_18_40_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/2/05215390303f6074bb709885056c6c32.jpg","text":"TemporaryFile(/tmp/multipartBody6373045358311848004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376343217,"filename":"image_02012026_18_40_35_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/2/b1922a10446e45ef84490b5627f5140d.jpg","text":"TemporaryFile(/tmp/multipartBody164800456486664540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376343217,"filename":"image_02012026_18_39_55_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/2/cb51fb25e2ef1430dec6d56143172b83.jpg","text":"TemporaryFile(/tmp/multipartBody3883394321592034551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376343217,"filename":"image_02012026_18_39_35_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182514","file1":"1402182509","file0":"1402182508","file4":"1402182529","file5":"1402182535","file3":"1402182515"},"map_files_photo_id_array":[{"photo_id":"1402182535","filename":"file5"},{"photo_id":"1402182514","filename":"file2"},{"photo_id":"1402182529","filename":"file4"},{"photo_id":"1402182509","filename":"file1"},{"photo_id":"1402182508","filename":"file0"},{"photo_id":"1402182515","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402182515":["hashtag1","hashtag2"]},{"1402182509":["hashtag1","hashtag2"]},{"1402182535":["hashtag1","hashtag2"]},{"1402182529":["hashtag1","hashtag2"]},{"1402182514":["hashtag1","hashtag2"]},{"1402182508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402182515, 1402182509, 1402182535, 1402182529, 1402182514, 1402182508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59730577468872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:52:02.343692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/40/image_02012026_18_41_05_9739.jpg', '/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_15_9698.jpg', '/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_25_10561.jpg', '/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_35_9598.jpg', '/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_45_10660.jpg', '/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_55_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/40/image_02012026_18_41_05_9739.jpg
/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_15_9698.jpg
/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_25_10561.jpg
/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_35_9598.jpg
/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_45_10660.jpg
/home/pi/Desktop/images/02012026/18/41/image_02012026_18_41_55_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402182541","1402182538","1402182546","1402182555","1402182543","1402182537"],"photo_ids_order":["1402182537","1402182538","1402182541","1402182543","1402182546","1402182555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cbc6dd36a47bcd3d1d6aac04838f0abc.jpg","text":"TemporaryFile(/tmp/multipartBody1150582083505091697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376382942,"filename":"image_02012026_18_41_25_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/2/cfd49db5f253b3a18c4e2023326f9a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4894676672478737203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376382942,"filename":"image_02012026_18_41_15_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/2/1446f1e87e415e7fc0dc7cccc71f1385.jpg","text":"TemporaryFile(/tmp/multipartBody1732385479335564654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376382942,"filename":"image_02012026_18_41_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/2/b253adc680dc39fa411f1abec0c70528.jpg","text":"TemporaryFile(/tmp/multipartBody3207137763339687870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376382942,"filename":"image_02012026_18_41_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/2/2b682f63e1af74940a7873c63ed85279.jpg","text":"TemporaryFile(/tmp/multipartBody4561576109790155220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376382942,"filename":"image_02012026_18_41_35_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/2/f9f70299d6d5e38c3c6aaa2951a71b26.jpg","text":"TemporaryFile(/tmp/multipartBody4223443124415669911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376382942,"filename":"image_02012026_18_41_05_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182541","file1":"1402182538","file0":"1402182537","file4":"1402182546","file5":"1402182555","file3":"1402182543"},"map_files_photo_id_array":[{"photo_id":"1402182555","filename":"file5"},{"photo_id":"1402182541","filename":"file2"},{"photo_id":"1402182546","filename":"file4"},{"photo_id":"1402182538","filename":"file1"},{"photo_id":"1402182537","filename":"file0"},{"photo_id":"1402182543","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402182541":["hashtag1","hashtag2"]},{"1402182538":["hashtag1","hashtag2"]},{"1402182546":["hashtag1","hashtag2"]},{"1402182555":["hashtag1","hashtag2"]},{"1402182543":["hashtag1","hashtag2"]},{"1402182537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402182541, 1402182538, 1402182546, 1402182555, 1402182543, 1402182537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.485215187072754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:52:41.976485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_09_1635.jpg', '/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_11_1756.jpg', '/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_20_1623.jpg', '/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_24_3375.jpg', '/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_30_4123.jpg', '/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_31_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_09_1635.jpg
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_11_1756.jpg
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_20_1623.jpg
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_24_3375.jpg
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_30_4123.jpg
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_31_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":["1402182745","1402182817","1402182703","1402182789","1402182663","1402182801"],"photo_ids_order":["1402182663","1402182703","1402182745","1402182789","1402182801","1402182817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2c3e219201dde4202a2a830d22121b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7318461539814774964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376423866,"filename":"image_05112025_20_14_20_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/2/0a94cc0e4c55db487154ed98dc51f14e.jpg","text":"TemporaryFile(/tmp/multipartBody3140537268479879443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376423866,"filename":"image_05112025_20_14_31_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/2/34d39478d624e09685d3ecb3c9b459a3.jpg","text":"TemporaryFile(/tmp/multipartBody1189501178604180924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376423866,"filename":"image_05112025_20_14_11_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/2/95b977ed9564d985d93361c369bdb990.jpg","text":"TemporaryFile(/tmp/multipartBody4380440988800679246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376423866,"filename":"image_05112025_20_14_24_3375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95550612c5491664dbe701219497d937.jpg","text":"TemporaryFile(/tmp/multipartBody8238639390061528416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376423866,"filename":"image_05112025_20_14_09_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/2/467e0d276d54ca0c39baf93237048f01.jpg","text":"TemporaryFile(/tmp/multipartBody4864132124610315042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376423866,"filename":"image_05112025_20_14_30_4123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182745","file1":"1402182703","file0":"1402182663","file4":"1402182801","file5":"1402182817","file3":"1402182789"},"map_files_photo_id_array":[{"photo_id":"1402182817","filename":"file5"},{"photo_id":"1402182745","filename":"file2"},{"photo_id":"1402182801","filename":"file4"},{"photo_id":"1402182703","filename":"file1"},{"photo_id":"1402182663","filename":"file0"},{"photo_id":"1402182789","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182745":["hashtag1","hashtag2"]},{"1402182817":["hashtag1","hashtag2"]},{"1402182703":["hashtag1","hashtag2"]},{"1402182789":["hashtag1","hashtag2"]},{"1402182663":["hashtag1","hashtag2"]},{"1402182801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182745, 1402182817, 1402182703, 1402182789, 1402182663, 1402182801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.471043825149536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:53:22.111508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/41/image_02012026_18_42_05_9795.jpg', '/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_15_10690.jpg', '/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_25_9811.jpg', '/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_35_9906.jpg', '/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_45_9992.jpg', '/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_55_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/41/image_02012026_18_42_05_9795.jpg
/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_15_10690.jpg
/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_25_9811.jpg
/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_35_9906.jpg
/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_45_9992.jpg
/home/pi/Desktop/images/02012026/18/42/image_02012026_18_42_55_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402182917","1402182830","1402182827","1402182871","1402182823","1402182833"],"photo_ids_order":["1402182823","1402182827","1402182830","1402182833","1402182871","1402182917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/edef6c4ea2ed570437a32600e65baf2f.jpg","text":"TemporaryFile(/tmp/multipartBody5128355305315385337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376462690,"filename":"image_02012026_18_42_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/2/ee72e29f556bf0ececb4a0f99a49d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody5512412442611463083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376462690,"filename":"image_02012026_18_42_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/2/065cec59280a0163bc24b2a20795f1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4902706872447469040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376462690,"filename":"image_02012026_18_42_15_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/2/d639bc81ed8f6fb8140b0fc59b7bc4d6.jpg","text":"TemporaryFile(/tmp/multipartBody4008829776953029080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376462690,"filename":"image_02012026_18_42_45_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5fd919134492df11e83a7025c14fc7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1058462663507101615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376462690,"filename":"image_02012026_18_42_05_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/2/12c3cc13aca4b2c3a041387bb32a9c59.jpg","text":"TemporaryFile(/tmp/multipartBody846255495682340148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376462690,"filename":"image_02012026_18_42_35_9906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182830","file1":"1402182827","file0":"1402182823","file4":"1402182871","file5":"1402182917","file3":"1402182833"},"map_files_photo_id_array":[{"photo_id":"1402182917","filename":"file5"},{"photo_id":"1402182830","filename":"file2"},{"photo_id":"1402182871","filename":"file4"},{"photo_id":"1402182827","filename":"file1"},{"photo_id":"1402182823","filename":"file0"},{"photo_id":"1402182833","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402182917":["hashtag1","hashtag2"]},{"1402182830":["hashtag1","hashtag2"]},{"1402182827":["hashtag1","hashtag2"]},{"1402182871":["hashtag1","hashtag2"]},{"1402182823":["hashtag1","hashtag2"]},{"1402182833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402182917, 1402182830, 1402182827, 1402182871, 1402182823, 1402182833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82005524635315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:54:03.167811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/42/image_02012026_18_43_05_10699.jpg', '/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_15_9683.jpg', '/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_25_9759.jpg', '/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_35_9733.jpg', '/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_45_10738.jpg', '/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_55_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/42/image_02012026_18_43_05_10699.jpg
/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_15_9683.jpg
/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_25_9759.jpg
/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_35_9733.jpg
/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_45_10738.jpg
/home/pi/Desktop/images/02012026/18/43/image_02012026_18_43_55_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":["1402182985","1402182949","1402182981","1402182951","1402182983","1402182974"],"photo_ids_order":["1402182949","1402182951","1402182974","1402182981","1402182983","1402182985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/96f84c2853e104bf2e2af3daea713c18.jpg","text":"TemporaryFile(/tmp/multipartBody6965563435411319902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376503885,"filename":"image_02012026_18_43_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/2/fac206dd8de22e76cbf2d8bb2b198ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4111055236391374430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376503885,"filename":"image_02012026_18_43_05_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/2/80682ec4af31a5af1bf096588fbb0fef.jpg","text":"TemporaryFile(/tmp/multipartBody9207893119637154067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376503885,"filename":"image_02012026_18_43_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/2/6fb7aa4c47e0b072f12729a7dc14c0a6.jpg","text":"TemporaryFile(/tmp/multipartBody8174630099375148589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376503885,"filename":"image_02012026_18_43_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/2/240371b7139a7bf69e6dd54168aec68a.jpg","text":"TemporaryFile(/tmp/multipartBody2610361840224147648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376503885,"filename":"image_02012026_18_43_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/2/0aeb9362ed42673931e80ad6da27a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody8522630326825924665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376503885,"filename":"image_02012026_18_43_25_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182974","file1":"1402182951","file0":"1402182949","file4":"1402182983","file5":"1402182985","file3":"1402182981"},"map_files_photo_id_array":[{"photo_id":"1402182985","filename":"file5"},{"photo_id":"1402182974","filename":"file2"},{"photo_id":"1402182983","filename":"file4"},{"photo_id":"1402182951","filename":"file1"},{"photo_id":"1402182949","filename":"file0"},{"photo_id":"1402182981","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402182985":["hashtag1","hashtag2"]},{"1402182949":["hashtag1","hashtag2"]},{"1402182981":["hashtag1","hashtag2"]},{"1402182951":["hashtag1","hashtag2"]},{"1402182983":["hashtag1","hashtag2"]},{"1402182974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402182985, 1402182949, 1402182981, 1402182951, 1402182983, 1402182974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70577049255371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:54:42.414691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_42_1634.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_18_1690.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_24_5203.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_25_1674.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_27_1681.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_30_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/14/image_05112025_20_14_42_1634.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_18_1690.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_24_5203.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_25_1674.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_27_1681.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_30_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402182991","1402182994","1402182997","1402182996","1402182995","1402182998"],"photo_ids_order":["1402182991","1402182994","1402182995","1402182996","1402182997","1402182998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4916ab2b810914f261a7cdb5814f2657.jpg","text":"TemporaryFile(/tmp/multipartBody9070970289990419970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376544307,"filename":"image_05112025_20_14_42_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/2/272eaa790f649551d53dbd92074c63f7.jpg","text":"TemporaryFile(/tmp/multipartBody297149554840856535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376544307,"filename":"image_05112025_20_15_18_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/2/bf07a1a65457defa87e9cdcae03d638c.jpg","text":"TemporaryFile(/tmp/multipartBody2792858155877423644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376544307,"filename":"image_05112025_20_15_27_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/2/715849b50e225c8ba283349b7047f352.jpg","text":"TemporaryFile(/tmp/multipartBody2180781346152437740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376544307,"filename":"image_05112025_20_15_25_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/2/9d6cde3a77c931b4675fddc7e9c845c8.jpg","text":"TemporaryFile(/tmp/multipartBody3348643778621504006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376544307,"filename":"image_05112025_20_15_24_5203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/782264f5181dddd1f0f4da5b16ec28b9.jpg","text":"TemporaryFile(/tmp/multipartBody2390451974677622828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376544307,"filename":"image_05112025_20_15_30_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402182995","file1":"1402182994","file0":"1402182991","file4":"1402182997","file5":"1402182998","file3":"1402182996"},"map_files_photo_id_array":[{"photo_id":"1402182998","filename":"file5"},{"photo_id":"1402182995","filename":"file2"},{"photo_id":"1402182997","filename":"file4"},{"photo_id":"1402182994","filename":"file1"},{"photo_id":"1402182991","filename":"file0"},{"photo_id":"1402182996","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402182991":["hashtag1","hashtag2"]},{"1402182994":["hashtag1","hashtag2"]},{"1402182997":["hashtag1","hashtag2"]},{"1402182996":["hashtag1","hashtag2"]},{"1402182995":["hashtag1","hashtag2"]},{"1402182998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402182991, 1402182994, 1402182997, 1402182996, 1402182995, 1402182998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35115933418274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 18:55:22.511957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/43/image_02012026_18_44_05_9675.jpg', '/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_15_10654.jpg', '/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_25_9650.jpg', '/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_35_9883.jpg', '/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_45_9687.jpg', '/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_55_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/43/image_02012026_18_44_05_9675.jpg
/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_15_10654.jpg
/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_25_9650.jpg
/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_35_9883.jpg
/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_45_9687.jpg
/home/pi/Desktop/images/02012026/18/44/image_02012026_18_44_55_10776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402183012","1402183006","1402183017","1402183014","1402183008","1402183010"],"photo_ids_order":["1402183006","1402183008","1402183010","1402183012","1402183014","1402183017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce183c04558e6209b632aa8bb84e9a33.jpg","text":"TemporaryFile(/tmp/multipartBody8816480092591366098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376583094,"filename":"image_02012026_18_44_35_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/2/c9487c949afa96d3a9f4c5149b06d1ca.jpg","text":"TemporaryFile(/tmp/multipartBody736734050186027129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376583094,"filename":"image_02012026_18_44_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/2/fb136b5aee5129ed4dd18084173f2adb.jpg","text":"TemporaryFile(/tmp/multipartBody9190557289162483043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376583094,"filename":"image_02012026_18_44_55_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/2/41ca58cc7cde14372689fa2d8b17154c.jpg","text":"TemporaryFile(/tmp/multipartBody4575682075173407815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376583094,"filename":"image_02012026_18_44_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/2/71d005f43a9997fc49eb3509cea61423.jpg","text":"TemporaryFile(/tmp/multipartBody6421045503968668346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376583094,"filename":"image_02012026_18_44_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/2/23950dd2090e2241fc29e8d7bb6a6060.jpg","text":"TemporaryFile(/tmp/multipartBody3688137467713988319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376583094,"filename":"image_02012026_18_44_25_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402183010","file1":"1402183008","file0":"1402183006","file4":"1402183014","file5":"1402183017","file3":"1402183012"},"map_files_photo_id_array":[{"photo_id":"1402183017","filename":"file5"},{"photo_id":"1402183010","filename":"file2"},{"photo_id":"1402183014","filename":"file4"},{"photo_id":"1402183008","filename":"file1"},{"photo_id":"1402183006","filename":"file0"},{"photo_id":"1402183012","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402183012":["hashtag1","hashtag2"]},{"1402183006":["hashtag1","hashtag2"]},{"1402183017":["hashtag1","hashtag2"]},{"1402183014":["hashtag1","hashtag2"]},{"1402183008":["hashtag1","hashtag2"]},{"1402183010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402183012, 1402183006, 1402183017, 1402183014, 1402183008, 1402183010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.862056493759155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:56:03.121754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/44/image_02012026_18_45_05_9741.jpg', '/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_15_9800.jpg', '/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_25_9977.jpg', '/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_35_10478.jpg', '/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_45_9663.jpg', '/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_55_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/44/image_02012026_18_45_05_9741.jpg
/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_15_9800.jpg
/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_25_9977.jpg
/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_35_10478.jpg
/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_45_9663.jpg
/home/pi/Desktop/images/02012026/18/45/image_02012026_18_45_55_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402183018","1402183033","1402183027","1402183029","1402183023","1402183025"],"photo_ids_order":["1402183018","1402183023","1402183025","1402183027","1402183029","1402183033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c538e786503e5ee3e259a53e084e4138.jpg","text":"TemporaryFile(/tmp/multipartBody6879016058693358993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376623764,"filename":"image_02012026_18_45_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/2/8077daa7f2ce417cca90c0ecf94e504e.jpg","text":"TemporaryFile(/tmp/multipartBody1757606510758795925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376623764,"filename":"image_02012026_18_45_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/2/ab6fe05b1018c62e51975efd1bfb89c2.jpg","text":"TemporaryFile(/tmp/multipartBody7785070938331498097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376623764,"filename":"image_02012026_18_45_35_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/2/56f9bd8d3788c51194e391d404ee707f.jpg","text":"TemporaryFile(/tmp/multipartBody3374964299344569199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376623764,"filename":"image_02012026_18_45_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/2/1780597bced4b9f8749b3a55b3bd6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1514000272001893015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376623764,"filename":"image_02012026_18_45_15_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/2/d99397c04a9fa405405f64ed44026c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8233566390507131876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376623764,"filename":"image_02012026_18_45_25_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402183025","file1":"1402183023","file0":"1402183018","file4":"1402183029","file5":"1402183033","file3":"1402183027"},"map_files_photo_id_array":[{"photo_id":"1402183033","filename":"file5"},{"photo_id":"1402183025","filename":"file2"},{"photo_id":"1402183029","filename":"file4"},{"photo_id":"1402183023","filename":"file1"},{"photo_id":"1402183018","filename":"file0"},{"photo_id":"1402183027","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402183018":["hashtag1","hashtag2"]},{"1402183033":["hashtag1","hashtag2"]},{"1402183027":["hashtag1","hashtag2"]},{"1402183029":["hashtag1","hashtag2"]},{"1402183023":["hashtag1","hashtag2"]},{"1402183025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402183018, 1402183033, 1402183027, 1402183029, 1402183023, 1402183025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.960296630859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:56:42.696900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_32_1575.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_35_1547.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_37_1590.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_39_1594.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_43_1610.jpg', '/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_57_8153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_32_1575.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_35_1547.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_37_1590.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_39_1594.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_43_1610.jpg
/home/pi/Desktop/images/05112025/20/15/image_05112025_20_15_57_8153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402183105","1402183114","1402183209","1402183218","1402183113","1402183136"],"photo_ids_order":["1402183105","1402183113","1402183114","1402183136","1402183209","1402183218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd44913f068a70641e4f9c928c4d988d.jpg","text":"TemporaryFile(/tmp/multipartBody2677823426782849702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376664569,"filename":"image_05112025_20_15_32_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/2/a5ed8291608be79c336e1f13a5fcf6df.jpg","text":"TemporaryFile(/tmp/multipartBody4265153723351977587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376664569,"filename":"image_05112025_20_15_37_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/2/22fb6ff922d5c201226d7f56b0a0a099.jpg","text":"TemporaryFile(/tmp/multipartBody7000585411957351159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376664569,"filename":"image_05112025_20_15_43_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/2/91751c6082c6ee0c70b99f28eae6442d.jpg","text":"TemporaryFile(/tmp/multipartBody4834499116097723975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376664569,"filename":"image_05112025_20_15_57_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/2/f9301543abd8370f6496490a4b4c3677.jpg","text":"TemporaryFile(/tmp/multipartBody2074752517167981396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376664569,"filename":"image_05112025_20_15_35_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/2/5505762d1a5b9d07c9169ee171c1302f.jpg","text":"TemporaryFile(/tmp/multipartBody4229247439394325735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376664569,"filename":"image_05112025_20_15_39_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402183114","file1":"1402183113","file0":"1402183105","file4":"1402183209","file5":"1402183218","file3":"1402183136"},"map_files_photo_id_array":[{"photo_id":"1402183218","filename":"file5"},{"photo_id":"1402183114","filename":"file2"},{"photo_id":"1402183209","filename":"file4"},{"photo_id":"1402183113","filename":"file1"},{"photo_id":"1402183105","filename":"file0"},{"photo_id":"1402183136","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402183105":["hashtag1","hashtag2"]},{"1402183114":["hashtag1","hashtag2"]},{"1402183209":["hashtag1","hashtag2"]},{"1402183218":["hashtag1","hashtag2"]},{"1402183113":["hashtag1","hashtag2"]},{"1402183136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402183105, 1402183114, 1402183209, 1402183218, 1402183113, 1402183136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14112091064453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:57:31.843184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_06_5424.jpg', '/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_23_16798.jpg', '/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_24_1604.jpg', '/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_41_1614.jpg', '/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_42_1647.jpg', '/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_49_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_06_5424.jpg
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_23_16798.jpg
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_24_1604.jpg
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_41_1614.jpg
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_42_1647.jpg
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_49_1728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402183315","1402183312","1402183314","1402183302","1402183310","1402183313"],"photo_ids_order":["1402183302","1402183310","1402183312","1402183313","1402183314","1402183315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09e1849ad78b3b8a35116713c8bf132c.jpg","text":"TemporaryFile(/tmp/multipartBody8578818242516914126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376719129,"filename":"image_05112025_20_16_49_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/2/f88ac4e22f7ff0161c5071b4a3b81eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7664153455829957804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376719129,"filename":"image_05112025_20_16_24_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/2/367df76978c14a9afee1e347942aee4d.jpg","text":"TemporaryFile(/tmp/multipartBody4286089791729945601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376719129,"filename":"image_05112025_20_16_42_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/2/335aa7d4cd77d1789769425aabed425d.jpg","text":"TemporaryFile(/tmp/multipartBody8995150631299722258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376719129,"filename":"image_05112025_20_16_06_5424.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/065b12b90bbbfce06b1e3a9c7c9795bc.jpg","text":"TemporaryFile(/tmp/multipartBody6753736967603497827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376719129,"filename":"image_05112025_20_16_23_16798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/090f921f401e87675c23797d8f6f1532.jpg","text":"TemporaryFile(/tmp/multipartBody1390567627108501798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376719129,"filename":"image_05112025_20_16_41_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402183312","file1":"1402183310","file0":"1402183302","file4":"1402183314","file5":"1402183315","file3":"1402183313"},"map_files_photo_id_array":[{"photo_id":"1402183315","filename":"file5"},{"photo_id":"1402183312","filename":"file2"},{"photo_id":"1402183314","filename":"file4"},{"photo_id":"1402183310","filename":"file1"},{"photo_id":"1402183302","filename":"file0"},{"photo_id":"1402183313","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402183315":["hashtag1","hashtag2"]},{"1402183312":["hashtag1","hashtag2"]},{"1402183314":["hashtag1","hashtag2"]},{"1402183302":["hashtag1","hashtag2"]},{"1402183310":["hashtag1","hashtag2"]},{"1402183313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402183315, 1402183312, 1402183314, 1402183302, 1402183310, 1402183313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.454063177108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 18:59:03.020447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/45/image_02012026_18_46_05_10689.jpg', '/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_15_9612.jpg', '/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_25_9703.jpg', '/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_35_10642.jpg', '/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_45_9677.jpg', '/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_55_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/45/image_02012026_18_46_05_10689.jpg
/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_15_9612.jpg
/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_25_9703.jpg
/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_35_10642.jpg
/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_45_9677.jpg
/home/pi/Desktop/images/02012026/18/46/image_02012026_18_46_55_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":["1402184070","1402184106","1402184013","1402183920","1402183839","1402184146"],"photo_ids_order":["1402183839","1402183920","1402184013","1402184070","1402184106","1402184146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/15a1eff6ec80fb2b0f283b27e7301ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3301948367434543884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376803857,"filename":"image_02012026_18_46_35_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/2/85a12b35b4d73a1b631746e72b9dd403.jpg","text":"TemporaryFile(/tmp/multipartBody5274562736937105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376803857,"filename":"image_02012026_18_46_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/2/327f96802b33fd3c33871b48463a63c1.jpg","text":"TemporaryFile(/tmp/multipartBody6381666261978827804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376803857,"filename":"image_02012026_18_46_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/2/3db7c79e7a89db86942ff4ca51a11318.jpg","text":"TemporaryFile(/tmp/multipartBody4642166306875083707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376803857,"filename":"image_02012026_18_46_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/2/b5afdf0d200acd60dc9a4971c5e97af2.jpg","text":"TemporaryFile(/tmp/multipartBody2177081722479155016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376803857,"filename":"image_02012026_18_46_05_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/2/ccf6fcb038aa2fc79f0ddc9cd2b326d7.jpg","text":"TemporaryFile(/tmp/multipartBody8327460989745568779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376803857,"filename":"image_02012026_18_46_55_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184013","file1":"1402183920","file0":"1402183839","file4":"1402184106","file5":"1402184146","file3":"1402184070"},"map_files_photo_id_array":[{"photo_id":"1402184146","filename":"file5"},{"photo_id":"1402184013","filename":"file2"},{"photo_id":"1402184106","filename":"file4"},{"photo_id":"1402183920","filename":"file1"},{"photo_id":"1402183839","filename":"file0"},{"photo_id":"1402184070","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402184070":["hashtag1","hashtag2"]},{"1402184106":["hashtag1","hashtag2"]},{"1402184013":["hashtag1","hashtag2"]},{"1402183920":["hashtag1","hashtag2"]},{"1402183839":["hashtag1","hashtag2"]},{"1402184146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402184070, 1402184106, 1402184013, 1402183920, 1402183839, 1402184146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82237935066223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 18:59:42.194366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_52_1732.jpg', '/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_56_1837.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_02_2588.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_07_1643.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_12_1864.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_18_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_52_1732.jpg
/home/pi/Desktop/images/05112025/20/16/image_05112025_20_16_56_1837.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_02_2588.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_07_1643.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_12_1864.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_18_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":["1402184325","1402184363","1402184285","1402184309","1402184504","1402184311"],"photo_ids_order":["1402184285","1402184309","1402184311","1402184325","1402184363","1402184504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ad84709b8cdec2d7f3c51eda6df12d4f.jpg","text":"TemporaryFile(/tmp/multipartBody4670151097375045625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376843918,"filename":"image_05112025_20_17_07_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/2/b00c87c8c0ed8ca55fa1d420b763bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody5447619793842106954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376843918,"filename":"image_05112025_20_17_12_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/af340bafde5ec3c40300f738d1f7b39d.jpg","text":"TemporaryFile(/tmp/multipartBody2060238429398996750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376843918,"filename":"image_05112025_20_16_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/2/e9fe44771f6a7e3c7ab2fdc5d7dd212e.jpg","text":"TemporaryFile(/tmp/multipartBody7310466540536434015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376843918,"filename":"image_05112025_20_16_56_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/2/7045648142aa96051ee0d82099cca36c.jpg","text":"TemporaryFile(/tmp/multipartBody8453960541928578420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376843918,"filename":"image_05112025_20_17_18_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/2/cc581059362a953f570d738bf8ae3fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3300179525719525100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376843918,"filename":"image_05112025_20_17_02_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184311","file1":"1402184309","file0":"1402184285","file4":"1402184363","file5":"1402184504","file3":"1402184325"},"map_files_photo_id_array":[{"photo_id":"1402184504","filename":"file5"},{"photo_id":"1402184311","filename":"file2"},{"photo_id":"1402184363","filename":"file4"},{"photo_id":"1402184309","filename":"file1"},{"photo_id":"1402184285","filename":"file0"},{"photo_id":"1402184325","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402184325":["hashtag1","hashtag2"]},{"1402184363":["hashtag1","hashtag2"]},{"1402184285":["hashtag1","hashtag2"]},{"1402184309":["hashtag1","hashtag2"]},{"1402184504":["hashtag1","hashtag2"]},{"1402184311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402184325, 1402184363, 1402184285, 1402184309, 1402184504, 1402184311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13939952850342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:00:22.442648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/46/image_02012026_18_47_05_10698.jpg', '/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_15_9809.jpg', '/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_25_9542.jpg', '/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_35_10748.jpg', '/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_45_9591.jpg', '/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_55_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/46/image_02012026_18_47_05_10698.jpg
/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_15_9809.jpg
/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_25_9542.jpg
/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_35_10748.jpg
/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_45_9591.jpg
/home/pi/Desktop/images/02012026/18/47/image_02012026_18_47_55_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402184710","1402184694","1402184712","1402184621","1402184662","1402184650"],"photo_ids_order":["1402184621","1402184650","1402184662","1402184694","1402184710","1402184712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bb15579b70b252ac44a04f976830298.jpg","text":"TemporaryFile(/tmp/multipartBody7321617955645984795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376883018,"filename":"image_02012026_18_47_45_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/2/6074ec090e74b06ff9c734495172e2c7.jpg","text":"TemporaryFile(/tmp/multipartBody3122340041497974070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376883018,"filename":"image_02012026_18_47_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/2/42b15c5f5e7aff6d17a54242e331cfeb.jpg","text":"TemporaryFile(/tmp/multipartBody5948568022613190881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376883018,"filename":"image_02012026_18_47_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/2/5c7a86cc37854f89d47f900d4e83df3c.jpg","text":"TemporaryFile(/tmp/multipartBody6134287653007898088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376883018,"filename":"image_02012026_18_47_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/2/c71c3829c9d5fd2a883a8a42cd3fc93f.jpg","text":"TemporaryFile(/tmp/multipartBody3293367885540206608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376883018,"filename":"image_02012026_18_47_25_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/2/407ea3dba5c17bd063fd8ab998006b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5446531676603884512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376883018,"filename":"image_02012026_18_47_15_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184662","file1":"1402184650","file0":"1402184621","file4":"1402184710","file5":"1402184712","file3":"1402184694"},"map_files_photo_id_array":[{"photo_id":"1402184712","filename":"file5"},{"photo_id":"1402184662","filename":"file2"},{"photo_id":"1402184710","filename":"file4"},{"photo_id":"1402184650","filename":"file1"},{"photo_id":"1402184621","filename":"file0"},{"photo_id":"1402184694","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402184710":["hashtag1","hashtag2"]},{"1402184694":["hashtag1","hashtag2"]},{"1402184712":["hashtag1","hashtag2"]},{"1402184621":["hashtag1","hashtag2"]},{"1402184662":["hashtag1","hashtag2"]},{"1402184650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402184710, 1402184694, 1402184712, 1402184621, 1402184662, 1402184650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27139925956726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:01:03.343492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/47/image_02012026_18_48_05_10733.jpg', '/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_15_9781.jpg', '/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_25_9613.jpg', '/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_35_10540.jpg', '/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_45_9607.jpg', '/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_55_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/47/image_02012026_18_48_05_10733.jpg
/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_15_9781.jpg
/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_25_9613.jpg
/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_35_10540.jpg
/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_45_9607.jpg
/home/pi/Desktop/images/02012026/18/48/image_02012026_18_48_55_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":["1402184731","1402184721","1402184723","1402184726","1402184729","1402184717"],"photo_ids_order":["1402184717","1402184721","1402184723","1402184726","1402184729","1402184731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5bf079d52e4258769e0b37cc0b586dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6513646492420262050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376924026,"filename":"image_02012026_18_48_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/2/154e02c55c2eb56d24b19516c0555bcf.jpg","text":"TemporaryFile(/tmp/multipartBody5266455619751059969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376924026,"filename":"image_02012026_18_48_15_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/2/3cfdf72861b02a415c48aad4aee8b316.jpg","text":"TemporaryFile(/tmp/multipartBody5352618944886713246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376924026,"filename":"image_02012026_18_48_25_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/2/1dde4d76377954193c22bc1e2b82dc83.jpg","text":"TemporaryFile(/tmp/multipartBody2894294843922912741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376924026,"filename":"image_02012026_18_48_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/2/a6c0cb75b97bb76856971c25fc0b3935.jpg","text":"TemporaryFile(/tmp/multipartBody2064199591905448902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376924026,"filename":"image_02012026_18_48_45_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/2/816324f87d4ad9c5bc18ee412d4be6ce.jpg","text":"TemporaryFile(/tmp/multipartBody4324516750982934120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376924026,"filename":"image_02012026_18_48_05_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184723","file1":"1402184721","file0":"1402184717","file4":"1402184729","file5":"1402184731","file3":"1402184726"},"map_files_photo_id_array":[{"photo_id":"1402184731","filename":"file5"},{"photo_id":"1402184723","filename":"file2"},{"photo_id":"1402184729","filename":"file4"},{"photo_id":"1402184721","filename":"file1"},{"photo_id":"1402184717","filename":"file0"},{"photo_id":"1402184726","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402184731":["hashtag1","hashtag2"]},{"1402184721":["hashtag1","hashtag2"]},{"1402184723":["hashtag1","hashtag2"]},{"1402184726":["hashtag1","hashtag2"]},{"1402184729":["hashtag1","hashtag2"]},{"1402184717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402184731, 1402184721, 1402184723, 1402184726, 1402184729, 1402184717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67887830734253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:01:42.708721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_22_1614.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_23_1783.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_25_1674.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_27_1593.jpg', '/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_44_17509.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_01_11030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_22_1614.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_23_1783.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_25_1674.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_27_1593.jpg
/home/pi/Desktop/images/05112025/20/17/image_05112025_20_17_44_17509.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_01_11030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402184751","1402184742","1402184736","1402184738","1402184740","1402184734"],"photo_ids_order":["1402184734","1402184736","1402184738","1402184740","1402184742","1402184751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/776a627d6a002953fba430575e4d9479.jpg","text":"TemporaryFile(/tmp/multipartBody1407964155045207292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376964547,"filename":"image_05112025_20_18_01_11030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e12c68784156899dac0218424359833.jpg","text":"TemporaryFile(/tmp/multipartBody6325842330327780964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376964547,"filename":"image_05112025_20_17_44_17509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b54b91ae1e8a8b5d5a97bbe5d1cff6a6.jpg","text":"TemporaryFile(/tmp/multipartBody1206956375696728907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376964547,"filename":"image_05112025_20_17_23_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/2/c85f7ddb403d021e79987e9b6210c779.jpg","text":"TemporaryFile(/tmp/multipartBody9153501318289259239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376964547,"filename":"image_05112025_20_17_25_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/2/4e4500dc29f482392eeb4377d0b2a43d.jpg","text":"TemporaryFile(/tmp/multipartBody373650397718563997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376964547,"filename":"image_05112025_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/2/70e37e0f2c80af72cfb9a7c990ee05f8.jpg","text":"TemporaryFile(/tmp/multipartBody8589805556714583038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767376964547,"filename":"image_05112025_20_17_22_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184738","file1":"1402184736","file0":"1402184734","file4":"1402184742","file5":"1402184751","file3":"1402184740"},"map_files_photo_id_array":[{"photo_id":"1402184751","filename":"file5"},{"photo_id":"1402184738","filename":"file2"},{"photo_id":"1402184742","filename":"file4"},{"photo_id":"1402184736","filename":"file1"},{"photo_id":"1402184734","filename":"file0"},{"photo_id":"1402184740","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402184751":["hashtag1","hashtag2"]},{"1402184742":["hashtag1","hashtag2"]},{"1402184736":["hashtag1","hashtag2"]},{"1402184738":["hashtag1","hashtag2"]},{"1402184740":["hashtag1","hashtag2"]},{"1402184734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402184751, 1402184742, 1402184736, 1402184738, 1402184740, 1402184734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18120718002319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:02:21.877278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/48/image_02012026_18_49_05_10660.jpg', '/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_15_9707.jpg', '/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_25_9652.jpg', '/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_35_10749.jpg', '/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_45_9748.jpg', '/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_55_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/48/image_02012026_18_49_05_10660.jpg
/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_15_9707.jpg
/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_25_9652.jpg
/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_35_10749.jpg
/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_45_9748.jpg
/home/pi/Desktop/images/02012026/18/49/image_02012026_18_49_55_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402184817","1402184813","1402184797","1402184851","1402184755","1402184815"],"photo_ids_order":["1402184755","1402184797","1402184813","1402184815","1402184817","1402184851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05eab5ae70de546dda87402804ffbdef.jpg","text":"TemporaryFile(/tmp/multipartBody2599920066919665338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377002478,"filename":"image_02012026_18_49_45_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/2/8f8b2edfa34baf74a9013a4171cfb8e6.jpg","text":"TemporaryFile(/tmp/multipartBody6468855150299379632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377002478,"filename":"image_02012026_18_49_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/2/72d4a9273ccdbcfdf3b3db4bcae5944e.jpg","text":"TemporaryFile(/tmp/multipartBody9122780284476722219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377002478,"filename":"image_02012026_18_49_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/2/ba4ca148543323aaf9a3dce01210ea0d.jpg","text":"TemporaryFile(/tmp/multipartBody5643781544949521802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377002478,"filename":"image_02012026_18_49_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/2/c6740799ab55f8c55f56dfa7415a9b6b.jpg","text":"TemporaryFile(/tmp/multipartBody4185552829421634278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377002478,"filename":"image_02012026_18_49_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/2/37ac25b4f2b08d66d6657f1d4f7d55f7.jpg","text":"TemporaryFile(/tmp/multipartBody4745280022803689437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377002478,"filename":"image_02012026_18_49_35_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184813","file1":"1402184797","file0":"1402184755","file4":"1402184817","file5":"1402184851","file3":"1402184815"},"map_files_photo_id_array":[{"photo_id":"1402184851","filename":"file5"},{"photo_id":"1402184813","filename":"file2"},{"photo_id":"1402184817","filename":"file4"},{"photo_id":"1402184797","filename":"file1"},{"photo_id":"1402184755","filename":"file0"},{"photo_id":"1402184815","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402184817":["hashtag1","hashtag2"]},{"1402184813":["hashtag1","hashtag2"]},{"1402184797":["hashtag1","hashtag2"]},{"1402184851":["hashtag1","hashtag2"]},{"1402184755":["hashtag1","hashtag2"]},{"1402184815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402184817, 1402184813, 1402184797, 1402184851, 1402184755, 1402184815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32493329048157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:03:02.691218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/49/image_02012026_18_50_05_9629.jpg', '/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_15_10733.jpg', '/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_25_9600.jpg', '/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_35_9690.jpg', '/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_45_10592.jpg', '/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_55_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/49/image_02012026_18_50_05_9629.jpg
/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_15_10733.jpg
/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_25_9600.jpg
/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_35_9690.jpg
/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_45_10592.jpg
/home/pi/Desktop/images/02012026/18/50/image_02012026_18_50_55_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":["1402184883","1402184964","1402184885","1402185260","1402185163","1402185067"],"photo_ids_order":["1402184883","1402184885","1402184964","1402185067","1402185163","1402185260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/24a1dc8e909a2d7069edb9ec0c4873a6.jpg","text":"TemporaryFile(/tmp/multipartBody6733770982281393972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377043386,"filename":"image_02012026_18_50_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/2/dbb34faa4173ae616c4e7db334f9b792.jpg","text":"TemporaryFile(/tmp/multipartBody6611353521193064159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377043386,"filename":"image_02012026_18_50_25_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/2/08068516767cf256669436eaf2ccc612.jpg","text":"TemporaryFile(/tmp/multipartBody5369215582027151687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377043386,"filename":"image_02012026_18_50_15_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/2/061f7a9097007166fd7640e9ce0b98d3.jpg","text":"TemporaryFile(/tmp/multipartBody1823740143900787731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377043386,"filename":"image_02012026_18_50_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/2/dc506b9971cefe271a0c3f43884e2760.jpg","text":"TemporaryFile(/tmp/multipartBody6691949411097894990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377043386,"filename":"image_02012026_18_50_45_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/2/47a0990163163ceb232e33f25a1f2800.jpg","text":"TemporaryFile(/tmp/multipartBody7894942862100412299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377043386,"filename":"image_02012026_18_50_35_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402184964","file1":"1402184885","file0":"1402184883","file4":"1402185163","file5":"1402185260","file3":"1402185067"},"map_files_photo_id_array":[{"photo_id":"1402185260","filename":"file5"},{"photo_id":"1402184964","filename":"file2"},{"photo_id":"1402185163","filename":"file4"},{"photo_id":"1402184885","filename":"file1"},{"photo_id":"1402184883","filename":"file0"},{"photo_id":"1402185067","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402184883":["hashtag1","hashtag2"]},{"1402184964":["hashtag1","hashtag2"]},{"1402184885":["hashtag1","hashtag2"]},{"1402185260":["hashtag1","hashtag2"]},{"1402185163":["hashtag1","hashtag2"]},{"1402185067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402184883, 1402184964, 1402184885, 1402185260, 1402185163, 1402185067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98863649368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:03:42.124955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_10_9094.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_24_1591.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_40_1891.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_48_1644.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_50_1657.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_55_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_10_9094.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_24_1591.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_40_1891.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_48_1644.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_50_1657.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_55_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":["1402185552","1402185549","1402185680","1402185551","1402185571","1402185553"],"photo_ids_order":["1402185549","1402185551","1402185552","1402185553","1402185571","1402185680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/72308dca11d86c7be32d166154807fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1920241687164376679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377083972,"filename":"image_05112025_20_18_40_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/2/438b750a8dfc9680ced44bd21645c502.jpg","text":"TemporaryFile(/tmp/multipartBody4066255623268674703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377083972,"filename":"image_05112025_20_18_10_9094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1215511f43abd9da7fbec39b22532092.jpg","text":"TemporaryFile(/tmp/multipartBody9023746297973240856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377083972,"filename":"image_05112025_20_18_55_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/2/8234c3fc34c73a05661338334d8eb9eb.jpg","text":"TemporaryFile(/tmp/multipartBody8205636423272790791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377083972,"filename":"image_05112025_20_18_24_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/2/279355a33a4b3dce6b74f3959c0d78d8.jpg","text":"TemporaryFile(/tmp/multipartBody4238291782028789474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377083972,"filename":"image_05112025_20_18_50_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/2/3be2453fec1b7b2e6bce419d669c3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4195247806658353207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377083972,"filename":"image_05112025_20_18_48_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185552","file1":"1402185551","file0":"1402185549","file4":"1402185571","file5":"1402185680","file3":"1402185553"},"map_files_photo_id_array":[{"photo_id":"1402185680","filename":"file5"},{"photo_id":"1402185552","filename":"file2"},{"photo_id":"1402185571","filename":"file4"},{"photo_id":"1402185551","filename":"file1"},{"photo_id":"1402185549","filename":"file0"},{"photo_id":"1402185553","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402185552":["hashtag1","hashtag2"]},{"1402185549":["hashtag1","hashtag2"]},{"1402185680":["hashtag1","hashtag2"]},{"1402185551":["hashtag1","hashtag2"]},{"1402185571":["hashtag1","hashtag2"]},{"1402185553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402185552, 1402185549, 1402185680, 1402185551, 1402185571, 1402185553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37296509742737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:04:22.310663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/50/image_02012026_18_51_05_9607.jpg', '/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_15_10740.jpg', '/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_25_9793.jpg', '/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_35_9615.jpg', '/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_45_10655.jpg', '/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_55_9165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/50/image_02012026_18_51_05_9607.jpg
/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_15_10740.jpg
/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_25_9793.jpg
/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_35_9615.jpg
/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_45_10655.jpg
/home/pi/Desktop/images/02012026/18/51/image_02012026_18_51_55_9165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402185765","1402185755","1402185775","1402185757","1402185745","1402185753"],"photo_ids_order":["1402185745","1402185753","1402185755","1402185757","1402185765","1402185775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7aad0d51f5abeb6643daf40778ec5320.jpg","text":"TemporaryFile(/tmp/multipartBody197500530718740029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377122916,"filename":"image_02012026_18_51_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/2/f3a788d38c8e9935632b9accfc14cac3.jpg","text":"TemporaryFile(/tmp/multipartBody6342017576573050422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377122916,"filename":"image_02012026_18_51_25_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/2/d11779e62c41516a75bdac202e9c82df.jpg","text":"TemporaryFile(/tmp/multipartBody161037626073168156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377122916,"filename":"image_02012026_18_51_55_9165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95d2072f828eb3a04557c5ed22d3bf6a.jpg","text":"TemporaryFile(/tmp/multipartBody2723001283115487813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377122916,"filename":"image_02012026_18_51_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/2/ec266e86e198403495a0458051960a11.jpg","text":"TemporaryFile(/tmp/multipartBody4369451404861130790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377122916,"filename":"image_02012026_18_51_05_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/2/55dd9ec8923f16e6cd6467cafd2d1934.jpg","text":"TemporaryFile(/tmp/multipartBody1700941330096867273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377122916,"filename":"image_02012026_18_51_15_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185755","file1":"1402185753","file0":"1402185745","file4":"1402185765","file5":"1402185775","file3":"1402185757"},"map_files_photo_id_array":[{"photo_id":"1402185775","filename":"file5"},{"photo_id":"1402185755","filename":"file2"},{"photo_id":"1402185765","filename":"file4"},{"photo_id":"1402185753","filename":"file1"},{"photo_id":"1402185745","filename":"file0"},{"photo_id":"1402185757","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402185765":["hashtag1","hashtag2"]},{"1402185755":["hashtag1","hashtag2"]},{"1402185775":["hashtag1","hashtag2"]},{"1402185757":["hashtag1","hashtag2"]},{"1402185745":["hashtag1","hashtag2"]},{"1402185753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402185765, 1402185755, 1402185775, 1402185757, 1402185745, 1402185753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.244030714035034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:05:03.233883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/51/image_02012026_18_52_05_10612.jpg', '/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_15_9860.jpg', '/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_25_9620.jpg', '/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_35_10729.jpg', '/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_45_9753.jpg', '/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_55_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/51/image_02012026_18_52_05_10612.jpg
/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_15_9860.jpg
/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_25_9620.jpg
/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_35_10729.jpg
/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_45_9753.jpg
/home/pi/Desktop/images/02012026/18/52/image_02012026_18_52_55_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":["1402185782","1402185788","1402185776","1402185784","1402185778","1402185780"],"photo_ids_order":["1402185776","1402185778","1402185780","1402185782","1402185784","1402185788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b989e195fa9f8ed9d635a5af6adb2154.jpg","text":"TemporaryFile(/tmp/multipartBody4005065823750517777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377163913,"filename":"image_02012026_18_52_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/2/ae0dfadec63ccbb08ee1ed72e778368f.jpg","text":"TemporaryFile(/tmp/multipartBody1087290667116385057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377163913,"filename":"image_02012026_18_52_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/2/0c9368f2f91697153171919c87502f15.jpg","text":"TemporaryFile(/tmp/multipartBody1112490277688187612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377163913,"filename":"image_02012026_18_52_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/2/fc6783c3c2b0c6f8a35d83810aa1e870.jpg","text":"TemporaryFile(/tmp/multipartBody4404970113808745113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377163913,"filename":"image_02012026_18_52_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/2/a5a7283b664c64a28d4e0f11bf0b532d.jpg","text":"TemporaryFile(/tmp/multipartBody8385283461161511664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377163913,"filename":"image_02012026_18_52_15_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/2/67959a4da2833b863686803bff17ef51.jpg","text":"TemporaryFile(/tmp/multipartBody4379193362106764379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377163913,"filename":"image_02012026_18_52_25_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185780","file1":"1402185778","file0":"1402185776","file4":"1402185784","file5":"1402185788","file3":"1402185782"},"map_files_photo_id_array":[{"photo_id":"1402185788","filename":"file5"},{"photo_id":"1402185780","filename":"file2"},{"photo_id":"1402185784","filename":"file4"},{"photo_id":"1402185778","filename":"file1"},{"photo_id":"1402185776","filename":"file0"},{"photo_id":"1402185782","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402185782":["hashtag1","hashtag2"]},{"1402185788":["hashtag1","hashtag2"]},{"1402185776":["hashtag1","hashtag2"]},{"1402185784":["hashtag1","hashtag2"]},{"1402185778":["hashtag1","hashtag2"]},{"1402185780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402185782, 1402185788, 1402185776, 1402185784, 1402185778, 1402185780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31006097793579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:05:42.516716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_58_1658.jpg', '/home/pi/Desktop/images/05112025/20/18/image_05112025_20_19_00_1508.jpg', '/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_03_1618.jpg', '/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_05_1806.jpg', '/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_07_1716.jpg', '/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_17_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_18_58_1658.jpg
/home/pi/Desktop/images/05112025/20/18/image_05112025_20_19_00_1508.jpg
/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_03_1618.jpg
/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_05_1806.jpg
/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_07_1716.jpg
/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_17_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":["1402185797","1402185800","1402185796","1402185799","1402185798","1402185802"],"photo_ids_order":["1402185796","1402185797","1402185798","1402185799","1402185800","1402185802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7846a814283320d8518241d1e84b030e.jpg","text":"TemporaryFile(/tmp/multipartBody1566309183903324730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377204353,"filename":"image_05112025_20_19_00_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/2/1d5978169ae47f87126bbb35a67cc8e4.jpg","text":"TemporaryFile(/tmp/multipartBody2954979343477236074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377204353,"filename":"image_05112025_20_19_07_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/2/1f85c0c2ca21a5b8c12eb62397b089b0.jpg","text":"TemporaryFile(/tmp/multipartBody1804009446431354800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377204353,"filename":"image_05112025_20_18_58_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/2/88bc64a479b45784f0f42aa81741f985.jpg","text":"TemporaryFile(/tmp/multipartBody4831578252365628306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377204353,"filename":"image_05112025_20_19_05_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/2/7ea5580a7a5ee369ca206eab889ad79e.jpg","text":"TemporaryFile(/tmp/multipartBody1497760611393834382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377204353,"filename":"image_05112025_20_19_03_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/2/dd052286a92e8829f4d618d82ed8fd93.jpg","text":"TemporaryFile(/tmp/multipartBody5813314446548920319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377204353,"filename":"image_05112025_20_19_17_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185798","file1":"1402185797","file0":"1402185796","file4":"1402185800","file5":"1402185802","file3":"1402185799"},"map_files_photo_id_array":[{"photo_id":"1402185802","filename":"file5"},{"photo_id":"1402185798","filename":"file2"},{"photo_id":"1402185800","filename":"file4"},{"photo_id":"1402185797","filename":"file1"},{"photo_id":"1402185796","filename":"file0"},{"photo_id":"1402185799","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402185797":["hashtag1","hashtag2"]},{"1402185800":["hashtag1","hashtag2"]},{"1402185796":["hashtag1","hashtag2"]},{"1402185799":["hashtag1","hashtag2"]},{"1402185798":["hashtag1","hashtag2"]},{"1402185802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402185797, 1402185800, 1402185796, 1402185799, 1402185798, 1402185802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5720751285553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:06:22.733274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/52/image_02012026_18_53_05_10627.jpg', '/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_15_9900.jpg', '/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_25_9949.jpg', '/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_35_9600.jpg', '/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_45_9741.jpg', '/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/52/image_02012026_18_53_05_10627.jpg
/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_15_9900.jpg
/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_25_9949.jpg
/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_35_9600.jpg
/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_45_9741.jpg
/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_55_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402185807","1402185815","1402185809","1402185812","1402185814","1402185817"],"photo_ids_order":["1402185807","1402185809","1402185812","1402185814","1402185815","1402185817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b39ae2652cc3d9906ee9df5aa25e9f98.jpg","text":"TemporaryFile(/tmp/multipartBody1766321186468844790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377243328,"filename":"image_02012026_18_53_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/2/eaf5c841ad0f40c054288e1e73fdde9d.jpg","text":"TemporaryFile(/tmp/multipartBody7265981488338260728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377243328,"filename":"image_02012026_18_53_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/deb2cc47694bd0e5cf9b942eb638c0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3325570640693479570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377243328,"filename":"image_02012026_18_53_15_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/2/bd1bfdda06f427420d1468005d204f34.jpg","text":"TemporaryFile(/tmp/multipartBody2160925681734954566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377243328,"filename":"image_02012026_18_53_25_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/2/085107705663e1a58e5420bf34889f77.jpg","text":"TemporaryFile(/tmp/multipartBody7715872425886464598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377243328,"filename":"image_02012026_18_53_35_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/2/01bab51645fe5a6e0e815845c34c5ae4.jpg","text":"TemporaryFile(/tmp/multipartBody6959934632098046948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377243328,"filename":"image_02012026_18_53_55_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185812","file1":"1402185809","file0":"1402185807","file4":"1402185815","file5":"1402185817","file3":"1402185814"},"map_files_photo_id_array":[{"photo_id":"1402185817","filename":"file5"},{"photo_id":"1402185812","filename":"file2"},{"photo_id":"1402185815","filename":"file4"},{"photo_id":"1402185809","filename":"file1"},{"photo_id":"1402185807","filename":"file0"},{"photo_id":"1402185814","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402185807":["hashtag1","hashtag2"]},{"1402185815":["hashtag1","hashtag2"]},{"1402185809":["hashtag1","hashtag2"]},{"1402185812":["hashtag1","hashtag2"]},{"1402185814":["hashtag1","hashtag2"]},{"1402185817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402185807, 1402185815, 1402185809, 1402185812, 1402185814, 1402185817)","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 = 1402185812 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02012026/18/53/image_02012026_18_53_25_9949.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.922701358795166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:07:32.082984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_52_1830.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_06_3015.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_16_3251.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_45_1594.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_49_4514.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_52_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/19/image_05112025_20_19_52_1830.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_06_3015.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_16_3251.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_45_1594.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_49_4514.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_52_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402185882","1402185876","1402185878","1402185836","1402185868","1402185838"],"photo_ids_order":["1402185836","1402185838","1402185868","1402185876","1402185878","1402185882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ae4979026d3a52d4f42733d60c0c330a.jpg","text":"TemporaryFile(/tmp/multipartBody5855672508716594318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377313976,"filename":"image_05112025_20_22_52_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/2/6d4c046c3a57b9647f18f914cbbb4012.jpg","text":"TemporaryFile(/tmp/multipartBody8806528707977484505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377313976,"filename":"image_05112025_20_22_45_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/2/dc88dea0403ef1195efab9865c972493.jpg","text":"TemporaryFile(/tmp/multipartBody4775338587848593415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377313976,"filename":"image_05112025_20_22_49_4514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12635439cf917844b0ccbea3ec173d40.jpg","text":"TemporaryFile(/tmp/multipartBody2918745707970161832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377313976,"filename":"image_05112025_20_19_52_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8d920cb5e036b0351c1a0b4efd8a86f7.jpg","text":"TemporaryFile(/tmp/multipartBody1266358655277274337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377313976,"filename":"image_05112025_20_22_16_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/2/779e03aeeff9f67942267430dbab9bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6901125733359580110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377313976,"filename":"image_05112025_20_22_06_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185868","file1":"1402185838","file0":"1402185836","file4":"1402185878","file5":"1402185882","file3":"1402185876"},"map_files_photo_id_array":[{"photo_id":"1402185882","filename":"file5"},{"photo_id":"1402185868","filename":"file2"},{"photo_id":"1402185878","filename":"file4"},{"photo_id":"1402185838","filename":"file1"},{"photo_id":"1402185836","filename":"file0"},{"photo_id":"1402185876","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402185882":["hashtag1","hashtag2"]},{"1402185876":["hashtag1","hashtag2"]},{"1402185878":["hashtag1","hashtag2"]},{"1402185836":["hashtag1","hashtag2"]},{"1402185868":["hashtag1","hashtag2"]},{"1402185838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402185882, 1402185876, 1402185878, 1402185836, 1402185868, 1402185838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75354290008545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:08:12.090992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_54_1613.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_23_01_3678.jpg', '/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_06_2687.jpg', '/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_14_1587.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_07_3308.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_13_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_54_1613.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_23_01_3678.jpg
/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_06_2687.jpg
/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_14_1587.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_07_3308.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_13_2598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6156644821166992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:08:22.030452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/53/image_02012026_18_54_05_9728.jpg', '/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_15_9691.jpg', '/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_35_9685.jpg', '/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_45_9636.jpg', '/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_55_10604.jpg', '/home/pi/Desktop/images/02012026/18/54/image_02012026_18_55_05_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/53/image_02012026_18_54_05_9728.jpg
/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_15_9691.jpg
/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_35_9685.jpg
/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_45_9636.jpg
/home/pi/Desktop/images/02012026/18/54/image_02012026_18_54_55_10604.jpg
/home/pi/Desktop/images/02012026/18/54/image_02012026_18_55_05_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":["1402185921","1402185924","1402185927","1402185935","1402185929","1402185917"],"photo_ids_order":["1402185917","1402185921","1402185924","1402185927","1402185929","1402185935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09d90f78c8eca2b2d5b5d2fd48b9be9d.jpg","text":"TemporaryFile(/tmp/multipartBody9180088469914380536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377362576,"filename":"image_02012026_18_54_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/2/3c8ef3508af049bbeb0eabbeab9ec455.jpg","text":"TemporaryFile(/tmp/multipartBody7980359289611084910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377362576,"filename":"image_02012026_18_54_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/2/edafca6377fd2f2604208573aea4a7ca.jpg","text":"TemporaryFile(/tmp/multipartBody8837479167772401558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377362576,"filename":"image_02012026_18_54_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/2/8c04e42e2f60567ac6ffb9f2a51beeef.jpg","text":"TemporaryFile(/tmp/multipartBody7200566149350686817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377362576,"filename":"image_02012026_18_55_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/2/4939b3b45fa18546b8fd64d4f87d96b7.jpg","text":"TemporaryFile(/tmp/multipartBody2470016476695332028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377362576,"filename":"image_02012026_18_54_55_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/2/783bc05dc820b88913f5903b3c25c552.jpg","text":"TemporaryFile(/tmp/multipartBody6888070909030561310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377362576,"filename":"image_02012026_18_54_05_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185924","file1":"1402185921","file0":"1402185917","file4":"1402185929","file5":"1402185935","file3":"1402185927"},"map_files_photo_id_array":[{"photo_id":"1402185935","filename":"file5"},{"photo_id":"1402185924","filename":"file2"},{"photo_id":"1402185929","filename":"file4"},{"photo_id":"1402185921","filename":"file1"},{"photo_id":"1402185917","filename":"file0"},{"photo_id":"1402185927","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402185921":["hashtag1","hashtag2"]},{"1402185924":["hashtag1","hashtag2"]},{"1402185927":["hashtag1","hashtag2"]},{"1402185935":["hashtag1","hashtag2"]},{"1402185929":["hashtag1","hashtag2"]},{"1402185917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402185921, 1402185924, 1402185927, 1402185935, 1402185929, 1402185917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55667495727539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:09:03.286716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_15_9654.jpg', '/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_25_10664.jpg', '/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_35_9601.jpg', '/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_45_9665.jpg', '/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_55_10626.jpg', '/home/pi/Desktop/images/02012026/18/55/image_02012026_18_56_05_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_15_9654.jpg
/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_25_10664.jpg
/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_35_9601.jpg
/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_45_9665.jpg
/home/pi/Desktop/images/02012026/18/55/image_02012026_18_55_55_10626.jpg
/home/pi/Desktop/images/02012026/18/55/image_02012026_18_56_05_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186002","1402185968","1402185994","1402186024","1402185984","1402185978"],"photo_ids_order":["1402185968","1402185978","1402185984","1402185994","1402186002","1402186024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/33bf6cad70626d67160c973335f42ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1896868829284780998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377404011,"filename":"image_02012026_18_55_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/2/a5512c6653a990a5e01d1bdf2e27f811.jpg","text":"TemporaryFile(/tmp/multipartBody2421829791314639924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377404011,"filename":"image_02012026_18_55_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/2/e4c63847a9c93f2513faa8163490f055.jpg","text":"TemporaryFile(/tmp/multipartBody4155250630496037497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377404011,"filename":"image_02012026_18_55_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/2/889d1019f9c1f5f27b3a0966d7e8a62e.jpg","text":"TemporaryFile(/tmp/multipartBody8757998154437588966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377404011,"filename":"image_02012026_18_56_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/2/af1412b9c6e799b9531f87aba90ef5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6343623418937803795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377404011,"filename":"image_02012026_18_55_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/2/5dca55f0b073e58869b445e4a938f30c.jpg","text":"TemporaryFile(/tmp/multipartBody705583210163917792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377404011,"filename":"image_02012026_18_55_25_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402185984","file1":"1402185978","file0":"1402185968","file4":"1402186002","file5":"1402186024","file3":"1402185994"},"map_files_photo_id_array":[{"photo_id":"1402186024","filename":"file5"},{"photo_id":"1402185984","filename":"file2"},{"photo_id":"1402186002","filename":"file4"},{"photo_id":"1402185978","filename":"file1"},{"photo_id":"1402185968","filename":"file0"},{"photo_id":"1402185994","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186002":["hashtag1","hashtag2"]},{"1402185968":["hashtag1","hashtag2"]},{"1402185994":["hashtag1","hashtag2"]},{"1402186024":["hashtag1","hashtag2"]},{"1402185984":["hashtag1","hashtag2"]},{"1402185978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186002, 1402185968, 1402185994, 1402186024, 1402185984, 1402185978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52282953262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:09:42.314655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_54_1613.jpg', '/home/pi/Desktop/images/05112025/20/22/image_05112025_20_23_01_3678.jpg', '/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_06_2687.jpg', '/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_14_1587.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_07_3308.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_13_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_22_54_1613.jpg
/home/pi/Desktop/images/05112025/20/22/image_05112025_20_23_01_3678.jpg
/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_06_2687.jpg
/home/pi/Desktop/images/05112025/20/23/image_05112025_20_23_14_1587.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_07_3308.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_13_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186031","1402186040","1402186037","1402186039","1402186033","1402186035"],"photo_ids_order":["1402186031","1402186033","1402186035","1402186037","1402186039","1402186040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd665e2a9d1bbfa326f25aa3787d672a.jpg","text":"TemporaryFile(/tmp/multipartBody1092043095676323944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377444047,"filename":"image_05112025_20_22_54_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/2/b796f946cd36c3dd33d04914fa7e1573.jpg","text":"TemporaryFile(/tmp/multipartBody4742103927565979896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377444047,"filename":"image_05112025_20_25_13_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/2/bbb484cfc590b1754906ccd3e18dc835.jpg","text":"TemporaryFile(/tmp/multipartBody3748150134668296270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377444047,"filename":"image_05112025_20_23_14_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/2/41372fdddced7c4ff730e26d90a404e8.jpg","text":"TemporaryFile(/tmp/multipartBody881235133679455856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377444047,"filename":"image_05112025_20_25_07_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/2/be5d53cc110c261041d96556dd10d2a2.jpg","text":"TemporaryFile(/tmp/multipartBody7405384890974217790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377444047,"filename":"image_05112025_20_23_01_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/2/46565156997d91c7bcc00376ef3dcd08.jpg","text":"TemporaryFile(/tmp/multipartBody894636650482485056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377444047,"filename":"image_05112025_20_23_06_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186035","file1":"1402186033","file0":"1402186031","file4":"1402186039","file5":"1402186040","file3":"1402186037"},"map_files_photo_id_array":[{"photo_id":"1402186040","filename":"file5"},{"photo_id":"1402186035","filename":"file2"},{"photo_id":"1402186039","filename":"file4"},{"photo_id":"1402186033","filename":"file1"},{"photo_id":"1402186031","filename":"file0"},{"photo_id":"1402186037","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186031":["hashtag1","hashtag2"]},{"1402186040":["hashtag1","hashtag2"]},{"1402186037":["hashtag1","hashtag2"]},{"1402186039":["hashtag1","hashtag2"]},{"1402186033":["hashtag1","hashtag2"]},{"1402186035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186031, 1402186040, 1402186037, 1402186039, 1402186033, 1402186035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45211863517761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:10:22.444599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_15_10590.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_25_9727.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_35_9683.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_45_9789.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_55_10613.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_57_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_15_10590.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_25_9727.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_35_9683.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_45_9789.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_55_10613.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_57_05_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.5084080696105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:10:33.927644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_15_2682.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_28_2766.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_52_24017.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_55_3880.jpg', '/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_57_1795.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_02_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_15_2682.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_28_2766.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_52_24017.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_55_3880.jpg
/home/pi/Desktop/images/05112025/20/25/image_05112025_20_25_57_1795.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_02_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":["1402186079","1402186070","1402186073","1402186081","1402186077","1402186080"],"photo_ids_order":["1402186070","1402186073","1402186077","1402186079","1402186080","1402186081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8f7c6dc7fcba890981c2d3bd7caa2ea.jpg","text":"TemporaryFile(/tmp/multipartBody1267858234444065001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377495738,"filename":"image_05112025_20_25_55_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9b9c2654935056f0e87ffed89e6b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8120953531921597034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377495738,"filename":"image_05112025_20_25_15_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/2/43accfe8dff512e105f18825cbd2b7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6185578914538033694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377495738,"filename":"image_05112025_20_25_28_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/2/839a93782334498c99de6cd611ca6720.jpg","text":"TemporaryFile(/tmp/multipartBody4748086381453068186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377495738,"filename":"image_05112025_20_26_02_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/2/b5fd2332ff890c7f77b30935b75ccc23.jpg","text":"TemporaryFile(/tmp/multipartBody3311789354140839142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377495738,"filename":"image_05112025_20_25_52_24017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba019a20299d28b1f4aa0b53d1bb0831.jpg","text":"TemporaryFile(/tmp/multipartBody6097325507427459680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377495738,"filename":"image_05112025_20_25_57_1795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186077","file1":"1402186073","file0":"1402186070","file4":"1402186080","file5":"1402186081","file3":"1402186079"},"map_files_photo_id_array":[{"photo_id":"1402186081","filename":"file5"},{"photo_id":"1402186077","filename":"file2"},{"photo_id":"1402186080","filename":"file4"},{"photo_id":"1402186073","filename":"file1"},{"photo_id":"1402186070","filename":"file0"},{"photo_id":"1402186079","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186079":["hashtag1","hashtag2"]},{"1402186070":["hashtag1","hashtag2"]},{"1402186073":["hashtag1","hashtag2"]},{"1402186081":["hashtag1","hashtag2"]},{"1402186077":["hashtag1","hashtag2"]},{"1402186080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186079, 1402186070, 1402186073, 1402186081, 1402186077, 1402186080)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.95342707633972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:11:22.626390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_15_10590.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_25_9727.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_35_9683.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_45_9789.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_55_10613.jpg', '/home/pi/Desktop/images/02012026/18/56/image_02012026_18_57_05_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_15_10590.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_25_9727.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_35_9683.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_45_9789.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_56_55_10613.jpg
/home/pi/Desktop/images/02012026/18/56/image_02012026_18_57_05_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":["1402186110","1402186104","1402186097","1402186100","1402186095","1402186102"],"photo_ids_order":["1402186095","1402186097","1402186100","1402186102","1402186104","1402186110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f47461ec0e635eabed5f28224d623ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4371753472158748164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377543198,"filename":"image_02012026_18_57_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/2/7c1a708baa5b704126c578d00e1b0102.jpg","text":"TemporaryFile(/tmp/multipartBody1381585123217549746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377543198,"filename":"image_02012026_18_56_55_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/2/46cedc464c2db4aa89b621ea77b535c6.jpg","text":"TemporaryFile(/tmp/multipartBody3939475314839993673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377543198,"filename":"image_02012026_18_56_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/2/7767940d5652ac3777815806623d6b00.jpg","text":"TemporaryFile(/tmp/multipartBody5383080665348370990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377543198,"filename":"image_02012026_18_56_35_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/2/ced48a159c31c793caad522904702c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8328008251607451641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377543198,"filename":"image_02012026_18_56_15_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/2/51222a592d2a679896ef5cd9fe0d5028.jpg","text":"TemporaryFile(/tmp/multipartBody861961900740217214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377543198,"filename":"image_02012026_18_56_45_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186100","file1":"1402186097","file0":"1402186095","file4":"1402186104","file5":"1402186110","file3":"1402186102"},"map_files_photo_id_array":[{"photo_id":"1402186110","filename":"file5"},{"photo_id":"1402186100","filename":"file2"},{"photo_id":"1402186104","filename":"file4"},{"photo_id":"1402186097","filename":"file1"},{"photo_id":"1402186095","filename":"file0"},{"photo_id":"1402186102","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186110":["hashtag1","hashtag2"]},{"1402186104":["hashtag1","hashtag2"]},{"1402186097":["hashtag1","hashtag2"]},{"1402186100":["hashtag1","hashtag2"]},{"1402186095":["hashtag1","hashtag2"]},{"1402186102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186110, 1402186104, 1402186097, 1402186100, 1402186095, 1402186102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87498998641968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:12:02.944558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_15_9612.jpg', '/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_25_10594.jpg', '/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_35_9559.jpg', '/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_45_10750.jpg', '/home/pi/Desktop/images/02012026/18/57/image_02012026_18_58_05_9607.jpg', '/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_15_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_15_9612.jpg
/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_25_10594.jpg
/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_35_9559.jpg
/home/pi/Desktop/images/02012026/18/57/image_02012026_18_57_45_10750.jpg
/home/pi/Desktop/images/02012026/18/57/image_02012026_18_58_05_9607.jpg
/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_15_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186137","1402186124","1402186129","1402186131","1402186140","1402186134"],"photo_ids_order":["1402186124","1402186129","1402186131","1402186134","1402186137","1402186140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b06921f0d01935d9d42d5d223d3faaa.jpg","text":"TemporaryFile(/tmp/multipartBody1093657572323318144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377583588,"filename":"image_02012026_18_58_05_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/2/4c1446b6f2b5a704fe16688b6001917a.jpg","text":"TemporaryFile(/tmp/multipartBody4439763106431591846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377583588,"filename":"image_02012026_18_57_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/2/78252e6b6aef9316426d532d3dd4e950.jpg","text":"TemporaryFile(/tmp/multipartBody5234028437190706292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377583588,"filename":"image_02012026_18_57_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/2/0fbe931f078c9acc951de60eb645298b.jpg","text":"TemporaryFile(/tmp/multipartBody8307128024556013303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377583588,"filename":"image_02012026_18_57_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/498a37e85b506ededef131609f4d4361.jpg","text":"TemporaryFile(/tmp/multipartBody7341931146545571708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377583588,"filename":"image_02012026_18_58_15_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/2/836a55229d2c01532c19fa71636a20c8.jpg","text":"TemporaryFile(/tmp/multipartBody3710781924410077113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377583588,"filename":"image_02012026_18_57_45_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186131","file1":"1402186129","file0":"1402186124","file4":"1402186137","file5":"1402186140","file3":"1402186134"},"map_files_photo_id_array":[{"photo_id":"1402186140","filename":"file5"},{"photo_id":"1402186131","filename":"file2"},{"photo_id":"1402186137","filename":"file4"},{"photo_id":"1402186129","filename":"file1"},{"photo_id":"1402186124","filename":"file0"},{"photo_id":"1402186134","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186137":["hashtag1","hashtag2"]},{"1402186124":["hashtag1","hashtag2"]},{"1402186129":["hashtag1","hashtag2"]},{"1402186131":["hashtag1","hashtag2"]},{"1402186140":["hashtag1","hashtag2"]},{"1402186134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186137, 1402186124, 1402186129, 1402186131, 1402186140, 1402186134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8938934803009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:12:42.462986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_04_1613.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_06_1596.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_07_1656.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_09_1702.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_11_1760.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_14_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_04_1613.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_06_1596.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_07_1656.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_09_1702.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_11_1760.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_14_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":["1402186151","1402186148","1402186153","1402186150","1402186146","1402186149"],"photo_ids_order":["1402186146","1402186148","1402186149","1402186150","1402186151","1402186153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/107ad57c9e9e57cf43f4f9cb8edeb662.jpg","text":"TemporaryFile(/tmp/multipartBody1592043397301779703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377624306,"filename":"image_05112025_20_26_11_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/2/6f8051f4af6f128962697cd9250b9f45.jpg","text":"TemporaryFile(/tmp/multipartBody4340306532964619052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377624306,"filename":"image_05112025_20_26_06_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/2/b3a1521415a079511ca03ec85a147512.jpg","text":"TemporaryFile(/tmp/multipartBody8176564477730064083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377624306,"filename":"image_05112025_20_26_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/2/4a7df063cdba539455e697eb20ff54f7.jpg","text":"TemporaryFile(/tmp/multipartBody2316878683848311130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377624306,"filename":"image_05112025_20_26_09_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/2/c2569e10ac302d88b29d9537997e8abe.jpg","text":"TemporaryFile(/tmp/multipartBody4313374933878626463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377624306,"filename":"image_05112025_20_26_04_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/2/64cd1d71b64e417b9ffe80f2199e75ab.jpg","text":"TemporaryFile(/tmp/multipartBody2687748274529362967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377624306,"filename":"image_05112025_20_26_07_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186149","file1":"1402186148","file0":"1402186146","file4":"1402186151","file5":"1402186153","file3":"1402186150"},"map_files_photo_id_array":[{"photo_id":"1402186153","filename":"file5"},{"photo_id":"1402186149","filename":"file2"},{"photo_id":"1402186151","filename":"file4"},{"photo_id":"1402186148","filename":"file1"},{"photo_id":"1402186146","filename":"file0"},{"photo_id":"1402186150","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186151":["hashtag1","hashtag2"]},{"1402186148":["hashtag1","hashtag2"]},{"1402186153":["hashtag1","hashtag2"]},{"1402186150":["hashtag1","hashtag2"]},{"1402186146":["hashtag1","hashtag2"]},{"1402186149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186151, 1402186148, 1402186153, 1402186150, 1402186146, 1402186149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07581353187561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:13:22.646425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_25_9652.jpg', '/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_35_9728.jpg', '/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_45_10177.jpg', '/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_55_9660.jpg', '/home/pi/Desktop/images/02012026/18/58/image_02012026_18_59_05_10623.jpg', '/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_17_11348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_25_9652.jpg
/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_35_9728.jpg
/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_45_10177.jpg
/home/pi/Desktop/images/02012026/18/58/image_02012026_18_58_55_9660.jpg
/home/pi/Desktop/images/02012026/18/58/image_02012026_18_59_05_10623.jpg
/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_17_11348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186160","1402186166","1402186162","1402186170","1402186164","1402186167"],"photo_ids_order":["1402186160","1402186162","1402186164","1402186166","1402186167","1402186170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/489c4cc71914a4154244068f1044473f.jpg","text":"TemporaryFile(/tmp/multipartBody3087459760203815744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377663231,"filename":"image_02012026_18_58_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/2/058708b534612bcdf42377fdfa434e8b.jpg","text":"TemporaryFile(/tmp/multipartBody6284853378447131050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377663231,"filename":"image_02012026_18_58_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/2/5b431884aa52d32b548e72adee7a8f64.jpg","text":"TemporaryFile(/tmp/multipartBody906322557603526870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377663231,"filename":"image_02012026_18_58_35_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/2/d8874111d3a9c4a3a8c4b1898ca84bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5681435240103039717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377663231,"filename":"image_02012026_18_59_17_11348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b7e3affe70eddf8fda999b6d8c075bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4738067597637546490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377663231,"filename":"image_02012026_18_58_45_10177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a193d881f47f4b32dc93c08f72d5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8123019103671640271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377663231,"filename":"image_02012026_18_59_05_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186164","file1":"1402186162","file0":"1402186160","file4":"1402186167","file5":"1402186170","file3":"1402186166"},"map_files_photo_id_array":[{"photo_id":"1402186170","filename":"file5"},{"photo_id":"1402186164","filename":"file2"},{"photo_id":"1402186167","filename":"file4"},{"photo_id":"1402186162","filename":"file1"},{"photo_id":"1402186160","filename":"file0"},{"photo_id":"1402186166","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186160":["hashtag1","hashtag2"]},{"1402186166":["hashtag1","hashtag2"]},{"1402186162":["hashtag1","hashtag2"]},{"1402186170":["hashtag1","hashtag2"]},{"1402186164":["hashtag1","hashtag2"]},{"1402186167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186160, 1402186166, 1402186162, 1402186170, 1402186164, 1402186167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00370907783508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:14:03.427335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_25_8689.jpg', '/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_35_9551.jpg', '/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_45_9692.jpg', '/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_14_10047.jpg', '/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_25_10649.jpg', '/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_35_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_25_8689.jpg
/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_35_9551.jpg
/home/pi/Desktop/images/02012026/18/59/image_02012026_18_59_45_9692.jpg
/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_14_10047.jpg
/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_25_10649.jpg
/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_35_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":["1402186175","1402186190","1402186183","1402186186","1402186177","1402186179"],"photo_ids_order":["1402186175","1402186177","1402186179","1402186183","1402186186","1402186190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3e5565aee9e7a3195534e05300fb1109.jpg","text":"TemporaryFile(/tmp/multipartBody4587961832734839862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377704096,"filename":"image_02012026_18_59_25_8689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80bb1d435db9e9ff040d2618f66a279c.jpg","text":"TemporaryFile(/tmp/multipartBody7819788233894119525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377704096,"filename":"image_02012026_19_00_35_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a048f38367a8efc116dd52f60774f244.jpg","text":"TemporaryFile(/tmp/multipartBody3480036828188360757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377704096,"filename":"image_02012026_19_00_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/2/54a7679a147d9eff286b35fcd1b1f88a.jpg","text":"TemporaryFile(/tmp/multipartBody9200192025526603574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377704096,"filename":"image_02012026_19_00_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/2/f759158320496feb0bb1e8b41aa9c0d9.jpg","text":"TemporaryFile(/tmp/multipartBody749980608567066701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377704096,"filename":"image_02012026_18_59_35_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/2/2b32a8533fb708f5edd24a620c6e9833.jpg","text":"TemporaryFile(/tmp/multipartBody8947881252099354164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377704096,"filename":"image_02012026_18_59_45_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186179","file1":"1402186177","file0":"1402186175","file4":"1402186186","file5":"1402186190","file3":"1402186183"},"map_files_photo_id_array":[{"photo_id":"1402186190","filename":"file5"},{"photo_id":"1402186179","filename":"file2"},{"photo_id":"1402186186","filename":"file4"},{"photo_id":"1402186177","filename":"file1"},{"photo_id":"1402186175","filename":"file0"},{"photo_id":"1402186183","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186175":["hashtag1","hashtag2"]},{"1402186190":["hashtag1","hashtag2"]},{"1402186183":["hashtag1","hashtag2"]},{"1402186186":["hashtag1","hashtag2"]},{"1402186177":["hashtag1","hashtag2"]},{"1402186179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186175, 1402186190, 1402186183, 1402186186, 1402186177, 1402186179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1773943901062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:14:42.800659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_29_1508.jpg', '/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_31_1621.jpg', '/home/pi/Desktop/images/05112025/20/27/image_05112025_20_27_08_37930.jpg', '/home/pi/Desktop/images/05112025/20/27/image_05112025_20_27_25_1647.jpg', '/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_01_36188.jpg', '/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_07_4352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_29_1508.jpg
/home/pi/Desktop/images/05112025/20/26/image_05112025_20_26_31_1621.jpg
/home/pi/Desktop/images/05112025/20/27/image_05112025_20_27_08_37930.jpg
/home/pi/Desktop/images/05112025/20/27/image_05112025_20_27_25_1647.jpg
/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_01_36188.jpg
/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_07_4352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186209","1402186218","1402186211","1402186208","1402186210","1402186204"],"photo_ids_order":["1402186204","1402186208","1402186209","1402186210","1402186211","1402186218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aff43054a3700f94823312eb731fb53d.jpg","text":"TemporaryFile(/tmp/multipartBody2615435015912500591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377744639,"filename":"image_05112025_20_27_08_37930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7490bc09a46b36261c62f3b6f6d348d3.jpg","text":"TemporaryFile(/tmp/multipartBody7255771474138261659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377744639,"filename":"image_05112025_20_28_07_4352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/213eb88a6d1427b45276b91d2536ce51.jpg","text":"TemporaryFile(/tmp/multipartBody5785608651052911343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377744639,"filename":"image_05112025_20_28_01_36188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/820eba9388ee4e0dac72b5ce9c5d4be1.jpg","text":"TemporaryFile(/tmp/multipartBody6879503615804308489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377744639,"filename":"image_05112025_20_26_31_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/2/de92af154957720934d4e78a7cd16679.jpg","text":"TemporaryFile(/tmp/multipartBody3814840299468926004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377744639,"filename":"image_05112025_20_27_25_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/2/22bbdbccbc8f39ead6059b8b98d364a7.jpg","text":"TemporaryFile(/tmp/multipartBody4506486237842075520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377744639,"filename":"image_05112025_20_26_29_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186209","file1":"1402186208","file0":"1402186204","file4":"1402186211","file5":"1402186218","file3":"1402186210"},"map_files_photo_id_array":[{"photo_id":"1402186218","filename":"file5"},{"photo_id":"1402186209","filename":"file2"},{"photo_id":"1402186211","filename":"file4"},{"photo_id":"1402186208","filename":"file1"},{"photo_id":"1402186204","filename":"file0"},{"photo_id":"1402186210","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186209":["hashtag1","hashtag2"]},{"1402186218":["hashtag1","hashtag2"]},{"1402186211":["hashtag1","hashtag2"]},{"1402186208":["hashtag1","hashtag2"]},{"1402186210":["hashtag1","hashtag2"]},{"1402186204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186209, 1402186218, 1402186211, 1402186208, 1402186210, 1402186204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.291030168533325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:15:21.868107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_45_9774.jpg', '/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_55_9869.jpg', '/home/pi/Desktop/images/02012026/19/00/image_02012026_19_01_05_10662.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_15_9654.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_25_9712.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_45_9774.jpg
/home/pi/Desktop/images/02012026/19/00/image_02012026_19_00_55_9869.jpg
/home/pi/Desktop/images/02012026/19/00/image_02012026_19_01_05_10662.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_15_9654.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_25_9712.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_35_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186236","1402186224","1402186229","1402186231","1402186233","1402186227"],"photo_ids_order":["1402186224","1402186227","1402186229","1402186231","1402186233","1402186236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/921a406d309812dd0aa4ea044fc597de.jpg","text":"TemporaryFile(/tmp/multipartBody2529241474099639622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377782423,"filename":"image_02012026_19_01_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/2/bdb6eb458631f2abf402a90f387fc204.jpg","text":"TemporaryFile(/tmp/multipartBody3989020305493231124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377782423,"filename":"image_02012026_19_00_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/2/ccccb61719dddaf3031e986618c9e921.jpg","text":"TemporaryFile(/tmp/multipartBody5736632071481733074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377782423,"filename":"image_02012026_19_01_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/2/66a729ac7c1a8614793b24e8196d8404.jpg","text":"TemporaryFile(/tmp/multipartBody6513425379162999489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377782423,"filename":"image_02012026_19_01_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/2/ea4f4388d5484b8712a77c03afd5066d.jpg","text":"TemporaryFile(/tmp/multipartBody7838048122625557671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377782423,"filename":"image_02012026_19_01_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/2/708fde39d0f6beb33ffc373712f1d6b4.jpg","text":"TemporaryFile(/tmp/multipartBody5129060080341243336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377782423,"filename":"image_02012026_19_00_55_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186229","file1":"1402186227","file0":"1402186224","file4":"1402186233","file5":"1402186236","file3":"1402186231"},"map_files_photo_id_array":[{"photo_id":"1402186236","filename":"file5"},{"photo_id":"1402186229","filename":"file2"},{"photo_id":"1402186233","filename":"file4"},{"photo_id":"1402186227","filename":"file1"},{"photo_id":"1402186224","filename":"file0"},{"photo_id":"1402186231","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186236":["hashtag1","hashtag2"]},{"1402186224":["hashtag1","hashtag2"]},{"1402186229":["hashtag1","hashtag2"]},{"1402186231":["hashtag1","hashtag2"]},{"1402186233":["hashtag1","hashtag2"]},{"1402186227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186236, 1402186224, 1402186229, 1402186231, 1402186233, 1402186227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22018480300903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:16:02.596668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_45_9668.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_55_9600.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_02_05_10651.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_15_9632.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_25_9753.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_35_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_45_9668.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_55_9600.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_02_05_10651.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_15_9632.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_25_9753.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_35_10790.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5561959743499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:16:12.212832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_10_1814.jpg', '/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_12_1595.jpg', '/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_14_1644.jpg', '/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_17_1567.jpg', '/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_09_1946.jpg', '/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_11_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_10_1814.jpg
/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_12_1595.jpg
/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_14_1644.jpg
/home/pi/Desktop/images/05112025/20/28/image_05112025_20_28_17_1567.jpg
/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_09_1946.jpg
/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_11_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":["1402186256","1402186247","1402186252","1402186255","1402186243","1402186251"],"photo_ids_order":["1402186243","1402186247","1402186251","1402186252","1402186255","1402186256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5993b2ee2674c74e43b8c60ff85d59d6.jpg","text":"TemporaryFile(/tmp/multipartBody475037693097774490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377833983,"filename":"image_05112025_20_29_11_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/2/dec970a81d20c554e19e5690d44c1c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2756950704797122893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377833983,"filename":"image_05112025_20_28_12_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/2/1aafb18344324c0a4a5c2e9bba2d02c8.jpg","text":"TemporaryFile(/tmp/multipartBody2529559045547894358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377833983,"filename":"image_05112025_20_28_17_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/2/624723fc27e4606d686362b54775c969.jpg","text":"TemporaryFile(/tmp/multipartBody8583674620174646799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377833983,"filename":"image_05112025_20_29_09_1946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/69a7d3c3b99818d70f2b913669c3eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody209715564600608738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377833983,"filename":"image_05112025_20_28_10_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/2/ed681c6d4ea2afcc6b5455e0f1db57d5.jpg","text":"TemporaryFile(/tmp/multipartBody8973837014017337337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377833983,"filename":"image_05112025_20_28_14_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186251","file1":"1402186247","file0":"1402186243","file4":"1402186255","file5":"1402186256","file3":"1402186252"},"map_files_photo_id_array":[{"photo_id":"1402186256","filename":"file5"},{"photo_id":"1402186251","filename":"file2"},{"photo_id":"1402186255","filename":"file4"},{"photo_id":"1402186247","filename":"file1"},{"photo_id":"1402186243","filename":"file0"},{"photo_id":"1402186252","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186256":["hashtag1","hashtag2"]},{"1402186247":["hashtag1","hashtag2"]},{"1402186252":["hashtag1","hashtag2"]},{"1402186255":["hashtag1","hashtag2"]},{"1402186243":["hashtag1","hashtag2"]},{"1402186251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186256, 1402186247, 1402186252, 1402186255, 1402186243, 1402186251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.914278984069824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:17:02.988184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_45_9668.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_55_9600.jpg', '/home/pi/Desktop/images/02012026/19/01/image_02012026_19_02_05_10651.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_15_9632.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_25_9753.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_35_10790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_45_9668.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_01_55_9600.jpg
/home/pi/Desktop/images/02012026/19/01/image_02012026_19_02_05_10651.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_15_9632.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_25_9753.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_35_10790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186280","1402186274","1402186283","1402186277","1402186276","1402186272"],"photo_ids_order":["1402186272","1402186274","1402186276","1402186277","1402186280","1402186283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b7e202f533e538c79167edd52a49beda.jpg","text":"TemporaryFile(/tmp/multipartBody6248489860846850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377883647,"filename":"image_02012026_19_02_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/2/d6eff561c9b8ed7dcd196d415241a5f8.jpg","text":"TemporaryFile(/tmp/multipartBody54794512902490248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377883647,"filename":"image_02012026_19_01_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/2/14b6791c68365172c45cfedcf6717f13.jpg","text":"TemporaryFile(/tmp/multipartBody4684210996244306497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377883647,"filename":"image_02012026_19_02_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/2/b5d78a493de21fb2dcb89e9f9dbdb03f.jpg","text":"TemporaryFile(/tmp/multipartBody4891826535088212888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377883647,"filename":"image_02012026_19_02_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/2/d13e30faab77ee841746648afb3c2371.jpg","text":"TemporaryFile(/tmp/multipartBody4324238656274515061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377883647,"filename":"image_02012026_19_02_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/2/c97f02d54421a63d353d636bf0a71b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1511741548143573144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377883647,"filename":"image_02012026_19_01_45_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186276","file1":"1402186274","file0":"1402186272","file4":"1402186280","file5":"1402186283","file3":"1402186277"},"map_files_photo_id_array":[{"photo_id":"1402186283","filename":"file5"},{"photo_id":"1402186276","filename":"file2"},{"photo_id":"1402186280","filename":"file4"},{"photo_id":"1402186274","filename":"file1"},{"photo_id":"1402186272","filename":"file0"},{"photo_id":"1402186277","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186280":["hashtag1","hashtag2"]},{"1402186274":["hashtag1","hashtag2"]},{"1402186283":["hashtag1","hashtag2"]},{"1402186277":["hashtag1","hashtag2"]},{"1402186276":["hashtag1","hashtag2"]},{"1402186272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186280, 1402186274, 1402186283, 1402186277, 1402186276, 1402186272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.310203075408936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:17:42.436257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_13_1729.jpg', '/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_14_1672.jpg', '/home/pi/Desktop/images/05112025/20/33/image_05112025_20_33_22_1794.jpg', '/home/pi/Desktop/images/05112025/20/33/image_05112025_20_33_24_1695.jpg', '/home/pi/Desktop/images/05112025/20/33/image_05112025_20_33_31_1627.jpg', '/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_08_3020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_13_1729.jpg
/home/pi/Desktop/images/05112025/20/29/image_05112025_20_29_14_1672.jpg
/home/pi/Desktop/images/05112025/20/33/image_05112025_20_33_22_1794.jpg
/home/pi/Desktop/images/05112025/20/33/image_05112025_20_33_24_1695.jpg
/home/pi/Desktop/images/05112025/20/33/image_05112025_20_33_31_1627.jpg
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_08_3020.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186292","1402186291","1402186294","1402186293","1402186290","1402186287"],"photo_ids_order":["1402186287","1402186290","1402186291","1402186292","1402186293","1402186294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/513c4bde7946c0fde151ff737a2529a5.jpg","text":"TemporaryFile(/tmp/multipartBody6967660542349735475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377924324,"filename":"image_05112025_20_33_24_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/2/f5643d35410ea5ee2a29d8367a37cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody2450855627923659038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377924324,"filename":"image_05112025_20_33_22_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/2/51a6fbb207df5e6fbfbef5e4eca3ce88.jpg","text":"TemporaryFile(/tmp/multipartBody8919704812411403742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377924324,"filename":"image_05112025_20_35_08_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6726a91b852bf681648af0674111f0b6.jpg","text":"TemporaryFile(/tmp/multipartBody948675664419412959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377924324,"filename":"image_05112025_20_33_31_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/2/1e3a7e885d708e297cd6f2b8ef399070.jpg","text":"TemporaryFile(/tmp/multipartBody7772336000025855840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377924324,"filename":"image_05112025_20_29_14_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/2/aed3675d75df373fc6aeb4ba10b42f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3518845131208479076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377924324,"filename":"image_05112025_20_29_13_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186291","file1":"1402186290","file0":"1402186287","file4":"1402186293","file5":"1402186294","file3":"1402186292"},"map_files_photo_id_array":[{"photo_id":"1402186294","filename":"file5"},{"photo_id":"1402186291","filename":"file2"},{"photo_id":"1402186293","filename":"file4"},{"photo_id":"1402186290","filename":"file1"},{"photo_id":"1402186287","filename":"file0"},{"photo_id":"1402186292","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186292":["hashtag1","hashtag2"]},{"1402186291":["hashtag1","hashtag2"]},{"1402186294":["hashtag1","hashtag2"]},{"1402186293":["hashtag1","hashtag2"]},{"1402186290":["hashtag1","hashtag2"]},{"1402186287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186292, 1402186291, 1402186294, 1402186293, 1402186290, 1402186287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92936658859253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:18:22.628746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_45_9532.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_55_9662.jpg', '/home/pi/Desktop/images/02012026/19/02/image_02012026_19_03_05_10674.jpg', '/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_15_9756.jpg', '/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_25_9664.jpg', '/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_35_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_45_9532.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_02_55_9662.jpg
/home/pi/Desktop/images/02012026/19/02/image_02012026_19_03_05_10674.jpg
/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_15_9756.jpg
/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_25_9664.jpg
/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_35_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186320","1402186302","1402186304","1402186309","1402186300","1402186306"],"photo_ids_order":["1402186300","1402186302","1402186304","1402186306","1402186309","1402186320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/48f18ee615f0b8bcc13f3c1565990da3.jpg","text":"TemporaryFile(/tmp/multipartBody2349510136016319027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377963244,"filename":"image_02012026_19_03_35_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/2/844cfc57b0fbb6794ec2fe3bd705e7c1.jpg","text":"TemporaryFile(/tmp/multipartBody425627314840841737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377963244,"filename":"image_02012026_19_02_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/2/371ddd3bba2046668d2ea742b69d2fd7.jpg","text":"TemporaryFile(/tmp/multipartBody2815705721590319554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377963244,"filename":"image_02012026_19_03_05_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/2/028b8bdf04c8c9e3a95baca58474a99a.jpg","text":"TemporaryFile(/tmp/multipartBody446739145148424825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377963244,"filename":"image_02012026_19_03_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/2/38afe0fc346f4944e231680f89087ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3181896619520872652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377963244,"filename":"image_02012026_19_02_45_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/05574d357a27d4e5723a67610169549e.jpg","text":"TemporaryFile(/tmp/multipartBody1840291757405870481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767377963244,"filename":"image_02012026_19_03_15_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186304","file1":"1402186302","file0":"1402186300","file4":"1402186309","file5":"1402186320","file3":"1402186306"},"map_files_photo_id_array":[{"photo_id":"1402186320","filename":"file5"},{"photo_id":"1402186304","filename":"file2"},{"photo_id":"1402186309","filename":"file4"},{"photo_id":"1402186302","filename":"file1"},{"photo_id":"1402186300","filename":"file0"},{"photo_id":"1402186306","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186320":["hashtag1","hashtag2"]},{"1402186302":["hashtag1","hashtag2"]},{"1402186304":["hashtag1","hashtag2"]},{"1402186309":["hashtag1","hashtag2"]},{"1402186300":["hashtag1","hashtag2"]},{"1402186306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186320, 1402186302, 1402186304, 1402186309, 1402186300, 1402186306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50387382507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:19:03.525916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_45_9595.jpg', '/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_55_9893.jpg', '/home/pi/Desktop/images/02012026/19/03/image_02012026_19_04_05_9839.jpg', '/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_15_10670.jpg', '/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_25_9606.jpg', '/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_35_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_45_9595.jpg
/home/pi/Desktop/images/02012026/19/03/image_02012026_19_03_55_9893.jpg
/home/pi/Desktop/images/02012026/19/03/image_02012026_19_04_05_9839.jpg
/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_15_10670.jpg
/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_25_9606.jpg
/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_35_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186329","1402186334","1402186322","1402186324","1402186332","1402186326"],"photo_ids_order":["1402186322","1402186324","1402186326","1402186329","1402186332","1402186334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c1c4081fdfdb3a1c79107c8e88995716.jpg","text":"TemporaryFile(/tmp/multipartBody984350481757616243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378004279,"filename":"image_02012026_19_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/2/1ab550f205d93ac1454d50bf49ab1fe0.jpg","text":"TemporaryFile(/tmp/multipartBody3444793524630862260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378004279,"filename":"image_02012026_19_04_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/2/476adbe5224d00a617d4978570e26be0.jpg","text":"TemporaryFile(/tmp/multipartBody6029861854576627854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378004279,"filename":"image_02012026_19_03_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/2/32399704b6f6b4faebf2a00b3c3a1cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5152309296275741656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378004279,"filename":"image_02012026_19_03_55_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/2/28c46f64bdd08cf005f641499b87e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody8014314242441063744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378004279,"filename":"image_02012026_19_04_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/2/6259bab5300986c1e53209689084db95.jpg","text":"TemporaryFile(/tmp/multipartBody1838656921147262688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378004279,"filename":"image_02012026_19_04_05_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186326","file1":"1402186324","file0":"1402186322","file4":"1402186332","file5":"1402186334","file3":"1402186329"},"map_files_photo_id_array":[{"photo_id":"1402186334","filename":"file5"},{"photo_id":"1402186326","filename":"file2"},{"photo_id":"1402186332","filename":"file4"},{"photo_id":"1402186324","filename":"file1"},{"photo_id":"1402186322","filename":"file0"},{"photo_id":"1402186329","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186329":["hashtag1","hashtag2"]},{"1402186334":["hashtag1","hashtag2"]},{"1402186322":["hashtag1","hashtag2"]},{"1402186324":["hashtag1","hashtag2"]},{"1402186332":["hashtag1","hashtag2"]},{"1402186326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186329, 1402186334, 1402186322, 1402186324, 1402186332, 1402186326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20317721366882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:19:42.755838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_20_3557.jpg', '/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_23_2699.jpg', '/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_32_2748.jpg', '/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_35_2889.jpg', '/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_38_3642.jpg', '/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_44_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_20_3557.jpg
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_23_2699.jpg
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_32_2748.jpg
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_35_2889.jpg
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_38_3642.jpg
/home/pi/Desktop/images/05112025/20/35/image_05112025_20_35_44_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186341","1402186340","1402186343","1402186345","1402186342","1402186338"],"photo_ids_order":["1402186338","1402186340","1402186341","1402186342","1402186343","1402186345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/de955422e318837a4b76174e1a87a7a5.jpg","text":"TemporaryFile(/tmp/multipartBody1080103311822501939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378044608,"filename":"image_05112025_20_35_32_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/2/99e10a8bb07aa53689523c56d3f82aaf.jpg","text":"TemporaryFile(/tmp/multipartBody9174230948227929095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378044608,"filename":"image_05112025_20_35_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/2/af4f5f09530c39a0663fb2d730b4f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7974810104611267354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378044608,"filename":"image_05112025_20_35_38_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/2/d51239704ebfb67ea580d0b13f31dda2.jpg","text":"TemporaryFile(/tmp/multipartBody4973404155061346285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378044608,"filename":"image_05112025_20_35_44_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/2/05a8aa3bddb81b7f81483f9c69e298f5.jpg","text":"TemporaryFile(/tmp/multipartBody2842353301370442184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378044608,"filename":"image_05112025_20_35_35_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/2/1b7f5d9357f544bb7523c60a2d025328.jpg","text":"TemporaryFile(/tmp/multipartBody4455414255026824582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378044608,"filename":"image_05112025_20_35_20_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186341","file1":"1402186340","file0":"1402186338","file4":"1402186343","file5":"1402186345","file3":"1402186342"},"map_files_photo_id_array":[{"photo_id":"1402186345","filename":"file5"},{"photo_id":"1402186341","filename":"file2"},{"photo_id":"1402186343","filename":"file4"},{"photo_id":"1402186340","filename":"file1"},{"photo_id":"1402186338","filename":"file0"},{"photo_id":"1402186342","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186341":["hashtag1","hashtag2"]},{"1402186340":["hashtag1","hashtag2"]},{"1402186343":["hashtag1","hashtag2"]},{"1402186345":["hashtag1","hashtag2"]},{"1402186342":["hashtag1","hashtag2"]},{"1402186338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186341, 1402186340, 1402186343, 1402186345, 1402186342, 1402186338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99054408073425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:20:31.962219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_08_1779.jpg', '/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_22_1593.jpg', '/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_45_22728.jpg', '/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_46_1643.jpg', '/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_48_1629.jpg', '/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_07_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_08_1779.jpg
/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_22_1593.jpg
/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_45_22728.jpg
/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_46_1643.jpg
/home/pi/Desktop/images/05112025/20/36/image_05112025_20_36_48_1629.jpg
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_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":["1402186355","1402186364","1402186358","1402186363","1402186365","1402186353"],"photo_ids_order":["1402186353","1402186355","1402186358","1402186363","1402186364","1402186365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5f88313d7a6aafe37829cd0b75e6760.jpg","text":"TemporaryFile(/tmp/multipartBody4205048978907328872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378093801,"filename":"image_05112025_20_36_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/2/294627830e1a1b6a223c45b0f927581a.jpg","text":"TemporaryFile(/tmp/multipartBody7665471739254512732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378093801,"filename":"image_05112025_20_36_48_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/2/6906d5f686c50a9a92848e48a25b1c1c.jpg","text":"TemporaryFile(/tmp/multipartBody9200164777276238028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378093801,"filename":"image_05112025_20_36_45_22728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a3ee9490e0fd341699021372cf1a4f08.jpg","text":"TemporaryFile(/tmp/multipartBody648587888005238827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378093801,"filename":"image_05112025_20_36_46_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/2/43d89c89de16c62700cb7671700c4353.jpg","text":"TemporaryFile(/tmp/multipartBody964112168356339096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378093801,"filename":"image_05112025_20_39_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/2/d86f6978efa9ee8a64322ee7f40b8662.jpg","text":"TemporaryFile(/tmp/multipartBody6531026632455547898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378093801,"filename":"image_05112025_20_36_08_1779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186358","file1":"1402186355","file0":"1402186353","file4":"1402186364","file5":"1402186365","file3":"1402186363"},"map_files_photo_id_array":[{"photo_id":"1402186365","filename":"file5"},{"photo_id":"1402186358","filename":"file2"},{"photo_id":"1402186364","filename":"file4"},{"photo_id":"1402186355","filename":"file1"},{"photo_id":"1402186353","filename":"file0"},{"photo_id":"1402186363","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186355":["hashtag1","hashtag2"]},{"1402186364":["hashtag1","hashtag2"]},{"1402186358":["hashtag1","hashtag2"]},{"1402186363":["hashtag1","hashtag2"]},{"1402186365":["hashtag1","hashtag2"]},{"1402186353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186355, 1402186364, 1402186358, 1402186363, 1402186365, 1402186353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18951940536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:21:12.310566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_10_3714.jpg', '/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_16_2633.jpg', '/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_47_22334.jpg', '/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_49_1639.jpg', '/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_56_1550.jpg', '/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_59_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_10_3714.jpg
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_16_2633.jpg
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_47_22334.jpg
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_49_1639.jpg
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_56_1550.jpg
/home/pi/Desktop/images/05112025/20/39/image_05112025_20_39_59_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186373","1402186376","1402186378","1402186380","1402186368","1402186371"],"photo_ids_order":["1402186368","1402186371","1402186373","1402186376","1402186378","1402186380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e15673ae30ee6f8850d676703f001351.jpg","text":"TemporaryFile(/tmp/multipartBody3861417185749451536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378134040,"filename":"image_05112025_20_39_47_22334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9c99f95cc5891258fe04dbf7f335435.jpg","text":"TemporaryFile(/tmp/multipartBody3968343484491475838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378134040,"filename":"image_05112025_20_39_49_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/2/88638418400b7a3828f20e880368f630.jpg","text":"TemporaryFile(/tmp/multipartBody6389477538917524197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378134040,"filename":"image_05112025_20_39_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/2/74613addd0b8d4928f008c2b23ba8b86.jpg","text":"TemporaryFile(/tmp/multipartBody4759812634442420072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378134040,"filename":"image_05112025_20_39_59_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/2/faf8c7f0863a9cb5d28e89be08ceb5d4.jpg","text":"TemporaryFile(/tmp/multipartBody29933649169405418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378134040,"filename":"image_05112025_20_39_10_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/2/eff6be59f7b6d1281637beec3a6b3604.jpg","text":"TemporaryFile(/tmp/multipartBody2851319354102875572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378134040,"filename":"image_05112025_20_39_16_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186373","file1":"1402186371","file0":"1402186368","file4":"1402186378","file5":"1402186380","file3":"1402186376"},"map_files_photo_id_array":[{"photo_id":"1402186380","filename":"file5"},{"photo_id":"1402186373","filename":"file2"},{"photo_id":"1402186378","filename":"file4"},{"photo_id":"1402186371","filename":"file1"},{"photo_id":"1402186368","filename":"file0"},{"photo_id":"1402186376","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186373":["hashtag1","hashtag2"]},{"1402186376":["hashtag1","hashtag2"]},{"1402186378":["hashtag1","hashtag2"]},{"1402186380":["hashtag1","hashtag2"]},{"1402186368":["hashtag1","hashtag2"]},{"1402186371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186373, 1402186376, 1402186378, 1402186380, 1402186368, 1402186371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1715772151947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:22:02.841221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 19:22:12.377863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/40/image_05112025_20_40_02_3481.jpg', '/home/pi/Desktop/images/05112025/20/40/image_05112025_20_40_04_1805.jpg', '/home/pi/Desktop/images/05112025/20/40/image_05112025_20_40_06_1552.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_07_3011.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_11_3720.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_13_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/40/image_05112025_20_40_02_3481.jpg
/home/pi/Desktop/images/05112025/20/40/image_05112025_20_40_04_1805.jpg
/home/pi/Desktop/images/05112025/20/40/image_05112025_20_40_06_1552.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_07_3011.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_11_3720.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_13_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186397","1402186401","1402186404","1402186394","1402186430","1402186435"],"photo_ids_order":["1402186394","1402186397","1402186401","1402186404","1402186430","1402186435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6e01c6f79379070345017d76e7442d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4020244240013324045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378194493,"filename":"image_05112025_20_40_04_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/2/c15315f195ac47abc0987f99225a2162.jpg","text":"TemporaryFile(/tmp/multipartBody8025282814460272528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378194493,"filename":"image_05112025_20_40_06_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/2/9a88cf4d8377f8f730620e5f8a11e161.jpg","text":"TemporaryFile(/tmp/multipartBody8174026730841984318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378194493,"filename":"image_05112025_20_42_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/2/a9691595062e41ded2272d3093b84c37.jpg","text":"TemporaryFile(/tmp/multipartBody1395230637009888443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378194493,"filename":"image_05112025_20_40_02_3481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/95a422348c1e773e27f504a3e107f33c.jpg","text":"TemporaryFile(/tmp/multipartBody2017029107408604594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378194493,"filename":"image_05112025_20_42_11_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/2/ef67775a9755843dce8bc3a07e278f3b.jpg","text":"TemporaryFile(/tmp/multipartBody6865007831352709050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378194493,"filename":"image_05112025_20_42_13_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186401","file1":"1402186397","file0":"1402186394","file4":"1402186430","file5":"1402186435","file3":"1402186404"},"map_files_photo_id_array":[{"photo_id":"1402186435","filename":"file5"},{"photo_id":"1402186401","filename":"file2"},{"photo_id":"1402186430","filename":"file4"},{"photo_id":"1402186397","filename":"file1"},{"photo_id":"1402186394","filename":"file0"},{"photo_id":"1402186404","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186397":["hashtag1","hashtag2"]},{"1402186401":["hashtag1","hashtag2"]},{"1402186404":["hashtag1","hashtag2"]},{"1402186394":["hashtag1","hashtag2"]},{"1402186430":["hashtag1","hashtag2"]},{"1402186435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186397, 1402186401, 1402186404, 1402186394, 1402186430, 1402186435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.904351472854614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:23:03.156934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_45_10795.jpg', '/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_55_9714.jpg', '/home/pi/Desktop/images/02012026/19/04/image_02012026_19_05_05_9718.jpg', '/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_15_9718.jpg', '/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_25_10665.jpg', '/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_35_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_45_10795.jpg
/home/pi/Desktop/images/02012026/19/04/image_02012026_19_04_55_9714.jpg
/home/pi/Desktop/images/02012026/19/04/image_02012026_19_05_05_9718.jpg
/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_15_9718.jpg
/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_25_10665.jpg
/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_35_9614.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":["1402186451","1402186448","1402186445","1402186453","1402186441","1402186443"],"photo_ids_order":["1402186441","1402186443","1402186445","1402186448","1402186451","1402186453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8c640e32d30043613bedc3bacaf6760.jpg","text":"TemporaryFile(/tmp/multipartBody1497862613797696218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378246322,"filename":"image_02012026_19_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/2/18c6b1809f642231aa07b8171bb9c83a.jpg","text":"TemporaryFile(/tmp/multipartBody3813872251474781315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378246322,"filename":"image_02012026_19_05_15_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/2/e4f0f04f863dc2c475468112c92610de.jpg","text":"TemporaryFile(/tmp/multipartBody403197700159137314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378246322,"filename":"image_02012026_19_05_05_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/2/4f8ab15ee01418233f76a839a7966561.jpg","text":"TemporaryFile(/tmp/multipartBody4379264121579005501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378246322,"filename":"image_02012026_19_05_35_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/2/38c41c86d37a90145d36885a1d314283.jpg","text":"TemporaryFile(/tmp/multipartBody6641527540454108987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378246322,"filename":"image_02012026_19_04_45_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/2/2cf32bb68f6717ea640b9c48eb4705f7.jpg","text":"TemporaryFile(/tmp/multipartBody4953557446717678095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378246322,"filename":"image_02012026_19_04_55_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186445","file1":"1402186443","file0":"1402186441","file4":"1402186451","file5":"1402186453","file3":"1402186448"},"map_files_photo_id_array":[{"photo_id":"1402186453","filename":"file5"},{"photo_id":"1402186445","filename":"file2"},{"photo_id":"1402186451","filename":"file4"},{"photo_id":"1402186443","filename":"file1"},{"photo_id":"1402186441","filename":"file0"},{"photo_id":"1402186448","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186451":["hashtag1","hashtag2"]},{"1402186448":["hashtag1","hashtag2"]},{"1402186445":["hashtag1","hashtag2"]},{"1402186453":["hashtag1","hashtag2"]},{"1402186441":["hashtag1","hashtag2"]},{"1402186443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186451, 1402186448, 1402186445, 1402186453, 1402186441, 1402186443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18713879585266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:24:04.284868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_44_9673.jpg', '/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_55_10846.jpg', '/home/pi/Desktop/images/02012026/19/05/image_02012026_19_06_05_9818.jpg', '/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_15_9633.jpg', '/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_35_10706.jpg', '/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_45_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_44_9673.jpg
/home/pi/Desktop/images/02012026/19/05/image_02012026_19_05_55_10846.jpg
/home/pi/Desktop/images/02012026/19/05/image_02012026_19_06_05_9818.jpg
/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_15_9633.jpg
/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_35_10706.jpg
/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_45_9799.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":["1402186469","1402186471","1402186465","1402186474","1402186467","1402186476"],"photo_ids_order":["1402186465","1402186467","1402186469","1402186471","1402186474","1402186476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d9b219eba10a3e60fcf11c42a97a99a4.jpg","text":"TemporaryFile(/tmp/multipartBody964949346237293751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378307267,"filename":"image_02012026_19_06_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/2/926fd08bb56034107bdf65b244470678.jpg","text":"TemporaryFile(/tmp/multipartBody7405045924611242046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378307267,"filename":"image_02012026_19_06_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/2/ba46d7a33d83a7f6c093cd74202faa95.jpg","text":"TemporaryFile(/tmp/multipartBody287168705058861283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378307267,"filename":"image_02012026_19_05_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/54c788023408cd2976b46d1f3ceeebf4.jpg","text":"TemporaryFile(/tmp/multipartBody8494104211764583190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378307267,"filename":"image_02012026_19_06_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/2/eb69a42cc89f3f42430ffd65757f479c.jpg","text":"TemporaryFile(/tmp/multipartBody8596835313203818974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378307267,"filename":"image_02012026_19_05_55_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/2/bf6b79845f7ecf7dfb77473a7327937f.jpg","text":"TemporaryFile(/tmp/multipartBody2968696282855254369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378307267,"filename":"image_02012026_19_06_45_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186469","file1":"1402186467","file0":"1402186465","file4":"1402186474","file5":"1402186476","file3":"1402186471"},"map_files_photo_id_array":[{"photo_id":"1402186476","filename":"file5"},{"photo_id":"1402186469","filename":"file2"},{"photo_id":"1402186474","filename":"file4"},{"photo_id":"1402186467","filename":"file1"},{"photo_id":"1402186465","filename":"file0"},{"photo_id":"1402186471","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186469":["hashtag1","hashtag2"]},{"1402186471":["hashtag1","hashtag2"]},{"1402186465":["hashtag1","hashtag2"]},{"1402186474":["hashtag1","hashtag2"]},{"1402186467":["hashtag1","hashtag2"]},{"1402186476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186469, 1402186471, 1402186465, 1402186474, 1402186467, 1402186476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25517821311951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:25:02.907279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_55_9658.jpg', '/home/pi/Desktop/images/02012026/19/06/image_02012026_19_07_05_10634.jpg', '/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_15_9596.jpg', '/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_25_9633.jpg', '/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_35_10350.jpg', '/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_45_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/06/image_02012026_19_06_55_9658.jpg
/home/pi/Desktop/images/02012026/19/06/image_02012026_19_07_05_10634.jpg
/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_15_9596.jpg
/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_25_9633.jpg
/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_35_10350.jpg
/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_45_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":["1402186496","1402186490","1402186487","1402186498","1402186492","1402186494"],"photo_ids_order":["1402186487","1402186490","1402186492","1402186494","1402186496","1402186498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa9faf4e196244481d26d376e346445e.jpg","text":"TemporaryFile(/tmp/multipartBody6589103850592294480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378363544,"filename":"image_02012026_19_07_35_10350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d93325ef6330d7653e531d9d6f4deaf6.jpg","text":"TemporaryFile(/tmp/multipartBody5737619931193411032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378363544,"filename":"image_02012026_19_07_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/2/69dee1cd994c63408023afd6759ec9f6.jpg","text":"TemporaryFile(/tmp/multipartBody6391543672044892395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378363544,"filename":"image_02012026_19_06_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/2/2da00ffed02e9bedb3a73d8524f28e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7763140904829051569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378363544,"filename":"image_02012026_19_07_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/2/43b86533ced078b183f3f9f8f8e6faf8.jpg","text":"TemporaryFile(/tmp/multipartBody3698315578854256147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378363544,"filename":"image_02012026_19_07_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/2/a7ae566dbd9a93257dd3906cdbe0e31a.jpg","text":"TemporaryFile(/tmp/multipartBody4618153028905467108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378363544,"filename":"image_02012026_19_07_25_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186492","file1":"1402186490","file0":"1402186487","file4":"1402186496","file5":"1402186498","file3":"1402186494"},"map_files_photo_id_array":[{"photo_id":"1402186498","filename":"file5"},{"photo_id":"1402186492","filename":"file2"},{"photo_id":"1402186496","filename":"file4"},{"photo_id":"1402186490","filename":"file1"},{"photo_id":"1402186487","filename":"file0"},{"photo_id":"1402186494","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186496":["hashtag1","hashtag2"]},{"1402186490":["hashtag1","hashtag2"]},{"1402186487":["hashtag1","hashtag2"]},{"1402186498":["hashtag1","hashtag2"]},{"1402186492":["hashtag1","hashtag2"]},{"1402186494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186496, 1402186490, 1402186487, 1402186498, 1402186492, 1402186494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12078857421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:25:42.196087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_16_2768.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_19_2855.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_23_3787.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_25_2652.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_28_2589.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_32_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_16_2768.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_19_2855.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_23_3787.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_25_2652.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_28_2589.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_32_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186506","1402186509","1402186505","1402186508","1402186507","1402186503"],"photo_ids_order":["1402186503","1402186505","1402186506","1402186507","1402186508","1402186509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30e529ad85abd45bf2c318cadea52f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3111871482455904746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378403846,"filename":"image_05112025_20_42_23_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/2/c5612142680a0cd96853103b89555b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8289165139228752118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378403846,"filename":"image_05112025_20_42_32_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/2/b3f8064e3a8573a23fa3e172dca6ce56.jpg","text":"TemporaryFile(/tmp/multipartBody19983506537524832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378403846,"filename":"image_05112025_20_42_19_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d65ae62afe8472255d3960641549975e.jpg","text":"TemporaryFile(/tmp/multipartBody5788115070187811458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378403846,"filename":"image_05112025_20_42_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/2/0f1ab5c08d666b109b2b23e2064c5d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3330536577618404168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378403846,"filename":"image_05112025_20_42_25_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/2/87bb3cd617dab0173e37e33f1546d933.jpg","text":"TemporaryFile(/tmp/multipartBody798731538546826558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378403846,"filename":"image_05112025_20_42_16_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186506","file1":"1402186505","file0":"1402186503","file4":"1402186508","file5":"1402186509","file3":"1402186507"},"map_files_photo_id_array":[{"photo_id":"1402186509","filename":"file5"},{"photo_id":"1402186506","filename":"file2"},{"photo_id":"1402186508","filename":"file4"},{"photo_id":"1402186505","filename":"file1"},{"photo_id":"1402186503","filename":"file0"},{"photo_id":"1402186507","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186506":["hashtag1","hashtag2"]},{"1402186509":["hashtag1","hashtag2"]},{"1402186505":["hashtag1","hashtag2"]},{"1402186508":["hashtag1","hashtag2"]},{"1402186507":["hashtag1","hashtag2"]},{"1402186503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186506, 1402186509, 1402186505, 1402186508, 1402186507, 1402186503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.473084688186646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:26:22.489243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_55_10735.jpg', '/home/pi/Desktop/images/02012026/19/07/image_02012026_19_08_05_9581.jpg', '/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_15_10032.jpg', '/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_25_9821.jpg', '/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_34_9696.jpg', '/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_55_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/07/image_02012026_19_07_55_10735.jpg
/home/pi/Desktop/images/02012026/19/07/image_02012026_19_08_05_9581.jpg
/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_15_10032.jpg
/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_25_9821.jpg
/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_34_9696.jpg
/home/pi/Desktop/images/02012026/19/08/image_02012026_19_08_55_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186626","1402186515","1402186544","1402186581","1402186650","1402186518"],"photo_ids_order":["1402186515","1402186518","1402186544","1402186581","1402186626","1402186650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce35b488e7edb70944e60179e3daf359.jpg","text":"TemporaryFile(/tmp/multipartBody2744786957443780795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378443093,"filename":"image_02012026_19_08_34_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/2/61ddf9b3ec3ee2f87661338490425b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4427179114600757749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378443093,"filename":"image_02012026_19_07_55_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/2/abd13a1f68122ad92655f3a588753e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2932316940203246989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378443093,"filename":"image_02012026_19_08_15_10032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b009e692b76af47462c9fe8e233643ec.jpg","text":"TemporaryFile(/tmp/multipartBody8096137302345103340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378443093,"filename":"image_02012026_19_08_25_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/2/f49ff64ec186bf93852b8862c23bd2b9.jpg","text":"TemporaryFile(/tmp/multipartBody8829962097615758302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378443093,"filename":"image_02012026_19_08_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/2/a027048b77e038ceed34d0c3f325558c.jpg","text":"TemporaryFile(/tmp/multipartBody8024205933306235389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378443093,"filename":"image_02012026_19_08_05_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186544","file1":"1402186518","file0":"1402186515","file4":"1402186626","file5":"1402186650","file3":"1402186581"},"map_files_photo_id_array":[{"photo_id":"1402186650","filename":"file5"},{"photo_id":"1402186544","filename":"file2"},{"photo_id":"1402186626","filename":"file4"},{"photo_id":"1402186518","filename":"file1"},{"photo_id":"1402186515","filename":"file0"},{"photo_id":"1402186581","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186626":["hashtag1","hashtag2"]},{"1402186515":["hashtag1","hashtag2"]},{"1402186544":["hashtag1","hashtag2"]},{"1402186581":["hashtag1","hashtag2"]},{"1402186650":["hashtag1","hashtag2"]},{"1402186518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186626, 1402186515, 1402186544, 1402186581, 1402186650, 1402186518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23731350898743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:27:03.334687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/08/image_02012026_19_09_05_9846.jpg', '/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_15_10715.jpg', '/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_25_9684.jpg', '/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_35_9703.jpg', '/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_45_10583.jpg', '/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/08/image_02012026_19_09_05_9846.jpg
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_15_10715.jpg
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_25_9684.jpg
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_35_9703.jpg
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_45_10583.jpg
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_09_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":["1402186682","1402186685","1402186687","1402186689","1402186680","1402186674"],"photo_ids_order":["1402186674","1402186680","1402186682","1402186685","1402186687","1402186689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bf99587afb94c2bc3fa429b15802857c.jpg","text":"TemporaryFile(/tmp/multipartBody5562026065120432486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378484001,"filename":"image_02012026_19_09_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/2/47be6c84fce93276cd1e5506bb5ef0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2345127626402139302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378484001,"filename":"image_02012026_19_09_35_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/2/b7a0b7f6911c50393a2047b4eab39fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7224375729878352733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378484001,"filename":"image_02012026_19_09_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/2/efe28db7c4fb8178f47de65173b6d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody4551329463559710821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378484001,"filename":"image_02012026_19_09_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/2/2d9438c4eb7b8362682268e5e645b913.jpg","text":"TemporaryFile(/tmp/multipartBody8696315165790763928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378484001,"filename":"image_02012026_19_09_15_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/2/6ad8980302b065b8726434ef60df3793.jpg","text":"TemporaryFile(/tmp/multipartBody1651098422638154910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378484001,"filename":"image_02012026_19_09_05_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186682","file1":"1402186680","file0":"1402186674","file4":"1402186687","file5":"1402186689","file3":"1402186685"},"map_files_photo_id_array":[{"photo_id":"1402186689","filename":"file5"},{"photo_id":"1402186682","filename":"file2"},{"photo_id":"1402186687","filename":"file4"},{"photo_id":"1402186680","filename":"file1"},{"photo_id":"1402186674","filename":"file0"},{"photo_id":"1402186685","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186682":["hashtag1","hashtag2"]},{"1402186685":["hashtag1","hashtag2"]},{"1402186687":["hashtag1","hashtag2"]},{"1402186689":["hashtag1","hashtag2"]},{"1402186680":["hashtag1","hashtag2"]},{"1402186674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186682, 1402186685, 1402186687, 1402186689, 1402186680, 1402186674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.958195209503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:27:42.749386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_35_2896.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_37_2542.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_41_3662.jpg', '/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_57_16421.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_09_11741.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_28_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_35_2896.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_37_2542.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_41_3662.jpg
/home/pi/Desktop/images/05112025/20/42/image_05112025_20_42_57_16421.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_09_11741.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_28_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":["1402186719","1402186694","1402186718","1402186696","1402186720","1402186701"],"photo_ids_order":["1402186694","1402186696","1402186701","1402186718","1402186719","1402186720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/722c97144bfa1fec60747cf897bc3cff.jpg","text":"TemporaryFile(/tmp/multipartBody1041445111122187495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378524518,"filename":"image_05112025_20_43_09_11741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/53b8b29496680990d1ece24702a68a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8374410211618924624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378524518,"filename":"image_05112025_20_42_35_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ecfd8da97279af257df122d65e8a70d7.jpg","text":"TemporaryFile(/tmp/multipartBody9212196501771315634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378524518,"filename":"image_05112025_20_42_57_16421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b94baea3539e9abd684a4936cb102822.jpg","text":"TemporaryFile(/tmp/multipartBody8303426382330319990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378524518,"filename":"image_05112025_20_42_37_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/2/4b7d2250da2e349822341c6b1b66e470.jpg","text":"TemporaryFile(/tmp/multipartBody5700492563746488266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378524518,"filename":"image_05112025_20_43_28_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/2/db4ec8241e64ba779928bee8b3b6661a.jpg","text":"TemporaryFile(/tmp/multipartBody2180976080151064810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378524518,"filename":"image_05112025_20_42_41_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186701","file1":"1402186696","file0":"1402186694","file4":"1402186719","file5":"1402186720","file3":"1402186718"},"map_files_photo_id_array":[{"photo_id":"1402186720","filename":"file5"},{"photo_id":"1402186701","filename":"file2"},{"photo_id":"1402186719","filename":"file4"},{"photo_id":"1402186696","filename":"file1"},{"photo_id":"1402186694","filename":"file0"},{"photo_id":"1402186718","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186719":["hashtag1","hashtag2"]},{"1402186694":["hashtag1","hashtag2"]},{"1402186718":["hashtag1","hashtag2"]},{"1402186696":["hashtag1","hashtag2"]},{"1402186720":["hashtag1","hashtag2"]},{"1402186701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186719, 1402186694, 1402186718, 1402186696, 1402186720, 1402186701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.085280418395996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:28:21.935656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/09/image_02012026_19_10_05_9730.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_14_9695.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_25_10790.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_35_9605.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_45_9788.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_55_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_10_05_9730.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_14_9695.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_25_10790.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_35_9605.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_45_9788.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_55_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.4735894203186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:28:32.000889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_31_1598.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_37_5798.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_39_1755.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_40_1566.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_42_1558.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_44_1797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_31_1598.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_37_5798.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_39_1755.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_40_1566.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_42_1558.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_44_1797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186739","1402186742","1402186741","1402186735","1402186732","1402186743"],"photo_ids_order":["1402186732","1402186735","1402186739","1402186741","1402186742","1402186743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6380a7666a6ba66e8bb761829922c00a.jpg","text":"TemporaryFile(/tmp/multipartBody5679416427964018945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378573771,"filename":"image_05112025_20_43_39_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/2/98bba7c56738e40807ed10c90bc640a5.jpg","text":"TemporaryFile(/tmp/multipartBody8923446359946733451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378573771,"filename":"image_05112025_20_43_42_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/2/a3bac8fb09355ecc73f8200d307a2778.jpg","text":"TemporaryFile(/tmp/multipartBody8139260285630925736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378573771,"filename":"image_05112025_20_43_40_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/2/f06511db3adce079b8aa8ba4311db893.jpg","text":"TemporaryFile(/tmp/multipartBody5104274992964952189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378573771,"filename":"image_05112025_20_43_37_5798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1c3cb1eb9491869e5256570e51157892.jpg","text":"TemporaryFile(/tmp/multipartBody4589652007809421899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378573771,"filename":"image_05112025_20_43_31_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/2/79430f20e180bad56bcc563b8d5ac6f6.jpg","text":"TemporaryFile(/tmp/multipartBody7920987949793905281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378573771,"filename":"image_05112025_20_43_44_1797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186739","file1":"1402186735","file0":"1402186732","file4":"1402186742","file5":"1402186743","file3":"1402186741"},"map_files_photo_id_array":[{"photo_id":"1402186743","filename":"file5"},{"photo_id":"1402186739","filename":"file2"},{"photo_id":"1402186742","filename":"file4"},{"photo_id":"1402186735","filename":"file1"},{"photo_id":"1402186732","filename":"file0"},{"photo_id":"1402186741","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186739":["hashtag1","hashtag2"]},{"1402186742":["hashtag1","hashtag2"]},{"1402186741":["hashtag1","hashtag2"]},{"1402186735":["hashtag1","hashtag2"]},{"1402186732":["hashtag1","hashtag2"]},{"1402186743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186739, 1402186742, 1402186741, 1402186735, 1402186732, 1402186743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.456459760665894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:29:12.105692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_51_1675.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_52_1701.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_54_1678.jpg', '/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_56_1792.jpg', '/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_03_6973.jpg', '/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_04_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_51_1675.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_52_1701.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_54_1678.jpg
/home/pi/Desktop/images/05112025/20/43/image_05112025_20_43_56_1792.jpg
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_03_6973.jpg
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_04_1563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186760","1402186754","1402186762","1402186756","1402186750","1402186746"],"photo_ids_order":["1402186746","1402186750","1402186754","1402186756","1402186760","1402186762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d5765e9298143fa173722bced8aa32a.jpg","text":"TemporaryFile(/tmp/multipartBody3380876593644724117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378613789,"filename":"image_05112025_20_44_03_6973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6032122a3778a1f4a9fa3c3eee57d60b.jpg","text":"TemporaryFile(/tmp/multipartBody272951460325713658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378613789,"filename":"image_05112025_20_43_54_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/2/9909a2e2d481a4a85da58ce7ef428b19.jpg","text":"TemporaryFile(/tmp/multipartBody7150507366068466849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378613789,"filename":"image_05112025_20_44_04_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/2/c9cd0a9d2795b41221b3b37f151f91b1.jpg","text":"TemporaryFile(/tmp/multipartBody1646947725225247441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378613789,"filename":"image_05112025_20_43_56_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/86635e4e45d59bc7fbe225ddbf509dbc.jpg","text":"TemporaryFile(/tmp/multipartBody2347931029326180433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378613789,"filename":"image_05112025_20_43_52_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/2/f2fe9c9c9f3372a767fa8658cd6af4a4.jpg","text":"TemporaryFile(/tmp/multipartBody4094777427055865232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378613789,"filename":"image_05112025_20_43_51_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186754","file1":"1402186750","file0":"1402186746","file4":"1402186760","file5":"1402186762","file3":"1402186756"},"map_files_photo_id_array":[{"photo_id":"1402186762","filename":"file5"},{"photo_id":"1402186754","filename":"file2"},{"photo_id":"1402186760","filename":"file4"},{"photo_id":"1402186750","filename":"file1"},{"photo_id":"1402186746","filename":"file0"},{"photo_id":"1402186756","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186760":["hashtag1","hashtag2"]},{"1402186754":["hashtag1","hashtag2"]},{"1402186762":["hashtag1","hashtag2"]},{"1402186756":["hashtag1","hashtag2"]},{"1402186750":["hashtag1","hashtag2"]},{"1402186746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186760, 1402186754, 1402186762, 1402186756, 1402186750, 1402186746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35015821456909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:30:02.804714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/09/image_02012026_19_10_05_9730.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_14_9695.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_25_10790.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_35_9605.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_45_9788.jpg', '/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_55_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/09/image_02012026_19_10_05_9730.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_14_9695.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_25_10790.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_35_9605.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_45_9788.jpg
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_10_55_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":["1402186769","1402186771","1402186779","1402186773","1402186767","1402186776"],"photo_ids_order":["1402186767","1402186769","1402186771","1402186773","1402186776","1402186779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/47804477d46dcb21e82155e527c79e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5524335624542714953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378663417,"filename":"image_02012026_19_10_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/2/cab9ec4fd94f61c27376e09b26c76650.jpg","text":"TemporaryFile(/tmp/multipartBody3625933457928323749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378663417,"filename":"image_02012026_19_10_25_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/2/3cf6aa3f06a6baecfcfe154efe889c69.jpg","text":"TemporaryFile(/tmp/multipartBody3916728610395287018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378663417,"filename":"image_02012026_19_10_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/2/e5a6ed56010e18c77587a0a9ca7afb22.jpg","text":"TemporaryFile(/tmp/multipartBody3681828833596230495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378663417,"filename":"image_02012026_19_10_35_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/2/ef7ca8c60166a9d08910d3d64ed941fe.jpg","text":"TemporaryFile(/tmp/multipartBody3776254405382597797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378663417,"filename":"image_02012026_19_10_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/2/345cce9bb2b96c717d9472a1db0946c7.jpg","text":"TemporaryFile(/tmp/multipartBody95786972440125195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378663417,"filename":"image_02012026_19_10_45_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186771","file1":"1402186769","file0":"1402186767","file4":"1402186776","file5":"1402186779","file3":"1402186773"},"map_files_photo_id_array":[{"photo_id":"1402186779","filename":"file5"},{"photo_id":"1402186771","filename":"file2"},{"photo_id":"1402186776","filename":"file4"},{"photo_id":"1402186769","filename":"file1"},{"photo_id":"1402186767","filename":"file0"},{"photo_id":"1402186773","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186769":["hashtag1","hashtag2"]},{"1402186771":["hashtag1","hashtag2"]},{"1402186779":["hashtag1","hashtag2"]},{"1402186773":["hashtag1","hashtag2"]},{"1402186767":["hashtag1","hashtag2"]},{"1402186776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186769, 1402186771, 1402186779, 1402186773, 1402186767, 1402186776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15661287307739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:30:42.317502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_06_1572.jpg', '/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_07_1576.jpg', '/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_26_18533.jpg', '/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_33_2116.jpg', '/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_38_1660.jpg', '/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_06_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_06_1572.jpg
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_07_1576.jpg
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_26_18533.jpg
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_33_2116.jpg
/home/pi/Desktop/images/05112025/20/44/image_05112025_20_44_38_1660.jpg
/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_06_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":["1402186793","1402186790","1402186792","1402186795","1402186797","1402186794"],"photo_ids_order":["1402186790","1402186792","1402186793","1402186794","1402186795","1402186797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9466fcf4afc4a2f5d8c8d3a05d16d76b.jpg","text":"TemporaryFile(/tmp/multipartBody1395002924561847319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378704135,"filename":"image_05112025_20_44_26_18533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0c1b1730b9173d61d8de1e0082edbaf.jpg","text":"TemporaryFile(/tmp/multipartBody7955072001404086852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378704135,"filename":"image_05112025_20_44_06_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/2/1f2cc5ff34d97244427dda219064a2c7.jpg","text":"TemporaryFile(/tmp/multipartBody2422332543815788308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378704135,"filename":"image_05112025_20_44_07_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/2/2c8715c4e4d941921ab27d1947f986bf.jpg","text":"TemporaryFile(/tmp/multipartBody3658519179726541613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378704135,"filename":"image_05112025_20_44_38_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/2/2be5ea9b5f29f42546594102f546da51.jpg","text":"TemporaryFile(/tmp/multipartBody3680579482312712736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378704135,"filename":"image_05112025_20_46_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/2/04240f3cc6ad3c9c2a751cb872652c70.jpg","text":"TemporaryFile(/tmp/multipartBody4859751228228178787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378704135,"filename":"image_05112025_20_44_33_2116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186793","file1":"1402186792","file0":"1402186790","file4":"1402186795","file5":"1402186797","file3":"1402186794"},"map_files_photo_id_array":[{"photo_id":"1402186797","filename":"file5"},{"photo_id":"1402186793","filename":"file2"},{"photo_id":"1402186795","filename":"file4"},{"photo_id":"1402186792","filename":"file1"},{"photo_id":"1402186790","filename":"file0"},{"photo_id":"1402186794","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186793":["hashtag1","hashtag2"]},{"1402186790":["hashtag1","hashtag2"]},{"1402186792":["hashtag1","hashtag2"]},{"1402186795":["hashtag1","hashtag2"]},{"1402186797":["hashtag1","hashtag2"]},{"1402186794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186793, 1402186790, 1402186792, 1402186795, 1402186797, 1402186794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76920199394226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:31:22.485376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/10/image_02012026_19_11_05_9687.jpg', '/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_15_9701.jpg', '/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_25_10633.jpg', '/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_35_9708.jpg', '/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_45_9602.jpg', '/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/10/image_02012026_19_11_05_9687.jpg
/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_15_9701.jpg
/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_25_10633.jpg
/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_35_9708.jpg
/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_45_9602.jpg
/home/pi/Desktop/images/02012026/19/11/image_02012026_19_11_55_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186811","1402186816","1402186804","1402186813","1402186807","1402186809"],"photo_ids_order":["1402186804","1402186807","1402186809","1402186811","1402186813","1402186816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f919385ed070f09e06506f899e98834f.jpg","text":"TemporaryFile(/tmp/multipartBody2793754793988745672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378743066,"filename":"image_02012026_19_11_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/2/7d52b99b1d4f1984783fcabdbd71951b.jpg","text":"TemporaryFile(/tmp/multipartBody1620661037052122053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378743066,"filename":"image_02012026_19_11_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/2/001cb24a36e313f7eaf3283596f029e5.jpg","text":"TemporaryFile(/tmp/multipartBody5819878884332934874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378743066,"filename":"image_02012026_19_11_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/2/6da146028f99ec6d4f929b26adf053fe.jpg","text":"TemporaryFile(/tmp/multipartBody7656637419188117245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378743066,"filename":"image_02012026_19_11_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/2/ffa3ea72e4a4e60f2ea20b0548c55f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1506554598156567852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378743066,"filename":"image_02012026_19_11_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/2/c0a9271912010d9104b65adf2dee6a72.jpg","text":"TemporaryFile(/tmp/multipartBody3383996427500039076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378743066,"filename":"image_02012026_19_11_25_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186809","file1":"1402186807","file0":"1402186804","file4":"1402186813","file5":"1402186816","file3":"1402186811"},"map_files_photo_id_array":[{"photo_id":"1402186816","filename":"file5"},{"photo_id":"1402186809","filename":"file2"},{"photo_id":"1402186813","filename":"file4"},{"photo_id":"1402186807","filename":"file1"},{"photo_id":"1402186804","filename":"file0"},{"photo_id":"1402186811","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186811":["hashtag1","hashtag2"]},{"1402186816":["hashtag1","hashtag2"]},{"1402186804":["hashtag1","hashtag2"]},{"1402186813":["hashtag1","hashtag2"]},{"1402186807":["hashtag1","hashtag2"]},{"1402186809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186811, 1402186816, 1402186804, 1402186813, 1402186807, 1402186809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49675107002258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:32:03.203878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/11/image_02012026_19_12_05_9919.jpg', '/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_15_9761.jpg', '/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_25_9863.jpg', '/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_35_9667.jpg', '/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_45_10640.jpg', '/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_55_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/11/image_02012026_19_12_05_9919.jpg
/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_15_9761.jpg
/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_25_9863.jpg
/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_35_9667.jpg
/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_45_10640.jpg
/home/pi/Desktop/images/02012026/19/12/image_02012026_19_12_55_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186830","1402186823","1402186825","1402186833","1402186827","1402186836"],"photo_ids_order":["1402186823","1402186825","1402186827","1402186830","1402186833","1402186836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9748e4d9aa074f4de6d79315bd45500.jpg","text":"TemporaryFile(/tmp/multipartBody6597046919122334578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378783813,"filename":"image_02012026_19_12_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/2/dd0bc8c5cbde1b04fd8c5d7320f6dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody3200077605506067501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378783813,"filename":"image_02012026_19_12_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/2/0a567545db7ea21e6f70578590a1ef86.jpg","text":"TemporaryFile(/tmp/multipartBody6985720873186968171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378783813,"filename":"image_02012026_19_12_15_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/2/db3fa1dfa665bb3d66c63968b1c67b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8922308224757538493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378783813,"filename":"image_02012026_19_12_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/2/6fac9437b7c70778b360b096e29306c9.jpg","text":"TemporaryFile(/tmp/multipartBody2312054588723361007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378783813,"filename":"image_02012026_19_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/2/99f1841c9903954969b3c90f1ed6d24f.jpg","text":"TemporaryFile(/tmp/multipartBody2099131302016883904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378783813,"filename":"image_02012026_19_12_55_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186827","file1":"1402186825","file0":"1402186823","file4":"1402186833","file5":"1402186836","file3":"1402186830"},"map_files_photo_id_array":[{"photo_id":"1402186836","filename":"file5"},{"photo_id":"1402186827","filename":"file2"},{"photo_id":"1402186833","filename":"file4"},{"photo_id":"1402186825","filename":"file1"},{"photo_id":"1402186823","filename":"file0"},{"photo_id":"1402186830","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186830":["hashtag1","hashtag2"]},{"1402186823":["hashtag1","hashtag2"]},{"1402186825":["hashtag1","hashtag2"]},{"1402186833":["hashtag1","hashtag2"]},{"1402186827":["hashtag1","hashtag2"]},{"1402186836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186830, 1402186823, 1402186825, 1402186833, 1402186827, 1402186836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.951531410217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:32:42.801328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_15_2733.jpg', '/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_20_4343.jpg', '/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_21_1577.jpg', '/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_48_1544.jpg', '/home/pi/Desktop/images/05112025/20/47/image_05112025_20_47_17_1672.jpg', '/home/pi/Desktop/images/05112025/20/47/image_05112025_20_47_49_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_15_2733.jpg
/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_20_4343.jpg
/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_21_1577.jpg
/home/pi/Desktop/images/05112025/20/46/image_05112025_20_46_48_1544.jpg
/home/pi/Desktop/images/05112025/20/47/image_05112025_20_47_17_1672.jpg
/home/pi/Desktop/images/05112025/20/47/image_05112025_20_47_49_1671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186856","1402186853","1402186855","1402186849","1402186854","1402186857"],"photo_ids_order":["1402186849","1402186853","1402186854","1402186855","1402186856","1402186857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a35cbae61ea9d4010887013f33891a64.jpg","text":"TemporaryFile(/tmp/multipartBody3548953739549164479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378824608,"filename":"image_05112025_20_47_17_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/2/5f5448ea1a4e92d67b8bdaa3618c8311.jpg","text":"TemporaryFile(/tmp/multipartBody2109143025680835231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378824608,"filename":"image_05112025_20_46_20_4343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71f270b9d156de18a772113bcefe9170.jpg","text":"TemporaryFile(/tmp/multipartBody5200636183127376664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378824608,"filename":"image_05112025_20_46_48_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/2/03e3f92267a960a35027554f610f6a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6692662547474546643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378824608,"filename":"image_05112025_20_46_15_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/2/cb0814c52825f22360b16e68b9d83184.jpg","text":"TemporaryFile(/tmp/multipartBody8044764767471582507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378824608,"filename":"image_05112025_20_46_21_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/2/328d3d392ef52fdbe1e97d74261a57df.jpg","text":"TemporaryFile(/tmp/multipartBody5053691013213490937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378824608,"filename":"image_05112025_20_47_49_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186854","file1":"1402186853","file0":"1402186849","file4":"1402186856","file5":"1402186857","file3":"1402186855"},"map_files_photo_id_array":[{"photo_id":"1402186857","filename":"file5"},{"photo_id":"1402186854","filename":"file2"},{"photo_id":"1402186856","filename":"file4"},{"photo_id":"1402186853","filename":"file1"},{"photo_id":"1402186849","filename":"file0"},{"photo_id":"1402186855","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186856":["hashtag1","hashtag2"]},{"1402186853":["hashtag1","hashtag2"]},{"1402186855":["hashtag1","hashtag2"]},{"1402186849":["hashtag1","hashtag2"]},{"1402186854":["hashtag1","hashtag2"]},{"1402186857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186856, 1402186853, 1402186855, 1402186849, 1402186854, 1402186857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93998980522156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:33:21.923029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/12/image_02012026_19_13_05_9841.jpg', '/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_15_10629.jpg', '/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_25_9541.jpg', '/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_35_10617.jpg', '/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_45_9633.jpg', '/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_55_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/12/image_02012026_19_13_05_9841.jpg
/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_15_10629.jpg
/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_25_9541.jpg
/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_35_10617.jpg
/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_45_9633.jpg
/home/pi/Desktop/images/02012026/19/13/image_02012026_19_13_55_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":["1402186874","1402186868","1402186862","1402186870","1402186864","1402186866"],"photo_ids_order":["1402186862","1402186864","1402186866","1402186868","1402186870","1402186874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c9ef631f498a09f6507f197bf9d85e7.jpg","text":"TemporaryFile(/tmp/multipartBody9181556990376626125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378862484,"filename":"image_02012026_19_13_55_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/2/0b8dd4145818680d95a939ce321cf76f.jpg","text":"TemporaryFile(/tmp/multipartBody7100051039069206824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378862484,"filename":"image_02012026_19_13_35_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/2/153f9d26886a942d1994294d0372a771.jpg","text":"TemporaryFile(/tmp/multipartBody7997389034546524851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378862484,"filename":"image_02012026_19_13_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/2/451785df73688dbfcd45da27b5ce62a9.jpg","text":"TemporaryFile(/tmp/multipartBody1299032363518265435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378862484,"filename":"image_02012026_19_13_45_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/2/bcb7a9095d114788a4b62fc0eaef06aa.jpg","text":"TemporaryFile(/tmp/multipartBody8866840195951230839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378862484,"filename":"image_02012026_19_13_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/2/b78407cfe74c9d705251927104d198a9.jpg","text":"TemporaryFile(/tmp/multipartBody2152639529393687175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378862484,"filename":"image_02012026_19_13_25_9541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186866","file1":"1402186864","file0":"1402186862","file4":"1402186870","file5":"1402186874","file3":"1402186868"},"map_files_photo_id_array":[{"photo_id":"1402186874","filename":"file5"},{"photo_id":"1402186866","filename":"file2"},{"photo_id":"1402186870","filename":"file4"},{"photo_id":"1402186864","filename":"file1"},{"photo_id":"1402186862","filename":"file0"},{"photo_id":"1402186868","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186874":["hashtag1","hashtag2"]},{"1402186868":["hashtag1","hashtag2"]},{"1402186862":["hashtag1","hashtag2"]},{"1402186870":["hashtag1","hashtag2"]},{"1402186864":["hashtag1","hashtag2"]},{"1402186866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186874, 1402186868, 1402186862, 1402186870, 1402186864, 1402186866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25986623764038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:34:03.254220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/13/image_02012026_19_14_04_9753.jpg', '/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_15_10687.jpg', '/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_25_9722.jpg', '/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_35_9771.jpg', '/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_45_10552.jpg', '/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/13/image_02012026_19_14_04_9753.jpg
/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_15_10687.jpg
/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_25_9722.jpg
/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_35_9771.jpg
/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_45_10552.jpg
/home/pi/Desktop/images/02012026/19/14/image_02012026_19_14_55_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":["1402186891","1402186894","1402186888","1402186882","1402186884","1402186875"],"photo_ids_order":["1402186875","1402186882","1402186884","1402186888","1402186891","1402186894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aeae0c444dbf29032b232aea783458c9.jpg","text":"TemporaryFile(/tmp/multipartBody918181541979369977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378903899,"filename":"image_02012026_19_14_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/2/76ba3d6f94e5ca40e536431588d1e7ed.jpg","text":"TemporaryFile(/tmp/multipartBody1768030654797587261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378903899,"filename":"image_02012026_19_14_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd09ea61f149cb5ba2d025471bdbe089.jpg","text":"TemporaryFile(/tmp/multipartBody5809137312520142478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378903899,"filename":"image_02012026_19_14_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/2/0d30544550e454cc8e11d21707fd28f6.jpg","text":"TemporaryFile(/tmp/multipartBody5221689647099897707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378903899,"filename":"image_02012026_19_14_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/2/6889ee67f2ed3a5543528383ec82b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6458756283085927010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378903899,"filename":"image_02012026_19_14_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/2/5a0e64f7024da2d178395ce36e2a3d61.jpg","text":"TemporaryFile(/tmp/multipartBody4237189113127278189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378903899,"filename":"image_02012026_19_14_04_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186884","file1":"1402186882","file0":"1402186875","file4":"1402186891","file5":"1402186894","file3":"1402186888"},"map_files_photo_id_array":[{"photo_id":"1402186894","filename":"file5"},{"photo_id":"1402186884","filename":"file2"},{"photo_id":"1402186891","filename":"file4"},{"photo_id":"1402186882","filename":"file1"},{"photo_id":"1402186875","filename":"file0"},{"photo_id":"1402186888","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186891":["hashtag1","hashtag2"]},{"1402186894":["hashtag1","hashtag2"]},{"1402186888":["hashtag1","hashtag2"]},{"1402186882":["hashtag1","hashtag2"]},{"1402186884":["hashtag1","hashtag2"]},{"1402186875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186891, 1402186894, 1402186888, 1402186882, 1402186884, 1402186875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29526948928833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:34:42.530643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/48/image_05112025_20_48_03_13993.jpg', '/home/pi/Desktop/images/05112025/20/50/image_05112025_20_50_21_1621.jpg', '/home/pi/Desktop/images/05112025/20/50/image_05112025_20_50_23_1638.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_04_12879.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_07_1654.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_09_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/48/image_05112025_20_48_03_13993.jpg
/home/pi/Desktop/images/05112025/20/50/image_05112025_20_50_21_1621.jpg
/home/pi/Desktop/images/05112025/20/50/image_05112025_20_50_23_1638.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_04_12879.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_07_1654.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_09_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":["1402186905","1402186910","1402186907","1402186903","1402186906","1402186908"],"photo_ids_order":["1402186903","1402186905","1402186906","1402186907","1402186908","1402186910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b3b45878a005d27d0b7e4e476944a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5209646513179134382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378944227,"filename":"image_05112025_20_50_21_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/2/bd665a852091af0e6ee11fbd3617aa3b.jpg","text":"TemporaryFile(/tmp/multipartBody7779506606429290168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378944227,"filename":"image_05112025_20_51_09_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/2/d4ef562834b57b4a759687a2bf836fb1.jpg","text":"TemporaryFile(/tmp/multipartBody7624835660428641342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378944227,"filename":"image_05112025_20_51_04_12879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d3f155b53617a1cda4a30cd6d728be5d.jpg","text":"TemporaryFile(/tmp/multipartBody2092535456661139039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378944227,"filename":"image_05112025_20_48_03_13993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c6698954ace6c6c52691f8429df46a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2479346743383174541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378944227,"filename":"image_05112025_20_50_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/2/e82e3135b5fbf12bef3cdcfd9536c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody5281031953231491680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378944227,"filename":"image_05112025_20_51_07_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186906","file1":"1402186905","file0":"1402186903","file4":"1402186908","file5":"1402186910","file3":"1402186907"},"map_files_photo_id_array":[{"photo_id":"1402186910","filename":"file5"},{"photo_id":"1402186906","filename":"file2"},{"photo_id":"1402186908","filename":"file4"},{"photo_id":"1402186905","filename":"file1"},{"photo_id":"1402186903","filename":"file0"},{"photo_id":"1402186907","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186905":["hashtag1","hashtag2"]},{"1402186910":["hashtag1","hashtag2"]},{"1402186907":["hashtag1","hashtag2"]},{"1402186903":["hashtag1","hashtag2"]},{"1402186906":["hashtag1","hashtag2"]},{"1402186908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186905, 1402186910, 1402186907, 1402186903, 1402186906, 1402186908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43458127975464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:35:22.791952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/14/image_02012026_19_15_05_9835.jpg', '/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_15_9906.jpg', '/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_24_9832.jpg', '/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_35_10621.jpg', '/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_45_9630.jpg', '/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_55_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/14/image_02012026_19_15_05_9835.jpg
/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_15_9906.jpg
/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_24_9832.jpg
/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_35_10621.jpg
/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_45_9630.jpg
/home/pi/Desktop/images/02012026/19/15/image_02012026_19_15_55_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186923","1402186925","1402186921","1402186930","1402186918","1402186927"],"photo_ids_order":["1402186918","1402186921","1402186923","1402186925","1402186927","1402186930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbb31dd95c7f28a908ecb6400ec82e72.jpg","text":"TemporaryFile(/tmp/multipartBody3637602138641296611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378983370,"filename":"image_02012026_19_15_24_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/2/3bfd779adba674d5409a6ad800f03808.jpg","text":"TemporaryFile(/tmp/multipartBody4650185127489746259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378983370,"filename":"image_02012026_19_15_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/2/30cc98a371515c5144993bf726d40dad.jpg","text":"TemporaryFile(/tmp/multipartBody4900889266811985484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378983370,"filename":"image_02012026_19_15_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/2/d73f32eaadab7065203c002ead3bf921.jpg","text":"TemporaryFile(/tmp/multipartBody1976622264995169298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378983370,"filename":"image_02012026_19_15_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/2/6f61480e5c09f7352aa97c2edf6a918c.jpg","text":"TemporaryFile(/tmp/multipartBody4047949647336192936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378983370,"filename":"image_02012026_19_15_05_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/2/7cf75712ba86ad301596740301266f14.jpg","text":"TemporaryFile(/tmp/multipartBody954647519898987852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767378983370,"filename":"image_02012026_19_15_45_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186923","file1":"1402186921","file0":"1402186918","file4":"1402186927","file5":"1402186930","file3":"1402186925"},"map_files_photo_id_array":[{"photo_id":"1402186930","filename":"file5"},{"photo_id":"1402186923","filename":"file2"},{"photo_id":"1402186927","filename":"file4"},{"photo_id":"1402186921","filename":"file1"},{"photo_id":"1402186918","filename":"file0"},{"photo_id":"1402186925","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402186923":["hashtag1","hashtag2"]},{"1402186925":["hashtag1","hashtag2"]},{"1402186921":["hashtag1","hashtag2"]},{"1402186930":["hashtag1","hashtag2"]},{"1402186918":["hashtag1","hashtag2"]},{"1402186927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402186923, 1402186925, 1402186921, 1402186930, 1402186918, 1402186927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68935537338257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:36:02.423724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 19:36:11.903937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_14_1747.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_16_1665.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_18_1626.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_19_1681.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_24_1709.jpg', '/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_59_18419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_14_1747.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_16_1665.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_18_1626.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_19_1681.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_24_1709.jpg
/home/pi/Desktop/images/05112025/20/51/image_05112025_20_51_59_18419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402186946","1402186933","1402186942","1402186936","1402186939","1402186944"],"photo_ids_order":["1402186933","1402186936","1402186939","1402186942","1402186944","1402186946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef2888811b498768cf00febe4ba26cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7260156264533578413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379033592,"filename":"image_05112025_20_51_59_18419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/00bb6d927e506ec46bf4fac5903b337c.jpg","text":"TemporaryFile(/tmp/multipartBody4532657988308935541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379033592,"filename":"image_05112025_20_51_14_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/2/d959394cea67a8116d7a052ff589b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3837421363364883733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379033592,"filename":"image_05112025_20_51_19_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/2/1254ac7d2a88b4f4635f54e156d3eccb.jpg","text":"TemporaryFile(/tmp/multipartBody4522846703531632180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379033592,"filename":"image_05112025_20_51_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/2/f4b7bc3143bd62a3d372f188d61d6121.jpg","text":"TemporaryFile(/tmp/multipartBody5495616360516045772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379033592,"filename":"image_05112025_20_51_18_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/2/b8743a42b4d300a58e72a54bad5239bf.jpg","text":"TemporaryFile(/tmp/multipartBody6841593918273092975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379033592,"filename":"image_05112025_20_51_24_1709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402186939","file1":"1402186936","file0":"1402186933","file4":"1402186944","file5":"1402186946","file3":"1402186942"},"map_files_photo_id_array":[{"photo_id":"1402186946","filename":"file5"},{"photo_id":"1402186939","filename":"file2"},{"photo_id":"1402186944","filename":"file4"},{"photo_id":"1402186936","filename":"file1"},{"photo_id":"1402186933","filename":"file0"},{"photo_id":"1402186942","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402186946":["hashtag1","hashtag2"]},{"1402186933":["hashtag1","hashtag2"]},{"1402186942":["hashtag1","hashtag2"]},{"1402186936":["hashtag1","hashtag2"]},{"1402186939":["hashtag1","hashtag2"]},{"1402186944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402186946, 1402186933, 1402186942, 1402186936, 1402186939, 1402186944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.028956174850464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:37:02.767751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/15/image_02012026_19_16_05_9683.jpg', '/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_14_9563.jpg', '/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_25_10680.jpg', '/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_35_9567.jpg', '/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_45_10594.jpg', '/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/15/image_02012026_19_16_05_9683.jpg
/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_14_9563.jpg
/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_25_10680.jpg
/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_35_9567.jpg
/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_45_10594.jpg
/home/pi/Desktop/images/02012026/19/16/image_02012026_19_16_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":["1402187069","1402187024","1402186997","1402187089","1402187085","1402187087"],"photo_ids_order":["1402186997","1402187024","1402187069","1402187085","1402187087","1402187089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbf6bcaa1be7db7166d0aa05ffb800a3.jpg","text":"TemporaryFile(/tmp/multipartBody5242457291622923004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379083453,"filename":"image_02012026_19_16_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/2/91063b125a548f1897f002a68931f605.jpg","text":"TemporaryFile(/tmp/multipartBody1058330732861801334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379083453,"filename":"image_02012026_19_16_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/2/2af5da01e9fbeabc5dbc2330f8a17aac.jpg","text":"TemporaryFile(/tmp/multipartBody6082500399908974391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379083453,"filename":"image_02012026_19_16_05_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/2/3881163e2dd564e3b7efb79bf7991dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2913859217571408088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379083453,"filename":"image_02012026_19_16_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/2/6b07f2e2763564d53d66442eaf515ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6897761300351842366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379083453,"filename":"image_02012026_19_16_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cd18cc2bf36f5e8f2c6b114349354ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1114929622650369730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379083453,"filename":"image_02012026_19_16_45_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187069","file1":"1402187024","file0":"1402186997","file4":"1402187087","file5":"1402187089","file3":"1402187085"},"map_files_photo_id_array":[{"photo_id":"1402187089","filename":"file5"},{"photo_id":"1402187069","filename":"file2"},{"photo_id":"1402187087","filename":"file4"},{"photo_id":"1402187024","filename":"file1"},{"photo_id":"1402186997","filename":"file0"},{"photo_id":"1402187085","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187069":["hashtag1","hashtag2"]},{"1402187024":["hashtag1","hashtag2"]},{"1402186997":["hashtag1","hashtag2"]},{"1402187089":["hashtag1","hashtag2"]},{"1402187085":["hashtag1","hashtag2"]},{"1402187087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187069, 1402187024, 1402186997, 1402187089, 1402187085, 1402187087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.984066009521484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:37:42.300566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/52/image_05112025_20_52_05_5894.jpg', '/home/pi/Desktop/images/05112025/20/52/image_05112025_20_52_09_1718.jpg', '/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_07_3011.jpg', '/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_41_1615.jpg', '/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_43_1615.jpg', '/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_47_1886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/52/image_05112025_20_52_05_5894.jpg
/home/pi/Desktop/images/05112025/20/52/image_05112025_20_52_09_1718.jpg
/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_07_3011.jpg
/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_41_1615.jpg
/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_43_1615.jpg
/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_47_1886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187147","1402187111","1402187125","1402187110","1402187112","1402187103"],"photo_ids_order":["1402187103","1402187110","1402187111","1402187112","1402187125","1402187147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9b0cefddcb369c6eb2e1e477f5a5d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody4964385043485624579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379124103,"filename":"image_05112025_20_55_47_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/2/111222219b54310047ff27138f4ee8a9.jpg","text":"TemporaryFile(/tmp/multipartBody6967722500811557781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379124103,"filename":"image_05112025_20_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/2/7d2d7d76b8f9800a96817c518d59773b.jpg","text":"TemporaryFile(/tmp/multipartBody3546665974606910792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379124103,"filename":"image_05112025_20_55_43_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/2/2222f7b200f7fd73dd90d0c4007510a1.jpg","text":"TemporaryFile(/tmp/multipartBody4656414573985999797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379124103,"filename":"image_05112025_20_52_09_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/2/2d7d810eb45c27f3310cce1912929c22.jpg","text":"TemporaryFile(/tmp/multipartBody9058420403650090375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379124103,"filename":"image_05112025_20_55_41_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/2/bfb92ceef501f47cae9a62a7937271ff.jpg","text":"TemporaryFile(/tmp/multipartBody4788165549597713839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379124103,"filename":"image_05112025_20_52_05_5894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187111","file1":"1402187110","file0":"1402187103","file4":"1402187125","file5":"1402187147","file3":"1402187112"},"map_files_photo_id_array":[{"photo_id":"1402187147","filename":"file5"},{"photo_id":"1402187111","filename":"file2"},{"photo_id":"1402187125","filename":"file4"},{"photo_id":"1402187110","filename":"file1"},{"photo_id":"1402187103","filename":"file0"},{"photo_id":"1402187112","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402187147":["hashtag1","hashtag2"]},{"1402187111":["hashtag1","hashtag2"]},{"1402187125":["hashtag1","hashtag2"]},{"1402187110":["hashtag1","hashtag2"]},{"1402187112":["hashtag1","hashtag2"]},{"1402187103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402187147, 1402187111, 1402187125, 1402187110, 1402187112, 1402187103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23930859565735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:38:22.542748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_15_10572.jpg', '/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_25_9613.jpg', '/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_35_9792.jpg', '/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_45_10730.jpg', '/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_55_9707.jpg', '/home/pi/Desktop/images/02012026/19/17/image_02012026_19_18_05_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_15_10572.jpg
/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_25_9613.jpg
/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_35_9792.jpg
/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_45_10730.jpg
/home/pi/Desktop/images/02012026/19/17/image_02012026_19_17_55_9707.jpg
/home/pi/Desktop/images/02012026/19/17/image_02012026_19_18_05_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187180","1402187168","1402187170","1402187167","1402187172","1402187184"],"photo_ids_order":["1402187167","1402187168","1402187170","1402187172","1402187180","1402187184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d22c5dfd89fde93aac036e48ea2d069.jpg","text":"TemporaryFile(/tmp/multipartBody6201505813758057428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379163119,"filename":"image_02012026_19_17_55_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/2/111ab815b9bd4c75434b055ed8e73e59.jpg","text":"TemporaryFile(/tmp/multipartBody2297831730059538711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379163119,"filename":"image_02012026_19_17_25_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/2/99aa71460a031848921039f9f9620004.jpg","text":"TemporaryFile(/tmp/multipartBody6707649612162718529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379163119,"filename":"image_02012026_19_17_35_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/2/d43e0eb47b1002abd0cd9adf0e2b1348.jpg","text":"TemporaryFile(/tmp/multipartBody4527761703997575936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379163119,"filename":"image_02012026_19_17_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/2/7208bf61dc62d94e4c8fd4d7f2a1a958.jpg","text":"TemporaryFile(/tmp/multipartBody982328189897817847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379163119,"filename":"image_02012026_19_17_45_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/2/03a5079cc57c51a627d8ee91f0d2cea4.jpg","text":"TemporaryFile(/tmp/multipartBody4353387354130723105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379163119,"filename":"image_02012026_19_18_05_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187170","file1":"1402187168","file0":"1402187167","file4":"1402187180","file5":"1402187184","file3":"1402187172"},"map_files_photo_id_array":[{"photo_id":"1402187184","filename":"file5"},{"photo_id":"1402187170","filename":"file2"},{"photo_id":"1402187180","filename":"file4"},{"photo_id":"1402187168","filename":"file1"},{"photo_id":"1402187167","filename":"file0"},{"photo_id":"1402187172","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187180":["hashtag1","hashtag2"]},{"1402187168":["hashtag1","hashtag2"]},{"1402187170":["hashtag1","hashtag2"]},{"1402187167":["hashtag1","hashtag2"]},{"1402187172":["hashtag1","hashtag2"]},{"1402187184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187180, 1402187168, 1402187170, 1402187167, 1402187172, 1402187184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65648555755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:39:03.550390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_15_9774.jpg', '/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_25_10723.jpg', '/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_35_9626.jpg', '/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_45_10396.jpg', '/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_55_9763.jpg', '/home/pi/Desktop/images/02012026/19/18/image_02012026_19_19_05_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_15_9774.jpg
/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_25_10723.jpg
/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_35_9626.jpg
/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_45_10396.jpg
/home/pi/Desktop/images/02012026/19/18/image_02012026_19_18_55_9763.jpg
/home/pi/Desktop/images/02012026/19/18/image_02012026_19_19_05_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187195","1402187306","1402187268","1402187316","1402187232","1402187313"],"photo_ids_order":["1402187195","1402187232","1402187268","1402187306","1402187313","1402187316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a96a6369ea506f51c54dd13bcd9c8a28.jpg","text":"TemporaryFile(/tmp/multipartBody2313486859448495842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379204287,"filename":"image_02012026_19_18_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/2/e8ed36fd207b6b71b53972b264cb7935.jpg","text":"TemporaryFile(/tmp/multipartBody2805852369630605804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379204287,"filename":"image_02012026_19_18_45_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/2/e23db070dfd38d592142439de34e3386.jpg","text":"TemporaryFile(/tmp/multipartBody5463633240783208995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379204287,"filename":"image_02012026_19_18_35_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/2/7a3a0bef93ebb11e54c46b8714c935f1.jpg","text":"TemporaryFile(/tmp/multipartBody2882502556106728255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379204287,"filename":"image_02012026_19_19_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/2/5eeafc87bc5a316fda7ccc3b1e5dadf2.jpg","text":"TemporaryFile(/tmp/multipartBody7206624286013355754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379204287,"filename":"image_02012026_19_18_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/2/a11fcc778b09d6ee6992184ea94bef3b.jpg","text":"TemporaryFile(/tmp/multipartBody2862188949950959617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379204287,"filename":"image_02012026_19_18_55_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187268","file1":"1402187232","file0":"1402187195","file4":"1402187313","file5":"1402187316","file3":"1402187306"},"map_files_photo_id_array":[{"photo_id":"1402187316","filename":"file5"},{"photo_id":"1402187268","filename":"file2"},{"photo_id":"1402187313","filename":"file4"},{"photo_id":"1402187232","filename":"file1"},{"photo_id":"1402187195","filename":"file0"},{"photo_id":"1402187306","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187195":["hashtag1","hashtag2"]},{"1402187306":["hashtag1","hashtag2"]},{"1402187268":["hashtag1","hashtag2"]},{"1402187316":["hashtag1","hashtag2"]},{"1402187232":["hashtag1","hashtag2"]},{"1402187313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187195, 1402187306, 1402187268, 1402187316, 1402187232, 1402187313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80039167404175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:39:42.601075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_48_1687.jpg', '/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_50_1758.jpg', '/home/pi/Desktop/images/05112025/20/59/image_05112025_20_59_10_3670.jpg', '/home/pi/Desktop/images/05112025/20/59/image_05112025_20_59_31_20869.jpg', '/home/pi/Desktop/images/05112025/21/00/image_05112025_21_00_54_1658.jpg', '/home/pi/Desktop/images/05112025/21/00/image_05112025_21_00_56_1940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_48_1687.jpg
/home/pi/Desktop/images/05112025/20/55/image_05112025_20_55_50_1758.jpg
/home/pi/Desktop/images/05112025/20/59/image_05112025_20_59_10_3670.jpg
/home/pi/Desktop/images/05112025/20/59/image_05112025_20_59_31_20869.jpg
/home/pi/Desktop/images/05112025/21/00/image_05112025_21_00_54_1658.jpg
/home/pi/Desktop/images/05112025/21/00/image_05112025_21_00_56_1940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187321","1402187324","1402187323","1402187335","1402187331","1402187325"],"photo_ids_order":["1402187321","1402187323","1402187324","1402187325","1402187331","1402187335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aadb9e007780a24ceef339496aaefb9c.jpg","text":"TemporaryFile(/tmp/multipartBody5269741489482541776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379244409,"filename":"image_05112025_20_55_48_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/2/0e2d241de09946b2135370cebc03e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody569980582864253432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379244409,"filename":"image_05112025_20_59_10_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/2/e22a0fb718ed5a2ec9fe66ba4cac745d.jpg","text":"TemporaryFile(/tmp/multipartBody2125082787470130281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379244409,"filename":"image_05112025_20_55_50_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/2/45a835d0cd9530480e64f84b033744d6.jpg","text":"TemporaryFile(/tmp/multipartBody5894684939275764964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379244409,"filename":"image_05112025_21_00_56_1940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1fe9870d43dfe70e53776943f3288fe8.jpg","text":"TemporaryFile(/tmp/multipartBody9212459948728649994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379244409,"filename":"image_05112025_21_00_54_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/2/17107ee13af98d0bab19ba4b4a42755b.jpg","text":"TemporaryFile(/tmp/multipartBody5941770763297625755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379244409,"filename":"image_05112025_20_59_31_20869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187324","file1":"1402187323","file0":"1402187321","file4":"1402187331","file5":"1402187335","file3":"1402187325"},"map_files_photo_id_array":[{"photo_id":"1402187335","filename":"file5"},{"photo_id":"1402187324","filename":"file2"},{"photo_id":"1402187331","filename":"file4"},{"photo_id":"1402187323","filename":"file1"},{"photo_id":"1402187321","filename":"file0"},{"photo_id":"1402187325","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402187321":["hashtag1","hashtag2"]},{"1402187324":["hashtag1","hashtag2"]},{"1402187323":["hashtag1","hashtag2"]},{"1402187335":["hashtag1","hashtag2"]},{"1402187331":["hashtag1","hashtag2"]},{"1402187325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402187321, 1402187324, 1402187323, 1402187335, 1402187331, 1402187325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.731682538986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:40:22.783661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_15_9796.jpg', '/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_25_10713.jpg', '/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_35_9668.jpg', '/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_44_9478.jpg', '/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_55_10542.jpg', '/home/pi/Desktop/images/02012026/19/19/image_02012026_19_20_05_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_15_9796.jpg
/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_25_10713.jpg
/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_35_9668.jpg
/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_44_9478.jpg
/home/pi/Desktop/images/02012026/19/19/image_02012026_19_19_55_10542.jpg
/home/pi/Desktop/images/02012026/19/19/image_02012026_19_20_05_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187342","1402187365","1402187367","1402187361","1402187349","1402187363"],"photo_ids_order":["1402187342","1402187349","1402187361","1402187363","1402187365","1402187367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d48855ff56abe08c513b71db36e5fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4064922173495663925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379283379,"filename":"image_02012026_19_19_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/2/0bbd20386d884e9326ef9ae364b8098d.jpg","text":"TemporaryFile(/tmp/multipartBody9132005160047008770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379283379,"filename":"image_02012026_19_19_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/2/668c516057563cfd227a6061976d3196.jpg","text":"TemporaryFile(/tmp/multipartBody3849364801244884137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379283379,"filename":"image_02012026_19_20_05_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/2/43c9883a731469877f947098ddd425e2.jpg","text":"TemporaryFile(/tmp/multipartBody2758367491206291695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379283379,"filename":"image_02012026_19_19_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/2/dc3d3ab4e7b7aafc0d106904325077c7.jpg","text":"TemporaryFile(/tmp/multipartBody3439111110964964642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379283379,"filename":"image_02012026_19_19_25_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/2/181203e015391419dd2ce81b4303c07f.jpg","text":"TemporaryFile(/tmp/multipartBody6352288864938624484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379283379,"filename":"image_02012026_19_19_44_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187361","file1":"1402187349","file0":"1402187342","file4":"1402187365","file5":"1402187367","file3":"1402187363"},"map_files_photo_id_array":[{"photo_id":"1402187367","filename":"file5"},{"photo_id":"1402187361","filename":"file2"},{"photo_id":"1402187365","filename":"file4"},{"photo_id":"1402187349","filename":"file1"},{"photo_id":"1402187342","filename":"file0"},{"photo_id":"1402187363","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187342":["hashtag1","hashtag2"]},{"1402187365":["hashtag1","hashtag2"]},{"1402187367":["hashtag1","hashtag2"]},{"1402187361":["hashtag1","hashtag2"]},{"1402187349":["hashtag1","hashtag2"]},{"1402187363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187342, 1402187365, 1402187367, 1402187361, 1402187349, 1402187363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62445902824402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:41:02.592204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_15_10685.jpg', '/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_25_9638.jpg', '/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_35_9784.jpg', '/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_45_10672.jpg', '/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_55_9506.jpg', '/home/pi/Desktop/images/02012026/19/20/image_02012026_19_21_05_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_15_10685.jpg
/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_25_9638.jpg
/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_35_9784.jpg
/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_45_10672.jpg
/home/pi/Desktop/images/02012026/19/20/image_02012026_19_20_55_9506.jpg
/home/pi/Desktop/images/02012026/19/20/image_02012026_19_21_05_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187372","1402187375","1402187368","1402187377","1402187370","1402187378"],"photo_ids_order":["1402187368","1402187370","1402187372","1402187375","1402187377","1402187378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88c55195f220e20ae5e8363bc5b190f0.jpg","text":"TemporaryFile(/tmp/multipartBody8460216086743694948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379323227,"filename":"image_02012026_19_20_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/2/6e8c62939e99fa836ec2458e8b2c97d9.jpg","text":"TemporaryFile(/tmp/multipartBody8357210550502092283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379323227,"filename":"image_02012026_19_20_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/2/fc84ca88e5d46b2ac7d94f7bae2d7395.jpg","text":"TemporaryFile(/tmp/multipartBody184031250789740475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379323227,"filename":"image_02012026_19_20_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/2/fdc1c7aef29c057907702c72f52e4c9d.jpg","text":"TemporaryFile(/tmp/multipartBody6881232577483649982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379323227,"filename":"image_02012026_19_20_55_9506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff20b884f74e29eee245190fbd05be43.jpg","text":"TemporaryFile(/tmp/multipartBody8813871295792676426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379323227,"filename":"image_02012026_19_20_25_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/2/10f0a03a5b50f8aa16b4c206866b73c7.jpg","text":"TemporaryFile(/tmp/multipartBody5900778332868424201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379323227,"filename":"image_02012026_19_21_05_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187372","file1":"1402187370","file0":"1402187368","file4":"1402187377","file5":"1402187378","file3":"1402187375"},"map_files_photo_id_array":[{"photo_id":"1402187378","filename":"file5"},{"photo_id":"1402187372","filename":"file2"},{"photo_id":"1402187377","filename":"file4"},{"photo_id":"1402187370","filename":"file1"},{"photo_id":"1402187368","filename":"file0"},{"photo_id":"1402187375","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187372":["hashtag1","hashtag2"]},{"1402187375":["hashtag1","hashtag2"]},{"1402187368":["hashtag1","hashtag2"]},{"1402187377":["hashtag1","hashtag2"]},{"1402187370":["hashtag1","hashtag2"]},{"1402187378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187372, 1402187375, 1402187368, 1402187377, 1402187370, 1402187378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.538779973983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:41:41.901756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/00/image_05112025_21_00_57_1548.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_06_3017.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_10_3723.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_15_5063.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_17_1654.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_18_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/00/image_05112025_21_00_57_1548.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_06_3017.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_10_3723.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_15_5063.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_17_1654.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_18_1559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187393","1402187420","1402187411","1402187416","1402187418","1402187406"],"photo_ids_order":["1402187393","1402187406","1402187411","1402187416","1402187418","1402187420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/971deef10b446493d9016bb1363aa358.jpg","text":"TemporaryFile(/tmp/multipartBody8747792196095072604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379363696,"filename":"image_05112025_21_00_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/2/c8776c3b1ad2a18dff67a4331f5a888a.jpg","text":"TemporaryFile(/tmp/multipartBody6388729418834941579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379363696,"filename":"image_05112025_21_03_18_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/2/158f0ffdd68d012a200efd4e69ccb16f.jpg","text":"TemporaryFile(/tmp/multipartBody758849994446573695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379363696,"filename":"image_05112025_21_03_10_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/2/c939ec415a06e8fb1b0e118b17943f81.jpg","text":"TemporaryFile(/tmp/multipartBody2541077325076495183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379363696,"filename":"image_05112025_21_03_15_5063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0c580de8c21c029770bc13c6bb31e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody1856260565606423562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379363696,"filename":"image_05112025_21_03_17_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/2/f615877ab81205c5f95ffde2776a10f4.jpg","text":"TemporaryFile(/tmp/multipartBody6400674138346510930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379363696,"filename":"image_05112025_21_03_06_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187411","file1":"1402187406","file0":"1402187393","file4":"1402187418","file5":"1402187420","file3":"1402187416"},"map_files_photo_id_array":[{"photo_id":"1402187420","filename":"file5"},{"photo_id":"1402187411","filename":"file2"},{"photo_id":"1402187418","filename":"file4"},{"photo_id":"1402187406","filename":"file1"},{"photo_id":"1402187393","filename":"file0"},{"photo_id":"1402187416","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402187393":["hashtag1","hashtag2"]},{"1402187420":["hashtag1","hashtag2"]},{"1402187411":["hashtag1","hashtag2"]},{"1402187416":["hashtag1","hashtag2"]},{"1402187418":["hashtag1","hashtag2"]},{"1402187406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402187393, 1402187420, 1402187411, 1402187416, 1402187418, 1402187406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7923104763031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:42:22.085965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_15_10671.jpg', '/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_25_9661.jpg', '/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_34_9618.jpg', '/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_45_10715.jpg', '/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_55_9599.jpg', '/home/pi/Desktop/images/02012026/19/21/image_02012026_19_22_05_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_15_10671.jpg
/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_25_9661.jpg
/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_34_9618.jpg
/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_45_10715.jpg
/home/pi/Desktop/images/02012026/19/21/image_02012026_19_21_55_9599.jpg
/home/pi/Desktop/images/02012026/19/21/image_02012026_19_22_05_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187471","1402187465","1402187426","1402187446","1402187428","1402187430"],"photo_ids_order":["1402187426","1402187428","1402187430","1402187446","1402187465","1402187471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa1fa9af2fe3d912fff6560c1fc585fc.jpg","text":"TemporaryFile(/tmp/multipartBody7107936052689339878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379402705,"filename":"image_02012026_19_22_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/2/c370c48f0fc7cc28fa98480406afc528.jpg","text":"TemporaryFile(/tmp/multipartBody4854082926074370906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379402705,"filename":"image_02012026_19_21_55_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/2/7e63c978b47fd68e84dcad5b398b57c6.jpg","text":"TemporaryFile(/tmp/multipartBody8753338690804628249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379402705,"filename":"image_02012026_19_21_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/2/13f5c8213a8be651bc3a2ee1888f1341.jpg","text":"TemporaryFile(/tmp/multipartBody9161155288125224995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379402705,"filename":"image_02012026_19_21_45_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/2/3f944256bb43b8207d8dbd0bb243876f.jpg","text":"TemporaryFile(/tmp/multipartBody283606039277067755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379402705,"filename":"image_02012026_19_21_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/2/94ee0199d4554c3d4373c427db53aaa7.jpg","text":"TemporaryFile(/tmp/multipartBody2701751054612784130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379402705,"filename":"image_02012026_19_21_34_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187430","file1":"1402187428","file0":"1402187426","file4":"1402187465","file5":"1402187471","file3":"1402187446"},"map_files_photo_id_array":[{"photo_id":"1402187471","filename":"file5"},{"photo_id":"1402187430","filename":"file2"},{"photo_id":"1402187465","filename":"file4"},{"photo_id":"1402187428","filename":"file1"},{"photo_id":"1402187426","filename":"file0"},{"photo_id":"1402187446","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187471":["hashtag1","hashtag2"]},{"1402187465":["hashtag1","hashtag2"]},{"1402187426":["hashtag1","hashtag2"]},{"1402187446":["hashtag1","hashtag2"]},{"1402187428":["hashtag1","hashtag2"]},{"1402187430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187471, 1402187465, 1402187426, 1402187446, 1402187428, 1402187430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16226887702942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:43:02.814900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/22/image_02012026_19_22_15_10717.jpg', '/home/pi/Desktop/images/02012026/19/22/image_02012026_19_22_25_9638.jpg', '/home/pi/Desktop/images/02012026/19/22/image_02012026_19_22_34_9555.jpg', '/home/pi/Desktop/images/02012026/19/22/image_02012026_19_23_04_9614.jpg', '/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_14_9996.jpg', '/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_25_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/22/image_02012026_19_22_15_10717.jpg
/home/pi/Desktop/images/02012026/19/22/image_02012026_19_22_25_9638.jpg
/home/pi/Desktop/images/02012026/19/22/image_02012026_19_22_34_9555.jpg
/home/pi/Desktop/images/02012026/19/22/image_02012026_19_23_04_9614.jpg
/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_14_9996.jpg
/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_25_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402187663","1402187606","1402187708","1402187682","1402187700","1402187696"],"photo_ids_order":["1402187606","1402187663","1402187682","1402187696","1402187700","1402187708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eb06e28a5ae0c087ce45d417bfd9d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody9179270553531712910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379443443,"filename":"image_02012026_19_22_25_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/2/b357458ffcfff6a45e97d411e9287fdc.jpg","text":"TemporaryFile(/tmp/multipartBody1494438509492763147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379443443,"filename":"image_02012026_19_22_15_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/2/cf96cc25c1692051463b70558f3f3d73.jpg","text":"TemporaryFile(/tmp/multipartBody2353983427025825795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379443443,"filename":"image_02012026_19_23_25_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/2/27a5133dd386c9f32184cdfaba44676b.jpg","text":"TemporaryFile(/tmp/multipartBody9044508961228175933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379443443,"filename":"image_02012026_19_22_34_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/2/49f46d60b4bf7622784f246fa964cb50.jpg","text":"TemporaryFile(/tmp/multipartBody873291134053019635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379443443,"filename":"image_02012026_19_23_14_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/2/7764b66674d67cd5d67e91b0878cc992.jpg","text":"TemporaryFile(/tmp/multipartBody6557579261076697277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379443443,"filename":"image_02012026_19_23_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187682","file1":"1402187663","file0":"1402187606","file4":"1402187700","file5":"1402187708","file3":"1402187696"},"map_files_photo_id_array":[{"photo_id":"1402187708","filename":"file5"},{"photo_id":"1402187682","filename":"file2"},{"photo_id":"1402187700","filename":"file4"},{"photo_id":"1402187663","filename":"file1"},{"photo_id":"1402187606","filename":"file0"},{"photo_id":"1402187696","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187663":["hashtag1","hashtag2"]},{"1402187606":["hashtag1","hashtag2"]},{"1402187708":["hashtag1","hashtag2"]},{"1402187682":["hashtag1","hashtag2"]},{"1402187700":["hashtag1","hashtag2"]},{"1402187696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187663, 1402187606, 1402187708, 1402187682, 1402187700, 1402187696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90272545814514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:43:42.412056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_25_2673.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_27_2651.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_31_3632.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_55_24364.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_58_1563.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_04_00_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_25_2673.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_27_2651.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_31_3632.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_55_24364.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_58_1563.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_04_00_1619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6824893951416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:44:03.179534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_35_10687.jpg', '/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_45_9936.jpg', '/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_55_9621.jpg', '/home/pi/Desktop/images/02012026/19/23/image_02012026_19_24_04_9613.jpg', '/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_15_10706.jpg', '/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_35_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_35_10687.jpg
/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_45_9936.jpg
/home/pi/Desktop/images/02012026/19/23/image_02012026_19_23_55_9621.jpg
/home/pi/Desktop/images/02012026/19/23/image_02012026_19_24_04_9613.jpg
/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_15_10706.jpg
/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_35_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":["1402187834","1402188087","1402188195","1402187856","1402187931","1402188014"],"photo_ids_order":["1402187834","1402187856","1402187931","1402188014","1402188087","1402188195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/87ef12644e8e9347290e46fd1845f128.jpg","text":"TemporaryFile(/tmp/multipartBody4908250516589037208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379503810,"filename":"image_02012026_19_23_35_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/2/c2d65c973e728afdcc60c561bb9f2270.jpg","text":"TemporaryFile(/tmp/multipartBody2988021634543891813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379503810,"filename":"image_02012026_19_24_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/2/ab8e18db0c2969f29c576808579fc61c.jpg","text":"TemporaryFile(/tmp/multipartBody2258651270624788307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379503810,"filename":"image_02012026_19_24_35_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/2/ebff88b932f55acf851084772a36738b.jpg","text":"TemporaryFile(/tmp/multipartBody7712689315392312251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379503810,"filename":"image_02012026_19_23_45_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/2/ea5ec2a8745fcd901867e6f9ea63c401.jpg","text":"TemporaryFile(/tmp/multipartBody5628291439968487685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379503810,"filename":"image_02012026_19_23_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/2/9b40576a2c13f0a7080c283e540eaca3.jpg","text":"TemporaryFile(/tmp/multipartBody1516756249624157604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379503810,"filename":"image_02012026_19_24_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402187931","file1":"1402187856","file0":"1402187834","file4":"1402188087","file5":"1402188195","file3":"1402188014"},"map_files_photo_id_array":[{"photo_id":"1402188195","filename":"file5"},{"photo_id":"1402187931","filename":"file2"},{"photo_id":"1402188087","filename":"file4"},{"photo_id":"1402187856","filename":"file1"},{"photo_id":"1402187834","filename":"file0"},{"photo_id":"1402188014","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402187834":["hashtag1","hashtag2"]},{"1402188087":["hashtag1","hashtag2"]},{"1402188195":["hashtag1","hashtag2"]},{"1402187856":["hashtag1","hashtag2"]},{"1402187931":["hashtag1","hashtag2"]},{"1402188014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402187834, 1402188087, 1402188195, 1402187856, 1402187931, 1402188014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.882912158966064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:44:42.685724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_25_2673.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_27_2651.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_31_3632.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_55_24364.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_58_1563.jpg', '/home/pi/Desktop/images/05112025/21/03/image_05112025_21_04_00_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_25_2673.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_27_2651.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_31_3632.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_55_24364.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_03_58_1563.jpg
/home/pi/Desktop/images/05112025/21/03/image_05112025_21_04_00_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402188364","1402188363","1402188333","1402188321","1402188383","1402188362"],"photo_ids_order":["1402188321","1402188333","1402188362","1402188363","1402188364","1402188383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9ac80703a8ad66e1e6174b10582dc10d.jpg","text":"TemporaryFile(/tmp/multipartBody2288454025652143126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379544341,"filename":"image_05112025_21_03_58_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/2/e4d6ee4762855c9e6f584b3db1309fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5248250701401115863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379544341,"filename":"image_05112025_21_03_55_24364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c48c06c4b550bf22a2955f839758e55f.jpg","text":"TemporaryFile(/tmp/multipartBody4322180224304849254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379544341,"filename":"image_05112025_21_03_27_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/2/3fdaede33f8c6ffd64c8fc4155521fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4603649824230017544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379544341,"filename":"image_05112025_21_03_25_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/2/d8a37b70558d49fdf7fcfaf365a40331.jpg","text":"TemporaryFile(/tmp/multipartBody5017929222884279280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379544341,"filename":"image_05112025_21_04_00_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/2/238d2291bf1dbdb6c653ef6f8a32076a.jpg","text":"TemporaryFile(/tmp/multipartBody1026529040339441770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379544341,"filename":"image_05112025_21_03_31_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188362","file1":"1402188333","file0":"1402188321","file4":"1402188364","file5":"1402188383","file3":"1402188363"},"map_files_photo_id_array":[{"photo_id":"1402188383","filename":"file5"},{"photo_id":"1402188362","filename":"file2"},{"photo_id":"1402188364","filename":"file4"},{"photo_id":"1402188333","filename":"file1"},{"photo_id":"1402188321","filename":"file0"},{"photo_id":"1402188363","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402188364":["hashtag1","hashtag2"]},{"1402188363":["hashtag1","hashtag2"]},{"1402188333":["hashtag1","hashtag2"]},{"1402188321":["hashtag1","hashtag2"]},{"1402188383":["hashtag1","hashtag2"]},{"1402188362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402188364, 1402188363, 1402188333, 1402188321, 1402188383, 1402188362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79573321342468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:45:27.714049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_45_9594.jpg', '/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_55_9829.jpg', '/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_05_10396.jpg', '/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_15_9833.jpg', '/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_25_9652.jpg', '/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_37_12280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_45_9594.jpg
/home/pi/Desktop/images/02012026/19/24/image_02012026_19_24_55_9829.jpg
/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_05_10396.jpg
/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_15_9833.jpg
/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_25_9652.jpg
/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_37_12280.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402188434","1402188484","1402188469","1402188489","1402188486","1402188488"],"photo_ids_order":["1402188434","1402188469","1402188484","1402188486","1402188488","1402188489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57e91b6f25789bbee83aa8b5255161d2.jpg","text":"TemporaryFile(/tmp/multipartBody4494927707484988520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379588265,"filename":"image_02012026_19_24_45_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/2/a01f674b4b1277302b990087b2c5b923.jpg","text":"TemporaryFile(/tmp/multipartBody2247486863895074307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379588265,"filename":"image_02012026_19_25_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/2/e9ed06cd266abe085e13cf3f41a5c351.jpg","text":"TemporaryFile(/tmp/multipartBody6216056540547286654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379588265,"filename":"image_02012026_19_24_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/2/b852c76aaeffca35dc2e35b37d94e435.jpg","text":"TemporaryFile(/tmp/multipartBody4849786389017175259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379588265,"filename":"image_02012026_19_25_37_12280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d845958be6b511b287f0335cb460fec2.jpg","text":"TemporaryFile(/tmp/multipartBody6745249367256068555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379588265,"filename":"image_02012026_19_25_15_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/2/af516578fdb650a54ca4068ed446385e.jpg","text":"TemporaryFile(/tmp/multipartBody4976900045690010383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379588265,"filename":"image_02012026_19_25_25_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188484","file1":"1402188469","file0":"1402188434","file4":"1402188488","file5":"1402188489","file3":"1402188486"},"map_files_photo_id_array":[{"photo_id":"1402188489","filename":"file5"},{"photo_id":"1402188484","filename":"file2"},{"photo_id":"1402188488","filename":"file4"},{"photo_id":"1402188469","filename":"file1"},{"photo_id":"1402188434","filename":"file0"},{"photo_id":"1402188486","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402188434":["hashtag1","hashtag2"]},{"1402188484":["hashtag1","hashtag2"]},{"1402188469":["hashtag1","hashtag2"]},{"1402188489":["hashtag1","hashtag2"]},{"1402188486":["hashtag1","hashtag2"]},{"1402188488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402188434, 1402188484, 1402188469, 1402188489, 1402188486, 1402188488)","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 = 1402188484 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_05_10396.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.18395471572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:46:41.793210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_12_1801.jpg', '/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_17_1849.jpg', '/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_20_1692.jpg', '/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_23_1613.jpg', '/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_29_5858.jpg', '/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_31_1538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_12_1801.jpg
/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_17_1849.jpg
/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_20_1692.jpg
/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_23_1613.jpg
/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_29_5858.jpg
/home/pi/Desktop/images/05112025/21/04/image_05112025_21_04_31_1538.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":["1402188515","1402188514","1402188517","1402188519","1402188507","1402188516"],"photo_ids_order":["1402188507","1402188514","1402188515","1402188516","1402188517","1402188519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6c2543b6ea3be8dc79e1a0d6309332e0.jpg","text":"TemporaryFile(/tmp/multipartBody390901326655577185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379663429,"filename":"image_05112025_21_04_20_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/2/0db2ab1a23bbe50c8e58202e0f426699.jpg","text":"TemporaryFile(/tmp/multipartBody557057354207759549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379663429,"filename":"image_05112025_21_04_17_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/2/1b3dc3b6832935fa473fc6b6db1870e8.jpg","text":"TemporaryFile(/tmp/multipartBody5972999588055652138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379663429,"filename":"image_05112025_21_04_29_5858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0ba394b8458b983bc37de372d9e8cf10.jpg","text":"TemporaryFile(/tmp/multipartBody2542286068043937507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379663429,"filename":"image_05112025_21_04_31_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/2/31c0f842547d623c6e70ef92de3bd27e.jpg","text":"TemporaryFile(/tmp/multipartBody3109409269944186841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379663429,"filename":"image_05112025_21_04_12_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55fb7738cb7c03865abb89f0502010db.jpg","text":"TemporaryFile(/tmp/multipartBody1300023194432262834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379663429,"filename":"image_05112025_21_04_23_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188515","file1":"1402188514","file0":"1402188507","file4":"1402188517","file5":"1402188519","file3":"1402188516"},"map_files_photo_id_array":[{"photo_id":"1402188519","filename":"file5"},{"photo_id":"1402188515","filename":"file2"},{"photo_id":"1402188517","filename":"file4"},{"photo_id":"1402188514","filename":"file1"},{"photo_id":"1402188507","filename":"file0"},{"photo_id":"1402188516","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402188515":["hashtag1","hashtag2"]},{"1402188514":["hashtag1","hashtag2"]},{"1402188517":["hashtag1","hashtag2"]},{"1402188519":["hashtag1","hashtag2"]},{"1402188507":["hashtag1","hashtag2"]},{"1402188516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402188515, 1402188514, 1402188517, 1402188519, 1402188507, 1402188516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00529432296753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:47:32.165867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_07_3011.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_11_3876.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_14_2619.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_16_2682.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_20_3701.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_29_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_07_3011.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_11_3876.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_14_2619.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_16_2682.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_20_3701.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_29_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":["1402188532","1402188535","1402188538","1402188543","1402188537","1402188530"],"photo_ids_order":["1402188530","1402188532","1402188535","1402188537","1402188538","1402188543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f323d8698f3b11b469db05f6cb87986.jpg","text":"TemporaryFile(/tmp/multipartBody7916103715231314041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379713989,"filename":"image_05112025_21_09_11_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa246e1cdf14509628cb26ed7aad8377.jpg","text":"TemporaryFile(/tmp/multipartBody7903307514374575291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379713989,"filename":"image_05112025_21_09_14_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/2/61a51ec682a7d1dfc59dbe87d4ac8531.jpg","text":"TemporaryFile(/tmp/multipartBody5921081804543682912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379713989,"filename":"image_05112025_21_09_20_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/2/1bcf782035c864ea5649f09e75885487.jpg","text":"TemporaryFile(/tmp/multipartBody8600470118416452830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379713989,"filename":"image_05112025_21_09_29_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/2/37f2201b8848913f1c4a158933625ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7118647940008978971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379713989,"filename":"image_05112025_21_09_16_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/2/2797acb802fe76026bf92780641ad923.jpg","text":"TemporaryFile(/tmp/multipartBody2263930910951539560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379713989,"filename":"image_05112025_21_09_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188535","file1":"1402188532","file0":"1402188530","file4":"1402188538","file5":"1402188543","file3":"1402188537"},"map_files_photo_id_array":[{"photo_id":"1402188543","filename":"file5"},{"photo_id":"1402188535","filename":"file2"},{"photo_id":"1402188538","filename":"file4"},{"photo_id":"1402188532","filename":"file1"},{"photo_id":"1402188530","filename":"file0"},{"photo_id":"1402188537","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402188532":["hashtag1","hashtag2"]},{"1402188535":["hashtag1","hashtag2"]},{"1402188538":["hashtag1","hashtag2"]},{"1402188543":["hashtag1","hashtag2"]},{"1402188537":["hashtag1","hashtag2"]},{"1402188530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402188532, 1402188535, 1402188538, 1402188543, 1402188537, 1402188530)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.31085729598999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:48:30.091364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_45_7684.jpg', '/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_55_10622.jpg', '/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_15_9738.jpg', '/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_24_9695.jpg', '/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_35_10574.jpg', '/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_45_7684.jpg
/home/pi/Desktop/images/02012026/19/25/image_02012026_19_25_55_10622.jpg
/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_15_9738.jpg
/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_24_9695.jpg
/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_35_10574.jpg
/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_45_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":["1402188559","1402188561","1402188564","1402188567","1402188552","1402188566"],"photo_ids_order":["1402188552","1402188559","1402188561","1402188564","1402188566","1402188567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7b64fa042e1aeb49c5644bc8d794ab6c.jpg","text":"TemporaryFile(/tmp/multipartBody4124169817532117319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379770647,"filename":"image_02012026_19_25_55_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/2/319a446545a1f9f952cf754e9a54a39f.jpg","text":"TemporaryFile(/tmp/multipartBody7793894433417115140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379770647,"filename":"image_02012026_19_26_15_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/2/f8d1028cbc96ec5afe75977a79685b2c.jpg","text":"TemporaryFile(/tmp/multipartBody6262605258404581805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379770647,"filename":"image_02012026_19_26_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/2/b484304cc1f7b99cd5b71b9d3d473b82.jpg","text":"TemporaryFile(/tmp/multipartBody2581652635907402285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379770647,"filename":"image_02012026_19_26_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/2/b46efbee45dd0f47156510322dec56a6.jpg","text":"TemporaryFile(/tmp/multipartBody6350836138226859233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379770647,"filename":"image_02012026_19_25_45_7684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4acedf1aa7ea66119d83b8be5320f592.jpg","text":"TemporaryFile(/tmp/multipartBody3612160239526657158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379770647,"filename":"image_02012026_19_26_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188561","file1":"1402188559","file0":"1402188552","file4":"1402188566","file5":"1402188567","file3":"1402188564"},"map_files_photo_id_array":[{"photo_id":"1402188567","filename":"file5"},{"photo_id":"1402188561","filename":"file2"},{"photo_id":"1402188566","filename":"file4"},{"photo_id":"1402188559","filename":"file1"},{"photo_id":"1402188552","filename":"file0"},{"photo_id":"1402188564","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402188559":["hashtag1","hashtag2"]},{"1402188561":["hashtag1","hashtag2"]},{"1402188564":["hashtag1","hashtag2"]},{"1402188567":["hashtag1","hashtag2"]},{"1402188552":["hashtag1","hashtag2"]},{"1402188566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402188559, 1402188561, 1402188564, 1402188567, 1402188552, 1402188566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57127285003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:49:14.637501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_32_2669.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_35_2739.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_37_2981.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_44_3748.jpg', '/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_47_2594.jpg', '/home/pi/Desktop/images/05112025/21/10/image_05112025_21_10_11_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_32_2669.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_35_2739.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_37_2981.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_44_3748.jpg
/home/pi/Desktop/images/05112025/21/09/image_05112025_21_09_47_2594.jpg
/home/pi/Desktop/images/05112025/21/10/image_05112025_21_10_11_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":["1402188605","1402188614","1402188608","1402188610","1402188612","1402188603"],"photo_ids_order":["1402188603","1402188605","1402188608","1402188610","1402188612","1402188614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5465b291aff243b5d631773b78187e49.jpg","text":"TemporaryFile(/tmp/multipartBody8592598790678241525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379816368,"filename":"image_05112025_21_09_35_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/2/0ccaa96e94f6d2111338a698e2807dcf.jpg","text":"TemporaryFile(/tmp/multipartBody475670839698674566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379816368,"filename":"image_05112025_21_10_11_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/2/1e25ebd48047802a25ce7ae8c61bcbe8.jpg","text":"TemporaryFile(/tmp/multipartBody1483377122574565742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379816368,"filename":"image_05112025_21_09_37_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/2/19015aac1a7fe5773eb3a2a19ec2fcb7.jpg","text":"TemporaryFile(/tmp/multipartBody8924396783063353623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379816368,"filename":"image_05112025_21_09_44_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e8570daf8b4ff2fb7ca653b4b04358a9.jpg","text":"TemporaryFile(/tmp/multipartBody7620145186803135739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379816368,"filename":"image_05112025_21_09_47_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/2/deea0c6733c5bc98f110140c6efcb5b6.jpg","text":"TemporaryFile(/tmp/multipartBody8356493293763323445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379816368,"filename":"image_05112025_21_09_32_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188608","file1":"1402188605","file0":"1402188603","file4":"1402188612","file5":"1402188614","file3":"1402188610"},"map_files_photo_id_array":[{"photo_id":"1402188614","filename":"file5"},{"photo_id":"1402188608","filename":"file2"},{"photo_id":"1402188612","filename":"file4"},{"photo_id":"1402188605","filename":"file1"},{"photo_id":"1402188603","filename":"file0"},{"photo_id":"1402188610","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402188605":["hashtag1","hashtag2"]},{"1402188614":["hashtag1","hashtag2"]},{"1402188608":["hashtag1","hashtag2"]},{"1402188610":["hashtag1","hashtag2"]},{"1402188612":["hashtag1","hashtag2"]},{"1402188603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402188605, 1402188614, 1402188608, 1402188610, 1402188612, 1402188603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87343454360962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:50:03.304619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_55_10685.jpg', '/home/pi/Desktop/images/02012026/19/26/image_02012026_19_27_05_9859.jpg', '/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_15_9684.jpg', '/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_25_9780.jpg', '/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_35_10735.jpg', '/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_45_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/26/image_02012026_19_26_55_10685.jpg
/home/pi/Desktop/images/02012026/19/26/image_02012026_19_27_05_9859.jpg
/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_15_9684.jpg
/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_25_9780.jpg
/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_35_10735.jpg
/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_45_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402188626","1402188637","1402188642","1402188639","1402188633","1402188635"],"photo_ids_order":["1402188626","1402188633","1402188635","1402188637","1402188639","1402188642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5efdf37605f4364fd4ab90d5d317c7c2.jpg","text":"TemporaryFile(/tmp/multipartBody4705056260259970474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379863909,"filename":"image_02012026_19_26_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/2/e1657c1d95791db4efb1ea53271d48a0.jpg","text":"TemporaryFile(/tmp/multipartBody2790232564181035735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379863909,"filename":"image_02012026_19_27_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/2/51b7a9d1b41db51ddca8508ee93b2e76.jpg","text":"TemporaryFile(/tmp/multipartBody7557514249517377098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379863909,"filename":"image_02012026_19_27_45_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/2/382c32f2f54c84437168f4ef971f1ef6.jpg","text":"TemporaryFile(/tmp/multipartBody310026051551010617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379863909,"filename":"image_02012026_19_27_35_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/2/d33b4233ceaa9f9b3da4c8aa8f445531.jpg","text":"TemporaryFile(/tmp/multipartBody5267949555745397467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379863909,"filename":"image_02012026_19_27_05_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/2/7893acc88bc18274508463b7c225ae57.jpg","text":"TemporaryFile(/tmp/multipartBody199049529028484151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379863909,"filename":"image_02012026_19_27_15_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188635","file1":"1402188633","file0":"1402188626","file4":"1402188639","file5":"1402188642","file3":"1402188637"},"map_files_photo_id_array":[{"photo_id":"1402188642","filename":"file5"},{"photo_id":"1402188635","filename":"file2"},{"photo_id":"1402188639","filename":"file4"},{"photo_id":"1402188633","filename":"file1"},{"photo_id":"1402188626","filename":"file0"},{"photo_id":"1402188637","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402188626":["hashtag1","hashtag2"]},{"1402188637":["hashtag1","hashtag2"]},{"1402188642":["hashtag1","hashtag2"]},{"1402188639":["hashtag1","hashtag2"]},{"1402188633":["hashtag1","hashtag2"]},{"1402188635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402188626, 1402188637, 1402188642, 1402188639, 1402188633, 1402188635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64627170562744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:50:42.809144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/10/image_05112025_21_10_26_15425.jpg', '/home/pi/Desktop/images/05112025/21/11/image_05112025_21_11_15_1627.jpg', '/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_06_17880.jpg', '/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_07_1692.jpg', '/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_16_3469.jpg', '/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_19_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/10/image_05112025_21_10_26_15425.jpg
/home/pi/Desktop/images/05112025/21/11/image_05112025_21_11_15_1627.jpg
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_06_17880.jpg
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_07_1692.jpg
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_16_3469.jpg
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_19_1623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402188664","1402188660","1402188663","1402188665","1402188662","1402188656"],"photo_ids_order":["1402188656","1402188660","1402188662","1402188663","1402188664","1402188665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1ededd816cb24b806ebb1681ac61d541.jpg","text":"TemporaryFile(/tmp/multipartBody1715314950457812007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379904638,"filename":"image_05112025_21_12_16_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/2/ede52ecdf10bc7125f7c9f8c32cd0193.jpg","text":"TemporaryFile(/tmp/multipartBody6162920675609847517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379904638,"filename":"image_05112025_21_11_15_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/2/48b4795f50aada730cbd50e7e74d3a72.jpg","text":"TemporaryFile(/tmp/multipartBody6626414455776489195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379904638,"filename":"image_05112025_21_12_07_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/2/bbd1749b49f78ec53ec66bcbe542e4c3.jpg","text":"TemporaryFile(/tmp/multipartBody3175997539362555460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379904638,"filename":"image_05112025_21_12_19_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/2/52e751505bf4c8ce5e7dc2a3a8f755f7.jpg","text":"TemporaryFile(/tmp/multipartBody4729609107439378150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379904638,"filename":"image_05112025_21_12_06_17880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ac8bc7edefa9be6d9a876bb0133d7c0.jpg","text":"TemporaryFile(/tmp/multipartBody8145258560702652366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379904638,"filename":"image_05112025_21_10_26_15425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188662","file1":"1402188660","file0":"1402188656","file4":"1402188664","file5":"1402188665","file3":"1402188663"},"map_files_photo_id_array":[{"photo_id":"1402188665","filename":"file5"},{"photo_id":"1402188662","filename":"file2"},{"photo_id":"1402188664","filename":"file4"},{"photo_id":"1402188660","filename":"file1"},{"photo_id":"1402188656","filename":"file0"},{"photo_id":"1402188663","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402188664":["hashtag1","hashtag2"]},{"1402188660":["hashtag1","hashtag2"]},{"1402188663":["hashtag1","hashtag2"]},{"1402188665":["hashtag1","hashtag2"]},{"1402188662":["hashtag1","hashtag2"]},{"1402188656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402188664, 1402188660, 1402188663, 1402188665, 1402188662, 1402188656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83297538757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:51:21.909620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_55_9647.jpg', '/home/pi/Desktop/images/02012026/19/27/image_02012026_19_28_05_10661.jpg', '/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_25_9783.jpg', '/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_35_9762.jpg', '/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_45_10687.jpg', '/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_55_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/27/image_02012026_19_27_55_9647.jpg
/home/pi/Desktop/images/02012026/19/27/image_02012026_19_28_05_10661.jpg
/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_25_9783.jpg
/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_35_9762.jpg
/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_45_10687.jpg
/home/pi/Desktop/images/02012026/19/28/image_02012026_19_28_55_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":["1402188852","1402188780","1402188816","1402188890","1402188740","1402188701"],"photo_ids_order":["1402188701","1402188740","1402188780","1402188816","1402188852","1402188890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bb5925db82a3290f7326aeae48f870d7.jpg","text":"TemporaryFile(/tmp/multipartBody4475115163338537588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379942487,"filename":"image_02012026_19_28_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/2/68ff939ade6e684f0a0ae619f1601217.jpg","text":"TemporaryFile(/tmp/multipartBody5807439394162108074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379942487,"filename":"image_02012026_19_28_25_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/2/d7196d71824da401808d0b3e0148b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7815772476345812735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379942487,"filename":"image_02012026_19_28_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/2/bb1c39dabf773fce4d52e6897360cae2.jpg","text":"TemporaryFile(/tmp/multipartBody4769034786778806286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379942487,"filename":"image_02012026_19_28_55_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/2/0ed5d32b567cf2fa33da971aae678936.jpg","text":"TemporaryFile(/tmp/multipartBody8661922418611780611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379942487,"filename":"image_02012026_19_28_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/2/f0b0a4a0fa8aae54a21ba06d580d191c.jpg","text":"TemporaryFile(/tmp/multipartBody1655396563633328371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379942487,"filename":"image_02012026_19_27_55_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188780","file1":"1402188740","file0":"1402188701","file4":"1402188852","file5":"1402188890","file3":"1402188816"},"map_files_photo_id_array":[{"photo_id":"1402188890","filename":"file5"},{"photo_id":"1402188780","filename":"file2"},{"photo_id":"1402188852","filename":"file4"},{"photo_id":"1402188740","filename":"file1"},{"photo_id":"1402188701","filename":"file0"},{"photo_id":"1402188816","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402188852":["hashtag1","hashtag2"]},{"1402188780":["hashtag1","hashtag2"]},{"1402188816":["hashtag1","hashtag2"]},{"1402188890":["hashtag1","hashtag2"]},{"1402188740":["hashtag1","hashtag2"]},{"1402188701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402188852, 1402188780, 1402188816, 1402188890, 1402188740, 1402188701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99645781517029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:52:02.483738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/28/image_02012026_19_29_05_9729.jpg', '/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_15_10559.jpg', '/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_25_9613.jpg', '/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_35_9818.jpg', '/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_45_10670.jpg', '/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/28/image_02012026_19_29_05_9729.jpg
/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_15_10559.jpg
/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_25_9613.jpg
/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_35_9818.jpg
/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_45_10670.jpg
/home/pi/Desktop/images/02012026/19/29/image_02012026_19_29_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":["1402188991","1402188999","1402189002","1402189005","1402188992","1402188997"],"photo_ids_order":["1402188991","1402188992","1402188997","1402188999","1402189002","1402189005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e146ab59b23e665fd5ce7ce1a7d3d48.jpg","text":"TemporaryFile(/tmp/multipartBody8050468973782571212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379983074,"filename":"image_02012026_19_29_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/2/59613548af2613fc15e90bf0796d38b5.jpg","text":"TemporaryFile(/tmp/multipartBody5196053154978886321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379983074,"filename":"image_02012026_19_29_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/2/216fc533b5f3543efcec969fb683d218.jpg","text":"TemporaryFile(/tmp/multipartBody6873389014072649421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379983074,"filename":"image_02012026_19_29_45_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/2/c238fe9da4797c3a6a63833120b995fd.jpg","text":"TemporaryFile(/tmp/multipartBody738109316412373974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379983074,"filename":"image_02012026_19_29_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/2/cfd3e9bfc12fbf70d35e120a5484953b.jpg","text":"TemporaryFile(/tmp/multipartBody9010776456013373281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379983074,"filename":"image_02012026_19_29_15_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/2/7ae252c59668cf22489c55c9120f0e3a.jpg","text":"TemporaryFile(/tmp/multipartBody1422916510566729522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767379983074,"filename":"image_02012026_19_29_25_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402188997","file1":"1402188992","file0":"1402188991","file4":"1402189002","file5":"1402189005","file3":"1402188999"},"map_files_photo_id_array":[{"photo_id":"1402189005","filename":"file5"},{"photo_id":"1402188997","filename":"file2"},{"photo_id":"1402189002","filename":"file4"},{"photo_id":"1402188992","filename":"file1"},{"photo_id":"1402188991","filename":"file0"},{"photo_id":"1402188999","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402188991":["hashtag1","hashtag2"]},{"1402188999":["hashtag1","hashtag2"]},{"1402189002":["hashtag1","hashtag2"]},{"1402189005":["hashtag1","hashtag2"]},{"1402188992":["hashtag1","hashtag2"]},{"1402188997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402188991, 1402188999, 1402189002, 1402189005, 1402188992, 1402188997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88039493560791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:52:42.107823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_21_1596.jpg', '/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_23_1593.jpg', '/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_26_1629.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_07_3013.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_11_3610.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_14_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_21_1596.jpg
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_23_1593.jpg
/home/pi/Desktop/images/05112025/21/12/image_05112025_21_12_26_1629.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_07_3013.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_11_3610.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_14_2741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189024","1402189027","1402189023","1402189025","1402189019","1402189022"],"photo_ids_order":["1402189019","1402189022","1402189023","1402189024","1402189025","1402189027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c168261c7423a00229c0330e9ac12b1f.jpg","text":"TemporaryFile(/tmp/multipartBody411368978700972773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380023966,"filename":"image_05112025_21_14_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/2/f6b8b5c45141486b9acc058162ae2bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1316867130372432919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380023966,"filename":"image_05112025_21_14_14_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/2/3523123e1bf1367732f8317577cef175.jpg","text":"TemporaryFile(/tmp/multipartBody5817346450776242325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380023966,"filename":"image_05112025_21_12_26_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/2/6ecc8b6367b209a518d334e81fb06f64.jpg","text":"TemporaryFile(/tmp/multipartBody5169794365597772994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380023966,"filename":"image_05112025_21_14_11_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/2/bd9c668c727f273b5ebd9589a8e3d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody7433687432975019967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380023966,"filename":"image_05112025_21_12_21_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/2/c877b2a54bb673740076ab40c12cd3a7.jpg","text":"TemporaryFile(/tmp/multipartBody721603032324650082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380023966,"filename":"image_05112025_21_12_23_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189023","file1":"1402189022","file0":"1402189019","file4":"1402189025","file5":"1402189027","file3":"1402189024"},"map_files_photo_id_array":[{"photo_id":"1402189027","filename":"file5"},{"photo_id":"1402189023","filename":"file2"},{"photo_id":"1402189025","filename":"file4"},{"photo_id":"1402189022","filename":"file1"},{"photo_id":"1402189019","filename":"file0"},{"photo_id":"1402189024","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402189024":["hashtag1","hashtag2"]},{"1402189027":["hashtag1","hashtag2"]},{"1402189023":["hashtag1","hashtag2"]},{"1402189025":["hashtag1","hashtag2"]},{"1402189019":["hashtag1","hashtag2"]},{"1402189022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402189024, 1402189027, 1402189023, 1402189025, 1402189019, 1402189022)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.242762327194214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:53:32.260327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_16_2804.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_23_2842.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_26_2758.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_29_2978.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_31_2559.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_35_3885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_16_2804.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_23_2842.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_26_2758.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_29_2978.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_31_2559.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_35_3885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189048","1402189039","1402189047","1402189041","1402189043","1402189049"],"photo_ids_order":["1402189039","1402189041","1402189043","1402189047","1402189048","1402189049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e21da852d67065f225fda81b14c72f7.jpg","text":"TemporaryFile(/tmp/multipartBody3456167305716580015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380074098,"filename":"image_05112025_21_14_31_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/2/8863b344a73e668d6623a260a4bb6e42.jpg","text":"TemporaryFile(/tmp/multipartBody7826105719791837018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380074098,"filename":"image_05112025_21_14_16_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/2/068985a088646e297c357bb2af5935d1.jpg","text":"TemporaryFile(/tmp/multipartBody2136995065652957371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380074098,"filename":"image_05112025_21_14_29_2978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a0bc9dccab333a3021d5aaffe0175c9.jpg","text":"TemporaryFile(/tmp/multipartBody5798694001963225203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380074098,"filename":"image_05112025_21_14_23_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/2/e78eefc7e8838295b1eb7ba651e1fa90.jpg","text":"TemporaryFile(/tmp/multipartBody506211831949526665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380074098,"filename":"image_05112025_21_14_26_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/2/8b60d9778fda0b5a6c44392382d77662.jpg","text":"TemporaryFile(/tmp/multipartBody878540073938798849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380074098,"filename":"image_05112025_21_14_35_3885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189043","file1":"1402189041","file0":"1402189039","file4":"1402189048","file5":"1402189049","file3":"1402189047"},"map_files_photo_id_array":[{"photo_id":"1402189049","filename":"file5"},{"photo_id":"1402189043","filename":"file2"},{"photo_id":"1402189048","filename":"file4"},{"photo_id":"1402189041","filename":"file1"},{"photo_id":"1402189039","filename":"file0"},{"photo_id":"1402189047","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402189048":["hashtag1","hashtag2"]},{"1402189039":["hashtag1","hashtag2"]},{"1402189047":["hashtag1","hashtag2"]},{"1402189041":["hashtag1","hashtag2"]},{"1402189043":["hashtag1","hashtag2"]},{"1402189049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402189048, 1402189039, 1402189047, 1402189041, 1402189043, 1402189049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.734750747680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:54:12.380099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_38_2882.jpg', '/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_47_3683.jpg', '/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_06_15977.jpg', '/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_08_1874.jpg', '/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_10_1807.jpg', '/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_11_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_38_2882.jpg
/home/pi/Desktop/images/05112025/21/14/image_05112025_21_14_47_3683.jpg
/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_06_15977.jpg
/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_08_1874.jpg
/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_10_1807.jpg
/home/pi/Desktop/images/05112025/21/15/image_05112025_21_15_11_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189080","1402189077","1402189070","1402189064","1402189067","1402189072"],"photo_ids_order":["1402189064","1402189067","1402189070","1402189072","1402189077","1402189080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9f0a6b2dbe2e5998e5dcb061ee50e1f8.jpg","text":"TemporaryFile(/tmp/multipartBody5742632293046283347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380114130,"filename":"image_05112025_21_15_11_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/2/a40d8ff2ac19dd288f47ff8c9d765c53.jpg","text":"TemporaryFile(/tmp/multipartBody2959260947801485737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380114130,"filename":"image_05112025_21_15_10_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/2/f842003fe4c07ff05e739d89fecc2c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2262074029897509077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380114130,"filename":"image_05112025_21_15_06_15977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d3ac1e236d6b6a7aff67a69d02bf49b6.jpg","text":"TemporaryFile(/tmp/multipartBody6066137455979928897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380114130,"filename":"image_05112025_21_14_38_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7d5fcfc1dc28f0e4cbc945df66bd34ca.jpg","text":"TemporaryFile(/tmp/multipartBody6199814402759869816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380114130,"filename":"image_05112025_21_14_47_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/2/24e6e0e2572add2fda38df5731317bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5694621060897367719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380114130,"filename":"image_05112025_21_15_08_1874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189070","file1":"1402189067","file0":"1402189064","file4":"1402189077","file5":"1402189080","file3":"1402189072"},"map_files_photo_id_array":[{"photo_id":"1402189080","filename":"file5"},{"photo_id":"1402189070","filename":"file2"},{"photo_id":"1402189077","filename":"file4"},{"photo_id":"1402189067","filename":"file1"},{"photo_id":"1402189064","filename":"file0"},{"photo_id":"1402189072","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402189080":["hashtag1","hashtag2"]},{"1402189077":["hashtag1","hashtag2"]},{"1402189070":["hashtag1","hashtag2"]},{"1402189064":["hashtag1","hashtag2"]},{"1402189067":["hashtag1","hashtag2"]},{"1402189072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402189080, 1402189077, 1402189070, 1402189064, 1402189067, 1402189072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09072995185852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:55:03.395945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_14_10044.jpg', '/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_25_10647.jpg', '/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_34_9630.jpg', '/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_44_9737.jpg', '/home/pi/Desktop/images/02012026/19/30/image_02012026_19_31_05_9757.jpg', '/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_14_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_14_10044.jpg
/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_25_10647.jpg
/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_34_9630.jpg
/home/pi/Desktop/images/02012026/19/30/image_02012026_19_30_44_9737.jpg
/home/pi/Desktop/images/02012026/19/30/image_02012026_19_31_05_9757.jpg
/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_14_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":["1402189095","1402189101","1402189104","1402189127","1402189090","1402189093"],"photo_ids_order":["1402189090","1402189093","1402189095","1402189101","1402189104","1402189127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/72a3dae992b5b89511060bdb88757511.jpg","text":"TemporaryFile(/tmp/multipartBody5317997668582146991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380164022,"filename":"image_02012026_19_30_34_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/2/684f83fb8c43fe0c0af2dace44cdf517.jpg","text":"TemporaryFile(/tmp/multipartBody1111547342876021639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380164022,"filename":"image_02012026_19_30_44_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/2/6d8b280a62fc414fa197919dadafe182.jpg","text":"TemporaryFile(/tmp/multipartBody8568129436695787927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380164022,"filename":"image_02012026_19_31_05_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/2/dca2ca1f73150f755cd6c683f5767928.jpg","text":"TemporaryFile(/tmp/multipartBody890335183399282506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380164022,"filename":"image_02012026_19_31_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/2/506d8a5de8fcab4a0108819a9dcb2746.jpg","text":"TemporaryFile(/tmp/multipartBody1747467908947798952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380164022,"filename":"image_02012026_19_30_14_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/2/e6ce39f34d45b02d7407828fdee337d8.jpg","text":"TemporaryFile(/tmp/multipartBody4170231319603461988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380164022,"filename":"image_02012026_19_30_25_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189095","file1":"1402189093","file0":"1402189090","file4":"1402189104","file5":"1402189127","file3":"1402189101"},"map_files_photo_id_array":[{"photo_id":"1402189127","filename":"file5"},{"photo_id":"1402189095","filename":"file2"},{"photo_id":"1402189104","filename":"file4"},{"photo_id":"1402189093","filename":"file1"},{"photo_id":"1402189090","filename":"file0"},{"photo_id":"1402189101","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402189095":["hashtag1","hashtag2"]},{"1402189101":["hashtag1","hashtag2"]},{"1402189104":["hashtag1","hashtag2"]},{"1402189127":["hashtag1","hashtag2"]},{"1402189090":["hashtag1","hashtag2"]},{"1402189093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402189095, 1402189101, 1402189104, 1402189127, 1402189090, 1402189093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.663097620010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:55:42.787824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_01_50102.jpg', '/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_53_1653.jpg', '/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_57_1640.jpg', '/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_58_1685.jpg', '/home/pi/Desktop/images/05112025/21/16/image_05112025_21_17_00_1847.jpg', '/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_04_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_01_50102.jpg
/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_53_1653.jpg
/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_57_1640.jpg
/home/pi/Desktop/images/05112025/21/16/image_05112025_21_16_58_1685.jpg
/home/pi/Desktop/images/05112025/21/16/image_05112025_21_17_00_1847.jpg
/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_04_1647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189168","1402189188","1402189185","1402189187","1402189183","1402189186"],"photo_ids_order":["1402189168","1402189183","1402189185","1402189186","1402189187","1402189188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/14303e6693d27eb457d66c7858b04364.jpg","text":"TemporaryFile(/tmp/multipartBody3194679473445830522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380204664,"filename":"image_05112025_21_16_01_50102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/698837a52b508d4adf4be426d7452ffe.jpg","text":"TemporaryFile(/tmp/multipartBody7765901018391774644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380204664,"filename":"image_05112025_21_17_04_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/2/a7e04a2001c262789b2afb262c14e63e.jpg","text":"TemporaryFile(/tmp/multipartBody4337953959152208745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380204664,"filename":"image_05112025_21_16_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/2/3a550a4ff57cf812016485be9de959e8.jpg","text":"TemporaryFile(/tmp/multipartBody4997233429561386382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380204664,"filename":"image_05112025_21_17_00_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/2/078b4bb786c8d12eb609e8e71d6cdc12.jpg","text":"TemporaryFile(/tmp/multipartBody5145655086810323729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380204664,"filename":"image_05112025_21_16_53_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/2/62cad2df2ac523ecfb28412050dbd728.jpg","text":"TemporaryFile(/tmp/multipartBody230832875863770691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380204664,"filename":"image_05112025_21_16_58_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189185","file1":"1402189183","file0":"1402189168","file4":"1402189187","file5":"1402189188","file3":"1402189186"},"map_files_photo_id_array":[{"photo_id":"1402189188","filename":"file5"},{"photo_id":"1402189185","filename":"file2"},{"photo_id":"1402189187","filename":"file4"},{"photo_id":"1402189183","filename":"file1"},{"photo_id":"1402189168","filename":"file0"},{"photo_id":"1402189186","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402189168":["hashtag1","hashtag2"]},{"1402189188":["hashtag1","hashtag2"]},{"1402189185":["hashtag1","hashtag2"]},{"1402189187":["hashtag1","hashtag2"]},{"1402189183":["hashtag1","hashtag2"]},{"1402189186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402189168, 1402189188, 1402189185, 1402189187, 1402189183, 1402189186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36366653442383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 19:56:22.022780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_24_9918.jpg', '/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_34_9670.jpg', '/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_45_10644.jpg', '/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_54_9575.jpg', '/home/pi/Desktop/images/02012026/19/31/image_02012026_19_32_04_9906.jpg', '/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_15_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_24_9918.jpg
/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_34_9670.jpg
/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_45_10644.jpg
/home/pi/Desktop/images/02012026/19/31/image_02012026_19_31_54_9575.jpg
/home/pi/Desktop/images/02012026/19/31/image_02012026_19_32_04_9906.jpg
/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_15_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189199","1402189203","1402189205","1402189195","1402189214","1402189202"],"photo_ids_order":["1402189195","1402189199","1402189202","1402189203","1402189205","1402189214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1eb94e28fb714c03214f85a2bdc0b9c9.jpg","text":"TemporaryFile(/tmp/multipartBody3375076676845196723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380242600,"filename":"image_02012026_19_31_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc7cc905bba68a594aeed1725b293678.jpg","text":"TemporaryFile(/tmp/multipartBody7983494585125448475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380242600,"filename":"image_02012026_19_31_54_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/2/f79acdcc104adb095ae79e27df615d05.jpg","text":"TemporaryFile(/tmp/multipartBody6431985018989066948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380242600,"filename":"image_02012026_19_32_04_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/2/3e6c7314d6652be3c3e10a8fcdf9cc86.jpg","text":"TemporaryFile(/tmp/multipartBody2468913418869616031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380242600,"filename":"image_02012026_19_31_24_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e24eb24505daec2b8461738144c9e2f2.jpg","text":"TemporaryFile(/tmp/multipartBody2458671113653877087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380242600,"filename":"image_02012026_19_32_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/2/77126cdc08ec891c1c7a00f224137ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5925653832938054215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380242600,"filename":"image_02012026_19_31_45_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189202","file1":"1402189199","file0":"1402189195","file4":"1402189205","file5":"1402189214","file3":"1402189203"},"map_files_photo_id_array":[{"photo_id":"1402189214","filename":"file5"},{"photo_id":"1402189202","filename":"file2"},{"photo_id":"1402189205","filename":"file4"},{"photo_id":"1402189199","filename":"file1"},{"photo_id":"1402189195","filename":"file0"},{"photo_id":"1402189203","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402189199":["hashtag1","hashtag2"]},{"1402189203":["hashtag1","hashtag2"]},{"1402189205":["hashtag1","hashtag2"]},{"1402189195":["hashtag1","hashtag2"]},{"1402189214":["hashtag1","hashtag2"]},{"1402189202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402189199, 1402189203, 1402189205, 1402189195, 1402189214, 1402189202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.960681438446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:57:02.824320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_25_9660.jpg', '/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_34_9607.jpg', '/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_45_10727.jpg', '/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_55_9585.jpg', '/home/pi/Desktop/images/02012026/19/32/image_02012026_19_33_04_9666.jpg', '/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_15_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_25_9660.jpg
/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_34_9607.jpg
/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_45_10727.jpg
/home/pi/Desktop/images/02012026/19/32/image_02012026_19_32_55_9585.jpg
/home/pi/Desktop/images/02012026/19/32/image_02012026_19_33_04_9666.jpg
/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_15_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":["1402189234","1402189237","1402189239","1402189230","1402189241","1402189232"],"photo_ids_order":["1402189230","1402189232","1402189234","1402189237","1402189239","1402189241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c505e54bc61ae8f556a84ae5aff09dad.jpg","text":"TemporaryFile(/tmp/multipartBody760649763823255159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380283451,"filename":"image_02012026_19_32_45_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/2/382eac3351b91b4ccf3edd84a3759a71.jpg","text":"TemporaryFile(/tmp/multipartBody7088810177188835728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380283451,"filename":"image_02012026_19_32_55_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/2/ef31e535d1d0f5a9d6aa9553d116636b.jpg","text":"TemporaryFile(/tmp/multipartBody6956454698730191251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380283451,"filename":"image_02012026_19_33_04_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/2/fcc2f867368b29e216fd72f65d83625f.jpg","text":"TemporaryFile(/tmp/multipartBody3920702301840546854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380283451,"filename":"image_02012026_19_32_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/2/bdee7775f72466cf72db66f6930e7c21.jpg","text":"TemporaryFile(/tmp/multipartBody8433020329779856861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380283451,"filename":"image_02012026_19_33_15_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/2/c6db46b2ad1dbdbdb5209feba9b90042.jpg","text":"TemporaryFile(/tmp/multipartBody4801946580586255996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380283451,"filename":"image_02012026_19_32_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189234","file1":"1402189232","file0":"1402189230","file4":"1402189239","file5":"1402189241","file3":"1402189237"},"map_files_photo_id_array":[{"photo_id":"1402189241","filename":"file5"},{"photo_id":"1402189234","filename":"file2"},{"photo_id":"1402189239","filename":"file4"},{"photo_id":"1402189232","filename":"file1"},{"photo_id":"1402189230","filename":"file0"},{"photo_id":"1402189237","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402189234":["hashtag1","hashtag2"]},{"1402189237":["hashtag1","hashtag2"]},{"1402189239":["hashtag1","hashtag2"]},{"1402189230":["hashtag1","hashtag2"]},{"1402189241":["hashtag1","hashtag2"]},{"1402189232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402189234, 1402189237, 1402189239, 1402189230, 1402189241, 1402189232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32230067253113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 19:57:42.147707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_15_1766.jpg', '/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_17_1538.jpg', '/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_22_1846.jpg', '/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_23_1714.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_09_11888.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_24_15055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_15_1766.jpg
/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_17_1538.jpg
/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_22_1846.jpg
/home/pi/Desktop/images/05112025/21/17/image_05112025_21_17_23_1714.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_09_11888.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_24_15055.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189252","1402189249","1402189251","1402189253","1402189250","1402189247"],"photo_ids_order":["1402189247","1402189249","1402189250","1402189251","1402189252","1402189253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f3a025144d240335be737a511a272c5.jpg","text":"TemporaryFile(/tmp/multipartBody8683099252130825162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380323984,"filename":"image_05112025_21_18_09_11888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8964fc067a8d8fd6ba8d48391a558617.jpg","text":"TemporaryFile(/tmp/multipartBody5391015947083292948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380323984,"filename":"image_05112025_21_17_17_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/2/69f7dfa12b766a6b2bb6c97f447182dc.jpg","text":"TemporaryFile(/tmp/multipartBody6707754594789311177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380323984,"filename":"image_05112025_21_17_23_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/2/9ff77a76f25c4b31d351412e3b00b625.jpg","text":"TemporaryFile(/tmp/multipartBody1906406048464608070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380323984,"filename":"image_05112025_21_18_24_15055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d0715d1027f4055b6cdf7c03ae18a1f7.jpg","text":"TemporaryFile(/tmp/multipartBody7753846534996852246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380323984,"filename":"image_05112025_21_17_22_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/2/a86c30d0c6cbf48218401d2b1f9a2f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4950426976297587664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380323984,"filename":"image_05112025_21_17_15_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189250","file1":"1402189249","file0":"1402189247","file4":"1402189252","file5":"1402189253","file3":"1402189251"},"map_files_photo_id_array":[{"photo_id":"1402189253","filename":"file5"},{"photo_id":"1402189250","filename":"file2"},{"photo_id":"1402189252","filename":"file4"},{"photo_id":"1402189249","filename":"file1"},{"photo_id":"1402189247","filename":"file0"},{"photo_id":"1402189251","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402189252":["hashtag1","hashtag2"]},{"1402189249":["hashtag1","hashtag2"]},{"1402189251":["hashtag1","hashtag2"]},{"1402189253":["hashtag1","hashtag2"]},{"1402189250":["hashtag1","hashtag2"]},{"1402189247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402189252, 1402189249, 1402189251, 1402189253, 1402189250, 1402189247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44259452819824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 19:59:03.606579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_24_9680.jpg', '/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_34_9708.jpg', '/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_45_10556.jpg', '/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_54_9542.jpg', '/home/pi/Desktop/images/02012026/19/33/image_02012026_19_34_05_10583.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_14_9237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_24_9680.jpg
/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_34_9708.jpg
/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_45_10556.jpg
/home/pi/Desktop/images/02012026/19/33/image_02012026_19_33_54_9542.jpg
/home/pi/Desktop/images/02012026/19/33/image_02012026_19_34_05_10583.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_14_9237.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189351","1402189335","1402189329","1402189349","1402189316","1402189301"],"photo_ids_order":["1402189301","1402189316","1402189329","1402189335","1402189349","1402189351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce97778c8dc48309efbe4d9bbe3a4fee.jpg","text":"TemporaryFile(/tmp/multipartBody5308782206448386495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380404313,"filename":"image_02012026_19_34_14_9237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f528d5da11187c266d1f520eb3b9e2f4.jpg","text":"TemporaryFile(/tmp/multipartBody2364454605402221673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380404313,"filename":"image_02012026_19_33_54_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/2/6dcc322f7f9fad5dd61cced84243eabe.jpg","text":"TemporaryFile(/tmp/multipartBody2357448112952513794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380404313,"filename":"image_02012026_19_33_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/2/c06f201d82aac47ca4f1a503849ac68e.jpg","text":"TemporaryFile(/tmp/multipartBody8509029573242516649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380404313,"filename":"image_02012026_19_34_05_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/2/36ef4c43d84d990ae18eac9915d93dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1423730335856524999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380404313,"filename":"image_02012026_19_33_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/2/114f72bc3e65d4f88963800bf44b3145.jpg","text":"TemporaryFile(/tmp/multipartBody4139073188634810133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380404313,"filename":"image_02012026_19_33_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189329","file1":"1402189316","file0":"1402189301","file4":"1402189349","file5":"1402189351","file3":"1402189335"},"map_files_photo_id_array":[{"photo_id":"1402189351","filename":"file5"},{"photo_id":"1402189329","filename":"file2"},{"photo_id":"1402189349","filename":"file4"},{"photo_id":"1402189316","filename":"file1"},{"photo_id":"1402189301","filename":"file0"},{"photo_id":"1402189335","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402189351":["hashtag1","hashtag2"]},{"1402189335":["hashtag1","hashtag2"]},{"1402189329":["hashtag1","hashtag2"]},{"1402189349":["hashtag1","hashtag2"]},{"1402189316":["hashtag1","hashtag2"]},{"1402189301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402189351, 1402189335, 1402189329, 1402189349, 1402189316, 1402189301)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.29063558578491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:00:03.208312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_25_10588.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_35_9928.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_55_10695.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_35_05_9786.jpg', '/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_15_9940.jpg', '/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_25_10588.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_35_9928.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_55_10695.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_35_05_9786.jpg
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_15_9940.jpg
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_24_9689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.49524402618408203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:00:12.623570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_29_1706.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_33_1673.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_38_1627.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_41_1688.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_43_1768.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_45_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_29_1706.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_33_1673.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_38_1627.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_41_1688.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_43_1768.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_45_1693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402189531","1402189662","1402189434","1402189571","1402189619","1402189474"],"photo_ids_order":["1402189434","1402189474","1402189531","1402189571","1402189619","1402189662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e2d4fa4abab423ede1801fff4aaeded.jpg","text":"TemporaryFile(/tmp/multipartBody2876000752008924531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380474372,"filename":"image_05112025_21_18_38_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/2/96fa6eb070005a1c1a1f4e80f339070d.jpg","text":"TemporaryFile(/tmp/multipartBody8554916251320043130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380474372,"filename":"image_05112025_21_18_45_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/2/f4ee68aebbd996040f13873569273b05.jpg","text":"TemporaryFile(/tmp/multipartBody6073084329290560963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380474372,"filename":"image_05112025_21_18_29_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/2/a838db99825bc43f5d22cfa86df8f224.jpg","text":"TemporaryFile(/tmp/multipartBody6461725796151106162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380474372,"filename":"image_05112025_21_18_41_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/2/d91475bd779eb7655deb5d9795a97d60.jpg","text":"TemporaryFile(/tmp/multipartBody7024874439401367074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380474372,"filename":"image_05112025_21_18_43_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/25ec1c3c240c231575198223a47f1304.jpg","text":"TemporaryFile(/tmp/multipartBody527790975516131080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380474372,"filename":"image_05112025_21_18_33_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189531","file1":"1402189474","file0":"1402189434","file4":"1402189619","file5":"1402189662","file3":"1402189571"},"map_files_photo_id_array":[{"photo_id":"1402189662","filename":"file5"},{"photo_id":"1402189531","filename":"file2"},{"photo_id":"1402189619","filename":"file4"},{"photo_id":"1402189474","filename":"file1"},{"photo_id":"1402189434","filename":"file0"},{"photo_id":"1402189571","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402189531":["hashtag1","hashtag2"]},{"1402189662":["hashtag1","hashtag2"]},{"1402189434":["hashtag1","hashtag2"]},{"1402189571":["hashtag1","hashtag2"]},{"1402189619":["hashtag1","hashtag2"]},{"1402189474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402189531, 1402189662, 1402189434, 1402189571, 1402189619, 1402189474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26717829704285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:01:03.043436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_25_10588.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_35_9928.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_55_10695.jpg', '/home/pi/Desktop/images/02012026/19/34/image_02012026_19_35_05_9786.jpg', '/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_15_9940.jpg', '/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_25_10588.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_35_9928.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_34_55_10695.jpg
/home/pi/Desktop/images/02012026/19/34/image_02012026_19_35_05_9786.jpg
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_15_9940.jpg
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_24_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":["1402189954","1402189843","1402189992","1402190029","1402189886","1402189919"],"photo_ids_order":["1402189843","1402189886","1402189919","1402189954","1402189992","1402190029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/891611398df3de5daa26a06bca57eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody2094726045248398798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380523695,"filename":"image_02012026_19_35_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/2/eebe01a2d4c28f6b672c4a3c7401c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody6975695934569435277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380523695,"filename":"image_02012026_19_34_25_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/2/7a3a65ba9159b6b9e217f225cf25d555.jpg","text":"TemporaryFile(/tmp/multipartBody2516136926261529642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380523695,"filename":"image_02012026_19_35_15_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/2/6543e82106ce4b0ce8792679fd54944b.jpg","text":"TemporaryFile(/tmp/multipartBody6110252866830461142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380523695,"filename":"image_02012026_19_35_24_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/2/e2275602124e6e1ce5b37b81938c32dd.jpg","text":"TemporaryFile(/tmp/multipartBody1552773756067742798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380523695,"filename":"image_02012026_19_34_35_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5144d5f63584b51c6a105bb8858e0510.jpg","text":"TemporaryFile(/tmp/multipartBody586263750800602728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380523695,"filename":"image_02012026_19_34_55_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402189919","file1":"1402189886","file0":"1402189843","file4":"1402189992","file5":"1402190029","file3":"1402189954"},"map_files_photo_id_array":[{"photo_id":"1402190029","filename":"file5"},{"photo_id":"1402189919","filename":"file2"},{"photo_id":"1402189992","filename":"file4"},{"photo_id":"1402189886","filename":"file1"},{"photo_id":"1402189843","filename":"file0"},{"photo_id":"1402189954","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402189954":["hashtag1","hashtag2"]},{"1402189843":["hashtag1","hashtag2"]},{"1402189992":["hashtag1","hashtag2"]},{"1402190029":["hashtag1","hashtag2"]},{"1402189886":["hashtag1","hashtag2"]},{"1402189919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402189954, 1402189843, 1402189992, 1402190029, 1402189886, 1402189919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54488277435303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:01:42.610716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_48_1546.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_51_1606.jpg', '/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_57_1767.jpg', '/home/pi/Desktop/images/05112025/21/19/image_05112025_21_19_03_4719.jpg', '/home/pi/Desktop/images/05112025/21/19/image_05112025_21_19_05_1763.jpg', '/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_48_1546.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_51_1606.jpg
/home/pi/Desktop/images/05112025/21/18/image_05112025_21_18_57_1767.jpg
/home/pi/Desktop/images/05112025/21/19/image_05112025_21_19_03_4719.jpg
/home/pi/Desktop/images/05112025/21/19/image_05112025_21_19_05_1763.jpg
/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_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":["1402190126","1402190128","1402190190","1402190130","1402190148","1402190129"],"photo_ids_order":["1402190126","1402190128","1402190129","1402190130","1402190148","1402190190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c071320bef348bb4abe76d6624295a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5288353802062231036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380564484,"filename":"image_05112025_21_18_48_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/2/7e9a866c5b873b9a22b75cebf49cc26c.jpg","text":"TemporaryFile(/tmp/multipartBody2214081433813981257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380564484,"filename":"image_05112025_21_18_51_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/2/c0509e08260df934f88e61e75e66066b.jpg","text":"TemporaryFile(/tmp/multipartBody5583883293400060874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380564484,"filename":"image_05112025_21_22_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/2/87cfa95f944cd5f112793df33aba92ba.jpg","text":"TemporaryFile(/tmp/multipartBody8682939178987858112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380564484,"filename":"image_05112025_21_19_03_4719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c85962206eb7e3f0882adcc63d3e901.jpg","text":"TemporaryFile(/tmp/multipartBody7136443862814106495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380564484,"filename":"image_05112025_21_19_05_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/2/cd9690a44fad4c140e8b45b92ced3bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8644938696603749078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380564484,"filename":"image_05112025_21_18_57_1767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402190129","file1":"1402190128","file0":"1402190126","file4":"1402190148","file5":"1402190190","file3":"1402190130"},"map_files_photo_id_array":[{"photo_id":"1402190190","filename":"file5"},{"photo_id":"1402190129","filename":"file2"},{"photo_id":"1402190148","filename":"file4"},{"photo_id":"1402190128","filename":"file1"},{"photo_id":"1402190126","filename":"file0"},{"photo_id":"1402190130","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402190126":["hashtag1","hashtag2"]},{"1402190128":["hashtag1","hashtag2"]},{"1402190190":["hashtag1","hashtag2"]},{"1402190130":["hashtag1","hashtag2"]},{"1402190148":["hashtag1","hashtag2"]},{"1402190129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402190126, 1402190128, 1402190190, 1402190130, 1402190148, 1402190129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25405669212341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:02:22.813427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_34_9796.jpg', '/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_54_9719.jpg', '/home/pi/Desktop/images/02012026/19/35/image_02012026_19_36_04_9610.jpg', '/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_15_10722.jpg', '/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_24_9688.jpg', '/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_34_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_34_9796.jpg
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_35_54_9719.jpg
/home/pi/Desktop/images/02012026/19/35/image_02012026_19_36_04_9610.jpg
/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_15_10722.jpg
/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_24_9688.jpg
/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_34_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":["1402190281","1402190308","1402190364","1402190358","1402190279","1402190348"],"photo_ids_order":["1402190279","1402190281","1402190308","1402190348","1402190358","1402190364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b3a33f79b645a3350f738c590018eee5.jpg","text":"TemporaryFile(/tmp/multipartBody3662207544312078247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380603393,"filename":"image_02012026_19_35_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/2/badccf444dcbb0d150f87e77d0d4c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody4953865084348511082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380603393,"filename":"image_02012026_19_36_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/2/f411e533bf301a085268e571f879b59e.jpg","text":"TemporaryFile(/tmp/multipartBody9160595510376143236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380603393,"filename":"image_02012026_19_36_34_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/2/60673ba9f032b07d411817e3f3fb9abc.jpg","text":"TemporaryFile(/tmp/multipartBody3036546786239878238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380603393,"filename":"image_02012026_19_36_24_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/2/574bf69e609cff45f121a87b1faf72ff.jpg","text":"TemporaryFile(/tmp/multipartBody2570021119870425731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380603393,"filename":"image_02012026_19_35_34_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/2/6a56bdd3e72341a07f31d8e4d69730f7.jpg","text":"TemporaryFile(/tmp/multipartBody2282137794316062910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380603393,"filename":"image_02012026_19_36_15_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402190308","file1":"1402190281","file0":"1402190279","file4":"1402190358","file5":"1402190364","file3":"1402190348"},"map_files_photo_id_array":[{"photo_id":"1402190364","filename":"file5"},{"photo_id":"1402190308","filename":"file2"},{"photo_id":"1402190358","filename":"file4"},{"photo_id":"1402190281","filename":"file1"},{"photo_id":"1402190279","filename":"file0"},{"photo_id":"1402190348","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402190281":["hashtag1","hashtag2"]},{"1402190308":["hashtag1","hashtag2"]},{"1402190364":["hashtag1","hashtag2"]},{"1402190358":["hashtag1","hashtag2"]},{"1402190279":["hashtag1","hashtag2"]},{"1402190348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402190281, 1402190308, 1402190364, 1402190358, 1402190279, 1402190348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50122570991516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:03:02.581789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_45_10649.jpg', '/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_54_9670.jpg', '/home/pi/Desktop/images/02012026/19/36/image_02012026_19_37_04_9697.jpg', '/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_15_10594.jpg', '/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_24_9569.jpg', '/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_35_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_45_10649.jpg
/home/pi/Desktop/images/02012026/19/36/image_02012026_19_36_54_9670.jpg
/home/pi/Desktop/images/02012026/19/36/image_02012026_19_37_04_9697.jpg
/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_15_10594.jpg
/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_24_9569.jpg
/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_35_10659.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":["1402190782","1402190419","1402190547","1402190475","1402190628","1402190700"],"photo_ids_order":["1402190419","1402190475","1402190547","1402190628","1402190700","1402190782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/15e4c9b8cc5b1c3df218cc9836b44677.jpg","text":"TemporaryFile(/tmp/multipartBody2075623937408883797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380647922,"filename":"image_02012026_19_37_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/2/66e3b5bc132bbdcb93fb998ccc268868.jpg","text":"TemporaryFile(/tmp/multipartBody190372876825719309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380647922,"filename":"image_02012026_19_36_45_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/2/6aa692465ef831a8b5698d9fd9ee8126.jpg","text":"TemporaryFile(/tmp/multipartBody6039431681839975095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380647922,"filename":"image_02012026_19_37_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/2/710413ffd17b3d43f38ea37d5f1eefd6.jpg","text":"TemporaryFile(/tmp/multipartBody7753241786035168652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380647922,"filename":"image_02012026_19_36_54_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/2/a04e3542d5c0008eee6b5b3d362475e4.jpg","text":"TemporaryFile(/tmp/multipartBody4092485164999866943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380647922,"filename":"image_02012026_19_37_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/2/7eea25f7c2f82827285a57845f281904.jpg","text":"TemporaryFile(/tmp/multipartBody6095150288857041559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380647922,"filename":"image_02012026_19_37_24_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402190547","file1":"1402190475","file0":"1402190419","file4":"1402190700","file5":"1402190782","file3":"1402190628"},"map_files_photo_id_array":[{"photo_id":"1402190782","filename":"file5"},{"photo_id":"1402190547","filename":"file2"},{"photo_id":"1402190700","filename":"file4"},{"photo_id":"1402190475","filename":"file1"},{"photo_id":"1402190419","filename":"file0"},{"photo_id":"1402190628","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402190782":["hashtag1","hashtag2"]},{"1402190419":["hashtag1","hashtag2"]},{"1402190547":["hashtag1","hashtag2"]},{"1402190475":["hashtag1","hashtag2"]},{"1402190628":["hashtag1","hashtag2"]},{"1402190700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402190782, 1402190419, 1402190547, 1402190475, 1402190628, 1402190700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.671924352645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:04:02.806094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_45_9685.jpg', '/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_54_9776.jpg', '/home/pi/Desktop/images/02012026/19/37/image_02012026_19_38_04_9802.jpg', '/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_15_10613.jpg', '/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_25_9945.jpg', '/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_35_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_45_9685.jpg
/home/pi/Desktop/images/02012026/19/37/image_02012026_19_37_54_9776.jpg
/home/pi/Desktop/images/02012026/19/37/image_02012026_19_38_04_9802.jpg
/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_15_10613.jpg
/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_25_9945.jpg
/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_35_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402191393","1402191234","1402191194","1402191341","1402191305","1402191271"],"photo_ids_order":["1402191194","1402191234","1402191271","1402191305","1402191341","1402191393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/edca2c2ed109ebf5ece86623fa7fc795.jpg","text":"TemporaryFile(/tmp/multipartBody3641259610193864857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380703489,"filename":"image_02012026_19_38_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/2/c6fe6956d6f5617378375d8e8528a599.jpg","text":"TemporaryFile(/tmp/multipartBody3645892342257104793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380703489,"filename":"image_02012026_19_37_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/2/ff646c3b629d297a6d124e149fc64513.jpg","text":"TemporaryFile(/tmp/multipartBody5734591615342481804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380703489,"filename":"image_02012026_19_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/2/ad4ab2765a3cd2fef02989c4aaf0e6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6846920365783207822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380703489,"filename":"image_02012026_19_38_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/2/39e952847d906624cf97e211ede3f249.jpg","text":"TemporaryFile(/tmp/multipartBody3883644250145059324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380703489,"filename":"image_02012026_19_38_15_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/2/9fd18a145d4a91adc72ad3aa0f717962.jpg","text":"TemporaryFile(/tmp/multipartBody1696051329873044373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380703489,"filename":"image_02012026_19_38_04_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402191271","file1":"1402191234","file0":"1402191194","file4":"1402191341","file5":"1402191393","file3":"1402191305"},"map_files_photo_id_array":[{"photo_id":"1402191393","filename":"file5"},{"photo_id":"1402191271","filename":"file2"},{"photo_id":"1402191341","filename":"file4"},{"photo_id":"1402191234","filename":"file1"},{"photo_id":"1402191194","filename":"file0"},{"photo_id":"1402191305","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402191393":["hashtag1","hashtag2"]},{"1402191234":["hashtag1","hashtag2"]},{"1402191194":["hashtag1","hashtag2"]},{"1402191341":["hashtag1","hashtag2"]},{"1402191305":["hashtag1","hashtag2"]},{"1402191271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402191393, 1402191234, 1402191194, 1402191341, 1402191305, 1402191271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.569931507110596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:04:42.355751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_13_2584.jpg', '/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_16_3648.jpg', '/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_35_1859.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_25_1641.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_26_1699.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_38_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_13_2584.jpg
/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_16_3648.jpg
/home/pi/Desktop/images/05112025/21/22/image_05112025_21_22_35_1859.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_25_1641.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_26_1699.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_38_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402191703","1402191543","1402191641","1402191583","1402191784","1402191742"],"photo_ids_order":["1402191543","1402191583","1402191641","1402191703","1402191742","1402191784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff68f9f313742c27da2cff324aaa8659.jpg","text":"TemporaryFile(/tmp/multipartBody202480814440125841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380744190,"filename":"image_05112025_21_23_25_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/2/9feaff7da18b3dd15ef8460b87bdc34e.jpg","text":"TemporaryFile(/tmp/multipartBody8752272046928501817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380744190,"filename":"image_05112025_21_22_13_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/2/935b7899ec22150889cc2a125eaa9dde.jpg","text":"TemporaryFile(/tmp/multipartBody1993832559657354573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380744190,"filename":"image_05112025_21_22_35_1859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/332824abb464db044ad5a141b3c6c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody640792483947362741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380744190,"filename":"image_05112025_21_22_16_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/2/b84c0d9035bd3cd9646ecd7efb444dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5803899496591722922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380744190,"filename":"image_05112025_21_23_38_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/2/e24b85dd9f047a8c95964346f99aed00.jpg","text":"TemporaryFile(/tmp/multipartBody8705262377508624906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380744190,"filename":"image_05112025_21_23_26_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402191641","file1":"1402191583","file0":"1402191543","file4":"1402191742","file5":"1402191784","file3":"1402191703"},"map_files_photo_id_array":[{"photo_id":"1402191784","filename":"file5"},{"photo_id":"1402191641","filename":"file2"},{"photo_id":"1402191742","filename":"file4"},{"photo_id":"1402191583","filename":"file1"},{"photo_id":"1402191543","filename":"file0"},{"photo_id":"1402191703","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402191703":["hashtag1","hashtag2"]},{"1402191543":["hashtag1","hashtag2"]},{"1402191641":["hashtag1","hashtag2"]},{"1402191583":["hashtag1","hashtag2"]},{"1402191784":["hashtag1","hashtag2"]},{"1402191742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402191703, 1402191543, 1402191641, 1402191583, 1402191784, 1402191742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.625606060028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:05:22.559338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_44_9594.jpg', '/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_14_9681.jpg', '/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_24_9670.jpg', '/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_35_10819.jpg', '/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_44_9566.jpg', '/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_55_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/38/image_02012026_19_38_44_9594.jpg
/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_14_9681.jpg
/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_24_9670.jpg
/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_35_10819.jpg
/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_44_9566.jpg
/home/pi/Desktop/images/02012026/19/39/image_02012026_19_39_55_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402191907","1402191901","1402191894","1402191912","1402191874","1402191898"],"photo_ids_order":["1402191874","1402191894","1402191898","1402191901","1402191907","1402191912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f61a9294962f7315557a70d48c16f0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2325150917677288288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380783165,"filename":"image_02012026_19_39_44_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/2/1f95c04abb6354a2be5b2d18d0d239d3.jpg","text":"TemporaryFile(/tmp/multipartBody973614460155310504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380783165,"filename":"image_02012026_19_39_35_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/2/41c0c4585d2ef21d93d7f5a0a0788e37.jpg","text":"TemporaryFile(/tmp/multipartBody5797216206527077843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380783165,"filename":"image_02012026_19_39_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/2/f8ff1521fe40eb35574c4fc2cc6e0188.jpg","text":"TemporaryFile(/tmp/multipartBody3342107211871407138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380783165,"filename":"image_02012026_19_39_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/2/82cd8eb490a3e8066510f9b5b85d3f89.jpg","text":"TemporaryFile(/tmp/multipartBody5054848935368467809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380783165,"filename":"image_02012026_19_38_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/2/5b1642f24343bb62e61b263432d65ad8.jpg","text":"TemporaryFile(/tmp/multipartBody8551676990879523350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380783165,"filename":"image_02012026_19_39_24_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402191898","file1":"1402191894","file0":"1402191874","file4":"1402191907","file5":"1402191912","file3":"1402191901"},"map_files_photo_id_array":[{"photo_id":"1402191912","filename":"file5"},{"photo_id":"1402191898","filename":"file2"},{"photo_id":"1402191907","filename":"file4"},{"photo_id":"1402191894","filename":"file1"},{"photo_id":"1402191874","filename":"file0"},{"photo_id":"1402191901","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402191907":["hashtag1","hashtag2"]},{"1402191901":["hashtag1","hashtag2"]},{"1402191894":["hashtag1","hashtag2"]},{"1402191912":["hashtag1","hashtag2"]},{"1402191874":["hashtag1","hashtag2"]},{"1402191898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402191907, 1402191901, 1402191894, 1402191912, 1402191874, 1402191898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92696261405945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:06:03.150199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/39/image_02012026_19_40_05_9820.jpg', '/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_15_9733.jpg', '/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_24_9759.jpg', '/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_35_10577.jpg', '/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_45_9729.jpg', '/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/39/image_02012026_19_40_05_9820.jpg
/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_15_9733.jpg
/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_24_9759.jpg
/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_35_10577.jpg
/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_45_9729.jpg
/home/pi/Desktop/images/02012026/19/40/image_02012026_19_40_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":["1402191937","1402191946","1402191981","1402191987","1402191957","1402191977"],"photo_ids_order":["1402191937","1402191946","1402191957","1402191977","1402191981","1402191987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94e0c2d32113e6e50b1981906b4aeb57.jpg","text":"TemporaryFile(/tmp/multipartBody4671158745521028883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380823759,"filename":"image_02012026_19_40_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/2/74119a505ce4a6b0d8715c689cf7541c.jpg","text":"TemporaryFile(/tmp/multipartBody4379889858831402466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380823759,"filename":"image_02012026_19_40_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/2/d1a60b3854ed2676af6eaa38d7ddbf76.jpg","text":"TemporaryFile(/tmp/multipartBody645836825311989441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380823759,"filename":"image_02012026_19_40_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/2/00aa45da81f4e6738ce7eeca76981e3a.jpg","text":"TemporaryFile(/tmp/multipartBody338461181384688151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380823759,"filename":"image_02012026_19_40_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/2/8973a6c9fb0509dfc5e9b781723bb305.jpg","text":"TemporaryFile(/tmp/multipartBody4837039294262857065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380823759,"filename":"image_02012026_19_40_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/2/7f8ff467b7a2527e9341353fb6368a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5814137586023487461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380823759,"filename":"image_02012026_19_40_35_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402191957","file1":"1402191946","file0":"1402191937","file4":"1402191981","file5":"1402191987","file3":"1402191977"},"map_files_photo_id_array":[{"photo_id":"1402191987","filename":"file5"},{"photo_id":"1402191957","filename":"file2"},{"photo_id":"1402191981","filename":"file4"},{"photo_id":"1402191946","filename":"file1"},{"photo_id":"1402191937","filename":"file0"},{"photo_id":"1402191977","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402191937":["hashtag1","hashtag2"]},{"1402191946":["hashtag1","hashtag2"]},{"1402191981":["hashtag1","hashtag2"]},{"1402191987":["hashtag1","hashtag2"]},{"1402191957":["hashtag1","hashtag2"]},{"1402191977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402191937, 1402191946, 1402191981, 1402191987, 1402191957, 1402191977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.064234256744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:06:42.760525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_40_1677.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_43_1774.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_47_1678.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_48_1718.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_52_1616.jpg', '/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_54_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_40_1677.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_43_1774.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_47_1678.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_48_1718.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_52_1616.jpg
/home/pi/Desktop/images/05112025/21/23/image_05112025_21_23_54_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192032","1402192029","1402192023","1402192022","1402192021","1402192018"],"photo_ids_order":["1402192018","1402192021","1402192022","1402192023","1402192029","1402192032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/41fe05733a2ef9dfa55e8f5e7d5c4969.jpg","text":"TemporaryFile(/tmp/multipartBody8613832800722947733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380864594,"filename":"image_05112025_21_23_54_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/2/5bab73c97e99386e6a0d5d4db612b472.jpg","text":"TemporaryFile(/tmp/multipartBody4720891895421311686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380864594,"filename":"image_05112025_21_23_52_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/2/e99634ee0b9343640b9913f900024b34.jpg","text":"TemporaryFile(/tmp/multipartBody3380012983344731464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380864594,"filename":"image_05112025_21_23_48_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/2/3172bd260f57501756d09b5f0fc4e6e1.jpg","text":"TemporaryFile(/tmp/multipartBody1374544388749124083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380864594,"filename":"image_05112025_21_23_47_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/2/38da62e5dd6a6f3d5ba40f31035070f3.jpg","text":"TemporaryFile(/tmp/multipartBody9140915448271385009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380864594,"filename":"image_05112025_21_23_43_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/2/0455e8c53b63c61bf1a829116a97c732.jpg","text":"TemporaryFile(/tmp/multipartBody8609411162538701236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380864594,"filename":"image_05112025_21_23_40_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192022","file1":"1402192021","file0":"1402192018","file4":"1402192029","file5":"1402192032","file3":"1402192023"},"map_files_photo_id_array":[{"photo_id":"1402192032","filename":"file5"},{"photo_id":"1402192022","filename":"file2"},{"photo_id":"1402192029","filename":"file4"},{"photo_id":"1402192021","filename":"file1"},{"photo_id":"1402192018","filename":"file0"},{"photo_id":"1402192023","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192032":["hashtag1","hashtag2"]},{"1402192029":["hashtag1","hashtag2"]},{"1402192023":["hashtag1","hashtag2"]},{"1402192022":["hashtag1","hashtag2"]},{"1402192021":["hashtag1","hashtag2"]},{"1402192018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192032, 1402192029, 1402192023, 1402192022, 1402192021, 1402192018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.658822774887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:07:22.047533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/40/image_02012026_19_41_05_10587.jpg', '/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_15_9762.jpg', '/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_24_9662.jpg', '/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_34_9813.jpg', '/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_44_9922.jpg', '/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_55_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/40/image_02012026_19_41_05_10587.jpg
/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_15_9762.jpg
/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_24_9662.jpg
/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_34_9813.jpg
/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_44_9922.jpg
/home/pi/Desktop/images/02012026/19/41/image_02012026_19_41_55_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192065","1402192059","1402192050","1402192040","1402192048","1402192045"],"photo_ids_order":["1402192040","1402192045","1402192048","1402192050","1402192059","1402192065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cec1b4ca101662d831b2b720a5c763f7.jpg","text":"TemporaryFile(/tmp/multipartBody7751464343494860046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380902629,"filename":"image_02012026_19_41_55_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/2/32d98f6eec2210ccb0e664e1f0aeed78.jpg","text":"TemporaryFile(/tmp/multipartBody1041637411080298001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380902629,"filename":"image_02012026_19_41_44_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/2/09f8256e1f70b4ca87f161100f01291d.jpg","text":"TemporaryFile(/tmp/multipartBody5241723718039498824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380902629,"filename":"image_02012026_19_41_34_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/2/c240d1d0d9ef6837d8df549a41c52aed.jpg","text":"TemporaryFile(/tmp/multipartBody3510973791258251820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380902629,"filename":"image_02012026_19_41_05_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/2/440d3ec4470e5853c840cfbfdb2ce400.jpg","text":"TemporaryFile(/tmp/multipartBody742905961646229336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380902629,"filename":"image_02012026_19_41_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/2/8c6c1579f38f728e506a75f1fde91b33.jpg","text":"TemporaryFile(/tmp/multipartBody4399502310570118216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380902629,"filename":"image_02012026_19_41_15_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192048","file1":"1402192045","file0":"1402192040","file4":"1402192059","file5":"1402192065","file3":"1402192050"},"map_files_photo_id_array":[{"photo_id":"1402192065","filename":"file5"},{"photo_id":"1402192048","filename":"file2"},{"photo_id":"1402192059","filename":"file4"},{"photo_id":"1402192045","filename":"file1"},{"photo_id":"1402192040","filename":"file0"},{"photo_id":"1402192050","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402192065":["hashtag1","hashtag2"]},{"1402192059":["hashtag1","hashtag2"]},{"1402192050":["hashtag1","hashtag2"]},{"1402192040":["hashtag1","hashtag2"]},{"1402192048":["hashtag1","hashtag2"]},{"1402192045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402192065, 1402192059, 1402192050, 1402192040, 1402192048, 1402192045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.750651359558105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:08:02.510628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/41/image_02012026_19_42_04_9814.jpg', '/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_15_10580.jpg', '/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_25_9643.jpg', '/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_34_9744.jpg', '/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_45_10570.jpg', '/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_55_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/41/image_02012026_19_42_04_9814.jpg
/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_15_10580.jpg
/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_25_9643.jpg
/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_34_9744.jpg
/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_45_10570.jpg
/home/pi/Desktop/images/02012026/19/42/image_02012026_19_42_55_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":["1402192083","1402192092","1402192086","1402192088","1402192090","1402192087"],"photo_ids_order":["1402192083","1402192086","1402192087","1402192088","1402192090","1402192092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a13f5b8e85423e746cc525c1a52272ba.jpg","text":"TemporaryFile(/tmp/multipartBody8955025216493718904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380943154,"filename":"image_02012026_19_42_04_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/2/f63b9ed81087e6341b093a6d179228ec.jpg","text":"TemporaryFile(/tmp/multipartBody7146998238120002073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380943154,"filename":"image_02012026_19_42_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/2/411571f25566cc334ffe22d8b9e9ab9e.jpg","text":"TemporaryFile(/tmp/multipartBody5249487139792835905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380943154,"filename":"image_02012026_19_42_15_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/2/a69e958605006105da0a938c74cb2ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7165868220232121023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380943154,"filename":"image_02012026_19_42_34_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/2/d9fbf7a80ec24a0ff9f54cdd305dbca6.jpg","text":"TemporaryFile(/tmp/multipartBody3763787816014482160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380943154,"filename":"image_02012026_19_42_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/2/6bc8ac9b5e57949ede36491a267dc445.jpg","text":"TemporaryFile(/tmp/multipartBody2864586576477107321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380943154,"filename":"image_02012026_19_42_25_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192087","file1":"1402192086","file0":"1402192083","file4":"1402192090","file5":"1402192092","file3":"1402192088"},"map_files_photo_id_array":[{"photo_id":"1402192092","filename":"file5"},{"photo_id":"1402192087","filename":"file2"},{"photo_id":"1402192090","filename":"file4"},{"photo_id":"1402192086","filename":"file1"},{"photo_id":"1402192083","filename":"file0"},{"photo_id":"1402192088","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402192083":["hashtag1","hashtag2"]},{"1402192092":["hashtag1","hashtag2"]},{"1402192086":["hashtag1","hashtag2"]},{"1402192088":["hashtag1","hashtag2"]},{"1402192090":["hashtag1","hashtag2"]},{"1402192087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402192083, 1402192092, 1402192086, 1402192088, 1402192090, 1402192087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93599224090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:08:42.087883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_10_3635.jpg', '/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_24_1684.jpg', '/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_27_3379.jpg', '/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_43_2739.jpg', '/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_47_3657.jpg', '/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_49_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_10_3635.jpg
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_24_1684.jpg
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_27_3379.jpg
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_43_2739.jpg
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_47_3657.jpg
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_49_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192231","1402192233","1402192206","1402192124","1402192103","1402192162"],"photo_ids_order":["1402192103","1402192124","1402192162","1402192206","1402192231","1402192233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2640bb7e32082c7d04e5cfc136035ad.jpg","text":"TemporaryFile(/tmp/multipartBody1351256172906480039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380983922,"filename":"image_05112025_21_28_47_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/2/e1a340d61f4b529090afef078fe43b19.jpg","text":"TemporaryFile(/tmp/multipartBody2649159019755821945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380983922,"filename":"image_05112025_21_28_49_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/2/24356e04d6e5794ffc32a8fe49f6159a.jpg","text":"TemporaryFile(/tmp/multipartBody5620247618384717654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380983922,"filename":"image_05112025_21_28_43_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/2/68f68b8b5b5d8326c8c38c0170abb308.jpg","text":"TemporaryFile(/tmp/multipartBody753857797109180253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380983922,"filename":"image_05112025_21_28_24_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/2/1a2aea8182e07afc3835ccf1227f74cf.jpg","text":"TemporaryFile(/tmp/multipartBody3867124130402076353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380983922,"filename":"image_05112025_21_28_10_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/2/b2712b62d25876483fcc12554e4a21a5.jpg","text":"TemporaryFile(/tmp/multipartBody3644660216943241086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767380983922,"filename":"image_05112025_21_28_27_3379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192162","file1":"1402192124","file0":"1402192103","file4":"1402192231","file5":"1402192233","file3":"1402192206"},"map_files_photo_id_array":[{"photo_id":"1402192233","filename":"file5"},{"photo_id":"1402192162","filename":"file2"},{"photo_id":"1402192231","filename":"file4"},{"photo_id":"1402192124","filename":"file1"},{"photo_id":"1402192103","filename":"file0"},{"photo_id":"1402192206","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192231":["hashtag1","hashtag2"]},{"1402192233":["hashtag1","hashtag2"]},{"1402192206":["hashtag1","hashtag2"]},{"1402192124":["hashtag1","hashtag2"]},{"1402192103":["hashtag1","hashtag2"]},{"1402192162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192231, 1402192233, 1402192206, 1402192124, 1402192103, 1402192162)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.26771545410156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:09:32.260185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_52_2619.jpg', '/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_58_2797.jpg', '/home/pi/Desktop/images/05112025/21/29/image_05112025_21_29_01_2606.jpg', '/home/pi/Desktop/images/05112025/21/29/image_05112025_21_29_05_3622.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_11_4192.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_14_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_52_2619.jpg
/home/pi/Desktop/images/05112025/21/28/image_05112025_21_28_58_2797.jpg
/home/pi/Desktop/images/05112025/21/29/image_05112025_21_29_01_2606.jpg
/home/pi/Desktop/images/05112025/21/29/image_05112025_21_29_05_3622.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_11_4192.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_14_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":["1402192272","1402192266","1402192268","1402192262","1402192259","1402192270"],"photo_ids_order":["1402192259","1402192262","1402192266","1402192268","1402192270","1402192272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/af51da4ba3c9576549ff732d0fe8661f.jpg","text":"TemporaryFile(/tmp/multipartBody9001257657125657511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381034096,"filename":"image_05112025_21_33_14_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/2/b00504d3ebb3c687eea78cb8ea2abae9.jpg","text":"TemporaryFile(/tmp/multipartBody4079420002357689187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381034096,"filename":"image_05112025_21_29_01_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/2/27893444f1031f609d403347e5123941.jpg","text":"TemporaryFile(/tmp/multipartBody5639791496227406416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381034096,"filename":"image_05112025_21_29_05_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/2/20daf5bb93e3f85a57cf88d438acef99.jpg","text":"TemporaryFile(/tmp/multipartBody7677796256880288914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381034096,"filename":"image_05112025_21_28_58_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/2/e57b39fd92f990833c63ab5967a49f01.jpg","text":"TemporaryFile(/tmp/multipartBody823738653852599223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381034096,"filename":"image_05112025_21_28_52_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/2/1048352bcc1510088d0d748a15274850.jpg","text":"TemporaryFile(/tmp/multipartBody4241610412731270785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381034096,"filename":"image_05112025_21_33_11_4192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192266","file1":"1402192262","file0":"1402192259","file4":"1402192270","file5":"1402192272","file3":"1402192268"},"map_files_photo_id_array":[{"photo_id":"1402192272","filename":"file5"},{"photo_id":"1402192266","filename":"file2"},{"photo_id":"1402192270","filename":"file4"},{"photo_id":"1402192262","filename":"file1"},{"photo_id":"1402192259","filename":"file0"},{"photo_id":"1402192268","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192272":["hashtag1","hashtag2"]},{"1402192266":["hashtag1","hashtag2"]},{"1402192268":["hashtag1","hashtag2"]},{"1402192262":["hashtag1","hashtag2"]},{"1402192259":["hashtag1","hashtag2"]},{"1402192270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192272, 1402192266, 1402192268, 1402192262, 1402192259, 1402192270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.103869676589966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:10:12.730673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_23_3668.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_41_1651.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_43_1717.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_45_1661.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_48_1739.jpg', '/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_52_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_23_3668.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_41_1651.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_43_1717.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_45_1661.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_48_1739.jpg
/home/pi/Desktop/images/05112025/21/33/image_05112025_21_33_52_2601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192287","1402192290","1402192284","1402192280","1402192282","1402192276"],"photo_ids_order":["1402192276","1402192280","1402192282","1402192284","1402192287","1402192290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8dcc7433e1382db2f1a13417bdf7e769.jpg","text":"TemporaryFile(/tmp/multipartBody5686083244454885622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381074440,"filename":"image_05112025_21_33_48_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/2/a14bdd7b9a00f3f01d9904f17c196f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6954809538221204575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381074440,"filename":"image_05112025_21_33_52_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/2/7bedd65e76bb357b0a7b4ee2cdf3bc76.jpg","text":"TemporaryFile(/tmp/multipartBody7858830626646250056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381074440,"filename":"image_05112025_21_33_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/2/4fb77207be756426177260a5d69c0687.jpg","text":"TemporaryFile(/tmp/multipartBody7944905573542006301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381074440,"filename":"image_05112025_21_33_41_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/2/13c97052403f8b5e2667a1c1a5351aff.jpg","text":"TemporaryFile(/tmp/multipartBody4310320734184719379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381074440,"filename":"image_05112025_21_33_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/2/69de44714261b4dff0640fa1f889be30.jpg","text":"TemporaryFile(/tmp/multipartBody8700023247109232390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381074440,"filename":"image_05112025_21_33_23_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192282","file1":"1402192280","file0":"1402192276","file4":"1402192287","file5":"1402192290","file3":"1402192284"},"map_files_photo_id_array":[{"photo_id":"1402192290","filename":"file5"},{"photo_id":"1402192282","filename":"file2"},{"photo_id":"1402192287","filename":"file4"},{"photo_id":"1402192280","filename":"file1"},{"photo_id":"1402192276","filename":"file0"},{"photo_id":"1402192284","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192287":["hashtag1","hashtag2"]},{"1402192290":["hashtag1","hashtag2"]},{"1402192284":["hashtag1","hashtag2"]},{"1402192280":["hashtag1","hashtag2"]},{"1402192282":["hashtag1","hashtag2"]},{"1402192276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192287, 1402192290, 1402192284, 1402192280, 1402192282, 1402192276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61019277572632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:11:02.783334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/42/image_02012026_19_43_04_9592.jpg', '/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_15_10641.jpg', '/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_25_9629.jpg', '/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_34_9767.jpg', '/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_44_9779.jpg', '/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_55_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/42/image_02012026_19_43_04_9592.jpg
/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_15_10641.jpg
/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_25_9629.jpg
/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_34_9767.jpg
/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_44_9779.jpg
/home/pi/Desktop/images/02012026/19/43/image_02012026_19_43_55_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192494","1402192467","1402192500","1402192469","1402192465","1402192441"],"photo_ids_order":["1402192441","1402192465","1402192467","1402192469","1402192494","1402192500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f123c33dc471c177f4ed33c87d86814d.jpg","text":"TemporaryFile(/tmp/multipartBody2035171061341746863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381123451,"filename":"image_02012026_19_43_44_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/2/13d8e7665a34c2f435985eabb9b99ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5665457627496190424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381123451,"filename":"image_02012026_19_43_25_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/2/10f8ab02c4621746d561fc07d03afd95.jpg","text":"TemporaryFile(/tmp/multipartBody2993870167395432635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381123451,"filename":"image_02012026_19_43_55_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/2/63d331de0bb6f2443acfd7823f62784d.jpg","text":"TemporaryFile(/tmp/multipartBody2243449953476176775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381123451,"filename":"image_02012026_19_43_34_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/2/3a7b8c677472b3e9d7558873c595e908.jpg","text":"TemporaryFile(/tmp/multipartBody4736181980612947312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381123451,"filename":"image_02012026_19_43_15_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/2/3446000571c38d49a4c7443b1c104270.jpg","text":"TemporaryFile(/tmp/multipartBody8279824659225996527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381123451,"filename":"image_02012026_19_43_04_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192467","file1":"1402192465","file0":"1402192441","file4":"1402192494","file5":"1402192500","file3":"1402192469"},"map_files_photo_id_array":[{"photo_id":"1402192500","filename":"file5"},{"photo_id":"1402192467","filename":"file2"},{"photo_id":"1402192494","filename":"file4"},{"photo_id":"1402192465","filename":"file1"},{"photo_id":"1402192441","filename":"file0"},{"photo_id":"1402192469","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402192494":["hashtag1","hashtag2"]},{"1402192467":["hashtag1","hashtag2"]},{"1402192500":["hashtag1","hashtag2"]},{"1402192469":["hashtag1","hashtag2"]},{"1402192465":["hashtag1","hashtag2"]},{"1402192441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402192494, 1402192467, 1402192500, 1402192469, 1402192465, 1402192441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94701862335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:11:41.987888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_15_22408.jpg', '/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_16_1628.jpg', '/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_18_1650.jpg', '/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_41_22858.jpg', '/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_43_1728.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_06_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_15_22408.jpg
/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_16_1628.jpg
/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_18_1650.jpg
/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_41_22858.jpg
/home/pi/Desktop/images/05112025/21/34/image_05112025_21_34_43_1728.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_06_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":["1402192512","1402192515","1402192509","1402192511","1402192510","1402192507"],"photo_ids_order":["1402192507","1402192509","1402192510","1402192511","1402192512","1402192515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/12c15de54a96732ea9d60cec60a4c9a8.jpg","text":"TemporaryFile(/tmp/multipartBody3732286964013742354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381163850,"filename":"image_05112025_21_34_43_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/2/2a97bb189198c2e781523b54c24d04fe.jpg","text":"TemporaryFile(/tmp/multipartBody6367873085819124823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381163850,"filename":"image_05112025_21_37_06_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/2/8a8ec610a94ba3d1efe5283d05dabc6d.jpg","text":"TemporaryFile(/tmp/multipartBody4932038929821067051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381163850,"filename":"image_05112025_21_34_16_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/2/797e11dbbe1eb6201a34ee20892565a0.jpg","text":"TemporaryFile(/tmp/multipartBody8617484522911676264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381163850,"filename":"image_05112025_21_34_41_22858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/81ca63b4818b86d1c2d7946129d25c18.jpg","text":"TemporaryFile(/tmp/multipartBody6493809306433171887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381163850,"filename":"image_05112025_21_34_18_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/2/4b55329bf40e49806d45824b9bd7723d.jpg","text":"TemporaryFile(/tmp/multipartBody7743395383248448898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381163850,"filename":"image_05112025_21_34_15_22408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192510","file1":"1402192509","file0":"1402192507","file4":"1402192512","file5":"1402192515","file3":"1402192511"},"map_files_photo_id_array":[{"photo_id":"1402192515","filename":"file5"},{"photo_id":"1402192510","filename":"file2"},{"photo_id":"1402192512","filename":"file4"},{"photo_id":"1402192509","filename":"file1"},{"photo_id":"1402192507","filename":"file0"},{"photo_id":"1402192511","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192512":["hashtag1","hashtag2"]},{"1402192515":["hashtag1","hashtag2"]},{"1402192509":["hashtag1","hashtag2"]},{"1402192511":["hashtag1","hashtag2"]},{"1402192510":["hashtag1","hashtag2"]},{"1402192507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192512, 1402192515, 1402192509, 1402192511, 1402192510, 1402192507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77449607849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:12:22.236125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/43/image_02012026_19_44_04_9586.jpg', '/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_14_9686.jpg', '/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_34_9711.jpg', '/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_44_9597.jpg', '/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_55_10602.jpg', '/home/pi/Desktop/images/02012026/19/44/image_02012026_19_45_04_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/43/image_02012026_19_44_04_9586.jpg
/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_14_9686.jpg
/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_34_9711.jpg
/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_44_9597.jpg
/home/pi/Desktop/images/02012026/19/44/image_02012026_19_44_55_10602.jpg
/home/pi/Desktop/images/02012026/19/44/image_02012026_19_45_04_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":["1402192548","1402192524","1402192550","1402192520","1402192552","1402192546"],"photo_ids_order":["1402192520","1402192524","1402192546","1402192548","1402192550","1402192552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fe41188c3ca368d3208a6d86b53529f4.jpg","text":"TemporaryFile(/tmp/multipartBody5567578568495886475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381202864,"filename":"image_02012026_19_44_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/2/4d216d9f85a532dd71ed56b8d6cb530b.jpg","text":"TemporaryFile(/tmp/multipartBody8677150650262800733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381202864,"filename":"image_02012026_19_44_14_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/2/8e6b911aaadc68681bd8991307cdd755.jpg","text":"TemporaryFile(/tmp/multipartBody5174967635405169209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381202864,"filename":"image_02012026_19_44_55_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/2/213209fe8a0455838e36709a6437774a.jpg","text":"TemporaryFile(/tmp/multipartBody2139191354453487332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381202864,"filename":"image_02012026_19_44_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/2/892c66cb341cd802ca73a2ae9bb64a64.jpg","text":"TemporaryFile(/tmp/multipartBody8878174381578967544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381202864,"filename":"image_02012026_19_45_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/2/c22714bca1c78a39c6d95eadcebb5dc8.jpg","text":"TemporaryFile(/tmp/multipartBody9017721208136645186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381202864,"filename":"image_02012026_19_44_34_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192546","file1":"1402192524","file0":"1402192520","file4":"1402192550","file5":"1402192552","file3":"1402192548"},"map_files_photo_id_array":[{"photo_id":"1402192552","filename":"file5"},{"photo_id":"1402192546","filename":"file2"},{"photo_id":"1402192550","filename":"file4"},{"photo_id":"1402192524","filename":"file1"},{"photo_id":"1402192520","filename":"file0"},{"photo_id":"1402192548","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402192548":["hashtag1","hashtag2"]},{"1402192524":["hashtag1","hashtag2"]},{"1402192550":["hashtag1","hashtag2"]},{"1402192520":["hashtag1","hashtag2"]},{"1402192552":["hashtag1","hashtag2"]},{"1402192546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402192548, 1402192524, 1402192550, 1402192520, 1402192552, 1402192546)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.18950366973877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:13:12.313295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_11_4310.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_19_2587.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_25_3362.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_27_2757.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_31_3524.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_34_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_11_4310.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_19_2587.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_25_3362.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_27_2757.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_31_3524.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_34_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192676","1402192715","1402192594","1402192636","1402192579","1402192723"],"photo_ids_order":["1402192579","1402192594","1402192636","1402192676","1402192715","1402192723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e71a0860ad0874dc9b253c9dd9d1e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody7387228629628246529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381254029,"filename":"image_05112025_21_37_27_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/2/bab27d4b31a8efc70b3573bd399221d6.jpg","text":"TemporaryFile(/tmp/multipartBody3488753883747483763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381254029,"filename":"image_05112025_21_37_31_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/2/a9f921946bfb4d5d7d6f0e42b62ccf20.jpg","text":"TemporaryFile(/tmp/multipartBody2883812029469554590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381254029,"filename":"image_05112025_21_37_19_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/2/a521e2853512e74c7702b266b34babfa.jpg","text":"TemporaryFile(/tmp/multipartBody7033159742050259959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381254029,"filename":"image_05112025_21_37_25_3362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/928b3cbf4ea6a0ac2f1c5646cf7bf9c8.jpg","text":"TemporaryFile(/tmp/multipartBody682330847953787075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381254029,"filename":"image_05112025_21_37_11_4310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5bee288132f0b0159aefb223d4c34f0c.jpg","text":"TemporaryFile(/tmp/multipartBody625101704990065503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381254029,"filename":"image_05112025_21_37_34_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192636","file1":"1402192594","file0":"1402192579","file4":"1402192715","file5":"1402192723","file3":"1402192676"},"map_files_photo_id_array":[{"photo_id":"1402192723","filename":"file5"},{"photo_id":"1402192636","filename":"file2"},{"photo_id":"1402192715","filename":"file4"},{"photo_id":"1402192594","filename":"file1"},{"photo_id":"1402192579","filename":"file0"},{"photo_id":"1402192676","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192676":["hashtag1","hashtag2"]},{"1402192715":["hashtag1","hashtag2"]},{"1402192594":["hashtag1","hashtag2"]},{"1402192636":["hashtag1","hashtag2"]},{"1402192579":["hashtag1","hashtag2"]},{"1402192723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192676, 1402192715, 1402192594, 1402192636, 1402192579, 1402192723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1066198348999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:14:06.670232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/45/image_02012026_19_45_34_9554.jpg', '/home/pi/Desktop/images/02012026/19/45/image_02012026_19_45_44_10047.jpg', '/home/pi/Desktop/images/02012026/19/45/image_02012026_19_45_54_9842.jpg', '/home/pi/Desktop/images/02012026/19/45/image_02012026_19_46_05_10535.jpg', '/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_14_9691.jpg', '/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_24_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/45/image_02012026_19_45_34_9554.jpg
/home/pi/Desktop/images/02012026/19/45/image_02012026_19_45_44_10047.jpg
/home/pi/Desktop/images/02012026/19/45/image_02012026_19_45_54_9842.jpg
/home/pi/Desktop/images/02012026/19/45/image_02012026_19_46_05_10535.jpg
/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_14_9691.jpg
/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_24_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402192749","1402192806","1402192790","1402192730","1402192727","1402192798"],"photo_ids_order":["1402192727","1402192730","1402192749","1402192790","1402192798","1402192806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5137937c370c97aeedb267b57c852da1.jpg","text":"TemporaryFile(/tmp/multipartBody2400818889048368264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381307317,"filename":"image_02012026_19_45_54_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/2/3b7e0e80a1927ff88b456d7b9cb163b6.jpg","text":"TemporaryFile(/tmp/multipartBody6091004121342193179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381307317,"filename":"image_02012026_19_46_24_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/2/469625e48b30ce3efb90b52d950ee8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3907740987222139579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381307317,"filename":"image_02012026_19_46_05_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/2/9f9fdd13e09a10b9ecd902a6837b677d.jpg","text":"TemporaryFile(/tmp/multipartBody1633754119682685425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381307317,"filename":"image_02012026_19_45_44_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/2/b982b23c4e94e1292064a3f98f51cd31.jpg","text":"TemporaryFile(/tmp/multipartBody4259183229069243592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381307317,"filename":"image_02012026_19_45_34_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/2/869938ac30ced06e65cd2d06ab3d02a7.jpg","text":"TemporaryFile(/tmp/multipartBody1821669444490219570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381307317,"filename":"image_02012026_19_46_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192749","file1":"1402192730","file0":"1402192727","file4":"1402192798","file5":"1402192806","file3":"1402192790"},"map_files_photo_id_array":[{"photo_id":"1402192806","filename":"file5"},{"photo_id":"1402192749","filename":"file2"},{"photo_id":"1402192798","filename":"file4"},{"photo_id":"1402192730","filename":"file1"},{"photo_id":"1402192727","filename":"file0"},{"photo_id":"1402192790","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402192749":["hashtag1","hashtag2"]},{"1402192806":["hashtag1","hashtag2"]},{"1402192790":["hashtag1","hashtag2"]},{"1402192730":["hashtag1","hashtag2"]},{"1402192727":["hashtag1","hashtag2"]},{"1402192798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402192749, 1402192806, 1402192790, 1402192730, 1402192727, 1402192798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60144567489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:15:02.943022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 20:15:12.407192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_36_2681.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_43_2936.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_46_3153.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_48_2556.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_52_3745.jpg', '/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_59_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_36_2681.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_43_2936.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_46_3153.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_48_2556.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_52_3745.jpg
/home/pi/Desktop/images/05112025/21/37/image_05112025_21_37_59_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":["1402192836","1402192874","1402192850","1402192838","1402192853","1402192834"],"photo_ids_order":["1402192834","1402192836","1402192838","1402192850","1402192853","1402192874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f85b06c7333a7823f18cbbee8f64ec5f.jpg","text":"TemporaryFile(/tmp/multipartBody545652815569601403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381374210,"filename":"image_05112025_21_37_43_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba061be7447a60d37bd30db1903a021f.jpg","text":"TemporaryFile(/tmp/multipartBody5412323884020692703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381374210,"filename":"image_05112025_21_37_59_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/2/7024f987ea02823cdfe500136a391fab.jpg","text":"TemporaryFile(/tmp/multipartBody868646929273475250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381374210,"filename":"image_05112025_21_37_48_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/2/1a4ed13d6828bef23b40c355e5b5bc21.jpg","text":"TemporaryFile(/tmp/multipartBody6051260455595611803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381374210,"filename":"image_05112025_21_37_46_3153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f22eba5fa7c8935f02ebbcbec9c11bb.jpg","text":"TemporaryFile(/tmp/multipartBody5683129936990361987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381374210,"filename":"image_05112025_21_37_52_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/2/8a3c4a09ac4b7b6df5268e63f95bd1d8.jpg","text":"TemporaryFile(/tmp/multipartBody6843057033768745308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381374210,"filename":"image_05112025_21_37_36_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192838","file1":"1402192836","file0":"1402192834","file4":"1402192853","file5":"1402192874","file3":"1402192850"},"map_files_photo_id_array":[{"photo_id":"1402192874","filename":"file5"},{"photo_id":"1402192838","filename":"file2"},{"photo_id":"1402192853","filename":"file4"},{"photo_id":"1402192836","filename":"file1"},{"photo_id":"1402192834","filename":"file0"},{"photo_id":"1402192850","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402192836":["hashtag1","hashtag2"]},{"1402192874":["hashtag1","hashtag2"]},{"1402192850":["hashtag1","hashtag2"]},{"1402192838":["hashtag1","hashtag2"]},{"1402192853":["hashtag1","hashtag2"]},{"1402192834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402192836, 1402192874, 1402192850, 1402192838, 1402192853, 1402192834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73396301269531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:16:02.997655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_35_10824.jpg', '/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_45_9627.jpg', '/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_55_9985.jpg', '/home/pi/Desktop/images/02012026/19/46/image_02012026_19_47_04_9654.jpg', '/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_15_10829.jpg', '/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_36_11491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_35_10824.jpg
/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_45_9627.jpg
/home/pi/Desktop/images/02012026/19/46/image_02012026_19_46_55_9985.jpg
/home/pi/Desktop/images/02012026/19/46/image_02012026_19_47_04_9654.jpg
/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_15_10829.jpg
/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_36_11491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402192886","1402192895","1402192889","1402192891","1402192885","1402192893"],"photo_ids_order":["1402192885","1402192886","1402192889","1402192891","1402192893","1402192895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c2a8365584c790e8d5177cab01fe972d.jpg","text":"TemporaryFile(/tmp/multipartBody3759293205944536289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381423584,"filename":"image_02012026_19_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/2/8822f0c838bb3dc9db21d4ae70fc2289.jpg","text":"TemporaryFile(/tmp/multipartBody4863201578509145137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381423584,"filename":"image_02012026_19_47_36_11491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/855119291a8dfe8f0a7f9cfe9ae81159.jpg","text":"TemporaryFile(/tmp/multipartBody3002912594082065080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381423584,"filename":"image_02012026_19_46_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/2/20b7a81f53c7027bdbcc9adb65bb3beb.jpg","text":"TemporaryFile(/tmp/multipartBody7469615383745962979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381423584,"filename":"image_02012026_19_47_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/2/85817bde8a93c3b95a2030272a2fad39.jpg","text":"TemporaryFile(/tmp/multipartBody4260939281373068980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381423584,"filename":"image_02012026_19_46_35_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/96c1b45f28c86c0be49309508e0fa4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7128314675113870902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381423584,"filename":"image_02012026_19_47_15_10829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402192889","file1":"1402192886","file0":"1402192885","file4":"1402192893","file5":"1402192895","file3":"1402192891"},"map_files_photo_id_array":[{"photo_id":"1402192895","filename":"file5"},{"photo_id":"1402192889","filename":"file2"},{"photo_id":"1402192893","filename":"file4"},{"photo_id":"1402192886","filename":"file1"},{"photo_id":"1402192885","filename":"file0"},{"photo_id":"1402192891","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402192886":["hashtag1","hashtag2"]},{"1402192895":["hashtag1","hashtag2"]},{"1402192889":["hashtag1","hashtag2"]},{"1402192891":["hashtag1","hashtag2"]},{"1402192885":["hashtag1","hashtag2"]},{"1402192893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402192886, 1402192895, 1402192889, 1402192891, 1402192885, 1402192893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.186705589294434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:16:42.578428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_04_2635.jpg', '/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_07_2753.jpg', '/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_13_3658.jpg', '/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_16_2810.jpg', '/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_20_4302.jpg', '/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_23_3030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_04_2635.jpg
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_07_2753.jpg
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_13_3658.jpg
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_16_2810.jpg
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_20_4302.jpg
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_23_3030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193085","1402193084","1402193051","1402193089","1402193083","1402193122"],"photo_ids_order":["1402193051","1402193083","1402193084","1402193085","1402193089","1402193122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3060542ec4c2a2e29fbd23bf96f8e1dd.jpg","text":"TemporaryFile(/tmp/multipartBody3768236274018375575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381464435,"filename":"image_05112025_21_38_16_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/2/b1163ce39dae80dbf1099cf8f14757f5.jpg","text":"TemporaryFile(/tmp/multipartBody5151155737205817402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381464435,"filename":"image_05112025_21_38_13_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/2/354524871d3f6af9ea66a87219bb1108.jpg","text":"TemporaryFile(/tmp/multipartBody565238049166461670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381464435,"filename":"image_05112025_21_38_04_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/2/e9f04f4dc29604c634f547d6bb82e4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7186960498763829396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381464435,"filename":"image_05112025_21_38_20_4302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8728bf9165c93e768221111f8c2b8e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4399573624813039829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381464435,"filename":"image_05112025_21_38_07_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/2/33bdf6ca2a3b1c74bdb46dbbe4b6fe6a.jpg","text":"TemporaryFile(/tmp/multipartBody3716397075538997241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381464435,"filename":"image_05112025_21_38_23_3030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193084","file1":"1402193083","file0":"1402193051","file4":"1402193089","file5":"1402193122","file3":"1402193085"},"map_files_photo_id_array":[{"photo_id":"1402193122","filename":"file5"},{"photo_id":"1402193084","filename":"file2"},{"photo_id":"1402193089","filename":"file4"},{"photo_id":"1402193083","filename":"file1"},{"photo_id":"1402193051","filename":"file0"},{"photo_id":"1402193085","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402193085":["hashtag1","hashtag2"]},{"1402193084":["hashtag1","hashtag2"]},{"1402193051":["hashtag1","hashtag2"]},{"1402193089":["hashtag1","hashtag2"]},{"1402193083":["hashtag1","hashtag2"]},{"1402193122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402193085, 1402193084, 1402193051, 1402193089, 1402193083, 1402193122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54028868675232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:17:22.690082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_44_7822.jpg', '/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_55_10763.jpg', '/home/pi/Desktop/images/02012026/19/47/image_02012026_19_48_05_9906.jpg', '/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_14_9702.jpg', '/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_26_11947.jpg', '/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_34_8072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_44_7822.jpg
/home/pi/Desktop/images/02012026/19/47/image_02012026_19_47_55_10763.jpg
/home/pi/Desktop/images/02012026/19/47/image_02012026_19_48_05_9906.jpg
/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_14_9702.jpg
/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_26_11947.jpg
/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_34_8072.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193151","1402193198","1402193153","1402193150","1402193219","1402193161"],"photo_ids_order":["1402193150","1402193151","1402193153","1402193161","1402193198","1402193219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/914c05de0acbc3b9eb7f3b28bd352187.jpg","text":"TemporaryFile(/tmp/multipartBody2161079324639209965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381503296,"filename":"image_02012026_19_47_55_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/2/90aa7d63de060b310b10ff52098b4552.jpg","text":"TemporaryFile(/tmp/multipartBody5314229533751695623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381503296,"filename":"image_02012026_19_48_26_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/2/ca75269c2786a658d946a4f5a220d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody4145248424435625389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381503296,"filename":"image_02012026_19_48_05_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/2/44dcdb0ae326017a1b4557386a1c8a78.jpg","text":"TemporaryFile(/tmp/multipartBody2125387979683661184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381503296,"filename":"image_02012026_19_47_44_7822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3dee85df98cb7da47bd85ce166b7ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8538247267736493250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381503296,"filename":"image_02012026_19_48_34_8072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0962e37ea8c47c92d54cbe0f4cd8d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7347449453547323388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381503296,"filename":"image_02012026_19_48_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193153","file1":"1402193151","file0":"1402193150","file4":"1402193198","file5":"1402193219","file3":"1402193161"},"map_files_photo_id_array":[{"photo_id":"1402193219","filename":"file5"},{"photo_id":"1402193153","filename":"file2"},{"photo_id":"1402193198","filename":"file4"},{"photo_id":"1402193151","filename":"file1"},{"photo_id":"1402193150","filename":"file0"},{"photo_id":"1402193161","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193151":["hashtag1","hashtag2"]},{"1402193198":["hashtag1","hashtag2"]},{"1402193153":["hashtag1","hashtag2"]},{"1402193150":["hashtag1","hashtag2"]},{"1402193219":["hashtag1","hashtag2"]},{"1402193161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193151, 1402193198, 1402193153, 1402193150, 1402193219, 1402193161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92253565788269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:18:02.410632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_45_10552.jpg', '/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_54_9317.jpg', '/home/pi/Desktop/images/02012026/19/48/image_02012026_19_49_04_9829.jpg', '/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_15_10704.jpg', '/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_24_9606.jpg', '/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_34_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_45_10552.jpg
/home/pi/Desktop/images/02012026/19/48/image_02012026_19_48_54_9317.jpg
/home/pi/Desktop/images/02012026/19/48/image_02012026_19_49_04_9829.jpg
/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_15_10704.jpg
/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_24_9606.jpg
/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_34_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":["1402193232","1402193226","1402193229","1402193234","1402193222","1402193224"],"photo_ids_order":["1402193222","1402193224","1402193226","1402193229","1402193232","1402193234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c4fc6851405c9c26b9cf07a96bd355d.jpg","text":"TemporaryFile(/tmp/multipartBody3710741180641768024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381543047,"filename":"image_02012026_19_49_24_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/2/ec3db91cefe8a3bda1f1710d274a4376.jpg","text":"TemporaryFile(/tmp/multipartBody7434755427302550650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381543047,"filename":"image_02012026_19_49_04_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/2/fb292e3a60730967df8e785cac37c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody6873520023771916693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381543047,"filename":"image_02012026_19_49_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/2/9c296a431fe99635c6e926ca42c6994e.jpg","text":"TemporaryFile(/tmp/multipartBody2237057282537126014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381543047,"filename":"image_02012026_19_49_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/2/bda6d221d7265b5d0934bb0a61b11eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3927554894667521317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381543047,"filename":"image_02012026_19_48_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/2/9b6a7fba23aa968eb6ebe6e7ef27ac34.jpg","text":"TemporaryFile(/tmp/multipartBody343023786486177504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381543047,"filename":"image_02012026_19_48_54_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193226","file1":"1402193224","file0":"1402193222","file4":"1402193232","file5":"1402193234","file3":"1402193229"},"map_files_photo_id_array":[{"photo_id":"1402193234","filename":"file5"},{"photo_id":"1402193226","filename":"file2"},{"photo_id":"1402193232","filename":"file4"},{"photo_id":"1402193224","filename":"file1"},{"photo_id":"1402193222","filename":"file0"},{"photo_id":"1402193229","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193232":["hashtag1","hashtag2"]},{"1402193226":["hashtag1","hashtag2"]},{"1402193229":["hashtag1","hashtag2"]},{"1402193234":["hashtag1","hashtag2"]},{"1402193222":["hashtag1","hashtag2"]},{"1402193224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193232, 1402193226, 1402193229, 1402193234, 1402193222, 1402193224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.313586950302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:18:42.027893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_25_1663.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_15_1760.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_16_1749.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_34_15407.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_35_1660.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_37_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/38/image_05112025_21_38_25_1663.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_15_1760.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_16_1749.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_34_15407.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_35_1660.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_37_1732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193250","1402193252","1402193255","1402193251","1402193254","1402193253"],"photo_ids_order":["1402193250","1402193251","1402193252","1402193253","1402193254","1402193255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/04d4a835ea9b014001ac10731b76b887.jpg","text":"TemporaryFile(/tmp/multipartBody7814188381222173399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381583858,"filename":"image_05112025_21_38_25_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/2/4fcb33549d11dae3240e147e97ce39f4.jpg","text":"TemporaryFile(/tmp/multipartBody4567823376474667367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381583858,"filename":"image_05112025_21_39_16_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/2/554a3417303b31ee631ffa130afde5ff.jpg","text":"TemporaryFile(/tmp/multipartBody7391851268897749801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381583858,"filename":"image_05112025_21_39_37_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/2/ba192ea22080291fbfa3380661184beb.jpg","text":"TemporaryFile(/tmp/multipartBody3729584936549776669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381583858,"filename":"image_05112025_21_39_15_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/2/66c4e783faa3f561356d065098f3b1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3783197645526882491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381583858,"filename":"image_05112025_21_39_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/2/01757936cb0b0df1a3cb26de0b2c7b08.jpg","text":"TemporaryFile(/tmp/multipartBody6385846895944545369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381583858,"filename":"image_05112025_21_39_34_15407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193252","file1":"1402193251","file0":"1402193250","file4":"1402193254","file5":"1402193255","file3":"1402193253"},"map_files_photo_id_array":[{"photo_id":"1402193255","filename":"file5"},{"photo_id":"1402193252","filename":"file2"},{"photo_id":"1402193254","filename":"file4"},{"photo_id":"1402193251","filename":"file1"},{"photo_id":"1402193250","filename":"file0"},{"photo_id":"1402193253","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402193250":["hashtag1","hashtag2"]},{"1402193252":["hashtag1","hashtag2"]},{"1402193255":["hashtag1","hashtag2"]},{"1402193251":["hashtag1","hashtag2"]},{"1402193254":["hashtag1","hashtag2"]},{"1402193253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402193250, 1402193252, 1402193255, 1402193251, 1402193254, 1402193253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.183850049972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:19:22.170155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_45_10621.jpg', '/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_54_9645.jpg', '/home/pi/Desktop/images/02012026/19/49/image_02012026_19_50_05_10611.jpg', '/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_15_9775.jpg', '/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_25_9858.jpg', '/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_45_10621.jpg
/home/pi/Desktop/images/02012026/19/49/image_02012026_19_49_54_9645.jpg
/home/pi/Desktop/images/02012026/19/49/image_02012026_19_50_05_10611.jpg
/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_15_9775.jpg
/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_25_9858.jpg
/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_34_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193339","1402193348","1402193342","1402193350","1402193344","1402193346"],"photo_ids_order":["1402193339","1402193342","1402193344","1402193346","1402193348","1402193350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80941b3356efdbbf6d4afb296a93a5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1241771062400198578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381622788,"filename":"image_02012026_19_49_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/2/628b0e6ccea5c645d0fba14f23bc4623.jpg","text":"TemporaryFile(/tmp/multipartBody6899258421681408536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381622788,"filename":"image_02012026_19_50_25_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/2/c1f5c8c348b68f539a80f8c22e115c56.jpg","text":"TemporaryFile(/tmp/multipartBody8924129293252842109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381622788,"filename":"image_02012026_19_49_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/2/a0ece4b8cca85f60cac856d33240bb83.jpg","text":"TemporaryFile(/tmp/multipartBody2370658080781123967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381622788,"filename":"image_02012026_19_50_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/2/6627e142b94732d642f17408c57b5d4a.jpg","text":"TemporaryFile(/tmp/multipartBody952358157945162619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381622788,"filename":"image_02012026_19_50_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/2/94fa5d15dd51746e753ade559a25fcd9.jpg","text":"TemporaryFile(/tmp/multipartBody8320509937342805150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381622788,"filename":"image_02012026_19_50_15_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193344","file1":"1402193342","file0":"1402193339","file4":"1402193348","file5":"1402193350","file3":"1402193346"},"map_files_photo_id_array":[{"photo_id":"1402193350","filename":"file5"},{"photo_id":"1402193344","filename":"file2"},{"photo_id":"1402193348","filename":"file4"},{"photo_id":"1402193342","filename":"file1"},{"photo_id":"1402193339","filename":"file0"},{"photo_id":"1402193346","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193339":["hashtag1","hashtag2"]},{"1402193348":["hashtag1","hashtag2"]},{"1402193342":["hashtag1","hashtag2"]},{"1402193350":["hashtag1","hashtag2"]},{"1402193344":["hashtag1","hashtag2"]},{"1402193346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193339, 1402193348, 1402193342, 1402193350, 1402193344, 1402193346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19197225570679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:20:02.837009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_45_10745.jpg', '/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_55_9646.jpg', '/home/pi/Desktop/images/02012026/19/50/image_02012026_19_51_04_9628.jpg', '/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_24_9687.jpg', '/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_34_9787.jpg', '/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_45_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_45_10745.jpg
/home/pi/Desktop/images/02012026/19/50/image_02012026_19_50_55_9646.jpg
/home/pi/Desktop/images/02012026/19/50/image_02012026_19_51_04_9628.jpg
/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_24_9687.jpg
/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_34_9787.jpg
/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_45_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193361","1402193354","1402193356","1402193365","1402193359","1402193352"],"photo_ids_order":["1402193352","1402193354","1402193356","1402193359","1402193361","1402193365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a4625598b0acda81ae6b3e65eedc12d.jpg","text":"TemporaryFile(/tmp/multipartBody7056185579746445744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381663426,"filename":"image_02012026_19_51_34_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/2/44fb4046e38eeaca68e9b6d9d7488150.jpg","text":"TemporaryFile(/tmp/multipartBody3665710787520471531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381663426,"filename":"image_02012026_19_50_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/2/76bbe05f6debf4839ae2b775036eefd9.jpg","text":"TemporaryFile(/tmp/multipartBody814025904030074335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381663426,"filename":"image_02012026_19_51_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/2/8962e714ff092a13377715ebbca12511.jpg","text":"TemporaryFile(/tmp/multipartBody2826583646620126903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381663426,"filename":"image_02012026_19_51_45_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/2/e5abcaac98b12a978c1ce1b6fb40ff29.jpg","text":"TemporaryFile(/tmp/multipartBody4187810277959636785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381663426,"filename":"image_02012026_19_51_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/2/4826837c42b5c37460f90c514bc3fcca.jpg","text":"TemporaryFile(/tmp/multipartBody6515780269750834952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381663426,"filename":"image_02012026_19_50_45_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193356","file1":"1402193354","file0":"1402193352","file4":"1402193361","file5":"1402193365","file3":"1402193359"},"map_files_photo_id_array":[{"photo_id":"1402193365","filename":"file5"},{"photo_id":"1402193356","filename":"file2"},{"photo_id":"1402193361","filename":"file4"},{"photo_id":"1402193354","filename":"file1"},{"photo_id":"1402193352","filename":"file0"},{"photo_id":"1402193359","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193361":["hashtag1","hashtag2"]},{"1402193354":["hashtag1","hashtag2"]},{"1402193356":["hashtag1","hashtag2"]},{"1402193365":["hashtag1","hashtag2"]},{"1402193359":["hashtag1","hashtag2"]},{"1402193352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193361, 1402193354, 1402193356, 1402193365, 1402193359, 1402193352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06038284301758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:20:42.385108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_45_1747.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_57_10021.jpg', '/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_59_1618.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_07_3019.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_10_3153.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_14_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_45_1747.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_57_10021.jpg
/home/pi/Desktop/images/05112025/21/39/image_05112025_21_39_59_1618.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_07_3019.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_10_3153.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_14_3541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193376","1402193390","1402193392","1402193389","1402193391","1402193385"],"photo_ids_order":["1402193376","1402193385","1402193389","1402193390","1402193391","1402193392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4382de71755f03265152834cb4215720.jpg","text":"TemporaryFile(/tmp/multipartBody8161326483178059909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381704219,"filename":"image_05112025_21_39_45_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/2/1b85868578622997c5f9b25e73b5bf59.jpg","text":"TemporaryFile(/tmp/multipartBody2995794995233821246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381704219,"filename":"image_05112025_21_43_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/2/7a064ce464fe24b2b69dd9b267edc214.jpg","text":"TemporaryFile(/tmp/multipartBody3060978943309619784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381704219,"filename":"image_05112025_21_43_14_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/2/9723363bc223293a625b674d91ee177a.jpg","text":"TemporaryFile(/tmp/multipartBody8483651337707465947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381704219,"filename":"image_05112025_21_39_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/2/3a349205c0477790a8ea017ed07ad323.jpg","text":"TemporaryFile(/tmp/multipartBody841328949010946782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381704219,"filename":"image_05112025_21_43_10_3153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3cc611eafcae60efee47a39ff1e76da9.jpg","text":"TemporaryFile(/tmp/multipartBody1446475330528627159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381704219,"filename":"image_05112025_21_39_57_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193389","file1":"1402193385","file0":"1402193376","file4":"1402193391","file5":"1402193392","file3":"1402193390"},"map_files_photo_id_array":[{"photo_id":"1402193392","filename":"file5"},{"photo_id":"1402193389","filename":"file2"},{"photo_id":"1402193391","filename":"file4"},{"photo_id":"1402193385","filename":"file1"},{"photo_id":"1402193376","filename":"file0"},{"photo_id":"1402193390","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402193376":["hashtag1","hashtag2"]},{"1402193390":["hashtag1","hashtag2"]},{"1402193392":["hashtag1","hashtag2"]},{"1402193389":["hashtag1","hashtag2"]},{"1402193391":["hashtag1","hashtag2"]},{"1402193385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402193376, 1402193390, 1402193392, 1402193389, 1402193391, 1402193385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11511540412903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:21:22.563957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_55_9652.jpg', '/home/pi/Desktop/images/02012026/19/51/image_02012026_19_52_04_9753.jpg', '/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_14_9785.jpg', '/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_25_10746.jpg', '/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_35_9941.jpg', '/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_44_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/51/image_02012026_19_51_55_9652.jpg
/home/pi/Desktop/images/02012026/19/51/image_02012026_19_52_04_9753.jpg
/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_14_9785.jpg
/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_25_10746.jpg
/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_35_9941.jpg
/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_44_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":["1402193406","1402193400","1402193408","1402193410","1402193404","1402193401"],"photo_ids_order":["1402193400","1402193401","1402193404","1402193406","1402193408","1402193410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4a54f2a69f9d4b77611c8bb14ba9869f.jpg","text":"TemporaryFile(/tmp/multipartBody4542543387929385196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381743141,"filename":"image_02012026_19_52_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/2/d7cdd1c9b1a6b6d0cd1fa80530bf4591.jpg","text":"TemporaryFile(/tmp/multipartBody4070650017001472786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381743141,"filename":"image_02012026_19_51_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/2/2c710cc25920fe041744b369cd38d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody3962885858628056839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381743141,"filename":"image_02012026_19_52_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/2/f288c06c80b06e6016059e2d4b511ded.jpg","text":"TemporaryFile(/tmp/multipartBody6390591250439191981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381743141,"filename":"image_02012026_19_52_44_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/2/20236c888295b3d6cc25cd7557b2fb30.jpg","text":"TemporaryFile(/tmp/multipartBody632625843466541568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381743141,"filename":"image_02012026_19_52_14_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/2/03a6dc4662e4ff7ec119654c28b84ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1317688709409341349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381743141,"filename":"image_02012026_19_52_04_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193404","file1":"1402193401","file0":"1402193400","file4":"1402193408","file5":"1402193410","file3":"1402193406"},"map_files_photo_id_array":[{"photo_id":"1402193410","filename":"file5"},{"photo_id":"1402193404","filename":"file2"},{"photo_id":"1402193408","filename":"file4"},{"photo_id":"1402193401","filename":"file1"},{"photo_id":"1402193400","filename":"file0"},{"photo_id":"1402193406","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193406":["hashtag1","hashtag2"]},{"1402193400":["hashtag1","hashtag2"]},{"1402193408":["hashtag1","hashtag2"]},{"1402193410":["hashtag1","hashtag2"]},{"1402193404":["hashtag1","hashtag2"]},{"1402193401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193406, 1402193400, 1402193408, 1402193410, 1402193404, 1402193401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.502676486968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:22:03.298324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_54_9700.jpg', '/home/pi/Desktop/images/02012026/19/52/image_02012026_19_53_05_10646.jpg', '/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_15_9721.jpg', '/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_24_9599.jpg', '/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_44_9647.jpg', '/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/52/image_02012026_19_52_54_9700.jpg
/home/pi/Desktop/images/02012026/19/52/image_02012026_19_53_05_10646.jpg
/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_15_9721.jpg
/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_24_9599.jpg
/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_44_9647.jpg
/home/pi/Desktop/images/02012026/19/53/image_02012026_19_53_55_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193418","1402193412","1402193420","1402193414","1402193423","1402193416"],"photo_ids_order":["1402193412","1402193414","1402193416","1402193418","1402193420","1402193423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e9205f0a2e6ea7db580b50800fa6037.jpg","text":"TemporaryFile(/tmp/multipartBody2154304449457569288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381783895,"filename":"image_02012026_19_53_24_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/2/28b5ab50d0cbf3425ca1979ce191baa8.jpg","text":"TemporaryFile(/tmp/multipartBody2054695690554937030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381783895,"filename":"image_02012026_19_52_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/2/32aa6944622ff73b5b23117d71d5d977.jpg","text":"TemporaryFile(/tmp/multipartBody7602101693120935103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381783895,"filename":"image_02012026_19_53_44_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/2/8493a6d8ba1278a8f027d4f79518be11.jpg","text":"TemporaryFile(/tmp/multipartBody1523263277683194856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381783895,"filename":"image_02012026_19_53_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/2/c06febae8eeb214ff5164c004ca08640.jpg","text":"TemporaryFile(/tmp/multipartBody6158552074699054679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381783895,"filename":"image_02012026_19_53_55_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/2/0db9d70be57a9f3b0f46cf681dcb6b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7283224700681049351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381783895,"filename":"image_02012026_19_53_15_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193416","file1":"1402193414","file0":"1402193412","file4":"1402193420","file5":"1402193423","file3":"1402193418"},"map_files_photo_id_array":[{"photo_id":"1402193423","filename":"file5"},{"photo_id":"1402193416","filename":"file2"},{"photo_id":"1402193420","filename":"file4"},{"photo_id":"1402193414","filename":"file1"},{"photo_id":"1402193412","filename":"file0"},{"photo_id":"1402193418","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193418":["hashtag1","hashtag2"]},{"1402193412":["hashtag1","hashtag2"]},{"1402193420":["hashtag1","hashtag2"]},{"1402193414":["hashtag1","hashtag2"]},{"1402193423":["hashtag1","hashtag2"]},{"1402193416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193418, 1402193412, 1402193420, 1402193414, 1402193423, 1402193416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30157232284546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:22:42.952003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_40_1695.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_41_1691.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_43_1615.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_47_3630.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_52_2740.jpg', '/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_55_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_40_1695.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_41_1691.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_43_1615.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_47_3630.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_52_2740.jpg
/home/pi/Desktop/images/05112025/21/43/image_05112025_21_43_55_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":["1402193514","1402193442","1402193435","1402193572","1402193551","1402193478"],"photo_ids_order":["1402193435","1402193442","1402193478","1402193514","1402193551","1402193572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c57b18843eb99173f2699ef6ccf3955c.jpg","text":"TemporaryFile(/tmp/multipartBody3628849049532442534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381824835,"filename":"image_05112025_21_43_47_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/2/e24ded65f92eb1fdb79055b033b50326.jpg","text":"TemporaryFile(/tmp/multipartBody8764745367241365018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381824835,"filename":"image_05112025_21_43_41_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/2/b39efabdabd055008321c0413ca74418.jpg","text":"TemporaryFile(/tmp/multipartBody3515903398687025443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381824835,"filename":"image_05112025_21_43_40_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/2/94d71b743a0660cee073ba747d58d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody110875196156612399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381824835,"filename":"image_05112025_21_43_55_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/2/3cc7af6d2e4b3c49ce89b1e595141141.jpg","text":"TemporaryFile(/tmp/multipartBody2302472562174796140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381824835,"filename":"image_05112025_21_43_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/2/e00391bff67d85a1da2d322fd2e2ae04.jpg","text":"TemporaryFile(/tmp/multipartBody2660170230272202214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381824835,"filename":"image_05112025_21_43_43_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193478","file1":"1402193442","file0":"1402193435","file4":"1402193551","file5":"1402193572","file3":"1402193514"},"map_files_photo_id_array":[{"photo_id":"1402193572","filename":"file5"},{"photo_id":"1402193478","filename":"file2"},{"photo_id":"1402193551","filename":"file4"},{"photo_id":"1402193442","filename":"file1"},{"photo_id":"1402193435","filename":"file0"},{"photo_id":"1402193514","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402193514":["hashtag1","hashtag2"]},{"1402193442":["hashtag1","hashtag2"]},{"1402193435":["hashtag1","hashtag2"]},{"1402193572":["hashtag1","hashtag2"]},{"1402193551":["hashtag1","hashtag2"]},{"1402193478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402193514, 1402193442, 1402193435, 1402193572, 1402193551, 1402193478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.491456747055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:23:22.118326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/53/image_02012026_19_54_05_9710.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_14_9727.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_24_9766.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_35_10663.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_44_9613.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_54_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/53/image_02012026_19_54_05_9710.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_14_9727.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_24_9766.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_35_10663.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_44_9613.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_54_9811.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4708530902862549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:23:32.119241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_02_2727.jpg', '/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_05_2766.jpg', '/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_07_2610.jpg', '/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_19_11235.jpg', '/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_07_3011.jpg', '/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_10_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_02_2727.jpg
/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_05_2766.jpg
/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_07_2610.jpg
/home/pi/Desktop/images/05112025/21/44/image_05112025_21_44_19_11235.jpg
/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_07_3011.jpg
/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_10_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193625","1402193628","1402193630","1402193618","1402193621","1402193629"],"photo_ids_order":["1402193618","1402193621","1402193625","1402193628","1402193629","1402193630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5faee8c2b3a064c2e8fa6ce5b188f4ca.jpg","text":"TemporaryFile(/tmp/multipartBody4881058304271136278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381873955,"filename":"image_05112025_21_44_07_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/2/cf7bfbba1e077b4417f2349b5e1c38c9.jpg","text":"TemporaryFile(/tmp/multipartBody6810256381690221278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381873955,"filename":"image_05112025_21_44_19_11235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38628cb900c09465d268f2f2043ea171.jpg","text":"TemporaryFile(/tmp/multipartBody4528877151712727216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381873955,"filename":"image_05112025_21_46_10_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ef66973aec179991064cd9d550de3105.jpg","text":"TemporaryFile(/tmp/multipartBody798946190244405321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381873955,"filename":"image_05112025_21_44_02_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c424553c36ec630459384bcf6889447b.jpg","text":"TemporaryFile(/tmp/multipartBody6963636915720943261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381873955,"filename":"image_05112025_21_44_05_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/2/81c7779a750b7d6d5db55a2e4f56bf4c.jpg","text":"TemporaryFile(/tmp/multipartBody1420234196464712448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381873955,"filename":"image_05112025_21_46_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193625","file1":"1402193621","file0":"1402193618","file4":"1402193629","file5":"1402193630","file3":"1402193628"},"map_files_photo_id_array":[{"photo_id":"1402193630","filename":"file5"},{"photo_id":"1402193625","filename":"file2"},{"photo_id":"1402193629","filename":"file4"},{"photo_id":"1402193621","filename":"file1"},{"photo_id":"1402193618","filename":"file0"},{"photo_id":"1402193628","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402193625":["hashtag1","hashtag2"]},{"1402193628":["hashtag1","hashtag2"]},{"1402193630":["hashtag1","hashtag2"]},{"1402193618":["hashtag1","hashtag2"]},{"1402193621":["hashtag1","hashtag2"]},{"1402193629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402193625, 1402193628, 1402193630, 1402193618, 1402193621, 1402193629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4587881565094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:24:12.290643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_13_2561.jpg', '/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_25_2649.jpg', '/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_28_3659.jpg', '/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_31_2701.jpg', '/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_16_1624.jpg', '/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_19_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_13_2561.jpg
/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_25_2649.jpg
/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_28_3659.jpg
/home/pi/Desktop/images/05112025/21/46/image_05112025_21_46_31_2701.jpg
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_16_1624.jpg
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_19_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":["1402193640","1402193634","1402193642","1402193636","1402193633","1402193638"],"photo_ids_order":["1402193633","1402193634","1402193636","1402193638","1402193640","1402193642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3458bc2d469443873448042f010f8ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8937641523779181168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381914013,"filename":"image_05112025_21_47_16_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/2/681ba96f5e68625ce677f9595e73f282.jpg","text":"TemporaryFile(/tmp/multipartBody966078721640843455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381914013,"filename":"image_05112025_21_46_25_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/2/585ce8e54d300090a8d46b6eb4ed10c1.jpg","text":"TemporaryFile(/tmp/multipartBody3454876805383126421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381914013,"filename":"image_05112025_21_47_19_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/2/1fd8a44801ca53ff6e7cca0ddfae13af.jpg","text":"TemporaryFile(/tmp/multipartBody6303094514023087906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381914013,"filename":"image_05112025_21_46_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/2/184a5f7cd2adb203283471f8478c6729.jpg","text":"TemporaryFile(/tmp/multipartBody2563524013336278927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381914013,"filename":"image_05112025_21_46_13_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/2/8e54763df0f83eb30911e9e402293e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8436185714555676785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381914013,"filename":"image_05112025_21_46_31_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193636","file1":"1402193634","file0":"1402193633","file4":"1402193640","file5":"1402193642","file3":"1402193638"},"map_files_photo_id_array":[{"photo_id":"1402193642","filename":"file5"},{"photo_id":"1402193636","filename":"file2"},{"photo_id":"1402193640","filename":"file4"},{"photo_id":"1402193634","filename":"file1"},{"photo_id":"1402193633","filename":"file0"},{"photo_id":"1402193638","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402193640":["hashtag1","hashtag2"]},{"1402193634":["hashtag1","hashtag2"]},{"1402193642":["hashtag1","hashtag2"]},{"1402193636":["hashtag1","hashtag2"]},{"1402193633":["hashtag1","hashtag2"]},{"1402193638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402193640, 1402193634, 1402193642, 1402193636, 1402193633, 1402193638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.485145568847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:25:03.094471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/53/image_02012026_19_54_05_9710.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_14_9727.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_24_9766.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_35_10663.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_44_9613.jpg', '/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_54_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/53/image_02012026_19_54_05_9710.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_14_9727.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_24_9766.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_35_10663.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_44_9613.jpg
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_54_54_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402193667","1402193660","1402193662","1402193670","1402193664","1402193658"],"photo_ids_order":["1402193658","1402193660","1402193662","1402193664","1402193667","1402193670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2e81bb45677325d2d0b7f2e43bb887f2.jpg","text":"TemporaryFile(/tmp/multipartBody6391003681658670024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381963748,"filename":"image_02012026_19_54_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/2/c62e6713a60320c2e5cf63117c2615dc.jpg","text":"TemporaryFile(/tmp/multipartBody6311629679994060010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381963748,"filename":"image_02012026_19_54_14_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/2/4acec0cf8362d1b28a0c05a715eb6459.jpg","text":"TemporaryFile(/tmp/multipartBody4708273664500347139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381963748,"filename":"image_02012026_19_54_24_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/2/a603d7c34cc182033c08382419554dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3803622600409414462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381963748,"filename":"image_02012026_19_54_54_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/2/4bdf1a58375db03d73009eb4c68478b6.jpg","text":"TemporaryFile(/tmp/multipartBody4296504898285950060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381963748,"filename":"image_02012026_19_54_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/2/3a2d71790c1c23b8e1648060f1114a02.jpg","text":"TemporaryFile(/tmp/multipartBody617543249853727886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767381963748,"filename":"image_02012026_19_54_05_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193662","file1":"1402193660","file0":"1402193658","file4":"1402193667","file5":"1402193670","file3":"1402193664"},"map_files_photo_id_array":[{"photo_id":"1402193670","filename":"file5"},{"photo_id":"1402193662","filename":"file2"},{"photo_id":"1402193667","filename":"file4"},{"photo_id":"1402193660","filename":"file1"},{"photo_id":"1402193658","filename":"file0"},{"photo_id":"1402193664","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193667":["hashtag1","hashtag2"]},{"1402193660":["hashtag1","hashtag2"]},{"1402193662":["hashtag1","hashtag2"]},{"1402193670":["hashtag1","hashtag2"]},{"1402193664":["hashtag1","hashtag2"]},{"1402193658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193667, 1402193660, 1402193662, 1402193670, 1402193664, 1402193658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.949049949645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:26:03.179514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/54/image_02012026_19_55_05_10678.jpg', '/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_15_9591.jpg', '/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_24_9808.jpg', '/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_35_10540.jpg', '/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_45_9885.jpg', '/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_55_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/54/image_02012026_19_55_05_10678.jpg
/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_15_9591.jpg
/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_24_9808.jpg
/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_35_10540.jpg
/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_45_9885.jpg
/home/pi/Desktop/images/02012026/19/55/image_02012026_19_55_55_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":["1402193735","1402193717","1402193726","1402193731","1402193728","1402193737"],"photo_ids_order":["1402193717","1402193726","1402193728","1402193731","1402193735","1402193737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/067746e252ece8b80bfdf5bf7949a46c.jpg","text":"TemporaryFile(/tmp/multipartBody6489273151073876234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382023789,"filename":"image_02012026_19_55_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/2/d0a04a6db20e28512479025effb9faa0.jpg","text":"TemporaryFile(/tmp/multipartBody1007141045131150652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382023789,"filename":"image_02012026_19_55_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/2/3672214a978cf2c244d1ab2470c91687.jpg","text":"TemporaryFile(/tmp/multipartBody3714065816352031831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382023789,"filename":"image_02012026_19_55_15_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/2/0c4cd850f3e2438f4676de6e1a9ffdc6.jpg","text":"TemporaryFile(/tmp/multipartBody652377811208710568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382023789,"filename":"image_02012026_19_55_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/2/32278a66f5abb29c541f65062f3653fa.jpg","text":"TemporaryFile(/tmp/multipartBody5437860746860673922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382023789,"filename":"image_02012026_19_55_24_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/2/64d5160ee22aae8c2dd9f8a8ac0b4c75.jpg","text":"TemporaryFile(/tmp/multipartBody7967082436439017455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382023789,"filename":"image_02012026_19_55_55_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193728","file1":"1402193726","file0":"1402193717","file4":"1402193735","file5":"1402193737","file3":"1402193731"},"map_files_photo_id_array":[{"photo_id":"1402193737","filename":"file5"},{"photo_id":"1402193728","filename":"file2"},{"photo_id":"1402193735","filename":"file4"},{"photo_id":"1402193726","filename":"file1"},{"photo_id":"1402193717","filename":"file0"},{"photo_id":"1402193731","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402193735":["hashtag1","hashtag2"]},{"1402193717":["hashtag1","hashtag2"]},{"1402193726":["hashtag1","hashtag2"]},{"1402193731":["hashtag1","hashtag2"]},{"1402193728":["hashtag1","hashtag2"]},{"1402193737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402193735, 1402193717, 1402193726, 1402193731, 1402193728, 1402193737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.781694173812866 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-02 20:27:02.497261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/55/image_02012026_19_56_04_9741.jpg', '/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_25_9685.jpg', '/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_34_9779.jpg', '/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_44_9618.jpg', '/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_55_10613.jpg', '/home/pi/Desktop/images/02012026/19/56/image_02012026_19_57_04_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/55/image_02012026_19_56_04_9741.jpg
/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_25_9685.jpg
/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_34_9779.jpg
/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_44_9618.jpg
/home/pi/Desktop/images/02012026/19/56/image_02012026_19_56_55_10613.jpg
/home/pi/Desktop/images/02012026/19/56/image_02012026_19_57_04_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194023","1402193936","1402194037","1402194052","1402193977","1402193955"],"photo_ids_order":["1402193936","1402193955","1402193977","1402194023","1402194037","1402194052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/61155daf5cdde4b5dc7989a88c735ced.jpg","text":"TemporaryFile(/tmp/multipartBody8204723014509316794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382083168,"filename":"image_02012026_19_56_44_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/2/95620bdef6c0a0c49a44b73d818ffd35.jpg","text":"TemporaryFile(/tmp/multipartBody7916727000920805228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382083168,"filename":"image_02012026_19_56_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/2/566df4ba73e440423fa72cf67d0f616a.jpg","text":"TemporaryFile(/tmp/multipartBody194255167662297292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382083168,"filename":"image_02012026_19_56_55_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/2/57e53925e324eb034280c7f49daf876f.jpg","text":"TemporaryFile(/tmp/multipartBody7992886592862572581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382083168,"filename":"image_02012026_19_57_04_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/2/20adae8ddedcaaa2153096dbfa830261.jpg","text":"TemporaryFile(/tmp/multipartBody3049181944080623787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382083168,"filename":"image_02012026_19_56_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/2/fc573eb481999adb2ac685966733d3e1.jpg","text":"TemporaryFile(/tmp/multipartBody916650654699891675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382083168,"filename":"image_02012026_19_56_25_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402193977","file1":"1402193955","file0":"1402193936","file4":"1402194037","file5":"1402194052","file3":"1402194023"},"map_files_photo_id_array":[{"photo_id":"1402194052","filename":"file5"},{"photo_id":"1402193977","filename":"file2"},{"photo_id":"1402194037","filename":"file4"},{"photo_id":"1402193955","filename":"file1"},{"photo_id":"1402193936","filename":"file0"},{"photo_id":"1402194023","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194023":["hashtag1","hashtag2"]},{"1402193936":["hashtag1","hashtag2"]},{"1402194037":["hashtag1","hashtag2"]},{"1402194052":["hashtag1","hashtag2"]},{"1402193977":["hashtag1","hashtag2"]},{"1402193955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194023, 1402193936, 1402194037, 1402194052, 1402193977, 1402193955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15872406959534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:27:41.918036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_25_4237.jpg', '/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_43_1671.jpg', '/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_44_1527.jpg', '/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_46_1638.jpg', '/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_47_1557.jpg', '/home/pi/Desktop/images/05112025/21/48/image_05112025_21_48_15_25452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_25_4237.jpg
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_43_1671.jpg
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_44_1527.jpg
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_46_1638.jpg
/home/pi/Desktop/images/05112025/21/47/image_05112025_21_47_47_1557.jpg
/home/pi/Desktop/images/05112025/21/48/image_05112025_21_48_15_25452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194119","1402194110","1402194121","1402194150","1402194180","1402194120"],"photo_ids_order":["1402194110","1402194119","1402194120","1402194121","1402194150","1402194180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3867a3be52c4d4099c99dc4a35aa43bb.jpg","text":"TemporaryFile(/tmp/multipartBody619936445909347416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382123776,"filename":"image_05112025_21_47_43_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/2/fae6df9d7bd7616762b7f10f99bbd5c5.jpg","text":"TemporaryFile(/tmp/multipartBody7337132240492072955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382123776,"filename":"image_05112025_21_47_25_4237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/60067528d025cef39059eb64ce1ba8d4.jpg","text":"TemporaryFile(/tmp/multipartBody2891586143898586718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382123776,"filename":"image_05112025_21_47_46_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/2/b8adf99e61963b821f351344627b45a7.jpg","text":"TemporaryFile(/tmp/multipartBody969922356854413417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382123776,"filename":"image_05112025_21_47_47_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/2/1831e20f82adede2cfb954973e3eed2e.jpg","text":"TemporaryFile(/tmp/multipartBody2511282327525897642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382123776,"filename":"image_05112025_21_48_15_25452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/875f9859ad81e51c5e4b1767c039eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody139842854898414660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382123776,"filename":"image_05112025_21_47_44_1527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194120","file1":"1402194119","file0":"1402194110","file4":"1402194150","file5":"1402194180","file3":"1402194121"},"map_files_photo_id_array":[{"photo_id":"1402194180","filename":"file5"},{"photo_id":"1402194120","filename":"file2"},{"photo_id":"1402194150","filename":"file4"},{"photo_id":"1402194119","filename":"file1"},{"photo_id":"1402194110","filename":"file0"},{"photo_id":"1402194121","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194119":["hashtag1","hashtag2"]},{"1402194110":["hashtag1","hashtag2"]},{"1402194121":["hashtag1","hashtag2"]},{"1402194150":["hashtag1","hashtag2"]},{"1402194180":["hashtag1","hashtag2"]},{"1402194120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194119, 1402194110, 1402194121, 1402194150, 1402194180, 1402194120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85246801376343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:28:22.148498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_15_10583.jpg', '/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_25_9846.jpg', '/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_35_9831.jpg', '/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_44_9596.jpg', '/home/pi/Desktop/images/02012026/19/57/image_02012026_19_58_05_9671.jpg', '/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_15_10583.jpg
/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_25_9846.jpg
/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_35_9831.jpg
/home/pi/Desktop/images/02012026/19/57/image_02012026_19_57_44_9596.jpg
/home/pi/Desktop/images/02012026/19/57/image_02012026_19_58_05_9671.jpg
/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194260","1402194254","1402194253","1402194256","1402194250","1402194258"],"photo_ids_order":["1402194250","1402194253","1402194254","1402194256","1402194258","1402194260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3eb6c71b601f7cbdab6633c6dd893051.jpg","text":"TemporaryFile(/tmp/multipartBody7793234544331914358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382162982,"filename":"image_02012026_19_58_14_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/2/3dfc629a287ee322f802539c46770bff.jpg","text":"TemporaryFile(/tmp/multipartBody4493569625989816311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382162982,"filename":"image_02012026_19_57_35_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/2/aacd6bbbe99eb52620336bbdf68aa7a1.jpg","text":"TemporaryFile(/tmp/multipartBody5957097178167272516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382162982,"filename":"image_02012026_19_57_25_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/2/0f2c0a4acbb2c7ff792d8c571bf01371.jpg","text":"TemporaryFile(/tmp/multipartBody2443845245972594227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382162982,"filename":"image_02012026_19_57_44_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/2/4de05fe303c08ed173987cde7be47479.jpg","text":"TemporaryFile(/tmp/multipartBody1139450728895554442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382162982,"filename":"image_02012026_19_57_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/2/e0a0974a9e5bc2539ae1820b39e009c3.jpg","text":"TemporaryFile(/tmp/multipartBody203034423454189962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382162982,"filename":"image_02012026_19_58_05_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194254","file1":"1402194253","file0":"1402194250","file4":"1402194258","file5":"1402194260","file3":"1402194256"},"map_files_photo_id_array":[{"photo_id":"1402194260","filename":"file5"},{"photo_id":"1402194254","filename":"file2"},{"photo_id":"1402194258","filename":"file4"},{"photo_id":"1402194253","filename":"file1"},{"photo_id":"1402194250","filename":"file0"},{"photo_id":"1402194256","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194260":["hashtag1","hashtag2"]},{"1402194254":["hashtag1","hashtag2"]},{"1402194253":["hashtag1","hashtag2"]},{"1402194256":["hashtag1","hashtag2"]},{"1402194250":["hashtag1","hashtag2"]},{"1402194258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194260, 1402194254, 1402194253, 1402194256, 1402194250, 1402194258)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.77083897590637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:29:12.221839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_07_3013.jpg', '/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_23_2634.jpg', '/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_25_2715.jpg', '/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_38_9029.jpg', '/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_42_1790.jpg', '/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_55_9993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_07_3013.jpg
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_23_2634.jpg
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_25_2715.jpg
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_38_9029.jpg
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_42_1790.jpg
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_55_9993.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194283","1402194292","1402194295","1402194297","1402194285","1402194288"],"photo_ids_order":["1402194283","1402194285","1402194288","1402194292","1402194295","1402194297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b04be08e292e7be9b5cefcc17a5617b2.jpg","text":"TemporaryFile(/tmp/multipartBody3331671695578433134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382213979,"filename":"image_05112025_21_50_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/2/0e826d40026e4fee2cd2adfa8d67dd96.jpg","text":"TemporaryFile(/tmp/multipartBody8316560581940218749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382213979,"filename":"image_05112025_21_50_38_9029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/428b39ab39d380ea693609a2948cd307.jpg","text":"TemporaryFile(/tmp/multipartBody4379938076728155495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382213979,"filename":"image_05112025_21_50_42_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/2/ac289c7c91f09b55c67baa4f9a948ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1408171603027903282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382213979,"filename":"image_05112025_21_50_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/2/c5f357c0b56c17cbe577ab9085fac97c.jpg","text":"TemporaryFile(/tmp/multipartBody8766028511494414369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382213979,"filename":"image_05112025_21_50_23_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/2/1aa25e8e27d14db8dec2ec855a4d3723.jpg","text":"TemporaryFile(/tmp/multipartBody5566951473300560676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382213979,"filename":"image_05112025_21_50_25_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194288","file1":"1402194285","file0":"1402194283","file4":"1402194295","file5":"1402194297","file3":"1402194292"},"map_files_photo_id_array":[{"photo_id":"1402194297","filename":"file5"},{"photo_id":"1402194288","filename":"file2"},{"photo_id":"1402194295","filename":"file4"},{"photo_id":"1402194285","filename":"file1"},{"photo_id":"1402194283","filename":"file0"},{"photo_id":"1402194292","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194283":["hashtag1","hashtag2"]},{"1402194292":["hashtag1","hashtag2"]},{"1402194295":["hashtag1","hashtag2"]},{"1402194297":["hashtag1","hashtag2"]},{"1402194285":["hashtag1","hashtag2"]},{"1402194288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194283, 1402194292, 1402194295, 1402194297, 1402194285, 1402194288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.001153230667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:30:02.863282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_25_10745.jpg', '/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_35_9628.jpg', '/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_44_9587.jpg', '/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_55_10660.jpg', '/home/pi/Desktop/images/02012026/19/58/image_02012026_19_59_05_9873.jpg', '/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_14_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_25_10745.jpg
/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_35_9628.jpg
/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_44_9587.jpg
/home/pi/Desktop/images/02012026/19/58/image_02012026_19_58_55_10660.jpg
/home/pi/Desktop/images/02012026/19/58/image_02012026_19_59_05_9873.jpg
/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_14_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":["1402194323","1402194332","1402194326","1402194305","1402194329","1402194316"],"photo_ids_order":["1402194305","1402194316","1402194323","1402194326","1402194329","1402194332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/19019e194c1b456aec2894fbcc6c8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3718881420292627210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382263493,"filename":"image_02012026_19_58_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/2/358b2a917a9372c72870e8644e3916d8.jpg","text":"TemporaryFile(/tmp/multipartBody7491892686174437032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382263493,"filename":"image_02012026_19_59_14_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/2/ca2c1f82a39fa8d4b66966817164411a.jpg","text":"TemporaryFile(/tmp/multipartBody210237801197742986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382263493,"filename":"image_02012026_19_58_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/2/c1a907238844a79eb0c6eddd1bd58201.jpg","text":"TemporaryFile(/tmp/multipartBody4968694287817645246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382263493,"filename":"image_02012026_19_58_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/2/d523c069ff417f3b0f19360c63a3c2be.jpg","text":"TemporaryFile(/tmp/multipartBody8482021025992367514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382263493,"filename":"image_02012026_19_59_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/2/ce9e85768842f2879fb154e5dd24cf87.jpg","text":"TemporaryFile(/tmp/multipartBody4743628293225392428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382263493,"filename":"image_02012026_19_58_35_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194323","file1":"1402194316","file0":"1402194305","file4":"1402194329","file5":"1402194332","file3":"1402194326"},"map_files_photo_id_array":[{"photo_id":"1402194332","filename":"file5"},{"photo_id":"1402194323","filename":"file2"},{"photo_id":"1402194329","filename":"file4"},{"photo_id":"1402194316","filename":"file1"},{"photo_id":"1402194305","filename":"file0"},{"photo_id":"1402194326","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194323":["hashtag1","hashtag2"]},{"1402194332":["hashtag1","hashtag2"]},{"1402194326":["hashtag1","hashtag2"]},{"1402194305":["hashtag1","hashtag2"]},{"1402194329":["hashtag1","hashtag2"]},{"1402194316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194323, 1402194332, 1402194326, 1402194305, 1402194329, 1402194316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11752414703369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:30:42.323802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_56_1627.jpg', '/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_08_2705.jpg', '/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_17_2793.jpg', '/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_26_8891.jpg', '/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_39_1727.jpg', '/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/50/image_05112025_21_50_56_1627.jpg
/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_08_2705.jpg
/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_17_2793.jpg
/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_26_8891.jpg
/home/pi/Desktop/images/05112025/21/51/image_05112025_21_51_39_1727.jpg
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_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":["1402194341","1402194344","1402194347","1402194340","1402194343","1402194342"],"photo_ids_order":["1402194340","1402194341","1402194342","1402194343","1402194344","1402194347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c91829af6a431b4ba97822297a5961d.jpg","text":"TemporaryFile(/tmp/multipartBody705514677675255059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382308523,"filename":"image_05112025_21_51_08_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/2/ba66258b1b75f03d7ee6b51024d1b890.jpg","text":"TemporaryFile(/tmp/multipartBody734712919196942224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382308523,"filename":"image_05112025_21_51_39_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/2/173c0ffaeb446a878fd68e5e27117787.jpg","text":"TemporaryFile(/tmp/multipartBody8441329119543912033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382308523,"filename":"image_05112025_21_53_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/2/51faa93c8c854377b26fa423ad3a93ae.jpg","text":"TemporaryFile(/tmp/multipartBody4667944523293821479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382308523,"filename":"image_05112025_21_50_56_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/2/38205beb56028678a1731efb6f827a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2161912705691355397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382308523,"filename":"image_05112025_21_51_26_8891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7d13f87e1bd39452dd78b7ea9650e028.jpg","text":"TemporaryFile(/tmp/multipartBody2813993710710557022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382308523,"filename":"image_05112025_21_51_17_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194342","file1":"1402194341","file0":"1402194340","file4":"1402194344","file5":"1402194347","file3":"1402194343"},"map_files_photo_id_array":[{"photo_id":"1402194347","filename":"file5"},{"photo_id":"1402194342","filename":"file2"},{"photo_id":"1402194344","filename":"file4"},{"photo_id":"1402194341","filename":"file1"},{"photo_id":"1402194340","filename":"file0"},{"photo_id":"1402194343","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194341":["hashtag1","hashtag2"]},{"1402194344":["hashtag1","hashtag2"]},{"1402194347":["hashtag1","hashtag2"]},{"1402194340":["hashtag1","hashtag2"]},{"1402194343":["hashtag1","hashtag2"]},{"1402194342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194341, 1402194344, 1402194347, 1402194340, 1402194343, 1402194342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.429786920547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:31:32.594304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_20_3642.jpg', '/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_22_2705.jpg', '/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_45_22268.jpg', '/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_46_1689.jpg', '/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_48_1649.jpg', '/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_52_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_20_3642.jpg
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_22_2705.jpg
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_45_22268.jpg
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_46_1689.jpg
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_48_1649.jpg
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_53_52_1789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194362","1402194356","1402194361","1402194358","1402194363","1402194354"],"photo_ids_order":["1402194354","1402194356","1402194358","1402194361","1402194362","1402194363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5f0bbeca499c7cde8f6582a47f1f93ba.jpg","text":"TemporaryFile(/tmp/multipartBody264010025114709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382354503,"filename":"image_05112025_21_53_48_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/2/fd50770422aec65ac325fb8548f24903.jpg","text":"TemporaryFile(/tmp/multipartBody1922018629460300467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382354503,"filename":"image_05112025_21_53_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/2/5a57ca6c632678578a3a5a6e43273d87.jpg","text":"TemporaryFile(/tmp/multipartBody1960425702837666480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382354503,"filename":"image_05112025_21_53_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/2/56d2dc5868592c275a9bb1edd20e6d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1797048587180034372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382354503,"filename":"image_05112025_21_53_45_22268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/206077b9ba430505c59163f28ac7ef5d.jpg","text":"TemporaryFile(/tmp/multipartBody902776607099699058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382354503,"filename":"image_05112025_21_53_52_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/2/d4bdb4ae43ab03c0a96433456b943a38.jpg","text":"TemporaryFile(/tmp/multipartBody2290109312083089340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382354503,"filename":"image_05112025_21_53_20_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194358","file1":"1402194356","file0":"1402194354","file4":"1402194362","file5":"1402194363","file3":"1402194361"},"map_files_photo_id_array":[{"photo_id":"1402194363","filename":"file5"},{"photo_id":"1402194358","filename":"file2"},{"photo_id":"1402194362","filename":"file4"},{"photo_id":"1402194356","filename":"file1"},{"photo_id":"1402194354","filename":"file0"},{"photo_id":"1402194361","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194362":["hashtag1","hashtag2"]},{"1402194356":["hashtag1","hashtag2"]},{"1402194361":["hashtag1","hashtag2"]},{"1402194358":["hashtag1","hashtag2"]},{"1402194363":["hashtag1","hashtag2"]},{"1402194354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194362, 1402194356, 1402194361, 1402194358, 1402194363, 1402194354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.109699726104736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:32:12.411254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/53/image_05112025_21_54_00_1765.jpg', '/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_05_1565.jpg', '/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_07_1731.jpg', '/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_13_2776.jpg', '/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_21_7453.jpg', '/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_41_16952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/53/image_05112025_21_54_00_1765.jpg
/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_05_1565.jpg
/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_07_1731.jpg
/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_13_2776.jpg
/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_21_7453.jpg
/home/pi/Desktop/images/05112025/21/54/image_05112025_21_54_41_16952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194379","1402194399","1402194384","1402194372","1402194366","1402194369"],"photo_ids_order":["1402194366","1402194369","1402194372","1402194379","1402194384","1402194399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37363fb919f013a41f5489abdae87b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6174745629548078466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382394148,"filename":"image_05112025_21_54_13_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/2/ee519029f2b58a8c8091576bda3dc51d.jpg","text":"TemporaryFile(/tmp/multipartBody4298268873710342019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382394148,"filename":"image_05112025_21_54_41_16952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e0bd10623902f7ae8ed8e38797b19c6.jpg","text":"TemporaryFile(/tmp/multipartBody5278267237046177135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382394148,"filename":"image_05112025_21_54_21_7453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/16f5cb31eee552d509265776aa569066.jpg","text":"TemporaryFile(/tmp/multipartBody4422660460577604743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382394148,"filename":"image_05112025_21_54_07_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/2/57a52dbe4638d920c811a86cc9d7d9f6.jpg","text":"TemporaryFile(/tmp/multipartBody3473802406637879204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382394148,"filename":"image_05112025_21_54_00_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/2/41fa19b07c2d817b969a029a8c92e694.jpg","text":"TemporaryFile(/tmp/multipartBody7834293951713181760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382394148,"filename":"image_05112025_21_54_05_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194372","file1":"1402194369","file0":"1402194366","file4":"1402194384","file5":"1402194399","file3":"1402194379"},"map_files_photo_id_array":[{"photo_id":"1402194399","filename":"file5"},{"photo_id":"1402194372","filename":"file2"},{"photo_id":"1402194384","filename":"file4"},{"photo_id":"1402194369","filename":"file1"},{"photo_id":"1402194366","filename":"file0"},{"photo_id":"1402194379","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194379":["hashtag1","hashtag2"]},{"1402194399":["hashtag1","hashtag2"]},{"1402194384":["hashtag1","hashtag2"]},{"1402194372":["hashtag1","hashtag2"]},{"1402194366":["hashtag1","hashtag2"]},{"1402194369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194379, 1402194399, 1402194384, 1402194372, 1402194366, 1402194369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43319845199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:33:03.227729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_24_9714.jpg', '/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_35_10800.jpg', '/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_44_9564.jpg', '/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_54_9736.jpg', '/home/pi/Desktop/images/02012026/19/59/image_02012026_20_00_05_10660.jpg', '/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_15_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_24_9714.jpg
/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_35_10800.jpg
/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_44_9564.jpg
/home/pi/Desktop/images/02012026/19/59/image_02012026_19_59_54_9736.jpg
/home/pi/Desktop/images/02012026/19/59/image_02012026_20_00_05_10660.jpg
/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_15_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194422","1402194415","1402194424","1402194418","1402194426","1402194420"],"photo_ids_order":["1402194415","1402194418","1402194420","1402194422","1402194424","1402194426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6019e430c3a838574d018b6e11c0f789.jpg","text":"TemporaryFile(/tmp/multipartBody5798262708702434896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382443850,"filename":"image_02012026_19_59_54_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/2/0a07fe321ea7147d48c0bde0155abe61.jpg","text":"TemporaryFile(/tmp/multipartBody8102812440221891126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382443850,"filename":"image_02012026_19_59_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/2/c48a2b36cabcd60e789f67e3796092c0.jpg","text":"TemporaryFile(/tmp/multipartBody6709007820787923689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382443850,"filename":"image_02012026_20_00_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/2/0a24ec7ed9177f13074edecb923948e6.jpg","text":"TemporaryFile(/tmp/multipartBody1357424744840620902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382443850,"filename":"image_02012026_19_59_35_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/2/c9caaca0278194dacc085f2f51264afb.jpg","text":"TemporaryFile(/tmp/multipartBody2688006808201511771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382443850,"filename":"image_02012026_20_00_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/2/edb02164b90ae4149ca05827e2f21325.jpg","text":"TemporaryFile(/tmp/multipartBody129522055422785136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382443850,"filename":"image_02012026_19_59_44_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194420","file1":"1402194418","file0":"1402194415","file4":"1402194424","file5":"1402194426","file3":"1402194422"},"map_files_photo_id_array":[{"photo_id":"1402194426","filename":"file5"},{"photo_id":"1402194420","filename":"file2"},{"photo_id":"1402194424","filename":"file4"},{"photo_id":"1402194418","filename":"file1"},{"photo_id":"1402194415","filename":"file0"},{"photo_id":"1402194422","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194422":["hashtag1","hashtag2"]},{"1402194415":["hashtag1","hashtag2"]},{"1402194424":["hashtag1","hashtag2"]},{"1402194418":["hashtag1","hashtag2"]},{"1402194426":["hashtag1","hashtag2"]},{"1402194420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194422, 1402194415, 1402194424, 1402194418, 1402194426, 1402194420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87074375152588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:33:42.713705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_07_3012.jpg', '/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_16_2732.jpg', '/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_32_15532.jpg', '/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_37_1726.jpg', '/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_42_1754.jpg', '/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_45_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_07_3012.jpg
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_16_2732.jpg
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_32_15532.jpg
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_37_1726.jpg
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_42_1754.jpg
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_45_1633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194434","1402194431","1402194433","1402194436","1402194438","1402194435"],"photo_ids_order":["1402194431","1402194433","1402194434","1402194435","1402194436","1402194438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f64035b1601359f28dd45543bdcc9c5.jpg","text":"TemporaryFile(/tmp/multipartBody6401012443956984035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382484617,"filename":"image_05112025_21_57_32_15532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/007b657ecc69299916dba4cb0042adfa.jpg","text":"TemporaryFile(/tmp/multipartBody3329609080608650028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382484617,"filename":"image_05112025_21_57_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/2/b1c462709d4b112d84f362e5f6b1cd32.jpg","text":"TemporaryFile(/tmp/multipartBody3500343037527630121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382484617,"filename":"image_05112025_21_57_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/2/a33eb7c9a3f786cfa149520ec25620fd.jpg","text":"TemporaryFile(/tmp/multipartBody8359045289733035417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382484617,"filename":"image_05112025_21_57_42_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/2/80186afd21af214080f26d649d15f47f.jpg","text":"TemporaryFile(/tmp/multipartBody5940215831754995875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382484617,"filename":"image_05112025_21_57_45_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/2/f9a8270f30dc73014705d3049e6a6615.jpg","text":"TemporaryFile(/tmp/multipartBody3497384672519786331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382484617,"filename":"image_05112025_21_57_37_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194434","file1":"1402194433","file0":"1402194431","file4":"1402194436","file5":"1402194438","file3":"1402194435"},"map_files_photo_id_array":[{"photo_id":"1402194438","filename":"file5"},{"photo_id":"1402194434","filename":"file2"},{"photo_id":"1402194436","filename":"file4"},{"photo_id":"1402194433","filename":"file1"},{"photo_id":"1402194431","filename":"file0"},{"photo_id":"1402194435","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194434":["hashtag1","hashtag2"]},{"1402194431":["hashtag1","hashtag2"]},{"1402194433":["hashtag1","hashtag2"]},{"1402194436":["hashtag1","hashtag2"]},{"1402194438":["hashtag1","hashtag2"]},{"1402194435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194434, 1402194431, 1402194433, 1402194436, 1402194438, 1402194435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.832584619522095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:34:21.872917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_25_10031.jpg', '/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_34_9648.jpg', '/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_45_10717.jpg', '/home/pi/Desktop/images/02012026/20/00/image_02012026_20_01_04_9700.jpg', '/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_14_9741.jpg', '/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_25_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_25_10031.jpg
/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_34_9648.jpg
/home/pi/Desktop/images/02012026/20/00/image_02012026_20_00_45_10717.jpg
/home/pi/Desktop/images/02012026/20/00/image_02012026_20_01_04_9700.jpg
/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_14_9741.jpg
/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_25_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194461","1402194449","1402194443","1402194445","1402194447","1402194441"],"photo_ids_order":["1402194441","1402194443","1402194445","1402194447","1402194449","1402194461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4a607f8733289f015f81f06a62665113.jpg","text":"TemporaryFile(/tmp/multipartBody7929624181486303846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382522480,"filename":"image_02012026_20_01_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/2/c229820469238fa6028439ab4266dd21.jpg","text":"TemporaryFile(/tmp/multipartBody9133696135410751489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382522480,"filename":"image_02012026_20_01_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/2/a4b4716de62e583debbc43182422b9a3.jpg","text":"TemporaryFile(/tmp/multipartBody1360560345359104912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382522480,"filename":"image_02012026_20_00_34_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/2/0a101336b4bcb1e4bdbe2b85ca6aa8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8399320270365348325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382522480,"filename":"image_02012026_20_00_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/2/7028dd2cb8f49962084da0f9765f2893.jpg","text":"TemporaryFile(/tmp/multipartBody5629184099512831732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382522480,"filename":"image_02012026_20_01_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/2/c08d90599ca219e49ce73e2aca9d5cef.jpg","text":"TemporaryFile(/tmp/multipartBody7092765208318062844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382522480,"filename":"image_02012026_20_00_25_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194445","file1":"1402194443","file0":"1402194441","file4":"1402194449","file5":"1402194461","file3":"1402194447"},"map_files_photo_id_array":[{"photo_id":"1402194461","filename":"file5"},{"photo_id":"1402194445","filename":"file2"},{"photo_id":"1402194449","filename":"file4"},{"photo_id":"1402194443","filename":"file1"},{"photo_id":"1402194441","filename":"file0"},{"photo_id":"1402194447","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194461":["hashtag1","hashtag2"]},{"1402194449":["hashtag1","hashtag2"]},{"1402194443":["hashtag1","hashtag2"]},{"1402194445":["hashtag1","hashtag2"]},{"1402194447":["hashtag1","hashtag2"]},{"1402194441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194461, 1402194449, 1402194443, 1402194445, 1402194447, 1402194441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29792380332947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:35:02.707374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_44_9810.jpg', '/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_55_10690.jpg', '/home/pi/Desktop/images/02012026/20/01/image_02012026_20_02_05_9748.jpg', '/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_14_9596.jpg', '/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_24_9863.jpg', '/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_44_9810.jpg
/home/pi/Desktop/images/02012026/20/01/image_02012026_20_01_55_10690.jpg
/home/pi/Desktop/images/02012026/20/01/image_02012026_20_02_05_9748.jpg
/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_14_9596.jpg
/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_24_9863.jpg
/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_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":["1402194491","1402194479","1402194473","1402194476","1402194469","1402194471"],"photo_ids_order":["1402194469","1402194471","1402194473","1402194476","1402194479","1402194491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46a885efd016f28c6561f98dee4d63c5.jpg","text":"TemporaryFile(/tmp/multipartBody7065365543968022224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382563376,"filename":"image_02012026_20_02_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1479d94e44bcc93a8676456c1ba81ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5643231405159657086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382563376,"filename":"image_02012026_20_02_24_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/2/c952330bb54d8473394d0e9c9e89f557.jpg","text":"TemporaryFile(/tmp/multipartBody6533587855688124834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382563376,"filename":"image_02012026_20_02_05_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/2/9b443585834a753b869c59dba164e6bf.jpg","text":"TemporaryFile(/tmp/multipartBody4846516396450836760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382563376,"filename":"image_02012026_20_02_14_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/2/4b19e222c6c70296d68fd1fccc59e083.jpg","text":"TemporaryFile(/tmp/multipartBody3560968137805128374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382563376,"filename":"image_02012026_20_01_44_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/2/3af0fe3df8cf6505c46ca032f577ea39.jpg","text":"TemporaryFile(/tmp/multipartBody8347661115840910558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382563376,"filename":"image_02012026_20_01_55_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194473","file1":"1402194471","file0":"1402194469","file4":"1402194479","file5":"1402194491","file3":"1402194476"},"map_files_photo_id_array":[{"photo_id":"1402194491","filename":"file5"},{"photo_id":"1402194473","filename":"file2"},{"photo_id":"1402194479","filename":"file4"},{"photo_id":"1402194471","filename":"file1"},{"photo_id":"1402194469","filename":"file0"},{"photo_id":"1402194476","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194491":["hashtag1","hashtag2"]},{"1402194479":["hashtag1","hashtag2"]},{"1402194473":["hashtag1","hashtag2"]},{"1402194476":["hashtag1","hashtag2"]},{"1402194469":["hashtag1","hashtag2"]},{"1402194471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194491, 1402194479, 1402194473, 1402194476, 1402194469, 1402194471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32178568840027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:35:42.210744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_50_2830.jpg', '/home/pi/Desktop/images/05112025/21/58/image_05112025_21_58_17_26720.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_07_3011.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_10_3646.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_13_2692.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_17_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/21/57/image_05112025_21_57_50_2830.jpg
/home/pi/Desktop/images/05112025/21/58/image_05112025_21_58_17_26720.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_07_3011.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_10_3646.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_13_2692.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_17_3571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194501","1402194504","1402194503","1402194500","1402194502","1402194505"],"photo_ids_order":["1402194500","1402194501","1402194502","1402194503","1402194504","1402194505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f652bb819fdca87b17a8369abf09c4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6353564857064380903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382604080,"filename":"image_05112025_21_58_17_26720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e1c3a53f9a40114724f422fc0ba13310.jpg","text":"TemporaryFile(/tmp/multipartBody6811574419024068791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382604080,"filename":"image_05112025_22_01_13_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/2/6c8fab94fc96409ca92b4746597681ac.jpg","text":"TemporaryFile(/tmp/multipartBody3804226877914915512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382604080,"filename":"image_05112025_22_01_10_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/2/7b8de70361a4dc455b0c74cb3cc2744d.jpg","text":"TemporaryFile(/tmp/multipartBody7589747649447211209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382604080,"filename":"image_05112025_21_57_50_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/2/758e7d1a911bb4976b4d02a4016ce00d.jpg","text":"TemporaryFile(/tmp/multipartBody1379325719450152051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382604080,"filename":"image_05112025_22_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/2/6e7c8151644e922be5821257da715631.jpg","text":"TemporaryFile(/tmp/multipartBody1403867302820364450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382604080,"filename":"image_05112025_22_01_17_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194502","file1":"1402194501","file0":"1402194500","file4":"1402194504","file5":"1402194505","file3":"1402194503"},"map_files_photo_id_array":[{"photo_id":"1402194505","filename":"file5"},{"photo_id":"1402194502","filename":"file2"},{"photo_id":"1402194504","filename":"file4"},{"photo_id":"1402194501","filename":"file1"},{"photo_id":"1402194500","filename":"file0"},{"photo_id":"1402194503","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194501":["hashtag1","hashtag2"]},{"1402194504":["hashtag1","hashtag2"]},{"1402194503":["hashtag1","hashtag2"]},{"1402194500":["hashtag1","hashtag2"]},{"1402194502":["hashtag1","hashtag2"]},{"1402194505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194501, 1402194504, 1402194503, 1402194500, 1402194502, 1402194505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13026237487793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:36:22.384676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_55_10550.jpg', '/home/pi/Desktop/images/02012026/20/02/image_02012026_20_03_05_9689.jpg', '/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_15_9850.jpg', '/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_24_9624.jpg', '/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_35_10662.jpg', '/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_54_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/02/image_02012026_20_02_55_10550.jpg
/home/pi/Desktop/images/02012026/20/02/image_02012026_20_03_05_9689.jpg
/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_15_9850.jpg
/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_24_9624.jpg
/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_35_10662.jpg
/home/pi/Desktop/images/02012026/20/03/image_02012026_20_03_54_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194647","1402194662","1402194631","1402194628","1402194607","1402194633"],"photo_ids_order":["1402194607","1402194628","1402194631","1402194633","1402194647","1402194662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c0b6f0aee6d26e168f021464b847df73.jpg","text":"TemporaryFile(/tmp/multipartBody6201552127881206569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382642965,"filename":"image_02012026_20_03_35_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/2/c63a70369066bea595c0a6375833158a.jpg","text":"TemporaryFile(/tmp/multipartBody612018442853179130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382642965,"filename":"image_02012026_20_03_54_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/2/82540013a6bdc9bfc9defeac08f49a52.jpg","text":"TemporaryFile(/tmp/multipartBody4772184632872661444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382642965,"filename":"image_02012026_20_03_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/2/d9f764f13ae773d234be18bb3c9f1426.jpg","text":"TemporaryFile(/tmp/multipartBody6327826205457473474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382642965,"filename":"image_02012026_20_03_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/2/326f922cda9634f1bb6ee0e40cea5efb.jpg","text":"TemporaryFile(/tmp/multipartBody2621081524410110879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382642965,"filename":"image_02012026_20_02_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/2/1f09ffd3652fb891374190d6764ceb58.jpg","text":"TemporaryFile(/tmp/multipartBody6018055299509553321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382642965,"filename":"image_02012026_20_03_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194631","file1":"1402194628","file0":"1402194607","file4":"1402194647","file5":"1402194662","file3":"1402194633"},"map_files_photo_id_array":[{"photo_id":"1402194662","filename":"file5"},{"photo_id":"1402194631","filename":"file2"},{"photo_id":"1402194647","filename":"file4"},{"photo_id":"1402194628","filename":"file1"},{"photo_id":"1402194607","filename":"file0"},{"photo_id":"1402194633","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194647":["hashtag1","hashtag2"]},{"1402194662":["hashtag1","hashtag2"]},{"1402194631":["hashtag1","hashtag2"]},{"1402194628":["hashtag1","hashtag2"]},{"1402194607":["hashtag1","hashtag2"]},{"1402194633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194647, 1402194662, 1402194631, 1402194628, 1402194607, 1402194633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96495771408081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:37:03.249950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/03/image_02012026_20_04_05_10691.jpg', '/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_15_9900.jpg', '/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_24_9618.jpg', '/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_35_10653.jpg', '/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_45_9675.jpg', '/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/03/image_02012026_20_04_05_10691.jpg
/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_15_9900.jpg
/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_24_9618.jpg
/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_35_10653.jpg
/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_45_9675.jpg
/home/pi/Desktop/images/02012026/20/04/image_02012026_20_04_54_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":["1402194728","1402194725","1402194730","1402194727","1402194721","1402194723"],"photo_ids_order":["1402194721","1402194723","1402194725","1402194727","1402194728","1402194730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/98d8b811d4f53b157877653503d60d89.jpg","text":"TemporaryFile(/tmp/multipartBody3400435524523295423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382683874,"filename":"image_02012026_20_04_45_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/2/450809375cbf5fa798ed3ab35591e9a9.jpg","text":"TemporaryFile(/tmp/multipartBody844459827054505179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382683874,"filename":"image_02012026_20_04_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/2/178b4ee84bff2ee014d1a41aa6f88b39.jpg","text":"TemporaryFile(/tmp/multipartBody8783899273086500901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382683874,"filename":"image_02012026_20_04_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/2/fa1ffcc9509e61a8ecd03461d5716ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6195936174137648359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382683874,"filename":"image_02012026_20_04_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c078d9103c0c26060dffbd71af31536.jpg","text":"TemporaryFile(/tmp/multipartBody4278447182122568409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382683874,"filename":"image_02012026_20_04_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/2/a1ea61e3a551d2ff1b5d5dd92400e2df.jpg","text":"TemporaryFile(/tmp/multipartBody6374117283443548121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382683874,"filename":"image_02012026_20_04_15_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194725","file1":"1402194723","file0":"1402194721","file4":"1402194728","file5":"1402194730","file3":"1402194727"},"map_files_photo_id_array":[{"photo_id":"1402194730","filename":"file5"},{"photo_id":"1402194725","filename":"file2"},{"photo_id":"1402194728","filename":"file4"},{"photo_id":"1402194723","filename":"file1"},{"photo_id":"1402194721","filename":"file0"},{"photo_id":"1402194727","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194728":["hashtag1","hashtag2"]},{"1402194725":["hashtag1","hashtag2"]},{"1402194730":["hashtag1","hashtag2"]},{"1402194727":["hashtag1","hashtag2"]},{"1402194721":["hashtag1","hashtag2"]},{"1402194723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194728, 1402194725, 1402194730, 1402194727, 1402194721, 1402194723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82489895820618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:37:42.534369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_22_5356.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_24_1845.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_26_1948.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_28_2607.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_31_2677.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_35_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_22_5356.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_24_1845.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_26_1948.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_28_2607.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_31_2677.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_35_3541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194743","1402194736","1402194751","1402194745","1402194739","1402194738"],"photo_ids_order":["1402194736","1402194738","1402194739","1402194743","1402194745","1402194751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/905e2af9c9e1ea52a8af6d4b7f7ce990.jpg","text":"TemporaryFile(/tmp/multipartBody1281614438026979447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382724426,"filename":"image_05112025_22_01_28_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/2/f17fe3832d5f7e4f285ae378c930912b.jpg","text":"TemporaryFile(/tmp/multipartBody2706857821997538744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382724426,"filename":"image_05112025_22_01_22_5356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/42b3426773a2c311b61484eaa6339b77.jpg","text":"TemporaryFile(/tmp/multipartBody4451339080633346754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382724426,"filename":"image_05112025_22_01_35_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/2/a4a570fb061d86c219e5acfd5f97ffed.jpg","text":"TemporaryFile(/tmp/multipartBody8755820566890906173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382724426,"filename":"image_05112025_22_01_31_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/2/a3de6eeb4e48cc94364ef49f70197b24.jpg","text":"TemporaryFile(/tmp/multipartBody2619756806209496506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382724426,"filename":"image_05112025_22_01_26_1948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/716bafa9bc3b861337b096cc453b765d.jpg","text":"TemporaryFile(/tmp/multipartBody5477046976727936345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382724426,"filename":"image_05112025_22_01_24_1845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194739","file1":"1402194738","file0":"1402194736","file4":"1402194745","file5":"1402194751","file3":"1402194743"},"map_files_photo_id_array":[{"photo_id":"1402194751","filename":"file5"},{"photo_id":"1402194739","filename":"file2"},{"photo_id":"1402194745","filename":"file4"},{"photo_id":"1402194738","filename":"file1"},{"photo_id":"1402194736","filename":"file0"},{"photo_id":"1402194743","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194743":["hashtag1","hashtag2"]},{"1402194736":["hashtag1","hashtag2"]},{"1402194751":["hashtag1","hashtag2"]},{"1402194745":["hashtag1","hashtag2"]},{"1402194739":["hashtag1","hashtag2"]},{"1402194738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194743, 1402194736, 1402194751, 1402194745, 1402194739, 1402194738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23368835449219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:38:22.633793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/04/image_02012026_20_05_05_10559.jpg', '/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_15_9683.jpg', '/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_24_9824.jpg', '/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_45_9647.jpg', '/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_54_9570.jpg', '/home/pi/Desktop/images/02012026/20/05/image_02012026_20_06_05_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/04/image_02012026_20_05_05_10559.jpg
/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_15_9683.jpg
/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_24_9824.jpg
/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_45_9647.jpg
/home/pi/Desktop/images/02012026/20/05/image_02012026_20_05_54_9570.jpg
/home/pi/Desktop/images/02012026/20/05/image_02012026_20_06_05_10789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194827","1402194803","1402194832","1402194829","1402194822","1402194825"],"photo_ids_order":["1402194803","1402194822","1402194825","1402194827","1402194829","1402194832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0f193b576a8c0cfb7c56d52dcd1924c.jpg","text":"TemporaryFile(/tmp/multipartBody2880611169920219973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382763211,"filename":"image_02012026_20_05_45_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/2/a2e05419b277e4f0cccb385964e46b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7929376722673552139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382763211,"filename":"image_02012026_20_05_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/2/32d4f2362f9719fd3bde406d918c00cb.jpg","text":"TemporaryFile(/tmp/multipartBody3760401112896264854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382763211,"filename":"image_02012026_20_06_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/2/6ec4b2cdac30e502dda05255851f44bb.jpg","text":"TemporaryFile(/tmp/multipartBody4208735412638777198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382763211,"filename":"image_02012026_20_05_54_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/2/76b07f843f3f1184cd626fb5026654e1.jpg","text":"TemporaryFile(/tmp/multipartBody7050454157508129676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382763211,"filename":"image_02012026_20_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/2/a5da45155e164be0fff06f12039d7ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8728593194921137961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382763211,"filename":"image_02012026_20_05_24_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194825","file1":"1402194822","file0":"1402194803","file4":"1402194829","file5":"1402194832","file3":"1402194827"},"map_files_photo_id_array":[{"photo_id":"1402194832","filename":"file5"},{"photo_id":"1402194825","filename":"file2"},{"photo_id":"1402194829","filename":"file4"},{"photo_id":"1402194822","filename":"file1"},{"photo_id":"1402194803","filename":"file0"},{"photo_id":"1402194827","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194827":["hashtag1","hashtag2"]},{"1402194803":["hashtag1","hashtag2"]},{"1402194832":["hashtag1","hashtag2"]},{"1402194829":["hashtag1","hashtag2"]},{"1402194822":["hashtag1","hashtag2"]},{"1402194825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194827, 1402194803, 1402194832, 1402194829, 1402194822, 1402194825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30538868904114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:39:02.865723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_15_9629.jpg', '/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_24_9562.jpg', '/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_35_10627.jpg', '/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_44_9683.jpg', '/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_54_9661.jpg', '/home/pi/Desktop/images/02012026/20/06/image_02012026_20_07_05_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_15_9629.jpg
/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_24_9562.jpg
/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_35_10627.jpg
/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_44_9683.jpg
/home/pi/Desktop/images/02012026/20/06/image_02012026_20_06_54_9661.jpg
/home/pi/Desktop/images/02012026/20/06/image_02012026_20_07_05_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":["1402194842","1402194836","1402194850","1402194838","1402194840","1402194834"],"photo_ids_order":["1402194834","1402194836","1402194838","1402194840","1402194842","1402194850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d01508a3ac583803f7bc66653f8b04de.jpg","text":"TemporaryFile(/tmp/multipartBody7722189179659025681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382803614,"filename":"image_02012026_20_06_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/2/8849a1bf87e85f7be3466781cfd8bc32.jpg","text":"TemporaryFile(/tmp/multipartBody6686315455960525691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382803614,"filename":"image_02012026_20_06_24_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/2/b97239a57fa4e221ce38c1da7b21fcba.jpg","text":"TemporaryFile(/tmp/multipartBody6471367625195151370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382803614,"filename":"image_02012026_20_07_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/2/1c78ee302073ffa62d45f58b014dd6c5.jpg","text":"TemporaryFile(/tmp/multipartBody5884765939275595405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382803614,"filename":"image_02012026_20_06_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/2/b3cb0d33ae0619ebd50d71a6d1613148.jpg","text":"TemporaryFile(/tmp/multipartBody8357917587750465261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382803614,"filename":"image_02012026_20_06_44_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/2/ed397a9ca98a0cd6771e1af550203aaa.jpg","text":"TemporaryFile(/tmp/multipartBody1476820955669712221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382803614,"filename":"image_02012026_20_06_15_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194838","file1":"1402194836","file0":"1402194834","file4":"1402194842","file5":"1402194850","file3":"1402194840"},"map_files_photo_id_array":[{"photo_id":"1402194850","filename":"file5"},{"photo_id":"1402194838","filename":"file2"},{"photo_id":"1402194842","filename":"file4"},{"photo_id":"1402194836","filename":"file1"},{"photo_id":"1402194834","filename":"file0"},{"photo_id":"1402194840","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194842":["hashtag1","hashtag2"]},{"1402194836":["hashtag1","hashtag2"]},{"1402194850":["hashtag1","hashtag2"]},{"1402194838":["hashtag1","hashtag2"]},{"1402194840":["hashtag1","hashtag2"]},{"1402194834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194842, 1402194836, 1402194850, 1402194838, 1402194840, 1402194834)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.72739768028259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:40:02.721131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_15_9827.jpg', '/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_24_9853.jpg', '/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_34_9592.jpg', '/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_45_10662.jpg', '/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_54_9707.jpg', '/home/pi/Desktop/images/02012026/20/07/image_02012026_20_08_04_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_15_9827.jpg
/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_24_9853.jpg
/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_34_9592.jpg
/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_45_10662.jpg
/home/pi/Desktop/images/02012026/20/07/image_02012026_20_07_54_9707.jpg
/home/pi/Desktop/images/02012026/20/07/image_02012026_20_08_04_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":["1402194881","1402194872","1402194874","1402194877","1402194879","1402194870"],"photo_ids_order":["1402194870","1402194872","1402194874","1402194877","1402194879","1402194881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/177e115ca767f26b34068bfe56eeabec.jpg","text":"TemporaryFile(/tmp/multipartBody4981403117966026625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382863344,"filename":"image_02012026_20_08_04_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/2/5534750127753446a12aacd6090cbf35.jpg","text":"TemporaryFile(/tmp/multipartBody7473874787297876539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382863344,"filename":"image_02012026_20_07_24_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/2/088804b944fb4c914cf48a1b24d65808.jpg","text":"TemporaryFile(/tmp/multipartBody8875190494368678616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382863344,"filename":"image_02012026_20_07_34_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/2/3c72d34724bf7b680ca2694b3f7111e7.jpg","text":"TemporaryFile(/tmp/multipartBody1204957903512844403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382863344,"filename":"image_02012026_20_07_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/2/39c3dc99b1680ad16fc01aebca46019f.jpg","text":"TemporaryFile(/tmp/multipartBody562906703061640155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382863344,"filename":"image_02012026_20_07_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/2/f7ad2f6ff61fb7d5d452e24eadf79990.jpg","text":"TemporaryFile(/tmp/multipartBody924741940376752816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382863344,"filename":"image_02012026_20_07_15_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194874","file1":"1402194872","file0":"1402194870","file4":"1402194879","file5":"1402194881","file3":"1402194877"},"map_files_photo_id_array":[{"photo_id":"1402194881","filename":"file5"},{"photo_id":"1402194874","filename":"file2"},{"photo_id":"1402194879","filename":"file4"},{"photo_id":"1402194872","filename":"file1"},{"photo_id":"1402194870","filename":"file0"},{"photo_id":"1402194877","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194881":["hashtag1","hashtag2"]},{"1402194872":["hashtag1","hashtag2"]},{"1402194874":["hashtag1","hashtag2"]},{"1402194877":["hashtag1","hashtag2"]},{"1402194879":["hashtag1","hashtag2"]},{"1402194870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194881, 1402194872, 1402194874, 1402194877, 1402194879, 1402194870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9575457572937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:40:42.265669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_37_2729.jpg', '/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_47_1792.jpg', '/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_03_1779.jpg', '/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_13_1601.jpg', '/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_15_1611.jpg', '/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_17_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_37_2729.jpg
/home/pi/Desktop/images/05112025/22/01/image_05112025_22_01_47_1792.jpg
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_03_1779.jpg
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_13_1601.jpg
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_15_1611.jpg
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_17_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":["1402194932","1402194929","1402194923","1402194895","1402194922","1402194924"],"photo_ids_order":["1402194895","1402194922","1402194923","1402194924","1402194929","1402194932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8c76e1e46ea82148a22602f6dc317e42.jpg","text":"TemporaryFile(/tmp/multipartBody6307396821064025917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382904129,"filename":"image_05112025_22_02_17_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/2/92afe6e434af4913cfe475c45cf4439f.jpg","text":"TemporaryFile(/tmp/multipartBody8013052784039701638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382904129,"filename":"image_05112025_22_02_15_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/2/701afeed46f1526688f04bc52bd8bb42.jpg","text":"TemporaryFile(/tmp/multipartBody3640945400525009654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382904129,"filename":"image_05112025_22_02_03_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/2/0fc0fd08908e07a18146e11450b9e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody6711808205427805433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382904129,"filename":"image_05112025_22_01_37_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/2/af49276a3aee7244e39c8f383c42c367.jpg","text":"TemporaryFile(/tmp/multipartBody5251513084290871298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382904129,"filename":"image_05112025_22_01_47_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f71133d12632a77edb99f66d2b4e1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6817249440447987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382904129,"filename":"image_05112025_22_02_13_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194923","file1":"1402194922","file0":"1402194895","file4":"1402194929","file5":"1402194932","file3":"1402194924"},"map_files_photo_id_array":[{"photo_id":"1402194932","filename":"file5"},{"photo_id":"1402194923","filename":"file2"},{"photo_id":"1402194929","filename":"file4"},{"photo_id":"1402194922","filename":"file1"},{"photo_id":"1402194895","filename":"file0"},{"photo_id":"1402194924","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194932":["hashtag1","hashtag2"]},{"1402194929":["hashtag1","hashtag2"]},{"1402194923":["hashtag1","hashtag2"]},{"1402194895":["hashtag1","hashtag2"]},{"1402194922":["hashtag1","hashtag2"]},{"1402194924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194932, 1402194929, 1402194923, 1402194895, 1402194922, 1402194924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22517228126526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:41:22.379625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_15_10573.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_25_9818.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_34_9566.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_45_10588.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_54_9594.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_09_05_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_15_10573.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_25_9818.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_34_9566.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_45_10588.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_54_9594.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_09_05_10578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.44306159019470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:41:32.479374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_32_15087.jpg', '/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_44_9973.jpg', '/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_45_1709.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_07_3014.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_11_3831.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_13_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_32_15087.jpg
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_44_9973.jpg
/home/pi/Desktop/images/05112025/22/02/image_05112025_22_02_45_1709.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_07_3014.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_11_3831.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_13_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":["1402194944","1402194947","1402194941","1402194955","1402194949","1402194948"],"photo_ids_order":["1402194941","1402194944","1402194947","1402194948","1402194949","1402194955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/264a4d594a2ef2be2eea71d4ec927706.jpg","text":"TemporaryFile(/tmp/multipartBody3302166710100734979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382954373,"filename":"image_05112025_22_02_44_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d9835e6223009809c4a8a373d03496e.jpg","text":"TemporaryFile(/tmp/multipartBody4714293739786527769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382954373,"filename":"image_05112025_22_02_45_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/2/b4f4181f8fd9410b750dc6f111a93c15.jpg","text":"TemporaryFile(/tmp/multipartBody4682114032022433958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382954373,"filename":"image_05112025_22_02_32_15087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ba2cd196c85c0bc324559191525348c.jpg","text":"TemporaryFile(/tmp/multipartBody5791034429263339002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382954373,"filename":"image_05112025_22_04_13_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/2/8bfe9a92cf61794e3ba9d2176ddc8c98.jpg","text":"TemporaryFile(/tmp/multipartBody5383707619657819603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382954373,"filename":"image_05112025_22_04_11_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/2/f5c831e7a4467679bba376336b9ef5e9.jpg","text":"TemporaryFile(/tmp/multipartBody88740574059377344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382954373,"filename":"image_05112025_22_04_07_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194947","file1":"1402194944","file0":"1402194941","file4":"1402194949","file5":"1402194955","file3":"1402194948"},"map_files_photo_id_array":[{"photo_id":"1402194955","filename":"file5"},{"photo_id":"1402194947","filename":"file2"},{"photo_id":"1402194949","filename":"file4"},{"photo_id":"1402194944","filename":"file1"},{"photo_id":"1402194941","filename":"file0"},{"photo_id":"1402194948","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194944":["hashtag1","hashtag2"]},{"1402194947":["hashtag1","hashtag2"]},{"1402194941":["hashtag1","hashtag2"]},{"1402194955":["hashtag1","hashtag2"]},{"1402194949":["hashtag1","hashtag2"]},{"1402194948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194944, 1402194947, 1402194941, 1402194955, 1402194949, 1402194948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74411368370056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:42:12.586228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_16_2695.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_19_3674.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_22_2724.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_31_2830.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_34_2702.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_40_2984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_16_2695.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_19_3674.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_22_2724.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_31_2830.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_34_2702.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_40_2984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194962","1402194971","1402194965","1402194959","1402194969","1402194960"],"photo_ids_order":["1402194959","1402194960","1402194962","1402194965","1402194969","1402194971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e1a0874fcab6dc7adaf7ba030ed00ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7367670119484474513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382994374,"filename":"image_05112025_22_04_22_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/2/50b4d4e4174b3c49374949af96cd4030.jpg","text":"TemporaryFile(/tmp/multipartBody4693115565996265484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382994374,"filename":"image_05112025_22_04_40_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2cf81b22f5c2c05391cde0bcaffaa33f.jpg","text":"TemporaryFile(/tmp/multipartBody2855404248827902728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382994374,"filename":"image_05112025_22_04_31_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/2/c854666464f07d8e09e4a9b1d99813a7.jpg","text":"TemporaryFile(/tmp/multipartBody9059186910022611097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382994374,"filename":"image_05112025_22_04_16_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/2/7910724ee4692fe8bfbfef880571e2af.jpg","text":"TemporaryFile(/tmp/multipartBody9013741253576570244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382994374,"filename":"image_05112025_22_04_34_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/2/69ffe43152e2eb41291b1cd3d90b364f.jpg","text":"TemporaryFile(/tmp/multipartBody5375735792957041427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767382994374,"filename":"image_05112025_22_04_19_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194962","file1":"1402194960","file0":"1402194959","file4":"1402194969","file5":"1402194971","file3":"1402194965"},"map_files_photo_id_array":[{"photo_id":"1402194971","filename":"file5"},{"photo_id":"1402194962","filename":"file2"},{"photo_id":"1402194969","filename":"file4"},{"photo_id":"1402194960","filename":"file1"},{"photo_id":"1402194959","filename":"file0"},{"photo_id":"1402194965","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194962":["hashtag1","hashtag2"]},{"1402194971":["hashtag1","hashtag2"]},{"1402194965":["hashtag1","hashtag2"]},{"1402194959":["hashtag1","hashtag2"]},{"1402194969":["hashtag1","hashtag2"]},{"1402194960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194962, 1402194971, 1402194965, 1402194959, 1402194969, 1402194960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85938858985901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:43:03.473954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_15_10573.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_25_9818.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_34_9566.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_45_10588.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_54_9594.jpg', '/home/pi/Desktop/images/02012026/20/08/image_02012026_20_09_05_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_15_10573.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_25_9818.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_34_9566.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_45_10588.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_08_54_9594.jpg
/home/pi/Desktop/images/02012026/20/08/image_02012026_20_09_05_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402194980","1402194973","1402194982","1402194976","1402194978","1402194975"],"photo_ids_order":["1402194973","1402194975","1402194976","1402194978","1402194980","1402194982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2247fbbc8a562a7a3d8af5022c9c0b79.jpg","text":"TemporaryFile(/tmp/multipartBody6691345734312330915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383044107,"filename":"image_02012026_20_08_54_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/2/8ddc45256a5c144d27217ce44d48504f.jpg","text":"TemporaryFile(/tmp/multipartBody6944150272916469290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383044107,"filename":"image_02012026_20_08_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/2/d302835c42beaa6a5c00d78ecc3d3ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3259534752817533101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383044107,"filename":"image_02012026_20_09_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/2/52463a73d64fe99861811a61a05edde3.jpg","text":"TemporaryFile(/tmp/multipartBody3890241117348593076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383044107,"filename":"image_02012026_20_08_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/2/b72e7e8a2e4bc9bf13f9fc929a6d131b.jpg","text":"TemporaryFile(/tmp/multipartBody3200389066602987297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383044107,"filename":"image_02012026_20_08_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/2/34cf1cedc9e3fa8889512516ab9cf508.jpg","text":"TemporaryFile(/tmp/multipartBody5538765252853512381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383044107,"filename":"image_02012026_20_08_25_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194976","file1":"1402194975","file0":"1402194973","file4":"1402194980","file5":"1402194982","file3":"1402194978"},"map_files_photo_id_array":[{"photo_id":"1402194982","filename":"file5"},{"photo_id":"1402194976","filename":"file2"},{"photo_id":"1402194980","filename":"file4"},{"photo_id":"1402194975","filename":"file1"},{"photo_id":"1402194973","filename":"file0"},{"photo_id":"1402194978","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194980":["hashtag1","hashtag2"]},{"1402194973":["hashtag1","hashtag2"]},{"1402194982":["hashtag1","hashtag2"]},{"1402194976":["hashtag1","hashtag2"]},{"1402194978":["hashtag1","hashtag2"]},{"1402194975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194980, 1402194973, 1402194982, 1402194976, 1402194978, 1402194975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590208292007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:43:42.825130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_43_3671.jpg', '/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_46_2702.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_06_3011.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_16_2655.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_19_3544.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_25_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_43_3671.jpg
/home/pi/Desktop/images/05112025/22/04/image_05112025_22_04_46_2702.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_06_3011.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_16_2655.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_19_3544.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_25_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":["1402194991","1402194994","1402194988","1402194990","1402194993","1402194992"],"photo_ids_order":["1402194988","1402194990","1402194991","1402194992","1402194993","1402194994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e2c464271b780444cbc02c4fb000f11.jpg","text":"TemporaryFile(/tmp/multipartBody8489461710580350193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383084722,"filename":"image_05112025_22_07_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/2/c7c0ed267b5cf162032d7d9bf428d017.jpg","text":"TemporaryFile(/tmp/multipartBody6384478913895459244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383084722,"filename":"image_05112025_22_07_25_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/2/d217f436988d7191dd44ff896cda5d45.jpg","text":"TemporaryFile(/tmp/multipartBody2042502943197163102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383084722,"filename":"image_05112025_22_04_43_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/2/dbdbf4c077d63dbfcefb2cf1f85111e5.jpg","text":"TemporaryFile(/tmp/multipartBody3487077427506676223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383084722,"filename":"image_05112025_22_04_46_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/2/d534fb98126d05b3dd1e4e365d974c08.jpg","text":"TemporaryFile(/tmp/multipartBody7490744741489968034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383084722,"filename":"image_05112025_22_07_19_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/2/8a72548ca0037d776d388cb262dcae1c.jpg","text":"TemporaryFile(/tmp/multipartBody6127858918928194487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383084722,"filename":"image_05112025_22_07_16_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402194991","file1":"1402194990","file0":"1402194988","file4":"1402194993","file5":"1402194994","file3":"1402194992"},"map_files_photo_id_array":[{"photo_id":"1402194994","filename":"file5"},{"photo_id":"1402194991","filename":"file2"},{"photo_id":"1402194993","filename":"file4"},{"photo_id":"1402194990","filename":"file1"},{"photo_id":"1402194988","filename":"file0"},{"photo_id":"1402194992","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402194991":["hashtag1","hashtag2"]},{"1402194994":["hashtag1","hashtag2"]},{"1402194988":["hashtag1","hashtag2"]},{"1402194990":["hashtag1","hashtag2"]},{"1402194993":["hashtag1","hashtag2"]},{"1402194992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402194991, 1402194994, 1402194988, 1402194990, 1402194993, 1402194992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.297507762908936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:44:21.968727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_15_9737.jpg', '/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_24_9765.jpg', '/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_34_9657.jpg', '/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_45_10580.jpg', '/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_54_9781.jpg', '/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_24_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_15_9737.jpg
/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_24_9765.jpg
/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_34_9657.jpg
/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_45_10580.jpg
/home/pi/Desktop/images/02012026/20/09/image_02012026_20_09_54_9781.jpg
/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_24_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":["1402194998","1402195018","1402195003","1402195000","1402195011","1402195005"],"photo_ids_order":["1402194998","1402195000","1402195003","1402195005","1402195011","1402195018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e528fde3dd6c8422504fe9909c7f1cc0.jpg","text":"TemporaryFile(/tmp/multipartBody6164070655452386984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383122553,"filename":"image_02012026_20_09_15_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/2/daa31bdcb171435073c27b14d907c2ab.jpg","text":"TemporaryFile(/tmp/multipartBody653863166306967231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383122553,"filename":"image_02012026_20_10_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/2/84871841550cc4a88afdd92904fa285a.jpg","text":"TemporaryFile(/tmp/multipartBody5277235514155439820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383122553,"filename":"image_02012026_20_09_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/2/b21d8fec1094358cc799f575fc636c72.jpg","text":"TemporaryFile(/tmp/multipartBody957869414625885206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383122553,"filename":"image_02012026_20_09_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/2/6e70a9c4ac7cb39efeeaf21b55d62a74.jpg","text":"TemporaryFile(/tmp/multipartBody1273472604800677877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383122553,"filename":"image_02012026_20_09_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/2/886c09277e5097726c4ad8eddcd51e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6816315943324448274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383122553,"filename":"image_02012026_20_09_45_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195003","file1":"1402195000","file0":"1402194998","file4":"1402195011","file5":"1402195018","file3":"1402195005"},"map_files_photo_id_array":[{"photo_id":"1402195018","filename":"file5"},{"photo_id":"1402195003","filename":"file2"},{"photo_id":"1402195011","filename":"file4"},{"photo_id":"1402195000","filename":"file1"},{"photo_id":"1402194998","filename":"file0"},{"photo_id":"1402195005","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402194998":["hashtag1","hashtag2"]},{"1402195018":["hashtag1","hashtag2"]},{"1402195003":["hashtag1","hashtag2"]},{"1402195000":["hashtag1","hashtag2"]},{"1402195011":["hashtag1","hashtag2"]},{"1402195005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402194998, 1402195018, 1402195003, 1402195000, 1402195011, 1402195005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54686141014099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:45:02.740855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_34_9627.jpg', '/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_45_10572.jpg', '/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_54_9526.jpg', '/home/pi/Desktop/images/02012026/20/10/image_02012026_20_11_05_10664.jpg', '/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_14_9627.jpg', '/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_34_9627.jpg
/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_45_10572.jpg
/home/pi/Desktop/images/02012026/20/10/image_02012026_20_10_54_9526.jpg
/home/pi/Desktop/images/02012026/20/10/image_02012026_20_11_05_10664.jpg
/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_14_9627.jpg
/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_24_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":["1402195025","1402195022","1402195021","1402195027","1402195029","1402195023"],"photo_ids_order":["1402195021","1402195022","1402195023","1402195025","1402195027","1402195029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd243705244d7d3536a32730e64335b5.jpg","text":"TemporaryFile(/tmp/multipartBody5586050188914479112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383163362,"filename":"image_02012026_20_11_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/2/cf52b1094d7bf1d14ff14f9caf5fd757.jpg","text":"TemporaryFile(/tmp/multipartBody3630657595634202763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383163362,"filename":"image_02012026_20_10_45_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/2/444650700db3c30c437635ce5fc4a42b.jpg","text":"TemporaryFile(/tmp/multipartBody3040533109315481240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383163362,"filename":"image_02012026_20_10_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/2/7b212fe15ff35dc92f33c8d7d22dfd11.jpg","text":"TemporaryFile(/tmp/multipartBody7454345096971798802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383163362,"filename":"image_02012026_20_11_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/2/c6c4baabb1b0e6490d42f729fc7f80cc.jpg","text":"TemporaryFile(/tmp/multipartBody2082959377914126116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383163362,"filename":"image_02012026_20_11_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/2/4019e66f0d6f2c49b3b744825d82015a.jpg","text":"TemporaryFile(/tmp/multipartBody2247725819808106161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383163362,"filename":"image_02012026_20_10_54_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195023","file1":"1402195022","file0":"1402195021","file4":"1402195027","file5":"1402195029","file3":"1402195025"},"map_files_photo_id_array":[{"photo_id":"1402195029","filename":"file5"},{"photo_id":"1402195023","filename":"file2"},{"photo_id":"1402195027","filename":"file4"},{"photo_id":"1402195022","filename":"file1"},{"photo_id":"1402195021","filename":"file0"},{"photo_id":"1402195025","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195025":["hashtag1","hashtag2"]},{"1402195022":["hashtag1","hashtag2"]},{"1402195021":["hashtag1","hashtag2"]},{"1402195027":["hashtag1","hashtag2"]},{"1402195029":["hashtag1","hashtag2"]},{"1402195023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195025, 1402195022, 1402195021, 1402195027, 1402195029, 1402195023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14657521247864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:45:42.259205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_28_3692.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_31_2681.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_34_2658.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_49_9108.jpg', '/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_51_1696.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_07_15805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_28_3692.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_31_2681.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_34_2658.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_49_9108.jpg
/home/pi/Desktop/images/05112025/22/07/image_05112025_22_07_51_1696.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_07_15805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195037","1402195033","1402195036","1402195039","1402195035","1402195038"],"photo_ids_order":["1402195033","1402195035","1402195036","1402195037","1402195038","1402195039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b9a55f5eb895f9347fd7fc7355827782.jpg","text":"TemporaryFile(/tmp/multipartBody1077699167536038503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383204111,"filename":"image_05112025_22_07_49_9108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4998b51551066e8d2636ef0daee47b8.jpg","text":"TemporaryFile(/tmp/multipartBody8169836054994347793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383204111,"filename":"image_05112025_22_07_28_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/2/5ce1ae8280cce84724cf5490f2348fe1.jpg","text":"TemporaryFile(/tmp/multipartBody9034024637155139348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383204111,"filename":"image_05112025_22_07_34_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/2/075bcb7523797b440548501cbc69c948.jpg","text":"TemporaryFile(/tmp/multipartBody9019530006073941575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383204111,"filename":"image_05112025_22_08_07_15805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/96f6618be5dfcc06c5647ec3ba71902b.jpg","text":"TemporaryFile(/tmp/multipartBody4607689466251844508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383204111,"filename":"image_05112025_22_07_31_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/2/52dfd794f6636f9ed6dccd1b6b4f3e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4376796272103979064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383204111,"filename":"image_05112025_22_07_51_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195036","file1":"1402195035","file0":"1402195033","file4":"1402195038","file5":"1402195039","file3":"1402195037"},"map_files_photo_id_array":[{"photo_id":"1402195039","filename":"file5"},{"photo_id":"1402195036","filename":"file2"},{"photo_id":"1402195038","filename":"file4"},{"photo_id":"1402195035","filename":"file1"},{"photo_id":"1402195033","filename":"file0"},{"photo_id":"1402195037","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195037":["hashtag1","hashtag2"]},{"1402195033":["hashtag1","hashtag2"]},{"1402195036":["hashtag1","hashtag2"]},{"1402195039":["hashtag1","hashtag2"]},{"1402195035":["hashtag1","hashtag2"]},{"1402195038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195037, 1402195033, 1402195036, 1402195039, 1402195035, 1402195038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.451202154159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:46:22.426016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_35_10603.jpg', '/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_44_9530.jpg', '/home/pi/Desktop/images/02012026/20/11/image_02012026_20_12_05_9781.jpg', '/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_14_9659.jpg', '/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_24_9726.jpg', '/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_35_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_35_10603.jpg
/home/pi/Desktop/images/02012026/20/11/image_02012026_20_11_44_9530.jpg
/home/pi/Desktop/images/02012026/20/11/image_02012026_20_12_05_9781.jpg
/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_14_9659.jpg
/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_24_9726.jpg
/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_35_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195043","1402195051","1402195044","1402195053","1402195056","1402195049"],"photo_ids_order":["1402195043","1402195044","1402195049","1402195051","1402195053","1402195056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5494439a7104134c6685441999192c2.jpg","text":"TemporaryFile(/tmp/multipartBody4915711914412783186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383243038,"filename":"image_02012026_20_11_35_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/2/702d7a1b334694dac49c5ba18b186050.jpg","text":"TemporaryFile(/tmp/multipartBody4760989981080337625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383243038,"filename":"image_02012026_20_12_14_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/2/97a84f0c800a3242bda5cea70791b12e.jpg","text":"TemporaryFile(/tmp/multipartBody4731844719241962423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383243038,"filename":"image_02012026_20_11_44_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/2/b729d4e07f72ea8c60522f3d9590b1bf.jpg","text":"TemporaryFile(/tmp/multipartBody7480168635558253167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383243038,"filename":"image_02012026_20_12_24_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/2/a1346fc20846d36ef649f0597e330461.jpg","text":"TemporaryFile(/tmp/multipartBody8575177266088511338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383243038,"filename":"image_02012026_20_12_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/2/b15796653705ca7ddbab26d248fc1842.jpg","text":"TemporaryFile(/tmp/multipartBody7102486121130531052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383243038,"filename":"image_02012026_20_12_05_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195049","file1":"1402195044","file0":"1402195043","file4":"1402195053","file5":"1402195056","file3":"1402195051"},"map_files_photo_id_array":[{"photo_id":"1402195056","filename":"file5"},{"photo_id":"1402195049","filename":"file2"},{"photo_id":"1402195053","filename":"file4"},{"photo_id":"1402195044","filename":"file1"},{"photo_id":"1402195043","filename":"file0"},{"photo_id":"1402195051","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195043":["hashtag1","hashtag2"]},{"1402195051":["hashtag1","hashtag2"]},{"1402195044":["hashtag1","hashtag2"]},{"1402195053":["hashtag1","hashtag2"]},{"1402195056":["hashtag1","hashtag2"]},{"1402195049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195043, 1402195051, 1402195044, 1402195053, 1402195056, 1402195049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63407874107361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:47:03.377638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_45_9855.jpg', '/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_54_9602.jpg', '/home/pi/Desktop/images/02012026/20/12/image_02012026_20_13_05_10740.jpg', '/home/pi/Desktop/images/02012026/20/13/image_02012026_20_13_24_9680.jpg', '/home/pi/Desktop/images/02012026/20/13/image_02012026_20_13_34_9900.jpg', '/home/pi/Desktop/images/02012026/20/14/image_02012026_20_14_15_10167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_45_9855.jpg
/home/pi/Desktop/images/02012026/20/12/image_02012026_20_12_54_9602.jpg
/home/pi/Desktop/images/02012026/20/12/image_02012026_20_13_05_10740.jpg
/home/pi/Desktop/images/02012026/20/13/image_02012026_20_13_24_9680.jpg
/home/pi/Desktop/images/02012026/20/13/image_02012026_20_13_34_9900.jpg
/home/pi/Desktop/images/02012026/20/14/image_02012026_20_14_15_10167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195064","1402195066","1402195060","1402195063","1402195059","1402195061"],"photo_ids_order":["1402195059","1402195060","1402195061","1402195063","1402195064","1402195066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a065a8309e5fe7a53561d1e32b0a706c.jpg","text":"TemporaryFile(/tmp/multipartBody3313649434748975845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383283991,"filename":"image_02012026_20_13_34_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/2/4e66bbeb4d6332ee2651eca095d19d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7318277682974123113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383283991,"filename":"image_02012026_20_14_15_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/2/e5f53f1ea2d815c8804f51e36bf7afd7.jpg","text":"TemporaryFile(/tmp/multipartBody5647421034677392193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383283991,"filename":"image_02012026_20_12_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/2/573afd9f6d9d31c0a4e7449ce897f140.jpg","text":"TemporaryFile(/tmp/multipartBody8203175172965194642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383283991,"filename":"image_02012026_20_13_24_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/2/49f0ce838999d0d3ee149350bbcc5347.jpg","text":"TemporaryFile(/tmp/multipartBody6753751350433354121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383283991,"filename":"image_02012026_20_12_45_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/2/dc3cf70e10bcbc3bb1930863cd4723d0.jpg","text":"TemporaryFile(/tmp/multipartBody3334779814701448640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383283991,"filename":"image_02012026_20_13_05_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195061","file1":"1402195060","file0":"1402195059","file4":"1402195064","file5":"1402195066","file3":"1402195063"},"map_files_photo_id_array":[{"photo_id":"1402195066","filename":"file5"},{"photo_id":"1402195061","filename":"file2"},{"photo_id":"1402195064","filename":"file4"},{"photo_id":"1402195060","filename":"file1"},{"photo_id":"1402195059","filename":"file0"},{"photo_id":"1402195063","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195064":["hashtag1","hashtag2"]},{"1402195066":["hashtag1","hashtag2"]},{"1402195060":["hashtag1","hashtag2"]},{"1402195063":["hashtag1","hashtag2"]},{"1402195059":["hashtag1","hashtag2"]},{"1402195061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195064, 1402195066, 1402195060, 1402195063, 1402195059, 1402195061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98763561248779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:47:42.624791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_09_1618.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_12_1643.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_14_1743.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_15_1658.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_17_1752.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_20_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_09_1618.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_12_1643.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_14_1743.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_15_1658.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_17_1752.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_20_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":["1402195075","1402195077","1402195071","1402195074","1402195073","1402195076"],"photo_ids_order":["1402195071","1402195073","1402195074","1402195075","1402195076","1402195077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d326f36f6e9e7c6055659d6edc496de4.jpg","text":"TemporaryFile(/tmp/multipartBody8952329183845698352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383324470,"filename":"image_05112025_22_08_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/2/98bcb9685eaf250f78d3731331e1e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody6708252648271868274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383324470,"filename":"image_05112025_22_08_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/2/44ec76fc062c080bc6402f561f87633d.jpg","text":"TemporaryFile(/tmp/multipartBody2006987645046259563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383324470,"filename":"image_05112025_22_08_09_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/2/80258971d7ea1a3652c7f82ea27139d6.jpg","text":"TemporaryFile(/tmp/multipartBody8398016018074344801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383324470,"filename":"image_05112025_22_08_14_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/2/8e437f0e03c8b27a58c2f96ac35b1264.jpg","text":"TemporaryFile(/tmp/multipartBody2920773195777519767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383324470,"filename":"image_05112025_22_08_12_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/2/94e475b2593817ab4fa2180cc73492ba.jpg","text":"TemporaryFile(/tmp/multipartBody7329003455448393457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383324470,"filename":"image_05112025_22_08_17_1752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195074","file1":"1402195073","file0":"1402195071","file4":"1402195076","file5":"1402195077","file3":"1402195075"},"map_files_photo_id_array":[{"photo_id":"1402195077","filename":"file5"},{"photo_id":"1402195074","filename":"file2"},{"photo_id":"1402195076","filename":"file4"},{"photo_id":"1402195073","filename":"file1"},{"photo_id":"1402195071","filename":"file0"},{"photo_id":"1402195075","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195075":["hashtag1","hashtag2"]},{"1402195077":["hashtag1","hashtag2"]},{"1402195071":["hashtag1","hashtag2"]},{"1402195074":["hashtag1","hashtag2"]},{"1402195073":["hashtag1","hashtag2"]},{"1402195076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195075, 1402195077, 1402195071, 1402195074, 1402195073, 1402195076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05656409263611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:48:22.759278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/14/image_02012026_20_14_24_9659.jpg', '/home/pi/Desktop/images/02012026/20/14/image_02012026_20_14_35_10767.jpg', '/home/pi/Desktop/images/02012026/20/15/image_02012026_20_15_15_9949.jpg', '/home/pi/Desktop/images/02012026/20/15/image_02012026_20_15_25_9698.jpg', '/home/pi/Desktop/images/02012026/20/15/image_02012026_20_15_35_10342.jpg', '/home/pi/Desktop/images/02012026/20/15/image_02012026_20_16_05_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/14/image_02012026_20_14_24_9659.jpg
/home/pi/Desktop/images/02012026/20/14/image_02012026_20_14_35_10767.jpg
/home/pi/Desktop/images/02012026/20/15/image_02012026_20_15_15_9949.jpg
/home/pi/Desktop/images/02012026/20/15/image_02012026_20_15_25_9698.jpg
/home/pi/Desktop/images/02012026/20/15/image_02012026_20_15_35_10342.jpg
/home/pi/Desktop/images/02012026/20/15/image_02012026_20_16_05_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195079","1402195090","1402195093","1402195087","1402195081","1402195083"],"photo_ids_order":["1402195079","1402195081","1402195083","1402195087","1402195090","1402195093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/485f50be91015079f82f758b55bd1f74.jpg","text":"TemporaryFile(/tmp/multipartBody9129330053873438552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383363332,"filename":"image_02012026_20_14_24_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/2/79bf0ed582a777c108c6199c13dd599a.jpg","text":"TemporaryFile(/tmp/multipartBody874862672888857322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383363332,"filename":"image_02012026_20_15_35_10342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dd1fef780ab37f397046f098c84370c2.jpg","text":"TemporaryFile(/tmp/multipartBody6704921091229686199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383363332,"filename":"image_02012026_20_16_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/2/3e36a90659285ef723d10f3dad529576.jpg","text":"TemporaryFile(/tmp/multipartBody116931453874352208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383363332,"filename":"image_02012026_20_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/2/7fd5a80c1850dbfc769e4deeb6967a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5260342618225735414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383363332,"filename":"image_02012026_20_14_35_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/2/ce023eff070a7816cf3c3c5b5a61238f.jpg","text":"TemporaryFile(/tmp/multipartBody4549572792973530087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383363332,"filename":"image_02012026_20_15_15_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195083","file1":"1402195081","file0":"1402195079","file4":"1402195090","file5":"1402195093","file3":"1402195087"},"map_files_photo_id_array":[{"photo_id":"1402195093","filename":"file5"},{"photo_id":"1402195083","filename":"file2"},{"photo_id":"1402195090","filename":"file4"},{"photo_id":"1402195081","filename":"file1"},{"photo_id":"1402195079","filename":"file0"},{"photo_id":"1402195087","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195079":["hashtag1","hashtag2"]},{"1402195090":["hashtag1","hashtag2"]},{"1402195093":["hashtag1","hashtag2"]},{"1402195087":["hashtag1","hashtag2"]},{"1402195081":["hashtag1","hashtag2"]},{"1402195083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195079, 1402195090, 1402195093, 1402195087, 1402195081, 1402195083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56700825691223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:49:02.869145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/16/image_02012026_20_16_14_9719.jpg', '/home/pi/Desktop/images/02012026/20/16/image_02012026_20_16_25_10664.jpg', '/home/pi/Desktop/images/02012026/20/16/image_02012026_20_16_35_9851.jpg', '/home/pi/Desktop/images/02012026/20/17/image_02012026_20_17_15_9791.jpg', '/home/pi/Desktop/images/02012026/20/17/image_02012026_20_17_24_9600.jpg', '/home/pi/Desktop/images/02012026/20/17/image_02012026_20_17_54_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/16/image_02012026_20_16_14_9719.jpg
/home/pi/Desktop/images/02012026/20/16/image_02012026_20_16_25_10664.jpg
/home/pi/Desktop/images/02012026/20/16/image_02012026_20_16_35_9851.jpg
/home/pi/Desktop/images/02012026/20/17/image_02012026_20_17_15_9791.jpg
/home/pi/Desktop/images/02012026/20/17/image_02012026_20_17_24_9600.jpg
/home/pi/Desktop/images/02012026/20/17/image_02012026_20_17_54_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":["1402195096","1402195100","1402195095","1402195098","1402195094","1402195097"],"photo_ids_order":["1402195094","1402195095","1402195096","1402195097","1402195098","1402195100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e7652fd054f112cf960a75590b3dac65.jpg","text":"TemporaryFile(/tmp/multipartBody4537065851242614378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383403698,"filename":"image_02012026_20_16_35_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/2/146dc2aefaf16c70f3f4f3e787784a64.jpg","text":"TemporaryFile(/tmp/multipartBody1705464821137607841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383403698,"filename":"image_02012026_20_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/2/3fdb8f7c04e8699aee86dc54669369ab.jpg","text":"TemporaryFile(/tmp/multipartBody2843534317057496411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383403698,"filename":"image_02012026_20_16_25_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/2/b7ec2f585228aaceab2d3e5bb7608588.jpg","text":"TemporaryFile(/tmp/multipartBody3234334249417488053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383403698,"filename":"image_02012026_20_17_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/2/b04762e59afe5241f7195e85d2029ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5458576288823266601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383403698,"filename":"image_02012026_20_16_14_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/2/2c7036fb728f2a4e2a2570cd0535b90b.jpg","text":"TemporaryFile(/tmp/multipartBody7210260354757575983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383403698,"filename":"image_02012026_20_17_15_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195096","file1":"1402195095","file0":"1402195094","file4":"1402195098","file5":"1402195100","file3":"1402195097"},"map_files_photo_id_array":[{"photo_id":"1402195100","filename":"file5"},{"photo_id":"1402195096","filename":"file2"},{"photo_id":"1402195098","filename":"file4"},{"photo_id":"1402195095","filename":"file1"},{"photo_id":"1402195094","filename":"file0"},{"photo_id":"1402195097","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195096":["hashtag1","hashtag2"]},{"1402195100":["hashtag1","hashtag2"]},{"1402195095":["hashtag1","hashtag2"]},{"1402195098":["hashtag1","hashtag2"]},{"1402195094":["hashtag1","hashtag2"]},{"1402195097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195096, 1402195100, 1402195095, 1402195098, 1402195094, 1402195097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46812605857849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:49:41.997777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_22_1696.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_24_1626.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_26_1790.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_27_1726.jpg', '/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_34_2986.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_22_1696.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_24_1626.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_26_1790.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_27_1726.jpg
/home/pi/Desktop/images/05112025/22/08/image_05112025_22_08_34_2986.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_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":["1402195118","1402195112","1402195115","1402195109","1402195114","1402195116"],"photo_ids_order":["1402195109","1402195112","1402195114","1402195115","1402195116","1402195118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ad6bf086d7dc6f23deac98218fda990.jpg","text":"TemporaryFile(/tmp/multipartBody2302372708957164661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383443913,"filename":"image_05112025_22_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/2/03b56a5681475580aa71fd935d45cc95.jpg","text":"TemporaryFile(/tmp/multipartBody6912694315089893184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383443913,"filename":"image_05112025_22_08_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/2/e03a888f792e7eed85d47db5f55fda2d.jpg","text":"TemporaryFile(/tmp/multipartBody8440518755097226463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383443913,"filename":"image_05112025_22_08_27_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/2/c059f097da8a509b320cdb8e9f33847c.jpg","text":"TemporaryFile(/tmp/multipartBody8491206556833421502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383443913,"filename":"image_05112025_22_08_22_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/2/8732773b768cd391ea7fd6cb3389ffd2.jpg","text":"TemporaryFile(/tmp/multipartBody1565279391780398807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383443913,"filename":"image_05112025_22_08_26_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/2/b46d91619352f419b164d22bcbf8f40c.jpg","text":"TemporaryFile(/tmp/multipartBody6701268130919114209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383443913,"filename":"image_05112025_22_08_34_2986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195114","file1":"1402195112","file0":"1402195109","file4":"1402195116","file5":"1402195118","file3":"1402195115"},"map_files_photo_id_array":[{"photo_id":"1402195118","filename":"file5"},{"photo_id":"1402195114","filename":"file2"},{"photo_id":"1402195116","filename":"file4"},{"photo_id":"1402195112","filename":"file1"},{"photo_id":"1402195109","filename":"file0"},{"photo_id":"1402195115","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195118":["hashtag1","hashtag2"]},{"1402195112":["hashtag1","hashtag2"]},{"1402195115":["hashtag1","hashtag2"]},{"1402195109":["hashtag1","hashtag2"]},{"1402195114":["hashtag1","hashtag2"]},{"1402195116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195118, 1402195112, 1402195115, 1402195109, 1402195114, 1402195116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77545142173767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:50:22.136928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/17/image_02012026_20_18_05_10734.jpg', '/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_15_9779.jpg', '/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_25_10086.jpg', '/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_34_9649.jpg', '/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_44_9707.jpg', '/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_55_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/17/image_02012026_20_18_05_10734.jpg
/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_15_9779.jpg
/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_25_10086.jpg
/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_34_9649.jpg
/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_44_9707.jpg
/home/pi/Desktop/images/02012026/20/18/image_02012026_20_18_55_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195130","1402195133","1402195125","1402195128","1402195122","1402195119"],"photo_ids_order":["1402195119","1402195122","1402195125","1402195128","1402195130","1402195133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/efff071c0de64a66d2678b2a21c2c0ec.jpg","text":"TemporaryFile(/tmp/multipartBody6919539801485289175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383482711,"filename":"image_02012026_20_18_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/2/a6593df3c5ab3a6f23d81088ba593882.jpg","text":"TemporaryFile(/tmp/multipartBody716543181019374484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383482711,"filename":"image_02012026_20_18_55_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/2/c7e307e43dae2d613e14cbac47c1a2bf.jpg","text":"TemporaryFile(/tmp/multipartBody4345222684743767942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383482711,"filename":"image_02012026_20_18_25_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/2/d4d71dd981562c9558b0b92564235127.jpg","text":"TemporaryFile(/tmp/multipartBody6347142833991290602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383482711,"filename":"image_02012026_20_18_34_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/2/27eed4677e40d95180eb5a8b13c19c90.jpg","text":"TemporaryFile(/tmp/multipartBody7468559097574751780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383482711,"filename":"image_02012026_20_18_15_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/2/f2d64fc1aa73a26d327bb89ce708ff4b.jpg","text":"TemporaryFile(/tmp/multipartBody5828890883209866306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383482711,"filename":"image_02012026_20_18_05_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195125","file1":"1402195122","file0":"1402195119","file4":"1402195130","file5":"1402195133","file3":"1402195128"},"map_files_photo_id_array":[{"photo_id":"1402195133","filename":"file5"},{"photo_id":"1402195125","filename":"file2"},{"photo_id":"1402195130","filename":"file4"},{"photo_id":"1402195122","filename":"file1"},{"photo_id":"1402195119","filename":"file0"},{"photo_id":"1402195128","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195130":["hashtag1","hashtag2"]},{"1402195133":["hashtag1","hashtag2"]},{"1402195125":["hashtag1","hashtag2"]},{"1402195128":["hashtag1","hashtag2"]},{"1402195122":["hashtag1","hashtag2"]},{"1402195119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195130, 1402195133, 1402195125, 1402195128, 1402195122, 1402195119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54368996620178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:51:03.081804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_15_10570.jpg', '/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_25_9664.jpg', '/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_34_9653.jpg', '/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_45_10615.jpg', '/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_55_9754.jpg', '/home/pi/Desktop/images/02012026/20/19/image_02012026_20_20_04_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_15_10570.jpg
/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_25_9664.jpg
/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_34_9653.jpg
/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_45_10615.jpg
/home/pi/Desktop/images/02012026/20/19/image_02012026_20_19_55_9754.jpg
/home/pi/Desktop/images/02012026/20/19/image_02012026_20_20_04_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195145","1402195150","1402195153","1402195138","1402195152","1402195155"],"photo_ids_order":["1402195138","1402195145","1402195150","1402195152","1402195153","1402195155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/45fc9a3ff7c7a75eefca9e22b421963a.jpg","text":"TemporaryFile(/tmp/multipartBody7674249036777113655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383523765,"filename":"image_02012026_20_19_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/2/2ad49a222d1686052500dee21e643e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2250779058761461399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383523765,"filename":"image_02012026_20_19_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/2/a17bccacd8159513d1825c2aae47f715.jpg","text":"TemporaryFile(/tmp/multipartBody669980547966175147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383523765,"filename":"image_02012026_20_19_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/2/5fdefc3f3f120f303f4f003eac65dee3.jpg","text":"TemporaryFile(/tmp/multipartBody3715465650192788546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383523765,"filename":"image_02012026_20_19_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/2/1b9f7af0bf7369cfe825a974e76e2da2.jpg","text":"TemporaryFile(/tmp/multipartBody2622079394927791690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383523765,"filename":"image_02012026_20_19_45_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/2/681e9b8a11e592ad78d2d7d404ef2f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6692651627911680491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383523765,"filename":"image_02012026_20_20_04_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195150","file1":"1402195145","file0":"1402195138","file4":"1402195153","file5":"1402195155","file3":"1402195152"},"map_files_photo_id_array":[{"photo_id":"1402195155","filename":"file5"},{"photo_id":"1402195150","filename":"file2"},{"photo_id":"1402195153","filename":"file4"},{"photo_id":"1402195145","filename":"file1"},{"photo_id":"1402195138","filename":"file0"},{"photo_id":"1402195152","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195145":["hashtag1","hashtag2"]},{"1402195150":["hashtag1","hashtag2"]},{"1402195153":["hashtag1","hashtag2"]},{"1402195138":["hashtag1","hashtag2"]},{"1402195152":["hashtag1","hashtag2"]},{"1402195155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195145, 1402195150, 1402195153, 1402195138, 1402195152, 1402195155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90332078933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:51:42.409869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_13_2676.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_31_6215.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_34_1542.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_37_2616.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_41_3700.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_43_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_13_2676.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_31_6215.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_34_1542.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_37_2616.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_41_3700.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_43_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195171","1402195168","1402195162","1402195170","1402195164","1402195166"],"photo_ids_order":["1402195162","1402195164","1402195166","1402195168","1402195170","1402195171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3304bc3f40b3521b7f6e2dfa9dc29b09.jpg","text":"TemporaryFile(/tmp/multipartBody1667945719910842042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383564285,"filename":"image_05112025_22_11_43_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/2/5848aa52070f6cd57c3bbb874e928ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8281456063163877391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383564285,"filename":"image_05112025_22_11_37_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/2/e93f737f640e5ac2363c5f28da42076f.jpg","text":"TemporaryFile(/tmp/multipartBody444317911089475918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383564285,"filename":"image_05112025_22_11_13_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/2/dd22bec82ccc83cf93614734b29ee9df.jpg","text":"TemporaryFile(/tmp/multipartBody4269399338709749076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383564285,"filename":"image_05112025_22_11_41_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/2/e9c79ab965cd75d0b75a5c9732a2ba45.jpg","text":"TemporaryFile(/tmp/multipartBody7505808502988631169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383564285,"filename":"image_05112025_22_11_31_6215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8ad328684dfbd6f55d4f766624a41d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7950322957876625333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383564285,"filename":"image_05112025_22_11_34_1542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195166","file1":"1402195164","file0":"1402195162","file4":"1402195170","file5":"1402195171","file3":"1402195168"},"map_files_photo_id_array":[{"photo_id":"1402195171","filename":"file5"},{"photo_id":"1402195166","filename":"file2"},{"photo_id":"1402195170","filename":"file4"},{"photo_id":"1402195164","filename":"file1"},{"photo_id":"1402195162","filename":"file0"},{"photo_id":"1402195168","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195171":["hashtag1","hashtag2"]},{"1402195168":["hashtag1","hashtag2"]},{"1402195162":["hashtag1","hashtag2"]},{"1402195170":["hashtag1","hashtag2"]},{"1402195164":["hashtag1","hashtag2"]},{"1402195166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195171, 1402195168, 1402195162, 1402195170, 1402195164, 1402195166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77094531059265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:52:22.613664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_14_9620.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_25_10543.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_34_9689.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_45_10681.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_55_9637.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_21_04_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_14_9620.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_25_10543.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_34_9689.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_45_10681.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_55_9637.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_21_04_9656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5050363540649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:52:32.706342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_50_3468.jpg', '/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_54_4807.jpg', '/home/pi/Desktop/images/05112025/22/16/image_05112025_22_16_07_3011.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_07_3013.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_10_3722.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_13_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_50_3468.jpg
/home/pi/Desktop/images/05112025/22/11/image_05112025_22_11_54_4807.jpg
/home/pi/Desktop/images/05112025/22/16/image_05112025_22_16_07_3011.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_07_3013.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_10_3722.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_13_2600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195183","1402195192","1402195186","1402195190","1402195193","1402195196"],"photo_ids_order":["1402195183","1402195186","1402195190","1402195192","1402195193","1402195196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9794e143b497afc34ebc4b5beb0a44fb.jpg","text":"TemporaryFile(/tmp/multipartBody6293649990901251602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383614603,"filename":"image_05112025_22_11_50_3468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9f62cca6a70496279d04e2a9043c9029.jpg","text":"TemporaryFile(/tmp/multipartBody960342365655423727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383614603,"filename":"image_05112025_22_19_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/2/292c82928e5c6b8873dca56877f674ca.jpg","text":"TemporaryFile(/tmp/multipartBody8604602134862740909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383614603,"filename":"image_05112025_22_11_54_4807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/77bf7f2c3c8af5c0cc9380261cbc0a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8543651375016606958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383614603,"filename":"image_05112025_22_16_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/2/b4bf3db517d4f9e982a0607e04c07e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5483427403086714853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383614603,"filename":"image_05112025_22_19_10_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/2/9ad732bbeb3f6c8765f019278d9a1ec2.jpg","text":"TemporaryFile(/tmp/multipartBody8011991301859752955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383614603,"filename":"image_05112025_22_19_13_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195190","file1":"1402195186","file0":"1402195183","file4":"1402195193","file5":"1402195196","file3":"1402195192"},"map_files_photo_id_array":[{"photo_id":"1402195196","filename":"file5"},{"photo_id":"1402195190","filename":"file2"},{"photo_id":"1402195193","filename":"file4"},{"photo_id":"1402195186","filename":"file1"},{"photo_id":"1402195183","filename":"file0"},{"photo_id":"1402195192","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195183":["hashtag1","hashtag2"]},{"1402195192":["hashtag1","hashtag2"]},{"1402195186":["hashtag1","hashtag2"]},{"1402195190":["hashtag1","hashtag2"]},{"1402195193":["hashtag1","hashtag2"]},{"1402195196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195183, 1402195192, 1402195186, 1402195190, 1402195193, 1402195196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80262303352356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:53:12.746484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_27_11012.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_35_1700.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_37_1571.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_43_2653.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_53_7165.jpg', '/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_55_1758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_27_11012.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_35_1700.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_37_1571.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_43_2653.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_53_7165.jpg
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_55_1758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195202","1402195208","1402195204","1402195197","1402195206","1402195199"],"photo_ids_order":["1402195197","1402195199","1402195202","1402195204","1402195206","1402195208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9df53e996e288c2148467597624afd26.jpg","text":"TemporaryFile(/tmp/multipartBody3213857294030710426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383654498,"filename":"image_05112025_22_19_37_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/2/c9c397d33a2b5dfcdf92d869f40961c4.jpg","text":"TemporaryFile(/tmp/multipartBody4681037995282276326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383654498,"filename":"image_05112025_22_19_55_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/2/31ede28333217cb6dd4dfd25d9da2fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8238344403535656084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383654498,"filename":"image_05112025_22_19_43_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/2/00f92187b6e61224fc3dda19880e0943.jpg","text":"TemporaryFile(/tmp/multipartBody7832535788700622680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383654498,"filename":"image_05112025_22_19_27_11012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/30676e7b2cdaf2dbe579473a49e5b24a.jpg","text":"TemporaryFile(/tmp/multipartBody7495063789078641171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383654498,"filename":"image_05112025_22_19_53_7165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3c22527e9f8cb4bf2cb8aea01e892346.jpg","text":"TemporaryFile(/tmp/multipartBody1402048793120778778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383654498,"filename":"image_05112025_22_19_35_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195202","file1":"1402195199","file0":"1402195197","file4":"1402195206","file5":"1402195208","file3":"1402195204"},"map_files_photo_id_array":[{"photo_id":"1402195208","filename":"file5"},{"photo_id":"1402195202","filename":"file2"},{"photo_id":"1402195206","filename":"file4"},{"photo_id":"1402195199","filename":"file1"},{"photo_id":"1402195197","filename":"file0"},{"photo_id":"1402195204","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195202":["hashtag1","hashtag2"]},{"1402195208":["hashtag1","hashtag2"]},{"1402195204":["hashtag1","hashtag2"]},{"1402195197":["hashtag1","hashtag2"]},{"1402195206":["hashtag1","hashtag2"]},{"1402195199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195202, 1402195208, 1402195204, 1402195197, 1402195206, 1402195199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.919137477874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:54:02.807458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_14_9620.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_25_10543.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_34_9689.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_45_10681.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_55_9637.jpg', '/home/pi/Desktop/images/02012026/20/20/image_02012026_20_21_04_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_14_9620.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_25_10543.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_34_9689.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_45_10681.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_20_55_9637.jpg
/home/pi/Desktop/images/02012026/20/20/image_02012026_20_21_04_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195211","1402195214","1402195213","1402195216","1402195219","1402195212"],"photo_ids_order":["1402195211","1402195212","1402195213","1402195214","1402195216","1402195219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d08947509d3b85e8d22dbd3462c2905c.jpg","text":"TemporaryFile(/tmp/multipartBody7396167940611484288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383703456,"filename":"image_02012026_20_20_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/2/9ab62a79055f21cf6cba8de05264162d.jpg","text":"TemporaryFile(/tmp/multipartBody7185191956680451843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383703456,"filename":"image_02012026_20_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/2/aef8473eec7e29d14449be60b021ed78.jpg","text":"TemporaryFile(/tmp/multipartBody4600665461892479057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383703456,"filename":"image_02012026_20_20_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/2/64a69f8f624b57bd7d3eda4bef474a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6902437262553916624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383703456,"filename":"image_02012026_20_20_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/2/3b15f544fa77778bf049af1eb7b01027.jpg","text":"TemporaryFile(/tmp/multipartBody5574051807606371369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383703456,"filename":"image_02012026_20_21_04_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/2/de3d354ee1c325f58269c9a2d328b7b7.jpg","text":"TemporaryFile(/tmp/multipartBody5788381007682938749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383703456,"filename":"image_02012026_20_20_25_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195213","file1":"1402195212","file0":"1402195211","file4":"1402195216","file5":"1402195219","file3":"1402195214"},"map_files_photo_id_array":[{"photo_id":"1402195219","filename":"file5"},{"photo_id":"1402195213","filename":"file2"},{"photo_id":"1402195216","filename":"file4"},{"photo_id":"1402195212","filename":"file1"},{"photo_id":"1402195211","filename":"file0"},{"photo_id":"1402195214","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195211":["hashtag1","hashtag2"]},{"1402195214":["hashtag1","hashtag2"]},{"1402195213":["hashtag1","hashtag2"]},{"1402195216":["hashtag1","hashtag2"]},{"1402195219":["hashtag1","hashtag2"]},{"1402195212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195211, 1402195214, 1402195213, 1402195216, 1402195219, 1402195212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36800527572632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:54:42.010288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_56_1549.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_07_3017.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_29_3786.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_32_2673.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_35_2699.jpg', '/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_06_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_56_1549.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_07_3017.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_29_3786.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_32_2673.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_35_2699.jpg
/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_06_3014.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7344472408294678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:55:02.773608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_14_9761.jpg', '/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_35_9879.jpg', '/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_44_9756.jpg', '/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_55_10641.jpg', '/home/pi/Desktop/images/02012026/20/21/image_02012026_20_22_05_9720.jpg', '/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_24_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_14_9761.jpg
/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_35_9879.jpg
/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_44_9756.jpg
/home/pi/Desktop/images/02012026/20/21/image_02012026_20_21_55_10641.jpg
/home/pi/Desktop/images/02012026/20/21/image_02012026_20_22_05_9720.jpg
/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_24_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195238","1402195232","1402195240","1402195234","1402195236","1402195233"],"photo_ids_order":["1402195232","1402195233","1402195234","1402195236","1402195238","1402195240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91b0680836861ee981d57cdf73c73802.jpg","text":"TemporaryFile(/tmp/multipartBody2611105606156555823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383763391,"filename":"image_02012026_20_22_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/2/87a4b1b91f6619ca85de739f200352ef.jpg","text":"TemporaryFile(/tmp/multipartBody7834681165176254496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383763391,"filename":"image_02012026_20_21_14_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/2/eb6b8ef0e4ef8ab9e9f3e7b8822d4461.jpg","text":"TemporaryFile(/tmp/multipartBody4038976848743966598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383763391,"filename":"image_02012026_20_22_24_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/2/02202905039a3b879dda954a8e29949b.jpg","text":"TemporaryFile(/tmp/multipartBody8876823723017215623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383763391,"filename":"image_02012026_20_21_44_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/2/dae03f2737d74abf6510c6df1cf54b19.jpg","text":"TemporaryFile(/tmp/multipartBody546451540676459689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383763391,"filename":"image_02012026_20_21_55_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/2/04c6136cc166ffd89cc69b86b51e486a.jpg","text":"TemporaryFile(/tmp/multipartBody8552398410963281811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383763391,"filename":"image_02012026_20_21_35_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195234","file1":"1402195233","file0":"1402195232","file4":"1402195238","file5":"1402195240","file3":"1402195236"},"map_files_photo_id_array":[{"photo_id":"1402195240","filename":"file5"},{"photo_id":"1402195234","filename":"file2"},{"photo_id":"1402195238","filename":"file4"},{"photo_id":"1402195233","filename":"file1"},{"photo_id":"1402195232","filename":"file0"},{"photo_id":"1402195236","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195238":["hashtag1","hashtag2"]},{"1402195232":["hashtag1","hashtag2"]},{"1402195240":["hashtag1","hashtag2"]},{"1402195234":["hashtag1","hashtag2"]},{"1402195236":["hashtag1","hashtag2"]},{"1402195233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195238, 1402195232, 1402195240, 1402195234, 1402195236, 1402195233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8784716129303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:55:42.207661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_56_1549.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_07_3017.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_29_3786.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_32_2673.jpg', '/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_35_2699.jpg', '/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_06_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/19/image_05112025_22_19_56_1549.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_07_3017.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_29_3786.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_32_2673.jpg
/home/pi/Desktop/images/05112025/22/22/image_05112025_22_22_35_2699.jpg
/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_06_3014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195250","1402195246","1402195249","1402195251","1402195248","1402195247"],"photo_ids_order":["1402195246","1402195247","1402195248","1402195249","1402195250","1402195251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ba8002a9deae7814facb6015b8345b5f.jpg","text":"TemporaryFile(/tmp/multipartBody810293716148082031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383803903,"filename":"image_05112025_22_22_35_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/2/46ae94aaf8f1cf6f05294bdfac9d2d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1358809831935727174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383803903,"filename":"image_05112025_22_19_56_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/2/b188c78f6c344017cb9e25ac958fbf80.jpg","text":"TemporaryFile(/tmp/multipartBody9015039738461577160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383803903,"filename":"image_05112025_22_22_32_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/2/0ab107b4e6e47a841fda6012c70d8f38.jpg","text":"TemporaryFile(/tmp/multipartBody870802116952348476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383803903,"filename":"image_05112025_22_24_06_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5796818a8e87056719c630e68cd5b780.jpg","text":"TemporaryFile(/tmp/multipartBody671139503094832864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383803903,"filename":"image_05112025_22_22_29_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/2/4e8cedae47a4bf268476387bc8e85827.jpg","text":"TemporaryFile(/tmp/multipartBody4600309047753152716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383803903,"filename":"image_05112025_22_22_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195248","file1":"1402195247","file0":"1402195246","file4":"1402195250","file5":"1402195251","file3":"1402195249"},"map_files_photo_id_array":[{"photo_id":"1402195251","filename":"file5"},{"photo_id":"1402195248","filename":"file2"},{"photo_id":"1402195250","filename":"file4"},{"photo_id":"1402195247","filename":"file1"},{"photo_id":"1402195246","filename":"file0"},{"photo_id":"1402195249","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195250":["hashtag1","hashtag2"]},{"1402195246":["hashtag1","hashtag2"]},{"1402195249":["hashtag1","hashtag2"]},{"1402195251":["hashtag1","hashtag2"]},{"1402195248":["hashtag1","hashtag2"]},{"1402195247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195250, 1402195246, 1402195249, 1402195251, 1402195248, 1402195247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57285451889038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 20:56:24.927371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_35_10766.jpg', '/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_44_9583.jpg', '/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_54_9796.jpg', '/home/pi/Desktop/images/02012026/20/22/image_02012026_20_23_05_10673.jpg', '/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_15_9773.jpg', '/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_24_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_35_10766.jpg
/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_44_9583.jpg
/home/pi/Desktop/images/02012026/20/22/image_02012026_20_22_54_9796.jpg
/home/pi/Desktop/images/02012026/20/22/image_02012026_20_23_05_10673.jpg
/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_15_9773.jpg
/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_24_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195262","1402195256","1402195264","1402195258","1402195260","1402195253"],"photo_ids_order":["1402195253","1402195256","1402195258","1402195260","1402195262","1402195264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1455ab6a9a1db649593ce0a49cf28a64.jpg","text":"TemporaryFile(/tmp/multipartBody4063070568903105335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383845553,"filename":"image_02012026_20_23_15_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/2/be0346b20c24c3a2ef25f463693f5468.jpg","text":"TemporaryFile(/tmp/multipartBody5996224623301402315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383845553,"filename":"image_02012026_20_22_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/2/681a2e7209db8612b388f6a3f75df30c.jpg","text":"TemporaryFile(/tmp/multipartBody7092369404892979775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383845553,"filename":"image_02012026_20_23_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/2/d1571ed2fbb5ced6ea730e858d469ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5985800341431443840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383845553,"filename":"image_02012026_20_22_54_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/2/25c99c15c726493056d5434474ad989b.jpg","text":"TemporaryFile(/tmp/multipartBody7396304106398391886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383845553,"filename":"image_02012026_20_23_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/2/4269deb7543ff8541c64454a65ae7be3.jpg","text":"TemporaryFile(/tmp/multipartBody3783317726151290609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383845553,"filename":"image_02012026_20_22_35_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195258","file1":"1402195256","file0":"1402195253","file4":"1402195262","file5":"1402195264","file3":"1402195260"},"map_files_photo_id_array":[{"photo_id":"1402195264","filename":"file5"},{"photo_id":"1402195258","filename":"file2"},{"photo_id":"1402195262","filename":"file4"},{"photo_id":"1402195256","filename":"file1"},{"photo_id":"1402195253","filename":"file0"},{"photo_id":"1402195260","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195262":["hashtag1","hashtag2"]},{"1402195256":["hashtag1","hashtag2"]},{"1402195264":["hashtag1","hashtag2"]},{"1402195258":["hashtag1","hashtag2"]},{"1402195260":["hashtag1","hashtag2"]},{"1402195253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195262, 1402195256, 1402195264, 1402195258, 1402195260, 1402195253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09285545349121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:57:03.372084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_35_10580.jpg', '/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_44_9635.jpg', '/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_55_10607.jpg', '/home/pi/Desktop/images/02012026/20/23/image_02012026_20_24_05_9789.jpg', '/home/pi/Desktop/images/02012026/20/24/image_02012026_20_24_14_9643.jpg', '/home/pi/Desktop/images/02012026/20/24/image_02012026_20_24_55_10546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_35_10580.jpg
/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_44_9635.jpg
/home/pi/Desktop/images/02012026/20/23/image_02012026_20_23_55_10607.jpg
/home/pi/Desktop/images/02012026/20/23/image_02012026_20_24_05_9789.jpg
/home/pi/Desktop/images/02012026/20/24/image_02012026_20_24_14_9643.jpg
/home/pi/Desktop/images/02012026/20/24/image_02012026_20_24_55_10546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195267","1402195272","1402195269","1402195271","1402195274","1402195268"],"photo_ids_order":["1402195267","1402195268","1402195269","1402195271","1402195272","1402195274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a26ae44eacdbbec38abfa7fba429b0ce.jpg","text":"TemporaryFile(/tmp/multipartBody8295933399557518814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383884014,"filename":"image_02012026_20_23_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/2/c91da1f7d30f315613736b9ccf3387c0.jpg","text":"TemporaryFile(/tmp/multipartBody6970967804903939302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383884014,"filename":"image_02012026_20_24_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/2/76cb86689b078bcde8df138973facfb5.jpg","text":"TemporaryFile(/tmp/multipartBody2226044277019014062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383884014,"filename":"image_02012026_20_23_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/2/c202e049806d68e9b1d5d719c0150f50.jpg","text":"TemporaryFile(/tmp/multipartBody5569940766598254560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383884014,"filename":"image_02012026_20_24_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/2/8fffefe4f84484a841a836eb6f172537.jpg","text":"TemporaryFile(/tmp/multipartBody6953014069791496838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383884014,"filename":"image_02012026_20_24_55_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/2/8c7119b07e893e5aa9cec65f246b3943.jpg","text":"TemporaryFile(/tmp/multipartBody1434488078213623565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383884014,"filename":"image_02012026_20_23_44_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195269","file1":"1402195268","file0":"1402195267","file4":"1402195272","file5":"1402195274","file3":"1402195271"},"map_files_photo_id_array":[{"photo_id":"1402195274","filename":"file5"},{"photo_id":"1402195269","filename":"file2"},{"photo_id":"1402195272","filename":"file4"},{"photo_id":"1402195268","filename":"file1"},{"photo_id":"1402195267","filename":"file0"},{"photo_id":"1402195271","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402195267":["hashtag1","hashtag2"]},{"1402195272":["hashtag1","hashtag2"]},{"1402195269":["hashtag1","hashtag2"]},{"1402195271":["hashtag1","hashtag2"]},{"1402195274":["hashtag1","hashtag2"]},{"1402195268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402195267, 1402195272, 1402195269, 1402195271, 1402195274, 1402195268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09445309638977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:57:42.754766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_10_3679.jpg', '/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_13_2600.jpg', '/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_22_2821.jpg', '/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_42_20127.jpg', '/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_20_6595.jpg', '/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_23_1798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_10_3679.jpg
/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_13_2600.jpg
/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_22_2821.jpg
/home/pi/Desktop/images/05112025/22/24/image_05112025_22_24_42_20127.jpg
/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_20_6595.jpg
/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_23_1798.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402195294","1402195297","1402195327","1402195296","1402195326","1402195295"],"photo_ids_order":["1402195294","1402195295","1402195296","1402195297","1402195326","1402195327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73f73b4a2bdc65a8a43703ec41aaaa59.jpg","text":"TemporaryFile(/tmp/multipartBody3133663350181196227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383924599,"filename":"image_05112025_22_24_10_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/2/820f6a168c82cde4a3493d85162247d7.jpg","text":"TemporaryFile(/tmp/multipartBody3168075168303586049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383924599,"filename":"image_05112025_22_24_42_20127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9b1376050f1b1972d87561e570a363ec.jpg","text":"TemporaryFile(/tmp/multipartBody6290012082702206624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383924599,"filename":"image_05112025_22_25_23_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/2/2b4c7c4f0d8ab5d11e87294941358030.jpg","text":"TemporaryFile(/tmp/multipartBody3914813081126427451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383924599,"filename":"image_05112025_22_24_22_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/63ed6eb334123fa503e3b806d838aa09.jpg","text":"TemporaryFile(/tmp/multipartBody255752459620168169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383924599,"filename":"image_05112025_22_25_20_6595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e38cebf6053b6384afbb3303c2d5acdf.jpg","text":"TemporaryFile(/tmp/multipartBody4344131465697322992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767383924599,"filename":"image_05112025_22_24_13_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402195296","file1":"1402195295","file0":"1402195294","file4":"1402195326","file5":"1402195327","file3":"1402195297"},"map_files_photo_id_array":[{"photo_id":"1402195327","filename":"file5"},{"photo_id":"1402195296","filename":"file2"},{"photo_id":"1402195326","filename":"file4"},{"photo_id":"1402195295","filename":"file1"},{"photo_id":"1402195294","filename":"file0"},{"photo_id":"1402195297","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402195294":["hashtag1","hashtag2"]},{"1402195297":["hashtag1","hashtag2"]},{"1402195327":["hashtag1","hashtag2"]},{"1402195296":["hashtag1","hashtag2"]},{"1402195326":["hashtag1","hashtag2"]},{"1402195295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402195294, 1402195297, 1402195327, 1402195296, 1402195326, 1402195295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.363486528396606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 20:59:03.060955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/24/image_02012026_20_25_05_9659.jpg', '/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_14_9673.jpg', '/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_25_10590.jpg', '/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_34_9686.jpg', '/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_44_9652.jpg', '/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_55_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/24/image_02012026_20_25_05_9659.jpg
/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_14_9673.jpg
/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_25_10590.jpg
/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_34_9686.jpg
/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_44_9652.jpg
/home/pi/Desktop/images/02012026/20/25/image_02012026_20_25_55_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":["1402196242","1402195981","1402196046","1402196099","1402196201","1402196144"],"photo_ids_order":["1402195981","1402196046","1402196099","1402196144","1402196201","1402196242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b820636467f697a1f71be51d2287f454.jpg","text":"TemporaryFile(/tmp/multipartBody3019987366517452718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384003761,"filename":"image_02012026_20_25_55_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/2/5a7ce01fd903e78b3a98ce3bb7268795.jpg","text":"TemporaryFile(/tmp/multipartBody8774511277078203804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384003761,"filename":"image_02012026_20_25_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/2/aa11579eee016bb5a21276abefc992d8.jpg","text":"TemporaryFile(/tmp/multipartBody5716693805000035073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384003761,"filename":"image_02012026_20_25_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/2/046d5214ad880c7cc492f20451a13318.jpg","text":"TemporaryFile(/tmp/multipartBody3850547348366067896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384003761,"filename":"image_02012026_20_25_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/2/48320c0f6935bf1986e4100923233fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4517825336576653206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384003761,"filename":"image_02012026_20_25_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/2/38f2f2350b8013bd1865002fb0f5e6c1.jpg","text":"TemporaryFile(/tmp/multipartBody2173654814551667493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384003761,"filename":"image_02012026_20_25_34_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196099","file1":"1402196046","file0":"1402195981","file4":"1402196201","file5":"1402196242","file3":"1402196144"},"map_files_photo_id_array":[{"photo_id":"1402196242","filename":"file5"},{"photo_id":"1402196099","filename":"file2"},{"photo_id":"1402196201","filename":"file4"},{"photo_id":"1402196046","filename":"file1"},{"photo_id":"1402195981","filename":"file0"},{"photo_id":"1402196144","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196242":["hashtag1","hashtag2"]},{"1402195981":["hashtag1","hashtag2"]},{"1402196046":["hashtag1","hashtag2"]},{"1402196099":["hashtag1","hashtag2"]},{"1402196201":["hashtag1","hashtag2"]},{"1402196144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196242, 1402195981, 1402196046, 1402196099, 1402196201, 1402196144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09884548187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 20:59:42.127131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_46_22570.jpg', '/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_54_1747.jpg', '/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_55_1676.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_07_3011.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_20_3572.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_22_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_46_22570.jpg
/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_54_1747.jpg
/home/pi/Desktop/images/05112025/22/25/image_05112025_22_25_55_1676.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_07_3011.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_20_3572.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_22_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196323","1402196342","1402196366","1402196345","1402196348","1402196327"],"photo_ids_order":["1402196323","1402196327","1402196342","1402196345","1402196348","1402196366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/88cb634429f82150b3c9c615624467a2.jpg","text":"TemporaryFile(/tmp/multipartBody5265777149097559641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384043950,"filename":"image_05112025_22_25_46_22570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/663d986e1b6e4b7920c223d8c0b80078.jpg","text":"TemporaryFile(/tmp/multipartBody947439013450733156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384043950,"filename":"image_05112025_22_25_55_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/2/159368601aa28b13329c73a7dade5276.jpg","text":"TemporaryFile(/tmp/multipartBody180034528108268283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384043950,"filename":"image_05112025_22_29_22_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/2/757fc3e9f33a3fa1a0eac55815b3ffa3.jpg","text":"TemporaryFile(/tmp/multipartBody400665862515372643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384043950,"filename":"image_05112025_22_29_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/2/52fb9dc9467afc6e9bdc44b30a8d7a80.jpg","text":"TemporaryFile(/tmp/multipartBody8346366023740675809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384043950,"filename":"image_05112025_22_29_20_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/2/55ff3275adc19b63ec4c2115f0d39541.jpg","text":"TemporaryFile(/tmp/multipartBody5448362051315142678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384043950,"filename":"image_05112025_22_25_54_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196342","file1":"1402196327","file0":"1402196323","file4":"1402196348","file5":"1402196366","file3":"1402196345"},"map_files_photo_id_array":[{"photo_id":"1402196366","filename":"file5"},{"photo_id":"1402196342","filename":"file2"},{"photo_id":"1402196348","filename":"file4"},{"photo_id":"1402196327","filename":"file1"},{"photo_id":"1402196323","filename":"file0"},{"photo_id":"1402196345","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196323":["hashtag1","hashtag2"]},{"1402196342":["hashtag1","hashtag2"]},{"1402196366":["hashtag1","hashtag2"]},{"1402196345":["hashtag1","hashtag2"]},{"1402196348":["hashtag1","hashtag2"]},{"1402196327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196323, 1402196342, 1402196366, 1402196345, 1402196348, 1402196327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5830078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:00:22.287988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/25/image_02012026_20_26_05_9662.jpg', '/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_14_9636.jpg', '/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_25_10623.jpg', '/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_44_9638.jpg', '/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_55_10690.jpg', '/home/pi/Desktop/images/02012026/20/26/image_02012026_20_27_05_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/25/image_02012026_20_26_05_9662.jpg
/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_14_9636.jpg
/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_25_10623.jpg
/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_44_9638.jpg
/home/pi/Desktop/images/02012026/20/26/image_02012026_20_26_55_10690.jpg
/home/pi/Desktop/images/02012026/20/26/image_02012026_20_27_05_9888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196539","1402196524","1402196503","1402196553","1402196492","1402196546"],"photo_ids_order":["1402196492","1402196503","1402196524","1402196539","1402196546","1402196553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7f21a79c50af80ebb5d46ffd0696287e.jpg","text":"TemporaryFile(/tmp/multipartBody4097052073508916010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384082863,"filename":"image_02012026_20_26_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/2/8083a24ec8b1ab38902501e2d5e1903a.jpg","text":"TemporaryFile(/tmp/multipartBody6052388449257766087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384082863,"filename":"image_02012026_20_26_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/2/6be8684b683c711c0257e83ca712ae04.jpg","text":"TemporaryFile(/tmp/multipartBody4319876027630360791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384082863,"filename":"image_02012026_20_26_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/2/b3d9a963e41c1411b0c04d5ac561e310.jpg","text":"TemporaryFile(/tmp/multipartBody8780298092986124624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384082863,"filename":"image_02012026_20_27_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/2/cb5bd650aa4c9ef6b6c425e77a6e5fec.jpg","text":"TemporaryFile(/tmp/multipartBody7694063892805573441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384082863,"filename":"image_02012026_20_26_05_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/2/ddeab1ad7040c59141f3aaebf7b18e80.jpg","text":"TemporaryFile(/tmp/multipartBody5525860386466780715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384082863,"filename":"image_02012026_20_26_55_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196524","file1":"1402196503","file0":"1402196492","file4":"1402196546","file5":"1402196553","file3":"1402196539"},"map_files_photo_id_array":[{"photo_id":"1402196553","filename":"file5"},{"photo_id":"1402196524","filename":"file2"},{"photo_id":"1402196546","filename":"file4"},{"photo_id":"1402196503","filename":"file1"},{"photo_id":"1402196492","filename":"file0"},{"photo_id":"1402196539","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196539":["hashtag1","hashtag2"]},{"1402196524":["hashtag1","hashtag2"]},{"1402196503":["hashtag1","hashtag2"]},{"1402196553":["hashtag1","hashtag2"]},{"1402196492":["hashtag1","hashtag2"]},{"1402196546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196539, 1402196524, 1402196503, 1402196553, 1402196492, 1402196546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.830552101135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:01:03.221245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_15_10037.jpg', '/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_25_9721.jpg', '/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_34_9819.jpg', '/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_45_10564.jpg', '/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_55_9849.jpg', '/home/pi/Desktop/images/02012026/20/27/image_02012026_20_28_04_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_15_10037.jpg
/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_25_9721.jpg
/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_34_9819.jpg
/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_45_10564.jpg
/home/pi/Desktop/images/02012026/20/27/image_02012026_20_27_55_9849.jpg
/home/pi/Desktop/images/02012026/20/27/image_02012026_20_28_04_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":["1402196600","1402196599","1402196602","1402196598","1402196601","1402196604"],"photo_ids_order":["1402196598","1402196599","1402196600","1402196601","1402196602","1402196604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0aef7224770214e364680234ce67bd15.jpg","text":"TemporaryFile(/tmp/multipartBody7499448721415654876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384123882,"filename":"image_02012026_20_27_34_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/2/c8340fd2c17d4a51bc5596f2ae5508b6.jpg","text":"TemporaryFile(/tmp/multipartBody3421576269310378398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384123882,"filename":"image_02012026_20_27_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/2/b53ace49059616ca70ae635061e85775.jpg","text":"TemporaryFile(/tmp/multipartBody3644480752999534166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384123882,"filename":"image_02012026_20_27_55_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/2/4a8b4c09c6e2e609f406c9a2b99aee6c.jpg","text":"TemporaryFile(/tmp/multipartBody109220923570354263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384123882,"filename":"image_02012026_20_27_15_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/2/d2d80797c0cd5220c99881af55e77e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4459130729044430222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384123882,"filename":"image_02012026_20_27_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/2/6e6661d466bde53e4fb0a9851d36b097.jpg","text":"TemporaryFile(/tmp/multipartBody4928363110149884491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384123882,"filename":"image_02012026_20_28_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196600","file1":"1402196599","file0":"1402196598","file4":"1402196602","file5":"1402196604","file3":"1402196601"},"map_files_photo_id_array":[{"photo_id":"1402196604","filename":"file5"},{"photo_id":"1402196600","filename":"file2"},{"photo_id":"1402196602","filename":"file4"},{"photo_id":"1402196599","filename":"file1"},{"photo_id":"1402196598","filename":"file0"},{"photo_id":"1402196601","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196600":["hashtag1","hashtag2"]},{"1402196599":["hashtag1","hashtag2"]},{"1402196602":["hashtag1","hashtag2"]},{"1402196598":["hashtag1","hashtag2"]},{"1402196601":["hashtag1","hashtag2"]},{"1402196604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196600, 1402196599, 1402196602, 1402196598, 1402196601, 1402196604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.049396991729736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:01:42.582109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_25_2522.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_31_2665.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_40_3531.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_43_2704.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_47_3634.jpg', '/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_49_2319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_25_2522.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_31_2665.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_40_3531.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_43_2704.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_47_3634.jpg
/home/pi/Desktop/images/05112025/22/29/image_05112025_22_29_49_2319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196615","1402196614","1402196610","1402196613","1402196616","1402196612"],"photo_ids_order":["1402196610","1402196612","1402196613","1402196614","1402196615","1402196616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b92c861ca614e017f8126dc80e693d70.jpg","text":"TemporaryFile(/tmp/multipartBody5939916938388076029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384164423,"filename":"image_05112025_22_29_47_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/2/7fb8dd8b8ddb6138c210c9ddeb005a02.jpg","text":"TemporaryFile(/tmp/multipartBody9026596229782496840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384164423,"filename":"image_05112025_22_29_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/2/759bee9d47671223edd9ca40aca1600e.jpg","text":"TemporaryFile(/tmp/multipartBody2642854798400277054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384164423,"filename":"image_05112025_22_29_25_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/2/c05cb7b84359060c334096fe0f52d992.jpg","text":"TemporaryFile(/tmp/multipartBody7167041662913622182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384164423,"filename":"image_05112025_22_29_40_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/2/d2209066c9ca359d62f4df55cd792cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8768696791112519347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384164423,"filename":"image_05112025_22_29_49_2319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1db6975ea8c819cb17c5ecd9c86cb4c.jpg","text":"TemporaryFile(/tmp/multipartBody2438131838376000739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384164423,"filename":"image_05112025_22_29_31_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196613","file1":"1402196612","file0":"1402196610","file4":"1402196615","file5":"1402196616","file3":"1402196614"},"map_files_photo_id_array":[{"photo_id":"1402196616","filename":"file5"},{"photo_id":"1402196613","filename":"file2"},{"photo_id":"1402196615","filename":"file4"},{"photo_id":"1402196612","filename":"file1"},{"photo_id":"1402196610","filename":"file0"},{"photo_id":"1402196614","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196615":["hashtag1","hashtag2"]},{"1402196614":["hashtag1","hashtag2"]},{"1402196610":["hashtag1","hashtag2"]},{"1402196613":["hashtag1","hashtag2"]},{"1402196616":["hashtag1","hashtag2"]},{"1402196612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196615, 1402196614, 1402196610, 1402196613, 1402196616, 1402196612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0399444103241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:02:22.793783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/28/image_02012026_20_28_15_10398.jpg', '/home/pi/Desktop/images/02012026/20/28/image_02012026_20_28_45_10664.jpg', '/home/pi/Desktop/images/02012026/20/28/image_02012026_20_28_54_9693.jpg', '/home/pi/Desktop/images/02012026/20/28/image_02012026_20_29_04_9657.jpg', '/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_15_10716.jpg', '/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/28/image_02012026_20_28_15_10398.jpg
/home/pi/Desktop/images/02012026/20/28/image_02012026_20_28_45_10664.jpg
/home/pi/Desktop/images/02012026/20/28/image_02012026_20_28_54_9693.jpg
/home/pi/Desktop/images/02012026/20/28/image_02012026_20_29_04_9657.jpg
/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_15_10716.jpg
/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_24_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":["1402196623","1402196617","1402196625","1402196619","1402196634","1402196621"],"photo_ids_order":["1402196617","1402196619","1402196621","1402196623","1402196625","1402196634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b83eedfa53ef9d6b5d3b83987633dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2395837172212555148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384203400,"filename":"image_02012026_20_29_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/2/f46af93b5ea0f0f230b30edbef8bb5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2843535889836076927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384203400,"filename":"image_02012026_20_28_15_10398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9cf49ddb4fad285926ba306e48f89b20.jpg","text":"TemporaryFile(/tmp/multipartBody5771798658448521920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384203400,"filename":"image_02012026_20_29_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/2/35cdceb87a2371d741ed0e195e99862d.jpg","text":"TemporaryFile(/tmp/multipartBody7476038447887270005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384203400,"filename":"image_02012026_20_28_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/2/e89e2efaed7e490cb7a1332fbc2f37d2.jpg","text":"TemporaryFile(/tmp/multipartBody8961648051430653545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384203400,"filename":"image_02012026_20_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/2/dc31034b7584994b594aeded7ee83a05.jpg","text":"TemporaryFile(/tmp/multipartBody8667878079549026194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384203400,"filename":"image_02012026_20_28_54_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196621","file1":"1402196619","file0":"1402196617","file4":"1402196625","file5":"1402196634","file3":"1402196623"},"map_files_photo_id_array":[{"photo_id":"1402196634","filename":"file5"},{"photo_id":"1402196621","filename":"file2"},{"photo_id":"1402196625","filename":"file4"},{"photo_id":"1402196619","filename":"file1"},{"photo_id":"1402196617","filename":"file0"},{"photo_id":"1402196623","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196623":["hashtag1","hashtag2"]},{"1402196617":["hashtag1","hashtag2"]},{"1402196625":["hashtag1","hashtag2"]},{"1402196619":["hashtag1","hashtag2"]},{"1402196634":["hashtag1","hashtag2"]},{"1402196621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196623, 1402196617, 1402196625, 1402196619, 1402196634, 1402196621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37476992607117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:03:02.646303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_34_9592.jpg', '/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_45_10795.jpg', '/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_54_9633.jpg', '/home/pi/Desktop/images/02012026/20/29/image_02012026_20_30_04_9656.jpg', '/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_15_10777.jpg', '/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_35_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_34_9592.jpg
/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_45_10795.jpg
/home/pi/Desktop/images/02012026/20/29/image_02012026_20_29_54_9633.jpg
/home/pi/Desktop/images/02012026/20/29/image_02012026_20_30_04_9656.jpg
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_15_10777.jpg
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_35_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":["1402196662","1402196661","1402196685","1402196664","1402196643","1402196663"],"photo_ids_order":["1402196643","1402196661","1402196662","1402196663","1402196664","1402196685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a0c9fda1f3ddffcca5799c1e9c44d625.jpg","text":"TemporaryFile(/tmp/multipartBody7619662459318536123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384243284,"filename":"image_02012026_20_29_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/2/353e42e4d61c7f6ac78d4a3a1e8b1c2d.jpg","text":"TemporaryFile(/tmp/multipartBody2497160140339228486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384243284,"filename":"image_02012026_20_29_45_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/2/705973e1d9461793eeea62bc1d7c0351.jpg","text":"TemporaryFile(/tmp/multipartBody853704965026182092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384243284,"filename":"image_02012026_20_30_35_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/34f3de4ee428616b735f040f169ce146.jpg","text":"TemporaryFile(/tmp/multipartBody6839880065762216169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384243284,"filename":"image_02012026_20_30_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/2/0df65cb8c05beaae19ca6902bab0a977.jpg","text":"TemporaryFile(/tmp/multipartBody5039014663888789965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384243284,"filename":"image_02012026_20_29_34_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/2/b179ce158afe4a54768127bb30618b70.jpg","text":"TemporaryFile(/tmp/multipartBody706761605975395241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384243284,"filename":"image_02012026_20_30_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196662","file1":"1402196661","file0":"1402196643","file4":"1402196664","file5":"1402196685","file3":"1402196663"},"map_files_photo_id_array":[{"photo_id":"1402196685","filename":"file5"},{"photo_id":"1402196662","filename":"file2"},{"photo_id":"1402196664","filename":"file4"},{"photo_id":"1402196661","filename":"file1"},{"photo_id":"1402196643","filename":"file0"},{"photo_id":"1402196663","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196662":["hashtag1","hashtag2"]},{"1402196661":["hashtag1","hashtag2"]},{"1402196685":["hashtag1","hashtag2"]},{"1402196664":["hashtag1","hashtag2"]},{"1402196643":["hashtag1","hashtag2"]},{"1402196663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196662, 1402196661, 1402196685, 1402196664, 1402196643, 1402196663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00338411331177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:03:41.962514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_46_1601.jpg', '/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_47_1591.jpg', '/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_49_1732.jpg', '/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_51_1548.jpg', '/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_52_1618.jpg', '/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_04_1889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_46_1601.jpg
/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_47_1591.jpg
/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_49_1732.jpg
/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_51_1548.jpg
/home/pi/Desktop/images/05112025/22/30/image_05112025_22_30_52_1618.jpg
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_04_1889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196722","1402196716","1402196719","1402196721","1402196720","1402196723"],"photo_ids_order":["1402196716","1402196719","1402196720","1402196721","1402196722","1402196723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c58d1478489bd7230709d3141d394a5b.jpg","text":"TemporaryFile(/tmp/multipartBody6636829634404846463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384283778,"filename":"image_05112025_22_30_52_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/2/5cbeb4d81b4ec674597045efd579e1db.jpg","text":"TemporaryFile(/tmp/multipartBody8183341547906306317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384283778,"filename":"image_05112025_22_30_46_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/2/fca2c1fbd7560be2d45d694e0af72eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3445187736506136781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384283778,"filename":"image_05112025_22_30_47_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/2/93f289408c1e7973e8505ff3c41cd05a.jpg","text":"TemporaryFile(/tmp/multipartBody9149201073925402670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384283778,"filename":"image_05112025_22_30_51_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/2/a2e5a4ba346c375845ecde8602e456da.jpg","text":"TemporaryFile(/tmp/multipartBody1444028340694771875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384283778,"filename":"image_05112025_22_30_49_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/2/d106c5635c792fb8203ac2561766ffac.jpg","text":"TemporaryFile(/tmp/multipartBody1571439922163159173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384283778,"filename":"image_05112025_22_31_04_1889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196720","file1":"1402196719","file0":"1402196716","file4":"1402196722","file5":"1402196723","file3":"1402196721"},"map_files_photo_id_array":[{"photo_id":"1402196723","filename":"file5"},{"photo_id":"1402196720","filename":"file2"},{"photo_id":"1402196722","filename":"file4"},{"photo_id":"1402196719","filename":"file1"},{"photo_id":"1402196716","filename":"file0"},{"photo_id":"1402196721","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196722":["hashtag1","hashtag2"]},{"1402196716":["hashtag1","hashtag2"]},{"1402196719":["hashtag1","hashtag2"]},{"1402196721":["hashtag1","hashtag2"]},{"1402196720":["hashtag1","hashtag2"]},{"1402196723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196722, 1402196716, 1402196719, 1402196721, 1402196720, 1402196723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00580048561096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:04:22.052900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_44_9548.jpg', '/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_55_10760.jpg', '/home/pi/Desktop/images/02012026/20/30/image_02012026_20_31_04_9638.jpg', '/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_34_9621.jpg', '/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_44_9678.jpg', '/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_55_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_44_9548.jpg
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_55_10760.jpg
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_31_04_9638.jpg
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_34_9621.jpg
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_44_9678.jpg
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_55_10792.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.44231581687927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:04:32.167048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_05_1747.jpg', '/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_07_1727.jpg', '/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_09_1652.jpg', '/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_10_1561.jpg', '/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_12_1534.jpg', '/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_14_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_05_1747.jpg
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_07_1727.jpg
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_09_1652.jpg
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_10_1561.jpg
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_12_1534.jpg
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_14_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196740","1402196737","1402196739","1402196730","1402196733","1402196741"],"photo_ids_order":["1402196730","1402196733","1402196737","1402196739","1402196740","1402196741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa18c9784d8e581f21cfdf8b63cc692d.jpg","text":"TemporaryFile(/tmp/multipartBody1908562746652896278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384334003,"filename":"image_05112025_22_31_12_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/2/a25a5bbbc495646f25e26f88b34cf593.jpg","text":"TemporaryFile(/tmp/multipartBody6147565669192653659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384334003,"filename":"image_05112025_22_31_09_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/2/f12f0e070f72baa63cb078219ed03e39.jpg","text":"TemporaryFile(/tmp/multipartBody7194297807187408856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384334003,"filename":"image_05112025_22_31_10_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/2/e46b043a625c348bf8741ebe78245416.jpg","text":"TemporaryFile(/tmp/multipartBody3321039785259580535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384334003,"filename":"image_05112025_22_31_05_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/2/65b26c4a88b430d94b146c4528aa4251.jpg","text":"TemporaryFile(/tmp/multipartBody7005061403512932801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384334003,"filename":"image_05112025_22_31_07_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/2/2cd81a5db1bfe1ea13bae81c03324506.jpg","text":"TemporaryFile(/tmp/multipartBody4405976822351481440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384334003,"filename":"image_05112025_22_31_14_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196737","file1":"1402196733","file0":"1402196730","file4":"1402196740","file5":"1402196741","file3":"1402196739"},"map_files_photo_id_array":[{"photo_id":"1402196741","filename":"file5"},{"photo_id":"1402196737","filename":"file2"},{"photo_id":"1402196740","filename":"file4"},{"photo_id":"1402196733","filename":"file1"},{"photo_id":"1402196730","filename":"file0"},{"photo_id":"1402196739","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196740":["hashtag1","hashtag2"]},{"1402196737":["hashtag1","hashtag2"]},{"1402196739":["hashtag1","hashtag2"]},{"1402196730":["hashtag1","hashtag2"]},{"1402196733":["hashtag1","hashtag2"]},{"1402196741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196740, 1402196737, 1402196739, 1402196730, 1402196733, 1402196741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92384696006775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:05:12.218934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_58_37838.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_07_3011.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_13_2742.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_16_2662.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_19_2865.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_25_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/31/image_05112025_22_31_58_37838.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_07_3011.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_13_2742.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_16_2662.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_19_2865.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_25_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196743","1402196746","1402196742","1402196745","1402196747","1402196744"],"photo_ids_order":["1402196742","1402196743","1402196744","1402196745","1402196746","1402196747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c40d11f7d361533f084617c8c5a0e6b6.jpg","text":"TemporaryFile(/tmp/multipartBody2263943894895309107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384373964,"filename":"image_05112025_22_34_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/2/b4061e37f1b07e898167afabb96a102b.jpg","text":"TemporaryFile(/tmp/multipartBody1592204165992127309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384373964,"filename":"image_05112025_22_34_19_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/2/ead2c3013ac362588f4944471358b978.jpg","text":"TemporaryFile(/tmp/multipartBody2240691025827549888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384373964,"filename":"image_05112025_22_31_58_37838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbc7640aa04b4afc39eabfafb9142371.jpg","text":"TemporaryFile(/tmp/multipartBody6537618308729380088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384373964,"filename":"image_05112025_22_34_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/2/9796772e22fc56337f65cbbcb4cb02dc.jpg","text":"TemporaryFile(/tmp/multipartBody6037897037271878139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384373964,"filename":"image_05112025_22_34_25_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/2/4555b9eac068268145624464b1c83fe0.jpg","text":"TemporaryFile(/tmp/multipartBody9112956356762527000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384373964,"filename":"image_05112025_22_34_13_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196744","file1":"1402196743","file0":"1402196742","file4":"1402196746","file5":"1402196747","file3":"1402196745"},"map_files_photo_id_array":[{"photo_id":"1402196747","filename":"file5"},{"photo_id":"1402196744","filename":"file2"},{"photo_id":"1402196746","filename":"file4"},{"photo_id":"1402196743","filename":"file1"},{"photo_id":"1402196742","filename":"file0"},{"photo_id":"1402196745","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196743":["hashtag1","hashtag2"]},{"1402196746":["hashtag1","hashtag2"]},{"1402196742":["hashtag1","hashtag2"]},{"1402196745":["hashtag1","hashtag2"]},{"1402196747":["hashtag1","hashtag2"]},{"1402196744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196743, 1402196746, 1402196742, 1402196745, 1402196747, 1402196744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48637580871582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:06:03.072507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_44_9548.jpg', '/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_55_10760.jpg', '/home/pi/Desktop/images/02012026/20/30/image_02012026_20_31_04_9638.jpg', '/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_34_9621.jpg', '/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_44_9678.jpg', '/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_55_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_44_9548.jpg
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_30_55_10760.jpg
/home/pi/Desktop/images/02012026/20/30/image_02012026_20_31_04_9638.jpg
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_34_9621.jpg
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_44_9678.jpg
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_31_55_10792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196752","1402196754","1402196751","1402196753","1402196756","1402196750"],"photo_ids_order":["1402196750","1402196751","1402196752","1402196753","1402196754","1402196756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0ac588783066610dc5c1f4b2f164b0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6052294094280220204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384423674,"filename":"image_02012026_20_31_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/2/e54b130f118bf778580a775874d7f3a5.jpg","text":"TemporaryFile(/tmp/multipartBody4321385980178606957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384423674,"filename":"image_02012026_20_31_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/2/7ba49d1e72cdf3ff993260f8e86e95eb.jpg","text":"TemporaryFile(/tmp/multipartBody1633486299118290743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384423674,"filename":"image_02012026_20_30_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/2/d0902b136a6bedba2c5f3c62eda0d713.jpg","text":"TemporaryFile(/tmp/multipartBody3458920506386592917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384423674,"filename":"image_02012026_20_31_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/2/8b4ae7f22fa9776a2ebe1e188211d4c9.jpg","text":"TemporaryFile(/tmp/multipartBody4863587938350353455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384423674,"filename":"image_02012026_20_31_55_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/2/02aaa813c857c992f4801f07d835338b.jpg","text":"TemporaryFile(/tmp/multipartBody2269479693086758314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384423674,"filename":"image_02012026_20_30_44_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196752","file1":"1402196751","file0":"1402196750","file4":"1402196754","file5":"1402196756","file3":"1402196753"},"map_files_photo_id_array":[{"photo_id":"1402196756","filename":"file5"},{"photo_id":"1402196752","filename":"file2"},{"photo_id":"1402196754","filename":"file4"},{"photo_id":"1402196751","filename":"file1"},{"photo_id":"1402196750","filename":"file0"},{"photo_id":"1402196753","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196752":["hashtag1","hashtag2"]},{"1402196754":["hashtag1","hashtag2"]},{"1402196751":["hashtag1","hashtag2"]},{"1402196753":["hashtag1","hashtag2"]},{"1402196756":["hashtag1","hashtag2"]},{"1402196750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196752, 1402196754, 1402196751, 1402196753, 1402196756, 1402196750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13881278038025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:06:42.640782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_28_2631.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_32_3768.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_34_2716.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_37_2547.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_46_9454.jpg', '/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_48_2010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_28_2631.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_32_3768.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_34_2716.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_37_2547.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_46_9454.jpg
/home/pi/Desktop/images/05112025/22/34/image_05112025_22_34_48_2010.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196761","1402196770","1402196769","1402196763","1402196771","1402196762"],"photo_ids_order":["1402196761","1402196762","1402196763","1402196769","1402196770","1402196771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1bb6a750e7297dd450407c2341878b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2938869239439764676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384464502,"filename":"image_05112025_22_34_28_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/2/994cf7d192668fb5a998008196e8a60f.jpg","text":"TemporaryFile(/tmp/multipartBody518984689560124042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384464502,"filename":"image_05112025_22_34_46_9454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a3ff3c11f4c51499325b4fa4408de0f.jpg","text":"TemporaryFile(/tmp/multipartBody6471183209643169685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384464502,"filename":"image_05112025_22_34_37_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/2/01a3748da3720e3b4350c43d604f02f0.jpg","text":"TemporaryFile(/tmp/multipartBody1421133162270063065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384464502,"filename":"image_05112025_22_34_34_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/2/69bba06b8b36faf4ad02861807362709.jpg","text":"TemporaryFile(/tmp/multipartBody2048765415493179446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384464502,"filename":"image_05112025_22_34_48_2010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e44b0e81948c5b3c093008211e59af66.jpg","text":"TemporaryFile(/tmp/multipartBody3962910898358899351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384464502,"filename":"image_05112025_22_34_32_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196763","file1":"1402196762","file0":"1402196761","file4":"1402196770","file5":"1402196771","file3":"1402196769"},"map_files_photo_id_array":[{"photo_id":"1402196771","filename":"file5"},{"photo_id":"1402196763","filename":"file2"},{"photo_id":"1402196770","filename":"file4"},{"photo_id":"1402196762","filename":"file1"},{"photo_id":"1402196761","filename":"file0"},{"photo_id":"1402196769","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196761":["hashtag1","hashtag2"]},{"1402196770":["hashtag1","hashtag2"]},{"1402196769":["hashtag1","hashtag2"]},{"1402196763":["hashtag1","hashtag2"]},{"1402196771":["hashtag1","hashtag2"]},{"1402196762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196761, 1402196770, 1402196769, 1402196763, 1402196771, 1402196762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.319918155670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:07:22.891169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/31/image_02012026_20_32_05_9665.jpg', '/home/pi/Desktop/images/02012026/20/32/image_02012026_20_32_14_9651.jpg', '/home/pi/Desktop/images/02012026/20/32/image_02012026_20_32_24_9770.jpg', '/home/pi/Desktop/images/02012026/20/32/image_02012026_20_32_54_9930.jpg', '/home/pi/Desktop/images/02012026/20/32/image_02012026_20_33_05_10627.jpg', '/home/pi/Desktop/images/02012026/20/33/image_02012026_20_33_14_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/31/image_02012026_20_32_05_9665.jpg
/home/pi/Desktop/images/02012026/20/32/image_02012026_20_32_14_9651.jpg
/home/pi/Desktop/images/02012026/20/32/image_02012026_20_32_24_9770.jpg
/home/pi/Desktop/images/02012026/20/32/image_02012026_20_32_54_9930.jpg
/home/pi/Desktop/images/02012026/20/32/image_02012026_20_33_05_10627.jpg
/home/pi/Desktop/images/02012026/20/33/image_02012026_20_33_14_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":["1402196785","1402196787","1402196796","1402196781","1402196808","1402196783"],"photo_ids_order":["1402196781","1402196783","1402196785","1402196787","1402196796","1402196808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/023122cca4d9d7314b45a84ad9aff48e.jpg","text":"TemporaryFile(/tmp/multipartBody5529667197614860828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384503478,"filename":"image_02012026_20_32_24_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/2/f12dfec195666a2a2954b68fa6d75ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7768192218423365225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384503478,"filename":"image_02012026_20_32_54_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a40e1738888e92bea30ece370338e719.jpg","text":"TemporaryFile(/tmp/multipartBody79760362824133008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384503478,"filename":"image_02012026_20_33_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/2/958606899c43c30d2fe58610c6095464.jpg","text":"TemporaryFile(/tmp/multipartBody6770992242330681497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384503478,"filename":"image_02012026_20_32_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/2/8d0581a37a798ef8b00ed8064beedebb.jpg","text":"TemporaryFile(/tmp/multipartBody4359444332741615313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384503478,"filename":"image_02012026_20_33_14_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/2/8b2fbee9df4d3b6689e76ad4410a0565.jpg","text":"TemporaryFile(/tmp/multipartBody6308419835528674309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384503478,"filename":"image_02012026_20_32_14_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196785","file1":"1402196783","file0":"1402196781","file4":"1402196796","file5":"1402196808","file3":"1402196787"},"map_files_photo_id_array":[{"photo_id":"1402196808","filename":"file5"},{"photo_id":"1402196785","filename":"file2"},{"photo_id":"1402196796","filename":"file4"},{"photo_id":"1402196783","filename":"file1"},{"photo_id":"1402196781","filename":"file0"},{"photo_id":"1402196787","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196785":["hashtag1","hashtag2"]},{"1402196787":["hashtag1","hashtag2"]},{"1402196796":["hashtag1","hashtag2"]},{"1402196781":["hashtag1","hashtag2"]},{"1402196808":["hashtag1","hashtag2"]},{"1402196783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196785, 1402196787, 1402196796, 1402196781, 1402196808, 1402196783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57146501541138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:08:02.565969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/33/image_02012026_20_33_35_10675.jpg', '/home/pi/Desktop/images/02012026/20/33/image_02012026_20_33_54_9645.jpg', '/home/pi/Desktop/images/02012026/20/33/image_02012026_20_34_05_10573.jpg', '/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_14_9636.jpg', '/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_24_9683.jpg', '/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_35_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/33/image_02012026_20_33_35_10675.jpg
/home/pi/Desktop/images/02012026/20/33/image_02012026_20_33_54_9645.jpg
/home/pi/Desktop/images/02012026/20/33/image_02012026_20_34_05_10573.jpg
/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_14_9636.jpg
/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_24_9683.jpg
/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_35_10582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196812","1402196815","1402196809","1402196817","1402196811","1402196814"],"photo_ids_order":["1402196809","1402196811","1402196812","1402196814","1402196815","1402196817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5dea7b8c67e80fee6380bf68ae08dc1b.jpg","text":"TemporaryFile(/tmp/multipartBody3779573262488106873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384543167,"filename":"image_02012026_20_34_05_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/2/d4692063dd0b690c5c93cb1c41b0113b.jpg","text":"TemporaryFile(/tmp/multipartBody5668840046297477785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384543167,"filename":"image_02012026_20_34_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/2/d14767eeb9c510de60807ac3a7d10b8b.jpg","text":"TemporaryFile(/tmp/multipartBody679226787268573516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384543167,"filename":"image_02012026_20_33_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/2/043c30d6fa255c8ec0179ddbffe7fc73.jpg","text":"TemporaryFile(/tmp/multipartBody4966070916664209993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384543167,"filename":"image_02012026_20_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/2/ffe2a1c5a1e7704ef8c499ca0ecb2ff9.jpg","text":"TemporaryFile(/tmp/multipartBody5078863607271842133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384543167,"filename":"image_02012026_20_33_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/2/7385b51a1fdcb31e0bb1e572c69623bb.jpg","text":"TemporaryFile(/tmp/multipartBody1236957434232003257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384543167,"filename":"image_02012026_20_34_14_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196812","file1":"1402196811","file0":"1402196809","file4":"1402196815","file5":"1402196817","file3":"1402196814"},"map_files_photo_id_array":[{"photo_id":"1402196817","filename":"file5"},{"photo_id":"1402196812","filename":"file2"},{"photo_id":"1402196815","filename":"file4"},{"photo_id":"1402196811","filename":"file1"},{"photo_id":"1402196809","filename":"file0"},{"photo_id":"1402196814","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196812":["hashtag1","hashtag2"]},{"1402196815":["hashtag1","hashtag2"]},{"1402196809":["hashtag1","hashtag2"]},{"1402196817":["hashtag1","hashtag2"]},{"1402196811":["hashtag1","hashtag2"]},{"1402196814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196812, 1402196815, 1402196809, 1402196817, 1402196811, 1402196814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65336203575134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:08:42.052178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_07_3011.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_11_3705.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_13_2540.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_28_5530.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_30_1660.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_35_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_07_3011.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_11_3705.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_13_2540.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_28_5530.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_30_1660.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_35_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196827","1402196823","1402196826","1402196829","1402196828","1402196825"],"photo_ids_order":["1402196823","1402196825","1402196826","1402196827","1402196828","1402196829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38007202a3c17b4a34668bbe3ed41368.jpg","text":"TemporaryFile(/tmp/multipartBody4132032332481016178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384583896,"filename":"image_05112025_22_36_28_5530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28881738d4f9b421a3541a5ac7aae993.jpg","text":"TemporaryFile(/tmp/multipartBody8338616484131024089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384583896,"filename":"image_05112025_22_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/2/8a1d4b2c4b23cde13ccbf157955b5624.jpg","text":"TemporaryFile(/tmp/multipartBody3632958455627724849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384583896,"filename":"image_05112025_22_36_13_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/2/cd791f996a5aa05047e63e1434986475.jpg","text":"TemporaryFile(/tmp/multipartBody2334233604067029341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384583896,"filename":"image_05112025_22_36_35_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/2/ca2dc1714529a63032755629f13dbd1e.jpg","text":"TemporaryFile(/tmp/multipartBody3077951648381410899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384583896,"filename":"image_05112025_22_36_30_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/2/dd7fa4cd3de256ed814c550b4bd5ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody6534144869346274867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384583896,"filename":"image_05112025_22_36_11_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196826","file1":"1402196825","file0":"1402196823","file4":"1402196828","file5":"1402196829","file3":"1402196827"},"map_files_photo_id_array":[{"photo_id":"1402196829","filename":"file5"},{"photo_id":"1402196826","filename":"file2"},{"photo_id":"1402196828","filename":"file4"},{"photo_id":"1402196825","filename":"file1"},{"photo_id":"1402196823","filename":"file0"},{"photo_id":"1402196827","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402196827":["hashtag1","hashtag2"]},{"1402196823":["hashtag1","hashtag2"]},{"1402196826":["hashtag1","hashtag2"]},{"1402196829":["hashtag1","hashtag2"]},{"1402196828":["hashtag1","hashtag2"]},{"1402196825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402196827, 1402196823, 1402196826, 1402196829, 1402196828, 1402196825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60410189628601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:09:22.178636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_44_9643.jpg', '/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_54_9885.jpg', '/home/pi/Desktop/images/02012026/20/34/image_02012026_20_35_05_10711.jpg', '/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_15_9880.jpg', '/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_34_9740.jpg', '/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_45_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_44_9643.jpg
/home/pi/Desktop/images/02012026/20/34/image_02012026_20_34_54_9885.jpg
/home/pi/Desktop/images/02012026/20/34/image_02012026_20_35_05_10711.jpg
/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_15_9880.jpg
/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_34_9740.jpg
/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_45_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196881","1402196875","1402196884","1402196842","1402196851","1402196849"],"photo_ids_order":["1402196842","1402196849","1402196851","1402196875","1402196881","1402196884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/210a1480ab08a2deb7163f9160fb50cc.jpg","text":"TemporaryFile(/tmp/multipartBody6173230478841628622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384622750,"filename":"image_02012026_20_35_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/2/fcbc2d8eff1386e61a20964801c31c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5174201675367017927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384622750,"filename":"image_02012026_20_35_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/2/ff6e3dfa2d83ca1709c31f70f078b880.jpg","text":"TemporaryFile(/tmp/multipartBody5752203928051839763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384622750,"filename":"image_02012026_20_35_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/2/f3f38ccb47092e1cc2ac1123c140f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5469118738908041383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384622750,"filename":"image_02012026_20_34_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/2/e246c72304a56be70b646967f3fca77f.jpg","text":"TemporaryFile(/tmp/multipartBody5712133906676921768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384622750,"filename":"image_02012026_20_35_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/2/a3c248fdc40fa82e7106ccaa0cc3ddc1.jpg","text":"TemporaryFile(/tmp/multipartBody659223193144446148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384622750,"filename":"image_02012026_20_34_54_9885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196851","file1":"1402196849","file0":"1402196842","file4":"1402196881","file5":"1402196884","file3":"1402196875"},"map_files_photo_id_array":[{"photo_id":"1402196884","filename":"file5"},{"photo_id":"1402196851","filename":"file2"},{"photo_id":"1402196881","filename":"file4"},{"photo_id":"1402196849","filename":"file1"},{"photo_id":"1402196842","filename":"file0"},{"photo_id":"1402196875","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196881":["hashtag1","hashtag2"]},{"1402196875":["hashtag1","hashtag2"]},{"1402196884":["hashtag1","hashtag2"]},{"1402196842":["hashtag1","hashtag2"]},{"1402196851":["hashtag1","hashtag2"]},{"1402196849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196881, 1402196875, 1402196884, 1402196842, 1402196851, 1402196849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85898232460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:10:02.921860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_55_9753.jpg', '/home/pi/Desktop/images/02012026/20/35/image_02012026_20_36_04_9669.jpg', '/home/pi/Desktop/images/02012026/20/36/image_02012026_20_36_45_10581.jpg', '/home/pi/Desktop/images/02012026/20/36/image_02012026_20_36_55_9773.jpg', '/home/pi/Desktop/images/02012026/20/36/image_02012026_20_37_04_9643.jpg', '/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_15_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/35/image_02012026_20_35_55_9753.jpg
/home/pi/Desktop/images/02012026/20/35/image_02012026_20_36_04_9669.jpg
/home/pi/Desktop/images/02012026/20/36/image_02012026_20_36_45_10581.jpg
/home/pi/Desktop/images/02012026/20/36/image_02012026_20_36_55_9773.jpg
/home/pi/Desktop/images/02012026/20/36/image_02012026_20_37_04_9643.jpg
/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_15_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402196890","1402196908","1402196886","1402196891","1402196888","1402196887"],"photo_ids_order":["1402196886","1402196887","1402196888","1402196890","1402196891","1402196908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6308a6db8f47a4f070a0390f3e63b663.jpg","text":"TemporaryFile(/tmp/multipartBody4457157999091341406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384663539,"filename":"image_02012026_20_36_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/2/490c9ed1688c0c3ac2770a6d74073c93.jpg","text":"TemporaryFile(/tmp/multipartBody8925170383619552090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384663539,"filename":"image_02012026_20_37_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/2/89fda2bd2004d12dca81099b262d4928.jpg","text":"TemporaryFile(/tmp/multipartBody3669402939298277767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384663539,"filename":"image_02012026_20_35_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/2/45d05a10b12f44d63b4dcd2f9506dcb3.jpg","text":"TemporaryFile(/tmp/multipartBody342839040540370124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384663539,"filename":"image_02012026_20_37_04_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/2/76cd04078f51405e8d0fc6c313cabb49.jpg","text":"TemporaryFile(/tmp/multipartBody7727631524094820987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384663539,"filename":"image_02012026_20_36_45_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/2/a39d9b824dd05149bf8eadc3668aca07.jpg","text":"TemporaryFile(/tmp/multipartBody2822359785023070172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384663539,"filename":"image_02012026_20_36_04_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402196888","file1":"1402196887","file0":"1402196886","file4":"1402196891","file5":"1402196908","file3":"1402196890"},"map_files_photo_id_array":[{"photo_id":"1402196908","filename":"file5"},{"photo_id":"1402196888","filename":"file2"},{"photo_id":"1402196891","filename":"file4"},{"photo_id":"1402196887","filename":"file1"},{"photo_id":"1402196886","filename":"file0"},{"photo_id":"1402196890","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402196890":["hashtag1","hashtag2"]},{"1402196908":["hashtag1","hashtag2"]},{"1402196886":["hashtag1","hashtag2"]},{"1402196891":["hashtag1","hashtag2"]},{"1402196888":["hashtag1","hashtag2"]},{"1402196887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402196890, 1402196908, 1402196886, 1402196891, 1402196888, 1402196887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52472186088562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:10:42.468709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_44_3535.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_55_2692.jpg', '/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_58_2587.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_04_2654.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_26_18437.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_29_1737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_44_3535.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_55_2692.jpg
/home/pi/Desktop/images/05112025/22/36/image_05112025_22_36_58_2587.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_04_2654.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_26_18437.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_29_1737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197013","1402197006","1402196946","1402196928","1402197053","1402197032"],"photo_ids_order":["1402196928","1402196946","1402197006","1402197013","1402197032","1402197053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1a08afca1d804df3f182d2f12e1ff46.jpg","text":"TemporaryFile(/tmp/multipartBody5226456338661392061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384704199,"filename":"image_05112025_22_37_04_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/2/ef3f3e37f458129d43b9bc516869cf79.jpg","text":"TemporaryFile(/tmp/multipartBody7828550285509069475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384704199,"filename":"image_05112025_22_36_58_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/2/a7b6ad0684089fbc46e22a7ceadabbb7.jpg","text":"TemporaryFile(/tmp/multipartBody6182538754774625760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384704199,"filename":"image_05112025_22_36_55_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/2/2e72504a74eac2a946bfed000503ed3a.jpg","text":"TemporaryFile(/tmp/multipartBody4238100354379553102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384704199,"filename":"image_05112025_22_36_44_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/2/09bf407e38d8de0dc5b233cae912aefe.jpg","text":"TemporaryFile(/tmp/multipartBody3632036588043569168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384704199,"filename":"image_05112025_22_37_29_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/2/cf6796d891fbd8fab3d24c83427e1b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3443809381014884985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384704199,"filename":"image_05112025_22_37_26_18437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197006","file1":"1402196946","file0":"1402196928","file4":"1402197032","file5":"1402197053","file3":"1402197013"},"map_files_photo_id_array":[{"photo_id":"1402197053","filename":"file5"},{"photo_id":"1402197006","filename":"file2"},{"photo_id":"1402197032","filename":"file4"},{"photo_id":"1402196946","filename":"file1"},{"photo_id":"1402196928","filename":"file0"},{"photo_id":"1402197013","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197013":["hashtag1","hashtag2"]},{"1402197006":["hashtag1","hashtag2"]},{"1402196946":["hashtag1","hashtag2"]},{"1402196928":["hashtag1","hashtag2"]},{"1402197053":["hashtag1","hashtag2"]},{"1402197032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197013, 1402197006, 1402196946, 1402196928, 1402197053, 1402197032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89131760597229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:11:22.746539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_25_9743.jpg', '/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_34_9817.jpg', '/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_45_10527.jpg', '/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_55_9584.jpg', '/home/pi/Desktop/images/02012026/20/37/image_02012026_20_38_04_9618.jpg', '/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_15_11199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_25_9743.jpg
/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_34_9817.jpg
/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_45_10527.jpg
/home/pi/Desktop/images/02012026/20/37/image_02012026_20_37_55_9584.jpg
/home/pi/Desktop/images/02012026/20/37/image_02012026_20_38_04_9618.jpg
/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_15_11199.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197070","1402197087","1402197063","1402197095","1402197089","1402197080"],"photo_ids_order":["1402197063","1402197070","1402197080","1402197087","1402197089","1402197095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9cf59f9e37c79870d8ee2ba90a723e85.jpg","text":"TemporaryFile(/tmp/multipartBody6300772182191043606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384743396,"filename":"image_02012026_20_37_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/2/337dbb5041648d31a402de3d189c5b5a.jpg","text":"TemporaryFile(/tmp/multipartBody636565342202841747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384743396,"filename":"image_02012026_20_37_55_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/2/8b6c4e600b834baaf1349a61d9056f18.jpg","text":"TemporaryFile(/tmp/multipartBody5358639209411745816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384743396,"filename":"image_02012026_20_37_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/2/067d45dfab3a43db2cda4c48ad63283e.jpg","text":"TemporaryFile(/tmp/multipartBody2568483825130517656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384743396,"filename":"image_02012026_20_38_15_11199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/df390795501195efd3f365732e6f15d1.jpg","text":"TemporaryFile(/tmp/multipartBody4239543224608075719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384743396,"filename":"image_02012026_20_38_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/2/5041129202a65e58596986b4424ddd9c.jpg","text":"TemporaryFile(/tmp/multipartBody2303807196270921422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384743396,"filename":"image_02012026_20_37_45_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197080","file1":"1402197070","file0":"1402197063","file4":"1402197089","file5":"1402197095","file3":"1402197087"},"map_files_photo_id_array":[{"photo_id":"1402197095","filename":"file5"},{"photo_id":"1402197080","filename":"file2"},{"photo_id":"1402197089","filename":"file4"},{"photo_id":"1402197070","filename":"file1"},{"photo_id":"1402197063","filename":"file0"},{"photo_id":"1402197087","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197070":["hashtag1","hashtag2"]},{"1402197087":["hashtag1","hashtag2"]},{"1402197063":["hashtag1","hashtag2"]},{"1402197095":["hashtag1","hashtag2"]},{"1402197089":["hashtag1","hashtag2"]},{"1402197080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197070, 1402197087, 1402197063, 1402197095, 1402197089, 1402197080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57691812515259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:12:02.646243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_24_8782.jpg', '/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_35_10656.jpg', '/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_45_9703.jpg', '/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_54_9694.jpg', '/home/pi/Desktop/images/02012026/20/38/image_02012026_20_39_05_10779.jpg', '/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_15_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_24_8782.jpg
/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_35_10656.jpg
/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_45_9703.jpg
/home/pi/Desktop/images/02012026/20/38/image_02012026_20_38_54_9694.jpg
/home/pi/Desktop/images/02012026/20/38/image_02012026_20_39_05_10779.jpg
/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_15_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":["1402197256","1402197229","1402197258","1402197255","1402197254","1402197248"],"photo_ids_order":["1402197229","1402197248","1402197254","1402197255","1402197256","1402197258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/314aa1366f7f5f0191519054fe97223f.jpg","text":"TemporaryFile(/tmp/multipartBody1336152004310353554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384783243,"filename":"image_02012026_20_39_05_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/2/1b0b8fb6595c0c22fd867483142964fd.jpg","text":"TemporaryFile(/tmp/multipartBody8663384842526988632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384783243,"filename":"image_02012026_20_38_24_8782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/764b9ca1b2efc4f50e175e5582361505.jpg","text":"TemporaryFile(/tmp/multipartBody1779074344225829888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384783243,"filename":"image_02012026_20_39_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/2/e454e205dfa2a56cb4a582dc558b16dc.jpg","text":"TemporaryFile(/tmp/multipartBody7487836378025526890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384783243,"filename":"image_02012026_20_38_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/2/a7f4894e7ef54f7de980b5ec02b6acac.jpg","text":"TemporaryFile(/tmp/multipartBody2336157582751492634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384783243,"filename":"image_02012026_20_38_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/2/644ad5b8b97f82e43e8d0c4ab38a4b1a.jpg","text":"TemporaryFile(/tmp/multipartBody9043017631099868275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384783243,"filename":"image_02012026_20_38_35_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197254","file1":"1402197248","file0":"1402197229","file4":"1402197256","file5":"1402197258","file3":"1402197255"},"map_files_photo_id_array":[{"photo_id":"1402197258","filename":"file5"},{"photo_id":"1402197254","filename":"file2"},{"photo_id":"1402197256","filename":"file4"},{"photo_id":"1402197248","filename":"file1"},{"photo_id":"1402197229","filename":"file0"},{"photo_id":"1402197255","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197256":["hashtag1","hashtag2"]},{"1402197229":["hashtag1","hashtag2"]},{"1402197258":["hashtag1","hashtag2"]},{"1402197255":["hashtag1","hashtag2"]},{"1402197254":["hashtag1","hashtag2"]},{"1402197248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197256, 1402197229, 1402197258, 1402197255, 1402197254, 1402197248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63716697692871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:12:42.135059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_42_1683.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_44_1826.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_45_1654.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_49_1955.jpg', '/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_52_1643.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_04_5214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_42_1683.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_44_1826.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_45_1654.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_49_1955.jpg
/home/pi/Desktop/images/05112025/22/37/image_05112025_22_37_52_1643.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_04_5214.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197282","1402197285","1402197281","1402197278","1402197283","1402197280"],"photo_ids_order":["1402197278","1402197280","1402197281","1402197282","1402197283","1402197285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/89820b37a4ad5974a5610913228577f0.jpg","text":"TemporaryFile(/tmp/multipartBody7401184189566634490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384823966,"filename":"image_05112025_22_37_49_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/efb2ea1d8d6d5b406099ed2fdc31dfc9.jpg","text":"TemporaryFile(/tmp/multipartBody4942524219819950628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384823966,"filename":"image_05112025_22_38_04_5214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/161c694c80e001d298625e0c1673fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5223703926476077293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384823966,"filename":"image_05112025_22_37_45_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/2/3aebd3f907220797138cdffcbe20bb8e.jpg","text":"TemporaryFile(/tmp/multipartBody7716303572633485148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384823966,"filename":"image_05112025_22_37_42_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/2/11097582da80391bc51cf64acb08677e.jpg","text":"TemporaryFile(/tmp/multipartBody5847136531306541973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384823966,"filename":"image_05112025_22_37_52_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/2/efd2e9d281433ea553719f26de6afa9d.jpg","text":"TemporaryFile(/tmp/multipartBody518542800721527644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384823966,"filename":"image_05112025_22_37_44_1826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197281","file1":"1402197280","file0":"1402197278","file4":"1402197283","file5":"1402197285","file3":"1402197282"},"map_files_photo_id_array":[{"photo_id":"1402197285","filename":"file5"},{"photo_id":"1402197281","filename":"file2"},{"photo_id":"1402197283","filename":"file4"},{"photo_id":"1402197280","filename":"file1"},{"photo_id":"1402197278","filename":"file0"},{"photo_id":"1402197282","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197282":["hashtag1","hashtag2"]},{"1402197285":["hashtag1","hashtag2"]},{"1402197281":["hashtag1","hashtag2"]},{"1402197278":["hashtag1","hashtag2"]},{"1402197283":["hashtag1","hashtag2"]},{"1402197280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197282, 1402197285, 1402197281, 1402197278, 1402197283, 1402197280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03209614753723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:13:22.280449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_25_9806.jpg', '/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_34_9831.jpg', '/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_44_9832.jpg', '/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_25_10672.jpg', '/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_35_9570.jpg', '/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_44_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_25_9806.jpg
/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_34_9831.jpg
/home/pi/Desktop/images/02012026/20/39/image_02012026_20_39_44_9832.jpg
/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_25_10672.jpg
/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_35_9570.jpg
/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_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":["1402197294","1402197288","1402197291","1402197315","1402197296","1402197289"],"photo_ids_order":["1402197288","1402197289","1402197291","1402197294","1402197296","1402197315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10c14dc6289111884880e5d93d51d642.jpg","text":"TemporaryFile(/tmp/multipartBody8747704181099733225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384862868,"filename":"image_02012026_20_40_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/2/a5506ac5b9fd881595578fdc37d136f9.jpg","text":"TemporaryFile(/tmp/multipartBody2160134844610094408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384862868,"filename":"image_02012026_20_39_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/2/62e9263ee0f53f33654be442c1a4bf06.jpg","text":"TemporaryFile(/tmp/multipartBody2091448948394871422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384862868,"filename":"image_02012026_20_39_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c0887cc45ff59cdbd59274fe3ccb87cc.jpg","text":"TemporaryFile(/tmp/multipartBody1212550046169972451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384862868,"filename":"image_02012026_20_40_44_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/2/104c3b8cfb1d6284689d7f9fa06d497c.jpg","text":"TemporaryFile(/tmp/multipartBody5844767609803923727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384862868,"filename":"image_02012026_20_40_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/2/456a95d8511112e4a5ba49ada83bee90.jpg","text":"TemporaryFile(/tmp/multipartBody5795991561882027782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384862868,"filename":"image_02012026_20_39_34_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197291","file1":"1402197289","file0":"1402197288","file4":"1402197296","file5":"1402197315","file3":"1402197294"},"map_files_photo_id_array":[{"photo_id":"1402197315","filename":"file5"},{"photo_id":"1402197291","filename":"file2"},{"photo_id":"1402197296","filename":"file4"},{"photo_id":"1402197289","filename":"file1"},{"photo_id":"1402197288","filename":"file0"},{"photo_id":"1402197294","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197294":["hashtag1","hashtag2"]},{"1402197288":["hashtag1","hashtag2"]},{"1402197291":["hashtag1","hashtag2"]},{"1402197315":["hashtag1","hashtag2"]},{"1402197296":["hashtag1","hashtag2"]},{"1402197289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197294, 1402197288, 1402197291, 1402197315, 1402197296, 1402197289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.450562953948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:14:03.342486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_55_10633.jpg', '/home/pi/Desktop/images/02012026/20/40/image_02012026_20_41_04_9632.jpg', '/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_15_10638.jpg', '/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_25_9650.jpg', '/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_34_9692.jpg', '/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/40/image_02012026_20_40_55_10633.jpg
/home/pi/Desktop/images/02012026/20/40/image_02012026_20_41_04_9632.jpg
/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_15_10638.jpg
/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_25_9650.jpg
/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_34_9692.jpg
/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_44_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":["1402197343","1402197342","1402197339","1402197341","1402197344","1402197346"],"photo_ids_order":["1402197339","1402197341","1402197342","1402197343","1402197344","1402197346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f2c2950200820ac4bab65ddbccc3e36d.jpg","text":"TemporaryFile(/tmp/multipartBody5718749125363487421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384904088,"filename":"image_02012026_20_41_25_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/2/c7f6f3af90a3170d7af329a081e919c6.jpg","text":"TemporaryFile(/tmp/multipartBody8265847237347795575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384904088,"filename":"image_02012026_20_41_15_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/2/c6b0f436876e5168aceb53426220b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody2012142433399231017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384904088,"filename":"image_02012026_20_40_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/2/7755dd1d39af2125be62fcc86c0064d0.jpg","text":"TemporaryFile(/tmp/multipartBody308604901754301747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384904088,"filename":"image_02012026_20_41_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/2/4f3e335b0741620b5eb795b22c8b2d73.jpg","text":"TemporaryFile(/tmp/multipartBody3507497692792562939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384904088,"filename":"image_02012026_20_41_34_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/2/ef3dc356be08e64a5541e6468460943d.jpg","text":"TemporaryFile(/tmp/multipartBody1468431369094245136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384904088,"filename":"image_02012026_20_41_44_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197342","file1":"1402197341","file0":"1402197339","file4":"1402197344","file5":"1402197346","file3":"1402197343"},"map_files_photo_id_array":[{"photo_id":"1402197346","filename":"file5"},{"photo_id":"1402197342","filename":"file2"},{"photo_id":"1402197344","filename":"file4"},{"photo_id":"1402197341","filename":"file1"},{"photo_id":"1402197339","filename":"file0"},{"photo_id":"1402197343","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197343":["hashtag1","hashtag2"]},{"1402197342":["hashtag1","hashtag2"]},{"1402197339":["hashtag1","hashtag2"]},{"1402197341":["hashtag1","hashtag2"]},{"1402197344":["hashtag1","hashtag2"]},{"1402197346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197343, 1402197342, 1402197339, 1402197341, 1402197344, 1402197346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.267335176467896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:14:42.649582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_07_2922.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_08_1621.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_10_1544.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_13_1556.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_16_2682.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_23_2903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_07_2922.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_08_1621.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_10_1544.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_13_1556.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_16_2682.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_23_2903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197355","1402197411","1402197354","1402197353","1402197356","1402197515"],"photo_ids_order":["1402197353","1402197354","1402197355","1402197356","1402197411","1402197515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e42b7ef3db84c148e836e1999f466e47.jpg","text":"TemporaryFile(/tmp/multipartBody3871204723759265752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384944498,"filename":"image_05112025_22_38_10_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/2/bcc8f66771ef2a74f9241182e6d132b3.jpg","text":"TemporaryFile(/tmp/multipartBody5045380256751514584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384944498,"filename":"image_05112025_22_38_16_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/2/e1c14b5b1c248c30b4660c319b3fc1de.jpg","text":"TemporaryFile(/tmp/multipartBody3951196735428893427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384944498,"filename":"image_05112025_22_38_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/2/1f4fdb2b226806147dcfca396227d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody4975529839018692309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384944498,"filename":"image_05112025_22_38_07_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99ed3c0c4c39c3d48bcd17ecf38d346a.jpg","text":"TemporaryFile(/tmp/multipartBody8472528571932084660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384944498,"filename":"image_05112025_22_38_13_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/2/46f36be77129cb10322c31b3ca005f36.jpg","text":"TemporaryFile(/tmp/multipartBody1484188557718438409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384944498,"filename":"image_05112025_22_38_23_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197355","file1":"1402197354","file0":"1402197353","file4":"1402197411","file5":"1402197515","file3":"1402197356"},"map_files_photo_id_array":[{"photo_id":"1402197515","filename":"file5"},{"photo_id":"1402197355","filename":"file2"},{"photo_id":"1402197411","filename":"file4"},{"photo_id":"1402197354","filename":"file1"},{"photo_id":"1402197353","filename":"file0"},{"photo_id":"1402197356","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197355":["hashtag1","hashtag2"]},{"1402197411":["hashtag1","hashtag2"]},{"1402197354":["hashtag1","hashtag2"]},{"1402197353":["hashtag1","hashtag2"]},{"1402197356":["hashtag1","hashtag2"]},{"1402197515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197355, 1402197411, 1402197354, 1402197353, 1402197356, 1402197515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.843751668930054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:15:22.788457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_55_10627.jpg', '/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_15_10714.jpg', '/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_25_9568.jpg', '/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_34_9762.jpg', '/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_44_9763.jpg', '/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_55_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/41/image_02012026_20_41_55_10627.jpg
/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_15_10714.jpg
/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_25_9568.jpg
/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_34_9762.jpg
/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_44_9763.jpg
/home/pi/Desktop/images/02012026/20/42/image_02012026_20_42_55_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197543","1402197531","1402197534","1402197533","1402197536","1402197538"],"photo_ids_order":["1402197531","1402197533","1402197534","1402197536","1402197538","1402197543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/247d8149a4f2998f785cc761201f6332.jpg","text":"TemporaryFile(/tmp/multipartBody6866301242422040730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384983398,"filename":"image_02012026_20_42_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/2/b22facf7fbba67f55bf7f1e7fd82c65e.jpg","text":"TemporaryFile(/tmp/multipartBody4890787741976025561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384983398,"filename":"image_02012026_20_41_55_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/2/32340689ba5e56673718b5356d9e1db0.jpg","text":"TemporaryFile(/tmp/multipartBody9010140856810281483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384983398,"filename":"image_02012026_20_42_25_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/2/5e1e500a1490ee28223ca1d18c2b5a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3865429035408515447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384983398,"filename":"image_02012026_20_42_15_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/2/340b8611338f2e1b95342949eaea5802.jpg","text":"TemporaryFile(/tmp/multipartBody7657572287303309171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384983398,"filename":"image_02012026_20_42_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/2/ba341bd380baa45ff885a452e3947dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8062527236651480774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767384983398,"filename":"image_02012026_20_42_44_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197534","file1":"1402197533","file0":"1402197531","file4":"1402197538","file5":"1402197543","file3":"1402197536"},"map_files_photo_id_array":[{"photo_id":"1402197543","filename":"file5"},{"photo_id":"1402197534","filename":"file2"},{"photo_id":"1402197538","filename":"file4"},{"photo_id":"1402197533","filename":"file1"},{"photo_id":"1402197531","filename":"file0"},{"photo_id":"1402197536","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197543":["hashtag1","hashtag2"]},{"1402197531":["hashtag1","hashtag2"]},{"1402197534":["hashtag1","hashtag2"]},{"1402197533":["hashtag1","hashtag2"]},{"1402197536":["hashtag1","hashtag2"]},{"1402197538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197543, 1402197531, 1402197534, 1402197533, 1402197536, 1402197538)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.375916957855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:16:12.077774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_41_16091.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_56_10029.jpg', '/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_58_1710.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_04_1697.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_08_1651.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_09_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_41_16091.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_56_10029.jpg
/home/pi/Desktop/images/05112025/22/38/image_05112025_22_38_58_1710.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_04_1697.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_08_1651.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_09_1560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197547","1402197549","1402197546","1402197545","1402197554","1402197544"],"photo_ids_order":["1402197544","1402197545","1402197546","1402197547","1402197549","1402197554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e31a19adb10bca93d3efa74c140c244.jpg","text":"TemporaryFile(/tmp/multipartBody7719999387118337489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385034248,"filename":"image_05112025_22_39_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/2/3bda2f930648e1cc87b7686a22e47ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8547833988500650624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385034248,"filename":"image_05112025_22_39_08_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/2/6d42af4c9127b0a6f5bc51a5d70cc9dd.jpg","text":"TemporaryFile(/tmp/multipartBody135831578638898034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385034248,"filename":"image_05112025_22_38_58_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/2/17f5870cded65ed5769cebb6c60a1d18.jpg","text":"TemporaryFile(/tmp/multipartBody4356268120715877560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385034248,"filename":"image_05112025_22_38_56_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/2/6bbf6f5ee9d92f87e940ebcabe1a8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5825698862439301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385034248,"filename":"image_05112025_22_39_09_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/2/a9fd47ea7f561e9ceff37c666b33ef87.jpg","text":"TemporaryFile(/tmp/multipartBody5717895895973739296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385034248,"filename":"image_05112025_22_38_41_16091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197546","file1":"1402197545","file0":"1402197544","file4":"1402197549","file5":"1402197554","file3":"1402197547"},"map_files_photo_id_array":[{"photo_id":"1402197554","filename":"file5"},{"photo_id":"1402197546","filename":"file2"},{"photo_id":"1402197549","filename":"file4"},{"photo_id":"1402197545","filename":"file1"},{"photo_id":"1402197544","filename":"file0"},{"photo_id":"1402197547","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197547":["hashtag1","hashtag2"]},{"1402197549":["hashtag1","hashtag2"]},{"1402197546":["hashtag1","hashtag2"]},{"1402197545":["hashtag1","hashtag2"]},{"1402197554":["hashtag1","hashtag2"]},{"1402197544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197547, 1402197549, 1402197546, 1402197545, 1402197554, 1402197544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40287184715271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:17:02.999981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 21:17:12.268706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_13_1585.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_20_1617.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_25_2714.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_34_2743.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_40_3690.jpg', '/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_46_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_13_1585.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_20_1617.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_25_2714.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_34_2743.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_40_3690.jpg
/home/pi/Desktop/images/05112025/22/39/image_05112025_22_39_46_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197573","1402197621","1402197579","1402197618","1402197581","1402197577"],"photo_ids_order":["1402197573","1402197577","1402197579","1402197581","1402197618","1402197621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e9ec762f8be72ef2e6a56411acd9d845.jpg","text":"TemporaryFile(/tmp/multipartBody2087689792854920044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385095850,"filename":"image_05112025_22_39_13_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/2/1f3933235c6f101eb969ee47895493f6.jpg","text":"TemporaryFile(/tmp/multipartBody1977520943854154123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385095850,"filename":"image_05112025_22_39_46_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/2/720ce49830b2a3a3fb7b094d9e769715.jpg","text":"TemporaryFile(/tmp/multipartBody1411145120620679271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385095850,"filename":"image_05112025_22_39_25_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/2/cdf0227a292b0b1f0e4013ae022066ca.jpg","text":"TemporaryFile(/tmp/multipartBody3907892777782522928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385095850,"filename":"image_05112025_22_39_40_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/2/ecd14eada1888bf6704956da12907747.jpg","text":"TemporaryFile(/tmp/multipartBody6916460794312027989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385095850,"filename":"image_05112025_22_39_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/2/ad51746a64070b102a7001f1598c7527.jpg","text":"TemporaryFile(/tmp/multipartBody1138181735010383458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385095850,"filename":"image_05112025_22_39_20_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197579","file1":"1402197577","file0":"1402197573","file4":"1402197618","file5":"1402197621","file3":"1402197581"},"map_files_photo_id_array":[{"photo_id":"1402197621","filename":"file5"},{"photo_id":"1402197579","filename":"file2"},{"photo_id":"1402197618","filename":"file4"},{"photo_id":"1402197577","filename":"file1"},{"photo_id":"1402197573","filename":"file0"},{"photo_id":"1402197581","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197573":["hashtag1","hashtag2"]},{"1402197621":["hashtag1","hashtag2"]},{"1402197579":["hashtag1","hashtag2"]},{"1402197618":["hashtag1","hashtag2"]},{"1402197581":["hashtag1","hashtag2"]},{"1402197577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197573, 1402197621, 1402197579, 1402197618, 1402197581, 1402197577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.67648696899414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:18:02.974892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/42/image_02012026_20_43_04_9610.jpg', '/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_14_9735.jpg', '/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_25_10648.jpg', '/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_35_9748.jpg', '/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_44_9742.jpg', '/home/pi/Desktop/images/02012026/20/43/image_02012026_20_44_05_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/42/image_02012026_20_43_04_9610.jpg
/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_14_9735.jpg
/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_25_10648.jpg
/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_35_9748.jpg
/home/pi/Desktop/images/02012026/20/43/image_02012026_20_43_44_9742.jpg
/home/pi/Desktop/images/02012026/20/43/image_02012026_20_44_05_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197631","1402197628","1402197633","1402197627","1402197626","1402197629"],"photo_ids_order":["1402197626","1402197627","1402197628","1402197629","1402197631","1402197633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38684774d8ea2dfb582bf2ccfca9850f.jpg","text":"TemporaryFile(/tmp/multipartBody7036777099728774089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385148335,"filename":"image_02012026_20_43_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/2/406b7fe6e02f8a8e6ac0536ccf9db4c4.jpg","text":"TemporaryFile(/tmp/multipartBody232792963071526269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385148335,"filename":"image_02012026_20_43_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/2/516fd00da62e2b156dfed268af03d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3943655944538275384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385148335,"filename":"image_02012026_20_44_05_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/2/dfdb47be580936b51d18243e7b606cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2195189665782436074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385148335,"filename":"image_02012026_20_43_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/2/57d10fe79f5bb9165913e8cb1c0faa25.jpg","text":"TemporaryFile(/tmp/multipartBody6309859267287075593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385148335,"filename":"image_02012026_20_43_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/2/a0eb38692cdf4c6a3a01e8b074625225.jpg","text":"TemporaryFile(/tmp/multipartBody2514473332136214977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385148335,"filename":"image_02012026_20_43_35_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197628","file1":"1402197627","file0":"1402197626","file4":"1402197631","file5":"1402197633","file3":"1402197629"},"map_files_photo_id_array":[{"photo_id":"1402197633","filename":"file5"},{"photo_id":"1402197628","filename":"file2"},{"photo_id":"1402197631","filename":"file4"},{"photo_id":"1402197627","filename":"file1"},{"photo_id":"1402197626","filename":"file0"},{"photo_id":"1402197629","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197631":["hashtag1","hashtag2"]},{"1402197628":["hashtag1","hashtag2"]},{"1402197633":["hashtag1","hashtag2"]},{"1402197627":["hashtag1","hashtag2"]},{"1402197626":["hashtag1","hashtag2"]},{"1402197629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197631, 1402197628, 1402197633, 1402197627, 1402197626, 1402197629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.460665225982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:19:03.662156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 21:19:13.066559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_06_3011.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_16_3695.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_33_2772.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_37_3697.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_40_2541.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_42_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_06_3011.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_16_3695.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_33_2772.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_37_3697.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_40_2541.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_42_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197942","1402197936","1402197944","1402197938","1402197935","1402197940"],"photo_ids_order":["1402197935","1402197936","1402197938","1402197940","1402197942","1402197944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b2db9f5cfc997a9d2b1eed52a0196d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1846831054331692858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385214814,"filename":"image_05112025_22_41_40_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/2/5faada98fdddb0e7911427e89bc53c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6101481042369322299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385214814,"filename":"image_05112025_22_41_16_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/2/acabc7940875245664cefefcfa4091d9.jpg","text":"TemporaryFile(/tmp/multipartBody7659193736348334662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385214814,"filename":"image_05112025_22_41_42_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/2/4c602b56143ba99453def590ba1bb284.jpg","text":"TemporaryFile(/tmp/multipartBody670381903309833565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385214814,"filename":"image_05112025_22_41_33_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/2/31118565fd38a2bc79cda372f3ff28ca.jpg","text":"TemporaryFile(/tmp/multipartBody8607861052355947990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385214814,"filename":"image_05112025_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/2/e22f13236e4428e3b80980e48fc8518f.jpg","text":"TemporaryFile(/tmp/multipartBody5634204178220822818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385214814,"filename":"image_05112025_22_41_37_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197938","file1":"1402197936","file0":"1402197935","file4":"1402197942","file5":"1402197944","file3":"1402197940"},"map_files_photo_id_array":[{"photo_id":"1402197944","filename":"file5"},{"photo_id":"1402197938","filename":"file2"},{"photo_id":"1402197942","filename":"file4"},{"photo_id":"1402197936","filename":"file1"},{"photo_id":"1402197935","filename":"file0"},{"photo_id":"1402197940","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197942":["hashtag1","hashtag2"]},{"1402197936":["hashtag1","hashtag2"]},{"1402197944":["hashtag1","hashtag2"]},{"1402197938":["hashtag1","hashtag2"]},{"1402197935":["hashtag1","hashtag2"]},{"1402197940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197942, 1402197936, 1402197944, 1402197938, 1402197935, 1402197940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8134081363678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:20:02.389491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_14_9743.jpg', '/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_25_10615.jpg', '/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_34_9539.jpg', '/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_44_9632.jpg', '/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_55_10677.jpg', '/home/pi/Desktop/images/02012026/20/44/image_02012026_20_45_04_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_14_9743.jpg
/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_25_10615.jpg
/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_34_9539.jpg
/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_44_9632.jpg
/home/pi/Desktop/images/02012026/20/44/image_02012026_20_44_55_10677.jpg
/home/pi/Desktop/images/02012026/20/44/image_02012026_20_45_04_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197951","1402197950","1402197953","1402197952","1402197955","1402197949"],"photo_ids_order":["1402197949","1402197950","1402197951","1402197952","1402197953","1402197955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b9fc8e8970f5c798b949f57f1d4c225a.jpg","text":"TemporaryFile(/tmp/multipartBody3737120091281136069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385263003,"filename":"image_02012026_20_44_34_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/2/a166890ff468076e5cb07f48c5191415.jpg","text":"TemporaryFile(/tmp/multipartBody4573867619375135822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385263003,"filename":"image_02012026_20_44_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/2/142d9ce80f35b04c6453bd16150d7603.jpg","text":"TemporaryFile(/tmp/multipartBody1776556714375135100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385263003,"filename":"image_02012026_20_44_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/2/bc4dd78e30e1d50e012f6b4ce0fb752d.jpg","text":"TemporaryFile(/tmp/multipartBody7188960913671710223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385263003,"filename":"image_02012026_20_44_44_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/2/d093e654ce41231dc1caaa218c330745.jpg","text":"TemporaryFile(/tmp/multipartBody4440022333077866530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385263003,"filename":"image_02012026_20_45_04_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/2/7673c82731c6ee6df56a050d47586c72.jpg","text":"TemporaryFile(/tmp/multipartBody1751212254939676173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385263003,"filename":"image_02012026_20_44_14_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197951","file1":"1402197950","file0":"1402197949","file4":"1402197953","file5":"1402197955","file3":"1402197952"},"map_files_photo_id_array":[{"photo_id":"1402197955","filename":"file5"},{"photo_id":"1402197951","filename":"file2"},{"photo_id":"1402197953","filename":"file4"},{"photo_id":"1402197950","filename":"file1"},{"photo_id":"1402197949","filename":"file0"},{"photo_id":"1402197952","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197951":["hashtag1","hashtag2"]},{"1402197950":["hashtag1","hashtag2"]},{"1402197953":["hashtag1","hashtag2"]},{"1402197952":["hashtag1","hashtag2"]},{"1402197955":["hashtag1","hashtag2"]},{"1402197949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197951, 1402197950, 1402197953, 1402197952, 1402197955, 1402197949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33399271965027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:20:41.971112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_46_3643.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_49_2662.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_51_2676.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_55_3721.jpg', '/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_58_2668.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_03_4849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_46_3643.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_49_2662.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_51_2676.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_55_3721.jpg
/home/pi/Desktop/images/05112025/22/41/image_05112025_22_41_58_2668.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_03_4849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402197972","1402197966","1402197971","1402197964","1402197973","1402197967"],"photo_ids_order":["1402197964","1402197966","1402197967","1402197971","1402197972","1402197973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3e45371bab730825180f80f683d61728.jpg","text":"TemporaryFile(/tmp/multipartBody7616180899886208870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385303681,"filename":"image_05112025_22_41_58_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/2/36f3e61b9e7ae4628a5cf83ea7113db2.jpg","text":"TemporaryFile(/tmp/multipartBody4190051482395576602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385303681,"filename":"image_05112025_22_41_49_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/2/a1a8024cfa6336e91e7c735ab5a0df46.jpg","text":"TemporaryFile(/tmp/multipartBody425956812659418481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385303681,"filename":"image_05112025_22_41_55_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/2/35199e0ad83cfec83d603033d1a47ff5.jpg","text":"TemporaryFile(/tmp/multipartBody858405827813017087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385303681,"filename":"image_05112025_22_41_46_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/2/ac168f1671bd3d9ced94a122ed6cfac3.jpg","text":"TemporaryFile(/tmp/multipartBody8057921274399149365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385303681,"filename":"image_05112025_22_42_03_4849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5ed65f77dc187cf8054cb0dbc9dce9e6.jpg","text":"TemporaryFile(/tmp/multipartBody6935594826853461363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385303681,"filename":"image_05112025_22_41_51_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197967","file1":"1402197966","file0":"1402197964","file4":"1402197972","file5":"1402197973","file3":"1402197971"},"map_files_photo_id_array":[{"photo_id":"1402197973","filename":"file5"},{"photo_id":"1402197967","filename":"file2"},{"photo_id":"1402197972","filename":"file4"},{"photo_id":"1402197966","filename":"file1"},{"photo_id":"1402197964","filename":"file0"},{"photo_id":"1402197971","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402197972":["hashtag1","hashtag2"]},{"1402197966":["hashtag1","hashtag2"]},{"1402197971":["hashtag1","hashtag2"]},{"1402197964":["hashtag1","hashtag2"]},{"1402197973":["hashtag1","hashtag2"]},{"1402197967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402197972, 1402197966, 1402197971, 1402197964, 1402197973, 1402197967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420079946517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:21:22.299622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_14_9673.jpg', '/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_25_10746.jpg', '/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_44_9644.jpg', '/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_54_9688.jpg', '/home/pi/Desktop/images/02012026/20/45/image_02012026_20_46_05_10625.jpg', '/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_14_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_14_9673.jpg
/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_25_10746.jpg
/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_44_9644.jpg
/home/pi/Desktop/images/02012026/20/45/image_02012026_20_45_54_9688.jpg
/home/pi/Desktop/images/02012026/20/45/image_02012026_20_46_05_10625.jpg
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_14_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":["1402197981","1402197986","1402197983","1402197977","1402197979","1402197976"],"photo_ids_order":["1402197976","1402197977","1402197979","1402197981","1402197983","1402197986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bd6e9546ece17ac3a13f79ccb5942dda.jpg","text":"TemporaryFile(/tmp/multipartBody7098279950543869940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385342909,"filename":"image_02012026_20_45_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/2/55f2748ca50301f9303f440c1d235a4e.jpg","text":"TemporaryFile(/tmp/multipartBody950430543749092607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385342909,"filename":"image_02012026_20_46_14_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/2/79938dbf93f770cf5e0056bd71022834.jpg","text":"TemporaryFile(/tmp/multipartBody5895034181450486265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385342909,"filename":"image_02012026_20_46_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/2/6c88c4b4ef735eaa906c8f1517f52bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6654326142807972093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385342909,"filename":"image_02012026_20_45_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/2/2c39f250607496cff71d16396303a5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1889651673443674283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385342909,"filename":"image_02012026_20_45_44_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/2/6858b7e990768b7166ae9b6376a88599.jpg","text":"TemporaryFile(/tmp/multipartBody9059737777056188879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385342909,"filename":"image_02012026_20_45_14_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402197979","file1":"1402197977","file0":"1402197976","file4":"1402197983","file5":"1402197986","file3":"1402197981"},"map_files_photo_id_array":[{"photo_id":"1402197986","filename":"file5"},{"photo_id":"1402197979","filename":"file2"},{"photo_id":"1402197983","filename":"file4"},{"photo_id":"1402197977","filename":"file1"},{"photo_id":"1402197976","filename":"file0"},{"photo_id":"1402197981","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402197981":["hashtag1","hashtag2"]},{"1402197986":["hashtag1","hashtag2"]},{"1402197983":["hashtag1","hashtag2"]},{"1402197977":["hashtag1","hashtag2"]},{"1402197979":["hashtag1","hashtag2"]},{"1402197976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402197981, 1402197986, 1402197983, 1402197977, 1402197979, 1402197976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07790565490723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:22:02.818490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_25_10317.jpg', '/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_34_9732.jpg', '/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_44_9676.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_14_9741.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_35_9880.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_25_10317.jpg
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_34_9732.jpg
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_44_9676.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_14_9741.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_35_9880.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_44_9623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48996663093566895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:22:12.317309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_40_24701.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_42_1702.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_44_1754.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_46_1678.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_49_1703.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_51_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_40_24701.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_42_1702.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_44_1754.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_46_1678.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_49_1703.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_51_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198137","1402198175","1402198294","1402198307","1402198252","1402198216"],"photo_ids_order":["1402198137","1402198175","1402198216","1402198252","1402198294","1402198307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99ac8d433c885278440570e9e3928919.jpg","text":"TemporaryFile(/tmp/multipartBody2226232132484848288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385394334,"filename":"image_05112025_22_42_40_24701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c5ffc344ebdb89f1be8a181de02cab9.jpg","text":"TemporaryFile(/tmp/multipartBody6931962526411927460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385394334,"filename":"image_05112025_22_42_42_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/2/04d05f50a1ff7cba5861f17e55277d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3575728552679983988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385394334,"filename":"image_05112025_22_42_49_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/2/9af646bed6a8fa75bab51b5e7f1da927.jpg","text":"TemporaryFile(/tmp/multipartBody789641252380170360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385394334,"filename":"image_05112025_22_42_51_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/2/15c2b9725ef0da0b4856eda5abe225a9.jpg","text":"TemporaryFile(/tmp/multipartBody1307978849497633744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385394334,"filename":"image_05112025_22_42_46_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/2/bb734bde1de25142a3f2f6a5387714e5.jpg","text":"TemporaryFile(/tmp/multipartBody2843895552134350345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385394334,"filename":"image_05112025_22_42_44_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198216","file1":"1402198175","file0":"1402198137","file4":"1402198294","file5":"1402198307","file3":"1402198252"},"map_files_photo_id_array":[{"photo_id":"1402198307","filename":"file5"},{"photo_id":"1402198216","filename":"file2"},{"photo_id":"1402198294","filename":"file4"},{"photo_id":"1402198175","filename":"file1"},{"photo_id":"1402198137","filename":"file0"},{"photo_id":"1402198252","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198137":["hashtag1","hashtag2"]},{"1402198175":["hashtag1","hashtag2"]},{"1402198294":["hashtag1","hashtag2"]},{"1402198307":["hashtag1","hashtag2"]},{"1402198252":["hashtag1","hashtag2"]},{"1402198216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198137, 1402198175, 1402198294, 1402198307, 1402198252, 1402198216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30990934371948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:23:03.289892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_25_10317.jpg', '/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_34_9732.jpg', '/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_44_9676.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_14_9741.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_35_9880.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_25_10317.jpg
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_34_9732.jpg
/home/pi/Desktop/images/02012026/20/46/image_02012026_20_46_44_9676.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_14_9741.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_35_9880.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198318","1402198314","1402198313","1402198316","1402198312","1402198315"],"photo_ids_order":["1402198312","1402198313","1402198314","1402198315","1402198316","1402198318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f6f8b598e91ad73ce57c4b79accde79b.jpg","text":"TemporaryFile(/tmp/multipartBody1575961319388062556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385443911,"filename":"image_02012026_20_47_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/2/be45f8ae6654ed8226d05dd4709a19e5.jpg","text":"TemporaryFile(/tmp/multipartBody1759494928184276298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385443911,"filename":"image_02012026_20_46_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/2/f55f8595141342032c2d4a5470549ef5.jpg","text":"TemporaryFile(/tmp/multipartBody3471076467062657703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385443911,"filename":"image_02012026_20_46_34_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/2/4dc7d2c39149ede3160c488bb0416b03.jpg","text":"TemporaryFile(/tmp/multipartBody6803883381448966202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385443911,"filename":"image_02012026_20_47_35_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/2/8e8f09008a0fea09db27ae82089b8234.jpg","text":"TemporaryFile(/tmp/multipartBody5251119273292733577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385443911,"filename":"image_02012026_20_46_25_10317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28c875c98eed3067191814fab290562a.jpg","text":"TemporaryFile(/tmp/multipartBody3811906606493982080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385443911,"filename":"image_02012026_20_47_14_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198314","file1":"1402198313","file0":"1402198312","file4":"1402198316","file5":"1402198318","file3":"1402198315"},"map_files_photo_id_array":[{"photo_id":"1402198318","filename":"file5"},{"photo_id":"1402198314","filename":"file2"},{"photo_id":"1402198316","filename":"file4"},{"photo_id":"1402198313","filename":"file1"},{"photo_id":"1402198312","filename":"file0"},{"photo_id":"1402198315","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198318":["hashtag1","hashtag2"]},{"1402198314":["hashtag1","hashtag2"]},{"1402198313":["hashtag1","hashtag2"]},{"1402198316":["hashtag1","hashtag2"]},{"1402198312":["hashtag1","hashtag2"]},{"1402198315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198318, 1402198314, 1402198313, 1402198316, 1402198312, 1402198315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43218183517456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:23:42.685409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_52_1846.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_54_1628.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_56_1853.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_58_1673.jpg', '/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_59_1559.jpg', '/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_01_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_52_1846.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_54_1628.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_56_1853.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_58_1673.jpg
/home/pi/Desktop/images/05112025/22/42/image_05112025_22_42_59_1559.jpg
/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_01_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":["1402198329","1402198331","1402198328","1402198330","1402198324","1402198327"],"photo_ids_order":["1402198324","1402198327","1402198328","1402198329","1402198330","1402198331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93ecdaf52cbcc6f4de66fbc9a870df2f.jpg","text":"TemporaryFile(/tmp/multipartBody1342755640502519952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385484529,"filename":"image_05112025_22_42_58_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/2/9a76909281a0d22614d937118d35f57e.jpg","text":"TemporaryFile(/tmp/multipartBody5380809730929682987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385484529,"filename":"image_05112025_22_43_01_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/2/02ffd3894a089b2174afecfdc052ba39.jpg","text":"TemporaryFile(/tmp/multipartBody1871527843685504020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385484529,"filename":"image_05112025_22_42_56_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/2/247065e081b8c86374d8bd94aee67ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1256819518777799245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385484529,"filename":"image_05112025_22_42_59_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/2/4bdffb34a098d22a3c2f78ccfb75808d.jpg","text":"TemporaryFile(/tmp/multipartBody2639713641086727194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385484529,"filename":"image_05112025_22_42_52_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/2/84c0d08362ca80b8922e031a1c75bee4.jpg","text":"TemporaryFile(/tmp/multipartBody8843647702555800365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385484529,"filename":"image_05112025_22_42_54_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198328","file1":"1402198327","file0":"1402198324","file4":"1402198330","file5":"1402198331","file3":"1402198329"},"map_files_photo_id_array":[{"photo_id":"1402198331","filename":"file5"},{"photo_id":"1402198328","filename":"file2"},{"photo_id":"1402198330","filename":"file4"},{"photo_id":"1402198327","filename":"file1"},{"photo_id":"1402198324","filename":"file0"},{"photo_id":"1402198329","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198329":["hashtag1","hashtag2"]},{"1402198331":["hashtag1","hashtag2"]},{"1402198328":["hashtag1","hashtag2"]},{"1402198330":["hashtag1","hashtag2"]},{"1402198324":["hashtag1","hashtag2"]},{"1402198327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198329, 1402198331, 1402198328, 1402198330, 1402198324, 1402198327)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.542906284332275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:24:31.800414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_03_1789.jpg', '/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_18_2633.jpg', '/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_49_27568.jpg', '/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_10_18721.jpg', '/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_16_1602.jpg', '/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_20_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_03_1789.jpg
/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_18_2633.jpg
/home/pi/Desktop/images/05112025/22/43/image_05112025_22_43_49_27568.jpg
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_10_18721.jpg
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_16_1602.jpg
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_20_1603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198347","1402198338","1402198346","1402198340","1402198342","1402198345"],"photo_ids_order":["1402198338","1402198340","1402198342","1402198345","1402198346","1402198347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bb677325833bd99de4e8feeadbe32bc.jpg","text":"TemporaryFile(/tmp/multipartBody8237275440116633268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385533637,"filename":"image_05112025_22_44_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/2/a50575a5d0aee44d1469ed34cb72e1f9.jpg","text":"TemporaryFile(/tmp/multipartBody301302855780747273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385533637,"filename":"image_05112025_22_43_03_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/2/045447fcef7557dd0a51af5484fd8b12.jpg","text":"TemporaryFile(/tmp/multipartBody729551901874392958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385533637,"filename":"image_05112025_22_44_16_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/2/8c07ace5b513fabad7d7f602edefabb0.jpg","text":"TemporaryFile(/tmp/multipartBody2612578883840000448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385533637,"filename":"image_05112025_22_43_18_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/2/4943165402a23292322935684d58af3d.jpg","text":"TemporaryFile(/tmp/multipartBody5756674334607489342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385533637,"filename":"image_05112025_22_43_49_27568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c477e78c51dc4321e00127c4a82c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody260482416533996280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385533637,"filename":"image_05112025_22_44_10_18721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198342","file1":"1402198340","file0":"1402198338","file4":"1402198346","file5":"1402198347","file3":"1402198345"},"map_files_photo_id_array":[{"photo_id":"1402198347","filename":"file5"},{"photo_id":"1402198342","filename":"file2"},{"photo_id":"1402198346","filename":"file4"},{"photo_id":"1402198340","filename":"file1"},{"photo_id":"1402198338","filename":"file0"},{"photo_id":"1402198345","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198347":["hashtag1","hashtag2"]},{"1402198338":["hashtag1","hashtag2"]},{"1402198346":["hashtag1","hashtag2"]},{"1402198340":["hashtag1","hashtag2"]},{"1402198342":["hashtag1","hashtag2"]},{"1402198345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198347, 1402198338, 1402198346, 1402198340, 1402198342, 1402198345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67579746246338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:25:13.328436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_23_1646.jpg', '/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_25_1822.jpg', '/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_30_1630.jpg', '/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_33_1553.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_07_3012.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_11_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_23_1646.jpg
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_25_1822.jpg
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_30_1630.jpg
/home/pi/Desktop/images/05112025/22/44/image_05112025_22_44_33_1553.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_07_3012.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_11_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198356","1402198350","1402198358","1402198352","1402198354","1402198348"],"photo_ids_order":["1402198348","1402198350","1402198352","1402198354","1402198356","1402198358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cc9946530a9ce973d0a8058285eed11c.jpg","text":"TemporaryFile(/tmp/multipartBody4252429452471599324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385579320,"filename":"image_05112025_22_46_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/2/fd251df02d455b1d982961746871a96c.jpg","text":"TemporaryFile(/tmp/multipartBody4794231183573870594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385579320,"filename":"image_05112025_22_44_25_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/2/720c096502897e08231e5948e7166a95.jpg","text":"TemporaryFile(/tmp/multipartBody9132379368695811492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385579320,"filename":"image_05112025_22_46_11_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/2/97a6c1ce6e982faf89fad0d9c4076de8.jpg","text":"TemporaryFile(/tmp/multipartBody8687464783875064869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385579320,"filename":"image_05112025_22_44_30_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/2/0c2be517bd6fe35f9711f45fce70f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody1697506550290808851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385579320,"filename":"image_05112025_22_44_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/2/c0fcac102a0f8302fbc1587050b8d1d4.jpg","text":"TemporaryFile(/tmp/multipartBody828139439149066595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385579320,"filename":"image_05112025_22_44_23_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198352","file1":"1402198350","file0":"1402198348","file4":"1402198356","file5":"1402198358","file3":"1402198354"},"map_files_photo_id_array":[{"photo_id":"1402198358","filename":"file5"},{"photo_id":"1402198352","filename":"file2"},{"photo_id":"1402198356","filename":"file4"},{"photo_id":"1402198350","filename":"file1"},{"photo_id":"1402198348","filename":"file0"},{"photo_id":"1402198354","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198356":["hashtag1","hashtag2"]},{"1402198350":["hashtag1","hashtag2"]},{"1402198358":["hashtag1","hashtag2"]},{"1402198352":["hashtag1","hashtag2"]},{"1402198354":["hashtag1","hashtag2"]},{"1402198348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198356, 1402198350, 1402198358, 1402198352, 1402198354, 1402198348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.665088415145874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:26:03.000529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_54_9686.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_48_05_10717.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_15_9756.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_35_10867.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_45_9669.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_54_9686.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_48_05_10717.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_15_9756.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_35_10867.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_45_9669.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_54_9644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3565001487731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:26:15.444960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_16_5123.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_20_2539.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_23_2896.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_26_2682.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_28_2615.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_32_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_16_5123.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_20_2539.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_23_2896.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_26_2682.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_28_2615.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_32_3777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198371","1402198368","1402198377","1402198376","1402198373","1402198366"],"photo_ids_order":["1402198366","1402198368","1402198371","1402198373","1402198376","1402198377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d107a73edfafb6b8d40c8c056dae0126.jpg","text":"TemporaryFile(/tmp/multipartBody4517917536383156120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385637167,"filename":"image_05112025_22_46_23_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0120b559c68d5979a3b21aba8eec3e39.jpg","text":"TemporaryFile(/tmp/multipartBody2865063234892886450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385637167,"filename":"image_05112025_22_46_20_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/2/796072956b51390f45af39ee8bd2191d.jpg","text":"TemporaryFile(/tmp/multipartBody3930075989924185384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385637167,"filename":"image_05112025_22_46_32_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/916508368c2587178cab7469a1ce6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2004554377780206158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385637167,"filename":"image_05112025_22_46_28_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/2/28095a7724a58fb32a2eae7901f77e20.jpg","text":"TemporaryFile(/tmp/multipartBody5419153235980427073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385637167,"filename":"image_05112025_22_46_26_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/2/fce8ba16840e6fcee52b36208d211787.jpg","text":"TemporaryFile(/tmp/multipartBody2763263239142839833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385637167,"filename":"image_05112025_22_46_16_5123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198371","file1":"1402198368","file0":"1402198366","file4":"1402198376","file5":"1402198377","file3":"1402198373"},"map_files_photo_id_array":[{"photo_id":"1402198377","filename":"file5"},{"photo_id":"1402198371","filename":"file2"},{"photo_id":"1402198376","filename":"file4"},{"photo_id":"1402198368","filename":"file1"},{"photo_id":"1402198366","filename":"file0"},{"photo_id":"1402198373","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198371":["hashtag1","hashtag2"]},{"1402198368":["hashtag1","hashtag2"]},{"1402198377":["hashtag1","hashtag2"]},{"1402198376":["hashtag1","hashtag2"]},{"1402198373":["hashtag1","hashtag2"]},{"1402198366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198371, 1402198368, 1402198377, 1402198376, 1402198373, 1402198366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.763341665267944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:27:09.520221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_54_9686.jpg', '/home/pi/Desktop/images/02012026/20/47/image_02012026_20_48_05_10717.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_15_9756.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_35_10867.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_45_9669.jpg', '/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_47_54_9686.jpg
/home/pi/Desktop/images/02012026/20/47/image_02012026_20_48_05_10717.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_15_9756.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_35_10867.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_45_9669.jpg
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_48_54_9644.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":["1402198392","1402198386","1402198382","1402198388","1402198390","1402198384"],"photo_ids_order":["1402198382","1402198384","1402198386","1402198388","1402198390","1402198392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71fb0d7509668e7436259f896f256922.jpg","text":"TemporaryFile(/tmp/multipartBody3567019209278155838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385692320,"filename":"image_02012026_20_48_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/2/09612f85b60b12e75de6697343b4a410.jpg","text":"TemporaryFile(/tmp/multipartBody8153089333505250586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385692320,"filename":"image_02012026_20_48_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/2/bf1b3586b1986fa6ce8b3f595618e064.jpg","text":"TemporaryFile(/tmp/multipartBody3664504381357612512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385692320,"filename":"image_02012026_20_47_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/2/12da38a387fb003c1d5b83b19527270e.jpg","text":"TemporaryFile(/tmp/multipartBody6886009451594505525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385692320,"filename":"image_02012026_20_48_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/2/7bec054fa4be468ba498547560e0ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody4049166872086759637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385692320,"filename":"image_02012026_20_48_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/2/9d7cca4e48ee43aba184516cc34d61c1.jpg","text":"TemporaryFile(/tmp/multipartBody8597299711012250180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385692320,"filename":"image_02012026_20_48_05_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198386","file1":"1402198384","file0":"1402198382","file4":"1402198390","file5":"1402198392","file3":"1402198388"},"map_files_photo_id_array":[{"photo_id":"1402198392","filename":"file5"},{"photo_id":"1402198386","filename":"file2"},{"photo_id":"1402198390","filename":"file4"},{"photo_id":"1402198384","filename":"file1"},{"photo_id":"1402198382","filename":"file0"},{"photo_id":"1402198388","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198392":["hashtag1","hashtag2"]},{"1402198386":["hashtag1","hashtag2"]},{"1402198382":["hashtag1","hashtag2"]},{"1402198388":["hashtag1","hashtag2"]},{"1402198390":["hashtag1","hashtag2"]},{"1402198384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198392, 1402198386, 1402198382, 1402198388, 1402198390, 1402198384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.22174096107483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:28:04.641267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/48/image_02012026_20_49_04_9755.jpg', '/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_15_10771.jpg', '/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_24_9545.jpg', '/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_35_10630.jpg', '/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_45_9767.jpg', '/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_54_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/48/image_02012026_20_49_04_9755.jpg
/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_15_10771.jpg
/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_24_9545.jpg
/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_35_10630.jpg
/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_45_9767.jpg
/home/pi/Desktop/images/02012026/20/49/image_02012026_20_49_54_9584.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":["1402198416","1402198410","1402198397","1402198401","1402198405","1402198398"],"photo_ids_order":["1402198397","1402198398","1402198401","1402198405","1402198410","1402198416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/43dde1f82aec9ac3dea3f6053186a647.jpg","text":"TemporaryFile(/tmp/multipartBody8792004761527735864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385747522,"filename":"image_02012026_20_49_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/2/e82a2b1866eb44f129f85f708231eb47.jpg","text":"TemporaryFile(/tmp/multipartBody5906925976824021534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385747522,"filename":"image_02012026_20_49_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/2/4b65a2f94e15e4d75d72ed6f0dc48106.jpg","text":"TemporaryFile(/tmp/multipartBody8591224561027450747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385747522,"filename":"image_02012026_20_49_04_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/2/ea5f88452ae8f96af29d17492457ff62.jpg","text":"TemporaryFile(/tmp/multipartBody311093341874587685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385747522,"filename":"image_02012026_20_49_24_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/2/c3f03c313b360bd40bd4e1ea46e73e09.jpg","text":"TemporaryFile(/tmp/multipartBody5115000173907059732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385747522,"filename":"image_02012026_20_49_35_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/2/8f8b140cbae2aa21293fc28edd27f1c2.jpg","text":"TemporaryFile(/tmp/multipartBody9167628803691186258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385747522,"filename":"image_02012026_20_49_15_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198401","file1":"1402198398","file0":"1402198397","file4":"1402198410","file5":"1402198416","file3":"1402198405"},"map_files_photo_id_array":[{"photo_id":"1402198416","filename":"file5"},{"photo_id":"1402198401","filename":"file2"},{"photo_id":"1402198410","filename":"file4"},{"photo_id":"1402198398","filename":"file1"},{"photo_id":"1402198397","filename":"file0"},{"photo_id":"1402198405","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198416":["hashtag1","hashtag2"]},{"1402198410":["hashtag1","hashtag2"]},{"1402198397":["hashtag1","hashtag2"]},{"1402198401":["hashtag1","hashtag2"]},{"1402198405":["hashtag1","hashtag2"]},{"1402198398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198416, 1402198410, 1402198397, 1402198401, 1402198405, 1402198398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.917795181274414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:29:03.019213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 21:29:21.968034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/49/image_02012026_20_50_04_9882.jpg', '/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_15_10657.jpg', '/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_25_9772.jpg', '/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_34_9709.jpg', '/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_45_10639.jpg', '/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_55_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/49/image_02012026_20_50_04_9882.jpg
/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_15_10657.jpg
/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_25_9772.jpg
/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_34_9709.jpg
/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_45_10639.jpg
/home/pi/Desktop/images/02012026/20/50/image_02012026_20_50_55_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198446","1402198440","1402198443","1402198437","1402198433","1402198429"],"photo_ids_order":["1402198429","1402198433","1402198437","1402198440","1402198443","1402198446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0eea69b5ea791ad0b82064bdc0cdef0e.jpg","text":"TemporaryFile(/tmp/multipartBody6285538612153773648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385822515,"filename":"image_02012026_20_50_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/2/9c38de33a7749907d067d4f5e2f5f966.jpg","text":"TemporaryFile(/tmp/multipartBody326094440457616171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385822515,"filename":"image_02012026_20_50_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/2/1896d698aa7f0a09f0903ef8e838706e.jpg","text":"TemporaryFile(/tmp/multipartBody2084174914330191359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385822515,"filename":"image_02012026_20_50_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/2/59f269edbd9499733f41188b7d262a55.jpg","text":"TemporaryFile(/tmp/multipartBody4999764303454028411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385822515,"filename":"image_02012026_20_50_25_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/2/0044be4e7acf87a036b25b794a420f60.jpg","text":"TemporaryFile(/tmp/multipartBody4074295031819907816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385822515,"filename":"image_02012026_20_50_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/2/c18f235e2c0681a1e720b7658b8adc03.jpg","text":"TemporaryFile(/tmp/multipartBody1340016660977792568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385822515,"filename":"image_02012026_20_50_04_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198437","file1":"1402198433","file0":"1402198429","file4":"1402198443","file5":"1402198446","file3":"1402198440"},"map_files_photo_id_array":[{"photo_id":"1402198446","filename":"file5"},{"photo_id":"1402198437","filename":"file2"},{"photo_id":"1402198443","filename":"file4"},{"photo_id":"1402198433","filename":"file1"},{"photo_id":"1402198429","filename":"file0"},{"photo_id":"1402198440","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198446":["hashtag1","hashtag2"]},{"1402198440":["hashtag1","hashtag2"]},{"1402198443":["hashtag1","hashtag2"]},{"1402198437":["hashtag1","hashtag2"]},{"1402198433":["hashtag1","hashtag2"]},{"1402198429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198446, 1402198440, 1402198443, 1402198437, 1402198433, 1402198429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79642081260681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:30:02.576452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 21:30:12.318160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_41_2677.jpg', '/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_59_18726.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_01_1621.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_03_1659.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_04_1665.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_08_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_41_2677.jpg
/home/pi/Desktop/images/05112025/22/46/image_05112025_22_46_59_18726.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_01_1621.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_03_1659.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_04_1665.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_08_1771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198457","1402198466","1402198451","1402198460","1402198454","1402198450"],"photo_ids_order":["1402198450","1402198451","1402198454","1402198457","1402198460","1402198466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0343fb62e7c6584375490bc360e1e0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4979194571686288640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385874163,"filename":"image_05112025_22_47_03_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/2/b524dac82acf5965d64d503ddd0e7cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4129650079052662621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385874163,"filename":"image_05112025_22_47_08_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/2/fe0ea5c3da64da6f68b1b2a0a70e6c1e.jpg","text":"TemporaryFile(/tmp/multipartBody8695539533602795392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385874163,"filename":"image_05112025_22_46_59_18726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce9276a0ae58d5841ee7f123d06dcee0.jpg","text":"TemporaryFile(/tmp/multipartBody5394423882426222278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385874163,"filename":"image_05112025_22_47_04_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/2/7a1e1c45df12de3a8e55b0c0d03f6ef3.jpg","text":"TemporaryFile(/tmp/multipartBody6178036510144921013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385874163,"filename":"image_05112025_22_47_01_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/2/12c72295d93b7feca2f3117d842c6967.jpg","text":"TemporaryFile(/tmp/multipartBody9220894799421812405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385874163,"filename":"image_05112025_22_46_41_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198454","file1":"1402198451","file0":"1402198450","file4":"1402198460","file5":"1402198466","file3":"1402198457"},"map_files_photo_id_array":[{"photo_id":"1402198466","filename":"file5"},{"photo_id":"1402198454","filename":"file2"},{"photo_id":"1402198460","filename":"file4"},{"photo_id":"1402198451","filename":"file1"},{"photo_id":"1402198450","filename":"file0"},{"photo_id":"1402198457","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198457":["hashtag1","hashtag2"]},{"1402198466":["hashtag1","hashtag2"]},{"1402198451":["hashtag1","hashtag2"]},{"1402198460":["hashtag1","hashtag2"]},{"1402198454":["hashtag1","hashtag2"]},{"1402198450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198457, 1402198466, 1402198451, 1402198460, 1402198454, 1402198450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.960771560668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:31:03.032490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/50/image_02012026_20_51_04_9712.jpg', '/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_15_10655.jpg', '/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_25_9708.jpg', '/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_34_9837.jpg', '/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_44_9642.jpg', '/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_55_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/50/image_02012026_20_51_04_9712.jpg
/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_15_10655.jpg
/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_25_9708.jpg
/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_34_9837.jpg
/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_44_9642.jpg
/home/pi/Desktop/images/02012026/20/51/image_02012026_20_51_55_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":["1402198479","1402198473","1402198476","1402198481","1402198472","1402198474"],"photo_ids_order":["1402198472","1402198473","1402198474","1402198476","1402198479","1402198481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c9efc35d14108f8fe387a87b3fcfe2e9.jpg","text":"TemporaryFile(/tmp/multipartBody1842314643544977385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385923663,"filename":"image_02012026_20_51_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/2/3458ba6bdf2b5c83f6242466ef266385.jpg","text":"TemporaryFile(/tmp/multipartBody4670067021377685638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385923663,"filename":"image_02012026_20_51_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/2/1157cd19401fd8be1be749bdb45d121a.jpg","text":"TemporaryFile(/tmp/multipartBody1483521767887919979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385923663,"filename":"image_02012026_20_51_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/2/cb14b0ad2b2d668b6341d4ab6bacc554.jpg","text":"TemporaryFile(/tmp/multipartBody9145942819188762042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385923663,"filename":"image_02012026_20_51_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/2/333de65b60c242ba0a5936eacbd26c25.jpg","text":"TemporaryFile(/tmp/multipartBody6868455571663807087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385923663,"filename":"image_02012026_20_51_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/2/4489915eafff007296b7db9d6220b217.jpg","text":"TemporaryFile(/tmp/multipartBody7520194230117563959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385923663,"filename":"image_02012026_20_51_25_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198474","file1":"1402198473","file0":"1402198472","file4":"1402198479","file5":"1402198481","file3":"1402198476"},"map_files_photo_id_array":[{"photo_id":"1402198481","filename":"file5"},{"photo_id":"1402198474","filename":"file2"},{"photo_id":"1402198479","filename":"file4"},{"photo_id":"1402198473","filename":"file1"},{"photo_id":"1402198472","filename":"file0"},{"photo_id":"1402198476","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198479":["hashtag1","hashtag2"]},{"1402198473":["hashtag1","hashtag2"]},{"1402198476":["hashtag1","hashtag2"]},{"1402198481":["hashtag1","hashtag2"]},{"1402198472":["hashtag1","hashtag2"]},{"1402198474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198479, 1402198473, 1402198476, 1402198481, 1402198472, 1402198474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36807131767273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:31:42.364482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_09_1643.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_11_1495.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_12_1557.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_14_1795.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_16_1747.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_18_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_09_1643.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_11_1495.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_12_1557.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_14_1795.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_16_1747.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_18_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198491","1402198493","1402198490","1402198492","1402198486","1402198489"],"photo_ids_order":["1402198486","1402198489","1402198490","1402198491","1402198492","1402198493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/659dfc50663b7caf03741672d12fe40f.jpg","text":"TemporaryFile(/tmp/multipartBody5626555614809725490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385964445,"filename":"image_05112025_22_47_14_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/2/dc6710a59716512c59183ce9c65770a5.jpg","text":"TemporaryFile(/tmp/multipartBody4126128813188649405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385964445,"filename":"image_05112025_22_47_18_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/2/1a8b89b628296003ecb1e5d3e26dbdc6.jpg","text":"TemporaryFile(/tmp/multipartBody1616083192093318971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385964445,"filename":"image_05112025_22_47_12_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/2/166396a4d58022fb6a779a4d0fc71118.jpg","text":"TemporaryFile(/tmp/multipartBody5099162940403040198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385964445,"filename":"image_05112025_22_47_16_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/2/e623f8288691ef2d30c01e525ff6973c.jpg","text":"TemporaryFile(/tmp/multipartBody6608589741475347017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385964445,"filename":"image_05112025_22_47_09_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/2/78401af225c09f36712960f642a946b9.jpg","text":"TemporaryFile(/tmp/multipartBody2559517074673731075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767385964445,"filename":"image_05112025_22_47_11_1495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198490","file1":"1402198489","file0":"1402198486","file4":"1402198492","file5":"1402198493","file3":"1402198491"},"map_files_photo_id_array":[{"photo_id":"1402198493","filename":"file5"},{"photo_id":"1402198490","filename":"file2"},{"photo_id":"1402198492","filename":"file4"},{"photo_id":"1402198489","filename":"file1"},{"photo_id":"1402198486","filename":"file0"},{"photo_id":"1402198491","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198491":["hashtag1","hashtag2"]},{"1402198493":["hashtag1","hashtag2"]},{"1402198490":["hashtag1","hashtag2"]},{"1402198492":["hashtag1","hashtag2"]},{"1402198486":["hashtag1","hashtag2"]},{"1402198489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198491, 1402198493, 1402198490, 1402198492, 1402198486, 1402198489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96529459953308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:32:22.529246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/51/image_02012026_20_52_05_9725.jpg', '/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_14_9637.jpg', '/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_25_10686.jpg', '/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_35_9776.jpg', '/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_44_9600.jpg', '/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/51/image_02012026_20_52_05_9725.jpg
/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_14_9637.jpg
/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_25_10686.jpg
/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_35_9776.jpg
/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_44_9600.jpg
/home/pi/Desktop/images/02012026/20/52/image_02012026_20_52_55_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":["1402198501","1402198518","1402198503","1402198505","1402198510","1402198507"],"photo_ids_order":["1402198501","1402198503","1402198505","1402198507","1402198510","1402198518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c5ce2f523e7631653cf1e2f0c77a7be.jpg","text":"TemporaryFile(/tmp/multipartBody4734702958509679459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386003141,"filename":"image_02012026_20_52_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/2/d4b944e2f531e6868ffc9f9173c5e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody507986250786426660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386003141,"filename":"image_02012026_20_52_55_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/2/ca92c1ad4a1c4293eaababdb8fbe7148.jpg","text":"TemporaryFile(/tmp/multipartBody797951611619724908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386003141,"filename":"image_02012026_20_52_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/2/fa8c0cc3ad62768b8443db3ce46e0f85.jpg","text":"TemporaryFile(/tmp/multipartBody257382090221001314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386003141,"filename":"image_02012026_20_52_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/2/88af3ee34b8c1ed97674598ef60eee79.jpg","text":"TemporaryFile(/tmp/multipartBody5193702572266381252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386003141,"filename":"image_02012026_20_52_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/2/74dc1b02c930e2899e0b62271a9f83f0.jpg","text":"TemporaryFile(/tmp/multipartBody2899120353805811926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386003141,"filename":"image_02012026_20_52_35_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198505","file1":"1402198503","file0":"1402198501","file4":"1402198510","file5":"1402198518","file3":"1402198507"},"map_files_photo_id_array":[{"photo_id":"1402198518","filename":"file5"},{"photo_id":"1402198505","filename":"file2"},{"photo_id":"1402198510","filename":"file4"},{"photo_id":"1402198503","filename":"file1"},{"photo_id":"1402198501","filename":"file0"},{"photo_id":"1402198507","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198501":["hashtag1","hashtag2"]},{"1402198518":["hashtag1","hashtag2"]},{"1402198503":["hashtag1","hashtag2"]},{"1402198505":["hashtag1","hashtag2"]},{"1402198510":["hashtag1","hashtag2"]},{"1402198507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198501, 1402198518, 1402198503, 1402198505, 1402198510, 1402198507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82265591621399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:33:03.291018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/52/image_02012026_20_53_05_9682.jpg', '/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_14_9705.jpg', '/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_24_9872.jpg', '/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_45_9644.jpg', '/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_54_9757.jpg', '/home/pi/Desktop/images/02012026/20/53/image_02012026_20_54_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/52/image_02012026_20_53_05_9682.jpg
/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_14_9705.jpg
/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_24_9872.jpg
/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_45_9644.jpg
/home/pi/Desktop/images/02012026/20/53/image_02012026_20_53_54_9757.jpg
/home/pi/Desktop/images/02012026/20/53/image_02012026_20_54_05_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198527","1402198536","1402198532","1402198529","1402198525","1402198534"],"photo_ids_order":["1402198525","1402198527","1402198529","1402198532","1402198534","1402198536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b06cc232c467f7f09dc463b030436db8.jpg","text":"TemporaryFile(/tmp/multipartBody7638670525119868718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386043921,"filename":"image_02012026_20_53_14_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/2/727aa8694f2eac91e49478767966d67b.jpg","text":"TemporaryFile(/tmp/multipartBody7686404128391870403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386043921,"filename":"image_02012026_20_54_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/2/26c4a47a7ed5b4674b64139f0b039f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5814248622838407919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386043921,"filename":"image_02012026_20_53_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/2/e06300bd43f043e3f0fcec28374587e9.jpg","text":"TemporaryFile(/tmp/multipartBody1352919009862744203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386043921,"filename":"image_02012026_20_53_24_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4943025efb6b714e099b57f5989597a5.jpg","text":"TemporaryFile(/tmp/multipartBody8218389102480070078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386043921,"filename":"image_02012026_20_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/2/a7fb83237aaae4b0f703d2ed137470ef.jpg","text":"TemporaryFile(/tmp/multipartBody4868641444045475568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386043921,"filename":"image_02012026_20_53_54_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198529","file1":"1402198527","file0":"1402198525","file4":"1402198534","file5":"1402198536","file3":"1402198532"},"map_files_photo_id_array":[{"photo_id":"1402198536","filename":"file5"},{"photo_id":"1402198529","filename":"file2"},{"photo_id":"1402198534","filename":"file4"},{"photo_id":"1402198527","filename":"file1"},{"photo_id":"1402198525","filename":"file0"},{"photo_id":"1402198532","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198527":["hashtag1","hashtag2"]},{"1402198536":["hashtag1","hashtag2"]},{"1402198532":["hashtag1","hashtag2"]},{"1402198529":["hashtag1","hashtag2"]},{"1402198525":["hashtag1","hashtag2"]},{"1402198534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198527, 1402198536, 1402198532, 1402198529, 1402198525, 1402198534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.796969413757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:33:42.660889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_19_1772.jpg', '/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_28_2692.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_04_1670.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_05_1629.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_09_1820.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_10_1563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_19_1772.jpg
/home/pi/Desktop/images/05112025/22/47/image_05112025_22_47_28_2692.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_04_1670.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_05_1629.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_09_1820.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_10_1563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198545","1402198544","1402198541","1402198549","1402198543","1402198546"],"photo_ids_order":["1402198541","1402198543","1402198544","1402198545","1402198546","1402198549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c3b18928f42ccbc1e0aeb6e6720b3439.jpg","text":"TemporaryFile(/tmp/multipartBody5672236372659672419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386084501,"filename":"image_05112025_22_48_05_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/2/37bfbfd2f73f796de5a812ee022ec720.jpg","text":"TemporaryFile(/tmp/multipartBody4752211681684755235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386084501,"filename":"image_05112025_22_48_04_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/2/921e0f564504b8ddce73c5d89a26cf1e.jpg","text":"TemporaryFile(/tmp/multipartBody7120435696955215468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386084501,"filename":"image_05112025_22_47_19_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ac03781c6044e8c6b937eb1d0fc72dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7407604894395816935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386084501,"filename":"image_05112025_22_48_10_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/2/c6a8358c874a1274e2400e8bfeff2c07.jpg","text":"TemporaryFile(/tmp/multipartBody7386649445232220209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386084501,"filename":"image_05112025_22_47_28_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/2/9f73f8e49131c562c29c81a46fda12f3.jpg","text":"TemporaryFile(/tmp/multipartBody2593948654126457099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386084501,"filename":"image_05112025_22_48_09_1820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198544","file1":"1402198543","file0":"1402198541","file4":"1402198546","file5":"1402198549","file3":"1402198545"},"map_files_photo_id_array":[{"photo_id":"1402198549","filename":"file5"},{"photo_id":"1402198544","filename":"file2"},{"photo_id":"1402198546","filename":"file4"},{"photo_id":"1402198543","filename":"file1"},{"photo_id":"1402198541","filename":"file0"},{"photo_id":"1402198545","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198545":["hashtag1","hashtag2"]},{"1402198544":["hashtag1","hashtag2"]},{"1402198541":["hashtag1","hashtag2"]},{"1402198549":["hashtag1","hashtag2"]},{"1402198543":["hashtag1","hashtag2"]},{"1402198546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198545, 1402198544, 1402198541, 1402198549, 1402198543, 1402198546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329673290252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:34:22.900763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_15_9775.jpg', '/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_25_9777.jpg', '/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_34_9574.jpg', '/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_45_10671.jpg', '/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_15_10657.jpg', '/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_25_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_15_9775.jpg
/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_25_9777.jpg
/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_34_9574.jpg
/home/pi/Desktop/images/02012026/20/54/image_02012026_20_54_45_10671.jpg
/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_15_10657.jpg
/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_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":["1402198566","1402198560","1402198557","1402198562","1402198568","1402198564"],"photo_ids_order":["1402198557","1402198560","1402198562","1402198564","1402198566","1402198568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f0bfb98858b81de91d0588e6574c42a.jpg","text":"TemporaryFile(/tmp/multipartBody5110547762969367277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386123485,"filename":"image_02012026_20_55_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/2/411aaa26d9ade8577233a6ac0869e684.jpg","text":"TemporaryFile(/tmp/multipartBody681424469493266730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386123485,"filename":"image_02012026_20_54_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/2/73846867b076704c2600c6fa2932ecfb.jpg","text":"TemporaryFile(/tmp/multipartBody7004281280255539379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386123485,"filename":"image_02012026_20_54_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/2/3f1a668f0934281c5557d646758e1728.jpg","text":"TemporaryFile(/tmp/multipartBody1932909328119881264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386123485,"filename":"image_02012026_20_54_34_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/2/8ed82d1898293dfd8ac0a6705acd8da2.jpg","text":"TemporaryFile(/tmp/multipartBody2724220502670436068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386123485,"filename":"image_02012026_20_55_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/2/24e95ff55d8d83c96bded84d677edf3f.jpg","text":"TemporaryFile(/tmp/multipartBody6028843250767626205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386123485,"filename":"image_02012026_20_54_45_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198562","file1":"1402198560","file0":"1402198557","file4":"1402198566","file5":"1402198568","file3":"1402198564"},"map_files_photo_id_array":[{"photo_id":"1402198568","filename":"file5"},{"photo_id":"1402198562","filename":"file2"},{"photo_id":"1402198566","filename":"file4"},{"photo_id":"1402198560","filename":"file1"},{"photo_id":"1402198557","filename":"file0"},{"photo_id":"1402198564","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198566":["hashtag1","hashtag2"]},{"1402198560":["hashtag1","hashtag2"]},{"1402198557":["hashtag1","hashtag2"]},{"1402198562":["hashtag1","hashtag2"]},{"1402198568":["hashtag1","hashtag2"]},{"1402198564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198566, 1402198560, 1402198557, 1402198562, 1402198568, 1402198564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.587756872177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:35:02.754017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_34_9802.jpg', '/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_44_9667.jpg', '/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_55_10814.jpg', '/home/pi/Desktop/images/02012026/20/55/image_02012026_20_56_05_9698.jpg', '/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_14_9678.jpg', '/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_24_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_34_9802.jpg
/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_44_9667.jpg
/home/pi/Desktop/images/02012026/20/55/image_02012026_20_55_55_10814.jpg
/home/pi/Desktop/images/02012026/20/55/image_02012026_20_56_05_9698.jpg
/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_14_9678.jpg
/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_24_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":["1402198575","1402198580","1402198583","1402198577","1402198586","1402198573"],"photo_ids_order":["1402198573","1402198575","1402198577","1402198580","1402198583","1402198586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0db848169c3256c2119a7374dd0aa84.jpg","text":"TemporaryFile(/tmp/multipartBody2304577437115268268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386163412,"filename":"image_02012026_20_55_44_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/2/0cbb293c07936f85bfb229d1de96bb29.jpg","text":"TemporaryFile(/tmp/multipartBody2833434003323219651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386163412,"filename":"image_02012026_20_56_05_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/2/79714e9a3adf96e5b08e85e553df0674.jpg","text":"TemporaryFile(/tmp/multipartBody1055506459849660088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386163412,"filename":"image_02012026_20_56_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/2/57bce2c5c6fb6939abc143f0611f6598.jpg","text":"TemporaryFile(/tmp/multipartBody8283778286866447786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386163412,"filename":"image_02012026_20_55_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/2/778b44f00185ed0c00b3c94997911a47.jpg","text":"TemporaryFile(/tmp/multipartBody8833027070737136292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386163412,"filename":"image_02012026_20_56_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/2/85c9049c1cf7dbec468eb03e9d4eaa6f.jpg","text":"TemporaryFile(/tmp/multipartBody4992889482257282323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386163412,"filename":"image_02012026_20_55_34_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198577","file1":"1402198575","file0":"1402198573","file4":"1402198583","file5":"1402198586","file3":"1402198580"},"map_files_photo_id_array":[{"photo_id":"1402198586","filename":"file5"},{"photo_id":"1402198577","filename":"file2"},{"photo_id":"1402198583","filename":"file4"},{"photo_id":"1402198575","filename":"file1"},{"photo_id":"1402198573","filename":"file0"},{"photo_id":"1402198580","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198575":["hashtag1","hashtag2"]},{"1402198580":["hashtag1","hashtag2"]},{"1402198583":["hashtag1","hashtag2"]},{"1402198577":["hashtag1","hashtag2"]},{"1402198586":["hashtag1","hashtag2"]},{"1402198573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198575, 1402198580, 1402198583, 1402198577, 1402198586, 1402198573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.588526010513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:35:42.092197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_12_1709.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_14_1710.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_17_1615.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_20_1668.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_25_1662.jpg', '/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_27_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_12_1709.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_14_1710.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_17_1615.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_20_1668.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_25_1662.jpg
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_27_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":["1402198599","1402198592","1402198595","1402198597","1402198601","1402198603"],"photo_ids_order":["1402198592","1402198595","1402198597","1402198599","1402198601","1402198603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8841f87081d44b4e39560e0418ff52e4.jpg","text":"TemporaryFile(/tmp/multipartBody406018705497873356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386203947,"filename":"image_05112025_22_48_20_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/2/1e5966777ac2887e674095cf35bab144.jpg","text":"TemporaryFile(/tmp/multipartBody7372690589673579328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386203947,"filename":"image_05112025_22_48_12_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/2/dd872908747c4e6f37bcc4fa8c524764.jpg","text":"TemporaryFile(/tmp/multipartBody7270737305718335620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386203947,"filename":"image_05112025_22_48_14_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/2/f3e6861fc59ade87959f44539e431949.jpg","text":"TemporaryFile(/tmp/multipartBody94940468719947138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386203947,"filename":"image_05112025_22_48_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/2/a91212f91434a88eb49ed35339fe762f.jpg","text":"TemporaryFile(/tmp/multipartBody9078533012738940167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386203947,"filename":"image_05112025_22_48_25_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/2/796abe6c5b5cfade0504b1c1a4742b54.jpg","text":"TemporaryFile(/tmp/multipartBody2933441044530141331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386203947,"filename":"image_05112025_22_48_27_1733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198597","file1":"1402198595","file0":"1402198592","file4":"1402198601","file5":"1402198603","file3":"1402198599"},"map_files_photo_id_array":[{"photo_id":"1402198603","filename":"file5"},{"photo_id":"1402198597","filename":"file2"},{"photo_id":"1402198601","filename":"file4"},{"photo_id":"1402198595","filename":"file1"},{"photo_id":"1402198592","filename":"file0"},{"photo_id":"1402198599","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198599":["hashtag1","hashtag2"]},{"1402198592":["hashtag1","hashtag2"]},{"1402198595":["hashtag1","hashtag2"]},{"1402198597":["hashtag1","hashtag2"]},{"1402198601":["hashtag1","hashtag2"]},{"1402198603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198599, 1402198592, 1402198595, 1402198597, 1402198601, 1402198603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78614115715027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:36:22.267606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_35_10530.jpg', '/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_54_9598.jpg', '/home/pi/Desktop/images/02012026/20/56/image_02012026_20_57_05_10788.jpg', '/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_15_9827.jpg', '/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_24_9651.jpg', '/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_34_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_35_10530.jpg
/home/pi/Desktop/images/02012026/20/56/image_02012026_20_56_54_9598.jpg
/home/pi/Desktop/images/02012026/20/56/image_02012026_20_57_05_10788.jpg
/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_15_9827.jpg
/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_24_9651.jpg
/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_34_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":["1402198632","1402198608","1402198611","1402198613","1402198622","1402198615"],"photo_ids_order":["1402198608","1402198611","1402198613","1402198615","1402198622","1402198632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/862eac7806e031a41a3ec963974d21d2.jpg","text":"TemporaryFile(/tmp/multipartBody1876595944319309532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386242846,"filename":"image_02012026_20_57_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/2/697d4bf58e05703ed00a0c74e1d22204.jpg","text":"TemporaryFile(/tmp/multipartBody6598613002749342385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386242846,"filename":"image_02012026_20_56_35_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/2/01804bafaab3383ef8718f4b0eae2006.jpg","text":"TemporaryFile(/tmp/multipartBody5100448752362436319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386242846,"filename":"image_02012026_20_56_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/2/5e2e62a39acd86d4459e85ac18b97cf8.jpg","text":"TemporaryFile(/tmp/multipartBody6836686237212373969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386242846,"filename":"image_02012026_20_57_05_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/2/424be02af3141a715d46f5cea333ee69.jpg","text":"TemporaryFile(/tmp/multipartBody4739574986485237828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386242846,"filename":"image_02012026_20_57_24_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/2/9cedd55f5c42f1c71f7d69431f1b7ca8.jpg","text":"TemporaryFile(/tmp/multipartBody2234216605042386435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386242846,"filename":"image_02012026_20_57_15_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198613","file1":"1402198611","file0":"1402198608","file4":"1402198622","file5":"1402198632","file3":"1402198615"},"map_files_photo_id_array":[{"photo_id":"1402198632","filename":"file5"},{"photo_id":"1402198613","filename":"file2"},{"photo_id":"1402198622","filename":"file4"},{"photo_id":"1402198611","filename":"file1"},{"photo_id":"1402198608","filename":"file0"},{"photo_id":"1402198615","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198632":["hashtag1","hashtag2"]},{"1402198608":["hashtag1","hashtag2"]},{"1402198611":["hashtag1","hashtag2"]},{"1402198613":["hashtag1","hashtag2"]},{"1402198622":["hashtag1","hashtag2"]},{"1402198615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198632, 1402198608, 1402198611, 1402198613, 1402198622, 1402198615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95993781089783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:37:03.073621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_45_10890.jpg', '/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_55_9835.jpg', '/home/pi/Desktop/images/02012026/20/57/image_02012026_20_58_05_9752.jpg', '/home/pi/Desktop/images/02012026/20/58/image_02012026_20_58_14_9865.jpg', '/home/pi/Desktop/images/02012026/20/58/image_02012026_20_58_35_10628.jpg', '/home/pi/Desktop/images/02012026/20/58/image_02012026_20_58_44_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_45_10890.jpg
/home/pi/Desktop/images/02012026/20/57/image_02012026_20_57_55_9835.jpg
/home/pi/Desktop/images/02012026/20/57/image_02012026_20_58_05_9752.jpg
/home/pi/Desktop/images/02012026/20/58/image_02012026_20_58_14_9865.jpg
/home/pi/Desktop/images/02012026/20/58/image_02012026_20_58_35_10628.jpg
/home/pi/Desktop/images/02012026/20/58/image_02012026_20_58_44_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198644","1402198641","1402198635","1402198637","1402198648","1402198639"],"photo_ids_order":["1402198635","1402198637","1402198639","1402198641","1402198644","1402198648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f59c232b436cf82ba8fa58dacf13749f.jpg","text":"TemporaryFile(/tmp/multipartBody1524990826291091322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386283710,"filename":"image_02012026_20_58_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/2/ad0a187e84951cf84ae2a4695a23ac73.jpg","text":"TemporaryFile(/tmp/multipartBody1342530905908407534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386283710,"filename":"image_02012026_20_58_14_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/2/6ed86cf88607a6aca7928f26e27bb9c9.jpg","text":"TemporaryFile(/tmp/multipartBody3030274407776086066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386283710,"filename":"image_02012026_20_57_45_10890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/08024d81edd7715cf9bda40b6b911605.jpg","text":"TemporaryFile(/tmp/multipartBody8535516953812694803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386283710,"filename":"image_02012026_20_57_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/2/576285a7ce91b4dcb3ec1b6997e7580b.jpg","text":"TemporaryFile(/tmp/multipartBody1861695716745254276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386283710,"filename":"image_02012026_20_58_44_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/2/4062a47a50aced0b45b9306aeb9f47f5.jpg","text":"TemporaryFile(/tmp/multipartBody6100479647405495221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386283710,"filename":"image_02012026_20_58_05_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198639","file1":"1402198637","file0":"1402198635","file4":"1402198644","file5":"1402198648","file3":"1402198641"},"map_files_photo_id_array":[{"photo_id":"1402198648","filename":"file5"},{"photo_id":"1402198639","filename":"file2"},{"photo_id":"1402198644","filename":"file4"},{"photo_id":"1402198637","filename":"file1"},{"photo_id":"1402198635","filename":"file0"},{"photo_id":"1402198641","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198644":["hashtag1","hashtag2"]},{"1402198641":["hashtag1","hashtag2"]},{"1402198635":["hashtag1","hashtag2"]},{"1402198637":["hashtag1","hashtag2"]},{"1402198648":["hashtag1","hashtag2"]},{"1402198639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198644, 1402198641, 1402198635, 1402198637, 1402198648, 1402198639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84182381629944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:37:42.689299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_32_1524.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_10_38087.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_13_1599.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_17_1735.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_19_1883.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_22_3253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/48/image_05112025_22_48_32_1524.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_10_38087.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_13_1599.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_17_1735.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_19_1883.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_22_3253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198659","1402198656","1402198658","1402198660","1402198654","1402198657"],"photo_ids_order":["1402198654","1402198656","1402198657","1402198658","1402198659","1402198660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29d714fd8f43fae3f9993d71abbfb4c3.jpg","text":"TemporaryFile(/tmp/multipartBody1373628531510271139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386324732,"filename":"image_05112025_22_49_19_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/2/8d1a73fa3d8f6e2014f1cbce24b7ebe5.jpg","text":"TemporaryFile(/tmp/multipartBody1583407599108545980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386324732,"filename":"image_05112025_22_49_10_38087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/13d4fddd793df3a297edeb8bb41dadb7.jpg","text":"TemporaryFile(/tmp/multipartBody66977610278019149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386324732,"filename":"image_05112025_22_49_17_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/2/f426ba3705cd648e34af5a8076102d71.jpg","text":"TemporaryFile(/tmp/multipartBody7236181681630847356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386324732,"filename":"image_05112025_22_49_22_3253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/29d6bb903fbfb1c51232389a4aab72cf.jpg","text":"TemporaryFile(/tmp/multipartBody744871129051728797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386324732,"filename":"image_05112025_22_48_32_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/2/244bc38200333e94d26d08a8ca924123.jpg","text":"TemporaryFile(/tmp/multipartBody1501061397179008968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386324732,"filename":"image_05112025_22_49_13_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198657","file1":"1402198656","file0":"1402198654","file4":"1402198659","file5":"1402198660","file3":"1402198658"},"map_files_photo_id_array":[{"photo_id":"1402198660","filename":"file5"},{"photo_id":"1402198657","filename":"file2"},{"photo_id":"1402198659","filename":"file4"},{"photo_id":"1402198656","filename":"file1"},{"photo_id":"1402198654","filename":"file0"},{"photo_id":"1402198658","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198659":["hashtag1","hashtag2"]},{"1402198656":["hashtag1","hashtag2"]},{"1402198658":["hashtag1","hashtag2"]},{"1402198660":["hashtag1","hashtag2"]},{"1402198654":["hashtag1","hashtag2"]},{"1402198657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198659, 1402198656, 1402198658, 1402198660, 1402198654, 1402198657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76682448387146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:38:21.940777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_15_9812.jpg', '/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_24_9697.jpg', '/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_35_10549.jpg', '/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_45_9762.jpg', '/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_54_9788.jpg', '/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_15_9812.jpg
/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_24_9697.jpg
/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_35_10549.jpg
/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_45_9762.jpg
/home/pi/Desktop/images/02012026/20/59/image_02012026_20_59_54_9788.jpg
/home/pi/Desktop/images/02012026/21/00/image_02012026_21_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":["1402198679","1402198690","1402198672","1402198666","1402198675","1402198669"],"photo_ids_order":["1402198666","1402198669","1402198672","1402198675","1402198679","1402198690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a572617be788d61f57f4a9a81de042b.jpg","text":"TemporaryFile(/tmp/multipartBody5970927474362022847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386362521,"filename":"image_02012026_20_59_54_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/2/fcff4c0d8f096e4a168e5545e85debb7.jpg","text":"TemporaryFile(/tmp/multipartBody2153722674812434562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386362521,"filename":"image_02012026_21_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/2/a2d7905d41c3f0dc58990788810305bb.jpg","text":"TemporaryFile(/tmp/multipartBody1946312157810884493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386362521,"filename":"image_02012026_20_59_35_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/2/12afcb79d993a241705f57a7a044b4c2.jpg","text":"TemporaryFile(/tmp/multipartBody6351408659780775050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386362521,"filename":"image_02012026_20_59_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/2/6e66f40688b618c820d192d750d13134.jpg","text":"TemporaryFile(/tmp/multipartBody6408322975570772528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386362521,"filename":"image_02012026_20_59_45_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/2/2c950d8e69be4ab60970f89a63d00f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3971179584285276622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386362521,"filename":"image_02012026_20_59_24_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198672","file1":"1402198669","file0":"1402198666","file4":"1402198679","file5":"1402198690","file3":"1402198675"},"map_files_photo_id_array":[{"photo_id":"1402198690","filename":"file5"},{"photo_id":"1402198672","filename":"file2"},{"photo_id":"1402198679","filename":"file4"},{"photo_id":"1402198669","filename":"file1"},{"photo_id":"1402198666","filename":"file0"},{"photo_id":"1402198675","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198679":["hashtag1","hashtag2"]},{"1402198690":["hashtag1","hashtag2"]},{"1402198672":["hashtag1","hashtag2"]},{"1402198666":["hashtag1","hashtag2"]},{"1402198675":["hashtag1","hashtag2"]},{"1402198669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198679, 1402198690, 1402198672, 1402198666, 1402198675, 1402198669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.414591550827026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:39:02.827455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_25_10723.jpg', '/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_35_9741.jpg', '/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_44_9653.jpg', '/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_54_9878.jpg', '/home/pi/Desktop/images/02012026/21/00/image_02012026_21_01_05_10665.jpg', '/home/pi/Desktop/images/02012026/21/01/image_02012026_21_01_15_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_25_10723.jpg
/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_35_9741.jpg
/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_44_9653.jpg
/home/pi/Desktop/images/02012026/21/00/image_02012026_21_00_54_9878.jpg
/home/pi/Desktop/images/02012026/21/00/image_02012026_21_01_05_10665.jpg
/home/pi/Desktop/images/02012026/21/01/image_02012026_21_01_15_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":["1402198708","1402198718","1402198706","1402198709","1402198714","1402198711"],"photo_ids_order":["1402198706","1402198708","1402198709","1402198711","1402198714","1402198718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/56a6402b4c220b0c9c1a8fec93c41854.jpg","text":"TemporaryFile(/tmp/multipartBody7601538029270448900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386403601,"filename":"image_02012026_21_00_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/2/a2d602175ba4faf21a5931690705e20a.jpg","text":"TemporaryFile(/tmp/multipartBody5097645279033880713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386403601,"filename":"image_02012026_21_01_15_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/2/34263912baf1204c73d378905ea04440.jpg","text":"TemporaryFile(/tmp/multipartBody8065967768064549603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386403601,"filename":"image_02012026_21_00_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/2/6642235997c770c788e0110e5c18b249.jpg","text":"TemporaryFile(/tmp/multipartBody2895510283396720392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386403601,"filename":"image_02012026_21_00_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/2/37948d99b0e06cfc1b64ea27dfaa8cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7887753818589925008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386403601,"filename":"image_02012026_21_01_05_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/2/27a67ad5d273ed326c05aa0f02ed053a.jpg","text":"TemporaryFile(/tmp/multipartBody4005182714777345323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386403601,"filename":"image_02012026_21_00_54_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198709","file1":"1402198708","file0":"1402198706","file4":"1402198714","file5":"1402198718","file3":"1402198711"},"map_files_photo_id_array":[{"photo_id":"1402198718","filename":"file5"},{"photo_id":"1402198709","filename":"file2"},{"photo_id":"1402198714","filename":"file4"},{"photo_id":"1402198708","filename":"file1"},{"photo_id":"1402198706","filename":"file0"},{"photo_id":"1402198711","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198708":["hashtag1","hashtag2"]},{"1402198718":["hashtag1","hashtag2"]},{"1402198706":["hashtag1","hashtag2"]},{"1402198709":["hashtag1","hashtag2"]},{"1402198714":["hashtag1","hashtag2"]},{"1402198711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198708, 1402198718, 1402198706, 1402198709, 1402198714, 1402198711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70148849487305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:39:42.063018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_24_1721.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_39_15754.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_42_1559.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_44_1847.jpg', '/home/pi/Desktop/images/05112025/22/49/image_05112025_22_50_00_15299.jpg', '/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_24_1721.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_39_15754.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_42_1559.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_49_44_1847.jpg
/home/pi/Desktop/images/05112025/22/49/image_05112025_22_50_00_15299.jpg
/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_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":["1402198725","1402198728","1402198724","1402198727","1402198723","1402198726"],"photo_ids_order":["1402198723","1402198724","1402198725","1402198726","1402198727","1402198728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/11f2b24a647ded719d92acc4893c96f2.jpg","text":"TemporaryFile(/tmp/multipartBody302779096095027527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386443905,"filename":"image_05112025_22_49_42_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/2/f6f7a54e7a9cef7bb5ffac0d7cbf489a.jpg","text":"TemporaryFile(/tmp/multipartBody2511696732446037787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386443905,"filename":"image_05112025_22_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/2/39a4e3e2a9d9f3e1754cc809b869e649.jpg","text":"TemporaryFile(/tmp/multipartBody2503530043406000011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386443905,"filename":"image_05112025_22_49_39_15754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d5b40201c53cf7a4c55e98207fee3d9.jpg","text":"TemporaryFile(/tmp/multipartBody3120761154617335161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386443905,"filename":"image_05112025_22_50_00_15299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46eae8bcf3ad70c485847b5c5af201d1.jpg","text":"TemporaryFile(/tmp/multipartBody965979831376750042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386443905,"filename":"image_05112025_22_49_24_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/2/7ec6af6c1337b339a1f3c6f7e9440a24.jpg","text":"TemporaryFile(/tmp/multipartBody1150572919921598156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386443905,"filename":"image_05112025_22_49_44_1847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198725","file1":"1402198724","file0":"1402198723","file4":"1402198727","file5":"1402198728","file3":"1402198726"},"map_files_photo_id_array":[{"photo_id":"1402198728","filename":"file5"},{"photo_id":"1402198725","filename":"file2"},{"photo_id":"1402198727","filename":"file4"},{"photo_id":"1402198724","filename":"file1"},{"photo_id":"1402198723","filename":"file0"},{"photo_id":"1402198726","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198725":["hashtag1","hashtag2"]},{"1402198728":["hashtag1","hashtag2"]},{"1402198724":["hashtag1","hashtag2"]},{"1402198727":["hashtag1","hashtag2"]},{"1402198723":["hashtag1","hashtag2"]},{"1402198726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198725, 1402198728, 1402198724, 1402198727, 1402198723, 1402198726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92775535583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:40:22.175686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/01/image_02012026_21_01_24_9651.jpg', '/home/pi/Desktop/images/02012026/21/01/image_02012026_21_01_54_9834.jpg', '/home/pi/Desktop/images/02012026/21/01/image_02012026_21_02_04_9853.jpg', '/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_15_10681.jpg', '/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_25_9697.jpg', '/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_35_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/01/image_02012026_21_01_24_9651.jpg
/home/pi/Desktop/images/02012026/21/01/image_02012026_21_01_54_9834.jpg
/home/pi/Desktop/images/02012026/21/01/image_02012026_21_02_04_9853.jpg
/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_15_10681.jpg
/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_25_9697.jpg
/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_35_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":["1402198746","1402198749","1402198742","1402198736","1402198744","1402198738"],"photo_ids_order":["1402198736","1402198738","1402198742","1402198744","1402198746","1402198749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1e9bbdf27628e80c4b472f9b83389a02.jpg","text":"TemporaryFile(/tmp/multipartBody7935437770945661396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386482759,"filename":"image_02012026_21_02_25_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/2/ee3cc5f74757f6c55822267e27524633.jpg","text":"TemporaryFile(/tmp/multipartBody6363672339542592876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386482759,"filename":"image_02012026_21_02_35_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/2/9b8fd68de29016caa010d5652a11c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody8295045036975991524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386482759,"filename":"image_02012026_21_02_04_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/2/ccf810cd4359d70de9914ef7350da874.jpg","text":"TemporaryFile(/tmp/multipartBody2418408694245426474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386482759,"filename":"image_02012026_21_01_24_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/2/b4d025b90aca21a95b38dc5920f71f9f.jpg","text":"TemporaryFile(/tmp/multipartBody5887077858287532845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386482759,"filename":"image_02012026_21_02_15_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/2/6bd55c085508e105d7946414ea1b4cf7.jpg","text":"TemporaryFile(/tmp/multipartBody5873667276104066748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386482759,"filename":"image_02012026_21_01_54_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198742","file1":"1402198738","file0":"1402198736","file4":"1402198746","file5":"1402198749","file3":"1402198744"},"map_files_photo_id_array":[{"photo_id":"1402198749","filename":"file5"},{"photo_id":"1402198742","filename":"file2"},{"photo_id":"1402198746","filename":"file4"},{"photo_id":"1402198738","filename":"file1"},{"photo_id":"1402198736","filename":"file0"},{"photo_id":"1402198744","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198746":["hashtag1","hashtag2"]},{"1402198749":["hashtag1","hashtag2"]},{"1402198742":["hashtag1","hashtag2"]},{"1402198736":["hashtag1","hashtag2"]},{"1402198744":["hashtag1","hashtag2"]},{"1402198738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198746, 1402198749, 1402198742, 1402198736, 1402198744, 1402198738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52888774871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:41:03.155253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_45_9824.jpg', '/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_55_9689.jpg', '/home/pi/Desktop/images/02012026/21/02/image_02012026_21_03_05_10513.jpg', '/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_15_9742.jpg', '/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_25_9596.jpg', '/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_35_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_45_9824.jpg
/home/pi/Desktop/images/02012026/21/02/image_02012026_21_02_55_9689.jpg
/home/pi/Desktop/images/02012026/21/02/image_02012026_21_03_05_10513.jpg
/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_15_9742.jpg
/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_25_9596.jpg
/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_35_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":["1402198764","1402198772","1402198766","1402198769","1402198774","1402198756"],"photo_ids_order":["1402198756","1402198764","1402198766","1402198769","1402198772","1402198774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0289313d247a03fb36482f24dc60e6c.jpg","text":"TemporaryFile(/tmp/multipartBody8305406904210660826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386523832,"filename":"image_02012026_21_02_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/2/5c09756a5765c91de752703865dd1778.jpg","text":"TemporaryFile(/tmp/multipartBody837224374080516497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386523832,"filename":"image_02012026_21_03_25_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/2/236c3ed1a081136f10b889fc2cf10bc5.jpg","text":"TemporaryFile(/tmp/multipartBody576258657002633931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386523832,"filename":"image_02012026_21_03_05_10513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d331940ac6ced1e6106cc0a02740bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody2897765618081893218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386523832,"filename":"image_02012026_21_03_15_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/2/6377d107e45536bba0e971c66b4a3967.jpg","text":"TemporaryFile(/tmp/multipartBody8581600718789876025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386523832,"filename":"image_02012026_21_03_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/2/727296bd0119761c18dd310d20b8e81b.jpg","text":"TemporaryFile(/tmp/multipartBody3305830551241967979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386523832,"filename":"image_02012026_21_02_45_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198766","file1":"1402198764","file0":"1402198756","file4":"1402198772","file5":"1402198774","file3":"1402198769"},"map_files_photo_id_array":[{"photo_id":"1402198774","filename":"file5"},{"photo_id":"1402198766","filename":"file2"},{"photo_id":"1402198772","filename":"file4"},{"photo_id":"1402198764","filename":"file1"},{"photo_id":"1402198756","filename":"file0"},{"photo_id":"1402198769","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198764":["hashtag1","hashtag2"]},{"1402198772":["hashtag1","hashtag2"]},{"1402198766":["hashtag1","hashtag2"]},{"1402198769":["hashtag1","hashtag2"]},{"1402198774":["hashtag1","hashtag2"]},{"1402198756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198764, 1402198772, 1402198766, 1402198769, 1402198774, 1402198756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.791598320007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:41:42.488581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_17_3660.jpg', '/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_20_2628.jpg', '/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_23_2822.jpg', '/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_57_22468.jpg', '/home/pi/Desktop/images/05112025/22/52/image_05112025_22_53_00_1564.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_09_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_17_3660.jpg
/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_20_2628.jpg
/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_23_2822.jpg
/home/pi/Desktop/images/05112025/22/52/image_05112025_22_52_57_22468.jpg
/home/pi/Desktop/images/05112025/22/52/image_05112025_22_53_00_1564.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_09_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198782","1402198790","1402198787","1402198786","1402198789","1402198788"],"photo_ids_order":["1402198782","1402198786","1402198787","1402198788","1402198789","1402198790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c63d34209072f0bb7aa8dc39d4896bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6638718870488867778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386564321,"filename":"image_05112025_22_52_17_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/2/cf11c03b12bd3655797631f82e124ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1647750092571991751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386564321,"filename":"image_05112025_22_53_09_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/2/174a29ef466555e22cef6b45a5c19e8b.jpg","text":"TemporaryFile(/tmp/multipartBody2625701435171868641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386564321,"filename":"image_05112025_22_52_23_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/2/d0553d60b3a360e6a1dbd6eeb5aa95b9.jpg","text":"TemporaryFile(/tmp/multipartBody6414044236676391943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386564321,"filename":"image_05112025_22_52_20_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/2/0e4c795901e89745f810df9a17f86e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8482415065771895719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386564321,"filename":"image_05112025_22_53_00_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/2/61c4b8de816be32077050913a9a61874.jpg","text":"TemporaryFile(/tmp/multipartBody395651303344259629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386564321,"filename":"image_05112025_22_52_57_22468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198787","file1":"1402198786","file0":"1402198782","file4":"1402198789","file5":"1402198790","file3":"1402198788"},"map_files_photo_id_array":[{"photo_id":"1402198790","filename":"file5"},{"photo_id":"1402198787","filename":"file2"},{"photo_id":"1402198789","filename":"file4"},{"photo_id":"1402198786","filename":"file1"},{"photo_id":"1402198782","filename":"file0"},{"photo_id":"1402198788","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198782":["hashtag1","hashtag2"]},{"1402198790":["hashtag1","hashtag2"]},{"1402198787":["hashtag1","hashtag2"]},{"1402198786":["hashtag1","hashtag2"]},{"1402198789":["hashtag1","hashtag2"]},{"1402198788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198782, 1402198790, 1402198787, 1402198786, 1402198789, 1402198788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.857943296432495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:42:22.655567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_45_9752.jpg', '/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_55_9627.jpg', '/home/pi/Desktop/images/02012026/21/03/image_02012026_21_04_05_10609.jpg', '/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_15_9744.jpg', '/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_25_9947.jpg', '/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_45_9752.jpg
/home/pi/Desktop/images/02012026/21/03/image_02012026_21_03_55_9627.jpg
/home/pi/Desktop/images/02012026/21/03/image_02012026_21_04_05_10609.jpg
/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_15_9744.jpg
/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_25_9947.jpg
/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_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":["1402198812","1402198806","1402198800","1402198796","1402198795","1402198808"],"photo_ids_order":["1402198795","1402198796","1402198800","1402198806","1402198808","1402198812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/166bdd87c36e7d3a5eb3e2363e7a15ec.jpg","text":"TemporaryFile(/tmp/multipartBody4868043775510253459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386603233,"filename":"image_02012026_21_04_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/2/053c46aa09d99c9deb03fb8241e81098.jpg","text":"TemporaryFile(/tmp/multipartBody8363276100627566501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386603233,"filename":"image_02012026_21_04_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/2/2bf99357c4e138e5e1d82200691559ec.jpg","text":"TemporaryFile(/tmp/multipartBody1592897329783069561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386603233,"filename":"image_02012026_21_04_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a60bc41c9834dfd82c500461e9c2094f.jpg","text":"TemporaryFile(/tmp/multipartBody4840888838812123172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386603233,"filename":"image_02012026_21_03_55_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/2/5a375add65d02226b625529cac951948.jpg","text":"TemporaryFile(/tmp/multipartBody1134141401326341816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386603233,"filename":"image_02012026_21_03_45_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/2/46c845ddfa1fefdf5dd9a0318aaa66d1.jpg","text":"TemporaryFile(/tmp/multipartBody9109066741210890769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386603233,"filename":"image_02012026_21_04_25_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198800","file1":"1402198796","file0":"1402198795","file4":"1402198808","file5":"1402198812","file3":"1402198806"},"map_files_photo_id_array":[{"photo_id":"1402198812","filename":"file5"},{"photo_id":"1402198800","filename":"file2"},{"photo_id":"1402198808","filename":"file4"},{"photo_id":"1402198796","filename":"file1"},{"photo_id":"1402198795","filename":"file0"},{"photo_id":"1402198806","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198812":["hashtag1","hashtag2"]},{"1402198806":["hashtag1","hashtag2"]},{"1402198800":["hashtag1","hashtag2"]},{"1402198796":["hashtag1","hashtag2"]},{"1402198795":["hashtag1","hashtag2"]},{"1402198808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198812, 1402198806, 1402198800, 1402198796, 1402198795, 1402198808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05847454071045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:43:03.571989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_45_10597.jpg', '/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_55_9659.jpg', '/home/pi/Desktop/images/02012026/21/04/image_02012026_21_05_04_9595.jpg', '/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_15_10725.jpg', '/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_25_9681.jpg', '/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_45_10597.jpg
/home/pi/Desktop/images/02012026/21/04/image_02012026_21_04_55_9659.jpg
/home/pi/Desktop/images/02012026/21/04/image_02012026_21_05_04_9595.jpg
/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_15_10725.jpg
/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_25_9681.jpg
/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_34_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":["1402198830","1402198824","1402198835","1402198832","1402198826","1402198828"],"photo_ids_order":["1402198824","1402198826","1402198828","1402198830","1402198832","1402198835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/34116de7ccfc63f36e74886add8a731d.jpg","text":"TemporaryFile(/tmp/multipartBody8082274481882593769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386644232,"filename":"image_02012026_21_05_15_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/2/c28b3b600e4279ae4a95b57227e149e0.jpg","text":"TemporaryFile(/tmp/multipartBody6898425358626416917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386644232,"filename":"image_02012026_21_04_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/2/e2604bf9e6ad073085cca8198254b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody7696688321978723146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386644232,"filename":"image_02012026_21_05_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/2/b0f36754327b6ddeeaebc9f331b0d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody4852717504560428767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386644232,"filename":"image_02012026_21_05_25_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/2/98aa5f77d6107ddb9d5fda1711185cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1296576876530287026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386644232,"filename":"image_02012026_21_04_55_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/2/a74f8cc5e020c0757ebb1da3f9195059.jpg","text":"TemporaryFile(/tmp/multipartBody1868401339887672585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386644232,"filename":"image_02012026_21_05_04_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198828","file1":"1402198826","file0":"1402198824","file4":"1402198832","file5":"1402198835","file3":"1402198830"},"map_files_photo_id_array":[{"photo_id":"1402198835","filename":"file5"},{"photo_id":"1402198828","filename":"file2"},{"photo_id":"1402198832","filename":"file4"},{"photo_id":"1402198826","filename":"file1"},{"photo_id":"1402198824","filename":"file0"},{"photo_id":"1402198830","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198830":["hashtag1","hashtag2"]},{"1402198824":["hashtag1","hashtag2"]},{"1402198835":["hashtag1","hashtag2"]},{"1402198832":["hashtag1","hashtag2"]},{"1402198826":["hashtag1","hashtag2"]},{"1402198828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198830, 1402198824, 1402198835, 1402198832, 1402198826, 1402198828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79493951797485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:43:42.802076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_19_1563.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_21_1726.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_24_1673.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_26_1620.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_28_1809.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_31_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_19_1563.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_21_1726.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_24_1673.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_26_1620.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_28_1809.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_31_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":["1402198845","1402198848","1402198847","1402198841","1402198844","1402198846"],"photo_ids_order":["1402198841","1402198844","1402198845","1402198846","1402198847","1402198848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c4cc06784b622108018fb3985e318a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4412434694616927151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386684642,"filename":"image_05112025_22_53_24_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/2/4a0a6a27562792bf82533d83a277b627.jpg","text":"TemporaryFile(/tmp/multipartBody8866745085410108496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386684642,"filename":"image_05112025_22_53_31_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/2/f609185e7d159893ab363de74abafeae.jpg","text":"TemporaryFile(/tmp/multipartBody8391577186109775027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386684642,"filename":"image_05112025_22_53_28_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/2/ba247397ebca3129b88c9fc2edeffcae.jpg","text":"TemporaryFile(/tmp/multipartBody2861420442975429401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386684642,"filename":"image_05112025_22_53_19_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/2/58280cc841d8aa29637b8b279b9b9d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2437207795887127611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386684642,"filename":"image_05112025_22_53_21_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/2/48f2aa9eebceec0073797cf3c473e920.jpg","text":"TemporaryFile(/tmp/multipartBody1003535562562551342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386684642,"filename":"image_05112025_22_53_26_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198845","file1":"1402198844","file0":"1402198841","file4":"1402198847","file5":"1402198848","file3":"1402198846"},"map_files_photo_id_array":[{"photo_id":"1402198848","filename":"file5"},{"photo_id":"1402198845","filename":"file2"},{"photo_id":"1402198847","filename":"file4"},{"photo_id":"1402198844","filename":"file1"},{"photo_id":"1402198841","filename":"file0"},{"photo_id":"1402198846","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198845":["hashtag1","hashtag2"]},{"1402198848":["hashtag1","hashtag2"]},{"1402198847":["hashtag1","hashtag2"]},{"1402198841":["hashtag1","hashtag2"]},{"1402198844":["hashtag1","hashtag2"]},{"1402198846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198845, 1402198848, 1402198847, 1402198841, 1402198844, 1402198846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98680233955383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:44:22.073286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_45_10674.jpg', '/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_55_9706.jpg', '/home/pi/Desktop/images/02012026/21/05/image_02012026_21_06_05_9743.jpg', '/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_15_10601.jpg', '/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_25_9645.jpg', '/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_34_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_45_10674.jpg
/home/pi/Desktop/images/02012026/21/05/image_02012026_21_05_55_9706.jpg
/home/pi/Desktop/images/02012026/21/05/image_02012026_21_06_05_9743.jpg
/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_15_10601.jpg
/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_25_9645.jpg
/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_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":["1402198892","1402198889","1402198853","1402198867","1402198861","1402198893"],"photo_ids_order":["1402198853","1402198861","1402198867","1402198889","1402198892","1402198893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/99857234be44b49c47cdd868f4c26111.jpg","text":"TemporaryFile(/tmp/multipartBody7018464820592285888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386722658,"filename":"image_02012026_21_06_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/2/3da7cf4e3cc87c099f11d9a7b8e6e029.jpg","text":"TemporaryFile(/tmp/multipartBody5423014287334752956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386722658,"filename":"image_02012026_21_06_15_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/2/25e29f5b973613a2223db47584af2854.jpg","text":"TemporaryFile(/tmp/multipartBody7586632848977097766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386722658,"filename":"image_02012026_21_05_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/2/f7fb08e70fcbbf7c4e7958102001498b.jpg","text":"TemporaryFile(/tmp/multipartBody6378364534053511377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386722658,"filename":"image_02012026_21_06_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/2/2787971b201e4f8f9faeeab065302f11.jpg","text":"TemporaryFile(/tmp/multipartBody7356822160621778894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386722658,"filename":"image_02012026_21_05_55_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/2/4ba0252749526affff671f22f195bd18.jpg","text":"TemporaryFile(/tmp/multipartBody1004557169606126487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386722658,"filename":"image_02012026_21_06_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198867","file1":"1402198861","file0":"1402198853","file4":"1402198892","file5":"1402198893","file3":"1402198889"},"map_files_photo_id_array":[{"photo_id":"1402198893","filename":"file5"},{"photo_id":"1402198867","filename":"file2"},{"photo_id":"1402198892","filename":"file4"},{"photo_id":"1402198861","filename":"file1"},{"photo_id":"1402198853","filename":"file0"},{"photo_id":"1402198889","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198892":["hashtag1","hashtag2"]},{"1402198889":["hashtag1","hashtag2"]},{"1402198853":["hashtag1","hashtag2"]},{"1402198867":["hashtag1","hashtag2"]},{"1402198861":["hashtag1","hashtag2"]},{"1402198893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198892, 1402198889, 1402198853, 1402198867, 1402198861, 1402198893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91604566574097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:45:02.683801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_45_10615.jpg', '/home/pi/Desktop/images/02012026/21/06/image_02012026_21_07_04_9664.jpg', '/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_14_9928.jpg', '/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_25_10618.jpg', '/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_35_9688.jpg', '/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_45_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/06/image_02012026_21_06_45_10615.jpg
/home/pi/Desktop/images/02012026/21/06/image_02012026_21_07_04_9664.jpg
/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_14_9928.jpg
/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_25_10618.jpg
/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_35_9688.jpg
/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_45_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402198920","1402198908","1402198917","1402198910","1402198913","1402198915"],"photo_ids_order":["1402198908","1402198910","1402198913","1402198915","1402198917","1402198920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/927b21dd231440d0d8b2e9e301096814.jpg","text":"TemporaryFile(/tmp/multipartBody1257742971162567361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386763310,"filename":"image_02012026_21_07_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/2/942d1a35f08b8463139f44751b2ad48e.jpg","text":"TemporaryFile(/tmp/multipartBody8307171748790659405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386763310,"filename":"image_02012026_21_06_45_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/2/1481de3abc4b662709d8526ffeaffbce.jpg","text":"TemporaryFile(/tmp/multipartBody3054355051441431405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386763310,"filename":"image_02012026_21_07_35_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/2/b07c15858b28fe0dc991000027096ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7917195390742132329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386763310,"filename":"image_02012026_21_07_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/2/8273ba649def189840f751ddf01ac890.jpg","text":"TemporaryFile(/tmp/multipartBody2157441909861730037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386763310,"filename":"image_02012026_21_07_14_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fdbbfa0cd5d7ecdf14d3c886b742640c.jpg","text":"TemporaryFile(/tmp/multipartBody6628620821845073827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386763310,"filename":"image_02012026_21_07_25_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198913","file1":"1402198910","file0":"1402198908","file4":"1402198917","file5":"1402198920","file3":"1402198915"},"map_files_photo_id_array":[{"photo_id":"1402198920","filename":"file5"},{"photo_id":"1402198913","filename":"file2"},{"photo_id":"1402198917","filename":"file4"},{"photo_id":"1402198910","filename":"file1"},{"photo_id":"1402198908","filename":"file0"},{"photo_id":"1402198915","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198920":["hashtag1","hashtag2"]},{"1402198908":["hashtag1","hashtag2"]},{"1402198917":["hashtag1","hashtag2"]},{"1402198910":["hashtag1","hashtag2"]},{"1402198913":["hashtag1","hashtag2"]},{"1402198915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198920, 1402198908, 1402198917, 1402198910, 1402198913, 1402198915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32153940200806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:45:42.125685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_34_1531.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_37_2728.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_56_18831.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_06_3011.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_13_2620.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_42_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_34_1531.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_37_2728.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_56_18831.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_06_3011.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_13_2620.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_42_1719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7064259052276611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:46:02.715211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_55_9743.jpg', '/home/pi/Desktop/images/02012026/21/07/image_02012026_21_08_05_9711.jpg', '/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_14_9647.jpg', '/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_35_9623.jpg', '/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_45_10528.jpg', '/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_55_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/07/image_02012026_21_07_55_9743.jpg
/home/pi/Desktop/images/02012026/21/07/image_02012026_21_08_05_9711.jpg
/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_14_9647.jpg
/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_35_9623.jpg
/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_45_10528.jpg
/home/pi/Desktop/images/02012026/21/08/image_02012026_21_08_55_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":["1402198944","1402198938","1402198935","1402198940","1402198934","1402198942"],"photo_ids_order":["1402198934","1402198935","1402198938","1402198940","1402198942","1402198944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/266911fb2b175710cc92770d40f807cc.jpg","text":"TemporaryFile(/tmp/multipartBody2547845297238914611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386823370,"filename":"image_02012026_21_08_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/2/68b62d10ae36663d492ec034d20c04e6.jpg","text":"TemporaryFile(/tmp/multipartBody3004442242579626574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386823370,"filename":"image_02012026_21_08_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/32c072c635d570f21f5881a40a100968.jpg","text":"TemporaryFile(/tmp/multipartBody2125333565273701974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386823370,"filename":"image_02012026_21_08_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/2/cc2088d771adf00f5019884ca59878c7.jpg","text":"TemporaryFile(/tmp/multipartBody937017031483857194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386823370,"filename":"image_02012026_21_08_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/2/37e96585935f17161f25e27f49f719e4.jpg","text":"TemporaryFile(/tmp/multipartBody4363871116978874110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386823370,"filename":"image_02012026_21_07_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/2/b21987a7d1b237c0d0a46da1770f48bc.jpg","text":"TemporaryFile(/tmp/multipartBody7140469683399509191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386823370,"filename":"image_02012026_21_08_45_10528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198938","file1":"1402198935","file0":"1402198934","file4":"1402198942","file5":"1402198944","file3":"1402198940"},"map_files_photo_id_array":[{"photo_id":"1402198944","filename":"file5"},{"photo_id":"1402198938","filename":"file2"},{"photo_id":"1402198942","filename":"file4"},{"photo_id":"1402198935","filename":"file1"},{"photo_id":"1402198934","filename":"file0"},{"photo_id":"1402198940","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198944":["hashtag1","hashtag2"]},{"1402198938":["hashtag1","hashtag2"]},{"1402198935":["hashtag1","hashtag2"]},{"1402198940":["hashtag1","hashtag2"]},{"1402198934":["hashtag1","hashtag2"]},{"1402198942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198944, 1402198938, 1402198935, 1402198940, 1402198934, 1402198942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.489522218704224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:46:42.300820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_34_1531.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_37_2728.jpg', '/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_56_18831.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_06_3011.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_13_2620.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_42_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_34_1531.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_37_2728.jpg
/home/pi/Desktop/images/05112025/22/53/image_05112025_22_53_56_18831.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_06_3011.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_13_2620.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_42_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":["1402198968","1402198953","1402198961","1402198955","1402198951","1402198954"],"photo_ids_order":["1402198951","1402198953","1402198954","1402198955","1402198961","1402198968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d12266236d35add78027d060ccca4a3.jpg","text":"TemporaryFile(/tmp/multipartBody775051074497387917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386863993,"filename":"image_05112025_22_57_42_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/2/df9cf9e6e04a1a7e7d1ab00b7d3428cb.jpg","text":"TemporaryFile(/tmp/multipartBody3887801169294632187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386863993,"filename":"image_05112025_22_53_37_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/2/362f724278811d1330a508360d104d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7395068933979845950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386863993,"filename":"image_05112025_22_57_13_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/2/329e71f2a631b6acc5bd913aa226c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody8107556538216457064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386863993,"filename":"image_05112025_22_57_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/2/99c76545ba200347bc45efc76fc1f778.jpg","text":"TemporaryFile(/tmp/multipartBody716713411753595443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386863993,"filename":"image_05112025_22_53_34_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/2/33de6cc21f85ecfd099cb660f6bcbea3.jpg","text":"TemporaryFile(/tmp/multipartBody5809450826768538869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386863993,"filename":"image_05112025_22_53_56_18831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198954","file1":"1402198953","file0":"1402198951","file4":"1402198961","file5":"1402198968","file3":"1402198955"},"map_files_photo_id_array":[{"photo_id":"1402198968","filename":"file5"},{"photo_id":"1402198954","filename":"file2"},{"photo_id":"1402198961","filename":"file4"},{"photo_id":"1402198953","filename":"file1"},{"photo_id":"1402198951","filename":"file0"},{"photo_id":"1402198955","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402198968":["hashtag1","hashtag2"]},{"1402198953":["hashtag1","hashtag2"]},{"1402198961":["hashtag1","hashtag2"]},{"1402198955":["hashtag1","hashtag2"]},{"1402198951":["hashtag1","hashtag2"]},{"1402198954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402198968, 1402198953, 1402198961, 1402198955, 1402198951, 1402198954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52157425880432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:47:22.399046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/08/image_02012026_21_09_04_9697.jpg', '/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_15_10722.jpg', '/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_25_9820.jpg', '/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_35_9730.jpg', '/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_44_9591.jpg', '/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_55_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/08/image_02012026_21_09_04_9697.jpg
/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_15_10722.jpg
/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_25_9820.jpg
/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_35_9730.jpg
/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_44_9591.jpg
/home/pi/Desktop/images/02012026/21/09/image_02012026_21_09_55_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":["1402198989","1402198980","1402198983","1402198985","1402198994","1402198987"],"photo_ids_order":["1402198980","1402198983","1402198985","1402198987","1402198989","1402198994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/89414557e55e9a8378a51ba7c6676af1.jpg","text":"TemporaryFile(/tmp/multipartBody1231086770370713394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386902985,"filename":"image_02012026_21_09_44_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/2/e728e995ceecb5ea4c3de9ccb9b5806c.jpg","text":"TemporaryFile(/tmp/multipartBody3953349220109154796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386902985,"filename":"image_02012026_21_09_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/2/b9177a585a93991e06ef46981d515f07.jpg","text":"TemporaryFile(/tmp/multipartBody3855219213404146894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386902985,"filename":"image_02012026_21_09_15_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/2/29a99ffc46c884f6702d112b97765174.jpg","text":"TemporaryFile(/tmp/multipartBody7919499334495431518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386902985,"filename":"image_02012026_21_09_25_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/2/15a95f4b9fe53f17e468cd5c95cafbe7.jpg","text":"TemporaryFile(/tmp/multipartBody3001177965014249440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386902985,"filename":"image_02012026_21_09_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/2/ec10e1d5ecc9c5b61e832e518ddb0cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3980527205899930416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386902985,"filename":"image_02012026_21_09_35_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402198985","file1":"1402198983","file0":"1402198980","file4":"1402198989","file5":"1402198994","file3":"1402198987"},"map_files_photo_id_array":[{"photo_id":"1402198994","filename":"file5"},{"photo_id":"1402198985","filename":"file2"},{"photo_id":"1402198989","filename":"file4"},{"photo_id":"1402198983","filename":"file1"},{"photo_id":"1402198980","filename":"file0"},{"photo_id":"1402198987","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402198989":["hashtag1","hashtag2"]},{"1402198980":["hashtag1","hashtag2"]},{"1402198983":["hashtag1","hashtag2"]},{"1402198985":["hashtag1","hashtag2"]},{"1402198994":["hashtag1","hashtag2"]},{"1402198987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402198989, 1402198980, 1402198983, 1402198985, 1402198994, 1402198987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.215699911117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:48:03.001826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_05_10072.jpg', '/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_15_9571.jpg', '/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_45_9779.jpg', '/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_54_9565.jpg', '/home/pi/Desktop/images/02012026/21/10/image_02012026_21_11_05_10624.jpg', '/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_25_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_05_10072.jpg
/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_15_9571.jpg
/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_45_9779.jpg
/home/pi/Desktop/images/02012026/21/10/image_02012026_21_10_54_9565.jpg
/home/pi/Desktop/images/02012026/21/10/image_02012026_21_11_05_10624.jpg
/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_25_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199004","1402199001","1402198997","1402199006","1402198999","1402199008"],"photo_ids_order":["1402198997","1402198999","1402199001","1402199004","1402199006","1402199008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6808618fb6933699920d6f3bfe133de6.jpg","text":"TemporaryFile(/tmp/multipartBody3033614393083542272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386943609,"filename":"image_02012026_21_10_54_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/2/67a01bc3f36aa87619fb18d631091ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4511380961292915266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386943609,"filename":"image_02012026_21_10_45_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/2/77f4feccc2dab1cd35c7e40cf773cff5.jpg","text":"TemporaryFile(/tmp/multipartBody7702267803008946457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386943609,"filename":"image_02012026_21_10_05_10072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3fb8ebf010e2c0b96381a88accc4c2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3191895081303696915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386943609,"filename":"image_02012026_21_11_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/2/4c31c1395437da5e406f83fd44a6fc60.jpg","text":"TemporaryFile(/tmp/multipartBody5096152513291460383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386943609,"filename":"image_02012026_21_10_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/2/3d3966e4e8035a118a662081c0482a86.jpg","text":"TemporaryFile(/tmp/multipartBody6719356705505589131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386943609,"filename":"image_02012026_21_11_25_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199001","file1":"1402198999","file0":"1402198997","file4":"1402199006","file5":"1402199008","file3":"1402199004"},"map_files_photo_id_array":[{"photo_id":"1402199008","filename":"file5"},{"photo_id":"1402199001","filename":"file2"},{"photo_id":"1402199006","filename":"file4"},{"photo_id":"1402198999","filename":"file1"},{"photo_id":"1402198997","filename":"file0"},{"photo_id":"1402199004","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199004":["hashtag1","hashtag2"]},{"1402199001":["hashtag1","hashtag2"]},{"1402198997":["hashtag1","hashtag2"]},{"1402199006":["hashtag1","hashtag2"]},{"1402198999":["hashtag1","hashtag2"]},{"1402199008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199004, 1402199001, 1402198997, 1402199006, 1402198999, 1402199008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.342097997665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:48:42.657018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_43_1876.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_47_1668.jpg', '/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_59_1603.jpg', '/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_04_1697.jpg', '/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_42_1676.jpg', '/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_46_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_43_1876.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_47_1668.jpg
/home/pi/Desktop/images/05112025/22/57/image_05112025_22_57_59_1603.jpg
/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_04_1697.jpg
/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_42_1676.jpg
/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_46_1582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199037","1402199034","1402199027","1402199015","1402199020","1402199014"],"photo_ids_order":["1402199014","1402199015","1402199020","1402199027","1402199034","1402199037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/081f291155c711b5d8ded0814498068f.jpg","text":"TemporaryFile(/tmp/multipartBody2728577308482415580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386984481,"filename":"image_05112025_22_58_46_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/2/3e3dc26a6355c920fdfee8e185a5e10b.jpg","text":"TemporaryFile(/tmp/multipartBody2516752974817512893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386984481,"filename":"image_05112025_22_58_42_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/2/797f3aaab7a7dbf3a4027ca95f193be3.jpg","text":"TemporaryFile(/tmp/multipartBody1442233155281584572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386984481,"filename":"image_05112025_22_58_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/2/77c1cfbe4e383676cc64a9c300956860.jpg","text":"TemporaryFile(/tmp/multipartBody8081770359372823721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386984481,"filename":"image_05112025_22_57_47_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/2/d4525edab562befab78770d295fac9c5.jpg","text":"TemporaryFile(/tmp/multipartBody3698548596439471377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386984481,"filename":"image_05112025_22_57_59_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/2/48bdb62a732f082f8e64a3633a7e27db.jpg","text":"TemporaryFile(/tmp/multipartBody8534625516235244796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767386984481,"filename":"image_05112025_22_57_43_1876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199020","file1":"1402199015","file0":"1402199014","file4":"1402199034","file5":"1402199037","file3":"1402199027"},"map_files_photo_id_array":[{"photo_id":"1402199037","filename":"file5"},{"photo_id":"1402199020","filename":"file2"},{"photo_id":"1402199034","filename":"file4"},{"photo_id":"1402199015","filename":"file1"},{"photo_id":"1402199014","filename":"file0"},{"photo_id":"1402199027","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199037":["hashtag1","hashtag2"]},{"1402199034":["hashtag1","hashtag2"]},{"1402199027":["hashtag1","hashtag2"]},{"1402199015":["hashtag1","hashtag2"]},{"1402199020":["hashtag1","hashtag2"]},{"1402199014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199037, 1402199034, 1402199027, 1402199015, 1402199020, 1402199014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32384133338928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:49:22.849811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_35_9975.jpg', '/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_45_9623.jpg', '/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_55_10117.jpg', '/home/pi/Desktop/images/02012026/21/11/image_02012026_21_12_05_9765.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_14_9587.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_25_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_35_9975.jpg
/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_45_9623.jpg
/home/pi/Desktop/images/02012026/21/11/image_02012026_21_11_55_10117.jpg
/home/pi/Desktop/images/02012026/21/11/image_02012026_21_12_05_9765.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_14_9587.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_25_10537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199046","1402199051","1402199056","1402199053","1402199055","1402199049"],"photo_ids_order":["1402199046","1402199049","1402199051","1402199053","1402199055","1402199056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/da6fcc31154e0a23b825779a219fd770.jpg","text":"TemporaryFile(/tmp/multipartBody3868662054749543503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387023422,"filename":"image_02012026_21_11_35_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/2/7684713c2085b5e4f2d7085cc48a732d.jpg","text":"TemporaryFile(/tmp/multipartBody1994038950882276676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387023422,"filename":"image_02012026_21_11_55_10117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3cdde99ad3201be4bcddff698c1581fa.jpg","text":"TemporaryFile(/tmp/multipartBody3105041973830314386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387023422,"filename":"image_02012026_21_12_25_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/2/901e24b47773873f5c55b4014f682f4f.jpg","text":"TemporaryFile(/tmp/multipartBody9082676335480661168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387023422,"filename":"image_02012026_21_12_05_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/2/2c43f10af9db95c69e948e7d574f76f9.jpg","text":"TemporaryFile(/tmp/multipartBody6666162150402859880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387023422,"filename":"image_02012026_21_12_14_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/2/a5a204d0a77bb24089ea1003c30b88b9.jpg","text":"TemporaryFile(/tmp/multipartBody1124450242267287875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387023422,"filename":"image_02012026_21_11_45_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199051","file1":"1402199049","file0":"1402199046","file4":"1402199055","file5":"1402199056","file3":"1402199053"},"map_files_photo_id_array":[{"photo_id":"1402199056","filename":"file5"},{"photo_id":"1402199051","filename":"file2"},{"photo_id":"1402199055","filename":"file4"},{"photo_id":"1402199049","filename":"file1"},{"photo_id":"1402199046","filename":"file0"},{"photo_id":"1402199053","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199046":["hashtag1","hashtag2"]},{"1402199051":["hashtag1","hashtag2"]},{"1402199056":["hashtag1","hashtag2"]},{"1402199053":["hashtag1","hashtag2"]},{"1402199055":["hashtag1","hashtag2"]},{"1402199049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199046, 1402199051, 1402199056, 1402199053, 1402199055, 1402199049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93569278717041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:50:02.442631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_34_9574.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_44_10013.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_55_10678.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_13_05_9741.jpg', '/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_15_9864.jpg', '/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_24_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_34_9574.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_44_10013.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_55_10678.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_13_05_9741.jpg
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_15_9864.jpg
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_24_9737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5293824672698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:50:12.091671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_49_1626.jpg', '/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_05_1622.jpg', '/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_07_1735.jpg', '/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_12_1689.jpg', '/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_14_1579.jpg', '/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_16_1772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/58/image_05112025_22_58_49_1626.jpg
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_05_1622.jpg
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_07_1735.jpg
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_12_1689.jpg
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_14_1579.jpg
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_16_1772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199064","1402199072","1402199075","1402199068","1402199079","1402199082"],"photo_ids_order":["1402199064","1402199068","1402199072","1402199075","1402199079","1402199082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9c481c9b97be19cbe096ee9ac43b5e27.jpg","text":"TemporaryFile(/tmp/multipartBody909089557593853950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387073797,"filename":"image_05112025_22_58_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/2/934f28eabd258f08534b18e94528f1b9.jpg","text":"TemporaryFile(/tmp/multipartBody2906938801626753787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387073797,"filename":"image_05112025_22_59_07_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/2/59e75347e92f9f1fb2efd710a8aaca03.jpg","text":"TemporaryFile(/tmp/multipartBody909532283270379176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387073797,"filename":"image_05112025_22_59_12_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/2/0207dc257e8ca1df619450bc30d1d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody2869991237442055316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387073797,"filename":"image_05112025_22_59_05_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/2/fd36dc39efd8b8c40d902a56a49907ad.jpg","text":"TemporaryFile(/tmp/multipartBody1442867507759456826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387073797,"filename":"image_05112025_22_59_14_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/2/49a2ab1fe39f794091b7878bcb449ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3185277132323035331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387073797,"filename":"image_05112025_22_59_16_1772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199072","file1":"1402199068","file0":"1402199064","file4":"1402199079","file5":"1402199082","file3":"1402199075"},"map_files_photo_id_array":[{"photo_id":"1402199082","filename":"file5"},{"photo_id":"1402199072","filename":"file2"},{"photo_id":"1402199079","filename":"file4"},{"photo_id":"1402199068","filename":"file1"},{"photo_id":"1402199064","filename":"file0"},{"photo_id":"1402199075","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199064":["hashtag1","hashtag2"]},{"1402199072":["hashtag1","hashtag2"]},{"1402199075":["hashtag1","hashtag2"]},{"1402199068":["hashtag1","hashtag2"]},{"1402199079":["hashtag1","hashtag2"]},{"1402199082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199064, 1402199072, 1402199075, 1402199068, 1402199079, 1402199082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66283059120178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:51:02.988352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_34_9574.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_44_10013.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_55_10678.jpg', '/home/pi/Desktop/images/02012026/21/12/image_02012026_21_13_05_9741.jpg', '/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_15_9864.jpg', '/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_24_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_34_9574.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_44_10013.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_12_55_10678.jpg
/home/pi/Desktop/images/02012026/21/12/image_02012026_21_13_05_9741.jpg
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_15_9864.jpg
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_24_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199103","1402199093","1402199095","1402199098","1402199101","1402199091"],"photo_ids_order":["1402199091","1402199093","1402199095","1402199098","1402199101","1402199103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6699c6c9cb65dd65a8c5eb4d39997ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7523718723452308684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387123613,"filename":"image_02012026_21_13_24_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/2/6f520caf85005adb57fb94faf6f191e1.jpg","text":"TemporaryFile(/tmp/multipartBody4534971902792021069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387123613,"filename":"image_02012026_21_12_44_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/2/a71d580f59498b38cbb7d170d21a40bf.jpg","text":"TemporaryFile(/tmp/multipartBody925141096914273254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387123613,"filename":"image_02012026_21_12_55_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/2/3002cd0745342cbac2fba61efe14e812.jpg","text":"TemporaryFile(/tmp/multipartBody8527301669221702007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387123613,"filename":"image_02012026_21_13_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/2/491fa7082ab8572f52f14ec600f33178.jpg","text":"TemporaryFile(/tmp/multipartBody4962952336135465459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387123613,"filename":"image_02012026_21_13_15_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/2/5ed8f0ea6528620e3fca9262d98cbe8f.jpg","text":"TemporaryFile(/tmp/multipartBody323169129861997185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387123613,"filename":"image_02012026_21_12_34_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199095","file1":"1402199093","file0":"1402199091","file4":"1402199101","file5":"1402199103","file3":"1402199098"},"map_files_photo_id_array":[{"photo_id":"1402199103","filename":"file5"},{"photo_id":"1402199095","filename":"file2"},{"photo_id":"1402199101","filename":"file4"},{"photo_id":"1402199093","filename":"file1"},{"photo_id":"1402199091","filename":"file0"},{"photo_id":"1402199098","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199103":["hashtag1","hashtag2"]},{"1402199093":["hashtag1","hashtag2"]},{"1402199095":["hashtag1","hashtag2"]},{"1402199098":["hashtag1","hashtag2"]},{"1402199101":["hashtag1","hashtag2"]},{"1402199091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199103, 1402199093, 1402199095, 1402199098, 1402199101, 1402199091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.550299406051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:51:42.269249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_17_1814.jpg', '/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_28_3646.jpg', '/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_29_3709.jpg', '/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_38_3661.jpg', '/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_41_2946.jpg', '/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_46_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_17_1814.jpg
/home/pi/Desktop/images/05112025/22/59/image_05112025_22_59_28_3646.jpg
/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_29_3709.jpg
/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_38_3661.jpg
/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_41_2946.jpg
/home/pi/Desktop/images/05112025/23/06/image_05112025_23_06_46_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":["1402199115","1402199112","1402199109","1402199114","1402199113","1402199116"],"photo_ids_order":["1402199109","1402199112","1402199113","1402199114","1402199115","1402199116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/956cddc28bf33740af4aa4eb06964ee9.jpg","text":"TemporaryFile(/tmp/multipartBody1407148117142378194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387164109,"filename":"image_05112025_23_06_41_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/2/c06461cb192972a3ec5bc76a78140a30.jpg","text":"TemporaryFile(/tmp/multipartBody3272796654699131748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387164109,"filename":"image_05112025_22_59_28_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/2/c96c0115aaef354ad9f09de5d3579407.jpg","text":"TemporaryFile(/tmp/multipartBody1268903942812163416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387164109,"filename":"image_05112025_22_59_17_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/2/f32de4b3585e8f8d57f87694a2c04666.jpg","text":"TemporaryFile(/tmp/multipartBody5275141723742922364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387164109,"filename":"image_05112025_23_06_38_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/2/c502abeb97cdf5c011324c0d038351c9.jpg","text":"TemporaryFile(/tmp/multipartBody4826869871918432031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387164109,"filename":"image_05112025_23_06_29_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/2/b03039e503533364f0b057b83db1d824.jpg","text":"TemporaryFile(/tmp/multipartBody4969814287962114545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387164109,"filename":"image_05112025_23_06_46_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199113","file1":"1402199112","file0":"1402199109","file4":"1402199115","file5":"1402199116","file3":"1402199114"},"map_files_photo_id_array":[{"photo_id":"1402199116","filename":"file5"},{"photo_id":"1402199113","filename":"file2"},{"photo_id":"1402199115","filename":"file4"},{"photo_id":"1402199112","filename":"file1"},{"photo_id":"1402199109","filename":"file0"},{"photo_id":"1402199114","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199115":["hashtag1","hashtag2"]},{"1402199112":["hashtag1","hashtag2"]},{"1402199109":["hashtag1","hashtag2"]},{"1402199114":["hashtag1","hashtag2"]},{"1402199113":["hashtag1","hashtag2"]},{"1402199116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199115, 1402199112, 1402199109, 1402199114, 1402199113, 1402199116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004443883895874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:52:22.351753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_35_10678.jpg', '/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_45_9707.jpg', '/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_54_9533.jpg', '/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_15_9556.jpg', '/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_25_10580.jpg', '/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_35_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_35_10678.jpg
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_45_9707.jpg
/home/pi/Desktop/images/02012026/21/13/image_02012026_21_13_54_9533.jpg
/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_15_9556.jpg
/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_25_10580.jpg
/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_35_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":["1402199124","1402199243","1402199126","1402199197","1402199122","1402199160"],"photo_ids_order":["1402199122","1402199124","1402199126","1402199160","1402199197","1402199243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1a6109cd756825b3edbba5d7fa387fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1467847843307509623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387202904,"filename":"image_02012026_21_13_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ad30d513970b4a4fa1da316382d668b.jpg","text":"TemporaryFile(/tmp/multipartBody2757668627429480769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387202904,"filename":"image_02012026_21_14_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/2/5e41788153c030f0ff1e9c5d5cfcc349.jpg","text":"TemporaryFile(/tmp/multipartBody8605952357076107882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387202904,"filename":"image_02012026_21_13_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/2/926c381c1d6dc4c1932bee33863ec5fb.jpg","text":"TemporaryFile(/tmp/multipartBody6470631943881693113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387202904,"filename":"image_02012026_21_14_25_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/2/b4a8a7f2ad0ebd6483f6e1180e1a706d.jpg","text":"TemporaryFile(/tmp/multipartBody6963327347000243107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387202904,"filename":"image_02012026_21_13_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/2/836afce22b284503e087c9313ab16737.jpg","text":"TemporaryFile(/tmp/multipartBody7618159429877951812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387202904,"filename":"image_02012026_21_14_15_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199126","file1":"1402199124","file0":"1402199122","file4":"1402199197","file5":"1402199243","file3":"1402199160"},"map_files_photo_id_array":[{"photo_id":"1402199243","filename":"file5"},{"photo_id":"1402199126","filename":"file2"},{"photo_id":"1402199197","filename":"file4"},{"photo_id":"1402199124","filename":"file1"},{"photo_id":"1402199122","filename":"file0"},{"photo_id":"1402199160","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199124":["hashtag1","hashtag2"]},{"1402199243":["hashtag1","hashtag2"]},{"1402199126":["hashtag1","hashtag2"]},{"1402199197":["hashtag1","hashtag2"]},{"1402199122":["hashtag1","hashtag2"]},{"1402199160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199124, 1402199243, 1402199126, 1402199197, 1402199122, 1402199160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47357773780823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:53:03.386337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_45_9672.jpg', '/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_54_9718.jpg', '/home/pi/Desktop/images/02012026/21/14/image_02012026_21_15_05_10641.jpg', '/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_15_9738.jpg', '/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_24_9671.jpg', '/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_35_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_45_9672.jpg
/home/pi/Desktop/images/02012026/21/14/image_02012026_21_14_54_9718.jpg
/home/pi/Desktop/images/02012026/21/14/image_02012026_21_15_05_10641.jpg
/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_15_9738.jpg
/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_24_9671.jpg
/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_35_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199291","1402199300","1402199284","1402199303","1402199293","1402199296"],"photo_ids_order":["1402199284","1402199291","1402199293","1402199296","1402199300","1402199303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be5c1b772f7c1f6bc13bbb13b4298bae.jpg","text":"TemporaryFile(/tmp/multipartBody5198679747044465299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387244021,"filename":"image_02012026_21_14_54_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/2/cf51d0b68cb20c175c58d71e0f0f0f97.jpg","text":"TemporaryFile(/tmp/multipartBody1795974598777546398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387244021,"filename":"image_02012026_21_15_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/2/a8159a422661a6c9ed78ecdc9032cea0.jpg","text":"TemporaryFile(/tmp/multipartBody5255102244372064515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387244021,"filename":"image_02012026_21_14_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/2/f2cad8f40dacde4c57f1a3afee83e5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2203957182735980231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387244021,"filename":"image_02012026_21_15_35_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/2/e0251d2278c6dbecff1a95253b368ed8.jpg","text":"TemporaryFile(/tmp/multipartBody9078532373410223627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387244021,"filename":"image_02012026_21_15_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/2/2cce4adb7becd294a77fa644e2f1dd76.jpg","text":"TemporaryFile(/tmp/multipartBody6305182110679623850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387244021,"filename":"image_02012026_21_15_15_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199293","file1":"1402199291","file0":"1402199284","file4":"1402199300","file5":"1402199303","file3":"1402199296"},"map_files_photo_id_array":[{"photo_id":"1402199303","filename":"file5"},{"photo_id":"1402199293","filename":"file2"},{"photo_id":"1402199300","filename":"file4"},{"photo_id":"1402199291","filename":"file1"},{"photo_id":"1402199284","filename":"file0"},{"photo_id":"1402199296","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199291":["hashtag1","hashtag2"]},{"1402199300":["hashtag1","hashtag2"]},{"1402199284":["hashtag1","hashtag2"]},{"1402199303":["hashtag1","hashtag2"]},{"1402199293":["hashtag1","hashtag2"]},{"1402199296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199291, 1402199300, 1402199284, 1402199303, 1402199293, 1402199296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23338270187378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:53:42.727786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/07/image_05112025_23_07_02_3701.jpg', '/home/pi/Desktop/images/05112025/23/07/image_05112025_23_07_32_1530.jpg', '/home/pi/Desktop/images/05112025/23/08/image_05112025_23_08_03_2881.jpg', '/home/pi/Desktop/images/05112025/23/09/image_05112025_23_09_09_1738.jpg', '/home/pi/Desktop/images/05112025/23/09/image_05112025_23_09_57_24388.jpg', '/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_03_4448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/07/image_05112025_23_07_02_3701.jpg
/home/pi/Desktop/images/05112025/23/07/image_05112025_23_07_32_1530.jpg
/home/pi/Desktop/images/05112025/23/08/image_05112025_23_08_03_2881.jpg
/home/pi/Desktop/images/05112025/23/09/image_05112025_23_09_09_1738.jpg
/home/pi/Desktop/images/05112025/23/09/image_05112025_23_09_57_24388.jpg
/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_03_4448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199316","1402199319","1402199309","1402199318","1402199317","1402199320"],"photo_ids_order":["1402199309","1402199316","1402199317","1402199318","1402199319","1402199320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/17eb0050fd3695a66fde5a2ee4522f20.jpg","text":"TemporaryFile(/tmp/multipartBody5764318118475944286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387284583,"filename":"image_05112025_23_07_32_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/2/2671c60e3575e5b2f1ed8e4d6ec15f8a.jpg","text":"TemporaryFile(/tmp/multipartBody2749551561000932293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387284583,"filename":"image_05112025_23_09_57_24388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6bb8bcc2c4b892fb8ac49ceb5e6bfcd8.jpg","text":"TemporaryFile(/tmp/multipartBody45171617188653330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387284583,"filename":"image_05112025_23_07_02_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/2/10b802e52e9f9559e5ed90319f18c724.jpg","text":"TemporaryFile(/tmp/multipartBody7228034712932993743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387284583,"filename":"image_05112025_23_09_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/2/b227104fe37097260266cf39691d041a.jpg","text":"TemporaryFile(/tmp/multipartBody8886693199432876508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387284583,"filename":"image_05112025_23_08_03_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3f633a2964957ce70ef532b1117421e5.jpg","text":"TemporaryFile(/tmp/multipartBody5205778850141035476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387284583,"filename":"image_05112025_23_10_03_4448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199317","file1":"1402199316","file0":"1402199309","file4":"1402199319","file5":"1402199320","file3":"1402199318"},"map_files_photo_id_array":[{"photo_id":"1402199320","filename":"file5"},{"photo_id":"1402199317","filename":"file2"},{"photo_id":"1402199319","filename":"file4"},{"photo_id":"1402199316","filename":"file1"},{"photo_id":"1402199309","filename":"file0"},{"photo_id":"1402199318","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199316":["hashtag1","hashtag2"]},{"1402199319":["hashtag1","hashtag2"]},{"1402199309":["hashtag1","hashtag2"]},{"1402199318":["hashtag1","hashtag2"]},{"1402199317":["hashtag1","hashtag2"]},{"1402199320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199316, 1402199319, 1402199309, 1402199318, 1402199317, 1402199320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05624008178711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:54:21.874858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_45_9734.jpg', '/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_54_9532.jpg', '/home/pi/Desktop/images/02012026/21/15/image_02012026_21_16_05_10641.jpg', '/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_15_9610.jpg', '/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_24_9756.jpg', '/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_35_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_45_9734.jpg
/home/pi/Desktop/images/02012026/21/15/image_02012026_21_15_54_9532.jpg
/home/pi/Desktop/images/02012026/21/15/image_02012026_21_16_05_10641.jpg
/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_15_9610.jpg
/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_24_9756.jpg
/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_35_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":["1402199342","1402199330","1402199333","1402199327","1402199347","1402199335"],"photo_ids_order":["1402199327","1402199330","1402199333","1402199335","1402199342","1402199347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/67fe32b33b9b788f11618b3b8b1b68de.jpg","text":"TemporaryFile(/tmp/multipartBody4166904220512958839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387322457,"filename":"image_02012026_21_16_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/2/9e39aa5ae8f66ad40a1d39cc617d8824.jpg","text":"TemporaryFile(/tmp/multipartBody6553865929593126202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387322457,"filename":"image_02012026_21_15_54_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/369a91d9d5aa303b2cc17dfd3d950f85.jpg","text":"TemporaryFile(/tmp/multipartBody2132835651949982851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387322457,"filename":"image_02012026_21_16_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/2/bbc48568f51f352975efebfa84b12614.jpg","text":"TemporaryFile(/tmp/multipartBody7220776551657018529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387322457,"filename":"image_02012026_21_15_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/2/6a66426cb74257d82ac80234463a4266.jpg","text":"TemporaryFile(/tmp/multipartBody5460415167475090998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387322457,"filename":"image_02012026_21_16_35_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/2/9c5b28bcea04431a1d4683b69497d933.jpg","text":"TemporaryFile(/tmp/multipartBody6652276777817585453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387322457,"filename":"image_02012026_21_16_15_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199333","file1":"1402199330","file0":"1402199327","file4":"1402199342","file5":"1402199347","file3":"1402199335"},"map_files_photo_id_array":[{"photo_id":"1402199347","filename":"file5"},{"photo_id":"1402199333","filename":"file2"},{"photo_id":"1402199342","filename":"file4"},{"photo_id":"1402199330","filename":"file1"},{"photo_id":"1402199327","filename":"file0"},{"photo_id":"1402199335","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199342":["hashtag1","hashtag2"]},{"1402199330":["hashtag1","hashtag2"]},{"1402199333":["hashtag1","hashtag2"]},{"1402199327":["hashtag1","hashtag2"]},{"1402199347":["hashtag1","hashtag2"]},{"1402199335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199342, 1402199330, 1402199333, 1402199327, 1402199347, 1402199335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48383092880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:55:02.908305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_45_9794.jpg', '/home/pi/Desktop/images/02012026/21/16/image_02012026_21_17_05_10642.jpg', '/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_15_9641.jpg', '/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_24_9678.jpg', '/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_35_10316.jpg', '/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_45_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/16/image_02012026_21_16_45_9794.jpg
/home/pi/Desktop/images/02012026/21/16/image_02012026_21_17_05_10642.jpg
/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_15_9641.jpg
/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_24_9678.jpg
/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_35_10316.jpg
/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_45_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199349","1402199351","1402199353","1402199362","1402199356","1402199359"],"photo_ids_order":["1402199349","1402199351","1402199353","1402199356","1402199359","1402199362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6389b4a6de0c015cea43637c4094706f.jpg","text":"TemporaryFile(/tmp/multipartBody1535554367587796144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387363564,"filename":"image_02012026_21_16_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/2/b517d7fed4522edb2d2f842719076886.jpg","text":"TemporaryFile(/tmp/multipartBody6857307985556622794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387363564,"filename":"image_02012026_21_17_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/2/b51aa353a1b9c917887046a46cb4d903.jpg","text":"TemporaryFile(/tmp/multipartBody7704170868527530324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387363564,"filename":"image_02012026_21_17_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/2/866454f782a79362df17dbe8b4e6a575.jpg","text":"TemporaryFile(/tmp/multipartBody2249171205017296748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387363564,"filename":"image_02012026_21_17_45_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/2/0b7e197a64829f0f2a5784992ceb4349.jpg","text":"TemporaryFile(/tmp/multipartBody1754136946289031225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387363564,"filename":"image_02012026_21_17_24_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/2/73f01b0ad61f5baaa07bacb31d389e3a.jpg","text":"TemporaryFile(/tmp/multipartBody1047066733686127647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387363564,"filename":"image_02012026_21_17_35_10316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199353","file1":"1402199351","file0":"1402199349","file4":"1402199359","file5":"1402199362","file3":"1402199356"},"map_files_photo_id_array":[{"photo_id":"1402199362","filename":"file5"},{"photo_id":"1402199353","filename":"file2"},{"photo_id":"1402199359","filename":"file4"},{"photo_id":"1402199351","filename":"file1"},{"photo_id":"1402199349","filename":"file0"},{"photo_id":"1402199356","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199349":["hashtag1","hashtag2"]},{"1402199351":["hashtag1","hashtag2"]},{"1402199353":["hashtag1","hashtag2"]},{"1402199362":["hashtag1","hashtag2"]},{"1402199356":["hashtag1","hashtag2"]},{"1402199359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199349, 1402199351, 1402199353, 1402199362, 1402199356, 1402199359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64040017127991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:55:42.138213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_12_6799.jpg', '/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_21_1846.jpg', '/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_27_1547.jpg', '/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_30_1661.jpg', '/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_32_1803.jpg', '/home/pi/Desktop/images/05112025/23/13/image_05112025_23_13_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_12_6799.jpg
/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_21_1846.jpg
/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_27_1547.jpg
/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_30_1661.jpg
/home/pi/Desktop/images/05112025/23/10/image_05112025_23_10_32_1803.jpg
/home/pi/Desktop/images/05112025/23/13/image_05112025_23_13_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":["1402199369","1402199371","1402199365","1402199368","1402199370","1402199367"],"photo_ids_order":["1402199365","1402199367","1402199368","1402199369","1402199370","1402199371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/90188872baa2add3fff4d75f19e9217c.jpg","text":"TemporaryFile(/tmp/multipartBody8022398766693387416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387403974,"filename":"image_05112025_23_10_30_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/2/f6225bb299a2c09344214efb8e3eda0b.jpg","text":"TemporaryFile(/tmp/multipartBody4957587163794267810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387403974,"filename":"image_05112025_23_13_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/2/393a3e3d05ccd2012a39152eed27bda5.jpg","text":"TemporaryFile(/tmp/multipartBody6531998369202546461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387403974,"filename":"image_05112025_23_10_12_6799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6fa42aeb9714b0dac2f145e800314c88.jpg","text":"TemporaryFile(/tmp/multipartBody6426191472482081726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387403974,"filename":"image_05112025_23_10_27_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/2/697c48aea05d883d47fdca4cff247b34.jpg","text":"TemporaryFile(/tmp/multipartBody5087034408271441279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387403974,"filename":"image_05112025_23_10_32_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/2/ac29081e0e4cbf0c9a222eec00de0a04.jpg","text":"TemporaryFile(/tmp/multipartBody8570702269974704327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387403974,"filename":"image_05112025_23_10_21_1846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199368","file1":"1402199367","file0":"1402199365","file4":"1402199370","file5":"1402199371","file3":"1402199369"},"map_files_photo_id_array":[{"photo_id":"1402199371","filename":"file5"},{"photo_id":"1402199368","filename":"file2"},{"photo_id":"1402199370","filename":"file4"},{"photo_id":"1402199367","filename":"file1"},{"photo_id":"1402199365","filename":"file0"},{"photo_id":"1402199369","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199369":["hashtag1","hashtag2"]},{"1402199371":["hashtag1","hashtag2"]},{"1402199365":["hashtag1","hashtag2"]},{"1402199368":["hashtag1","hashtag2"]},{"1402199370":["hashtag1","hashtag2"]},{"1402199367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199369, 1402199371, 1402199365, 1402199368, 1402199370, 1402199367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74380970001221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 21:56:22.375108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_54_9828.jpg', '/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_15_9553.jpg', '/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_24_9723.jpg', '/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_34_9959.jpg', '/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_45_10737.jpg', '/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_57_12194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/17/image_02012026_21_17_54_9828.jpg
/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_15_9553.jpg
/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_24_9723.jpg
/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_34_9959.jpg
/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_45_10737.jpg
/home/pi/Desktop/images/02012026/21/18/image_02012026_21_18_57_12194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199387","1402199381","1402199378","1402199383","1402199392","1402199385"],"photo_ids_order":["1402199378","1402199381","1402199383","1402199385","1402199387","1402199392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/68afcabe368cf052306ca9e9bdcc1400.jpg","text":"TemporaryFile(/tmp/multipartBody1320435309112934472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387442960,"filename":"image_02012026_21_18_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/2/5f735bcba306da3320a298b98c645ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3401592923608735107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387442960,"filename":"image_02012026_21_18_15_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/2/43138b2895c2c7c62848ade0fd4d0c62.jpg","text":"TemporaryFile(/tmp/multipartBody5062255731443675805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387442960,"filename":"image_02012026_21_17_54_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/2/4b102f824756b1c24ad51a78c070a510.jpg","text":"TemporaryFile(/tmp/multipartBody5572159223560699970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387442960,"filename":"image_02012026_21_18_24_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/2/4405072a760c73404b922498d57ee02f.jpg","text":"TemporaryFile(/tmp/multipartBody2391825378106349968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387442960,"filename":"image_02012026_21_18_57_12194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1abcacd8ecde36c0e8a95796f04526d1.jpg","text":"TemporaryFile(/tmp/multipartBody7774674372468643696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387442960,"filename":"image_02012026_21_18_34_9959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199383","file1":"1402199381","file0":"1402199378","file4":"1402199387","file5":"1402199392","file3":"1402199385"},"map_files_photo_id_array":[{"photo_id":"1402199392","filename":"file5"},{"photo_id":"1402199383","filename":"file2"},{"photo_id":"1402199387","filename":"file4"},{"photo_id":"1402199381","filename":"file1"},{"photo_id":"1402199378","filename":"file0"},{"photo_id":"1402199385","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199387":["hashtag1","hashtag2"]},{"1402199381":["hashtag1","hashtag2"]},{"1402199378":["hashtag1","hashtag2"]},{"1402199383":["hashtag1","hashtag2"]},{"1402199392":["hashtag1","hashtag2"]},{"1402199385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199387, 1402199381, 1402199378, 1402199383, 1402199392, 1402199385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64326739311218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:57:03.008480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/18/image_02012026_21_19_05_7714.jpg', '/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_15_9663.jpg', '/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_24_9836.jpg', '/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_35_10611.jpg', '/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_45_9649.jpg', '/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/18/image_02012026_21_19_05_7714.jpg
/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_15_9663.jpg
/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_24_9836.jpg
/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_35_10611.jpg
/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_45_9649.jpg
/home/pi/Desktop/images/02012026/21/19/image_02012026_21_19_54_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199403","1402199411","1402199405","1402199414","1402199408","1402199401"],"photo_ids_order":["1402199401","1402199403","1402199405","1402199408","1402199411","1402199414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/16a78b86c2ae3370d419c4190a840258.jpg","text":"TemporaryFile(/tmp/multipartBody4422410670641842005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387483631,"filename":"image_02012026_21_19_15_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/2/c71a1725040724c972c0481f2debf87b.jpg","text":"TemporaryFile(/tmp/multipartBody5808123990023130026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387483631,"filename":"image_02012026_21_19_45_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/2/0b113c8eb1ad30a53771bb4cbef2c9f0.jpg","text":"TemporaryFile(/tmp/multipartBody123958523592616726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387483631,"filename":"image_02012026_21_19_24_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/2/95c9474dc6290a98818ca553e3e6b135.jpg","text":"TemporaryFile(/tmp/multipartBody573715181274915934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387483631,"filename":"image_02012026_21_19_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/2/1624e23d7afe243c51af34ec3de563d1.jpg","text":"TemporaryFile(/tmp/multipartBody3618262899459703827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387483631,"filename":"image_02012026_21_19_35_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/2/33949d6faca1be10fc8d98a272e02fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7663879261954881452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387483631,"filename":"image_02012026_21_19_05_7714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199405","file1":"1402199403","file0":"1402199401","file4":"1402199411","file5":"1402199414","file3":"1402199408"},"map_files_photo_id_array":[{"photo_id":"1402199414","filename":"file5"},{"photo_id":"1402199405","filename":"file2"},{"photo_id":"1402199411","filename":"file4"},{"photo_id":"1402199403","filename":"file1"},{"photo_id":"1402199401","filename":"file0"},{"photo_id":"1402199408","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199403":["hashtag1","hashtag2"]},{"1402199411":["hashtag1","hashtag2"]},{"1402199405":["hashtag1","hashtag2"]},{"1402199414":["hashtag1","hashtag2"]},{"1402199408":["hashtag1","hashtag2"]},{"1402199401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199403, 1402199411, 1402199405, 1402199414, 1402199408, 1402199401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87696170806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:57:42.437458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/13/image_05112025_23_13_11_3693.jpg', '/home/pi/Desktop/images/05112025/23/13/image_05112025_23_13_35_9396.jpg', '/home/pi/Desktop/images/05112025/23/14/image_05112025_23_14_12_1689.jpg', '/home/pi/Desktop/images/05112025/23/14/image_05112025_23_14_17_1648.jpg', '/home/pi/Desktop/images/05112025/23/14/image_05112025_23_15_00_21699.jpg', '/home/pi/Desktop/images/05112025/23/15/image_05112025_23_15_03_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/13/image_05112025_23_13_11_3693.jpg
/home/pi/Desktop/images/05112025/23/13/image_05112025_23_13_35_9396.jpg
/home/pi/Desktop/images/05112025/23/14/image_05112025_23_14_12_1689.jpg
/home/pi/Desktop/images/05112025/23/14/image_05112025_23_14_17_1648.jpg
/home/pi/Desktop/images/05112025/23/14/image_05112025_23_15_00_21699.jpg
/home/pi/Desktop/images/05112025/23/15/image_05112025_23_15_03_1673.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199424","1402199423","1402199426","1402199420","1402199422","1402199425"],"photo_ids_order":["1402199420","1402199422","1402199423","1402199424","1402199425","1402199426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65c8d7ff69a99ba97a066a6789196ea5.jpg","text":"TemporaryFile(/tmp/multipartBody5442932981267804778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387524279,"filename":"image_05112025_23_14_17_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/2/fbcdf1692e7a0ea657e2b00df97df767.jpg","text":"TemporaryFile(/tmp/multipartBody6349785405865305372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387524279,"filename":"image_05112025_23_14_12_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/2/3a62ecc52f25d267ba4d159063208261.jpg","text":"TemporaryFile(/tmp/multipartBody1441779946715661450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387524279,"filename":"image_05112025_23_15_03_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/2/7719d60eac2d4654bb4c76a1fa88a443.jpg","text":"TemporaryFile(/tmp/multipartBody4497384591064307755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387524279,"filename":"image_05112025_23_13_11_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/2/3ef37bd6cb419e9adebd30161c736961.jpg","text":"TemporaryFile(/tmp/multipartBody2326150133778317656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387524279,"filename":"image_05112025_23_13_35_9396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e32fd794db25b6d2c223c544cf6bc7a.jpg","text":"TemporaryFile(/tmp/multipartBody2823064098082391725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387524279,"filename":"image_05112025_23_15_00_21699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199423","file1":"1402199422","file0":"1402199420","file4":"1402199425","file5":"1402199426","file3":"1402199424"},"map_files_photo_id_array":[{"photo_id":"1402199426","filename":"file5"},{"photo_id":"1402199423","filename":"file2"},{"photo_id":"1402199425","filename":"file4"},{"photo_id":"1402199422","filename":"file1"},{"photo_id":"1402199420","filename":"file0"},{"photo_id":"1402199424","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199424":["hashtag1","hashtag2"]},{"1402199423":["hashtag1","hashtag2"]},{"1402199426":["hashtag1","hashtag2"]},{"1402199420":["hashtag1","hashtag2"]},{"1402199422":["hashtag1","hashtag2"]},{"1402199425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199424, 1402199423, 1402199426, 1402199420, 1402199422, 1402199425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.506054639816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 21:59:03.460965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/19/image_02012026_21_20_05_10719.jpg', '/home/pi/Desktop/images/02012026/21/20/image_02012026_21_20_15_9761.jpg', '/home/pi/Desktop/images/02012026/21/20/image_02012026_21_20_25_9632.jpg', '/home/pi/Desktop/images/02012026/21/20/image_02012026_21_20_34_9659.jpg', '/home/pi/Desktop/images/02012026/21/20/image_02012026_21_21_05_10547.jpg', '/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_15_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/19/image_02012026_21_20_05_10719.jpg
/home/pi/Desktop/images/02012026/21/20/image_02012026_21_20_15_9761.jpg
/home/pi/Desktop/images/02012026/21/20/image_02012026_21_20_25_9632.jpg
/home/pi/Desktop/images/02012026/21/20/image_02012026_21_20_34_9659.jpg
/home/pi/Desktop/images/02012026/21/20/image_02012026_21_21_05_10547.jpg
/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_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":["1402199456","1402199452","1402199446","1402199461","1402199443","1402199439"],"photo_ids_order":["1402199439","1402199443","1402199446","1402199452","1402199456","1402199461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed2ec1a591a3ba3719177648c5ed4c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8509932911465350879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387604094,"filename":"image_02012026_21_21_05_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/2/33e80f569a190f391de9c69c9e6b87c4.jpg","text":"TemporaryFile(/tmp/multipartBody8860422147721364146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387604094,"filename":"image_02012026_21_20_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/2/fc98ab765930bea1479d6f7b466cc16a.jpg","text":"TemporaryFile(/tmp/multipartBody6724709916315966191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387604094,"filename":"image_02012026_21_20_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/2/b6f55c932afcb6e3fe961a07dfce0763.jpg","text":"TemporaryFile(/tmp/multipartBody2471361647555343115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387604094,"filename":"image_02012026_21_21_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/2/5e44dd50dc00fc9394daf96eca66f436.jpg","text":"TemporaryFile(/tmp/multipartBody2607730947791253428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387604094,"filename":"image_02012026_21_20_15_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/2/291d965596a0b8c030ea9696c7a4440b.jpg","text":"TemporaryFile(/tmp/multipartBody5856410447701347521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387604094,"filename":"image_02012026_21_20_05_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199446","file1":"1402199443","file0":"1402199439","file4":"1402199456","file5":"1402199461","file3":"1402199452"},"map_files_photo_id_array":[{"photo_id":"1402199461","filename":"file5"},{"photo_id":"1402199446","filename":"file2"},{"photo_id":"1402199456","filename":"file4"},{"photo_id":"1402199443","filename":"file1"},{"photo_id":"1402199439","filename":"file0"},{"photo_id":"1402199452","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199456":["hashtag1","hashtag2"]},{"1402199452":["hashtag1","hashtag2"]},{"1402199446":["hashtag1","hashtag2"]},{"1402199461":["hashtag1","hashtag2"]},{"1402199443":["hashtag1","hashtag2"]},{"1402199439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199456, 1402199452, 1402199446, 1402199461, 1402199443, 1402199439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87080717086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 21:59:42.771726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/15/image_05112025_23_15_05_1678.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_01_55779.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_02_1559.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_04_1650.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_29_1556.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_30_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/15/image_05112025_23_15_05_1678.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_01_55779.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_02_1559.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_04_1650.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_29_1556.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_30_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199480","1402199482","1402199464","1402199481","1402199475","1402199478"],"photo_ids_order":["1402199464","1402199475","1402199478","1402199480","1402199481","1402199482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/89d66451510fcf88bd023b9b594edc7e.jpg","text":"TemporaryFile(/tmp/multipartBody6290694857699177757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387644642,"filename":"image_05112025_23_16_04_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/2/3d540df4e85b5d8680983de05f242368.jpg","text":"TemporaryFile(/tmp/multipartBody651337515726992613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387644642,"filename":"image_05112025_23_16_30_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/2/88fa02def238c15457d1f8e9667bca00.jpg","text":"TemporaryFile(/tmp/multipartBody6741910955447075608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387644642,"filename":"image_05112025_23_15_05_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/2/c66a73032c2fa86ade41e5699bfb178d.jpg","text":"TemporaryFile(/tmp/multipartBody119290679680822271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387644642,"filename":"image_05112025_23_16_29_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/2/a1f8849fff98321c482f62016196b82b.jpg","text":"TemporaryFile(/tmp/multipartBody4564999183600362016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387644642,"filename":"image_05112025_23_16_01_55779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/86fb8b01ab3494f9af93d6cf7913ef5e.jpg","text":"TemporaryFile(/tmp/multipartBody5389848243164117376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387644642,"filename":"image_05112025_23_16_02_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199478","file1":"1402199475","file0":"1402199464","file4":"1402199481","file5":"1402199482","file3":"1402199480"},"map_files_photo_id_array":[{"photo_id":"1402199482","filename":"file5"},{"photo_id":"1402199478","filename":"file2"},{"photo_id":"1402199481","filename":"file4"},{"photo_id":"1402199475","filename":"file1"},{"photo_id":"1402199464","filename":"file0"},{"photo_id":"1402199480","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199480":["hashtag1","hashtag2"]},{"1402199482":["hashtag1","hashtag2"]},{"1402199464":["hashtag1","hashtag2"]},{"1402199481":["hashtag1","hashtag2"]},{"1402199475":["hashtag1","hashtag2"]},{"1402199478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199480, 1402199482, 1402199464, 1402199481, 1402199475, 1402199478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89058518409729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:00:21.951292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_24_9630.jpg', '/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_35_10630.jpg', '/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_45_9560.jpg', '/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_54_9697.jpg', '/home/pi/Desktop/images/02012026/21/21/image_02012026_21_22_05_10677.jpg', '/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_15_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_24_9630.jpg
/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_35_10630.jpg
/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_45_9560.jpg
/home/pi/Desktop/images/02012026/21/21/image_02012026_21_21_54_9697.jpg
/home/pi/Desktop/images/02012026/21/21/image_02012026_21_22_05_10677.jpg
/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_15_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":["1402199514","1402199498","1402199495","1402199500","1402199503","1402199490"],"photo_ids_order":["1402199490","1402199495","1402199498","1402199500","1402199503","1402199514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6cd7fd5f7f967466049d72babf26ee09.jpg","text":"TemporaryFile(/tmp/multipartBody7877105471292950087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387682572,"filename":"image_02012026_21_22_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/2/5094cd839a0edde969793642ad280fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6990984925033061760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387682572,"filename":"image_02012026_21_21_45_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/2/d2c22d6d1ba9e991f73b2ceda6105f03.jpg","text":"TemporaryFile(/tmp/multipartBody6173588141294883967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387682572,"filename":"image_02012026_21_21_35_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/2/792aaee165d4dd7bf02ddd0e762155ea.jpg","text":"TemporaryFile(/tmp/multipartBody3623122756200422248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387682572,"filename":"image_02012026_21_21_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/2/bcb0496f6e1db1d0f7513f5b1699871d.jpg","text":"TemporaryFile(/tmp/multipartBody5266765229311634584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387682572,"filename":"image_02012026_21_22_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/2/67d1ab29ecdbc93c7a4bb59ea5b10504.jpg","text":"TemporaryFile(/tmp/multipartBody4813261098681330330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387682572,"filename":"image_02012026_21_21_24_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199498","file1":"1402199495","file0":"1402199490","file4":"1402199503","file5":"1402199514","file3":"1402199500"},"map_files_photo_id_array":[{"photo_id":"1402199514","filename":"file5"},{"photo_id":"1402199498","filename":"file2"},{"photo_id":"1402199503","filename":"file4"},{"photo_id":"1402199495","filename":"file1"},{"photo_id":"1402199490","filename":"file0"},{"photo_id":"1402199500","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199514":["hashtag1","hashtag2"]},{"1402199498":["hashtag1","hashtag2"]},{"1402199495":["hashtag1","hashtag2"]},{"1402199500":["hashtag1","hashtag2"]},{"1402199503":["hashtag1","hashtag2"]},{"1402199490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199514, 1402199498, 1402199495, 1402199500, 1402199503, 1402199490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78482627868652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:01:02.814336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_24_9685.jpg', '/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_35_10586.jpg', '/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_45_9576.jpg', '/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_55_10650.jpg', '/home/pi/Desktop/images/02012026/21/22/image_02012026_21_23_05_9785.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_15_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_24_9685.jpg
/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_35_10586.jpg
/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_45_9576.jpg
/home/pi/Desktop/images/02012026/21/22/image_02012026_21_22_55_10650.jpg
/home/pi/Desktop/images/02012026/21/22/image_02012026_21_23_05_9785.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_15_9763.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":["1402199547","1402199526","1402199541","1402199534","1402199544","1402199538"],"photo_ids_order":["1402199526","1402199534","1402199538","1402199541","1402199544","1402199547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9d245a6c0c330f169c60268667345e39.jpg","text":"TemporaryFile(/tmp/multipartBody6725563565659952918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387725862,"filename":"image_02012026_21_23_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/2/f873b2a7cecaf47a5e7557f6ae6424ab.jpg","text":"TemporaryFile(/tmp/multipartBody769586651321302023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387725862,"filename":"image_02012026_21_22_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/2/19fb477fbaba6328151a3eb10496ccf2.jpg","text":"TemporaryFile(/tmp/multipartBody2819960747752317338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387725862,"filename":"image_02012026_21_22_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/2/fd839b890d12db404f6ef7aea86f508f.jpg","text":"TemporaryFile(/tmp/multipartBody1723616049607254100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387725862,"filename":"image_02012026_21_22_35_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/2/77cb0e61eaf057aa74d0e74787e396f6.jpg","text":"TemporaryFile(/tmp/multipartBody8346539707544328136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387725862,"filename":"image_02012026_21_23_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/2/1fd58c698899d975a90400e4088a58a0.jpg","text":"TemporaryFile(/tmp/multipartBody4074524417275632122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387725862,"filename":"image_02012026_21_22_45_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199538","file1":"1402199534","file0":"1402199526","file4":"1402199544","file5":"1402199547","file3":"1402199541"},"map_files_photo_id_array":[{"photo_id":"1402199547","filename":"file5"},{"photo_id":"1402199538","filename":"file2"},{"photo_id":"1402199544","filename":"file4"},{"photo_id":"1402199534","filename":"file1"},{"photo_id":"1402199526","filename":"file0"},{"photo_id":"1402199541","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199547":["hashtag1","hashtag2"]},{"1402199526":["hashtag1","hashtag2"]},{"1402199541":["hashtag1","hashtag2"]},{"1402199534":["hashtag1","hashtag2"]},{"1402199544":["hashtag1","hashtag2"]},{"1402199538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199547, 1402199526, 1402199541, 1402199534, 1402199544, 1402199538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.413509130477905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:02:02.812218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_25_9942.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_34_9795.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_45_10560.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_55_9646.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_24_04_9627.jpg', '/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_15_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_25_9942.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_34_9795.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_45_10560.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_55_9646.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_24_04_9627.jpg
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_15_10763.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5072438716888428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:02:12.295491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_32_1690.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_42_5144.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_44_1700.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_46_1789.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_48_1974.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_49_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_32_1690.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_42_5144.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_44_1700.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_46_1789.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_48_1974.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_49_1771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199652","1402199646","1402199651","1402199644","1402199653","1402199649"],"photo_ids_order":["1402199644","1402199646","1402199649","1402199651","1402199652","1402199653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/51aba1c9163b7243810e88aca5952b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8882412085249219959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387794005,"filename":"image_05112025_23_16_48_1974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66303e50047a17ccade2589a79ee5478.jpg","text":"TemporaryFile(/tmp/multipartBody646692712737727515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387794005,"filename":"image_05112025_23_16_42_5144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9dbb46b85aeb248581dade38893eed69.jpg","text":"TemporaryFile(/tmp/multipartBody5187081960794219884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387794005,"filename":"image_05112025_23_16_46_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/2/db663fb85ecd8648c926dfc97679584c.jpg","text":"TemporaryFile(/tmp/multipartBody8532560988570429540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387794005,"filename":"image_05112025_23_16_32_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/2/7249aa74996645d8eaccfe135f79186e.jpg","text":"TemporaryFile(/tmp/multipartBody1194439658956178539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387794005,"filename":"image_05112025_23_16_49_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/2/bccdf77fe562c1555ecd9e6c390ef300.jpg","text":"TemporaryFile(/tmp/multipartBody7012677723618977120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387794005,"filename":"image_05112025_23_16_44_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199649","file1":"1402199646","file0":"1402199644","file4":"1402199652","file5":"1402199653","file3":"1402199651"},"map_files_photo_id_array":[{"photo_id":"1402199653","filename":"file5"},{"photo_id":"1402199649","filename":"file2"},{"photo_id":"1402199652","filename":"file4"},{"photo_id":"1402199646","filename":"file1"},{"photo_id":"1402199644","filename":"file0"},{"photo_id":"1402199651","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199652":["hashtag1","hashtag2"]},{"1402199646":["hashtag1","hashtag2"]},{"1402199651":["hashtag1","hashtag2"]},{"1402199644":["hashtag1","hashtag2"]},{"1402199653":["hashtag1","hashtag2"]},{"1402199649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199652, 1402199646, 1402199651, 1402199644, 1402199653, 1402199649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07684683799744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:03:03.085308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_25_9942.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_34_9795.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_45_10560.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_55_9646.jpg', '/home/pi/Desktop/images/02012026/21/23/image_02012026_21_24_04_9627.jpg', '/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_15_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_25_9942.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_34_9795.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_45_10560.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_23_55_9646.jpg
/home/pi/Desktop/images/02012026/21/23/image_02012026_21_24_04_9627.jpg
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_15_10763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402199678","1402199681","1402199680","1402199683","1402199685","1402199682"],"photo_ids_order":["1402199678","1402199680","1402199681","1402199682","1402199683","1402199685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f47a3f3b0c96a984ca5dc195bf093dbd.jpg","text":"TemporaryFile(/tmp/multipartBody6889496272848098980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387843754,"filename":"image_02012026_21_23_25_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/2/9c336aa1e847cecfbe7a504e679b48d9.jpg","text":"TemporaryFile(/tmp/multipartBody3719263897124217285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387843754,"filename":"image_02012026_21_23_45_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/2/fcdc996055fed731193635deea68a0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8946973738893276389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387843754,"filename":"image_02012026_21_23_34_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/2/384cea2cb8889b5dcad65aa787f41324.jpg","text":"TemporaryFile(/tmp/multipartBody2010903263857343387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387843754,"filename":"image_02012026_21_24_04_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/2/ab36c40ee658677f55578873c591e812.jpg","text":"TemporaryFile(/tmp/multipartBody8841847883651307984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387843754,"filename":"image_02012026_21_24_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/2/53f271132a84e2afee5fae709aaf1b29.jpg","text":"TemporaryFile(/tmp/multipartBody8745068213940442897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387843754,"filename":"image_02012026_21_23_55_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199681","file1":"1402199680","file0":"1402199678","file4":"1402199683","file5":"1402199685","file3":"1402199682"},"map_files_photo_id_array":[{"photo_id":"1402199685","filename":"file5"},{"photo_id":"1402199681","filename":"file2"},{"photo_id":"1402199683","filename":"file4"},{"photo_id":"1402199680","filename":"file1"},{"photo_id":"1402199678","filename":"file0"},{"photo_id":"1402199682","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199678":["hashtag1","hashtag2"]},{"1402199681":["hashtag1","hashtag2"]},{"1402199680":["hashtag1","hashtag2"]},{"1402199683":["hashtag1","hashtag2"]},{"1402199685":["hashtag1","hashtag2"]},{"1402199682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199678, 1402199681, 1402199680, 1402199683, 1402199685, 1402199682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.736793994903564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:04:03.065275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_25_10131.jpg', '/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_35_9613.jpg', '/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_44_9524.jpg', '/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_55_10832.jpg', '/home/pi/Desktop/images/02012026/21/24/image_02012026_21_25_05_9565.jpg', '/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_15_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_25_10131.jpg
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_35_9613.jpg
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_44_9524.jpg
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_24_55_10832.jpg
/home/pi/Desktop/images/02012026/21/24/image_02012026_21_25_05_9565.jpg
/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_15_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199696","1402199700","1402199695","1402199692","1402199694","1402199697"],"photo_ids_order":["1402199692","1402199694","1402199695","1402199696","1402199697","1402199700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/26b2f46e8962a9ae0b106d8165fca675.jpg","text":"TemporaryFile(/tmp/multipartBody5790345496106912824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387903695,"filename":"image_02012026_21_24_55_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/2/2982c41d7677102e3b64d6ce97c1f3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1382630050384249466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387903695,"filename":"image_02012026_21_25_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/2/22a7aa099f29e3745342a90aed4fc35a.jpg","text":"TemporaryFile(/tmp/multipartBody5929332812599712177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387903695,"filename":"image_02012026_21_24_44_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/2/1b3bb2f0b612a7b2fdf20cf4b83846f7.jpg","text":"TemporaryFile(/tmp/multipartBody779796488012051561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387903695,"filename":"image_02012026_21_24_25_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c7d9c6e5cd8dd8f4b881dccc0c9b2208.jpg","text":"TemporaryFile(/tmp/multipartBody5262123353013327145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387903695,"filename":"image_02012026_21_24_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/2/a8581e63dccdfa9f6f126e3ad54dcdd1.jpg","text":"TemporaryFile(/tmp/multipartBody8321616279328537505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387903695,"filename":"image_02012026_21_25_05_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199695","file1":"1402199694","file0":"1402199692","file4":"1402199697","file5":"1402199700","file3":"1402199696"},"map_files_photo_id_array":[{"photo_id":"1402199700","filename":"file5"},{"photo_id":"1402199695","filename":"file2"},{"photo_id":"1402199697","filename":"file4"},{"photo_id":"1402199694","filename":"file1"},{"photo_id":"1402199692","filename":"file0"},{"photo_id":"1402199696","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199696":["hashtag1","hashtag2"]},{"1402199700":["hashtag1","hashtag2"]},{"1402199695":["hashtag1","hashtag2"]},{"1402199692":["hashtag1","hashtag2"]},{"1402199694":["hashtag1","hashtag2"]},{"1402199697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199696, 1402199700, 1402199695, 1402199692, 1402199694, 1402199697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74819588661194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:04:42.550174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_51_1609.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_53_1574.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_54_1627.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_56_1658.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_58_1756.jpg', '/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_59_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_51_1609.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_53_1574.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_54_1627.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_56_1658.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_58_1756.jpg
/home/pi/Desktop/images/05112025/23/16/image_05112025_23_16_59_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":["1402199751","1402199732","1402199735","1402199734","1402199742","1402199736"],"photo_ids_order":["1402199732","1402199734","1402199735","1402199736","1402199742","1402199751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f49635f4562290eb2b01a71121133ab5.jpg","text":"TemporaryFile(/tmp/multipartBody8473536441419031808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387944369,"filename":"image_05112025_23_16_59_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/2/c0f3961dbbec1ae2b930e457d084f81e.jpg","text":"TemporaryFile(/tmp/multipartBody4338571544715516243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387944369,"filename":"image_05112025_23_16_51_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/2/1ee80d6fb1bf83fc74f378b3b957610e.jpg","text":"TemporaryFile(/tmp/multipartBody8051773116081056904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387944369,"filename":"image_05112025_23_16_54_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/2/0c88e8f5861fcd16f194636932a8fcb7.jpg","text":"TemporaryFile(/tmp/multipartBody7341327624575883089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387944369,"filename":"image_05112025_23_16_53_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/2/0da639542d6f17f89126138d45ff6a64.jpg","text":"TemporaryFile(/tmp/multipartBody5313708496396268434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387944369,"filename":"image_05112025_23_16_58_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/2/918f0931f581c18f3a44949b58c5964a.jpg","text":"TemporaryFile(/tmp/multipartBody2453879043534756152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387944369,"filename":"image_05112025_23_16_56_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199735","file1":"1402199734","file0":"1402199732","file4":"1402199742","file5":"1402199751","file3":"1402199736"},"map_files_photo_id_array":[{"photo_id":"1402199751","filename":"file5"},{"photo_id":"1402199735","filename":"file2"},{"photo_id":"1402199742","filename":"file4"},{"photo_id":"1402199734","filename":"file1"},{"photo_id":"1402199732","filename":"file0"},{"photo_id":"1402199736","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199751":["hashtag1","hashtag2"]},{"1402199732":["hashtag1","hashtag2"]},{"1402199735":["hashtag1","hashtag2"]},{"1402199734":["hashtag1","hashtag2"]},{"1402199742":["hashtag1","hashtag2"]},{"1402199736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199751, 1402199732, 1402199735, 1402199734, 1402199742, 1402199736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.288939476013184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:05:22.672615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_25_10640.jpg', '/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_35_9822.jpg', '/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_45_9848.jpg', '/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_55_10361.jpg', '/home/pi/Desktop/images/02012026/21/25/image_02012026_21_26_05_9625.jpg', '/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_14_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_25_10640.jpg
/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_35_9822.jpg
/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_45_9848.jpg
/home/pi/Desktop/images/02012026/21/25/image_02012026_21_25_55_10361.jpg
/home/pi/Desktop/images/02012026/21/25/image_02012026_21_26_05_9625.jpg
/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_14_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199759","1402199753","1402199761","1402199767","1402199755","1402199757"],"photo_ids_order":["1402199753","1402199755","1402199757","1402199759","1402199761","1402199767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c4d2b77733c7c2a25f42ed8bdd29e66b.jpg","text":"TemporaryFile(/tmp/multipartBody2281193451868932407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387983253,"filename":"image_02012026_21_25_55_10361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e493df34326ecb31e1befa29d7a384b.jpg","text":"TemporaryFile(/tmp/multipartBody2602769956083051090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387983253,"filename":"image_02012026_21_25_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/2/e2ab763e84925176541d3a5c1661b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5404708112036967541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387983253,"filename":"image_02012026_21_26_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/2/367739e65e847ae5257e0013e330eff2.jpg","text":"TemporaryFile(/tmp/multipartBody1777171042482849566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387983253,"filename":"image_02012026_21_26_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/2/5e6fe16750617620140114c46ba94a7c.jpg","text":"TemporaryFile(/tmp/multipartBody8860558111431550636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387983253,"filename":"image_02012026_21_25_35_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/2/eea7382eaa5dd072e7d39a5991a2fdb3.jpg","text":"TemporaryFile(/tmp/multipartBody3898632931818852516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767387983253,"filename":"image_02012026_21_25_45_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199757","file1":"1402199755","file0":"1402199753","file4":"1402199761","file5":"1402199767","file3":"1402199759"},"map_files_photo_id_array":[{"photo_id":"1402199767","filename":"file5"},{"photo_id":"1402199757","filename":"file2"},{"photo_id":"1402199761","filename":"file4"},{"photo_id":"1402199755","filename":"file1"},{"photo_id":"1402199753","filename":"file0"},{"photo_id":"1402199759","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199759":["hashtag1","hashtag2"]},{"1402199753":["hashtag1","hashtag2"]},{"1402199761":["hashtag1","hashtag2"]},{"1402199767":["hashtag1","hashtag2"]},{"1402199755":["hashtag1","hashtag2"]},{"1402199757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199759, 1402199753, 1402199761, 1402199767, 1402199755, 1402199757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84061050415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:06:11.908588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_01_1574.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_03_1710.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_10_2150.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_11_1622.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_13_1605.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_15_1806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_01_1574.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_03_1710.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_10_2150.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_11_1622.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_13_1605.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_15_1806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199777","1402199771","1402199779","1402199773","1402199772","1402199775"],"photo_ids_order":["1402199771","1402199772","1402199773","1402199775","1402199777","1402199779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/711dfc3e48966aca188e3dc6d7c4073f.jpg","text":"TemporaryFile(/tmp/multipartBody929893393425851965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388033608,"filename":"image_05112025_23_17_13_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/2/8149decaefaa0aaf9f1c09981cd1d9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3369636502625724837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388033608,"filename":"image_05112025_23_17_01_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/2/2ba5d49a7baa1c3076dc1c59c8bacf9b.jpg","text":"TemporaryFile(/tmp/multipartBody8584505389389700316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388033608,"filename":"image_05112025_23_17_15_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/2/e5f02e4f5254835461e6869ec334f56c.jpg","text":"TemporaryFile(/tmp/multipartBody6918869160776693699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388033608,"filename":"image_05112025_23_17_10_2150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/545144b2d49e3b3957b13ff1c1780c2d.jpg","text":"TemporaryFile(/tmp/multipartBody1990181124764501604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388033608,"filename":"image_05112025_23_17_03_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/2/d91bf52537ab6452a2db21316179f43f.jpg","text":"TemporaryFile(/tmp/multipartBody3297399497444373465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388033608,"filename":"image_05112025_23_17_11_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199773","file1":"1402199772","file0":"1402199771","file4":"1402199777","file5":"1402199779","file3":"1402199775"},"map_files_photo_id_array":[{"photo_id":"1402199779","filename":"file5"},{"photo_id":"1402199773","filename":"file2"},{"photo_id":"1402199777","filename":"file4"},{"photo_id":"1402199772","filename":"file1"},{"photo_id":"1402199771","filename":"file0"},{"photo_id":"1402199775","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199777":["hashtag1","hashtag2"]},{"1402199771":["hashtag1","hashtag2"]},{"1402199779":["hashtag1","hashtag2"]},{"1402199773":["hashtag1","hashtag2"]},{"1402199772":["hashtag1","hashtag2"]},{"1402199775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199777, 1402199771, 1402199779, 1402199773, 1402199772, 1402199775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48925185203552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:07:02.777450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_24_9883.jpg', '/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_35_10850.jpg', '/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_45_9983.jpg', '/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_55_9822.jpg', '/home/pi/Desktop/images/02012026/21/26/image_02012026_21_27_05_9693.jpg', '/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_14_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_24_9883.jpg
/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_35_10850.jpg
/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_45_9983.jpg
/home/pi/Desktop/images/02012026/21/26/image_02012026_21_26_55_9822.jpg
/home/pi/Desktop/images/02012026/21/26/image_02012026_21_27_05_9693.jpg
/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_14_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":["1402199792","1402199794","1402199797","1402199799","1402199790","1402199796"],"photo_ids_order":["1402199790","1402199792","1402199794","1402199796","1402199797","1402199799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b8722f4c9900505c7c38af7225101b89.jpg","text":"TemporaryFile(/tmp/multipartBody3406704196035003659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388083461,"filename":"image_02012026_21_26_35_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/2/83feeaa3b0668764474d83d70be16cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5234216955022602150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388083461,"filename":"image_02012026_21_26_45_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ed7ab0d7a6dfb37d9de2ca1d0ba46057.jpg","text":"TemporaryFile(/tmp/multipartBody8930540455074410814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388083461,"filename":"image_02012026_21_27_05_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/2/d19a125e546d584b1f2d95583352f4f3.jpg","text":"TemporaryFile(/tmp/multipartBody1661386698988192937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388083461,"filename":"image_02012026_21_27_14_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/2/48f737cb402e1a3483660a4ff49a56d0.jpg","text":"TemporaryFile(/tmp/multipartBody4697747121045952677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388083461,"filename":"image_02012026_21_26_24_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/2/261c5d53ce848ffdf414581e8c21cf53.jpg","text":"TemporaryFile(/tmp/multipartBody8066554999810255114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388083461,"filename":"image_02012026_21_26_55_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199794","file1":"1402199792","file0":"1402199790","file4":"1402199797","file5":"1402199799","file3":"1402199796"},"map_files_photo_id_array":[{"photo_id":"1402199799","filename":"file5"},{"photo_id":"1402199794","filename":"file2"},{"photo_id":"1402199797","filename":"file4"},{"photo_id":"1402199792","filename":"file1"},{"photo_id":"1402199790","filename":"file0"},{"photo_id":"1402199796","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199792":["hashtag1","hashtag2"]},{"1402199794":["hashtag1","hashtag2"]},{"1402199797":["hashtag1","hashtag2"]},{"1402199799":["hashtag1","hashtag2"]},{"1402199790":["hashtag1","hashtag2"]},{"1402199796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199792, 1402199794, 1402199797, 1402199799, 1402199790, 1402199796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94166421890259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:07:42.166304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_17_1890.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_20_1726.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_29_3425.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_31_1728.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_36_2333.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_38_1737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_17_1890.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_20_1726.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_29_3425.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_31_1728.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_36_2333.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_38_1737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199811","1402199805","1402199808","1402199810","1402199812","1402199809"],"photo_ids_order":["1402199805","1402199808","1402199809","1402199810","1402199811","1402199812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4ba4aaaf0cc898c77365801988a0fcd.jpg","text":"TemporaryFile(/tmp/multipartBody7226461366045283002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388124010,"filename":"image_05112025_23_17_36_2333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/355b91e6df43eb0e26532573582b7456.jpg","text":"TemporaryFile(/tmp/multipartBody7172813993098267179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388124010,"filename":"image_05112025_23_17_17_1890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a4d51b0484402c3cc731392e1c02083.jpg","text":"TemporaryFile(/tmp/multipartBody6230517935854108873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388124010,"filename":"image_05112025_23_17_20_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/2/3288ea51817c4167c6f5e406e0db9eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2071626089139241824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388124010,"filename":"image_05112025_23_17_31_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/2/76d65b6ba8011204a1cee46e1a5bac41.jpg","text":"TemporaryFile(/tmp/multipartBody8483340370108329294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388124010,"filename":"image_05112025_23_17_38_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/2/6f8e70d98b2d8a278b94b12ebd67065a.jpg","text":"TemporaryFile(/tmp/multipartBody8705891336364449877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388124010,"filename":"image_05112025_23_17_29_3425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199809","file1":"1402199808","file0":"1402199805","file4":"1402199811","file5":"1402199812","file3":"1402199810"},"map_files_photo_id_array":[{"photo_id":"1402199812","filename":"file5"},{"photo_id":"1402199809","filename":"file2"},{"photo_id":"1402199811","filename":"file4"},{"photo_id":"1402199808","filename":"file1"},{"photo_id":"1402199805","filename":"file0"},{"photo_id":"1402199810","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199811":["hashtag1","hashtag2"]},{"1402199805":["hashtag1","hashtag2"]},{"1402199808":["hashtag1","hashtag2"]},{"1402199810":["hashtag1","hashtag2"]},{"1402199812":["hashtag1","hashtag2"]},{"1402199809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199811, 1402199805, 1402199808, 1402199810, 1402199812, 1402199809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.118544816970825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:08:22.370175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_25_10582.jpg', '/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_35_10130.jpg', '/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_45_9636.jpg', '/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_55_9895.jpg', '/home/pi/Desktop/images/02012026/21/27/image_02012026_21_28_05_10646.jpg', '/home/pi/Desktop/images/02012026/21/28/image_02012026_21_28_15_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_25_10582.jpg
/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_35_10130.jpg
/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_45_9636.jpg
/home/pi/Desktop/images/02012026/21/27/image_02012026_21_27_55_9895.jpg
/home/pi/Desktop/images/02012026/21/27/image_02012026_21_28_05_10646.jpg
/home/pi/Desktop/images/02012026/21/28/image_02012026_21_28_15_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199823","1402199817","1402199825","1402199819","1402199821","1402199835"],"photo_ids_order":["1402199817","1402199819","1402199821","1402199823","1402199825","1402199835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/634149e9ce1afa03157b483a31e4b085.jpg","text":"TemporaryFile(/tmp/multipartBody6100955880614392467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388162947,"filename":"image_02012026_21_27_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/2/014f63ec1563e0ebdc25f93a2dd186bf.jpg","text":"TemporaryFile(/tmp/multipartBody4687238745176710227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388162947,"filename":"image_02012026_21_27_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/2/9a4351f465effd16a8b4328cf9fd4993.jpg","text":"TemporaryFile(/tmp/multipartBody6597060394492559761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388162947,"filename":"image_02012026_21_28_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/2/b828434c5a79e82dde6386e81a7a59cf.jpg","text":"TemporaryFile(/tmp/multipartBody5681095439027699423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388162947,"filename":"image_02012026_21_27_35_10130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6db74b3e21f167517285169ebd16571d.jpg","text":"TemporaryFile(/tmp/multipartBody7144783086502333498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388162947,"filename":"image_02012026_21_27_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/2/c1c5dd8fd765b1faa9766a24cc21672d.jpg","text":"TemporaryFile(/tmp/multipartBody3239900164766705659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388162947,"filename":"image_02012026_21_28_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199821","file1":"1402199819","file0":"1402199817","file4":"1402199825","file5":"1402199835","file3":"1402199823"},"map_files_photo_id_array":[{"photo_id":"1402199835","filename":"file5"},{"photo_id":"1402199821","filename":"file2"},{"photo_id":"1402199825","filename":"file4"},{"photo_id":"1402199819","filename":"file1"},{"photo_id":"1402199817","filename":"file0"},{"photo_id":"1402199823","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199823":["hashtag1","hashtag2"]},{"1402199817":["hashtag1","hashtag2"]},{"1402199825":["hashtag1","hashtag2"]},{"1402199819":["hashtag1","hashtag2"]},{"1402199821":["hashtag1","hashtag2"]},{"1402199835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199823, 1402199817, 1402199825, 1402199819, 1402199821, 1402199835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.395280838012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:09:03.669217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/28/image_02012026_21_28_24_9680.jpg', '/home/pi/Desktop/images/02012026/21/28/image_02012026_21_28_35_10623.jpg', '/home/pi/Desktop/images/02012026/21/28/image_02012026_21_29_04_9680.jpg', '/home/pi/Desktop/images/02012026/21/29/image_02012026_21_29_15_10624.jpg', '/home/pi/Desktop/images/02012026/21/29/image_02012026_21_29_35_9877.jpg', '/home/pi/Desktop/images/02012026/21/29/image_02012026_21_29_44_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/28/image_02012026_21_28_24_9680.jpg
/home/pi/Desktop/images/02012026/21/28/image_02012026_21_28_35_10623.jpg
/home/pi/Desktop/images/02012026/21/28/image_02012026_21_29_04_9680.jpg
/home/pi/Desktop/images/02012026/21/29/image_02012026_21_29_15_10624.jpg
/home/pi/Desktop/images/02012026/21/29/image_02012026_21_29_35_9877.jpg
/home/pi/Desktop/images/02012026/21/29/image_02012026_21_29_44_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":["1402199850","1402199858","1402199861","1402199855","1402199851","1402199853"],"photo_ids_order":["1402199850","1402199851","1402199853","1402199855","1402199858","1402199861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b54848f8f12640212e7ac584a4f60ef.jpg","text":"TemporaryFile(/tmp/multipartBody1886513406091343794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388204355,"filename":"image_02012026_21_28_24_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/2/a51f98c61c7cd0243b892b85b334230a.jpg","text":"TemporaryFile(/tmp/multipartBody4665981683222222732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388204355,"filename":"image_02012026_21_29_35_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/2/92d1412ca1861e48aa0d81ef6f04d033.jpg","text":"TemporaryFile(/tmp/multipartBody1356390739429885965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388204355,"filename":"image_02012026_21_29_44_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/2/7de7476dd6405cdacd735bdc09b5009f.jpg","text":"TemporaryFile(/tmp/multipartBody1479078199604710392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388204355,"filename":"image_02012026_21_29_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/2/f9bc3166384c84cf88e642faa566d15f.jpg","text":"TemporaryFile(/tmp/multipartBody2346827696783035490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388204355,"filename":"image_02012026_21_28_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/2/1c8b4754427f9754b1697f7222e8374d.jpg","text":"TemporaryFile(/tmp/multipartBody8982158045109540419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388204355,"filename":"image_02012026_21_29_04_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199853","file1":"1402199851","file0":"1402199850","file4":"1402199858","file5":"1402199861","file3":"1402199855"},"map_files_photo_id_array":[{"photo_id":"1402199861","filename":"file5"},{"photo_id":"1402199853","filename":"file2"},{"photo_id":"1402199858","filename":"file4"},{"photo_id":"1402199851","filename":"file1"},{"photo_id":"1402199850","filename":"file0"},{"photo_id":"1402199855","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199850":["hashtag1","hashtag2"]},{"1402199858":["hashtag1","hashtag2"]},{"1402199861":["hashtag1","hashtag2"]},{"1402199855":["hashtag1","hashtag2"]},{"1402199851":["hashtag1","hashtag2"]},{"1402199853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199850, 1402199858, 1402199861, 1402199855, 1402199851, 1402199853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83010721206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:09:42.596286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_40_1646.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_41_1805.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_43_1798.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_45_1747.jpg', '/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_50_1733.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_40_1646.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_41_1805.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_43_1798.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_45_1747.jpg
/home/pi/Desktop/images/05112025/23/17/image_05112025_23_17_50_1733.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_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":["1402199876","1402199870","1402199867","1402199872","1402199875","1402199874"],"photo_ids_order":["1402199867","1402199870","1402199872","1402199874","1402199875","1402199876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fb9288151cc8730264b4620d71543508.jpg","text":"TemporaryFile(/tmp/multipartBody222738206830222016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388244469,"filename":"image_05112025_23_20_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/2/5a894397b1452a21f6800694185694ed.jpg","text":"TemporaryFile(/tmp/multipartBody6077236439005156949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388244469,"filename":"image_05112025_23_17_41_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/2/d96820637eebc855668f158597a7c158.jpg","text":"TemporaryFile(/tmp/multipartBody7676474482729528763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388244469,"filename":"image_05112025_23_17_40_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/2/132a0de63d241d4eeffabdfbc23bb12f.jpg","text":"TemporaryFile(/tmp/multipartBody8702892213413526524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388244469,"filename":"image_05112025_23_17_43_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/2/90b488aa10a4cb7e5b6e7dc2ef7aab9c.jpg","text":"TemporaryFile(/tmp/multipartBody3056077896184073322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388244469,"filename":"image_05112025_23_17_50_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/2/ba44a977b1aac88877cdc07ac7ede286.jpg","text":"TemporaryFile(/tmp/multipartBody1628614369819329910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388244469,"filename":"image_05112025_23_17_45_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199872","file1":"1402199870","file0":"1402199867","file4":"1402199875","file5":"1402199876","file3":"1402199874"},"map_files_photo_id_array":[{"photo_id":"1402199876","filename":"file5"},{"photo_id":"1402199872","filename":"file2"},{"photo_id":"1402199875","filename":"file4"},{"photo_id":"1402199870","filename":"file1"},{"photo_id":"1402199867","filename":"file0"},{"photo_id":"1402199874","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402199876":["hashtag1","hashtag2"]},{"1402199870":["hashtag1","hashtag2"]},{"1402199867":["hashtag1","hashtag2"]},{"1402199872":["hashtag1","hashtag2"]},{"1402199875":["hashtag1","hashtag2"]},{"1402199874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402199876, 1402199870, 1402199867, 1402199872, 1402199875, 1402199874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87049698829651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:10:22.865685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_14_10351.jpg', '/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_24_9741.jpg', '/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_34_10423.jpg', '/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_45_10081.jpg', '/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_54_9584.jpg', '/home/pi/Desktop/images/02012026/21/30/image_02012026_21_31_04_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_14_10351.jpg
/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_24_9741.jpg
/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_34_10423.jpg
/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_45_10081.jpg
/home/pi/Desktop/images/02012026/21/30/image_02012026_21_30_54_9584.jpg
/home/pi/Desktop/images/02012026/21/30/image_02012026_21_31_04_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402199891","1402199893","1402199887","1402199881","1402199883","1402199889"],"photo_ids_order":["1402199881","1402199883","1402199887","1402199889","1402199891","1402199893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d55568115c5f8505b871cd644f808c69.jpg","text":"TemporaryFile(/tmp/multipartBody3328390327349092873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388283470,"filename":"image_02012026_21_30_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/2/4100cd0f59b55fbfcee037277ca4c89c.jpg","text":"TemporaryFile(/tmp/multipartBody8131747384810442264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388283470,"filename":"image_02012026_21_31_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/2/4701959de24eabf899acb72c13f548d8.jpg","text":"TemporaryFile(/tmp/multipartBody8876993576102374944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388283470,"filename":"image_02012026_21_30_34_10423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b5525ba47632ed4a3d6e86932344af58.jpg","text":"TemporaryFile(/tmp/multipartBody8825951114907096673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388283470,"filename":"image_02012026_21_30_14_10351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5659d1370123ea2cc13dffc2068c51cb.jpg","text":"TemporaryFile(/tmp/multipartBody9084722092454338415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388283470,"filename":"image_02012026_21_30_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/2/0fd23bff0644c0b2ade5002acc152cc9.jpg","text":"TemporaryFile(/tmp/multipartBody347154848825241546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388283470,"filename":"image_02012026_21_30_45_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199887","file1":"1402199883","file0":"1402199881","file4":"1402199891","file5":"1402199893","file3":"1402199889"},"map_files_photo_id_array":[{"photo_id":"1402199893","filename":"file5"},{"photo_id":"1402199887","filename":"file2"},{"photo_id":"1402199891","filename":"file4"},{"photo_id":"1402199883","filename":"file1"},{"photo_id":"1402199881","filename":"file0"},{"photo_id":"1402199889","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199891":["hashtag1","hashtag2"]},{"1402199893":["hashtag1","hashtag2"]},{"1402199887":["hashtag1","hashtag2"]},{"1402199881":["hashtag1","hashtag2"]},{"1402199883":["hashtag1","hashtag2"]},{"1402199889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199891, 1402199893, 1402199887, 1402199881, 1402199883, 1402199889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34631824493408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:11:02.647504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_15_10739.jpg', '/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_24_9718.jpg', '/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_34_9705.jpg', '/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_45_10711.jpg', '/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_55_9709.jpg', '/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_15_10739.jpg
/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_24_9718.jpg
/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_34_9705.jpg
/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_45_10711.jpg
/home/pi/Desktop/images/02012026/21/31/image_02012026_21_31_55_9709.jpg
/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_14_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":["1402199960","1402199948","1402199968","1402199979","1402199895","1402199928"],"photo_ids_order":["1402199895","1402199928","1402199948","1402199960","1402199968","1402199979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e3d32a1ee52727add69b4546f8f318fc.jpg","text":"TemporaryFile(/tmp/multipartBody7015451048646921019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388323280,"filename":"image_02012026_21_31_45_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/2/c35ff03fcf830fd656d9a1870ea7b133.jpg","text":"TemporaryFile(/tmp/multipartBody3558155601093317484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388323280,"filename":"image_02012026_21_31_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/2/297243d1ed97d89c05fa35de0ac8a251.jpg","text":"TemporaryFile(/tmp/multipartBody939329768797751746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388323280,"filename":"image_02012026_21_31_55_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/2/4581bddaca10bf6bf5f93fb4167e5ed3.jpg","text":"TemporaryFile(/tmp/multipartBody7698535177450338723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388323280,"filename":"image_02012026_21_32_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/2/f6b4b76c1597e0853a4679f8db0b4938.jpg","text":"TemporaryFile(/tmp/multipartBody2821238024895714747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388323280,"filename":"image_02012026_21_31_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/2/bf93518ace464b10aa47f22e8190bf19.jpg","text":"TemporaryFile(/tmp/multipartBody7580147134334184460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388323280,"filename":"image_02012026_21_31_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402199948","file1":"1402199928","file0":"1402199895","file4":"1402199968","file5":"1402199979","file3":"1402199960"},"map_files_photo_id_array":[{"photo_id":"1402199979","filename":"file5"},{"photo_id":"1402199948","filename":"file2"},{"photo_id":"1402199968","filename":"file4"},{"photo_id":"1402199928","filename":"file1"},{"photo_id":"1402199895","filename":"file0"},{"photo_id":"1402199960","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402199960":["hashtag1","hashtag2"]},{"1402199948":["hashtag1","hashtag2"]},{"1402199968":["hashtag1","hashtag2"]},{"1402199979":["hashtag1","hashtag2"]},{"1402199895":["hashtag1","hashtag2"]},{"1402199928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402199960, 1402199948, 1402199968, 1402199979, 1402199895, 1402199928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52012610435486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:11:41.982699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_11_3653.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_14_2705.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_16_2666.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_28_1679.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_30_1528.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_31_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_11_3653.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_14_2705.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_16_2666.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_28_1679.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_30_1528.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_31_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":["1402200023","1402200026","1402200022","1402200025","1402200019","1402200024"],"photo_ids_order":["1402200019","1402200022","1402200023","1402200024","1402200025","1402200026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa3ae87c3db350c6dfc98bb13309b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody290535263101766217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388363799,"filename":"image_05112025_23_20_16_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/2/4ff1cbfa894baa4c815396eaa40dcb76.jpg","text":"TemporaryFile(/tmp/multipartBody9042476167326591315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388363799,"filename":"image_05112025_23_20_31_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/2/cab8954435fc80b5218b73f3c3579304.jpg","text":"TemporaryFile(/tmp/multipartBody4329443855573293576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388363799,"filename":"image_05112025_23_20_14_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/2/0c6a1659328f2b9b0aa54d75a184dc24.jpg","text":"TemporaryFile(/tmp/multipartBody5042676249057164920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388363799,"filename":"image_05112025_23_20_30_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/2/de2118b29ab30240289de066f8422519.jpg","text":"TemporaryFile(/tmp/multipartBody7737252896794498299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388363799,"filename":"image_05112025_23_20_11_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/2/bad763c7a22422b44461de0324771fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7803482996925626607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388363799,"filename":"image_05112025_23_20_28_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200023","file1":"1402200022","file0":"1402200019","file4":"1402200025","file5":"1402200026","file3":"1402200024"},"map_files_photo_id_array":[{"photo_id":"1402200026","filename":"file5"},{"photo_id":"1402200023","filename":"file2"},{"photo_id":"1402200025","filename":"file4"},{"photo_id":"1402200022","filename":"file1"},{"photo_id":"1402200019","filename":"file0"},{"photo_id":"1402200024","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200023":["hashtag1","hashtag2"]},{"1402200026":["hashtag1","hashtag2"]},{"1402200022":["hashtag1","hashtag2"]},{"1402200025":["hashtag1","hashtag2"]},{"1402200019":["hashtag1","hashtag2"]},{"1402200024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200023, 1402200026, 1402200022, 1402200025, 1402200019, 1402200024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.993470907211304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:12:22.229192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_25_10697.jpg', '/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_34_9729.jpg', '/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_44_9708.jpg', '/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_55_10668.jpg', '/home/pi/Desktop/images/02012026/21/32/image_02012026_21_33_05_9977.jpg', '/home/pi/Desktop/images/02012026/21/33/image_02012026_21_33_14_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_25_10697.jpg
/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_34_9729.jpg
/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_44_9708.jpg
/home/pi/Desktop/images/02012026/21/32/image_02012026_21_32_55_10668.jpg
/home/pi/Desktop/images/02012026/21/32/image_02012026_21_33_05_9977.jpg
/home/pi/Desktop/images/02012026/21/33/image_02012026_21_33_14_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200041","1402200046","1402200037","1402200057","1402200039","1402200033"],"photo_ids_order":["1402200033","1402200037","1402200039","1402200041","1402200046","1402200057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f01223bcc6b16845b04a8130238c3004.jpg","text":"TemporaryFile(/tmp/multipartBody1870214130489930966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388402813,"filename":"image_02012026_21_32_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/2/cc8f7bbb3305de1aeb35d57b12c19a60.jpg","text":"TemporaryFile(/tmp/multipartBody3629206630149539682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388402813,"filename":"image_02012026_21_33_05_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/582ad3d0437c88ba9e23e5f4f3660fde.jpg","text":"TemporaryFile(/tmp/multipartBody2278761405965070050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388402813,"filename":"image_02012026_21_32_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/2/4e85d561e58cc3310a5e46e7595b502c.jpg","text":"TemporaryFile(/tmp/multipartBody5901831027392460656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388402813,"filename":"image_02012026_21_33_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/2/199fe366b63396a09e1029cdf2cc878c.jpg","text":"TemporaryFile(/tmp/multipartBody2326246584177111836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388402813,"filename":"image_02012026_21_32_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/2/a047196aaa0f8e9fa8509eb6d6a6b566.jpg","text":"TemporaryFile(/tmp/multipartBody1170788846866883119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388402813,"filename":"image_02012026_21_32_25_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200039","file1":"1402200037","file0":"1402200033","file4":"1402200046","file5":"1402200057","file3":"1402200041"},"map_files_photo_id_array":[{"photo_id":"1402200057","filename":"file5"},{"photo_id":"1402200039","filename":"file2"},{"photo_id":"1402200046","filename":"file4"},{"photo_id":"1402200037","filename":"file1"},{"photo_id":"1402200033","filename":"file0"},{"photo_id":"1402200041","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200041":["hashtag1","hashtag2"]},{"1402200046":["hashtag1","hashtag2"]},{"1402200037":["hashtag1","hashtag2"]},{"1402200057":["hashtag1","hashtag2"]},{"1402200039":["hashtag1","hashtag2"]},{"1402200033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200041, 1402200046, 1402200037, 1402200057, 1402200039, 1402200033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30326771736145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:13:02.974748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/33/image_02012026_21_33_54_9682.jpg', '/home/pi/Desktop/images/02012026/21/33/image_02012026_21_34_05_10552.jpg', '/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_15_9725.jpg', '/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_24_9629.jpg', '/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_34_9734.jpg', '/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_45_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/33/image_02012026_21_33_54_9682.jpg
/home/pi/Desktop/images/02012026/21/33/image_02012026_21_34_05_10552.jpg
/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_15_9725.jpg
/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_24_9629.jpg
/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_34_9734.jpg
/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_45_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":["1402200070","1402200064","1402200058","1402200073","1402200067","1402200061"],"photo_ids_order":["1402200058","1402200061","1402200064","1402200067","1402200070","1402200073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c8257595f1b0654f4a818ad1d971b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody97028652007543645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388443604,"filename":"image_02012026_21_34_34_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/2/9e556b988aaa6628d535f7bc8b5b44af.jpg","text":"TemporaryFile(/tmp/multipartBody7047116038819780317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388443604,"filename":"image_02012026_21_34_15_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/2/6c81f77c9a37c9272d859fca3c6ce217.jpg","text":"TemporaryFile(/tmp/multipartBody2369668190979646601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388443604,"filename":"image_02012026_21_33_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/2/311ce7f1f0e0a1b95b624205464fd60d.jpg","text":"TemporaryFile(/tmp/multipartBody3404616272845813536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388443604,"filename":"image_02012026_21_34_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/2/49a3c46097696302bcb37e82c1728cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6485868871797474000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388443604,"filename":"image_02012026_21_34_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/2/8df6d2a2c902b10352416b79a4d11051.jpg","text":"TemporaryFile(/tmp/multipartBody4188943542978276351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388443604,"filename":"image_02012026_21_34_05_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200064","file1":"1402200061","file0":"1402200058","file4":"1402200070","file5":"1402200073","file3":"1402200067"},"map_files_photo_id_array":[{"photo_id":"1402200073","filename":"file5"},{"photo_id":"1402200064","filename":"file2"},{"photo_id":"1402200070","filename":"file4"},{"photo_id":"1402200061","filename":"file1"},{"photo_id":"1402200058","filename":"file0"},{"photo_id":"1402200067","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200070":["hashtag1","hashtag2"]},{"1402200064":["hashtag1","hashtag2"]},{"1402200058":["hashtag1","hashtag2"]},{"1402200073":["hashtag1","hashtag2"]},{"1402200067":["hashtag1","hashtag2"]},{"1402200061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200070, 1402200064, 1402200058, 1402200073, 1402200067, 1402200061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.897653341293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:13:42.443435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_40_2734.jpg', '/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_44_3663.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_13_23221.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_16_1656.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_21_5447.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_34_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_40_2734.jpg
/home/pi/Desktop/images/05112025/23/20/image_05112025_23_20_44_3663.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_13_23221.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_16_1656.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_21_5447.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_34_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200203","1402200200","1402200202","1402200192","1402200189","1402200228"],"photo_ids_order":["1402200189","1402200192","1402200200","1402200202","1402200203","1402200228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f15ab49501d4c2aae703966757079e1.jpg","text":"TemporaryFile(/tmp/multipartBody8786158372558120602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388484284,"filename":"image_05112025_23_21_21_5447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f2a14a8a771c43e17f91f8f63fdf652.jpg","text":"TemporaryFile(/tmp/multipartBody1048671192125129307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388484284,"filename":"image_05112025_23_21_13_23221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a7ba0c39a1048200133d085eb95aa018.jpg","text":"TemporaryFile(/tmp/multipartBody7424747232969065486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388484284,"filename":"image_05112025_23_21_16_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/2/798228dbf01a9607240c50c78432ec2d.jpg","text":"TemporaryFile(/tmp/multipartBody3914749388151266416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388484284,"filename":"image_05112025_23_20_44_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/2/29f39fd409600ff18ad86e269d3f1c56.jpg","text":"TemporaryFile(/tmp/multipartBody793470755054392144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388484284,"filename":"image_05112025_23_20_40_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/2/b8a0b0f2f51994163260944c61fa1e71.jpg","text":"TemporaryFile(/tmp/multipartBody6850008231944880312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388484284,"filename":"image_05112025_23_21_34_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200200","file1":"1402200192","file0":"1402200189","file4":"1402200203","file5":"1402200228","file3":"1402200202"},"map_files_photo_id_array":[{"photo_id":"1402200228","filename":"file5"},{"photo_id":"1402200200","filename":"file2"},{"photo_id":"1402200203","filename":"file4"},{"photo_id":"1402200192","filename":"file1"},{"photo_id":"1402200189","filename":"file0"},{"photo_id":"1402200202","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200203":["hashtag1","hashtag2"]},{"1402200200":["hashtag1","hashtag2"]},{"1402200202":["hashtag1","hashtag2"]},{"1402200192":["hashtag1","hashtag2"]},{"1402200189":["hashtag1","hashtag2"]},{"1402200228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200203, 1402200200, 1402200202, 1402200192, 1402200189, 1402200228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.403709173202515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:14:22.603774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_54_9692.jpg', '/home/pi/Desktop/images/02012026/21/34/image_02012026_21_35_04_9700.jpg', '/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_15_10744.jpg', '/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_34_9912.jpg', '/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_44_9721.jpg', '/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_55_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/34/image_02012026_21_34_54_9692.jpg
/home/pi/Desktop/images/02012026/21/34/image_02012026_21_35_04_9700.jpg
/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_15_10744.jpg
/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_34_9912.jpg
/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_44_9721.jpg
/home/pi/Desktop/images/02012026/21/35/image_02012026_21_35_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":["1402200260","1402200254","1402200248","1402200262","1402200250","1402200247"],"photo_ids_order":["1402200247","1402200248","1402200250","1402200254","1402200260","1402200262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9df3588099eec01a708d9506a86a5296.jpg","text":"TemporaryFile(/tmp/multipartBody642541285247925515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388523361,"filename":"image_02012026_21_35_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/2/6e87131ff49f6e35500f2118e9b08ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4484670318086949592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388523361,"filename":"image_02012026_21_35_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/2/6075c0c435d877887890ef1226ff84c0.jpg","text":"TemporaryFile(/tmp/multipartBody9073891503921632282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388523361,"filename":"image_02012026_21_35_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/2/820996dc50d19309ce9fcc1529d4a23f.jpg","text":"TemporaryFile(/tmp/multipartBody829657105049161741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388523361,"filename":"image_02012026_21_35_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/2/759706269c9c8337a5bdc31c98a4ce52.jpg","text":"TemporaryFile(/tmp/multipartBody8995763833785897881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388523361,"filename":"image_02012026_21_35_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/2/796118a4aabd6675100391a463ea659b.jpg","text":"TemporaryFile(/tmp/multipartBody8696455235602612482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388523361,"filename":"image_02012026_21_34_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200250","file1":"1402200248","file0":"1402200247","file4":"1402200260","file5":"1402200262","file3":"1402200254"},"map_files_photo_id_array":[{"photo_id":"1402200262","filename":"file5"},{"photo_id":"1402200250","filename":"file2"},{"photo_id":"1402200260","filename":"file4"},{"photo_id":"1402200248","filename":"file1"},{"photo_id":"1402200247","filename":"file0"},{"photo_id":"1402200254","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200260":["hashtag1","hashtag2"]},{"1402200254":["hashtag1","hashtag2"]},{"1402200248":["hashtag1","hashtag2"]},{"1402200262":["hashtag1","hashtag2"]},{"1402200250":["hashtag1","hashtag2"]},{"1402200247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200260, 1402200254, 1402200248, 1402200262, 1402200250, 1402200247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02326488494873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:15:03.471227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/35/image_02012026_21_36_05_9708.jpg', '/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_14_9668.jpg', '/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_25_10536.jpg', '/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_34_9608.jpg', '/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_44_9727.jpg', '/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/35/image_02012026_21_36_05_9708.jpg
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_14_9668.jpg
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_25_10536.jpg
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_34_9608.jpg
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_44_9727.jpg
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_36_55_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200269","1402200271","1402200268","1402200273","1402200267","1402200272"],"photo_ids_order":["1402200267","1402200268","1402200269","1402200271","1402200272","1402200273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/94debf3984166bc1678c875bbe64811d.jpg","text":"TemporaryFile(/tmp/multipartBody1161125088756911005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388564313,"filename":"image_02012026_21_36_25_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/2/9fcb33c8f4de9f52ae9c2a88a5b79089.jpg","text":"TemporaryFile(/tmp/multipartBody3910372919388294706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388564313,"filename":"image_02012026_21_36_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/2/2876985bffa6510fc872114db560d27c.jpg","text":"TemporaryFile(/tmp/multipartBody4232249384629463747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388564313,"filename":"image_02012026_21_36_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/2/c17eae701dd389ce3d13c0ed513225ee.jpg","text":"TemporaryFile(/tmp/multipartBody4915729084923221295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388564313,"filename":"image_02012026_21_36_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/2/a68459d13b166eaa3e73fce35bbf5108.jpg","text":"TemporaryFile(/tmp/multipartBody6351260203399045898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388564313,"filename":"image_02012026_21_36_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/2/e3474e751d7a942b4b120ff83a00a6b7.jpg","text":"TemporaryFile(/tmp/multipartBody1056306470867875012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388564313,"filename":"image_02012026_21_36_44_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200269","file1":"1402200268","file0":"1402200267","file4":"1402200272","file5":"1402200273","file3":"1402200271"},"map_files_photo_id_array":[{"photo_id":"1402200273","filename":"file5"},{"photo_id":"1402200269","filename":"file2"},{"photo_id":"1402200272","filename":"file4"},{"photo_id":"1402200268","filename":"file1"},{"photo_id":"1402200267","filename":"file0"},{"photo_id":"1402200271","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200269":["hashtag1","hashtag2"]},{"1402200271":["hashtag1","hashtag2"]},{"1402200268":["hashtag1","hashtag2"]},{"1402200273":["hashtag1","hashtag2"]},{"1402200267":["hashtag1","hashtag2"]},{"1402200272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200269, 1402200271, 1402200268, 1402200273, 1402200267, 1402200272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68249702453613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:15:42.862731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_36_1662.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_42_1563.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_58_1566.jpg', '/home/pi/Desktop/images/05112025/23/21/image_05112025_23_22_00_1620.jpg', '/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_02_1702.jpg', '/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_05_1756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_36_1662.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_42_1563.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_21_58_1566.jpg
/home/pi/Desktop/images/05112025/23/21/image_05112025_23_22_00_1620.jpg
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_02_1702.jpg
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_05_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":["1402200281","1402200275","1402200280","1402200277","1402200279","1402200278"],"photo_ids_order":["1402200275","1402200277","1402200278","1402200279","1402200280","1402200281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/70851206d08a78138f49c2b466c7edfe.jpg","text":"TemporaryFile(/tmp/multipartBody421480560280523468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388604747,"filename":"image_05112025_23_22_05_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/2/bdc6786835395e70f3ebe8d53cf4734d.jpg","text":"TemporaryFile(/tmp/multipartBody4507214586105650126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388604747,"filename":"image_05112025_23_21_36_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/2/dd47d0610b0dda8fd39a26e17b9d6657.jpg","text":"TemporaryFile(/tmp/multipartBody5579556089147549411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388604747,"filename":"image_05112025_23_22_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/2/4a92de624be61427f9c7d1f5bfc80b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5097785784934526048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388604747,"filename":"image_05112025_23_21_42_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/2/2530ca0fb9fba7fdd36bf69163bf996e.jpg","text":"TemporaryFile(/tmp/multipartBody2103349244648512538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388604747,"filename":"image_05112025_23_22_00_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/2/3f47c26d013f6321fce341f1583daf02.jpg","text":"TemporaryFile(/tmp/multipartBody2137477560704268849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388604747,"filename":"image_05112025_23_21_58_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200278","file1":"1402200277","file0":"1402200275","file4":"1402200280","file5":"1402200281","file3":"1402200279"},"map_files_photo_id_array":[{"photo_id":"1402200281","filename":"file5"},{"photo_id":"1402200278","filename":"file2"},{"photo_id":"1402200280","filename":"file4"},{"photo_id":"1402200277","filename":"file1"},{"photo_id":"1402200275","filename":"file0"},{"photo_id":"1402200279","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200281":["hashtag1","hashtag2"]},{"1402200275":["hashtag1","hashtag2"]},{"1402200280":["hashtag1","hashtag2"]},{"1402200277":["hashtag1","hashtag2"]},{"1402200279":["hashtag1","hashtag2"]},{"1402200278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200281, 1402200275, 1402200280, 1402200277, 1402200279, 1402200278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44673824310303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:16:22.039181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/36/image_02012026_21_37_04_9674.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_14_9667.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_25_10602.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_34_9695.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_55_10557.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_38_04_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_37_04_9674.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_14_9667.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_25_10602.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_34_9695.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_55_10557.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_38_04_9820.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.467301607131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:16:32.041731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_45_39993.jpg', '/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_47_1631.jpg', '/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_48_1671.jpg', '/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_52_1781.jpg', '/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_53_1579.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_45_39993.jpg
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_47_1631.jpg
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_48_1671.jpg
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_52_1781.jpg
/home/pi/Desktop/images/05112025/23/22/image_05112025_23_22_53_1579.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_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":["1402200302","1402200305","1402200285","1402200304","1402200294","1402200287"],"photo_ids_order":["1402200285","1402200287","1402200294","1402200302","1402200304","1402200305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fa4b187a08ab34343c87d59fcf6c8601.jpg","text":"TemporaryFile(/tmp/multipartBody4020112386892836679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388653935,"filename":"image_05112025_23_22_52_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/2/fbfd1a1e5355086f2ebe5551d6c54878.jpg","text":"TemporaryFile(/tmp/multipartBody8634077927563553586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388653935,"filename":"image_05112025_23_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/2/5168ee55fb4b9b2d25897e29f1ab4b87.jpg","text":"TemporaryFile(/tmp/multipartBody7635192155878087988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388653935,"filename":"image_05112025_23_22_45_39993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22927a6fd493bdc281a7624d784b5cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3365389897681938297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388653935,"filename":"image_05112025_23_22_53_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/2/8a27d7c7a6c77c5b0889364c0c2cc965.jpg","text":"TemporaryFile(/tmp/multipartBody8023662559301036222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388653935,"filename":"image_05112025_23_22_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/2/33f4526f9bd717d488ce83ff76967ca8.jpg","text":"TemporaryFile(/tmp/multipartBody8922105230511780620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388653935,"filename":"image_05112025_23_22_47_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200294","file1":"1402200287","file0":"1402200285","file4":"1402200304","file5":"1402200305","file3":"1402200302"},"map_files_photo_id_array":[{"photo_id":"1402200305","filename":"file5"},{"photo_id":"1402200294","filename":"file2"},{"photo_id":"1402200304","filename":"file4"},{"photo_id":"1402200287","filename":"file1"},{"photo_id":"1402200285","filename":"file0"},{"photo_id":"1402200302","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200302":["hashtag1","hashtag2"]},{"1402200305":["hashtag1","hashtag2"]},{"1402200285":["hashtag1","hashtag2"]},{"1402200304":["hashtag1","hashtag2"]},{"1402200294":["hashtag1","hashtag2"]},{"1402200287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200302, 1402200305, 1402200285, 1402200304, 1402200294, 1402200287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83558964729309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:17:12.295742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_14_2589.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_17_2737.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_20_3673.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_23_2546.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_29_3647.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_32_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_14_2589.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_17_2737.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_20_3673.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_23_2546.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_29_3647.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_32_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":["1402200320","1402200323","1402200317","1402200322","1402200321","1402200318"],"photo_ids_order":["1402200317","1402200318","1402200320","1402200321","1402200322","1402200323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6bc1648cac9b82385f26d34ceec3e5d0.jpg","text":"TemporaryFile(/tmp/multipartBody6840640878031529625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388694014,"filename":"image_05112025_23_26_20_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/2/1d2bdd571033a75ab054962e6df4399f.jpg","text":"TemporaryFile(/tmp/multipartBody7895612741104458718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388694014,"filename":"image_05112025_23_26_32_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/2/cbd5c04254c2f50d818cafbfe7bce273.jpg","text":"TemporaryFile(/tmp/multipartBody6048551993683370300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388694014,"filename":"image_05112025_23_26_14_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/2/fe9ae5e11a81e7039449fe4b286d524e.jpg","text":"TemporaryFile(/tmp/multipartBody2738697643905112836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388694014,"filename":"image_05112025_23_26_29_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/2/b4b24e2317fcfac4f11ca5c5ad70d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody6747876716295611313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388694014,"filename":"image_05112025_23_26_23_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/2/73d9c758e746417d59c0b55270464bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6155209865446525432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388694014,"filename":"image_05112025_23_26_17_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200320","file1":"1402200318","file0":"1402200317","file4":"1402200322","file5":"1402200323","file3":"1402200321"},"map_files_photo_id_array":[{"photo_id":"1402200323","filename":"file5"},{"photo_id":"1402200320","filename":"file2"},{"photo_id":"1402200322","filename":"file4"},{"photo_id":"1402200318","filename":"file1"},{"photo_id":"1402200317","filename":"file0"},{"photo_id":"1402200321","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200320":["hashtag1","hashtag2"]},{"1402200323":["hashtag1","hashtag2"]},{"1402200317":["hashtag1","hashtag2"]},{"1402200322":["hashtag1","hashtag2"]},{"1402200321":["hashtag1","hashtag2"]},{"1402200318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200320, 1402200323, 1402200317, 1402200322, 1402200321, 1402200318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10986852645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:18:02.794934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/36/image_02012026_21_37_04_9674.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_14_9667.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_25_10602.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_34_9695.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_55_10557.jpg', '/home/pi/Desktop/images/02012026/21/37/image_02012026_21_38_04_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/36/image_02012026_21_37_04_9674.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_14_9667.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_25_10602.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_34_9695.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_37_55_10557.jpg
/home/pi/Desktop/images/02012026/21/37/image_02012026_21_38_04_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":["1402200332","1402200326","1402200329","1402200328","1402200330","1402200327"],"photo_ids_order":["1402200326","1402200327","1402200328","1402200329","1402200330","1402200332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/287fbe2c634717ddcba161af1e28912f.jpg","text":"TemporaryFile(/tmp/multipartBody5301533019755707462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388743433,"filename":"image_02012026_21_38_04_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/2/f622c5c028a0939b842a1b5381dc7cb8.jpg","text":"TemporaryFile(/tmp/multipartBody1317897596829736849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388743433,"filename":"image_02012026_21_37_04_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/2/d2e45cd95a109f59ac59b43a249df461.jpg","text":"TemporaryFile(/tmp/multipartBody7869920401210648433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388743433,"filename":"image_02012026_21_37_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/2/cd6c5f44ae43f2977b77d31245d40b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5081452847163681963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388743433,"filename":"image_02012026_21_37_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/2/cf95a140c236a7674ee2d9b7d075016f.jpg","text":"TemporaryFile(/tmp/multipartBody644931867110968819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388743433,"filename":"image_02012026_21_37_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/2/9aed811586b74700ec025767a03b0db7.jpg","text":"TemporaryFile(/tmp/multipartBody111947312347924738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388743433,"filename":"image_02012026_21_37_14_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200328","file1":"1402200327","file0":"1402200326","file4":"1402200330","file5":"1402200332","file3":"1402200329"},"map_files_photo_id_array":[{"photo_id":"1402200332","filename":"file5"},{"photo_id":"1402200328","filename":"file2"},{"photo_id":"1402200330","filename":"file4"},{"photo_id":"1402200327","filename":"file1"},{"photo_id":"1402200326","filename":"file0"},{"photo_id":"1402200329","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200332":["hashtag1","hashtag2"]},{"1402200326":["hashtag1","hashtag2"]},{"1402200329":["hashtag1","hashtag2"]},{"1402200328":["hashtag1","hashtag2"]},{"1402200330":["hashtag1","hashtag2"]},{"1402200327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200332, 1402200326, 1402200329, 1402200328, 1402200330, 1402200327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24627470970154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:18:42.375322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_35_2736.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_38_2794.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_44_2644.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_06_3017.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_10_3649.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_12_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_35_2736.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_38_2794.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_44_2644.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_06_3017.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_10_3649.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_12_2637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.759704828262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:19:03.473688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_14_9537.jpg', '/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_25_10591.jpg', '/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_34_9744.jpg', '/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_44_9869.jpg', '/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_55_10656.jpg', '/home/pi/Desktop/images/02012026/21/38/image_02012026_21_39_04_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_14_9537.jpg
/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_25_10591.jpg
/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_34_9744.jpg
/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_44_9869.jpg
/home/pi/Desktop/images/02012026/21/38/image_02012026_21_38_55_10656.jpg
/home/pi/Desktop/images/02012026/21/38/image_02012026_21_39_04_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":["1402200361","1402200360","1402200363","1402200362","1402200365","1402200350"],"photo_ids_order":["1402200350","1402200360","1402200361","1402200362","1402200363","1402200365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c6bf645aa600e370df282904f49d788f.jpg","text":"TemporaryFile(/tmp/multipartBody7428792343161386044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388804249,"filename":"image_02012026_21_38_34_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/2/2135ea27c9193ab0d68cfbed4a2728b5.jpg","text":"TemporaryFile(/tmp/multipartBody3966913144347575916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388804249,"filename":"image_02012026_21_38_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/2/97a96862c49fa4f3ebd9128276963c03.jpg","text":"TemporaryFile(/tmp/multipartBody8453064855950852772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388804249,"filename":"image_02012026_21_38_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/2/956095f47205f5c62641f5b325b83fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6308706837588708051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388804249,"filename":"image_02012026_21_38_44_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/2/33a11338ec156466358e41a63067996a.jpg","text":"TemporaryFile(/tmp/multipartBody6048375265093748701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388804249,"filename":"image_02012026_21_39_04_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/2/fccfd5d2d00fe4494226f51dc53f0d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2817502362465277680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388804249,"filename":"image_02012026_21_38_14_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200361","file1":"1402200360","file0":"1402200350","file4":"1402200363","file5":"1402200365","file3":"1402200362"},"map_files_photo_id_array":[{"photo_id":"1402200365","filename":"file5"},{"photo_id":"1402200361","filename":"file2"},{"photo_id":"1402200363","filename":"file4"},{"photo_id":"1402200360","filename":"file1"},{"photo_id":"1402200350","filename":"file0"},{"photo_id":"1402200362","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200361":["hashtag1","hashtag2"]},{"1402200360":["hashtag1","hashtag2"]},{"1402200363":["hashtag1","hashtag2"]},{"1402200362":["hashtag1","hashtag2"]},{"1402200365":["hashtag1","hashtag2"]},{"1402200350":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200361, 1402200360, 1402200363, 1402200362, 1402200365, 1402200350)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.56346035003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:20:02.311515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_14_9836.jpg', '/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_24_9790.jpg', '/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_35_10541.jpg', '/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_44_9801.jpg', '/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_54_9575.jpg', '/home/pi/Desktop/images/02012026/21/39/image_02012026_21_40_05_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_14_9836.jpg
/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_24_9790.jpg
/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_35_10541.jpg
/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_44_9801.jpg
/home/pi/Desktop/images/02012026/21/39/image_02012026_21_39_54_9575.jpg
/home/pi/Desktop/images/02012026/21/39/image_02012026_21_40_05_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":["1402200374","1402200373","1402200378","1402200375","1402200380","1402200377"],"photo_ids_order":["1402200373","1402200374","1402200375","1402200377","1402200378","1402200380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5a84b12930ecb92c1fed45d69e704c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6426947068882891683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388862954,"filename":"image_02012026_21_39_24_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/2/1e445ef8477bdc5f5cd3ad7d8dd7ad06.jpg","text":"TemporaryFile(/tmp/multipartBody3086993887145322050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388862954,"filename":"image_02012026_21_39_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/2/ee00f6cda7addbdc910eee3cedc4f89f.jpg","text":"TemporaryFile(/tmp/multipartBody1505173545498849586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388862954,"filename":"image_02012026_21_39_54_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/2/2b76a79d3df6c7267a019fee84bd76a9.jpg","text":"TemporaryFile(/tmp/multipartBody6122152393111691550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388862954,"filename":"image_02012026_21_39_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/2/80468ea80b1c602dd1f3b40565e68479.jpg","text":"TemporaryFile(/tmp/multipartBody4316647859738175964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388862954,"filename":"image_02012026_21_40_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/2/91681dc8d2c18c1258f9c767be30aa1c.jpg","text":"TemporaryFile(/tmp/multipartBody6183810353016341395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388862954,"filename":"image_02012026_21_39_44_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200375","file1":"1402200374","file0":"1402200373","file4":"1402200378","file5":"1402200380","file3":"1402200377"},"map_files_photo_id_array":[{"photo_id":"1402200380","filename":"file5"},{"photo_id":"1402200375","filename":"file2"},{"photo_id":"1402200378","filename":"file4"},{"photo_id":"1402200374","filename":"file1"},{"photo_id":"1402200373","filename":"file0"},{"photo_id":"1402200377","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200374":["hashtag1","hashtag2"]},{"1402200373":["hashtag1","hashtag2"]},{"1402200378":["hashtag1","hashtag2"]},{"1402200375":["hashtag1","hashtag2"]},{"1402200380":["hashtag1","hashtag2"]},{"1402200377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200374, 1402200373, 1402200378, 1402200375, 1402200380, 1402200377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.073914766311646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:20:41.787208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_35_2736.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_38_2794.jpg', '/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_44_2644.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_06_3017.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_10_3649.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_12_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_35_2736.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_38_2794.jpg
/home/pi/Desktop/images/05112025/23/26/image_05112025_23_26_44_2644.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_06_3017.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_10_3649.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_12_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200401","1402200394","1402200388","1402200390","1402200389","1402200386"],"photo_ids_order":["1402200386","1402200388","1402200389","1402200390","1402200394","1402200401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0bd1d3595ba10155a3a1fe698b0759a1.jpg","text":"TemporaryFile(/tmp/multipartBody8111030868563596097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388903423,"filename":"image_05112025_23_29_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/2/212a0bca1ee53874062686abb5edc224.jpg","text":"TemporaryFile(/tmp/multipartBody2646158169344816850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388903423,"filename":"image_05112025_23_29_10_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/2/d02b67dabdfc718a56ab25f33d8fb39d.jpg","text":"TemporaryFile(/tmp/multipartBody1254031342282525864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388903423,"filename":"image_05112025_23_26_38_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/2/e8abcf32fde0768514f23ddcfa3b0674.jpg","text":"TemporaryFile(/tmp/multipartBody5003209224281809003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388903423,"filename":"image_05112025_23_29_06_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/2/450b0a9fa61dfd6b28dd8fc3f56427a6.jpg","text":"TemporaryFile(/tmp/multipartBody271201689492589073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388903423,"filename":"image_05112025_23_26_44_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/2/fb59a1f9936872cd0a834078516388f7.jpg","text":"TemporaryFile(/tmp/multipartBody3875962248447519859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388903423,"filename":"image_05112025_23_26_35_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200389","file1":"1402200388","file0":"1402200386","file4":"1402200394","file5":"1402200401","file3":"1402200390"},"map_files_photo_id_array":[{"photo_id":"1402200401","filename":"file5"},{"photo_id":"1402200389","filename":"file2"},{"photo_id":"1402200394","filename":"file4"},{"photo_id":"1402200388","filename":"file1"},{"photo_id":"1402200386","filename":"file0"},{"photo_id":"1402200390","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200401":["hashtag1","hashtag2"]},{"1402200394":["hashtag1","hashtag2"]},{"1402200388":["hashtag1","hashtag2"]},{"1402200390":["hashtag1","hashtag2"]},{"1402200389":["hashtag1","hashtag2"]},{"1402200386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200401, 1402200394, 1402200388, 1402200390, 1402200389, 1402200386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.238349199295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:21:22.215709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/40/image_02012026_21_40_24_9673.jpg', '/home/pi/Desktop/images/02012026/21/40/image_02012026_21_40_35_10684.jpg', '/home/pi/Desktop/images/02012026/21/40/image_02012026_21_40_54_9710.jpg', '/home/pi/Desktop/images/02012026/21/40/image_02012026_21_41_04_9645.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_15_10664.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_24_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/40/image_02012026_21_40_24_9673.jpg
/home/pi/Desktop/images/02012026/21/40/image_02012026_21_40_35_10684.jpg
/home/pi/Desktop/images/02012026/21/40/image_02012026_21_40_54_9710.jpg
/home/pi/Desktop/images/02012026/21/40/image_02012026_21_41_04_9645.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_15_10664.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_24_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200413","1402200407","1402200416","1402200410","1402200404","1402200408"],"photo_ids_order":["1402200404","1402200407","1402200408","1402200410","1402200413","1402200416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/01153bec674d679ae5ffd5ac59f91d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7299551480767319756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388942836,"filename":"image_02012026_21_41_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/2/24fc12a56591c592a68827717f45df32.jpg","text":"TemporaryFile(/tmp/multipartBody1883125376341014756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388942836,"filename":"image_02012026_21_40_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/2/da9de3c5e117fc0a62945e4c214cb4be.jpg","text":"TemporaryFile(/tmp/multipartBody3121032199533054157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388942836,"filename":"image_02012026_21_41_24_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/2/b92495513c46e9c49637ca706701d90b.jpg","text":"TemporaryFile(/tmp/multipartBody2110035957123207908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388942836,"filename":"image_02012026_21_41_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/2/59450c71489f1bfa8845d9f7a7ccd0af.jpg","text":"TemporaryFile(/tmp/multipartBody3790119989999678445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388942836,"filename":"image_02012026_21_40_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/2/dbdeeae55bbae8b3e4a12d1d2d264d43.jpg","text":"TemporaryFile(/tmp/multipartBody5994172366859123657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388942836,"filename":"image_02012026_21_40_54_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200408","file1":"1402200407","file0":"1402200404","file4":"1402200413","file5":"1402200416","file3":"1402200410"},"map_files_photo_id_array":[{"photo_id":"1402200416","filename":"file5"},{"photo_id":"1402200408","filename":"file2"},{"photo_id":"1402200413","filename":"file4"},{"photo_id":"1402200407","filename":"file1"},{"photo_id":"1402200404","filename":"file0"},{"photo_id":"1402200410","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200413":["hashtag1","hashtag2"]},{"1402200407":["hashtag1","hashtag2"]},{"1402200416":["hashtag1","hashtag2"]},{"1402200410":["hashtag1","hashtag2"]},{"1402200404":["hashtag1","hashtag2"]},{"1402200408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200413, 1402200407, 1402200416, 1402200410, 1402200404, 1402200408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7783088684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:22:02.675171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_34_9851.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_44_9705.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_54_10033.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_42_05_10639.jpg', '/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_15_9969.jpg', '/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_24_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_34_9851.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_44_9705.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_54_10033.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_42_05_10639.jpg
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_15_9969.jpg
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_24_9531.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4989774227142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:22:12.182684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_40_28056.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_43_2851.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_45_1727.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_49_1716.jpg', '/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_52_1778.jpg', '/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_04_2883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_40_28056.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_43_2851.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_45_1727.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_49_1716.jpg
/home/pi/Desktop/images/05112025/23/29/image_05112025_23_29_52_1778.jpg
/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_04_2883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200425","1402200422","1402200430","1402200427","1402200429","1402200420"],"photo_ids_order":["1402200420","1402200422","1402200425","1402200427","1402200429","1402200430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22c11513833e42094764bf2f40eac19a.jpg","text":"TemporaryFile(/tmp/multipartBody3198311782936486875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388993896,"filename":"image_05112025_23_29_45_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/2/83b8583adb3b49330cba5888c51ee978.jpg","text":"TemporaryFile(/tmp/multipartBody3881852110569998387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388993896,"filename":"image_05112025_23_29_43_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/2/2ad1c3893ddc1f476449886b52398c54.jpg","text":"TemporaryFile(/tmp/multipartBody2928877876871509478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388993896,"filename":"image_05112025_23_30_04_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/2/d159c1b0e4e6237a0c30451f09cdeba9.jpg","text":"TemporaryFile(/tmp/multipartBody8515428469868729243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388993896,"filename":"image_05112025_23_29_49_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/2/b178778bdbdc0f6bfac6cbf1633c5ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4045794114734673911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388993896,"filename":"image_05112025_23_29_52_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/2/1d54dd10a4e4d989fbca8f2f13816fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5211252066674788124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767388993896,"filename":"image_05112025_23_29_40_28056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200425","file1":"1402200422","file0":"1402200420","file4":"1402200429","file5":"1402200430","file3":"1402200427"},"map_files_photo_id_array":[{"photo_id":"1402200430","filename":"file5"},{"photo_id":"1402200425","filename":"file2"},{"photo_id":"1402200429","filename":"file4"},{"photo_id":"1402200422","filename":"file1"},{"photo_id":"1402200420","filename":"file0"},{"photo_id":"1402200427","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200425":["hashtag1","hashtag2"]},{"1402200422":["hashtag1","hashtag2"]},{"1402200430":["hashtag1","hashtag2"]},{"1402200427":["hashtag1","hashtag2"]},{"1402200429":["hashtag1","hashtag2"]},{"1402200420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200425, 1402200422, 1402200430, 1402200427, 1402200429, 1402200420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15287518501282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:23:03.147272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_34_9851.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_44_9705.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_54_10033.jpg', '/home/pi/Desktop/images/02012026/21/41/image_02012026_21_42_05_10639.jpg', '/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_15_9969.jpg', '/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_24_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_34_9851.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_44_9705.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_41_54_10033.jpg
/home/pi/Desktop/images/02012026/21/41/image_02012026_21_42_05_10639.jpg
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_15_9969.jpg
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_24_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":["1402200446","1402200449","1402200451","1402200445","1402200448","1402200444"],"photo_ids_order":["1402200444","1402200445","1402200446","1402200448","1402200449","1402200451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e70d5d65aefd6e3a5fe7e8d2ec14f647.jpg","text":"TemporaryFile(/tmp/multipartBody4119201912710456481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389043791,"filename":"image_02012026_21_41_54_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/2/2cfa46f14fe91979ad8e578b6e5d40c2.jpg","text":"TemporaryFile(/tmp/multipartBody6917085653705981817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389043791,"filename":"image_02012026_21_42_15_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e6e2623301d81962540b8e3038532cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8828343902106421182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389043791,"filename":"image_02012026_21_42_24_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/2/f781a7e325a76a243794d6094be69e76.jpg","text":"TemporaryFile(/tmp/multipartBody3464262923502625946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389043791,"filename":"image_02012026_21_41_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/2/da28012ac532645173984e4f6b38dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody8344802437397220138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389043791,"filename":"image_02012026_21_42_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/2/c2a78bdd24dbf896cabd7f726f23e50c.jpg","text":"TemporaryFile(/tmp/multipartBody8858354508348462861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389043791,"filename":"image_02012026_21_41_34_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200446","file1":"1402200445","file0":"1402200444","file4":"1402200449","file5":"1402200451","file3":"1402200448"},"map_files_photo_id_array":[{"photo_id":"1402200451","filename":"file5"},{"photo_id":"1402200446","filename":"file2"},{"photo_id":"1402200449","filename":"file4"},{"photo_id":"1402200445","filename":"file1"},{"photo_id":"1402200444","filename":"file0"},{"photo_id":"1402200448","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200446":["hashtag1","hashtag2"]},{"1402200449":["hashtag1","hashtag2"]},{"1402200451":["hashtag1","hashtag2"]},{"1402200445":["hashtag1","hashtag2"]},{"1402200448":["hashtag1","hashtag2"]},{"1402200444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200446, 1402200449, 1402200451, 1402200445, 1402200448, 1402200444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56911635398865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:23:42.422680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_06_1601.jpg', '/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_08_1713.jpg', '/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_14_6224.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_07_3016.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_11_3763.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_16_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_06_1601.jpg
/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_08_1713.jpg
/home/pi/Desktop/images/05112025/23/30/image_05112025_23_30_14_6224.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_07_3016.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_11_3763.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_16_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200467","1402200466","1402200465","1402200468","1402200461","1402200464"],"photo_ids_order":["1402200461","1402200464","1402200465","1402200466","1402200467","1402200468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3dbf25ad82e0e98d035a6956ea234205.jpg","text":"TemporaryFile(/tmp/multipartBody2411460425656023095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389084256,"filename":"image_05112025_23_32_11_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/2/2efb5af2422e73a79616494d9a05c333.jpg","text":"TemporaryFile(/tmp/multipartBody3964055451476331653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389084256,"filename":"image_05112025_23_32_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e86f11a5de6ae18abc2cce1a33b2fa58.jpg","text":"TemporaryFile(/tmp/multipartBody2130806971609436804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389084256,"filename":"image_05112025_23_30_14_6224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3f8243899dd630ec5add0650968d17db.jpg","text":"TemporaryFile(/tmp/multipartBody2069027803902892113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389084256,"filename":"image_05112025_23_32_16_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/2/73c5fbe79145fecc87f290b95a1f0895.jpg","text":"TemporaryFile(/tmp/multipartBody6440077940390545600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389084256,"filename":"image_05112025_23_30_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/2/181737c2cb003a97e107614d5a0452fd.jpg","text":"TemporaryFile(/tmp/multipartBody5883766026774919225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389084256,"filename":"image_05112025_23_30_08_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200465","file1":"1402200464","file0":"1402200461","file4":"1402200467","file5":"1402200468","file3":"1402200466"},"map_files_photo_id_array":[{"photo_id":"1402200468","filename":"file5"},{"photo_id":"1402200465","filename":"file2"},{"photo_id":"1402200467","filename":"file4"},{"photo_id":"1402200464","filename":"file1"},{"photo_id":"1402200461","filename":"file0"},{"photo_id":"1402200466","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200467":["hashtag1","hashtag2"]},{"1402200466":["hashtag1","hashtag2"]},{"1402200465":["hashtag1","hashtag2"]},{"1402200468":["hashtag1","hashtag2"]},{"1402200461":["hashtag1","hashtag2"]},{"1402200464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200467, 1402200466, 1402200465, 1402200468, 1402200461, 1402200464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70600700378418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:24:22.611814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_34_9866.jpg', '/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_45_10520.jpg', '/home/pi/Desktop/images/02012026/21/42/image_02012026_21_43_05_10646.jpg', '/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_14_9570.jpg', '/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_24_9761.jpg', '/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_35_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_34_9866.jpg
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_42_45_10520.jpg
/home/pi/Desktop/images/02012026/21/42/image_02012026_21_43_05_10646.jpg
/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_14_9570.jpg
/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_24_9761.jpg
/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_35_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200472","1402200481","1402200478","1402200474","1402200476","1402200470"],"photo_ids_order":["1402200470","1402200472","1402200474","1402200476","1402200478","1402200481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8c9407d8f3890c1cc79964c0c5175266.jpg","text":"TemporaryFile(/tmp/multipartBody3399735812897417695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389123207,"filename":"image_02012026_21_42_45_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/2/4014af836b95146dd4226b6fa0aca6ce.jpg","text":"TemporaryFile(/tmp/multipartBody7169169417600661760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389123207,"filename":"image_02012026_21_43_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/2/b51a6d465e836faae6ca068cac271ebb.jpg","text":"TemporaryFile(/tmp/multipartBody9048996894430289953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389123207,"filename":"image_02012026_21_43_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/2/f1d2225278751024da3811d0133b8e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5726753500681571229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389123207,"filename":"image_02012026_21_43_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/2/b810e9157e496be8b113d206016ba0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6792451244892017425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389123207,"filename":"image_02012026_21_43_14_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/2/2ed9adbeb6e1164f383a5f7043944bb9.jpg","text":"TemporaryFile(/tmp/multipartBody622542480080131290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389123207,"filename":"image_02012026_21_42_34_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200474","file1":"1402200472","file0":"1402200470","file4":"1402200478","file5":"1402200481","file3":"1402200476"},"map_files_photo_id_array":[{"photo_id":"1402200481","filename":"file5"},{"photo_id":"1402200474","filename":"file2"},{"photo_id":"1402200478","filename":"file4"},{"photo_id":"1402200472","filename":"file1"},{"photo_id":"1402200470","filename":"file0"},{"photo_id":"1402200476","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200472":["hashtag1","hashtag2"]},{"1402200481":["hashtag1","hashtag2"]},{"1402200478":["hashtag1","hashtag2"]},{"1402200474":["hashtag1","hashtag2"]},{"1402200476":["hashtag1","hashtag2"]},{"1402200470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200472, 1402200481, 1402200478, 1402200474, 1402200476, 1402200470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88439726829529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:25:03.349027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_44_9571.jpg', '/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_54_9531.jpg', '/home/pi/Desktop/images/02012026/21/43/image_02012026_21_44_05_10655.jpg', '/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_14_9659.jpg', '/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_24_9836.jpg', '/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_34_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_44_9571.jpg
/home/pi/Desktop/images/02012026/21/43/image_02012026_21_43_54_9531.jpg
/home/pi/Desktop/images/02012026/21/43/image_02012026_21_44_05_10655.jpg
/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_14_9659.jpg
/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_24_9836.jpg
/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_34_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200500","1402200499","1402200498","1402200502","1402200491","1402200485"],"photo_ids_order":["1402200485","1402200491","1402200498","1402200499","1402200500","1402200502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c510ddb1bd4f5f04ff5d56b1ca6d8a14.jpg","text":"TemporaryFile(/tmp/multipartBody5274461579991325326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389163964,"filename":"image_02012026_21_44_24_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/2/70e384e5a6004a64bc71872246cbc373.jpg","text":"TemporaryFile(/tmp/multipartBody2156589009890324549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389163964,"filename":"image_02012026_21_44_14_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/2/26dbd507902abef4d87527e0db8c4d86.jpg","text":"TemporaryFile(/tmp/multipartBody2434588941135253724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389163964,"filename":"image_02012026_21_44_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/2/0d7bdc7838c30d13da744ae90aab0481.jpg","text":"TemporaryFile(/tmp/multipartBody6556118464325622755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389163964,"filename":"image_02012026_21_44_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/2/fb58bf0c361c2dccfd88f57b0107c74f.jpg","text":"TemporaryFile(/tmp/multipartBody7468375415532718559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389163964,"filename":"image_02012026_21_43_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/2/f8a587758f28ffa42122758608668444.jpg","text":"TemporaryFile(/tmp/multipartBody9184156798847111249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389163964,"filename":"image_02012026_21_43_44_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200498","file1":"1402200491","file0":"1402200485","file4":"1402200500","file5":"1402200502","file3":"1402200499"},"map_files_photo_id_array":[{"photo_id":"1402200502","filename":"file5"},{"photo_id":"1402200498","filename":"file2"},{"photo_id":"1402200500","filename":"file4"},{"photo_id":"1402200491","filename":"file1"},{"photo_id":"1402200485","filename":"file0"},{"photo_id":"1402200499","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200500":["hashtag1","hashtag2"]},{"1402200499":["hashtag1","hashtag2"]},{"1402200498":["hashtag1","hashtag2"]},{"1402200502":["hashtag1","hashtag2"]},{"1402200491":["hashtag1","hashtag2"]},{"1402200485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200500, 1402200499, 1402200498, 1402200502, 1402200491, 1402200485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01138925552368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:25:42.740175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_20_3721.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_41_20970.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_42_1596.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_44_1667.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_46_1563.jpg', '/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_47_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_20_3721.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_41_20970.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_42_1596.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_44_1667.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_46_1563.jpg
/home/pi/Desktop/images/05112025/23/32/image_05112025_23_32_47_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":["1402200512","1402200515","1402200511","1402200508","1402200510","1402200513"],"photo_ids_order":["1402200508","1402200510","1402200511","1402200512","1402200513","1402200515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4fc74ca1886ee9afe99e8d49dcd04190.jpg","text":"TemporaryFile(/tmp/multipartBody7655870066313961182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389204516,"filename":"image_05112025_23_32_44_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/2/97dcaf8c4e3cec4f2393c927d2419d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7904008997946355950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389204516,"filename":"image_05112025_23_32_47_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/2/8d357f29ee15f4b72065cce8f844f210.jpg","text":"TemporaryFile(/tmp/multipartBody1114061332342084153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389204516,"filename":"image_05112025_23_32_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/2/47edfbc5e290e9b87f6b6c61e2ff0759.jpg","text":"TemporaryFile(/tmp/multipartBody5127379943004626309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389204516,"filename":"image_05112025_23_32_20_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/2/57efdd005e96b075abf5ada84b7e41ab.jpg","text":"TemporaryFile(/tmp/multipartBody6874662020390420735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389204516,"filename":"image_05112025_23_32_41_20970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20843afbaa0afcd1398777555147ded0.jpg","text":"TemporaryFile(/tmp/multipartBody1105296595596993275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389204516,"filename":"image_05112025_23_32_46_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200511","file1":"1402200510","file0":"1402200508","file4":"1402200513","file5":"1402200515","file3":"1402200512"},"map_files_photo_id_array":[{"photo_id":"1402200515","filename":"file5"},{"photo_id":"1402200511","filename":"file2"},{"photo_id":"1402200513","filename":"file4"},{"photo_id":"1402200510","filename":"file1"},{"photo_id":"1402200508","filename":"file0"},{"photo_id":"1402200512","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200512":["hashtag1","hashtag2"]},{"1402200515":["hashtag1","hashtag2"]},{"1402200511":["hashtag1","hashtag2"]},{"1402200508":["hashtag1","hashtag2"]},{"1402200510":["hashtag1","hashtag2"]},{"1402200513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200512, 1402200515, 1402200511, 1402200508, 1402200510, 1402200513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.190123558044434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:26:21.916241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_45_10743.jpg', '/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_54_9608.jpg', '/home/pi/Desktop/images/02012026/21/44/image_02012026_21_45_05_10550.jpg', '/home/pi/Desktop/images/02012026/21/45/image_02012026_21_45_14_9560.jpg', '/home/pi/Desktop/images/02012026/21/45/image_02012026_21_45_34_9834.jpg', '/home/pi/Desktop/images/02012026/21/45/image_02012026_21_45_54_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_45_10743.jpg
/home/pi/Desktop/images/02012026/21/44/image_02012026_21_44_54_9608.jpg
/home/pi/Desktop/images/02012026/21/44/image_02012026_21_45_05_10550.jpg
/home/pi/Desktop/images/02012026/21/45/image_02012026_21_45_14_9560.jpg
/home/pi/Desktop/images/02012026/21/45/image_02012026_21_45_34_9834.jpg
/home/pi/Desktop/images/02012026/21/45/image_02012026_21_45_54_9583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200524","1402200518","1402200517","1402200526","1402200540","1402200528"],"photo_ids_order":["1402200517","1402200518","1402200524","1402200526","1402200528","1402200540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0aacbe747d42d752a3c88081a1419284.jpg","text":"TemporaryFile(/tmp/multipartBody331812515343540031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389242524,"filename":"image_02012026_21_45_05_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/2/76364df814d5f374ae3704789235af59.jpg","text":"TemporaryFile(/tmp/multipartBody106499164081799529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389242524,"filename":"image_02012026_21_44_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/2/3fa99c26c3fcf3ffa325e155c2e09da7.jpg","text":"TemporaryFile(/tmp/multipartBody5087408480813380992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389242524,"filename":"image_02012026_21_44_45_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/2/ec58e74e7191c2ee9fe3bc8205440d73.jpg","text":"TemporaryFile(/tmp/multipartBody8201663613395000280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389242524,"filename":"image_02012026_21_45_14_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/2/6c391789ae05e612af7fa79f974c9f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8981279235595707733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389242524,"filename":"image_02012026_21_45_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/2/77ba77d033d173e3ff2bfa715ce743d8.jpg","text":"TemporaryFile(/tmp/multipartBody2695104949056867228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389242524,"filename":"image_02012026_21_45_34_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200524","file1":"1402200518","file0":"1402200517","file4":"1402200528","file5":"1402200540","file3":"1402200526"},"map_files_photo_id_array":[{"photo_id":"1402200540","filename":"file5"},{"photo_id":"1402200524","filename":"file2"},{"photo_id":"1402200528","filename":"file4"},{"photo_id":"1402200518","filename":"file1"},{"photo_id":"1402200517","filename":"file0"},{"photo_id":"1402200526","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200524":["hashtag1","hashtag2"]},{"1402200518":["hashtag1","hashtag2"]},{"1402200517":["hashtag1","hashtag2"]},{"1402200526":["hashtag1","hashtag2"]},{"1402200540":["hashtag1","hashtag2"]},{"1402200528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200524, 1402200518, 1402200517, 1402200526, 1402200540, 1402200528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2586145401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:27:02.775801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/45/image_02012026_21_46_05_10628.jpg', '/home/pi/Desktop/images/02012026/21/46/image_02012026_21_46_15_9724.jpg', '/home/pi/Desktop/images/02012026/21/46/image_02012026_21_46_45_9667.jpg', '/home/pi/Desktop/images/02012026/21/46/image_02012026_21_46_54_9620.jpg', '/home/pi/Desktop/images/02012026/21/46/image_02012026_21_47_05_10676.jpg', '/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_15_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/45/image_02012026_21_46_05_10628.jpg
/home/pi/Desktop/images/02012026/21/46/image_02012026_21_46_15_9724.jpg
/home/pi/Desktop/images/02012026/21/46/image_02012026_21_46_45_9667.jpg
/home/pi/Desktop/images/02012026/21/46/image_02012026_21_46_54_9620.jpg
/home/pi/Desktop/images/02012026/21/46/image_02012026_21_47_05_10676.jpg
/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_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":["1402200566","1402200551","1402200564","1402200558","1402200567","1402200569"],"photo_ids_order":["1402200551","1402200558","1402200564","1402200566","1402200567","1402200569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/49b09fca522a7047fbd0b72c60cc1d04.jpg","text":"TemporaryFile(/tmp/multipartBody7680043121647313949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389283415,"filename":"image_02012026_21_46_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/2/0c25e6c6314a8c59024ee0b93d3ccb94.jpg","text":"TemporaryFile(/tmp/multipartBody7022463768110797694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389283415,"filename":"image_02012026_21_46_05_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/2/9467c3b21619e50e4c612f7fbd97aaaf.jpg","text":"TemporaryFile(/tmp/multipartBody2968019515799632646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389283415,"filename":"image_02012026_21_46_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/2/0baf28c14ce7511f95d18698c2fa20f1.jpg","text":"TemporaryFile(/tmp/multipartBody5103734637506196747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389283415,"filename":"image_02012026_21_46_15_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/2/faef5e63d54fd724f5d227e854b3d582.jpg","text":"TemporaryFile(/tmp/multipartBody2073788291699094951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389283415,"filename":"image_02012026_21_47_05_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/2/42e58943b099693ef97a18dcb3bda698.jpg","text":"TemporaryFile(/tmp/multipartBody7464277693999118995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389283415,"filename":"image_02012026_21_47_15_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200564","file1":"1402200558","file0":"1402200551","file4":"1402200567","file5":"1402200569","file3":"1402200566"},"map_files_photo_id_array":[{"photo_id":"1402200569","filename":"file5"},{"photo_id":"1402200564","filename":"file2"},{"photo_id":"1402200567","filename":"file4"},{"photo_id":"1402200558","filename":"file1"},{"photo_id":"1402200551","filename":"file0"},{"photo_id":"1402200566","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200566":["hashtag1","hashtag2"]},{"1402200551":["hashtag1","hashtag2"]},{"1402200564":["hashtag1","hashtag2"]},{"1402200558":["hashtag1","hashtag2"]},{"1402200567":["hashtag1","hashtag2"]},{"1402200569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200566, 1402200551, 1402200564, 1402200558, 1402200567, 1402200569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.335631370544434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:27:42.049161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_06_3014.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_31_1709.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_32_1653.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_34_1653.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_37_1660.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_42_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_06_3014.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_31_1709.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_32_1653.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_34_1653.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_37_1660.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_42_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":["1402200580","1402200574","1402200577","1402200576","1402200575","1402200578"],"photo_ids_order":["1402200574","1402200575","1402200576","1402200577","1402200578","1402200580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/852f0e379af82601f5f370deb5ad6f29.jpg","text":"TemporaryFile(/tmp/multipartBody7112687387060200164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389323832,"filename":"image_05112025_23_35_42_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/2/66ec465840ee8a3eebf5febad0e5c618.jpg","text":"TemporaryFile(/tmp/multipartBody2925534837008149300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389323832,"filename":"image_05112025_23_35_06_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f8ec3af2eb1531300ea4063bdc6b6013.jpg","text":"TemporaryFile(/tmp/multipartBody3129228008429454119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389323832,"filename":"image_05112025_23_35_34_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/2/5fdce9ab5098d4afad14b81dd2893e13.jpg","text":"TemporaryFile(/tmp/multipartBody2265852075721352568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389323832,"filename":"image_05112025_23_35_32_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/2/db3f32258ef7669bf0c79b0699402af8.jpg","text":"TemporaryFile(/tmp/multipartBody7292014420886177126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389323832,"filename":"image_05112025_23_35_31_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/2/916cacf75f91eccb66a221245d5a41f6.jpg","text":"TemporaryFile(/tmp/multipartBody4950542561105502423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389323832,"filename":"image_05112025_23_35_37_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200576","file1":"1402200575","file0":"1402200574","file4":"1402200578","file5":"1402200580","file3":"1402200577"},"map_files_photo_id_array":[{"photo_id":"1402200580","filename":"file5"},{"photo_id":"1402200576","filename":"file2"},{"photo_id":"1402200578","filename":"file4"},{"photo_id":"1402200575","filename":"file1"},{"photo_id":"1402200574","filename":"file0"},{"photo_id":"1402200577","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200580":["hashtag1","hashtag2"]},{"1402200574":["hashtag1","hashtag2"]},{"1402200577":["hashtag1","hashtag2"]},{"1402200576":["hashtag1","hashtag2"]},{"1402200575":["hashtag1","hashtag2"]},{"1402200578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200580, 1402200574, 1402200577, 1402200576, 1402200575, 1402200578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.892069816589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:28:22.211506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_24_9778.jpg', '/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_35_10568.jpg', '/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_54_9659.jpg', '/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_15_10562.jpg', '/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_24_9859.jpg', '/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_34_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_24_9778.jpg
/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_35_10568.jpg
/home/pi/Desktop/images/02012026/21/47/image_02012026_21_47_54_9659.jpg
/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_15_10562.jpg
/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_24_9859.jpg
/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_34_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200592","1402200595","1402200582","1402200588","1402200590","1402200584"],"photo_ids_order":["1402200582","1402200584","1402200588","1402200590","1402200592","1402200595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2afb5911e2bacb462b870134091089b0.jpg","text":"TemporaryFile(/tmp/multipartBody6215054725157070873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389362819,"filename":"image_02012026_21_48_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/2/f0cda34d7407c3f8342a971b4db0c0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3341955301018788476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389362819,"filename":"image_02012026_21_48_34_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/2/5fa821d1144dec266a8ff5b03e722f32.jpg","text":"TemporaryFile(/tmp/multipartBody4519989281164732695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389362819,"filename":"image_02012026_21_47_24_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/2/b3aca23a723e15e487322a9afe9fada7.jpg","text":"TemporaryFile(/tmp/multipartBody6407343137728779013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389362819,"filename":"image_02012026_21_47_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/2/a519ac7544c59118351212a690eb8bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1543678842966797955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389362819,"filename":"image_02012026_21_48_15_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/2/b8bafbc05e63a724f44aa620b93db195.jpg","text":"TemporaryFile(/tmp/multipartBody6269754571388815302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389362819,"filename":"image_02012026_21_47_35_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200588","file1":"1402200584","file0":"1402200582","file4":"1402200592","file5":"1402200595","file3":"1402200590"},"map_files_photo_id_array":[{"photo_id":"1402200595","filename":"file5"},{"photo_id":"1402200588","filename":"file2"},{"photo_id":"1402200592","filename":"file4"},{"photo_id":"1402200584","filename":"file1"},{"photo_id":"1402200582","filename":"file0"},{"photo_id":"1402200590","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200592":["hashtag1","hashtag2"]},{"1402200595":["hashtag1","hashtag2"]},{"1402200582":["hashtag1","hashtag2"]},{"1402200588":["hashtag1","hashtag2"]},{"1402200590":["hashtag1","hashtag2"]},{"1402200584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200592, 1402200595, 1402200582, 1402200588, 1402200590, 1402200584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71066069602966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:29:03.159978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_45_10638.jpg', '/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_54_9562.jpg', '/home/pi/Desktop/images/02012026/21/48/image_02012026_21_49_05_10599.jpg', '/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_14_9647.jpg', '/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_35_10767.jpg', '/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_45_10638.jpg
/home/pi/Desktop/images/02012026/21/48/image_02012026_21_48_54_9562.jpg
/home/pi/Desktop/images/02012026/21/48/image_02012026_21_49_05_10599.jpg
/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_14_9647.jpg
/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_35_10767.jpg
/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_44_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":["1402200605","1402200598","1402200602","1402200597","1402200601","1402200596"],"photo_ids_order":["1402200596","1402200597","1402200598","1402200601","1402200602","1402200605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/272a39f58f7e31fe0bdc86bcb6d06883.jpg","text":"TemporaryFile(/tmp/multipartBody8332384632324677415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389403798,"filename":"image_02012026_21_49_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/2/bed3283fcdfea9e12e120726a04855a1.jpg","text":"TemporaryFile(/tmp/multipartBody6571765511337736553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389403798,"filename":"image_02012026_21_49_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/2/4d0827199af61a2edf238ec432166a44.jpg","text":"TemporaryFile(/tmp/multipartBody519600394858015902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389403798,"filename":"image_02012026_21_49_35_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/2/f0140ac12c20ae173a6dc04466a9d2df.jpg","text":"TemporaryFile(/tmp/multipartBody4109111392506290471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389403798,"filename":"image_02012026_21_48_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/2/9c6fa49d2a9c9e1351d098a2a8a7f0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1561354194250090844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389403798,"filename":"image_02012026_21_49_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/2/944c9d7482d6c2201b44942b11feecb3.jpg","text":"TemporaryFile(/tmp/multipartBody3172317190736634942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389403798,"filename":"image_02012026_21_48_45_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200598","file1":"1402200597","file0":"1402200596","file4":"1402200602","file5":"1402200605","file3":"1402200601"},"map_files_photo_id_array":[{"photo_id":"1402200605","filename":"file5"},{"photo_id":"1402200598","filename":"file2"},{"photo_id":"1402200602","filename":"file4"},{"photo_id":"1402200597","filename":"file1"},{"photo_id":"1402200596","filename":"file0"},{"photo_id":"1402200601","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200605":["hashtag1","hashtag2"]},{"1402200598":["hashtag1","hashtag2"]},{"1402200602":["hashtag1","hashtag2"]},{"1402200597":["hashtag1","hashtag2"]},{"1402200601":["hashtag1","hashtag2"]},{"1402200596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200605, 1402200598, 1402200602, 1402200597, 1402200601, 1402200596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70356273651123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:29:42.468572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_44_1669.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_46_1551.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_47_1525.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_50_3005.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_52_1660.jpg', '/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_54_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_44_1669.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_46_1551.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_47_1525.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_50_3005.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_52_1660.jpg
/home/pi/Desktop/images/05112025/23/35/image_05112025_23_35_54_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200626","1402200611","1402200625","1402200619","1402200627","1402200624"],"photo_ids_order":["1402200611","1402200619","1402200624","1402200625","1402200626","1402200627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/685078b5c4c39f7de321120745bd5039.jpg","text":"TemporaryFile(/tmp/multipartBody9007473292804301951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389444262,"filename":"image_05112025_23_35_52_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/2/c11933665864cefa211e32f2d6ec489b.jpg","text":"TemporaryFile(/tmp/multipartBody6427451468855905495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389444262,"filename":"image_05112025_23_35_44_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/2/fec1f2fcccc3fb9e96ff2c3cf6f3d729.jpg","text":"TemporaryFile(/tmp/multipartBody8532894409056920371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389444262,"filename":"image_05112025_23_35_50_3005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10ab92eb25cdcc8294c449d0873ff840.jpg","text":"TemporaryFile(/tmp/multipartBody3478918449152692750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389444262,"filename":"image_05112025_23_35_46_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/2/b3a332aca9fb08043791022f53500d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1378403696387538786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389444262,"filename":"image_05112025_23_35_54_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/2/ec825ddbdfd1b714533ad14284f31caa.jpg","text":"TemporaryFile(/tmp/multipartBody6595369750973053503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389444262,"filename":"image_05112025_23_35_47_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200624","file1":"1402200619","file0":"1402200611","file4":"1402200626","file5":"1402200627","file3":"1402200625"},"map_files_photo_id_array":[{"photo_id":"1402200627","filename":"file5"},{"photo_id":"1402200624","filename":"file2"},{"photo_id":"1402200626","filename":"file4"},{"photo_id":"1402200619","filename":"file1"},{"photo_id":"1402200611","filename":"file0"},{"photo_id":"1402200625","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200626":["hashtag1","hashtag2"]},{"1402200611":["hashtag1","hashtag2"]},{"1402200625":["hashtag1","hashtag2"]},{"1402200619":["hashtag1","hashtag2"]},{"1402200627":["hashtag1","hashtag2"]},{"1402200624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200626, 1402200611, 1402200625, 1402200619, 1402200627, 1402200624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54802918434143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:30:22.643717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_54_9566.jpg', '/home/pi/Desktop/images/02012026/21/49/image_02012026_21_50_05_10764.jpg', '/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_14_9594.jpg', '/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_24_9633.jpg', '/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_35_10613.jpg', '/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/49/image_02012026_21_49_54_9566.jpg
/home/pi/Desktop/images/02012026/21/49/image_02012026_21_50_05_10764.jpg
/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_14_9594.jpg
/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_24_9633.jpg
/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_35_10613.jpg
/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_44_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200635","1402200629","1402200640","1402200637","1402200631","1402200633"],"photo_ids_order":["1402200629","1402200631","1402200633","1402200635","1402200637","1402200640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66b3d78eb6c765ff60c835e4cdd135c6.jpg","text":"TemporaryFile(/tmp/multipartBody6795086070517730682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389483219,"filename":"image_02012026_21_50_24_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/2/d2433d77aa6544117eec5b4cfa5d24ec.jpg","text":"TemporaryFile(/tmp/multipartBody441544589223197652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389483219,"filename":"image_02012026_21_49_54_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/2/85aa098b43f11e12f67ed17962ba8297.jpg","text":"TemporaryFile(/tmp/multipartBody377789884462315651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389483219,"filename":"image_02012026_21_50_44_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/2/4fdf3d57de6139f1f8ad61d073421b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1904145742705842326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389483219,"filename":"image_02012026_21_50_35_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/2/ce8f159acb554b2e99fe80bbf5ff154c.jpg","text":"TemporaryFile(/tmp/multipartBody8831263007080602491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389483219,"filename":"image_02012026_21_50_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/2/d0a811dadf0c17140b500ed285273c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7753520363586463227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389483219,"filename":"image_02012026_21_50_14_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200633","file1":"1402200631","file0":"1402200629","file4":"1402200637","file5":"1402200640","file3":"1402200635"},"map_files_photo_id_array":[{"photo_id":"1402200640","filename":"file5"},{"photo_id":"1402200633","filename":"file2"},{"photo_id":"1402200637","filename":"file4"},{"photo_id":"1402200631","filename":"file1"},{"photo_id":"1402200629","filename":"file0"},{"photo_id":"1402200635","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200635":["hashtag1","hashtag2"]},{"1402200629":["hashtag1","hashtag2"]},{"1402200640":["hashtag1","hashtag2"]},{"1402200637":["hashtag1","hashtag2"]},{"1402200631":["hashtag1","hashtag2"]},{"1402200633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200635, 1402200629, 1402200640, 1402200637, 1402200631, 1402200633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.686460971832275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:31:03.409515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_54_9796.jpg', '/home/pi/Desktop/images/02012026/21/50/image_02012026_21_51_05_10683.jpg', '/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_15_9777.jpg', '/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_24_9774.jpg', '/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_34_9714.jpg', '/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_54_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/50/image_02012026_21_50_54_9796.jpg
/home/pi/Desktop/images/02012026/21/50/image_02012026_21_51_05_10683.jpg
/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_15_9777.jpg
/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_24_9774.jpg
/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_34_9714.jpg
/home/pi/Desktop/images/02012026/21/51/image_02012026_21_51_54_9734.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":["1402200647","1402200649","1402200643","1402200645","1402200642","1402200641"],"photo_ids_order":["1402200641","1402200642","1402200643","1402200645","1402200647","1402200649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bdd7cc78d5c5240fec789a0bce640f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6901241043106597103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389526586,"filename":"image_02012026_21_51_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/2/8a4e4af1fccf17b0db51adac4fd48b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8738678408082895066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389526586,"filename":"image_02012026_21_51_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/2/fe54920198779761ae8fc967a2f029f8.jpg","text":"TemporaryFile(/tmp/multipartBody1668745296228214642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389526586,"filename":"image_02012026_21_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/2/8dd47067c730232c0399d250e7069f48.jpg","text":"TemporaryFile(/tmp/multipartBody5538576887263140509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389526586,"filename":"image_02012026_21_51_24_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/2/8e1844d9e77ade81a6e53c4e16ab4efe.jpg","text":"TemporaryFile(/tmp/multipartBody9141792554729781274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389526586,"filename":"image_02012026_21_51_05_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/2/07eded9866f27ae97057f0e8f24ff978.jpg","text":"TemporaryFile(/tmp/multipartBody2482880384938558253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389526586,"filename":"image_02012026_21_50_54_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200643","file1":"1402200642","file0":"1402200641","file4":"1402200647","file5":"1402200649","file3":"1402200645"},"map_files_photo_id_array":[{"photo_id":"1402200649","filename":"file5"},{"photo_id":"1402200643","filename":"file2"},{"photo_id":"1402200647","filename":"file4"},{"photo_id":"1402200642","filename":"file1"},{"photo_id":"1402200641","filename":"file0"},{"photo_id":"1402200645","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200647":["hashtag1","hashtag2"]},{"1402200649":["hashtag1","hashtag2"]},{"1402200643":["hashtag1","hashtag2"]},{"1402200645":["hashtag1","hashtag2"]},{"1402200642":["hashtag1","hashtag2"]},{"1402200641":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200647, 1402200649, 1402200643, 1402200645, 1402200642, 1402200641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.25958561897278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:32:02.341022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/51/image_02012026_21_52_04_9696.jpg', '/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_15_10770.jpg', '/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_25_9639.jpg', '/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_34_9533.jpg', '/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_45_10828.jpg', '/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_55_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/51/image_02012026_21_52_04_9696.jpg
/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_15_10770.jpg
/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_25_9639.jpg
/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_34_9533.jpg
/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_45_10828.jpg
/home/pi/Desktop/images/02012026/21/52/image_02012026_21_52_55_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":["1402200665","1402200659","1402200655","1402200663","1402200662","1402200656"],"photo_ids_order":["1402200655","1402200656","1402200659","1402200662","1402200663","1402200665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c73427ceea50c148452c2d9eb1ca2a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2904482928447500395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389582955,"filename":"image_02012026_21_52_55_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/2/27114ae1c3e956bc7413559c528daa66.jpg","text":"TemporaryFile(/tmp/multipartBody1073203502554462267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389582955,"filename":"image_02012026_21_52_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/2/b0876a0f686e198e35c91c98789f433d.jpg","text":"TemporaryFile(/tmp/multipartBody9124230066768352380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389582955,"filename":"image_02012026_21_52_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/2/b79048e9d4767aa98d7eec349e994497.jpg","text":"TemporaryFile(/tmp/multipartBody7657417933374933558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389582955,"filename":"image_02012026_21_52_45_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b87779283d90d33ce29cd691e4bb717f.jpg","text":"TemporaryFile(/tmp/multipartBody6956835742205454177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389582955,"filename":"image_02012026_21_52_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/2/143d425c12aa3c92b6e6730d75ee5d11.jpg","text":"TemporaryFile(/tmp/multipartBody1843135889523997765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389582955,"filename":"image_02012026_21_52_15_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200659","file1":"1402200656","file0":"1402200655","file4":"1402200663","file5":"1402200665","file3":"1402200662"},"map_files_photo_id_array":[{"photo_id":"1402200665","filename":"file5"},{"photo_id":"1402200659","filename":"file2"},{"photo_id":"1402200663","filename":"file4"},{"photo_id":"1402200656","filename":"file1"},{"photo_id":"1402200655","filename":"file0"},{"photo_id":"1402200662","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200665":["hashtag1","hashtag2"]},{"1402200659":["hashtag1","hashtag2"]},{"1402200655":["hashtag1","hashtag2"]},{"1402200663":["hashtag1","hashtag2"]},{"1402200662":["hashtag1","hashtag2"]},{"1402200656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200665, 1402200659, 1402200655, 1402200663, 1402200662, 1402200656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.287628173828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:32:41.811854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_07_3010.jpg', '/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_11_3608.jpg', '/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_20_3715.jpg', '/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_22_2516.jpg', '/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_26_3694.jpg', '/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_29_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_07_3010.jpg
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_11_3608.jpg
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_20_3715.jpg
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_22_2516.jpg
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_26_3694.jpg
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_29_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":["1402200685","1402200688","1402200673","1402200676","1402200687","1402200686"],"photo_ids_order":["1402200673","1402200676","1402200685","1402200686","1402200687","1402200688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1c5d6d440463ff3b0548fa24086d7f3.jpg","text":"TemporaryFile(/tmp/multipartBody1802364446938459108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389623641,"filename":"image_05112025_23_37_20_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/2/9f604dc7893c99d320b42a4d0ac9d0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4865502857139940568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389623641,"filename":"image_05112025_23_37_29_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/2/cc288464830c8d6b5b1ca3e73b46df01.jpg","text":"TemporaryFile(/tmp/multipartBody8767710211517869513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389623641,"filename":"image_05112025_23_37_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/2/0197cadcd581dc09dea9dd8f9594bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody1477961026079390568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389623641,"filename":"image_05112025_23_37_11_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/2/14dfc9326b55b5536bef7d24cd3a63f6.jpg","text":"TemporaryFile(/tmp/multipartBody7700305502809541127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389623641,"filename":"image_05112025_23_37_26_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/2/924ad379f6d3205e92c060592c96e05c.jpg","text":"TemporaryFile(/tmp/multipartBody378164306238988176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389623641,"filename":"image_05112025_23_37_22_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200685","file1":"1402200676","file0":"1402200673","file4":"1402200687","file5":"1402200688","file3":"1402200686"},"map_files_photo_id_array":[{"photo_id":"1402200688","filename":"file5"},{"photo_id":"1402200685","filename":"file2"},{"photo_id":"1402200687","filename":"file4"},{"photo_id":"1402200676","filename":"file1"},{"photo_id":"1402200673","filename":"file0"},{"photo_id":"1402200686","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200685":["hashtag1","hashtag2"]},{"1402200688":["hashtag1","hashtag2"]},{"1402200673":["hashtag1","hashtag2"]},{"1402200676":["hashtag1","hashtag2"]},{"1402200687":["hashtag1","hashtag2"]},{"1402200686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200685, 1402200688, 1402200673, 1402200676, 1402200687, 1402200686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19526028633118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:33:22.017701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/52/image_02012026_21_53_04_9675.jpg', '/home/pi/Desktop/images/02012026/21/53/image_02012026_21_53_25_10619.jpg', '/home/pi/Desktop/images/02012026/21/53/image_02012026_21_53_35_10040.jpg', '/home/pi/Desktop/images/02012026/21/53/image_02012026_21_53_44_9640.jpg', '/home/pi/Desktop/images/02012026/21/53/image_02012026_21_54_04_9644.jpg', '/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_14_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/52/image_02012026_21_53_04_9675.jpg
/home/pi/Desktop/images/02012026/21/53/image_02012026_21_53_25_10619.jpg
/home/pi/Desktop/images/02012026/21/53/image_02012026_21_53_35_10040.jpg
/home/pi/Desktop/images/02012026/21/53/image_02012026_21_53_44_9640.jpg
/home/pi/Desktop/images/02012026/21/53/image_02012026_21_54_04_9644.jpg
/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_14_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200693","1402200696","1402200700","1402200702","1402200705","1402200698"],"photo_ids_order":["1402200693","1402200696","1402200698","1402200700","1402200702","1402200705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/31c656baab5001f7ad499b4bae3fc255.jpg","text":"TemporaryFile(/tmp/multipartBody2268327755325953246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389662565,"filename":"image_02012026_21_53_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/2/aa3dde68c56919b9fe78a49f814e1406.jpg","text":"TemporaryFile(/tmp/multipartBody6313789704268401320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389662565,"filename":"image_02012026_21_53_25_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/2/2e471bd0b66bb5e489a5837dd5249ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5487278873069483858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389662565,"filename":"image_02012026_21_53_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/2/5ef0397d075dd9c39543f05f67e3a434.jpg","text":"TemporaryFile(/tmp/multipartBody1589724589299074061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389662565,"filename":"image_02012026_21_54_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b810845694aaab2f07490ba704830f37.jpg","text":"TemporaryFile(/tmp/multipartBody2631731003518362062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389662565,"filename":"image_02012026_21_54_14_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/2/bfcd5181c93caca86c3cee05db639a68.jpg","text":"TemporaryFile(/tmp/multipartBody2304303847947608373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389662565,"filename":"image_02012026_21_53_35_10040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200698","file1":"1402200696","file0":"1402200693","file4":"1402200702","file5":"1402200705","file3":"1402200700"},"map_files_photo_id_array":[{"photo_id":"1402200705","filename":"file5"},{"photo_id":"1402200698","filename":"file2"},{"photo_id":"1402200702","filename":"file4"},{"photo_id":"1402200696","filename":"file1"},{"photo_id":"1402200693","filename":"file0"},{"photo_id":"1402200700","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200693":["hashtag1","hashtag2"]},{"1402200696":["hashtag1","hashtag2"]},{"1402200700":["hashtag1","hashtag2"]},{"1402200702":["hashtag1","hashtag2"]},{"1402200705":["hashtag1","hashtag2"]},{"1402200698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200693, 1402200696, 1402200700, 1402200702, 1402200705, 1402200698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.580894470214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:34:02.842233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_25_10546.jpg', '/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_34_9706.jpg', '/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_45_10588.jpg', '/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_55_9695.jpg', '/home/pi/Desktop/images/02012026/21/54/image_02012026_21_55_04_9548.jpg', '/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_15_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_25_10546.jpg
/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_34_9706.jpg
/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_45_10588.jpg
/home/pi/Desktop/images/02012026/21/54/image_02012026_21_54_55_9695.jpg
/home/pi/Desktop/images/02012026/21/54/image_02012026_21_55_04_9548.jpg
/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_15_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":["1402200719","1402200715","1402200709","1402200712","1402200708","1402200717"],"photo_ids_order":["1402200708","1402200709","1402200712","1402200715","1402200717","1402200719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/edb470ea2f5f305cc3ceb23c4ec0cd91.jpg","text":"TemporaryFile(/tmp/multipartBody2061078740627832257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389703447,"filename":"image_02012026_21_55_15_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/2/af87df131cf54c3b656bda2f7971d1d7.jpg","text":"TemporaryFile(/tmp/multipartBody9214061812138024065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389703447,"filename":"image_02012026_21_54_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/2/1ffa2bda188afd914b0d1667e94122c9.jpg","text":"TemporaryFile(/tmp/multipartBody173439304849323199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389703447,"filename":"image_02012026_21_54_34_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/2/9b90c7a8587b146d8b021c3673609fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5061049437553935701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389703447,"filename":"image_02012026_21_54_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/2/251a27529b14d59e2de7cb59fcc71e07.jpg","text":"TemporaryFile(/tmp/multipartBody4321471349462316946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389703447,"filename":"image_02012026_21_54_25_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/2/3b1074f3b9aaa7c0aeea4f2d65658748.jpg","text":"TemporaryFile(/tmp/multipartBody2205546105988327227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389703447,"filename":"image_02012026_21_55_04_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200712","file1":"1402200709","file0":"1402200708","file4":"1402200717","file5":"1402200719","file3":"1402200715"},"map_files_photo_id_array":[{"photo_id":"1402200719","filename":"file5"},{"photo_id":"1402200712","filename":"file2"},{"photo_id":"1402200717","filename":"file4"},{"photo_id":"1402200709","filename":"file1"},{"photo_id":"1402200708","filename":"file0"},{"photo_id":"1402200715","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200719":["hashtag1","hashtag2"]},{"1402200715":["hashtag1","hashtag2"]},{"1402200709":["hashtag1","hashtag2"]},{"1402200712":["hashtag1","hashtag2"]},{"1402200708":["hashtag1","hashtag2"]},{"1402200717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200719, 1402200715, 1402200709, 1402200712, 1402200708, 1402200717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55524921417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:34:42.209778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_32_3323.jpg', '/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_48_10947.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_10_1742.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_12_1571.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_13_1516.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_15_1723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_32_3323.jpg
/home/pi/Desktop/images/05112025/23/37/image_05112025_23_37_48_10947.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_10_1742.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_12_1571.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_13_1516.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_15_1723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200725","1402200728","1402200727","1402200730","1402200726","1402200729"],"photo_ids_order":["1402200725","1402200726","1402200727","1402200728","1402200729","1402200730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1fb120e43518fde5fbdfad7bdec98cd.jpg","text":"TemporaryFile(/tmp/multipartBody8976460297664153271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389743939,"filename":"image_05112025_23_37_32_3323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/50f9c26d081f736c7cdc087aef16e105.jpg","text":"TemporaryFile(/tmp/multipartBody4791810259098031270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389743939,"filename":"image_05112025_23_38_12_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/2/4ca35f31aaa21a1ee13cc3b1a881cc7f.jpg","text":"TemporaryFile(/tmp/multipartBody961528666546923497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389743939,"filename":"image_05112025_23_38_10_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/2/8499464a72e63df38cc37c8eabb213a0.jpg","text":"TemporaryFile(/tmp/multipartBody5176254160132861176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389743939,"filename":"image_05112025_23_38_15_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/2/e9573b0c3cabc629a8de466e3bca57fa.jpg","text":"TemporaryFile(/tmp/multipartBody1161622893161838751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389743939,"filename":"image_05112025_23_37_48_10947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8e76c05571006ea176325cc5e45c0345.jpg","text":"TemporaryFile(/tmp/multipartBody4889320185146118429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389743939,"filename":"image_05112025_23_38_13_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200727","file1":"1402200726","file0":"1402200725","file4":"1402200729","file5":"1402200730","file3":"1402200728"},"map_files_photo_id_array":[{"photo_id":"1402200730","filename":"file5"},{"photo_id":"1402200727","filename":"file2"},{"photo_id":"1402200729","filename":"file4"},{"photo_id":"1402200726","filename":"file1"},{"photo_id":"1402200725","filename":"file0"},{"photo_id":"1402200728","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200725":["hashtag1","hashtag2"]},{"1402200728":["hashtag1","hashtag2"]},{"1402200727":["hashtag1","hashtag2"]},{"1402200730":["hashtag1","hashtag2"]},{"1402200726":["hashtag1","hashtag2"]},{"1402200729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200725, 1402200728, 1402200727, 1402200730, 1402200726, 1402200729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7717022895813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:35:22.668512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_25_9662.jpg', '/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_34_9789.jpg', '/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_44_9709.jpg', '/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_55_10684.jpg', '/home/pi/Desktop/images/02012026/21/55/image_02012026_21_56_05_9798.jpg', '/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_25_9662.jpg
/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_34_9789.jpg
/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_44_9709.jpg
/home/pi/Desktop/images/02012026/21/55/image_02012026_21_55_55_10684.jpg
/home/pi/Desktop/images/02012026/21/55/image_02012026_21_56_05_9798.jpg
/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_14_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":["1402200743","1402200737","1402200746","1402200734","1402200744","1402200740"],"photo_ids_order":["1402200734","1402200737","1402200740","1402200743","1402200744","1402200746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4ee683c425533e0ebc2d313b165a88df.jpg","text":"TemporaryFile(/tmp/multipartBody8017795892711495248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389783249,"filename":"image_02012026_21_55_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/2/0d886b42b66c0ca0c5da23407cfd7bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2588892574497893777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389783249,"filename":"image_02012026_21_55_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/22dcf68f2a5cbbedf125ca98886c17ae.jpg","text":"TemporaryFile(/tmp/multipartBody4852485339702286293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389783249,"filename":"image_02012026_21_56_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/2/e609a915e5e209a695a11c1925e47aed.jpg","text":"TemporaryFile(/tmp/multipartBody7638896211889024573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389783249,"filename":"image_02012026_21_55_25_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/2/34137365a2a4d54852fb50c2321fec47.jpg","text":"TemporaryFile(/tmp/multipartBody6191049603583612422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389783249,"filename":"image_02012026_21_56_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/2/c4cad0ed3992e91f27b6d8d37ea1956b.jpg","text":"TemporaryFile(/tmp/multipartBody5828413032716251276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389783249,"filename":"image_02012026_21_55_44_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200740","file1":"1402200737","file0":"1402200734","file4":"1402200744","file5":"1402200746","file3":"1402200743"},"map_files_photo_id_array":[{"photo_id":"1402200746","filename":"file5"},{"photo_id":"1402200740","filename":"file2"},{"photo_id":"1402200744","filename":"file4"},{"photo_id":"1402200737","filename":"file1"},{"photo_id":"1402200734","filename":"file0"},{"photo_id":"1402200743","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200743":["hashtag1","hashtag2"]},{"1402200737":["hashtag1","hashtag2"]},{"1402200746":["hashtag1","hashtag2"]},{"1402200734":["hashtag1","hashtag2"]},{"1402200744":["hashtag1","hashtag2"]},{"1402200740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200743, 1402200737, 1402200746, 1402200734, 1402200744, 1402200740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50105404853821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:36:03.080714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_24_9818.jpg', '/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_35_10633.jpg', '/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_44_9606.jpg', '/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_55_10558.jpg', '/home/pi/Desktop/images/02012026/21/56/image_02012026_21_57_05_9761.jpg', '/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_14_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_24_9818.jpg
/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_35_10633.jpg
/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_44_9606.jpg
/home/pi/Desktop/images/02012026/21/56/image_02012026_21_56_55_10558.jpg
/home/pi/Desktop/images/02012026/21/56/image_02012026_21_57_05_9761.jpg
/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_14_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":["1402200758","1402200760","1402200762","1402200771","1402200765","1402200767"],"photo_ids_order":["1402200758","1402200760","1402200762","1402200765","1402200767","1402200771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dcd8ff401d052cd7311a02931a69a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody1413396296400391317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389823686,"filename":"image_02012026_21_56_24_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/2/50c5c4ec967e1367e99999b5db3c5157.jpg","text":"TemporaryFile(/tmp/multipartBody5192734071407431259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389823686,"filename":"image_02012026_21_56_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/2/3432f49deee4d572474233e17c54346a.jpg","text":"TemporaryFile(/tmp/multipartBody5264577764649051717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389823686,"filename":"image_02012026_21_56_44_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/2/62fc4e8622844d673b08a58827952f20.jpg","text":"TemporaryFile(/tmp/multipartBody4632295477988351341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389823686,"filename":"image_02012026_21_57_14_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/2/f6ce97749a5fc7e078ed3716f72bad43.jpg","text":"TemporaryFile(/tmp/multipartBody8140803845505221197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389823686,"filename":"image_02012026_21_56_55_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/2/a6d3f3b0c100f2dc7634c9ba07367d34.jpg","text":"TemporaryFile(/tmp/multipartBody7725033404190059464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389823686,"filename":"image_02012026_21_57_05_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200762","file1":"1402200760","file0":"1402200758","file4":"1402200767","file5":"1402200771","file3":"1402200765"},"map_files_photo_id_array":[{"photo_id":"1402200771","filename":"file5"},{"photo_id":"1402200762","filename":"file2"},{"photo_id":"1402200767","filename":"file4"},{"photo_id":"1402200760","filename":"file1"},{"photo_id":"1402200758","filename":"file0"},{"photo_id":"1402200765","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200758":["hashtag1","hashtag2"]},{"1402200760":["hashtag1","hashtag2"]},{"1402200762":["hashtag1","hashtag2"]},{"1402200771":["hashtag1","hashtag2"]},{"1402200765":["hashtag1","hashtag2"]},{"1402200767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200758, 1402200760, 1402200762, 1402200771, 1402200765, 1402200767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31144642829895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:36:42.666442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_17_1656.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_23_6518.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_25_1747.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_27_1732.jpg', '/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_28_1575.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_17_1656.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_23_6518.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_25_1747.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_27_1732.jpg
/home/pi/Desktop/images/05112025/23/38/image_05112025_23_38_28_1575.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_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":["1402200796","1402200778","1402200795","1402200780","1402200788","1402200782"],"photo_ids_order":["1402200778","1402200780","1402200782","1402200788","1402200795","1402200796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8536880ac975433c7cf8868e7b758b68.jpg","text":"TemporaryFile(/tmp/multipartBody6275356746903726332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389864463,"filename":"image_05112025_23_40_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/2/8891d5045f233ef5a51ca3fd6819b7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5793465973311032587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389864463,"filename":"image_05112025_23_38_17_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/2/a9504d9f911cc6be9df048299358cd43.jpg","text":"TemporaryFile(/tmp/multipartBody6337876995181301459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389864463,"filename":"image_05112025_23_38_28_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/2/236a01b82d836f3a3b32ada46cf0a9a9.jpg","text":"TemporaryFile(/tmp/multipartBody889877693326709741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389864463,"filename":"image_05112025_23_38_23_6518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec00616d9ac9972a4eac2742b0d4d659.jpg","text":"TemporaryFile(/tmp/multipartBody5837918551139651298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389864463,"filename":"image_05112025_23_38_27_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/2/da9a598153a0c1e5f2b79ba46ada1da6.jpg","text":"TemporaryFile(/tmp/multipartBody3218123550115761055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389864463,"filename":"image_05112025_23_38_25_1747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200782","file1":"1402200780","file0":"1402200778","file4":"1402200795","file5":"1402200796","file3":"1402200788"},"map_files_photo_id_array":[{"photo_id":"1402200796","filename":"file5"},{"photo_id":"1402200782","filename":"file2"},{"photo_id":"1402200795","filename":"file4"},{"photo_id":"1402200780","filename":"file1"},{"photo_id":"1402200778","filename":"file0"},{"photo_id":"1402200788","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200796":["hashtag1","hashtag2"]},{"1402200778":["hashtag1","hashtag2"]},{"1402200795":["hashtag1","hashtag2"]},{"1402200780":["hashtag1","hashtag2"]},{"1402200788":["hashtag1","hashtag2"]},{"1402200782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200796, 1402200778, 1402200795, 1402200780, 1402200788, 1402200782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83868384361267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:37:22.787243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_24_9719.jpg', '/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_35_10654.jpg', '/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_44_9562.jpg', '/home/pi/Desktop/images/02012026/21/57/image_02012026_21_58_05_10790.jpg', '/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_15_9798.jpg', '/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_24_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_24_9719.jpg
/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_35_10654.jpg
/home/pi/Desktop/images/02012026/21/57/image_02012026_21_57_44_9562.jpg
/home/pi/Desktop/images/02012026/21/57/image_02012026_21_58_05_10790.jpg
/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_15_9798.jpg
/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_24_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200809","1402200811","1402200813","1402200807","1402200816","1402200804"],"photo_ids_order":["1402200804","1402200807","1402200809","1402200811","1402200813","1402200816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a84a73818096c8a1e0e6870d7c0c820b.jpg","text":"TemporaryFile(/tmp/multipartBody2735451792004134669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389903368,"filename":"image_02012026_21_57_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/2/5c2a126eaa5bcc33fe0772940936ebdb.jpg","text":"TemporaryFile(/tmp/multipartBody637099093374914327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389903368,"filename":"image_02012026_21_58_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/2/1915bc8bf17a31c786b2d01a56238ade.jpg","text":"TemporaryFile(/tmp/multipartBody8552288923766250698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389903368,"filename":"image_02012026_21_58_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/2/dae95f8ff374aa000b7ff2f019e06c76.jpg","text":"TemporaryFile(/tmp/multipartBody7829892238772113422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389903368,"filename":"image_02012026_21_57_35_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/2/10442bdd805b18d1eda9d3b163900f38.jpg","text":"TemporaryFile(/tmp/multipartBody7190007973533611906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389903368,"filename":"image_02012026_21_58_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/2/32a6b57f8b7f0cdd55b793fb2712eca8.jpg","text":"TemporaryFile(/tmp/multipartBody5080756589729372120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389903368,"filename":"image_02012026_21_57_24_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200809","file1":"1402200807","file0":"1402200804","file4":"1402200813","file5":"1402200816","file3":"1402200811"},"map_files_photo_id_array":[{"photo_id":"1402200816","filename":"file5"},{"photo_id":"1402200809","filename":"file2"},{"photo_id":"1402200813","filename":"file4"},{"photo_id":"1402200807","filename":"file1"},{"photo_id":"1402200804","filename":"file0"},{"photo_id":"1402200811","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200809":["hashtag1","hashtag2"]},{"1402200811":["hashtag1","hashtag2"]},{"1402200813":["hashtag1","hashtag2"]},{"1402200807":["hashtag1","hashtag2"]},{"1402200816":["hashtag1","hashtag2"]},{"1402200804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200809, 1402200811, 1402200813, 1402200807, 1402200816, 1402200804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.545949935913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:38:02.486644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_35_10566.jpg', '/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_45_9884.jpg', '/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_54_9668.jpg', '/home/pi/Desktop/images/02012026/21/58/image_02012026_21_59_04_9582.jpg', '/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_15_10718.jpg', '/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_35_10566.jpg
/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_45_9884.jpg
/home/pi/Desktop/images/02012026/21/58/image_02012026_21_58_54_9668.jpg
/home/pi/Desktop/images/02012026/21/58/image_02012026_21_59_04_9582.jpg
/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_15_10718.jpg
/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_24_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200830","1402200818","1402200825","1402200819","1402200828","1402200822"],"photo_ids_order":["1402200818","1402200819","1402200822","1402200825","1402200828","1402200830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/46d66b4d645517acf9afb04f3dfbce89.jpg","text":"TemporaryFile(/tmp/multipartBody7451546321090701686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389943136,"filename":"image_02012026_21_59_24_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/2/fd5e324891b6d2f8caafb98038eda6f6.jpg","text":"TemporaryFile(/tmp/multipartBody6772968699521560674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389943136,"filename":"image_02012026_21_58_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/2/fc8874403fe07ca1fb9836384ed3501b.jpg","text":"TemporaryFile(/tmp/multipartBody2217692746527454608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389943136,"filename":"image_02012026_21_59_04_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/2/288333e70c78552c475f757c20054ecc.jpg","text":"TemporaryFile(/tmp/multipartBody435266723468470014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389943136,"filename":"image_02012026_21_58_45_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/2/ae235fdc3c527a57ee9f1cb6c79496b7.jpg","text":"TemporaryFile(/tmp/multipartBody591962631090349683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389943136,"filename":"image_02012026_21_59_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/2/b705de9ec51ebde5828a06e93c827171.jpg","text":"TemporaryFile(/tmp/multipartBody8725577999230050163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389943136,"filename":"image_02012026_21_58_54_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200822","file1":"1402200819","file0":"1402200818","file4":"1402200828","file5":"1402200830","file3":"1402200825"},"map_files_photo_id_array":[{"photo_id":"1402200830","filename":"file5"},{"photo_id":"1402200822","filename":"file2"},{"photo_id":"1402200828","filename":"file4"},{"photo_id":"1402200819","filename":"file1"},{"photo_id":"1402200818","filename":"file0"},{"photo_id":"1402200825","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200830":["hashtag1","hashtag2"]},{"1402200818":["hashtag1","hashtag2"]},{"1402200825":["hashtag1","hashtag2"]},{"1402200819":["hashtag1","hashtag2"]},{"1402200828":["hashtag1","hashtag2"]},{"1402200822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200830, 1402200818, 1402200825, 1402200819, 1402200828, 1402200822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26531004905701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:38:41.961588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_11_3617.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_14_2624.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_16_2739.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_20_3762.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_26_2626.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_29_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_11_3617.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_14_2624.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_16_2739.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_20_3762.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_26_2626.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_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":["1402200851","1402200839","1402200853","1402200855","1402200852","1402200854"],"photo_ids_order":["1402200839","1402200851","1402200852","1402200853","1402200854","1402200855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/91be332451d537acdeaf957ada92b7b0.jpg","text":"TemporaryFile(/tmp/multipartBody6853489754114304208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389983789,"filename":"image_05112025_23_40_14_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/2/4c76f401c69c4c4ec6f7c589684940c1.jpg","text":"TemporaryFile(/tmp/multipartBody5073052337689777306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389983789,"filename":"image_05112025_23_40_11_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/2/50e018a6921619545d5037819884b269.jpg","text":"TemporaryFile(/tmp/multipartBody3428628793352536582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389983789,"filename":"image_05112025_23_40_20_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/2/6f667424a009cf3d4f4569bcc972fc65.jpg","text":"TemporaryFile(/tmp/multipartBody2484104282950952227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389983789,"filename":"image_05112025_23_40_29_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0b668ff6307a41a3fec04a9ab94d2394.jpg","text":"TemporaryFile(/tmp/multipartBody349375025260651086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389983789,"filename":"image_05112025_23_40_16_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/2/e5bda81eb03c4105988aaf6b89965e0d.jpg","text":"TemporaryFile(/tmp/multipartBody3248703504703472079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767389983789,"filename":"image_05112025_23_40_26_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200852","file1":"1402200851","file0":"1402200839","file4":"1402200854","file5":"1402200855","file3":"1402200853"},"map_files_photo_id_array":[{"photo_id":"1402200855","filename":"file5"},{"photo_id":"1402200852","filename":"file2"},{"photo_id":"1402200854","filename":"file4"},{"photo_id":"1402200851","filename":"file1"},{"photo_id":"1402200839","filename":"file0"},{"photo_id":"1402200853","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200851":["hashtag1","hashtag2"]},{"1402200839":["hashtag1","hashtag2"]},{"1402200853":["hashtag1","hashtag2"]},{"1402200855":["hashtag1","hashtag2"]},{"1402200852":["hashtag1","hashtag2"]},{"1402200854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200851, 1402200839, 1402200853, 1402200855, 1402200852, 1402200854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.003220558166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:39:22.228309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_34_9671.jpg', '/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_45_10810.jpg', '/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_55_9819.jpg', '/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_13_10041.jpg', '/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_24_10638.jpg', '/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_34_9985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_34_9671.jpg
/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_45_10810.jpg
/home/pi/Desktop/images/02012026/21/59/image_02012026_21_59_55_9819.jpg
/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_13_10041.jpg
/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_24_10638.jpg
/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_34_9985.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200871","1402200865","1402200861","1402200864","1402200867","1402200869"],"photo_ids_order":["1402200861","1402200864","1402200865","1402200867","1402200869","1402200871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ca24c44e7b963e0dba116b607c47edd9.jpg","text":"TemporaryFile(/tmp/multipartBody6178963023680610169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390022842,"filename":"image_02012026_22_01_34_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/2/fd4811e4c50b81eda6dcfcc5017a1f47.jpg","text":"TemporaryFile(/tmp/multipartBody5370441522964039802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390022842,"filename":"image_02012026_21_59_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/2/bf1518f06b9311800befb1c2eb02f5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3017143009745138541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390022842,"filename":"image_02012026_21_59_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/2/b61e8b12f9fff89e190d473eb92cba28.jpg","text":"TemporaryFile(/tmp/multipartBody2222907373585450430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390022842,"filename":"image_02012026_21_59_45_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/2/3eb26895746a9fc0eeaa14adc7f9ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody1554433871984035692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390022842,"filename":"image_02012026_22_01_13_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/75234c5b23c291a3e6dbb931f997695b.jpg","text":"TemporaryFile(/tmp/multipartBody8884225013420336728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390022842,"filename":"image_02012026_22_01_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200865","file1":"1402200864","file0":"1402200861","file4":"1402200869","file5":"1402200871","file3":"1402200867"},"map_files_photo_id_array":[{"photo_id":"1402200871","filename":"file5"},{"photo_id":"1402200865","filename":"file2"},{"photo_id":"1402200869","filename":"file4"},{"photo_id":"1402200864","filename":"file1"},{"photo_id":"1402200861","filename":"file0"},{"photo_id":"1402200867","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200871":["hashtag1","hashtag2"]},{"1402200865":["hashtag1","hashtag2"]},{"1402200861":["hashtag1","hashtag2"]},{"1402200864":["hashtag1","hashtag2"]},{"1402200867":["hashtag1","hashtag2"]},{"1402200869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200871, 1402200865, 1402200861, 1402200864, 1402200867, 1402200869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.605807304382324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:40:02.845119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_43_9729.jpg', '/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_53_9705.jpg', '/home/pi/Desktop/images/02012026/22/01/image_02012026_22_02_04_10566.jpg', '/home/pi/Desktop/images/02012026/22/02/image_02012026_22_02_14_9890.jpg', '/home/pi/Desktop/images/02012026/22/02/image_02012026_22_02_44_10617.jpg', '/home/pi/Desktop/images/02012026/22/02/image_02012026_22_02_53_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_43_9729.jpg
/home/pi/Desktop/images/02012026/22/01/image_02012026_22_01_53_9705.jpg
/home/pi/Desktop/images/02012026/22/01/image_02012026_22_02_04_10566.jpg
/home/pi/Desktop/images/02012026/22/02/image_02012026_22_02_14_9890.jpg
/home/pi/Desktop/images/02012026/22/02/image_02012026_22_02_44_10617.jpg
/home/pi/Desktop/images/02012026/22/02/image_02012026_22_02_53_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":["1402200892","1402200874","1402200873","1402200882","1402200878","1402200887"],"photo_ids_order":["1402200873","1402200874","1402200878","1402200882","1402200887","1402200892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38103bc6e83c327ebcad4d6d156fed39.jpg","text":"TemporaryFile(/tmp/multipartBody3173125374432988532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390063450,"filename":"image_02012026_22_02_53_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/2/a51aad3a602bfb7a81e8786f2f80bfba.jpg","text":"TemporaryFile(/tmp/multipartBody9141315138263511023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390063450,"filename":"image_02012026_22_01_53_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/2/3cb94723a36f9839af3fd114a9427258.jpg","text":"TemporaryFile(/tmp/multipartBody9135604302041537730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390063450,"filename":"image_02012026_22_01_43_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/2/6c2ce7d04a17f493a6f5caeaf82813e2.jpg","text":"TemporaryFile(/tmp/multipartBody4941825014135664936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390063450,"filename":"image_02012026_22_02_14_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/2/0db4ea8334c6073e9c97eede12804a1b.jpg","text":"TemporaryFile(/tmp/multipartBody3852388336169573492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390063450,"filename":"image_02012026_22_02_04_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/2/379134ed65966feccae8e9494bbdf4d6.jpg","text":"TemporaryFile(/tmp/multipartBody7655606483439191377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390063450,"filename":"image_02012026_22_02_44_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200878","file1":"1402200874","file0":"1402200873","file4":"1402200887","file5":"1402200892","file3":"1402200882"},"map_files_photo_id_array":[{"photo_id":"1402200892","filename":"file5"},{"photo_id":"1402200878","filename":"file2"},{"photo_id":"1402200887","filename":"file4"},{"photo_id":"1402200874","filename":"file1"},{"photo_id":"1402200873","filename":"file0"},{"photo_id":"1402200882","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200892":["hashtag1","hashtag2"]},{"1402200874":["hashtag1","hashtag2"]},{"1402200873":["hashtag1","hashtag2"]},{"1402200882":["hashtag1","hashtag2"]},{"1402200878":["hashtag1","hashtag2"]},{"1402200887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200892, 1402200874, 1402200873, 1402200882, 1402200878, 1402200887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14068555831909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:40:42.299365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_33_3583.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_38_3630.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_41_2826.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_47_3717.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_50_2662.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_53_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_33_3583.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_38_3630.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_41_2826.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_47_3717.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_50_2662.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_53_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200902","1402200913","1402200901","1402200904","1402200918","1402200903"],"photo_ids_order":["1402200901","1402200902","1402200903","1402200904","1402200913","1402200918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b02732a3e3949584ef778b12fa8c85e1.jpg","text":"TemporaryFile(/tmp/multipartBody8296323991040781781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390104095,"filename":"image_05112025_23_40_38_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/2/12d078a88b0865b3bbcbb253afb2f856.jpg","text":"TemporaryFile(/tmp/multipartBody2276354455522387142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390104095,"filename":"image_05112025_23_40_50_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/2/e5a69069c0ee4ecca819cd80434c92b9.jpg","text":"TemporaryFile(/tmp/multipartBody4932518183035501945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390104095,"filename":"image_05112025_23_40_33_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/2/057b44efd21b5ff7f379d3d1df36b6e7.jpg","text":"TemporaryFile(/tmp/multipartBody9020660883139427283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390104095,"filename":"image_05112025_23_40_47_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/2/c9ee749f6b8d8ef875c3d0fde4eb26ca.jpg","text":"TemporaryFile(/tmp/multipartBody2190120877988393796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390104095,"filename":"image_05112025_23_40_53_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/2/55e804bea8dd6802065cbc6f0b0db65a.jpg","text":"TemporaryFile(/tmp/multipartBody5471462763872444233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390104095,"filename":"image_05112025_23_40_41_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200903","file1":"1402200902","file0":"1402200901","file4":"1402200913","file5":"1402200918","file3":"1402200904"},"map_files_photo_id_array":[{"photo_id":"1402200918","filename":"file5"},{"photo_id":"1402200903","filename":"file2"},{"photo_id":"1402200913","filename":"file4"},{"photo_id":"1402200902","filename":"file1"},{"photo_id":"1402200901","filename":"file0"},{"photo_id":"1402200904","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200902":["hashtag1","hashtag2"]},{"1402200913":["hashtag1","hashtag2"]},{"1402200901":["hashtag1","hashtag2"]},{"1402200904":["hashtag1","hashtag2"]},{"1402200918":["hashtag1","hashtag2"]},{"1402200903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200902, 1402200913, 1402200901, 1402200904, 1402200918, 1402200903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82457232475281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:41:22.628489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/02/image_02012026_22_03_03_9668.jpg', '/home/pi/Desktop/images/02012026/22/03/image_02012026_22_03_34_10617.jpg', '/home/pi/Desktop/images/02012026/22/03/image_02012026_22_03_44_9522.jpg', '/home/pi/Desktop/images/02012026/22/03/image_02012026_22_03_53_9626.jpg', '/home/pi/Desktop/images/02012026/22/03/image_02012026_22_04_04_10676.jpg', '/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_14_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/02/image_02012026_22_03_03_9668.jpg
/home/pi/Desktop/images/02012026/22/03/image_02012026_22_03_34_10617.jpg
/home/pi/Desktop/images/02012026/22/03/image_02012026_22_03_44_9522.jpg
/home/pi/Desktop/images/02012026/22/03/image_02012026_22_03_53_9626.jpg
/home/pi/Desktop/images/02012026/22/03/image_02012026_22_04_04_10676.jpg
/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_14_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200935","1402200937","1402200939","1402200930","1402200933","1402200927"],"photo_ids_order":["1402200927","1402200930","1402200933","1402200935","1402200937","1402200939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f93796fe93d3e445e9462d20df3d2767.jpg","text":"TemporaryFile(/tmp/multipartBody2669998982812673009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390143219,"filename":"image_02012026_22_03_53_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/2/ab411f20bed6b33311ad8d961e657b24.jpg","text":"TemporaryFile(/tmp/multipartBody3582994245964429404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390143219,"filename":"image_02012026_22_04_04_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/2/f1f898e4988ac0a769c9879f5e9bec2d.jpg","text":"TemporaryFile(/tmp/multipartBody3463313016980541825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390143219,"filename":"image_02012026_22_04_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/2/5588c5dbfdceaf7d287753e83daebb7d.jpg","text":"TemporaryFile(/tmp/multipartBody4061031699517603232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390143219,"filename":"image_02012026_22_03_34_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/2/7f9453ecebfb60aad48ef6cc8fe5c3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5070854181934662832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390143219,"filename":"image_02012026_22_03_44_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/2/fb78d622d7524ba1b630cf8811525d73.jpg","text":"TemporaryFile(/tmp/multipartBody2115615589009883756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390143219,"filename":"image_02012026_22_03_03_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200933","file1":"1402200930","file0":"1402200927","file4":"1402200937","file5":"1402200939","file3":"1402200935"},"map_files_photo_id_array":[{"photo_id":"1402200939","filename":"file5"},{"photo_id":"1402200933","filename":"file2"},{"photo_id":"1402200937","filename":"file4"},{"photo_id":"1402200930","filename":"file1"},{"photo_id":"1402200927","filename":"file0"},{"photo_id":"1402200935","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200935":["hashtag1","hashtag2"]},{"1402200937":["hashtag1","hashtag2"]},{"1402200939":["hashtag1","hashtag2"]},{"1402200930":["hashtag1","hashtag2"]},{"1402200933":["hashtag1","hashtag2"]},{"1402200927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200935, 1402200937, 1402200939, 1402200930, 1402200933, 1402200927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72452092170715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:42:03.114489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_23_9866.jpg', '/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_33_9792.jpg', '/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_44_10612.jpg', '/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_53_9601.jpg', '/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_14_10055.jpg', '/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_23_9866.jpg
/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_33_9792.jpg
/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_44_10612.jpg
/home/pi/Desktop/images/02012026/22/04/image_02012026_22_04_53_9601.jpg
/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_14_10055.jpg
/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_25_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200964","1402200952","1402200954","1402200966","1402200959","1402200950"],"photo_ids_order":["1402200950","1402200952","1402200954","1402200959","1402200964","1402200966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5e7a99332e45c725db0c4f3a0f244540.jpg","text":"TemporaryFile(/tmp/multipartBody4075605765488330437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390183718,"filename":"image_02012026_22_05_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/2/8fb45eaafa09c750e69592108bd92f79.jpg","text":"TemporaryFile(/tmp/multipartBody7683587748063478861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390183718,"filename":"image_02012026_22_04_33_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/2/a898cfa371407abfd7258a11ca26b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2056334978302629900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390183718,"filename":"image_02012026_22_04_44_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/2/7ef711fb0619f75a4a29524224c9f9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2480151868384251156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390183718,"filename":"image_02012026_22_05_25_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/2/32783a2ea98e7a16ae9b378c0fef3fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7268328250091172246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390183718,"filename":"image_02012026_22_04_53_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/2/5cdf9e7155c232c33682c6e25ab2c45d.jpg","text":"TemporaryFile(/tmp/multipartBody443215905511487333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390183718,"filename":"image_02012026_22_04_23_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200954","file1":"1402200952","file0":"1402200950","file4":"1402200964","file5":"1402200966","file3":"1402200959"},"map_files_photo_id_array":[{"photo_id":"1402200966","filename":"file5"},{"photo_id":"1402200954","filename":"file2"},{"photo_id":"1402200964","filename":"file4"},{"photo_id":"1402200952","filename":"file1"},{"photo_id":"1402200950","filename":"file0"},{"photo_id":"1402200959","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402200964":["hashtag1","hashtag2"]},{"1402200952":["hashtag1","hashtag2"]},{"1402200954":["hashtag1","hashtag2"]},{"1402200966":["hashtag1","hashtag2"]},{"1402200959":["hashtag1","hashtag2"]},{"1402200950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402200964, 1402200952, 1402200954, 1402200966, 1402200959, 1402200950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92811179161072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:42:42.717351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_56_3714.jpg', '/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_59_2720.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_24_24656.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_25_1606.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_27_1592.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_28_1598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_56_3714.jpg
/home/pi/Desktop/images/05112025/23/40/image_05112025_23_40_59_2720.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_24_24656.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_25_1606.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_27_1592.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_28_1598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402200991","1402200985","1402200987","1402200983","1402200989","1402200980"],"photo_ids_order":["1402200980","1402200983","1402200985","1402200987","1402200989","1402200991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/604457cbdef3c74686fe9c790a3665aa.jpg","text":"TemporaryFile(/tmp/multipartBody7902112124254718666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390224546,"filename":"image_05112025_23_41_28_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/2/ed84cd39cc8a7fc29a84cda10bb77007.jpg","text":"TemporaryFile(/tmp/multipartBody8470140975689882915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390224546,"filename":"image_05112025_23_41_24_24656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f6993c8722632671006721030cd0f01b.jpg","text":"TemporaryFile(/tmp/multipartBody1334188817064231907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390224546,"filename":"image_05112025_23_41_25_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/2/408c5b156bb19aaae3975a9838070b96.jpg","text":"TemporaryFile(/tmp/multipartBody6796837293798632750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390224546,"filename":"image_05112025_23_40_59_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/2/10cbc3406c4cbcfc65cc71c79fb7a348.jpg","text":"TemporaryFile(/tmp/multipartBody3200698537228849870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390224546,"filename":"image_05112025_23_41_27_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/2/822e2e6fd15be949b0fea78d9c0e3847.jpg","text":"TemporaryFile(/tmp/multipartBody7542455488205026458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390224546,"filename":"image_05112025_23_40_56_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402200985","file1":"1402200983","file0":"1402200980","file4":"1402200989","file5":"1402200991","file3":"1402200987"},"map_files_photo_id_array":[{"photo_id":"1402200991","filename":"file5"},{"photo_id":"1402200985","filename":"file2"},{"photo_id":"1402200989","filename":"file4"},{"photo_id":"1402200983","filename":"file1"},{"photo_id":"1402200980","filename":"file0"},{"photo_id":"1402200987","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402200991":["hashtag1","hashtag2"]},{"1402200985":["hashtag1","hashtag2"]},{"1402200987":["hashtag1","hashtag2"]},{"1402200983":["hashtag1","hashtag2"]},{"1402200989":["hashtag1","hashtag2"]},{"1402200980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402200991, 1402200985, 1402200987, 1402200983, 1402200989, 1402200980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05433773994446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:43:21.745657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_35_9770.jpg', '/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_45_10558.jpg', '/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_55_9685.jpg', '/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_15_10615.jpg', '/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_25_9598.jpg', '/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_45_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_35_9770.jpg
/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_45_10558.jpg
/home/pi/Desktop/images/02012026/22/05/image_02012026_22_05_55_9685.jpg
/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_15_10615.jpg
/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_25_9598.jpg
/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_45_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201010","1402201004","1402201006","1402200999","1402201008","1402201013"],"photo_ids_order":["1402200999","1402201004","1402201006","1402201008","1402201010","1402201013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a49f2266a55cd5e46e9174f38ab3ed6c.jpg","text":"TemporaryFile(/tmp/multipartBody3057517419581163579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390262294,"filename":"image_02012026_22_06_25_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/2/5c6d0695c15545cc9e1b14daf1db0183.jpg","text":"TemporaryFile(/tmp/multipartBody4148758963263930734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390262294,"filename":"image_02012026_22_05_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/2/02094b34529d87283074f655055a170c.jpg","text":"TemporaryFile(/tmp/multipartBody8861989715939379522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390262294,"filename":"image_02012026_22_05_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/2/425a14a516ff2fd5bef2be00cb80d333.jpg","text":"TemporaryFile(/tmp/multipartBody6225228408565892039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390262294,"filename":"image_02012026_22_05_35_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/2/4a3f341c6083a957a3df78fc025d57f8.jpg","text":"TemporaryFile(/tmp/multipartBody4522318296087025248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390262294,"filename":"image_02012026_22_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/2/aefafc4d3ea4c93f268dd6942d0d2366.jpg","text":"TemporaryFile(/tmp/multipartBody2298854830339506208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390262294,"filename":"image_02012026_22_06_45_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201006","file1":"1402201004","file0":"1402200999","file4":"1402201010","file5":"1402201013","file3":"1402201008"},"map_files_photo_id_array":[{"photo_id":"1402201013","filename":"file5"},{"photo_id":"1402201006","filename":"file2"},{"photo_id":"1402201010","filename":"file4"},{"photo_id":"1402201004","filename":"file1"},{"photo_id":"1402200999","filename":"file0"},{"photo_id":"1402201008","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201010":["hashtag1","hashtag2"]},{"1402201004":["hashtag1","hashtag2"]},{"1402201006":["hashtag1","hashtag2"]},{"1402200999":["hashtag1","hashtag2"]},{"1402201008":["hashtag1","hashtag2"]},{"1402201013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201010, 1402201004, 1402201006, 1402200999, 1402201008, 1402201013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97936677932739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:44:02.554661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_55_9590.jpg', '/home/pi/Desktop/images/02012026/22/06/image_02012026_22_07_04_9788.jpg', '/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_25_9752.jpg', '/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_35_9864.jpg', '/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_45_10602.jpg', '/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/06/image_02012026_22_06_55_9590.jpg
/home/pi/Desktop/images/02012026/22/06/image_02012026_22_07_04_9788.jpg
/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_25_9752.jpg
/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_35_9864.jpg
/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_45_10602.jpg
/home/pi/Desktop/images/02012026/22/07/image_02012026_22_07_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":["1402201019","1402201030","1402201023","1402201017","1402201026","1402201016"],"photo_ids_order":["1402201016","1402201017","1402201019","1402201023","1402201026","1402201030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80e1df88db622ad72e11d3bf88cbd293.jpg","text":"TemporaryFile(/tmp/multipartBody7584889257208195671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390303121,"filename":"image_02012026_22_07_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/2/76d46adc9064eaca9aa8274e3d6c6454.jpg","text":"TemporaryFile(/tmp/multipartBody29274294331434765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390303121,"filename":"image_02012026_22_07_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/2/252d55f4c3c1ed33084b6704ff607d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8502116208615682401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390303121,"filename":"image_02012026_22_07_35_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/2/86093e03edb3479362d3521fbaeb930d.jpg","text":"TemporaryFile(/tmp/multipartBody5228364075497519573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390303121,"filename":"image_02012026_22_07_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/2/55e72864419591dc3689708b578fdccd.jpg","text":"TemporaryFile(/tmp/multipartBody2989372535221485602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390303121,"filename":"image_02012026_22_07_45_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/2/90ead6e47b5c9a8c09bb82061cda2c7e.jpg","text":"TemporaryFile(/tmp/multipartBody3091467075876501601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390303121,"filename":"image_02012026_22_06_55_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201019","file1":"1402201017","file0":"1402201016","file4":"1402201026","file5":"1402201030","file3":"1402201023"},"map_files_photo_id_array":[{"photo_id":"1402201030","filename":"file5"},{"photo_id":"1402201019","filename":"file2"},{"photo_id":"1402201026","filename":"file4"},{"photo_id":"1402201017","filename":"file1"},{"photo_id":"1402201016","filename":"file0"},{"photo_id":"1402201023","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201019":["hashtag1","hashtag2"]},{"1402201030":["hashtag1","hashtag2"]},{"1402201023":["hashtag1","hashtag2"]},{"1402201017":["hashtag1","hashtag2"]},{"1402201026":["hashtag1","hashtag2"]},{"1402201016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201019, 1402201030, 1402201023, 1402201017, 1402201026, 1402201016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73709678649902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:44:41.989978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_30_1605.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_39_1852.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_41_1523.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_44_1513.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_46_1565.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_47_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_30_1605.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_39_1852.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_41_1523.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_44_1513.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_46_1565.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_47_1546.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.598297357559204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:45:02.939191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/07/image_02012026_22_08_05_9897.jpg', '/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_14_9724.jpg', '/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_25_10732.jpg', '/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_35_9566.jpg', '/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_44_9662.jpg', '/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_55_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/07/image_02012026_22_08_05_9897.jpg
/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_14_9724.jpg
/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_25_10732.jpg
/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_35_9566.jpg
/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_44_9662.jpg
/home/pi/Desktop/images/02012026/22/08/image_02012026_22_08_55_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201060","1402201071","1402201068","1402201062","1402201065","1402201064"],"photo_ids_order":["1402201060","1402201062","1402201064","1402201065","1402201068","1402201071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec4f5c8b92223035b4a2c7f5cd5082f9.jpg","text":"TemporaryFile(/tmp/multipartBody8098212423561810750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390363565,"filename":"image_02012026_22_08_05_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/2/e8150baf1dc97533a36d5fea0b1102e9.jpg","text":"TemporaryFile(/tmp/multipartBody2658858433936539555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390363565,"filename":"image_02012026_22_08_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/2/74f6530f39369f3278a865063163732b.jpg","text":"TemporaryFile(/tmp/multipartBody2607150542906107745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390363565,"filename":"image_02012026_22_08_44_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/2/66681a8644ffab87cda3c7bd21bc9c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3915231930277596608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390363565,"filename":"image_02012026_22_08_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/2/c1969128887800e7072460ebb1c6a8ce.jpg","text":"TemporaryFile(/tmp/multipartBody1986421406014586247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390363565,"filename":"image_02012026_22_08_35_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/2/f62c185f8a2eef1a5e14a938a5ab8ccf.jpg","text":"TemporaryFile(/tmp/multipartBody6422339057267155492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390363565,"filename":"image_02012026_22_08_25_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201064","file1":"1402201062","file0":"1402201060","file4":"1402201068","file5":"1402201071","file3":"1402201065"},"map_files_photo_id_array":[{"photo_id":"1402201071","filename":"file5"},{"photo_id":"1402201064","filename":"file2"},{"photo_id":"1402201068","filename":"file4"},{"photo_id":"1402201062","filename":"file1"},{"photo_id":"1402201060","filename":"file0"},{"photo_id":"1402201065","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201060":["hashtag1","hashtag2"]},{"1402201071":["hashtag1","hashtag2"]},{"1402201068":["hashtag1","hashtag2"]},{"1402201062":["hashtag1","hashtag2"]},{"1402201065":["hashtag1","hashtag2"]},{"1402201064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201060, 1402201071, 1402201068, 1402201062, 1402201065, 1402201064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95385146141052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:45:42.211665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_30_1605.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_39_1852.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_41_1523.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_44_1513.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_46_1565.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_47_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_30_1605.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_39_1852.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_41_1523.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_44_1513.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_46_1565.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_47_1546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201081","1402201080","1402201083","1402201082","1402201076","1402201079"],"photo_ids_order":["1402201076","1402201079","1402201080","1402201081","1402201082","1402201083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d773a242aabfeae1fd2527a5222cfda9.jpg","text":"TemporaryFile(/tmp/multipartBody6746588761886391099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390403884,"filename":"image_05112025_23_41_44_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a29f01f98f6c3bfaa0f7be94ff73d1f2.jpg","text":"TemporaryFile(/tmp/multipartBody1157510366260720560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390403884,"filename":"image_05112025_23_41_41_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/2/be6989bb347f82319c07b97da147e9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2969910324234165161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390403884,"filename":"image_05112025_23_41_47_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/2/10c107ddcafdb6e46fa8c2d34dab4604.jpg","text":"TemporaryFile(/tmp/multipartBody4631957131000251116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390403884,"filename":"image_05112025_23_41_46_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/2/1a94d7431bada26bf8c8ab0a58982561.jpg","text":"TemporaryFile(/tmp/multipartBody160867251521476137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390403884,"filename":"image_05112025_23_41_30_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/2/59e05d5e2d5d6105b29c80ee47ba26f8.jpg","text":"TemporaryFile(/tmp/multipartBody2772540626686042284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390403884,"filename":"image_05112025_23_41_39_1852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201080","file1":"1402201079","file0":"1402201076","file4":"1402201082","file5":"1402201083","file3":"1402201081"},"map_files_photo_id_array":[{"photo_id":"1402201083","filename":"file5"},{"photo_id":"1402201080","filename":"file2"},{"photo_id":"1402201082","filename":"file4"},{"photo_id":"1402201079","filename":"file1"},{"photo_id":"1402201076","filename":"file0"},{"photo_id":"1402201081","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201081":["hashtag1","hashtag2"]},{"1402201080":["hashtag1","hashtag2"]},{"1402201083":["hashtag1","hashtag2"]},{"1402201082":["hashtag1","hashtag2"]},{"1402201076":["hashtag1","hashtag2"]},{"1402201079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201081, 1402201080, 1402201083, 1402201082, 1402201076, 1402201079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07241415977478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:46:22.394793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/08/image_02012026_22_09_05_9709.jpg', '/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_14_9742.jpg', '/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_25_10592.jpg', '/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_35_9636.jpg', '/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_44_9668.jpg', '/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_55_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/08/image_02012026_22_09_05_9709.jpg
/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_14_9742.jpg
/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_25_10592.jpg
/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_35_9636.jpg
/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_44_9668.jpg
/home/pi/Desktop/images/02012026/22/09/image_02012026_22_09_55_10564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201093","1402201105","1402201098","1402201102","1402201091","1402201100"],"photo_ids_order":["1402201091","1402201093","1402201098","1402201100","1402201102","1402201105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee3e4ad4985f20a45402db1fb5e3e808.jpg","text":"TemporaryFile(/tmp/multipartBody1266761334480411403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390443013,"filename":"image_02012026_22_09_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/2/db76f9e894fde2308252be177e8352e9.jpg","text":"TemporaryFile(/tmp/multipartBody3591212627023041013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390443013,"filename":"image_02012026_22_09_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/2/c851d5b265d2384587ea25c0f0f3e639.jpg","text":"TemporaryFile(/tmp/multipartBody6647780723711612130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390443013,"filename":"image_02012026_22_09_25_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/2/5c8ec24f3ac82c2d34bbe759418b5c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3482883039429034981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390443013,"filename":"image_02012026_22_09_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/2/fabcb56d822b60e82879d602ac2d49ae.jpg","text":"TemporaryFile(/tmp/multipartBody3962391625329463057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390443013,"filename":"image_02012026_22_09_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/2/3b330da78aa6407de4e22b0609c3c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7642015683510850178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390443013,"filename":"image_02012026_22_09_35_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201098","file1":"1402201093","file0":"1402201091","file4":"1402201102","file5":"1402201105","file3":"1402201100"},"map_files_photo_id_array":[{"photo_id":"1402201105","filename":"file5"},{"photo_id":"1402201098","filename":"file2"},{"photo_id":"1402201102","filename":"file4"},{"photo_id":"1402201093","filename":"file1"},{"photo_id":"1402201091","filename":"file0"},{"photo_id":"1402201100","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201093":["hashtag1","hashtag2"]},{"1402201105":["hashtag1","hashtag2"]},{"1402201098":["hashtag1","hashtag2"]},{"1402201102":["hashtag1","hashtag2"]},{"1402201091":["hashtag1","hashtag2"]},{"1402201100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201093, 1402201105, 1402201098, 1402201102, 1402201091, 1402201100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38212013244629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:47:03.328842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_15_10054.jpg', '/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_25_10677.jpg', '/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_35_9594.jpg', '/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_45_9691.jpg', '/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_55_10741.jpg', '/home/pi/Desktop/images/02012026/22/10/image_02012026_22_11_05_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_15_10054.jpg
/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_25_10677.jpg
/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_35_9594.jpg
/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_45_9691.jpg
/home/pi/Desktop/images/02012026/22/10/image_02012026_22_10_55_10741.jpg
/home/pi/Desktop/images/02012026/22/10/image_02012026_22_11_05_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":["1402201118","1402201123","1402201120","1402201130","1402201127","1402201112"],"photo_ids_order":["1402201112","1402201118","1402201120","1402201123","1402201127","1402201130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10f89b1143cb169843d2d8c1a0734bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1681080472168257542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390483951,"filename":"image_02012026_22_10_25_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/2/fb3f43f1f5847cac418e1468ecef069b.jpg","text":"TemporaryFile(/tmp/multipartBody3730137136610829265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390483951,"filename":"image_02012026_22_10_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/2/3b3991b56cc797be6e0c2097f382255f.jpg","text":"TemporaryFile(/tmp/multipartBody3564877088854553420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390483951,"filename":"image_02012026_22_10_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/2/3c7b05537852226451e11be4d87c836e.jpg","text":"TemporaryFile(/tmp/multipartBody6617061336208991139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390483951,"filename":"image_02012026_22_11_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/2/151951de926a31b95352ce06c597f389.jpg","text":"TemporaryFile(/tmp/multipartBody8412674449668345710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390483951,"filename":"image_02012026_22_10_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/2/229532b153b35951f4cf4997a992d95e.jpg","text":"TemporaryFile(/tmp/multipartBody1417322997342152843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390483951,"filename":"image_02012026_22_10_15_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201120","file1":"1402201118","file0":"1402201112","file4":"1402201127","file5":"1402201130","file3":"1402201123"},"map_files_photo_id_array":[{"photo_id":"1402201130","filename":"file5"},{"photo_id":"1402201120","filename":"file2"},{"photo_id":"1402201127","filename":"file4"},{"photo_id":"1402201118","filename":"file1"},{"photo_id":"1402201112","filename":"file0"},{"photo_id":"1402201123","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201118":["hashtag1","hashtag2"]},{"1402201123":["hashtag1","hashtag2"]},{"1402201120":["hashtag1","hashtag2"]},{"1402201130":["hashtag1","hashtag2"]},{"1402201127":["hashtag1","hashtag2"]},{"1402201112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201118, 1402201123, 1402201120, 1402201130, 1402201127, 1402201112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02734851837158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:47:42.650789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_49_1723.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_50_1552.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_52_1662.jpg', '/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_54_1649.jpg', '/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_07_3011.jpg', '/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_10_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_49_1723.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_50_1552.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_52_1662.jpg
/home/pi/Desktop/images/05112025/23/41/image_05112025_23_41_54_1649.jpg
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_07_3011.jpg
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_10_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201141","1402201140","1402201143","1402201139","1402201142","1402201136"],"photo_ids_order":["1402201136","1402201139","1402201140","1402201141","1402201142","1402201143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65171d2a532cc79a2a729c0fc3b1ac4d.jpg","text":"TemporaryFile(/tmp/multipartBody1946288689059506815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390524432,"filename":"image_05112025_23_41_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/2/9a74b169fc69d0bda2940855a5cfbf5d.jpg","text":"TemporaryFile(/tmp/multipartBody7319854524187347910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390524432,"filename":"image_05112025_23_41_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/2/528eedd72767ef7df822356d7238f5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7940803425923081292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390524432,"filename":"image_05112025_23_44_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/2/fb078f46b1519ae09fe953ec444426e0.jpg","text":"TemporaryFile(/tmp/multipartBody6469395838862963842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390524432,"filename":"image_05112025_23_41_50_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/2/d2a410d80a96abc27d2cad4d2528ae19.jpg","text":"TemporaryFile(/tmp/multipartBody1699277715306746302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390524432,"filename":"image_05112025_23_44_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/2/1916c25430638f7f7434e9e74a767046.jpg","text":"TemporaryFile(/tmp/multipartBody2660448016396759284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390524432,"filename":"image_05112025_23_41_49_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201140","file1":"1402201139","file0":"1402201136","file4":"1402201142","file5":"1402201143","file3":"1402201141"},"map_files_photo_id_array":[{"photo_id":"1402201143","filename":"file5"},{"photo_id":"1402201140","filename":"file2"},{"photo_id":"1402201142","filename":"file4"},{"photo_id":"1402201139","filename":"file1"},{"photo_id":"1402201136","filename":"file0"},{"photo_id":"1402201141","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201141":["hashtag1","hashtag2"]},{"1402201140":["hashtag1","hashtag2"]},{"1402201143":["hashtag1","hashtag2"]},{"1402201139":["hashtag1","hashtag2"]},{"1402201142":["hashtag1","hashtag2"]},{"1402201136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201141, 1402201140, 1402201143, 1402201139, 1402201142, 1402201136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07625222206116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:48:22.785534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_15_9619.jpg', '/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_26_10711.jpg', '/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_35_9646.jpg', '/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_55_10649.jpg', '/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_15_9675.jpg', '/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_25_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_15_9619.jpg
/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_26_10711.jpg
/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_35_9646.jpg
/home/pi/Desktop/images/02012026/22/11/image_02012026_22_11_55_10649.jpg
/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_15_9675.jpg
/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_25_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201180","1402201174","1402201177","1402201171","1402201182","1402201185"],"photo_ids_order":["1402201171","1402201174","1402201177","1402201180","1402201182","1402201185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2c14e1d6efac64eee2d5cbe564c2dd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6592898164131541074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390563391,"filename":"image_02012026_22_11_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/2/0421ed001c2e6e55b01296bf48545e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2020806940094953272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390563391,"filename":"image_02012026_22_11_26_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/2/30e00b69abd167490f14247f164d9e39.jpg","text":"TemporaryFile(/tmp/multipartBody6472817866883089366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390563391,"filename":"image_02012026_22_11_35_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/2/25fe9c24c1763285d8f260b7aeb24f23.jpg","text":"TemporaryFile(/tmp/multipartBody284781966637038842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390563391,"filename":"image_02012026_22_11_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/2/c920ad55967d27899d5c7b004cc70e64.jpg","text":"TemporaryFile(/tmp/multipartBody7671399371179615809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390563391,"filename":"image_02012026_22_12_15_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/2/a04ca89ae68f2adc1701b0ea970aacca.jpg","text":"TemporaryFile(/tmp/multipartBody5876951473796302003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390563391,"filename":"image_02012026_22_12_25_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201177","file1":"1402201174","file0":"1402201171","file4":"1402201182","file5":"1402201185","file3":"1402201180"},"map_files_photo_id_array":[{"photo_id":"1402201185","filename":"file5"},{"photo_id":"1402201177","filename":"file2"},{"photo_id":"1402201182","filename":"file4"},{"photo_id":"1402201174","filename":"file1"},{"photo_id":"1402201171","filename":"file0"},{"photo_id":"1402201180","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201180":["hashtag1","hashtag2"]},{"1402201174":["hashtag1","hashtag2"]},{"1402201177":["hashtag1","hashtag2"]},{"1402201171":["hashtag1","hashtag2"]},{"1402201182":["hashtag1","hashtag2"]},{"1402201185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201180, 1402201174, 1402201177, 1402201171, 1402201182, 1402201185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90186333656311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:49:02.860655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_35_9629.jpg', '/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_45_9720.jpg', '/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_55_10659.jpg', '/home/pi/Desktop/images/02012026/22/12/image_02012026_22_13_05_9687.jpg', '/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_15_9548.jpg', '/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_25_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_35_9629.jpg
/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_45_9720.jpg
/home/pi/Desktop/images/02012026/22/12/image_02012026_22_12_55_10659.jpg
/home/pi/Desktop/images/02012026/22/12/image_02012026_22_13_05_9687.jpg
/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_15_9548.jpg
/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_25_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":["1402201202","1402201198","1402201204","1402201194","1402201196","1402201200"],"photo_ids_order":["1402201194","1402201196","1402201198","1402201200","1402201202","1402201204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/078259fd9fdc83066f4f9ed947358ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4136195165615648798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390603747,"filename":"image_02012026_22_13_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/2/7d0605182320021c91d5b22b9cbc4dca.jpg","text":"TemporaryFile(/tmp/multipartBody5712108967574448428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390603747,"filename":"image_02012026_22_12_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/2/698f544d075441c1a7ff75664f49e113.jpg","text":"TemporaryFile(/tmp/multipartBody4748761329428919121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390603747,"filename":"image_02012026_22_13_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/2/908e3d34509243c5b386d590ba0feaca.jpg","text":"TemporaryFile(/tmp/multipartBody5124500796398931655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390603747,"filename":"image_02012026_22_12_35_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/2/ac4a953782129de6dce5e11878d1af3a.jpg","text":"TemporaryFile(/tmp/multipartBody6193278838744932198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390603747,"filename":"image_02012026_22_12_45_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/2/a1ccef9322b3b4f7cd676d154c9a8b39.jpg","text":"TemporaryFile(/tmp/multipartBody5891830149680075838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390603747,"filename":"image_02012026_22_13_05_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201198","file1":"1402201196","file0":"1402201194","file4":"1402201202","file5":"1402201204","file3":"1402201200"},"map_files_photo_id_array":[{"photo_id":"1402201204","filename":"file5"},{"photo_id":"1402201198","filename":"file2"},{"photo_id":"1402201202","filename":"file4"},{"photo_id":"1402201196","filename":"file1"},{"photo_id":"1402201194","filename":"file0"},{"photo_id":"1402201200","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201202":["hashtag1","hashtag2"]},{"1402201198":["hashtag1","hashtag2"]},{"1402201204":["hashtag1","hashtag2"]},{"1402201194":["hashtag1","hashtag2"]},{"1402201196":["hashtag1","hashtag2"]},{"1402201200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201202, 1402201198, 1402201204, 1402201194, 1402201196, 1402201200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.473289489746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:49:41.977287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_13_2699.jpg', '/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_19_3711.jpg', '/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_22_2904.jpg', '/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_29_3672.jpg', '/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_31_2620.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_13_32130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_13_2699.jpg
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_19_3711.jpg
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_22_2904.jpg
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_29_3672.jpg
/home/pi/Desktop/images/05112025/23/44/image_05112025_23_44_31_2620.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_13_32130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201217","1402201222","1402201219","1402201215","1402201212","1402201220"],"photo_ids_order":["1402201212","1402201215","1402201217","1402201219","1402201220","1402201222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/72dc05e2aefa0b9c348fd6e03d01c783.jpg","text":"TemporaryFile(/tmp/multipartBody2345227658713570046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390643790,"filename":"image_05112025_23_44_22_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be8d6a7ef6364932589d38020f680c56.jpg","text":"TemporaryFile(/tmp/multipartBody8419354728251365274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390643790,"filename":"image_05112025_23_45_13_32130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9b707e9b7d887c4fcbf43ff06b8aea64.jpg","text":"TemporaryFile(/tmp/multipartBody3084275568084190656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390643790,"filename":"image_05112025_23_44_29_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/2/68e8480db0bf4b686fc913f1c732ffd5.jpg","text":"TemporaryFile(/tmp/multipartBody6375952645639948721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390643790,"filename":"image_05112025_23_44_19_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/2/84a7010829015fffa9f6021b4309afee.jpg","text":"TemporaryFile(/tmp/multipartBody4513892026802069599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390643790,"filename":"image_05112025_23_44_13_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/2/b4bd1cc270b02dda2390257a8e785892.jpg","text":"TemporaryFile(/tmp/multipartBody3769616876440227468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390643790,"filename":"image_05112025_23_44_31_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201217","file1":"1402201215","file0":"1402201212","file4":"1402201220","file5":"1402201222","file3":"1402201219"},"map_files_photo_id_array":[{"photo_id":"1402201222","filename":"file5"},{"photo_id":"1402201217","filename":"file2"},{"photo_id":"1402201220","filename":"file4"},{"photo_id":"1402201215","filename":"file1"},{"photo_id":"1402201212","filename":"file0"},{"photo_id":"1402201219","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201217":["hashtag1","hashtag2"]},{"1402201222":["hashtag1","hashtag2"]},{"1402201219":["hashtag1","hashtag2"]},{"1402201215":["hashtag1","hashtag2"]},{"1402201212":["hashtag1","hashtag2"]},{"1402201220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201217, 1402201222, 1402201219, 1402201215, 1402201212, 1402201220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21398067474365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:50:22.242188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_35_9605.jpg', '/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_45_10531.jpg', '/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_55_9625.jpg', '/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_15_10680.jpg', '/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_25_9634.jpg', '/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_36_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_35_9605.jpg
/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_45_10531.jpg
/home/pi/Desktop/images/02012026/22/13/image_02012026_22_13_55_9625.jpg
/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_15_10680.jpg
/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_25_9634.jpg
/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_36_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":["1402201243","1402201228","1402201233","1402201230","1402201247","1402201241"],"photo_ids_order":["1402201228","1402201230","1402201233","1402201241","1402201243","1402201247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9f6fa818218ddc87a53b635ea8048b75.jpg","text":"TemporaryFile(/tmp/multipartBody6183340632357169265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390682878,"filename":"image_02012026_22_14_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/2/32daa832c9e8a70be98da41511c9071d.jpg","text":"TemporaryFile(/tmp/multipartBody434150098533293276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390682878,"filename":"image_02012026_22_13_35_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/2/7438afd7dc83efa7452a25824ec0ef08.jpg","text":"TemporaryFile(/tmp/multipartBody5396830489439879265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390682878,"filename":"image_02012026_22_13_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/2/9332020b96cfcc5da307f84f9b8b4d72.jpg","text":"TemporaryFile(/tmp/multipartBody6740413253868858069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390682878,"filename":"image_02012026_22_13_45_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/2/5e37c40c4afa0c501d1e83a23b8884f7.jpg","text":"TemporaryFile(/tmp/multipartBody2033159736155755701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390682878,"filename":"image_02012026_22_14_36_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/2/b032e7f09127afb3c99078c8330b5e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2747131047031475375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390682878,"filename":"image_02012026_22_14_15_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201233","file1":"1402201230","file0":"1402201228","file4":"1402201243","file5":"1402201247","file3":"1402201241"},"map_files_photo_id_array":[{"photo_id":"1402201247","filename":"file5"},{"photo_id":"1402201233","filename":"file2"},{"photo_id":"1402201243","filename":"file4"},{"photo_id":"1402201230","filename":"file1"},{"photo_id":"1402201228","filename":"file0"},{"photo_id":"1402201241","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201243":["hashtag1","hashtag2"]},{"1402201228":["hashtag1","hashtag2"]},{"1402201233":["hashtag1","hashtag2"]},{"1402201230":["hashtag1","hashtag2"]},{"1402201247":["hashtag1","hashtag2"]},{"1402201241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201243, 1402201228, 1402201233, 1402201230, 1402201247, 1402201241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88951802253723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:51:02.959021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_45_9697.jpg', '/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_55_9836.jpg', '/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_14_10055.jpg', '/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_25_10559.jpg', '/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_34_9672.jpg', '/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_45_10227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_45_9697.jpg
/home/pi/Desktop/images/02012026/22/14/image_02012026_22_14_55_9836.jpg
/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_14_10055.jpg
/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_25_10559.jpg
/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_34_9672.jpg
/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_45_10227.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201255","1402201258","1402201252","1402201260","1402201248","1402201250"],"photo_ids_order":["1402201248","1402201250","1402201252","1402201255","1402201258","1402201260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ff43ba9fe805d8eeade9619fc7043cad.jpg","text":"TemporaryFile(/tmp/multipartBody3911367298991587208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390723576,"filename":"image_02012026_22_15_25_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/2/3d96b2160715cf072783059a23381faf.jpg","text":"TemporaryFile(/tmp/multipartBody1883026468843607041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390723576,"filename":"image_02012026_22_15_34_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/2/3b7b03b216654532e20eeb5403797eac.jpg","text":"TemporaryFile(/tmp/multipartBody4771433959790233749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390723576,"filename":"image_02012026_22_15_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/2/da419414e558b186340b54174830439b.jpg","text":"TemporaryFile(/tmp/multipartBody8132507545126586527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390723576,"filename":"image_02012026_22_15_45_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e04ba60221adffe39045bd17d592c404.jpg","text":"TemporaryFile(/tmp/multipartBody4753415523505278567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390723576,"filename":"image_02012026_22_14_45_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/2/649692589ca3c7ba83613193f57b6973.jpg","text":"TemporaryFile(/tmp/multipartBody2661236133297158241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390723576,"filename":"image_02012026_22_14_55_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201252","file1":"1402201250","file0":"1402201248","file4":"1402201258","file5":"1402201260","file3":"1402201255"},"map_files_photo_id_array":[{"photo_id":"1402201260","filename":"file5"},{"photo_id":"1402201252","filename":"file2"},{"photo_id":"1402201258","filename":"file4"},{"photo_id":"1402201250","filename":"file1"},{"photo_id":"1402201248","filename":"file0"},{"photo_id":"1402201255","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201255":["hashtag1","hashtag2"]},{"1402201258":["hashtag1","hashtag2"]},{"1402201252":["hashtag1","hashtag2"]},{"1402201260":["hashtag1","hashtag2"]},{"1402201248":["hashtag1","hashtag2"]},{"1402201250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201255, 1402201258, 1402201252, 1402201260, 1402201248, 1402201250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49850273132324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:51:42.323435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_16_1689.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_18_1817.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_23_1811.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_25_1605.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_34_1746.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_39_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_16_1689.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_18_1817.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_23_1811.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_25_1605.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_34_1746.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_39_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":["1402201267","1402201270","1402201266","1402201269","1402201271","1402201268"],"photo_ids_order":["1402201266","1402201267","1402201268","1402201269","1402201270","1402201271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c2f9b00d6b5a1cac879036aac786a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4747410362283013637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390764149,"filename":"image_05112025_23_45_18_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/2/bb628e5780b4a5a5bee80dac76d017e6.jpg","text":"TemporaryFile(/tmp/multipartBody5857847010192268939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390764149,"filename":"image_05112025_23_45_34_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/2/f01eee13c6c787da9dfb4a4fc5586216.jpg","text":"TemporaryFile(/tmp/multipartBody3911670511540619128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390764149,"filename":"image_05112025_23_45_16_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/2/1a2270a9f421687870b8344da6fed00b.jpg","text":"TemporaryFile(/tmp/multipartBody6548116918150888866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390764149,"filename":"image_05112025_23_45_25_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/2/360d634ee24e6d76fed14c074e110100.jpg","text":"TemporaryFile(/tmp/multipartBody690344059104937650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390764149,"filename":"image_05112025_23_45_39_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/2/d5575359ab35ed4cf8f80efacf4fe5a4.jpg","text":"TemporaryFile(/tmp/multipartBody3814853706417533493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390764149,"filename":"image_05112025_23_45_23_1811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201268","file1":"1402201267","file0":"1402201266","file4":"1402201270","file5":"1402201271","file3":"1402201269"},"map_files_photo_id_array":[{"photo_id":"1402201271","filename":"file5"},{"photo_id":"1402201268","filename":"file2"},{"photo_id":"1402201270","filename":"file4"},{"photo_id":"1402201267","filename":"file1"},{"photo_id":"1402201266","filename":"file0"},{"photo_id":"1402201269","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201267":["hashtag1","hashtag2"]},{"1402201270":["hashtag1","hashtag2"]},{"1402201266":["hashtag1","hashtag2"]},{"1402201269":["hashtag1","hashtag2"]},{"1402201271":["hashtag1","hashtag2"]},{"1402201268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201267, 1402201270, 1402201266, 1402201269, 1402201271, 1402201268)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.05840444564819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:52:42.513871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_41_1658.jpg', '/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_48_6266.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_07_3010.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_10_3671.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_13_2657.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_17_4395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_41_1658.jpg
/home/pi/Desktop/images/05112025/23/45/image_05112025_23_45_48_6266.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_07_3010.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_10_3671.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_13_2657.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_17_4395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201291","1402201288","1402201290","1402201293","1402201287","1402201289"],"photo_ids_order":["1402201287","1402201288","1402201289","1402201290","1402201291","1402201293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dc63b40ff576b4cfb9215ba8b2a2f280.jpg","text":"TemporaryFile(/tmp/multipartBody8996170832206114637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390827344,"filename":"image_05112025_23_48_13_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/2/7614563c71ec987efc3cea5c7dab7362.jpg","text":"TemporaryFile(/tmp/multipartBody3299938957426102130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390827344,"filename":"image_05112025_23_45_48_6266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d056c5449cabb56ff8b1853f7cae7f70.jpg","text":"TemporaryFile(/tmp/multipartBody1057155137700012362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390827344,"filename":"image_05112025_23_48_10_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/2/2fa9b531c94f99182018fa8b5961e512.jpg","text":"TemporaryFile(/tmp/multipartBody1711644764773857154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390827344,"filename":"image_05112025_23_48_17_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/2/034d6ea2bb7aca8d726639297452395d.jpg","text":"TemporaryFile(/tmp/multipartBody8892215269743412209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390827344,"filename":"image_05112025_23_45_41_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/2/4f1fbc37efd30bf8c0a6383ede727565.jpg","text":"TemporaryFile(/tmp/multipartBody7710616177074280775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390827344,"filename":"image_05112025_23_48_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201289","file1":"1402201288","file0":"1402201287","file4":"1402201291","file5":"1402201293","file3":"1402201290"},"map_files_photo_id_array":[{"photo_id":"1402201293","filename":"file5"},{"photo_id":"1402201289","filename":"file2"},{"photo_id":"1402201291","filename":"file4"},{"photo_id":"1402201288","filename":"file1"},{"photo_id":"1402201287","filename":"file0"},{"photo_id":"1402201290","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201291":["hashtag1","hashtag2"]},{"1402201288":["hashtag1","hashtag2"]},{"1402201290":["hashtag1","hashtag2"]},{"1402201293":["hashtag1","hashtag2"]},{"1402201287":["hashtag1","hashtag2"]},{"1402201289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201291, 1402201288, 1402201290, 1402201293, 1402201287, 1402201289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89075303077698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 22:53:25.866546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_54_9640.jpg', '/home/pi/Desktop/images/02012026/22/15/image_02012026_22_16_05_10713.jpg', '/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_15_9775.jpg', '/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_24_9560.jpg', '/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_45_10624.jpg', '/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/15/image_02012026_22_15_54_9640.jpg
/home/pi/Desktop/images/02012026/22/15/image_02012026_22_16_05_10713.jpg
/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_15_9775.jpg
/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_24_9560.jpg
/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_45_10624.jpg
/home/pi/Desktop/images/02012026/22/16/image_02012026_22_16_54_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":["1402201301","1402201303","1402201314","1402201305","1402201310","1402201313"],"photo_ids_order":["1402201301","1402201303","1402201305","1402201310","1402201313","1402201314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/958d8393f5d520f5d8f2673e8f259149.jpg","text":"TemporaryFile(/tmp/multipartBody8982650948640491895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390866418,"filename":"image_02012026_22_15_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/2/33c1f55b68d3de5aebac9376e5941762.jpg","text":"TemporaryFile(/tmp/multipartBody7012342358153856327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390866418,"filename":"image_02012026_22_16_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/2/fe8a3af498815d1a9fe8d29200b91bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6559268859407920991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390866418,"filename":"image_02012026_22_16_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/2/f846867784441d6befeee81720e95d76.jpg","text":"TemporaryFile(/tmp/multipartBody813833935536959587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390866418,"filename":"image_02012026_22_16_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/2/c4c130f8628676fdae3d9f169a6e8dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5627493961644141238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390866418,"filename":"image_02012026_22_16_24_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/2/1f83dd91075f81a22e7778c6c845824c.jpg","text":"TemporaryFile(/tmp/multipartBody6236297574217428291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390866418,"filename":"image_02012026_22_16_45_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201305","file1":"1402201303","file0":"1402201301","file4":"1402201313","file5":"1402201314","file3":"1402201310"},"map_files_photo_id_array":[{"photo_id":"1402201314","filename":"file5"},{"photo_id":"1402201305","filename":"file2"},{"photo_id":"1402201313","filename":"file4"},{"photo_id":"1402201303","filename":"file1"},{"photo_id":"1402201301","filename":"file0"},{"photo_id":"1402201310","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201301":["hashtag1","hashtag2"]},{"1402201303":["hashtag1","hashtag2"]},{"1402201314":["hashtag1","hashtag2"]},{"1402201305":["hashtag1","hashtag2"]},{"1402201310":["hashtag1","hashtag2"]},{"1402201313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201301, 1402201303, 1402201314, 1402201305, 1402201310, 1402201313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.221938371658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 22:54:12.072263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_19_1634.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_31_1613.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_34_1635.jpg', '/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_36_1679.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_10_20415.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_11_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_19_1634.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_31_1613.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_34_1635.jpg
/home/pi/Desktop/images/05112025/23/48/image_05112025_23_48_36_1679.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_10_20415.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_11_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201322","1402201330","1402201333","1402201326","1402201338","1402201317"],"photo_ids_order":["1402201317","1402201322","1402201326","1402201330","1402201333","1402201338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7417344395ce38ab8a7203498e4592db.jpg","text":"TemporaryFile(/tmp/multipartBody4086156674113134707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390913760,"filename":"image_05112025_23_48_31_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/2/2bfabb34dd56b3eb99a6a1b99c0aaf7b.jpg","text":"TemporaryFile(/tmp/multipartBody2057785040786079372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390913760,"filename":"image_05112025_23_48_36_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/2/a03f38ece634ac64c62144250c95121c.jpg","text":"TemporaryFile(/tmp/multipartBody6304858336905206660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390913760,"filename":"image_05112025_23_49_10_20415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fddc687880978137c405d82523b6ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody6476329404551131800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390913760,"filename":"image_05112025_23_48_34_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/2/03e5eeabbc9f69201d73b19e1bb5b44c.jpg","text":"TemporaryFile(/tmp/multipartBody7086880486830470131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390913760,"filename":"image_05112025_23_49_11_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/2/44cab15c8fae420640cca6027797eecd.jpg","text":"TemporaryFile(/tmp/multipartBody1578236145189231452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390913760,"filename":"image_05112025_23_48_19_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201326","file1":"1402201322","file0":"1402201317","file4":"1402201333","file5":"1402201338","file3":"1402201330"},"map_files_photo_id_array":[{"photo_id":"1402201338","filename":"file5"},{"photo_id":"1402201326","filename":"file2"},{"photo_id":"1402201333","filename":"file4"},{"photo_id":"1402201322","filename":"file1"},{"photo_id":"1402201317","filename":"file0"},{"photo_id":"1402201330","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201322":["hashtag1","hashtag2"]},{"1402201330":["hashtag1","hashtag2"]},{"1402201333":["hashtag1","hashtag2"]},{"1402201326":["hashtag1","hashtag2"]},{"1402201338":["hashtag1","hashtag2"]},{"1402201317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201322, 1402201330, 1402201333, 1402201326, 1402201338, 1402201317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55429244041443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:55:02.750386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 22:55:12.197951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_21_1533.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_23_1788.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_29_1777.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_33_1739.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_34_1712.jpg', '/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_36_1844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_21_1533.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_23_1788.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_29_1777.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_33_1739.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_34_1712.jpg
/home/pi/Desktop/images/05112025/23/49/image_05112025_23_49_36_1844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201384","1402201360","1402201354","1402201356","1402201358","1402201349"],"photo_ids_order":["1402201349","1402201354","1402201356","1402201358","1402201360","1402201384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ddadeda135782638859f159485fa20f3.jpg","text":"TemporaryFile(/tmp/multipartBody9191603018808959291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390979815,"filename":"image_05112025_23_49_36_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/2/cd1df0dcc228f2d126db6a3ad3c61d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6101338501494946906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390979815,"filename":"image_05112025_23_49_34_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/2/0f3e4be8432133ff4ae01757cb8fdbc9.jpg","text":"TemporaryFile(/tmp/multipartBody1210936665721828666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390979815,"filename":"image_05112025_23_49_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/2/ff04b6a5ef31044de320a80682a2f0a6.jpg","text":"TemporaryFile(/tmp/multipartBody2992705149190256358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390979815,"filename":"image_05112025_23_49_29_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/2/13f7ef1eedb71ef76248144d059afbd5.jpg","text":"TemporaryFile(/tmp/multipartBody8367409243826543827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390979815,"filename":"image_05112025_23_49_33_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/2/cc814f12b43e50f15ba8a24b1bde2e0a.jpg","text":"TemporaryFile(/tmp/multipartBody7232375973245857293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767390979815,"filename":"image_05112025_23_49_21_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201356","file1":"1402201354","file0":"1402201349","file4":"1402201360","file5":"1402201384","file3":"1402201358"},"map_files_photo_id_array":[{"photo_id":"1402201384","filename":"file5"},{"photo_id":"1402201356","filename":"file2"},{"photo_id":"1402201360","filename":"file4"},{"photo_id":"1402201354","filename":"file1"},{"photo_id":"1402201349","filename":"file0"},{"photo_id":"1402201358","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201384":["hashtag1","hashtag2"]},{"1402201360":["hashtag1","hashtag2"]},{"1402201354":["hashtag1","hashtag2"]},{"1402201356":["hashtag1","hashtag2"]},{"1402201358":["hashtag1","hashtag2"]},{"1402201349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201384, 1402201360, 1402201354, 1402201356, 1402201358, 1402201349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.23385500907898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:56:02.801639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_15_9675.jpg', '/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_24_9587.jpg', '/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_35_10531.jpg', '/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_44_9610.jpg', '/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_55_10604.jpg', '/home/pi/Desktop/images/02012026/22/17/image_02012026_22_18_05_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_15_9675.jpg
/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_24_9587.jpg
/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_35_10531.jpg
/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_44_9610.jpg
/home/pi/Desktop/images/02012026/22/17/image_02012026_22_17_55_10604.jpg
/home/pi/Desktop/images/02012026/22/17/image_02012026_22_18_05_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":["1402201486","1402201489","1402201474","1402201482","1402201491","1402201484"],"photo_ids_order":["1402201474","1402201482","1402201484","1402201486","1402201489","1402201491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4e99703ffadc0ed9dcdad9eddd34b183.jpg","text":"TemporaryFile(/tmp/multipartBody6184982583043147945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391025961,"filename":"image_02012026_22_17_44_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/2/4ce88cdd013fa3625c2c9d819b04745a.jpg","text":"TemporaryFile(/tmp/multipartBody1240474740425727938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391025961,"filename":"image_02012026_22_17_55_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/2/22976ec206591e8962b925b27e4bfeb3.jpg","text":"TemporaryFile(/tmp/multipartBody1962445302503991316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391025961,"filename":"image_02012026_22_17_15_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/2/68c112faaf687497ac8ecab92744c4ba.jpg","text":"TemporaryFile(/tmp/multipartBody2021613040378565053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391025961,"filename":"image_02012026_22_17_24_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/2/b23c91df0e78e7bb21c419ba706660db.jpg","text":"TemporaryFile(/tmp/multipartBody6750056745015779344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391025961,"filename":"image_02012026_22_18_05_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/2/f64ba3919300783b642fded135ca68a6.jpg","text":"TemporaryFile(/tmp/multipartBody7735478720652084998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391025961,"filename":"image_02012026_22_17_35_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201484","file1":"1402201482","file0":"1402201474","file4":"1402201489","file5":"1402201491","file3":"1402201486"},"map_files_photo_id_array":[{"photo_id":"1402201491","filename":"file5"},{"photo_id":"1402201484","filename":"file2"},{"photo_id":"1402201489","filename":"file4"},{"photo_id":"1402201482","filename":"file1"},{"photo_id":"1402201474","filename":"file0"},{"photo_id":"1402201486","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201486":["hashtag1","hashtag2"]},{"1402201489":["hashtag1","hashtag2"]},{"1402201474":["hashtag1","hashtag2"]},{"1402201482":["hashtag1","hashtag2"]},{"1402201491":["hashtag1","hashtag2"]},{"1402201484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201486, 1402201489, 1402201474, 1402201482, 1402201491, 1402201484)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.21374583244324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:57:03.050253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 22:57:12.583337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/51/image_05112025_23_51_10_3905.jpg', '/home/pi/Desktop/images/05112025/23/54/image_05112025_23_54_10_3675.jpg', '/home/pi/Desktop/images/05112025/23/54/image_05112025_23_54_19_3578.jpg', '/home/pi/Desktop/images/05112025/23/54/image_05112025_23_54_46_2844.jpg', '/home/pi/Desktop/images/05112025/23/55/image_05112025_23_55_22_3649.jpg', '/home/pi/Desktop/images/05112025/23/55/image_05112025_23_55_33_10933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/51/image_05112025_23_51_10_3905.jpg
/home/pi/Desktop/images/05112025/23/54/image_05112025_23_54_10_3675.jpg
/home/pi/Desktop/images/05112025/23/54/image_05112025_23_54_19_3578.jpg
/home/pi/Desktop/images/05112025/23/54/image_05112025_23_54_46_2844.jpg
/home/pi/Desktop/images/05112025/23/55/image_05112025_23_55_22_3649.jpg
/home/pi/Desktop/images/05112025/23/55/image_05112025_23_55_33_10933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402201520","1402201522","1402201524","1402201515","1402201518","1402201526"],"photo_ids_order":["1402201515","1402201518","1402201520","1402201522","1402201524","1402201526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/924c8d8891f82ebd05fa12313acc35b2.jpg","text":"TemporaryFile(/tmp/multipartBody2018750829660070387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391096085,"filename":"image_05112025_23_54_19_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/2/e8637941ec6cebce5968765e308b30f7.jpg","text":"TemporaryFile(/tmp/multipartBody2294063753742944511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391096085,"filename":"image_05112025_23_54_46_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/2/b0bb1106617a6e309ee7c48ffb8b45ec.jpg","text":"TemporaryFile(/tmp/multipartBody4296424257640206908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391096085,"filename":"image_05112025_23_55_22_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/2/be042fc061e6fbdfde038f81df9ca4ac.jpg","text":"TemporaryFile(/tmp/multipartBody6390867093386944069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391096085,"filename":"image_05112025_23_51_10_3905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2290defee0c66657ff2eaaa6ca525eb8.jpg","text":"TemporaryFile(/tmp/multipartBody760475615655728326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391096085,"filename":"image_05112025_23_54_10_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/2/8f0e3bae18b94b602219cd9ab6887463.jpg","text":"TemporaryFile(/tmp/multipartBody8725416909018213813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391096085,"filename":"image_05112025_23_55_33_10933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201520","file1":"1402201518","file0":"1402201515","file4":"1402201524","file5":"1402201526","file3":"1402201522"},"map_files_photo_id_array":[{"photo_id":"1402201526","filename":"file5"},{"photo_id":"1402201520","filename":"file2"},{"photo_id":"1402201524","filename":"file4"},{"photo_id":"1402201518","filename":"file1"},{"photo_id":"1402201515","filename":"file0"},{"photo_id":"1402201522","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402201520":["hashtag1","hashtag2"]},{"1402201522":["hashtag1","hashtag2"]},{"1402201524":["hashtag1","hashtag2"]},{"1402201515":["hashtag1","hashtag2"]},{"1402201518":["hashtag1","hashtag2"]},{"1402201526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402201520, 1402201522, 1402201524, 1402201515, 1402201518, 1402201526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36275100708008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 22:59:03.139360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_14_9664.jpg', '/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_25_10666.jpg', '/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_35_9643.jpg', '/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_44_9600.jpg', '/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_55_10567.jpg', '/home/pi/Desktop/images/02012026/22/18/image_02012026_22_19_04_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_14_9664.jpg
/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_25_10666.jpg
/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_35_9643.jpg
/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_44_9600.jpg
/home/pi/Desktop/images/02012026/22/18/image_02012026_22_18_55_10567.jpg
/home/pi/Desktop/images/02012026/22/18/image_02012026_22_19_04_9641.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":["1402201558","1402201552","1402201555","1402201542","1402201545","1402201548"],"photo_ids_order":["1402201542","1402201545","1402201548","1402201552","1402201555","1402201558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2ce4bb91ff61e7114b09699d043c1a01.jpg","text":"TemporaryFile(/tmp/multipartBody6150798357002623276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391203867,"filename":"image_02012026_22_19_04_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/2/6a949e370f74ac2f1e8a920205117cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4132933946885388235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391203867,"filename":"image_02012026_22_18_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/2/4b4306aecd2cb1808c74ff1737b021b4.jpg","text":"TemporaryFile(/tmp/multipartBody1176093094244514758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391203867,"filename":"image_02012026_22_18_55_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/2/8b0cc06ea995a298d0d71fa3f67cad95.jpg","text":"TemporaryFile(/tmp/multipartBody427141160388903217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391203867,"filename":"image_02012026_22_18_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/2/958ef1043be3fa7b1207e805ce8e1c84.jpg","text":"TemporaryFile(/tmp/multipartBody7725919648813179519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391203867,"filename":"image_02012026_22_18_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/2/47ee39096943ae9f22db8a63c1257fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7187383262869805844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391203867,"filename":"image_02012026_22_18_35_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201548","file1":"1402201545","file0":"1402201542","file4":"1402201555","file5":"1402201558","file3":"1402201552"},"map_files_photo_id_array":[{"photo_id":"1402201558","filename":"file5"},{"photo_id":"1402201548","filename":"file2"},{"photo_id":"1402201555","filename":"file4"},{"photo_id":"1402201545","filename":"file1"},{"photo_id":"1402201542","filename":"file0"},{"photo_id":"1402201552","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402201558":["hashtag1","hashtag2"]},{"1402201552":["hashtag1","hashtag2"]},{"1402201555":["hashtag1","hashtag2"]},{"1402201542":["hashtag1","hashtag2"]},{"1402201545":["hashtag1","hashtag2"]},{"1402201548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402201558, 1402201552, 1402201555, 1402201542, 1402201545, 1402201548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95606303215027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:00:02.859695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_15_10619.jpg', '/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_35_9733.jpg', '/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_44_9703.jpg', '/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_55_10640.jpg', '/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_15_10053.jpg', '/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_25_10820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_15_10619.jpg
/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_35_9733.jpg
/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_44_9703.jpg
/home/pi/Desktop/images/02012026/22/19/image_02012026_22_19_55_10640.jpg
/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_15_10053.jpg
/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_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":["1402202038","1402201969","1402202107","1402201865","1402201826","1402201901"],"photo_ids_order":["1402201826","1402201865","1402201901","1402201969","1402202038","1402202107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/282c9a0a083607e7103601853f19de6f.jpg","text":"TemporaryFile(/tmp/multipartBody5282937887748431349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391263462,"filename":"image_02012026_22_20_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/2/19b59cad63e2e0cc9b90dc4b70bb213d.jpg","text":"TemporaryFile(/tmp/multipartBody6470060445393860855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391263462,"filename":"image_02012026_22_19_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/2/b824a7b33f0c8566982cb389ecd3ea80.jpg","text":"TemporaryFile(/tmp/multipartBody1724079913710840462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391263462,"filename":"image_02012026_22_20_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/2/e62f70df8a997d6d665a9dc338baceb3.jpg","text":"TemporaryFile(/tmp/multipartBody7651510688625694313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391263462,"filename":"image_02012026_22_19_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/2/f53ed1bf41d90b003bc843926374b704.jpg","text":"TemporaryFile(/tmp/multipartBody4647032950603003604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391263462,"filename":"image_02012026_22_19_15_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/2/5012073513dded1b32ba831f834bdfab.jpg","text":"TemporaryFile(/tmp/multipartBody3207083752942579323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391263462,"filename":"image_02012026_22_19_44_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402201901","file1":"1402201865","file0":"1402201826","file4":"1402202038","file5":"1402202107","file3":"1402201969"},"map_files_photo_id_array":[{"photo_id":"1402202107","filename":"file5"},{"photo_id":"1402201901","filename":"file2"},{"photo_id":"1402202038","filename":"file4"},{"photo_id":"1402201865","filename":"file1"},{"photo_id":"1402201826","filename":"file0"},{"photo_id":"1402201969","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402202038":["hashtag1","hashtag2"]},{"1402201969":["hashtag1","hashtag2"]},{"1402202107":["hashtag1","hashtag2"]},{"1402201865":["hashtag1","hashtag2"]},{"1402201826":["hashtag1","hashtag2"]},{"1402201901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402202038, 1402201969, 1402202107, 1402201865, 1402201826, 1402201901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86487603187561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:00:42.475280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/57/image_05112025_23_57_16_2725.jpg', '/home/pi/Desktop/images/05112025/23/57/image_05112025_23_57_25_2703.jpg', '/home/pi/Desktop/images/05112025/23/57/image_05112025_23_57_30_2698.jpg', '/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_49_1753.jpg', '/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_51_1689.jpg', '/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_54_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/57/image_05112025_23_57_16_2725.jpg
/home/pi/Desktop/images/05112025/23/57/image_05112025_23_57_25_2703.jpg
/home/pi/Desktop/images/05112025/23/57/image_05112025_23_57_30_2698.jpg
/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_49_1753.jpg
/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_51_1689.jpg
/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_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":["1402202533","1402202376","1402202726","1402202462","1402202609","1402202686"],"photo_ids_order":["1402202376","1402202462","1402202533","1402202609","1402202686","1402202726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fef49baf04f50e5b8ec471b1c8da7312.jpg","text":"TemporaryFile(/tmp/multipartBody4192235274135728112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391304323,"filename":"image_05112025_23_57_30_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/2/49d723cc4df32d3341a73f0fadd3b81f.jpg","text":"TemporaryFile(/tmp/multipartBody7581432575522712146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391304323,"filename":"image_05112025_23_57_16_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/2/e65fda10046b48fb13d363d3dbf3cab9.jpg","text":"TemporaryFile(/tmp/multipartBody3208324222974248557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391304323,"filename":"image_05112025_23_58_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/2/a7e579512f973ab8a09dde152d405def.jpg","text":"TemporaryFile(/tmp/multipartBody1758918109226954151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391304323,"filename":"image_05112025_23_57_25_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/2/3e6c82fad591c6a317a4fc95c471f33a.jpg","text":"TemporaryFile(/tmp/multipartBody2979281380702484076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391304323,"filename":"image_05112025_23_58_49_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/2/d2b9a381c77b98be4317ea5990afb7a4.jpg","text":"TemporaryFile(/tmp/multipartBody4071035671977193169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391304323,"filename":"image_05112025_23_58_51_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402202533","file1":"1402202462","file0":"1402202376","file4":"1402202686","file5":"1402202726","file3":"1402202609"},"map_files_photo_id_array":[{"photo_id":"1402202726","filename":"file5"},{"photo_id":"1402202533","filename":"file2"},{"photo_id":"1402202686","filename":"file4"},{"photo_id":"1402202462","filename":"file1"},{"photo_id":"1402202376","filename":"file0"},{"photo_id":"1402202609","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402202533":["hashtag1","hashtag2"]},{"1402202376":["hashtag1","hashtag2"]},{"1402202726":["hashtag1","hashtag2"]},{"1402202462":["hashtag1","hashtag2"]},{"1402202609":["hashtag1","hashtag2"]},{"1402202686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402202533, 1402202376, 1402202726, 1402202462, 1402202609, 1402202686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29345107078552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:01:22.618349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_35_9247.jpg', '/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_45_10678.jpg', '/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_55_9691.jpg', '/home/pi/Desktop/images/02012026/22/20/image_02012026_22_21_05_9646.jpg', '/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_15_10808.jpg', '/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_25_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_35_9247.jpg
/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_45_10678.jpg
/home/pi/Desktop/images/02012026/22/20/image_02012026_22_20_55_9691.jpg
/home/pi/Desktop/images/02012026/22/20/image_02012026_22_21_05_9646.jpg
/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_15_10808.jpg
/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_25_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402202982","1402202883","1402203047","1402203020","1402202849","1402202945"],"photo_ids_order":["1402202849","1402202883","1402202945","1402202982","1402203020","1402203047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/81be5ecbb479b2a994bf7400e0a0f95b.jpg","text":"TemporaryFile(/tmp/multipartBody5473632248104382242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391343195,"filename":"image_02012026_22_21_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/2/32b25adfd64e176c2030f86da9de42f0.jpg","text":"TemporaryFile(/tmp/multipartBody8955393918412738553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391343195,"filename":"image_02012026_22_20_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/2/60a2f8b47e6bd96148889b97569902f0.jpg","text":"TemporaryFile(/tmp/multipartBody4867517984015685016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391343195,"filename":"image_02012026_22_21_25_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/2/6cb492eefa0b666978f76b765fe0287d.jpg","text":"TemporaryFile(/tmp/multipartBody2208681594288133468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391343195,"filename":"image_02012026_22_21_15_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/2/fae03a0d7f97c7921ee464f42bd2ecff.jpg","text":"TemporaryFile(/tmp/multipartBody7367473683148306971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391343195,"filename":"image_02012026_22_20_35_9247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c994567dff3df620ea3868043086d813.jpg","text":"TemporaryFile(/tmp/multipartBody335251509930675744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391343195,"filename":"image_02012026_22_20_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402202945","file1":"1402202883","file0":"1402202849","file4":"1402203020","file5":"1402203047","file3":"1402202982"},"map_files_photo_id_array":[{"photo_id":"1402203047","filename":"file5"},{"photo_id":"1402202945","filename":"file2"},{"photo_id":"1402203020","filename":"file4"},{"photo_id":"1402202883","filename":"file1"},{"photo_id":"1402202849","filename":"file0"},{"photo_id":"1402202982","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402202982":["hashtag1","hashtag2"]},{"1402202883":["hashtag1","hashtag2"]},{"1402203047":["hashtag1","hashtag2"]},{"1402203020":["hashtag1","hashtag2"]},{"1402202849":["hashtag1","hashtag2"]},{"1402202945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402202982, 1402202883, 1402203047, 1402203020, 1402202849, 1402202945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24716591835022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:02:02.469619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_35_9636.jpg', '/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_55_9826.jpg', '/home/pi/Desktop/images/02012026/22/21/image_02012026_22_22_05_9780.jpg', '/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_14_9679.jpg', '/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_25_10560.jpg', '/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_35_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_35_9636.jpg
/home/pi/Desktop/images/02012026/22/21/image_02012026_22_21_55_9826.jpg
/home/pi/Desktop/images/02012026/22/21/image_02012026_22_22_05_9780.jpg
/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_14_9679.jpg
/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_25_10560.jpg
/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_35_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":["1402203264","1402203860","1402203892","1402203704","1402203568","1402203424"],"photo_ids_order":["1402203264","1402203424","1402203568","1402203704","1402203860","1402203892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f7df6b640833a34ef0d048f344deddc6.jpg","text":"TemporaryFile(/tmp/multipartBody259399131112798115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391383119,"filename":"image_02012026_22_21_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/2/3073efebf22bc3376b235c209dcf0a6e.jpg","text":"TemporaryFile(/tmp/multipartBody3510118783984309091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391383119,"filename":"image_02012026_22_22_25_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/2/a8709ee59ed893e020f53a98654f2b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4652269352172116307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391383119,"filename":"image_02012026_22_22_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/2/49c80205137a30a085029ee045b97066.jpg","text":"TemporaryFile(/tmp/multipartBody7255929447773522513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391383119,"filename":"image_02012026_22_22_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/734368010bdeacb9eca40a0100d902a9.jpg","text":"TemporaryFile(/tmp/multipartBody7526406904690280533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391383119,"filename":"image_02012026_22_22_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/2/51668e4251bf3f5d720bb5bf311e2522.jpg","text":"TemporaryFile(/tmp/multipartBody3383406639083326068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391383119,"filename":"image_02012026_22_21_55_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402203568","file1":"1402203424","file0":"1402203264","file4":"1402203860","file5":"1402203892","file3":"1402203704"},"map_files_photo_id_array":[{"photo_id":"1402203892","filename":"file5"},{"photo_id":"1402203568","filename":"file2"},{"photo_id":"1402203860","filename":"file4"},{"photo_id":"1402203424","filename":"file1"},{"photo_id":"1402203264","filename":"file0"},{"photo_id":"1402203704","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402203264":["hashtag1","hashtag2"]},{"1402203860":["hashtag1","hashtag2"]},{"1402203892":["hashtag1","hashtag2"]},{"1402203704":["hashtag1","hashtag2"]},{"1402203568":["hashtag1","hashtag2"]},{"1402203424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402203264, 1402203860, 1402203892, 1402203704, 1402203568, 1402203424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08510160446167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:02:41.911920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_57_1668.jpg', '/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_59_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_57_1668.jpg
/home/pi/Desktop/images/05112025/23/58/image_05112025_23_58_59_1602.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402204059","1402204028"],"photo_ids_order":["1402204028","1402204059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dcd53f0aa1911f6c5d3ee468f30971c9.jpg","text":"TemporaryFile(/tmp/multipartBody5953180717420526183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391423466,"filename":"image_05112025_23_58_59_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/2/0d9792d7e0e98b20444fee2c83fa870d.jpg","text":"TemporaryFile(/tmp/multipartBody7217921835694732193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391423466,"filename":"image_05112025_23_58_57_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1402204059","file0":"1402204028"},"map_files_photo_id_array":[{"photo_id":"1402204059","filename":"file1"},{"photo_id":"1402204028","filename":"file0"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1402204059":["hashtag1","hashtag2"]},{"1402204028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1402204059, 1402204028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.07004141807556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:03:02.731716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_45_10647.jpg', '/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_55_9600.jpg', '/home/pi/Desktop/images/02012026/22/22/image_02012026_22_23_05_9641.jpg', '/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_15_10669.jpg', '/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_25_9696.jpg', '/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_45_10647.jpg
/home/pi/Desktop/images/02012026/22/22/image_02012026_22_22_55_9600.jpg
/home/pi/Desktop/images/02012026/22/22/image_02012026_22_23_05_9641.jpg
/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_15_10669.jpg
/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_25_9696.jpg
/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_35_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402204143","1402204104","1402204099","1402204096","1402204183","1402204095"],"photo_ids_order":["1402204095","1402204096","1402204099","1402204104","1402204143","1402204183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/80078dd4198101efe2f8ead3016b4ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7946410469772788633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391443349,"filename":"image_02012026_22_23_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/2/291cf5af3f0968d4628a8e9722312dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5860838398439486730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391443349,"filename":"image_02012026_22_23_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/2/1fbc24739cc66b9c7312706879fec009.jpg","text":"TemporaryFile(/tmp/multipartBody5843038210069426675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391443349,"filename":"image_02012026_22_23_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/2/b3bef368b39c1babacdba85ba6943cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5632984740212841826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391443349,"filename":"image_02012026_22_22_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/2/deef3074b3bdd3b7b74dc1ba4680ba38.jpg","text":"TemporaryFile(/tmp/multipartBody3797786014101014364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391443349,"filename":"image_02012026_22_23_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/2/e3b635d23ed34f3bfb10ab1cef71f194.jpg","text":"TemporaryFile(/tmp/multipartBody491477373351542433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391443349,"filename":"image_02012026_22_22_45_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402204099","file1":"1402204096","file0":"1402204095","file4":"1402204143","file5":"1402204183","file3":"1402204104"},"map_files_photo_id_array":[{"photo_id":"1402204183","filename":"file5"},{"photo_id":"1402204099","filename":"file2"},{"photo_id":"1402204143","filename":"file4"},{"photo_id":"1402204096","filename":"file1"},{"photo_id":"1402204095","filename":"file0"},{"photo_id":"1402204104","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402204143":["hashtag1","hashtag2"]},{"1402204104":["hashtag1","hashtag2"]},{"1402204099":["hashtag1","hashtag2"]},{"1402204096":["hashtag1","hashtag2"]},{"1402204183":["hashtag1","hashtag2"]},{"1402204095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402204143, 1402204104, 1402204099, 1402204096, 1402204183, 1402204095)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.11297273635864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:04:05.156134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 23:04:22.382303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_45_9810.jpg', '/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_15_9719.jpg', '/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_25_10690.jpg', '/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_35_9605.jpg', '/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_45_10556.jpg', '/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_55_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/23/image_02012026_22_23_45_9810.jpg
/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_15_9719.jpg
/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_25_10690.jpg
/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_35_9605.jpg
/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_45_10556.jpg
/home/pi/Desktop/images/02012026/22/24/image_02012026_22_24_55_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":["1402204877","1402204879","1402204726","1402204872","1402204794","1402204875"],"photo_ids_order":["1402204726","1402204794","1402204872","1402204875","1402204877","1402204879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3648391c91de35362a6b0068a1abca06.jpg","text":"TemporaryFile(/tmp/multipartBody4763697275004661070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391522930,"filename":"image_02012026_22_24_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/2/9c5a56bc97575e7eacf6f0434db44842.jpg","text":"TemporaryFile(/tmp/multipartBody7317040195368740594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391522930,"filename":"image_02012026_22_24_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/2/db468c90272d54a73e2cee0f02c52d07.jpg","text":"TemporaryFile(/tmp/multipartBody2756630214031637894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391522930,"filename":"image_02012026_22_23_45_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/2/cf28961c2b8c9056d5543570765922df.jpg","text":"TemporaryFile(/tmp/multipartBody5381494494291515843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391522930,"filename":"image_02012026_22_24_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/86b9e43d22ac44ce833e3006ffbe87a5.jpg","text":"TemporaryFile(/tmp/multipartBody3170642632130836016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391522930,"filename":"image_02012026_22_24_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/2/d13776412b7cfa2e4b25df92c1abe121.jpg","text":"TemporaryFile(/tmp/multipartBody5937190341779430935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391522930,"filename":"image_02012026_22_24_35_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402204872","file1":"1402204794","file0":"1402204726","file4":"1402204877","file5":"1402204879","file3":"1402204875"},"map_files_photo_id_array":[{"photo_id":"1402204879","filename":"file5"},{"photo_id":"1402204872","filename":"file2"},{"photo_id":"1402204877","filename":"file4"},{"photo_id":"1402204794","filename":"file1"},{"photo_id":"1402204726","filename":"file0"},{"photo_id":"1402204875","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402204877":["hashtag1","hashtag2"]},{"1402204879":["hashtag1","hashtag2"]},{"1402204726":["hashtag1","hashtag2"]},{"1402204872":["hashtag1","hashtag2"]},{"1402204794":["hashtag1","hashtag2"]},{"1402204875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402204877, 1402204879, 1402204726, 1402204872, 1402204794, 1402204875)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.175254344940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:05:20.367214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_49_3664.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_51_2627.jpg', '/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_54_2651.jpg', '/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_17_3655.jpg', '/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_25_2715.jpg', '/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_32_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_49_3664.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_51_2627.jpg
/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_54_2651.jpg
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_17_3655.jpg
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_25_2715.jpg
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_32_2572.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":["1402205093","1402205120","1402205056","1402205070","1402205127","1402205013"],"photo_ids_order":["1402205013","1402205056","1402205070","1402205093","1402205120","1402205127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/661955f57f5042aab7d9c31c565db873.jpg","text":"TemporaryFile(/tmp/multipartBody4240278058830868989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391582204,"filename":"image_06112025_19_00_17_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/2/e299ef00064d6b1a1c77e06d4a6597c3.jpg","text":"TemporaryFile(/tmp/multipartBody603316717251502123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391582204,"filename":"image_06112025_19_00_25_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/2/bee68e9db338323e50399cc2934b2b0b.jpg","text":"TemporaryFile(/tmp/multipartBody218221898900114192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391582204,"filename":"image_06112025_18_59_51_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/2/b66e64940592c5af85d19d5af24fdbd7.jpg","text":"TemporaryFile(/tmp/multipartBody8202935384167492899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391582204,"filename":"image_06112025_18_59_54_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/2/e1487f176fd3648a4dc874f6dc409de0.jpg","text":"TemporaryFile(/tmp/multipartBody6823467597505888340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391582204,"filename":"image_06112025_19_00_32_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/2/13a4f0cef83f481709cfe41c91d53bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2648059947043346643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391582204,"filename":"image_06112025_18_59_49_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402205070","file1":"1402205056","file0":"1402205013","file4":"1402205120","file5":"1402205127","file3":"1402205093"},"map_files_photo_id_array":[{"photo_id":"1402205127","filename":"file5"},{"photo_id":"1402205070","filename":"file2"},{"photo_id":"1402205120","filename":"file4"},{"photo_id":"1402205056","filename":"file1"},{"photo_id":"1402205013","filename":"file0"},{"photo_id":"1402205093","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402205093":["hashtag1","hashtag2"]},{"1402205120":["hashtag1","hashtag2"]},{"1402205056":["hashtag1","hashtag2"]},{"1402205070":["hashtag1","hashtag2"]},{"1402205127":["hashtag1","hashtag2"]},{"1402205013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402205093, 1402205120, 1402205056, 1402205070, 1402205127, 1402205013)","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 = 1402205070 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/06112025/18/59/image_06112025_18_59_54_2651.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.16167545318604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:06:35.026945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_44_3691.jpg', '/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_47_2757.jpg', '/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_53_3573.jpg', '/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_59_2567.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_02_3767.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_05_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_44_3691.jpg
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_47_2757.jpg
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_53_3573.jpg
/home/pi/Desktop/images/06112025/19/00/image_06112025_19_00_59_2567.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_02_3767.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_05_2870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402205168","1402205150","1402205167","1402205152","1402205155","1402205166"],"photo_ids_order":["1402205150","1402205152","1402205155","1402205166","1402205167","1402205168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6d53fdb4a021921562501b3acf55d433.jpg","text":"TemporaryFile(/tmp/multipartBody6955771331225423372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391656922,"filename":"image_06112025_19_01_05_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/2/dc4db75df2872d8c54877377c0988ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6148413988375331358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391656922,"filename":"image_06112025_19_00_44_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/2/586682c67f857f50619b7a63dcdc4f91.jpg","text":"TemporaryFile(/tmp/multipartBody109274357168285480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391656922,"filename":"image_06112025_19_01_02_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/2/829e57f2f185b318c93b007f5d45c737.jpg","text":"TemporaryFile(/tmp/multipartBody5671306130801518566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391656922,"filename":"image_06112025_19_00_47_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/2/f656509f84abc3b0e068b6a7a12af958.jpg","text":"TemporaryFile(/tmp/multipartBody8025455049163455682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391656922,"filename":"image_06112025_19_00_53_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/2/7252696014e293ab209200a03c73a5cb.jpg","text":"TemporaryFile(/tmp/multipartBody9160189130687757246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391656922,"filename":"image_06112025_19_00_59_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402205155","file1":"1402205152","file0":"1402205150","file4":"1402205167","file5":"1402205168","file3":"1402205166"},"map_files_photo_id_array":[{"photo_id":"1402205168","filename":"file5"},{"photo_id":"1402205155","filename":"file2"},{"photo_id":"1402205167","filename":"file4"},{"photo_id":"1402205152","filename":"file1"},{"photo_id":"1402205150","filename":"file0"},{"photo_id":"1402205166","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402205168":["hashtag1","hashtag2"]},{"1402205150":["hashtag1","hashtag2"]},{"1402205167":["hashtag1","hashtag2"]},{"1402205152":["hashtag1","hashtag2"]},{"1402205155":["hashtag1","hashtag2"]},{"1402205166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402205168, 1402205150, 1402205167, 1402205152, 1402205155, 1402205166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59306526184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:07:21.932434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_14_10068.jpg', '/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_25_10652.jpg', '/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_34_9694.jpg', '/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_44_9692.jpg', '/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_55_10731.jpg', '/home/pi/Desktop/images/02012026/22/25/image_02012026_22_26_05_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_14_10068.jpg
/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_25_10652.jpg
/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_34_9694.jpg
/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_44_9692.jpg
/home/pi/Desktop/images/02012026/22/25/image_02012026_22_25_55_10731.jpg
/home/pi/Desktop/images/02012026/22/25/image_02012026_22_26_05_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402205561","1402205405","1402205365","1402205481","1402205520","1402205442"],"photo_ids_order":["1402205365","1402205405","1402205442","1402205481","1402205520","1402205561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/011f465d7c312065077580b024a67fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4510556094658588799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391705154,"filename":"image_02012026_22_26_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/2/c520966f0a40488449d174ac3395a119.jpg","text":"TemporaryFile(/tmp/multipartBody3017984203324068807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391705154,"filename":"image_02012026_22_25_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/2/1046bb529e3c1cc82e0557b93b3db8e6.jpg","text":"TemporaryFile(/tmp/multipartBody929391435657827067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391705154,"filename":"image_02012026_22_25_14_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ede7fc849c188d1e8731e313b707c1c2.jpg","text":"TemporaryFile(/tmp/multipartBody3651932602038864092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391705154,"filename":"image_02012026_22_25_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/2/4560c2f3a266b39a0dbbfc310f00dbd5.jpg","text":"TemporaryFile(/tmp/multipartBody2402304540337714028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391705154,"filename":"image_02012026_22_25_55_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/2/86ebfef992eeb2d33a560ca84bcd15b4.jpg","text":"TemporaryFile(/tmp/multipartBody7968703631377686385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391705154,"filename":"image_02012026_22_25_34_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402205442","file1":"1402205405","file0":"1402205365","file4":"1402205520","file5":"1402205561","file3":"1402205481"},"map_files_photo_id_array":[{"photo_id":"1402205561","filename":"file5"},{"photo_id":"1402205442","filename":"file2"},{"photo_id":"1402205520","filename":"file4"},{"photo_id":"1402205405","filename":"file1"},{"photo_id":"1402205365","filename":"file0"},{"photo_id":"1402205481","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402205561":["hashtag1","hashtag2"]},{"1402205405":["hashtag1","hashtag2"]},{"1402205365":["hashtag1","hashtag2"]},{"1402205481":["hashtag1","hashtag2"]},{"1402205520":["hashtag1","hashtag2"]},{"1402205442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402205561, 1402205405, 1402205365, 1402205481, 1402205520, 1402205442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.767653703689575 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-02 23:08:17.061135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_08_2897.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_20_2580.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_38_2832.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_53_2659.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_04_2683.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_11_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_08_2897.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_20_2580.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_38_2832.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_53_2659.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_04_2683.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_11_2760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7086338996887207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:08:22.372447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_14_9758.jpg', '/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_24_9825.jpg', '/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_35_10550.jpg', '/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_44_9760.jpg', '/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_55_10590.jpg', '/home/pi/Desktop/images/02012026/22/26/image_02012026_22_27_05_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_14_9758.jpg
/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_24_9825.jpg
/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_35_10550.jpg
/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_44_9760.jpg
/home/pi/Desktop/images/02012026/22/26/image_02012026_22_26_55_10590.jpg
/home/pi/Desktop/images/02012026/22/26/image_02012026_22_27_05_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":["1402206577","1402206655","1402206489","1402206540","1402206618","1402206359"],"photo_ids_order":["1402206359","1402206489","1402206540","1402206577","1402206618","1402206655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d3ae45c7e74505969cf60236f9c498c.jpg","text":"TemporaryFile(/tmp/multipartBody5389879595014725667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391762952,"filename":"image_02012026_22_26_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/2/912d5030a21e4fddec9c043e1d4df746.jpg","text":"TemporaryFile(/tmp/multipartBody8613445767317108855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391762952,"filename":"image_02012026_22_27_05_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/2/ab31893a56c580039f20fd51a39b112b.jpg","text":"TemporaryFile(/tmp/multipartBody3129273533636439466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391762952,"filename":"image_02012026_22_26_24_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/2/9b3c0f308588f5f6e2ffe4dca253cd46.jpg","text":"TemporaryFile(/tmp/multipartBody1518823887808269317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391762952,"filename":"image_02012026_22_26_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/2/404eb43b2ebe542e067c298fa0234737.jpg","text":"TemporaryFile(/tmp/multipartBody5578456480332476257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391762952,"filename":"image_02012026_22_26_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/2/4901e4f6ff80930c73a2d37901ed3287.jpg","text":"TemporaryFile(/tmp/multipartBody4064781738176196087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391762952,"filename":"image_02012026_22_26_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402206540","file1":"1402206489","file0":"1402206359","file4":"1402206618","file5":"1402206655","file3":"1402206577"},"map_files_photo_id_array":[{"photo_id":"1402206655","filename":"file5"},{"photo_id":"1402206540","filename":"file2"},{"photo_id":"1402206618","filename":"file4"},{"photo_id":"1402206489","filename":"file1"},{"photo_id":"1402206359","filename":"file0"},{"photo_id":"1402206577","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402206577":["hashtag1","hashtag2"]},{"1402206655":["hashtag1","hashtag2"]},{"1402206489":["hashtag1","hashtag2"]},{"1402206540":["hashtag1","hashtag2"]},{"1402206618":["hashtag1","hashtag2"]},{"1402206359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402206577, 1402206655, 1402206489, 1402206540, 1402206618, 1402206359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90935158729553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:09:03.097587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_14_9648.jpg', '/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_24_9746.jpg', '/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_35_10594.jpg', '/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_44_9554.jpg', '/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_54_9855.jpg', '/home/pi/Desktop/images/02012026/22/27/image_02012026_22_28_05_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_14_9648.jpg
/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_24_9746.jpg
/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_35_10594.jpg
/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_44_9554.jpg
/home/pi/Desktop/images/02012026/22/27/image_02012026_22_27_54_9855.jpg
/home/pi/Desktop/images/02012026/22/27/image_02012026_22_28_05_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":["1402207144","1402207080","1402206901","1402206966","1402207187","1402207022"],"photo_ids_order":["1402206901","1402206966","1402207022","1402207080","1402207144","1402207187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4b21f70801b099fe1133f702357c9256.jpg","text":"TemporaryFile(/tmp/multipartBody3250827589382559241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391803812,"filename":"image_02012026_22_27_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/2/8733396ca5f31e32aa40f83e4a3a0e70.jpg","text":"TemporaryFile(/tmp/multipartBody8274131947961062586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391803812,"filename":"image_02012026_22_27_44_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/2/2e3f451edd76cc99bdff01fb2aad3607.jpg","text":"TemporaryFile(/tmp/multipartBody1489657406586662214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391803812,"filename":"image_02012026_22_27_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/2/f41dfa46d19ab448adef99eeddd27c15.jpg","text":"TemporaryFile(/tmp/multipartBody49420074178609380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391803812,"filename":"image_02012026_22_27_24_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/2/1c1745dbc8d74fc35e8ac24ddaaa7cfb.jpg","text":"TemporaryFile(/tmp/multipartBody102881197273233352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391803812,"filename":"image_02012026_22_28_05_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/2/c78333b9ac90d83c777780c7c3402587.jpg","text":"TemporaryFile(/tmp/multipartBody7439560460086442307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391803812,"filename":"image_02012026_22_27_35_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402207022","file1":"1402206966","file0":"1402206901","file4":"1402207144","file5":"1402207187","file3":"1402207080"},"map_files_photo_id_array":[{"photo_id":"1402207187","filename":"file5"},{"photo_id":"1402207022","filename":"file2"},{"photo_id":"1402207144","filename":"file4"},{"photo_id":"1402206966","filename":"file1"},{"photo_id":"1402206901","filename":"file0"},{"photo_id":"1402207080","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402207144":["hashtag1","hashtag2"]},{"1402207080":["hashtag1","hashtag2"]},{"1402206901":["hashtag1","hashtag2"]},{"1402206966":["hashtag1","hashtag2"]},{"1402207187":["hashtag1","hashtag2"]},{"1402207022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402207144, 1402207080, 1402206901, 1402206966, 1402207187, 1402207022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13608264923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:09:42.049800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_08_2897.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_20_2580.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_38_2832.jpg', '/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_53_2659.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_04_2683.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_11_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_08_2897.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_20_2580.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_38_2832.jpg
/home/pi/Desktop/images/06112025/19/01/image_06112025_19_01_53_2659.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_04_2683.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_11_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":["1402207393","1402207618","1402207714","1402207670","1402207547","1402207469"],"photo_ids_order":["1402207393","1402207469","1402207547","1402207618","1402207670","1402207714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a8869bc8df72228ed1bfa0aff9c8388a.jpg","text":"TemporaryFile(/tmp/multipartBody4775374388811889660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391843891,"filename":"image_06112025_19_01_08_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/2/5fc6081f9fc63528fd7e09d63c1ea048.jpg","text":"TemporaryFile(/tmp/multipartBody8764704252889336881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391843891,"filename":"image_06112025_19_01_53_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/2/5afb1a393627239b0b52be770246cabd.jpg","text":"TemporaryFile(/tmp/multipartBody5382330151847514163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391843891,"filename":"image_06112025_19_02_11_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/2/02e0a380ab840417b5c945b4323ade09.jpg","text":"TemporaryFile(/tmp/multipartBody8480449066625075877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391843891,"filename":"image_06112025_19_02_04_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/2/991d316adedddb500d7f2e8445e84c31.jpg","text":"TemporaryFile(/tmp/multipartBody5170858252943845306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391843891,"filename":"image_06112025_19_01_38_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/2/92aa3331c3a9680fc51f80d991b54c83.jpg","text":"TemporaryFile(/tmp/multipartBody7761370740800879574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391843891,"filename":"image_06112025_19_01_20_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402207547","file1":"1402207469","file0":"1402207393","file4":"1402207670","file5":"1402207714","file3":"1402207618"},"map_files_photo_id_array":[{"photo_id":"1402207714","filename":"file5"},{"photo_id":"1402207547","filename":"file2"},{"photo_id":"1402207670","filename":"file4"},{"photo_id":"1402207469","filename":"file1"},{"photo_id":"1402207393","filename":"file0"},{"photo_id":"1402207618","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402207393":["hashtag1","hashtag2"]},{"1402207618":["hashtag1","hashtag2"]},{"1402207714":["hashtag1","hashtag2"]},{"1402207670":["hashtag1","hashtag2"]},{"1402207547":["hashtag1","hashtag2"]},{"1402207469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402207393, 1402207618, 1402207714, 1402207670, 1402207547, 1402207469)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.56612682342529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:10:32.202708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_14_2851.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_23_3364.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_56_3661.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_01_2551.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_13_5369.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_18_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_14_2851.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_23_3364.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_56_3661.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_01_2551.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_13_5369.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_18_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.9010231494903564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:10:42.217020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_14_2851.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_23_3364.jpg', '/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_56_3661.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_01_2551.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_13_5369.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_18_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_14_2851.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_23_3364.jpg
/home/pi/Desktop/images/06112025/19/02/image_06112025_19_02_56_3661.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_01_2551.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_13_5369.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_18_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402207975","1402208026","1402207936","1402208046","1402207869","1402207897"],"photo_ids_order":["1402207869","1402207897","1402207936","1402207975","1402208026","1402208046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f7e6b67cae685ff03ec1c781cf858185.jpg","text":"TemporaryFile(/tmp/multipartBody784105020666384643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391904016,"filename":"image_06112025_19_03_01_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/2/49db4caffd488035800bc7bdc08795e5.jpg","text":"TemporaryFile(/tmp/multipartBody7323621912131547675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391904016,"filename":"image_06112025_19_03_13_5369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ea37035058d37d8bbe90143d31ed99dc.jpg","text":"TemporaryFile(/tmp/multipartBody2374313856764732682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391904016,"filename":"image_06112025_19_02_56_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/2/f2a0ab64476e2b1437877b129534a435.jpg","text":"TemporaryFile(/tmp/multipartBody6256790699623629821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391904016,"filename":"image_06112025_19_03_18_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/2/c062ceaade6f485e5ef93c739dab89cf.jpg","text":"TemporaryFile(/tmp/multipartBody1939049260620132766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391904016,"filename":"image_06112025_19_02_14_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/2/f877d7ae4a5673c3cfd0fa5623210324.jpg","text":"TemporaryFile(/tmp/multipartBody6977866423645684298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391904016,"filename":"image_06112025_19_02_23_3364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402207936","file1":"1402207897","file0":"1402207869","file4":"1402208026","file5":"1402208046","file3":"1402207975"},"map_files_photo_id_array":[{"photo_id":"1402208046","filename":"file5"},{"photo_id":"1402207936","filename":"file2"},{"photo_id":"1402208026","filename":"file4"},{"photo_id":"1402207897","filename":"file1"},{"photo_id":"1402207869","filename":"file0"},{"photo_id":"1402207975","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402207975":["hashtag1","hashtag2"]},{"1402208026":["hashtag1","hashtag2"]},{"1402207936":["hashtag1","hashtag2"]},{"1402208046":["hashtag1","hashtag2"]},{"1402207869":["hashtag1","hashtag2"]},{"1402207897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402207975, 1402208026, 1402207936, 1402208046, 1402207869, 1402207897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08607006072998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:11:32.383831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_22_2842.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_26_3608.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_31_2773.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_38_3622.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_41_2822.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_44_2940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_22_2842.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_26_3608.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_31_2773.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_38_3622.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_41_2822.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_44_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":["1402208082","1402208079","1402208073","1402208075","1402208077","1402208071"],"photo_ids_order":["1402208071","1402208073","1402208075","1402208077","1402208079","1402208082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71fcec6cf4923bf7ba1847b1d45285ee.jpg","text":"TemporaryFile(/tmp/multipartBody9049319696075653096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391954334,"filename":"image_06112025_19_03_44_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/2/78e2c83e490314d8e978422b2d14580e.jpg","text":"TemporaryFile(/tmp/multipartBody5994069639644172212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391954334,"filename":"image_06112025_19_03_41_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/2/33a21493606fb1e0e65fe46aa90c8559.jpg","text":"TemporaryFile(/tmp/multipartBody1600161177305771122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391954334,"filename":"image_06112025_19_03_26_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/2/77fe70d86c28baf6df3c4bb809811f84.jpg","text":"TemporaryFile(/tmp/multipartBody6678498316535913665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391954334,"filename":"image_06112025_19_03_31_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/2/ed7e9f281ab101ceda07fb2c062fe5ad.jpg","text":"TemporaryFile(/tmp/multipartBody5359846596469940724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391954334,"filename":"image_06112025_19_03_38_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/2/cd476a688fac88ce99b41daec92f5a28.jpg","text":"TemporaryFile(/tmp/multipartBody3720316501197965828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391954334,"filename":"image_06112025_19_03_22_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402208075","file1":"1402208073","file0":"1402208071","file4":"1402208079","file5":"1402208082","file3":"1402208077"},"map_files_photo_id_array":[{"photo_id":"1402208082","filename":"file5"},{"photo_id":"1402208075","filename":"file2"},{"photo_id":"1402208079","filename":"file4"},{"photo_id":"1402208073","filename":"file1"},{"photo_id":"1402208071","filename":"file0"},{"photo_id":"1402208077","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402208082":["hashtag1","hashtag2"]},{"1402208079":["hashtag1","hashtag2"]},{"1402208073":["hashtag1","hashtag2"]},{"1402208075":["hashtag1","hashtag2"]},{"1402208077":["hashtag1","hashtag2"]},{"1402208071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402208082, 1402208079, 1402208073, 1402208075, 1402208077, 1402208071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9634325504303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:12:12.682647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_46_2681.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_50_4212.jpg', '/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_56_4143.jpg', '/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_04_2667.jpg', '/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_07_2638.jpg', '/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_33_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_46_2681.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_50_4212.jpg
/home/pi/Desktop/images/06112025/19/03/image_06112025_19_03_56_4143.jpg
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_04_2667.jpg
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_07_2638.jpg
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_33_1732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402208161","1402208200","1402208121","1402208096","1402208092","1402208239"],"photo_ids_order":["1402208092","1402208096","1402208121","1402208161","1402208200","1402208239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fcfe006da59634f1447ea96ac639b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2011960763426470039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391994493,"filename":"image_06112025_19_04_04_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/2/cfa63fb0b0ef7a85b323bcc301bc124e.jpg","text":"TemporaryFile(/tmp/multipartBody7036777152767583802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391994493,"filename":"image_06112025_19_04_07_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/2/9fe8ff51e65ad3285709a0284a8cae13.jpg","text":"TemporaryFile(/tmp/multipartBody9055099717711056469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391994493,"filename":"image_06112025_19_03_56_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/2/b8eef827eb64d07e1aa1ed8e3766bd08.jpg","text":"TemporaryFile(/tmp/multipartBody1498081095455634514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391994493,"filename":"image_06112025_19_03_50_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/2/ad037071fe9e24759ac716f1ad73414e.jpg","text":"TemporaryFile(/tmp/multipartBody4569735969614534743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391994493,"filename":"image_06112025_19_03_46_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/2/9ee9c136edbf048c9625b9c95392221e.jpg","text":"TemporaryFile(/tmp/multipartBody7439662400651287768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767391994493,"filename":"image_06112025_19_04_33_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402208121","file1":"1402208096","file0":"1402208092","file4":"1402208200","file5":"1402208239","file3":"1402208161"},"map_files_photo_id_array":[{"photo_id":"1402208239","filename":"file5"},{"photo_id":"1402208121","filename":"file2"},{"photo_id":"1402208200","filename":"file4"},{"photo_id":"1402208096","filename":"file1"},{"photo_id":"1402208092","filename":"file0"},{"photo_id":"1402208161","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402208161":["hashtag1","hashtag2"]},{"1402208200":["hashtag1","hashtag2"]},{"1402208121":["hashtag1","hashtag2"]},{"1402208096":["hashtag1","hashtag2"]},{"1402208092":["hashtag1","hashtag2"]},{"1402208239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402208161, 1402208200, 1402208121, 1402208096, 1402208092, 1402208239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.751192808151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:13:03.420758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_14_9619.jpg', '/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_24_9750.jpg', '/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_35_10791.jpg', '/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_45_9604.jpg', '/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_54_9783.jpg', '/home/pi/Desktop/images/02012026/22/28/image_02012026_22_29_05_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_14_9619.jpg
/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_24_9750.jpg
/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_35_10791.jpg
/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_45_9604.jpg
/home/pi/Desktop/images/02012026/22/28/image_02012026_22_28_54_9783.jpg
/home/pi/Desktop/images/02012026/22/28/image_02012026_22_29_05_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402208559","1402208442","1402208601","1402208483","1402208639","1402208522"],"photo_ids_order":["1402208442","1402208483","1402208522","1402208559","1402208601","1402208639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa969bba068c5953e1a5aa354a55c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6774431705488298350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392044077,"filename":"image_02012026_22_28_45_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/2/f9354225beff6c5695fb5ac1d8c0c092.jpg","text":"TemporaryFile(/tmp/multipartBody4237043535784539175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392044077,"filename":"image_02012026_22_28_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/2/117e4682bd62ff7a4b7dc6fc2187d293.jpg","text":"TemporaryFile(/tmp/multipartBody3837530100145645288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392044077,"filename":"image_02012026_22_28_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/2/62f59236d4d917cd4ffa325bca21ee36.jpg","text":"TemporaryFile(/tmp/multipartBody5917344397809059245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392044077,"filename":"image_02012026_22_28_24_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/2/d1170fa17564aaa4c2bffb70c509b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8670225151918832714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392044077,"filename":"image_02012026_22_29_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/2/5fc6e184447cf3ee64266d68f07c5f81.jpg","text":"TemporaryFile(/tmp/multipartBody2379463028380526917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392044077,"filename":"image_02012026_22_28_35_10791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402208522","file1":"1402208483","file0":"1402208442","file4":"1402208601","file5":"1402208639","file3":"1402208559"},"map_files_photo_id_array":[{"photo_id":"1402208639","filename":"file5"},{"photo_id":"1402208522","filename":"file2"},{"photo_id":"1402208601","filename":"file4"},{"photo_id":"1402208483","filename":"file1"},{"photo_id":"1402208442","filename":"file0"},{"photo_id":"1402208559","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402208559":["hashtag1","hashtag2"]},{"1402208442":["hashtag1","hashtag2"]},{"1402208601":["hashtag1","hashtag2"]},{"1402208483":["hashtag1","hashtag2"]},{"1402208639":["hashtag1","hashtag2"]},{"1402208522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402208559, 1402208442, 1402208601, 1402208483, 1402208639, 1402208522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39377236366272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:13:42.741230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_35_1711.jpg', '/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_44_3684.jpg', '/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_56_9106.jpg', '/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_57_1645.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_27_22747.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_31_1819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_35_1711.jpg
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_44_3684.jpg
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_56_9106.jpg
/home/pi/Desktop/images/06112025/19/04/image_06112025_19_04_57_1645.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_27_22747.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_31_1819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402208722","1402208719","1402208823","1402208721","1402208723","1402208747"],"photo_ids_order":["1402208719","1402208721","1402208722","1402208723","1402208747","1402208823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fbe2fa42fe1eaf7e805fc0dafb761dce.jpg","text":"TemporaryFile(/tmp/multipartBody4376097578429200634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392084707,"filename":"image_06112025_19_04_56_9106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7573faf575852400c3e967f845a9f4c8.jpg","text":"TemporaryFile(/tmp/multipartBody5722429023310644871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392084707,"filename":"image_06112025_19_04_35_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/2/ff2a989c8326578af4b894b406bd96e9.jpg","text":"TemporaryFile(/tmp/multipartBody4356754653426150889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392084707,"filename":"image_06112025_19_05_31_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3508f76ecd5b657ada25348b12ddf1d2.jpg","text":"TemporaryFile(/tmp/multipartBody7172324088011888741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392084707,"filename":"image_06112025_19_04_44_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/2/c9bba5ef9cb4c2ff63f9d479d4ff5279.jpg","text":"TemporaryFile(/tmp/multipartBody1721755860722755365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392084707,"filename":"image_06112025_19_04_57_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/2/dcba3b6c042f9363d8ad6be3f560ff5a.jpg","text":"TemporaryFile(/tmp/multipartBody5426357433558350453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392084707,"filename":"image_06112025_19_05_27_22747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402208722","file1":"1402208721","file0":"1402208719","file4":"1402208747","file5":"1402208823","file3":"1402208723"},"map_files_photo_id_array":[{"photo_id":"1402208823","filename":"file5"},{"photo_id":"1402208722","filename":"file2"},{"photo_id":"1402208747","filename":"file4"},{"photo_id":"1402208721","filename":"file1"},{"photo_id":"1402208719","filename":"file0"},{"photo_id":"1402208723","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402208722":["hashtag1","hashtag2"]},{"1402208719":["hashtag1","hashtag2"]},{"1402208823":["hashtag1","hashtag2"]},{"1402208721":["hashtag1","hashtag2"]},{"1402208723":["hashtag1","hashtag2"]},{"1402208747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402208722, 1402208719, 1402208823, 1402208721, 1402208723, 1402208747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03272867202759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:14:31.957996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_45_13157.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_47_1572.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_52_1856.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_54_1687.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_55_1546.jpg', '/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_57_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_45_13157.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_47_1572.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_52_1856.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_54_1687.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_55_1546.jpg
/home/pi/Desktop/images/06112025/19/05/image_06112025_19_05_57_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402209795","1402209810","1402209473","1402209670","1402209811","1402209573"],"photo_ids_order":["1402209473","1402209573","1402209670","1402209795","1402209810","1402209811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a555344321ec1c916827cfb2bcb0edd.jpg","text":"TemporaryFile(/tmp/multipartBody6738723339620595270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392133885,"filename":"image_06112025_19_05_54_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/2/7325e21d88be19d8f5cde8e01f453d10.jpg","text":"TemporaryFile(/tmp/multipartBody1733040875365815894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392133885,"filename":"image_06112025_19_05_55_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/2/9acde604401f93e6f71e0b2962556149.jpg","text":"TemporaryFile(/tmp/multipartBody8057349897133529764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392133885,"filename":"image_06112025_19_05_45_13157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e0747ea4c13731e92541d3a84758660d.jpg","text":"TemporaryFile(/tmp/multipartBody308366169649293850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392133885,"filename":"image_06112025_19_05_52_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1f871cb6cfb7321a8247c69887e3f67a.jpg","text":"TemporaryFile(/tmp/multipartBody6477355295031598820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392133885,"filename":"image_06112025_19_05_57_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/2/9f63a9621da3934e89a9347313a2359b.jpg","text":"TemporaryFile(/tmp/multipartBody5195002849550454504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392133885,"filename":"image_06112025_19_05_47_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402209670","file1":"1402209573","file0":"1402209473","file4":"1402209810","file5":"1402209811","file3":"1402209795"},"map_files_photo_id_array":[{"photo_id":"1402209811","filename":"file5"},{"photo_id":"1402209670","filename":"file2"},{"photo_id":"1402209810","filename":"file4"},{"photo_id":"1402209573","filename":"file1"},{"photo_id":"1402209473","filename":"file0"},{"photo_id":"1402209795","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402209795":["hashtag1","hashtag2"]},{"1402209810":["hashtag1","hashtag2"]},{"1402209473":["hashtag1","hashtag2"]},{"1402209670":["hashtag1","hashtag2"]},{"1402209811":["hashtag1","hashtag2"]},{"1402209573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402209795, 1402209810, 1402209473, 1402209670, 1402209811, 1402209573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97025465965271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:15:12.125738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_18_1573.jpg', '/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_19_1694.jpg', '/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_21_1595.jpg', '/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_27_1665.jpg', '/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_41_14221.jpg', '/home/pi/Desktop/images/06112025/19/07/image_06112025_19_07_27_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_18_1573.jpg
/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_19_1694.jpg
/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_21_1595.jpg
/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_27_1665.jpg
/home/pi/Desktop/images/06112025/19/06/image_06112025_19_06_41_14221.jpg
/home/pi/Desktop/images/06112025/19/07/image_06112025_19_07_27_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402210123","1402210207","1402209942","1402210029","1402210172","1402210285"],"photo_ids_order":["1402209942","1402210029","1402210123","1402210172","1402210207","1402210285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78d6044d2f701e49ca173c264a4a8b00.jpg","text":"TemporaryFile(/tmp/multipartBody2511974354056043056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392173961,"filename":"image_06112025_19_06_21_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/2/2ff6ffe3f7f4d35a778625bb341d598b.jpg","text":"TemporaryFile(/tmp/multipartBody176239476803948420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392173961,"filename":"image_06112025_19_06_41_14221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a94ea9ecf06fe979397b1d5e1d70451.jpg","text":"TemporaryFile(/tmp/multipartBody1066658906809692305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392173961,"filename":"image_06112025_19_06_18_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/2/c06e4b108fd60a37f03a440f75d5e6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2228558451117558207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392173961,"filename":"image_06112025_19_06_19_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/2/f8ccbc24d23fe5eefe3e3795a22382b9.jpg","text":"TemporaryFile(/tmp/multipartBody8591022572078685329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392173961,"filename":"image_06112025_19_06_27_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/2/1f9d8d656f9e5e460224b128cdbd400d.jpg","text":"TemporaryFile(/tmp/multipartBody7951367845857384987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392173961,"filename":"image_06112025_19_07_27_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402210123","file1":"1402210029","file0":"1402209942","file4":"1402210207","file5":"1402210285","file3":"1402210172"},"map_files_photo_id_array":[{"photo_id":"1402210285","filename":"file5"},{"photo_id":"1402210123","filename":"file2"},{"photo_id":"1402210207","filename":"file4"},{"photo_id":"1402210029","filename":"file1"},{"photo_id":"1402209942","filename":"file0"},{"photo_id":"1402210172","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402210123":["hashtag1","hashtag2"]},{"1402210207":["hashtag1","hashtag2"]},{"1402209942":["hashtag1","hashtag2"]},{"1402210029":["hashtag1","hashtag2"]},{"1402210172":["hashtag1","hashtag2"]},{"1402210285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402210123, 1402210207, 1402209942, 1402210029, 1402210172, 1402210285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02385711669922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:16:02.788628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_15_9708.jpg', '/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_24_9714.jpg', '/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_34_9719.jpg', '/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_45_10804.jpg', '/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_55_9692.jpg', '/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_15_9708.jpg
/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_24_9714.jpg
/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_34_9719.jpg
/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_45_10804.jpg
/home/pi/Desktop/images/02012026/22/29/image_02012026_22_29_55_9692.jpg
/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402210606","1402210659","1402210664","1402210562","1402210645","1402210525"],"photo_ids_order":["1402210525","1402210562","1402210606","1402210645","1402210659","1402210664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/271810865b12138d06f1c950b3845b6d.jpg","text":"TemporaryFile(/tmp/multipartBody3008648321959013368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392223403,"filename":"image_02012026_22_29_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/2/881ecf143ec67d189406c3e4b49e7e24.jpg","text":"TemporaryFile(/tmp/multipartBody6962917236658310058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392223403,"filename":"image_02012026_22_29_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/2/5c6803ebe050c4bc11db3622855a7054.jpg","text":"TemporaryFile(/tmp/multipartBody3019200845375339864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392223403,"filename":"image_02012026_22_31_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/2/24da594884f1ab14eb83a79a0ac1a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody8125153586682237043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392223403,"filename":"image_02012026_22_29_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/2/cefba005828ad2d6df736563a25e29fb.jpg","text":"TemporaryFile(/tmp/multipartBody6279204077867627915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392223403,"filename":"image_02012026_22_29_45_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/2/ee414acb6e8e3daa8c489d7a97032706.jpg","text":"TemporaryFile(/tmp/multipartBody822103782734980084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392223403,"filename":"image_02012026_22_29_15_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402210606","file1":"1402210562","file0":"1402210525","file4":"1402210659","file5":"1402210664","file3":"1402210645"},"map_files_photo_id_array":[{"photo_id":"1402210664","filename":"file5"},{"photo_id":"1402210606","filename":"file2"},{"photo_id":"1402210659","filename":"file4"},{"photo_id":"1402210562","filename":"file1"},{"photo_id":"1402210525","filename":"file0"},{"photo_id":"1402210645","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402210606":["hashtag1","hashtag2"]},{"1402210659":["hashtag1","hashtag2"]},{"1402210664":["hashtag1","hashtag2"]},{"1402210562":["hashtag1","hashtag2"]},{"1402210645":["hashtag1","hashtag2"]},{"1402210525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402210606, 1402210659, 1402210664, 1402210562, 1402210645, 1402210525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.886112451553345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:16:42.310008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/07/image_06112025_19_07_57_1546.jpg', '/home/pi/Desktop/images/06112025/19/08/image_06112025_19_08_07_1586.jpg', '/home/pi/Desktop/images/06112025/19/08/image_06112025_19_08_29_21962.jpg', '/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_14_12676.jpg', '/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_30_1723.jpg', '/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_44_12827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/07/image_06112025_19_07_57_1546.jpg
/home/pi/Desktop/images/06112025/19/08/image_06112025_19_08_07_1586.jpg
/home/pi/Desktop/images/06112025/19/08/image_06112025_19_08_29_21962.jpg
/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_14_12676.jpg
/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_30_1723.jpg
/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_44_12827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402210807","1402210796","1402210685","1402210805","1402210759","1402210723"],"photo_ids_order":["1402210685","1402210723","1402210759","1402210796","1402210805","1402210807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0813575233d27fe50276c4cd86b4c903.jpg","text":"TemporaryFile(/tmp/multipartBody3165002093657415345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392264269,"filename":"image_06112025_19_09_44_12827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b7f6850f9b6a025474411a10367dfb86.jpg","text":"TemporaryFile(/tmp/multipartBody4738355885982414387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392264269,"filename":"image_06112025_19_09_14_12676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3efe5049db1aa770c498c21571cb1c3d.jpg","text":"TemporaryFile(/tmp/multipartBody897235421947736026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392264269,"filename":"image_06112025_19_07_57_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/2/7785d2400c2df4affc27f7a3062c9736.jpg","text":"TemporaryFile(/tmp/multipartBody4789851706247895836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392264269,"filename":"image_06112025_19_09_30_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/2/edf2181c0ad165c1a2d5832c273f667e.jpg","text":"TemporaryFile(/tmp/multipartBody5648333791541272168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392264269,"filename":"image_06112025_19_08_29_21962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5e3707a9e4dc8ab25b7c59d60ce62fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4848637028215860158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392264269,"filename":"image_06112025_19_08_07_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402210759","file1":"1402210723","file0":"1402210685","file4":"1402210805","file5":"1402210807","file3":"1402210796"},"map_files_photo_id_array":[{"photo_id":"1402210807","filename":"file5"},{"photo_id":"1402210759","filename":"file2"},{"photo_id":"1402210805","filename":"file4"},{"photo_id":"1402210723","filename":"file1"},{"photo_id":"1402210685","filename":"file0"},{"photo_id":"1402210796","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402210807":["hashtag1","hashtag2"]},{"1402210796":["hashtag1","hashtag2"]},{"1402210685":["hashtag1","hashtag2"]},{"1402210805":["hashtag1","hashtag2"]},{"1402210759":["hashtag1","hashtag2"]},{"1402210723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402210807, 1402210796, 1402210685, 1402210805, 1402210759, 1402210723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25089502334595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:17:22.464945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_24_10609.jpg', '/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_44_9668.jpg', '/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_55_10758.jpg', '/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_14_9981.jpg', '/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_24_9591.jpg', '/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_35_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_24_10609.jpg
/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_44_9668.jpg
/home/pi/Desktop/images/02012026/22/31/image_02012026_22_31_55_10758.jpg
/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_14_9981.jpg
/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_24_9591.jpg
/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_35_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":["1402210881","1402210890","1402210886","1402210883","1402210877","1402210879"],"photo_ids_order":["1402210877","1402210879","1402210881","1402210883","1402210886","1402210890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4981e462ac529c707f0e80cd617e14f3.jpg","text":"TemporaryFile(/tmp/multipartBody3813135436058963632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392305975,"filename":"image_02012026_22_31_55_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/2/58984d75b3a994ab837fddb88d7101ee.jpg","text":"TemporaryFile(/tmp/multipartBody6192027211326223830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392305975,"filename":"image_02012026_22_32_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/2/5e22de99a88c4ae144e538259aa32c56.jpg","text":"TemporaryFile(/tmp/multipartBody2968701782674403098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392305975,"filename":"image_02012026_22_32_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/2/e2c4cc5ba67b117a49008b8ab3448256.jpg","text":"TemporaryFile(/tmp/multipartBody729593714396521887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392305975,"filename":"image_02012026_22_32_14_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/891ef43da1f792acda39561a2a434f12.jpg","text":"TemporaryFile(/tmp/multipartBody7398647375302218259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392305975,"filename":"image_02012026_22_31_24_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/2/d3c14c0499429421419125c158a5a40f.jpg","text":"TemporaryFile(/tmp/multipartBody1900136236661110773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392305975,"filename":"image_02012026_22_31_44_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402210881","file1":"1402210879","file0":"1402210877","file4":"1402210886","file5":"1402210890","file3":"1402210883"},"map_files_photo_id_array":[{"photo_id":"1402210890","filename":"file5"},{"photo_id":"1402210881","filename":"file2"},{"photo_id":"1402210886","filename":"file4"},{"photo_id":"1402210879","filename":"file1"},{"photo_id":"1402210877","filename":"file0"},{"photo_id":"1402210883","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402210881":["hashtag1","hashtag2"]},{"1402210890":["hashtag1","hashtag2"]},{"1402210886":["hashtag1","hashtag2"]},{"1402210883":["hashtag1","hashtag2"]},{"1402210877":["hashtag1","hashtag2"]},{"1402210879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402210881, 1402210890, 1402210886, 1402210883, 1402210877, 1402210879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02683997154236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:18:03.021150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_44_9712.jpg', '/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_58_13793.jpg', '/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_05_6651.jpg', '/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_14_9709.jpg', '/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_24_9605.jpg', '/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_35_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_44_9712.jpg
/home/pi/Desktop/images/02012026/22/32/image_02012026_22_32_58_13793.jpg
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_05_6651.jpg
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_14_9709.jpg
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_24_9605.jpg
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_35_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":["1402211459","1402211456","1402211402","1402211306","1402211213","1402211464"],"photo_ids_order":["1402211213","1402211306","1402211402","1402211456","1402211459","1402211464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7365fa9303b0ae4ba4518979add9c568.jpg","text":"TemporaryFile(/tmp/multipartBody6068735964111758050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392343609,"filename":"image_02012026_22_33_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/2/a6213eadb73ebdb7747adc8286dc7bb1.jpg","text":"TemporaryFile(/tmp/multipartBody34058014026857596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392343609,"filename":"image_02012026_22_33_14_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/2/879f8758a7f1514f858f28bedb98d012.jpg","text":"TemporaryFile(/tmp/multipartBody3200521786185080007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392343609,"filename":"image_02012026_22_33_05_6651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a6e5c4303f3110fe639bb1b6fc741fd.jpg","text":"TemporaryFile(/tmp/multipartBody7074356342216765548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392343609,"filename":"image_02012026_22_32_58_13793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e6577d9169ccb7b859a82dc379fc6604.jpg","text":"TemporaryFile(/tmp/multipartBody696836942332148324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392343609,"filename":"image_02012026_22_32_44_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/2/bffb35ac9d5a4737bbef6d25eb6c066c.jpg","text":"TemporaryFile(/tmp/multipartBody2775474387066871428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392343609,"filename":"image_02012026_22_33_35_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402211402","file1":"1402211306","file0":"1402211213","file4":"1402211459","file5":"1402211464","file3":"1402211456"},"map_files_photo_id_array":[{"photo_id":"1402211464","filename":"file5"},{"photo_id":"1402211402","filename":"file2"},{"photo_id":"1402211459","filename":"file4"},{"photo_id":"1402211306","filename":"file1"},{"photo_id":"1402211213","filename":"file0"},{"photo_id":"1402211456","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402211459":["hashtag1","hashtag2"]},{"1402211456":["hashtag1","hashtag2"]},{"1402211402":["hashtag1","hashtag2"]},{"1402211306":["hashtag1","hashtag2"]},{"1402211213":["hashtag1","hashtag2"]},{"1402211464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402211459, 1402211456, 1402211402, 1402211306, 1402211213, 1402211464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58283472061157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:18:42.574139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_46_1968.jpg', '/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_48_1648.jpg', '/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_50_1629.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_06_10504.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_18_10162.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_23_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_46_1968.jpg
/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_48_1648.jpg
/home/pi/Desktop/images/06112025/19/09/image_06112025_19_09_50_1629.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_06_10504.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_18_10162.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_23_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402211649","1402211603","1402211641","1402211659","1402211650","1402211595"],"photo_ids_order":["1402211595","1402211603","1402211641","1402211649","1402211650","1402211659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b01b970ae54619386bb3cf6d42a5a70.jpg","text":"TemporaryFile(/tmp/multipartBody209690587092882667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392384569,"filename":"image_06112025_19_10_06_10504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ada5fda9aa016d52e7712428a8146e33.jpg","text":"TemporaryFile(/tmp/multipartBody6764988955299735832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392384569,"filename":"image_06112025_19_09_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/2/eabc26faadb5335364ea3015edcc0104.jpg","text":"TemporaryFile(/tmp/multipartBody5363593681533035344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392384569,"filename":"image_06112025_19_09_50_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/2/a4e12646ae7380cb19735fe554fb5503.jpg","text":"TemporaryFile(/tmp/multipartBody7533466308684100024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392384569,"filename":"image_06112025_19_10_23_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/2/11c9db4a2ea758c0710f2bf55f0d984a.jpg","text":"TemporaryFile(/tmp/multipartBody3548653277196117498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392384569,"filename":"image_06112025_19_10_18_10162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/93fd21fcb6ba8c72bbb738115f36d5a0.jpg","text":"TemporaryFile(/tmp/multipartBody454703989259112719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392384569,"filename":"image_06112025_19_09_46_1968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402211641","file1":"1402211603","file0":"1402211595","file4":"1402211650","file5":"1402211659","file3":"1402211649"},"map_files_photo_id_array":[{"photo_id":"1402211659","filename":"file5"},{"photo_id":"1402211641","filename":"file2"},{"photo_id":"1402211650","filename":"file4"},{"photo_id":"1402211603","filename":"file1"},{"photo_id":"1402211595","filename":"file0"},{"photo_id":"1402211649","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402211649":["hashtag1","hashtag2"]},{"1402211603":["hashtag1","hashtag2"]},{"1402211641":["hashtag1","hashtag2"]},{"1402211659":["hashtag1","hashtag2"]},{"1402211650":["hashtag1","hashtag2"]},{"1402211595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402211649, 1402211603, 1402211641, 1402211659, 1402211650, 1402211595)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.830108880996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:19:32.718350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_25_1731.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_27_1664.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_28_1596.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_35_1655.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_38_1681.jpg', '/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_40_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_25_1731.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_27_1664.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_28_1596.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_35_1655.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_38_1681.jpg
/home/pi/Desktop/images/06112025/19/10/image_06112025_19_10_40_1650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402211691","1402211670","1402211673","1402211695","1402211677","1402211697"],"photo_ids_order":["1402211670","1402211673","1402211677","1402211691","1402211695","1402211697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3734d42f23cba9ccd4775e69433b9b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7578735382865755044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392434694,"filename":"image_06112025_19_10_35_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/2/3526fc8b9a42e51f7559e50d7bc547e8.jpg","text":"TemporaryFile(/tmp/multipartBody379247836526073260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392434694,"filename":"image_06112025_19_10_25_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/2/389168aa4c1ac7563f283bcd07649050.jpg","text":"TemporaryFile(/tmp/multipartBody490309581235998135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392434694,"filename":"image_06112025_19_10_27_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/2/2f8c98ecf64b33d59b43342d67a4f10c.jpg","text":"TemporaryFile(/tmp/multipartBody6305550548963431264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392434694,"filename":"image_06112025_19_10_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/2/771ba89a89b0262df439db78604f0f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6783299167945637761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392434694,"filename":"image_06112025_19_10_28_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/2/84a2c055db81a94a719a0327f0a9166f.jpg","text":"TemporaryFile(/tmp/multipartBody1387682582523802234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392434694,"filename":"image_06112025_19_10_40_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402211677","file1":"1402211673","file0":"1402211670","file4":"1402211695","file5":"1402211697","file3":"1402211691"},"map_files_photo_id_array":[{"photo_id":"1402211697","filename":"file5"},{"photo_id":"1402211677","filename":"file2"},{"photo_id":"1402211695","filename":"file4"},{"photo_id":"1402211673","filename":"file1"},{"photo_id":"1402211670","filename":"file0"},{"photo_id":"1402211691","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402211691":["hashtag1","hashtag2"]},{"1402211670":["hashtag1","hashtag2"]},{"1402211673":["hashtag1","hashtag2"]},{"1402211695":["hashtag1","hashtag2"]},{"1402211677":["hashtag1","hashtag2"]},{"1402211697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402211691, 1402211670, 1402211673, 1402211695, 1402211677, 1402211697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.04189133644104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:20:21.984047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_44_9716.jpg', '/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_54_9737.jpg', '/home/pi/Desktop/images/02012026/22/33/image_02012026_22_34_05_10368.jpg', '/home/pi/Desktop/images/02012026/22/34/image_02012026_22_34_15_10138.jpg', '/home/pi/Desktop/images/02012026/22/34/image_02012026_22_34_24_9687.jpg', '/home/pi/Desktop/images/02012026/22/34/image_02012026_22_34_34_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_44_9716.jpg
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_33_54_9737.jpg
/home/pi/Desktop/images/02012026/22/33/image_02012026_22_34_05_10368.jpg
/home/pi/Desktop/images/02012026/22/34/image_02012026_22_34_15_10138.jpg
/home/pi/Desktop/images/02012026/22/34/image_02012026_22_34_24_9687.jpg
/home/pi/Desktop/images/02012026/22/34/image_02012026_22_34_34_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":["1402211712","1402211717","1402211714","1402211708","1402211710","1402211704"],"photo_ids_order":["1402211704","1402211708","1402211710","1402211712","1402211714","1402211717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8cc449bf07ef4dea3e99772aba711e74.jpg","text":"TemporaryFile(/tmp/multipartBody5562497872397194490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392482598,"filename":"image_02012026_22_34_15_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/494fee2f2d648909e12e597fecbb4fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3332305911547092017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392482598,"filename":"image_02012026_22_34_34_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/2/d0de34a97536fd38c4166c07b2a158cb.jpg","text":"TemporaryFile(/tmp/multipartBody1073115382439433115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392482598,"filename":"image_02012026_22_34_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/2/9ff0f83af7ab19d435f157a8cf698b79.jpg","text":"TemporaryFile(/tmp/multipartBody1315236909249588402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392482598,"filename":"image_02012026_22_33_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/2/069c2e00d85ed86f44c5beab61a0f664.jpg","text":"TemporaryFile(/tmp/multipartBody7395007750752806925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392482598,"filename":"image_02012026_22_34_05_10368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dab88ae6d94fe5c805883a1fde5e5ae9.jpg","text":"TemporaryFile(/tmp/multipartBody427318211747678247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392482598,"filename":"image_02012026_22_33_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402211710","file1":"1402211708","file0":"1402211704","file4":"1402211714","file5":"1402211717","file3":"1402211712"},"map_files_photo_id_array":[{"photo_id":"1402211717","filename":"file5"},{"photo_id":"1402211710","filename":"file2"},{"photo_id":"1402211714","filename":"file4"},{"photo_id":"1402211708","filename":"file1"},{"photo_id":"1402211704","filename":"file0"},{"photo_id":"1402211712","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402211712":["hashtag1","hashtag2"]},{"1402211717":["hashtag1","hashtag2"]},{"1402211714":["hashtag1","hashtag2"]},{"1402211708":["hashtag1","hashtag2"]},{"1402211710":["hashtag1","hashtag2"]},{"1402211704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402211712, 1402211717, 1402211714, 1402211708, 1402211710, 1402211704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03362727165222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:21:02.839548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_14_10060.jpg', '/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_25_10644.jpg', '/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_34_9683.jpg', '/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_45_10595.jpg', '/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_55_9702.jpg', '/home/pi/Desktop/images/02012026/22/35/image_02012026_22_36_04_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_14_10060.jpg
/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_25_10644.jpg
/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_34_9683.jpg
/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_45_10595.jpg
/home/pi/Desktop/images/02012026/22/35/image_02012026_22_35_55_9702.jpg
/home/pi/Desktop/images/02012026/22/35/image_02012026_22_36_04_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":["1402211724","1402211744","1402211738","1402211726","1402211729","1402211722"],"photo_ids_order":["1402211722","1402211724","1402211726","1402211729","1402211738","1402211744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/695a7f8a1506d70422e32a088288ba81.jpg","text":"TemporaryFile(/tmp/multipartBody2346273473363693585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392523474,"filename":"image_02012026_22_35_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/2/1d800b359084f597be002efc9ddf9b42.jpg","text":"TemporaryFile(/tmp/multipartBody7362372111142907374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392523474,"filename":"image_02012026_22_36_04_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/2/8c0e0990f62e5293e862047697e6ae7f.jpg","text":"TemporaryFile(/tmp/multipartBody251792105675616184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392523474,"filename":"image_02012026_22_35_55_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/2/7651555a927df168b0666a752839264b.jpg","text":"TemporaryFile(/tmp/multipartBody6539239676968633331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392523474,"filename":"image_02012026_22_35_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/2/ef0e939f58d1a89c73a0948a729e2162.jpg","text":"TemporaryFile(/tmp/multipartBody9097529589195651090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392523474,"filename":"image_02012026_22_35_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/2/f057e96c84f47839e7a2e309c82d06c6.jpg","text":"TemporaryFile(/tmp/multipartBody5588637590984106438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392523474,"filename":"image_02012026_22_35_14_10060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402211726","file1":"1402211724","file0":"1402211722","file4":"1402211738","file5":"1402211744","file3":"1402211729"},"map_files_photo_id_array":[{"photo_id":"1402211744","filename":"file5"},{"photo_id":"1402211726","filename":"file2"},{"photo_id":"1402211738","filename":"file4"},{"photo_id":"1402211724","filename":"file1"},{"photo_id":"1402211722","filename":"file0"},{"photo_id":"1402211729","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402211724":["hashtag1","hashtag2"]},{"1402211744":["hashtag1","hashtag2"]},{"1402211738":["hashtag1","hashtag2"]},{"1402211726":["hashtag1","hashtag2"]},{"1402211729":["hashtag1","hashtag2"]},{"1402211722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402211724, 1402211744, 1402211738, 1402211726, 1402211729, 1402211722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5406973361969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:21:42.260725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_11_7276.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_13_1661.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_15_1823.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_20_3609.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_29_8797.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_32_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_11_7276.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_13_1661.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_15_1823.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_20_3609.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_29_8797.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_32_1724.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8474297523498535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:22:02.840159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_14_9789.jpg', '/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_24_9848.jpg', '/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_35_10692.jpg', '/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_44_9602.jpg', '/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_54_9680.jpg', '/home/pi/Desktop/images/02012026/22/36/image_02012026_22_37_04_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_14_9789.jpg
/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_24_9848.jpg
/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_35_10692.jpg
/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_44_9602.jpg
/home/pi/Desktop/images/02012026/22/36/image_02012026_22_36_54_9680.jpg
/home/pi/Desktop/images/02012026/22/36/image_02012026_22_37_04_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":["1402211859","1402211823","1402211969","1402211788","1402211932","1402211895"],"photo_ids_order":["1402211788","1402211823","1402211859","1402211895","1402211932","1402211969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ce451612f2d284043339160608a8d784.jpg","text":"TemporaryFile(/tmp/multipartBody1190115072221413595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392583478,"filename":"image_02012026_22_36_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/2/fe7ae87be9c0c3dce40064bddae92cef.jpg","text":"TemporaryFile(/tmp/multipartBody3109632433818805931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392583478,"filename":"image_02012026_22_36_24_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/2/1110aa32ee127a69d4d7ddc9b841838f.jpg","text":"TemporaryFile(/tmp/multipartBody3968171548361728700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392583478,"filename":"image_02012026_22_37_04_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/2/3903a3ca22ecf80d007864942c4e6580.jpg","text":"TemporaryFile(/tmp/multipartBody3287474705986889070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392583478,"filename":"image_02012026_22_36_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/2/573fdf79a9054389a4b27d8c46c9c542.jpg","text":"TemporaryFile(/tmp/multipartBody1456996188594109383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392583478,"filename":"image_02012026_22_36_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/2/5e568d6b77473ad88f6204b1195e6ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3030005857895452240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392583478,"filename":"image_02012026_22_36_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402211859","file1":"1402211823","file0":"1402211788","file4":"1402211932","file5":"1402211969","file3":"1402211895"},"map_files_photo_id_array":[{"photo_id":"1402211969","filename":"file5"},{"photo_id":"1402211859","filename":"file2"},{"photo_id":"1402211932","filename":"file4"},{"photo_id":"1402211823","filename":"file1"},{"photo_id":"1402211788","filename":"file0"},{"photo_id":"1402211895","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402211859":["hashtag1","hashtag2"]},{"1402211823":["hashtag1","hashtag2"]},{"1402211969":["hashtag1","hashtag2"]},{"1402211788":["hashtag1","hashtag2"]},{"1402211932":["hashtag1","hashtag2"]},{"1402211895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402211859, 1402211823, 1402211969, 1402211788, 1402211932, 1402211895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12407970428467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:22:42.507773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_11_7276.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_13_1661.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_15_1823.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_20_3609.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_29_8797.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_32_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_11_7276.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_13_1661.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_15_1823.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_20_3609.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_29_8797.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_32_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":["1402212336","1402212257","1402212215","1402212295","1402212178","1402212135"],"photo_ids_order":["1402212135","1402212178","1402212215","1402212257","1402212295","1402212336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/522d3d5b3d9c75e0388dd0d2150516e4.jpg","text":"TemporaryFile(/tmp/multipartBody1632128611228280819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392624316,"filename":"image_06112025_19_12_32_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/2/43e3ddbcaef540de6968910f4883d047.jpg","text":"TemporaryFile(/tmp/multipartBody5416131896079027952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392624316,"filename":"image_06112025_19_12_20_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/2/977022c5abb50e77644e1bd43ef797c1.jpg","text":"TemporaryFile(/tmp/multipartBody3408635573963378824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392624316,"filename":"image_06112025_19_12_15_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/2/054f103bed01cad63df2b38112f375e3.jpg","text":"TemporaryFile(/tmp/multipartBody1394911829179804323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392624316,"filename":"image_06112025_19_12_29_8797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5042cda9606b2996a749eca9ab454aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7015826729471163862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392624316,"filename":"image_06112025_19_12_13_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/2/b7f2ee5693d4671fae8ba4179861bb61.jpg","text":"TemporaryFile(/tmp/multipartBody6083327037654382385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392624316,"filename":"image_06112025_19_12_11_7276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402212215","file1":"1402212178","file0":"1402212135","file4":"1402212295","file5":"1402212336","file3":"1402212257"},"map_files_photo_id_array":[{"photo_id":"1402212336","filename":"file5"},{"photo_id":"1402212215","filename":"file2"},{"photo_id":"1402212295","filename":"file4"},{"photo_id":"1402212178","filename":"file1"},{"photo_id":"1402212135","filename":"file0"},{"photo_id":"1402212257","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402212336":["hashtag1","hashtag2"]},{"1402212257":["hashtag1","hashtag2"]},{"1402212215":["hashtag1","hashtag2"]},{"1402212295":["hashtag1","hashtag2"]},{"1402212178":["hashtag1","hashtag2"]},{"1402212135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402212336, 1402212257, 1402212215, 1402212295, 1402212178, 1402212135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82843995094299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:23:22.621593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_14_9664.jpg', '/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_24_9773.jpg', '/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_34_10577.jpg', '/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_44_9614.jpg', '/home/pi/Desktop/images/02012026/22/37/image_02012026_22_38_04_9620.jpg', '/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_14_9664.jpg
/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_24_9773.jpg
/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_34_10577.jpg
/home/pi/Desktop/images/02012026/22/37/image_02012026_22_37_44_9614.jpg
/home/pi/Desktop/images/02012026/22/37/image_02012026_22_38_04_9620.jpg
/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402213079","1402212839","1402212682","1402212520","1402212966","1402213190"],"photo_ids_order":["1402212520","1402212682","1402212839","1402212966","1402213079","1402213190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/007dd76183da9d764d45e5700e21cd1b.jpg","text":"TemporaryFile(/tmp/multipartBody7522178175255536008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392663195,"filename":"image_02012026_22_38_04_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/2/96e0d2149e6715e54bee114c5e0e3483.jpg","text":"TemporaryFile(/tmp/multipartBody5600093661519713510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392663195,"filename":"image_02012026_22_37_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/2/0d6376a15870237294bff95596f6a1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2507692630162163858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392663195,"filename":"image_02012026_22_37_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/2/5f6b633c0a545bb17acdff8dc5dd49a0.jpg","text":"TemporaryFile(/tmp/multipartBody5775695207900780100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392663195,"filename":"image_02012026_22_37_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/2/4c748315c7fc9cb30e5535dc4a847003.jpg","text":"TemporaryFile(/tmp/multipartBody8981518802939818942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392663195,"filename":"image_02012026_22_37_44_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/2/08473b29c4dfcabb506a6c9236e26e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7028030638016311788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392663195,"filename":"image_02012026_22_38_14_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402212839","file1":"1402212682","file0":"1402212520","file4":"1402213079","file5":"1402213190","file3":"1402212966"},"map_files_photo_id_array":[{"photo_id":"1402213190","filename":"file5"},{"photo_id":"1402212839","filename":"file2"},{"photo_id":"1402213079","filename":"file4"},{"photo_id":"1402212682","filename":"file1"},{"photo_id":"1402212520","filename":"file0"},{"photo_id":"1402212966","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402213079":["hashtag1","hashtag2"]},{"1402212839":["hashtag1","hashtag2"]},{"1402212682":["hashtag1","hashtag2"]},{"1402212520":["hashtag1","hashtag2"]},{"1402212966":["hashtag1","hashtag2"]},{"1402213190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402213079, 1402212839, 1402212682, 1402212520, 1402212966, 1402213190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.150370597839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:24:02.481767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_25_10533.jpg', '/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_34_9689.jpg', '/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_44_9699.jpg', '/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_55_10585.jpg', '/home/pi/Desktop/images/02012026/22/38/image_02012026_22_39_04_9667.jpg', '/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_14_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_25_10533.jpg
/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_34_9689.jpg
/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_44_9699.jpg
/home/pi/Desktop/images/02012026/22/38/image_02012026_22_38_55_10585.jpg
/home/pi/Desktop/images/02012026/22/38/image_02012026_22_39_04_9667.jpg
/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_14_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402213571","1402213866","1402213674","1402213362","1402213761","1402213416"],"photo_ids_order":["1402213362","1402213416","1402213571","1402213674","1402213761","1402213866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d0172982dc72817f7039572a9c46d18.jpg","text":"TemporaryFile(/tmp/multipartBody2641519813182067210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392703192,"filename":"image_02012026_22_38_44_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/2/cd8ca11130499f15ef9c4296160d915c.jpg","text":"TemporaryFile(/tmp/multipartBody3437026106826220793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392703192,"filename":"image_02012026_22_39_14_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/2/cbe013b51028007f64fc0285c38d413c.jpg","text":"TemporaryFile(/tmp/multipartBody4027028804441030704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392703192,"filename":"image_02012026_22_38_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/2/53f461a9948b59e8226515699fe24613.jpg","text":"TemporaryFile(/tmp/multipartBody4228342753792152918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392703192,"filename":"image_02012026_22_38_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/2/155b87b800e1940afad7727866a68dd7.jpg","text":"TemporaryFile(/tmp/multipartBody1221868845837891179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392703192,"filename":"image_02012026_22_39_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b1384da67991764ec23c293a95675558.jpg","text":"TemporaryFile(/tmp/multipartBody404877555442003474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392703192,"filename":"image_02012026_22_38_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402213571","file1":"1402213416","file0":"1402213362","file4":"1402213761","file5":"1402213866","file3":"1402213674"},"map_files_photo_id_array":[{"photo_id":"1402213866","filename":"file5"},{"photo_id":"1402213571","filename":"file2"},{"photo_id":"1402213761","filename":"file4"},{"photo_id":"1402213416","filename":"file1"},{"photo_id":"1402213362","filename":"file0"},{"photo_id":"1402213674","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402213571":["hashtag1","hashtag2"]},{"1402213866":["hashtag1","hashtag2"]},{"1402213674":["hashtag1","hashtag2"]},{"1402213362":["hashtag1","hashtag2"]},{"1402213761":["hashtag1","hashtag2"]},{"1402213416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402213571, 1402213866, 1402213674, 1402213362, 1402213761, 1402213416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.25281381607056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:25:02.989170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_25_10631.jpg', '/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_34_9757.jpg', '/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_44_9587.jpg', '/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_55_10648.jpg', '/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_14_10058.jpg', '/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_25_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_25_10631.jpg
/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_34_9757.jpg
/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_44_9587.jpg
/home/pi/Desktop/images/02012026/22/39/image_02012026_22_39_55_10648.jpg
/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_14_10058.jpg
/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_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":["1402214342","1402214341","1402214340","1402214343","1402214313","1402214345"],"photo_ids_order":["1402214313","1402214340","1402214341","1402214342","1402214343","1402214345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ae8b0d411ed069f7c662e4d63d060e52.jpg","text":"TemporaryFile(/tmp/multipartBody1163092143424716462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392763611,"filename":"image_02012026_22_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/2/1aa12b9e679ab6a54c392060266f1d55.jpg","text":"TemporaryFile(/tmp/multipartBody7697509493290564462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392763611,"filename":"image_02012026_22_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/2/77632714df9fcfb2ecfc3c0495c801c6.jpg","text":"TemporaryFile(/tmp/multipartBody4938206241680076782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392763611,"filename":"image_02012026_22_39_34_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/2/b29be96191fb985c496d2407f83d85db.jpg","text":"TemporaryFile(/tmp/multipartBody2961725806852591560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392763611,"filename":"image_02012026_22_40_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/2/39a065e1cf2b98d72c81aeadc4d44e5a.jpg","text":"TemporaryFile(/tmp/multipartBody70100518391474270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392763611,"filename":"image_02012026_22_39_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/2/5da0a234e51ed56ef7781e94b47fc089.jpg","text":"TemporaryFile(/tmp/multipartBody6110456618949237419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392763611,"filename":"image_02012026_22_40_25_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214341","file1":"1402214340","file0":"1402214313","file4":"1402214343","file5":"1402214345","file3":"1402214342"},"map_files_photo_id_array":[{"photo_id":"1402214345","filename":"file5"},{"photo_id":"1402214341","filename":"file2"},{"photo_id":"1402214343","filename":"file4"},{"photo_id":"1402214340","filename":"file1"},{"photo_id":"1402214313","filename":"file0"},{"photo_id":"1402214342","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402214342":["hashtag1","hashtag2"]},{"1402214341":["hashtag1","hashtag2"]},{"1402214340":["hashtag1","hashtag2"]},{"1402214343":["hashtag1","hashtag2"]},{"1402214313":["hashtag1","hashtag2"]},{"1402214345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402214342, 1402214341, 1402214340, 1402214343, 1402214313, 1402214345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4517719745636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:25:42.411062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_34_1650.jpg', '/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_35_1683.jpg', '/home/pi/Desktop/images/06112025/19/15/image_06112025_19_15_40_2804.jpg', '/home/pi/Desktop/images/06112025/19/18/image_06112025_19_18_34_2522.jpg', '/home/pi/Desktop/images/06112025/19/19/image_06112025_19_19_03_4215.jpg', '/home/pi/Desktop/images/06112025/19/20/image_06112025_19_20_49_1723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_34_1650.jpg
/home/pi/Desktop/images/06112025/19/12/image_06112025_19_12_35_1683.jpg
/home/pi/Desktop/images/06112025/19/15/image_06112025_19_15_40_2804.jpg
/home/pi/Desktop/images/06112025/19/18/image_06112025_19_18_34_2522.jpg
/home/pi/Desktop/images/06112025/19/19/image_06112025_19_19_03_4215.jpg
/home/pi/Desktop/images/06112025/19/20/image_06112025_19_20_49_1723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402214711","1402214481","1402214598","1402214484","1402214718","1402214453"],"photo_ids_order":["1402214453","1402214481","1402214484","1402214598","1402214711","1402214718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37b93749fa628b0d5962313d5a1506c4.jpg","text":"TemporaryFile(/tmp/multipartBody69538533312365072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392804354,"filename":"image_06112025_19_19_03_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/2/d8090930c5eb077b225006e7fa4ca8f4.jpg","text":"TemporaryFile(/tmp/multipartBody6179787906019218675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392804354,"filename":"image_06112025_19_12_35_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/2/5d57d7de66939b766e9e7169d8def0ed.jpg","text":"TemporaryFile(/tmp/multipartBody6860779701523208493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392804354,"filename":"image_06112025_19_18_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/2/7ed8031d189502c621cde37467df1dee.jpg","text":"TemporaryFile(/tmp/multipartBody4237541768242296547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392804354,"filename":"image_06112025_19_15_40_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/2/e3fa766e89c63fe507fc5c03fa789b40.jpg","text":"TemporaryFile(/tmp/multipartBody193680649642034240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392804354,"filename":"image_06112025_19_20_49_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/2/a72d3be78cbbfec7e26d1e1ec6f5e649.jpg","text":"TemporaryFile(/tmp/multipartBody3065902850311395553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392804354,"filename":"image_06112025_19_12_34_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214484","file1":"1402214481","file0":"1402214453","file4":"1402214711","file5":"1402214718","file3":"1402214598"},"map_files_photo_id_array":[{"photo_id":"1402214718","filename":"file5"},{"photo_id":"1402214484","filename":"file2"},{"photo_id":"1402214711","filename":"file4"},{"photo_id":"1402214481","filename":"file1"},{"photo_id":"1402214453","filename":"file0"},{"photo_id":"1402214598","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402214711":["hashtag1","hashtag2"]},{"1402214481":["hashtag1","hashtag2"]},{"1402214598":["hashtag1","hashtag2"]},{"1402214484":["hashtag1","hashtag2"]},{"1402214718":["hashtag1","hashtag2"]},{"1402214453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402214711, 1402214481, 1402214598, 1402214484, 1402214718, 1402214453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.092045307159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:26:22.666425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_34_9787.jpg', '/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_44_9539.jpg', '/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_55_10604.jpg', '/home/pi/Desktop/images/02012026/22/40/image_02012026_22_41_04_9584.jpg', '/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_15_10681.jpg', '/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_24_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_34_9787.jpg
/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_44_9539.jpg
/home/pi/Desktop/images/02012026/22/40/image_02012026_22_40_55_10604.jpg
/home/pi/Desktop/images/02012026/22/40/image_02012026_22_41_04_9584.jpg
/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_15_10681.jpg
/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_24_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":["1402214785","1402214788","1402214793","1402214787","1402214796","1402214783"],"photo_ids_order":["1402214783","1402214785","1402214787","1402214788","1402214793","1402214796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/73a14b05f89eef892d04d9fba598bc72.jpg","text":"TemporaryFile(/tmp/multipartBody7648256138922359196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392843223,"filename":"image_02012026_22_40_44_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/2/daff5aba7646b592b871a1da5baff608.jpg","text":"TemporaryFile(/tmp/multipartBody5943705942162407671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392843223,"filename":"image_02012026_22_41_04_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/2/7a8c19c852fa35617d6033b363ee5d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8818302709254067998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392843223,"filename":"image_02012026_22_41_15_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/2/7c31621e97c04982e597762029d56296.jpg","text":"TemporaryFile(/tmp/multipartBody1643181739427770596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392843223,"filename":"image_02012026_22_40_55_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/2/c1e74a644e17ee69900aa9de377b573e.jpg","text":"TemporaryFile(/tmp/multipartBody8345589234268889248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392843223,"filename":"image_02012026_22_41_24_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/2/c624e6f129955b4c12824a466f1bfbea.jpg","text":"TemporaryFile(/tmp/multipartBody4425467489177401686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392843223,"filename":"image_02012026_22_40_34_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214787","file1":"1402214785","file0":"1402214783","file4":"1402214793","file5":"1402214796","file3":"1402214788"},"map_files_photo_id_array":[{"photo_id":"1402214796","filename":"file5"},{"photo_id":"1402214787","filename":"file2"},{"photo_id":"1402214793","filename":"file4"},{"photo_id":"1402214785","filename":"file1"},{"photo_id":"1402214783","filename":"file0"},{"photo_id":"1402214788","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402214785":["hashtag1","hashtag2"]},{"1402214788":["hashtag1","hashtag2"]},{"1402214793":["hashtag1","hashtag2"]},{"1402214787":["hashtag1","hashtag2"]},{"1402214796":["hashtag1","hashtag2"]},{"1402214783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402214785, 1402214788, 1402214793, 1402214787, 1402214796, 1402214783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59753966331482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:27:03.428552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_34_9560.jpg', '/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_45_10615.jpg', '/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_55_9863.jpg', '/home/pi/Desktop/images/02012026/22/41/image_02012026_22_42_04_9687.jpg', '/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_15_10628.jpg', '/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_24_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_34_9560.jpg
/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_45_10615.jpg
/home/pi/Desktop/images/02012026/22/41/image_02012026_22_41_55_9863.jpg
/home/pi/Desktop/images/02012026/22/41/image_02012026_22_42_04_9687.jpg
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_15_10628.jpg
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_24_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402214807","1402214800","1402214805","1402214808","1402214798","1402214802"],"photo_ids_order":["1402214798","1402214800","1402214802","1402214805","1402214807","1402214808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0a61c7c9223692bea3dbea067ba35a45.jpg","text":"TemporaryFile(/tmp/multipartBody1398393076530306137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392884063,"filename":"image_02012026_22_42_15_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/2/8686ccd5e9705c9bf965d1371bfab9fb.jpg","text":"TemporaryFile(/tmp/multipartBody4245370215122853001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392884063,"filename":"image_02012026_22_41_45_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/2/331acc74541d6741b5a25f4688483940.jpg","text":"TemporaryFile(/tmp/multipartBody3691080984740450553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392884063,"filename":"image_02012026_22_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/2/ee9dd8829386c1cdc1919fcd35b44912.jpg","text":"TemporaryFile(/tmp/multipartBody46675248161816868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392884063,"filename":"image_02012026_22_42_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/2/b4d90511c03dcca70425962b326c6dd8.jpg","text":"TemporaryFile(/tmp/multipartBody2466004996171613322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392884063,"filename":"image_02012026_22_41_34_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/2/d014bd94d23884bc7247100eef370abb.jpg","text":"TemporaryFile(/tmp/multipartBody3892449627445501820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392884063,"filename":"image_02012026_22_41_55_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214802","file1":"1402214800","file0":"1402214798","file4":"1402214807","file5":"1402214808","file3":"1402214805"},"map_files_photo_id_array":[{"photo_id":"1402214808","filename":"file5"},{"photo_id":"1402214802","filename":"file2"},{"photo_id":"1402214807","filename":"file4"},{"photo_id":"1402214800","filename":"file1"},{"photo_id":"1402214798","filename":"file0"},{"photo_id":"1402214805","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402214807":["hashtag1","hashtag2"]},{"1402214800":["hashtag1","hashtag2"]},{"1402214805":["hashtag1","hashtag2"]},{"1402214808":["hashtag1","hashtag2"]},{"1402214798":["hashtag1","hashtag2"]},{"1402214802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402214807, 1402214800, 1402214805, 1402214808, 1402214798, 1402214802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74762678146362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:27:42.751877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/20/image_06112025_19_20_53_1625.jpg', '/home/pi/Desktop/images/06112025/19/21/image_06112025_19_21_06_1856.jpg', '/home/pi/Desktop/images/06112025/19/25/image_06112025_19_25_40_2648.jpg', '/home/pi/Desktop/images/06112025/19/26/image_06112025_19_26_08_3582.jpg', '/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_16_2673.jpg', '/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_25_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/20/image_06112025_19_20_53_1625.jpg
/home/pi/Desktop/images/06112025/19/21/image_06112025_19_21_06_1856.jpg
/home/pi/Desktop/images/06112025/19/25/image_06112025_19_25_40_2648.jpg
/home/pi/Desktop/images/06112025/19/26/image_06112025_19_26_08_3582.jpg
/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_16_2673.jpg
/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_25_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402214819","1402214836","1402214821","1402214815","1402214834","1402214828"],"photo_ids_order":["1402214815","1402214819","1402214821","1402214828","1402214834","1402214836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/faaff6de8f6b607b199996c298caad8a.jpg","text":"TemporaryFile(/tmp/multipartBody7257523766627020709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392924594,"filename":"image_06112025_19_21_06_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c66bc53aa0d8132d9ad03d2b74cda6bb.jpg","text":"TemporaryFile(/tmp/multipartBody3867982424306209175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392924594,"filename":"image_06112025_19_31_25_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/2/292399a5a41cdbdb0af409828b8a4978.jpg","text":"TemporaryFile(/tmp/multipartBody8962098512585224627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392924594,"filename":"image_06112025_19_25_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/2/f8a1e1ad1328abe515fae7fe08add44e.jpg","text":"TemporaryFile(/tmp/multipartBody1980228567934744164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392924594,"filename":"image_06112025_19_20_53_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/2/3ddacd45583df1473f3a18fc7f90ddb7.jpg","text":"TemporaryFile(/tmp/multipartBody8798715680915762707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392924594,"filename":"image_06112025_19_31_16_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/2/f0e6591e3c05ade73c43a31ebb6667e3.jpg","text":"TemporaryFile(/tmp/multipartBody2501189693616984762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392924594,"filename":"image_06112025_19_26_08_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214821","file1":"1402214819","file0":"1402214815","file4":"1402214834","file5":"1402214836","file3":"1402214828"},"map_files_photo_id_array":[{"photo_id":"1402214836","filename":"file5"},{"photo_id":"1402214821","filename":"file2"},{"photo_id":"1402214834","filename":"file4"},{"photo_id":"1402214819","filename":"file1"},{"photo_id":"1402214815","filename":"file0"},{"photo_id":"1402214828","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402214819":["hashtag1","hashtag2"]},{"1402214836":["hashtag1","hashtag2"]},{"1402214821":["hashtag1","hashtag2"]},{"1402214815":["hashtag1","hashtag2"]},{"1402214834":["hashtag1","hashtag2"]},{"1402214828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402214819, 1402214836, 1402214821, 1402214815, 1402214834, 1402214828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08984065055847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:28:22.060744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_45_10807.jpg', '/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_54_9620.jpg', '/home/pi/Desktop/images/02012026/22/42/image_02012026_22_43_04_9731.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_15_10667.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_24_9608.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_35_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_45_10807.jpg
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_54_9620.jpg
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_43_04_9731.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_15_10667.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_24_9608.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_35_10089.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47382664680480957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:28:31.995196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_28_2710.jpg', '/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_38_2646.jpg', '/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_47_3714.jpg', '/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_49_2573.jpg', '/home/pi/Desktop/images/06112025/19/32/image_06112025_19_32_40_2613.jpg', '/home/pi/Desktop/images/06112025/19/32/image_06112025_19_32_55_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_28_2710.jpg
/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_38_2646.jpg
/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_47_3714.jpg
/home/pi/Desktop/images/06112025/19/31/image_06112025_19_31_49_2573.jpg
/home/pi/Desktop/images/06112025/19/32/image_06112025_19_32_40_2613.jpg
/home/pi/Desktop/images/06112025/19/32/image_06112025_19_32_55_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402214857","1402214854","1402214856","1402214850","1402214847","1402214855"],"photo_ids_order":["1402214847","1402214850","1402214854","1402214855","1402214856","1402214857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf1a8197c084457fa7561d8845b27be2.jpg","text":"TemporaryFile(/tmp/multipartBody1626049680517827453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392973948,"filename":"image_06112025_19_32_55_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/2/0b0d7ac0f67f004c1eeb461c86d514cd.jpg","text":"TemporaryFile(/tmp/multipartBody7149830708812616052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392973948,"filename":"image_06112025_19_31_47_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/2/bb9f04d5b04438249e878fbea8c966ac.jpg","text":"TemporaryFile(/tmp/multipartBody3639298563340775372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392973948,"filename":"image_06112025_19_32_40_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/2/80d5755a705b5bdd2c5b23cd4cce1868.jpg","text":"TemporaryFile(/tmp/multipartBody5031560267728770408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392973948,"filename":"image_06112025_19_31_38_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/2/e0145866e10d9b95052eac2cf6155332.jpg","text":"TemporaryFile(/tmp/multipartBody1116094735898878771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392973948,"filename":"image_06112025_19_31_28_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/2/903e1c0869f07366ed03b6f69aa2596f.jpg","text":"TemporaryFile(/tmp/multipartBody363142577085501830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767392973948,"filename":"image_06112025_19_31_49_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214854","file1":"1402214850","file0":"1402214847","file4":"1402214856","file5":"1402214857","file3":"1402214855"},"map_files_photo_id_array":[{"photo_id":"1402214857","filename":"file5"},{"photo_id":"1402214854","filename":"file2"},{"photo_id":"1402214856","filename":"file4"},{"photo_id":"1402214850","filename":"file1"},{"photo_id":"1402214847","filename":"file0"},{"photo_id":"1402214855","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402214857":["hashtag1","hashtag2"]},{"1402214854":["hashtag1","hashtag2"]},{"1402214856":["hashtag1","hashtag2"]},{"1402214850":["hashtag1","hashtag2"]},{"1402214847":["hashtag1","hashtag2"]},{"1402214855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402214857, 1402214854, 1402214856, 1402214850, 1402214847, 1402214855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.619178771972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:29:12.102049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/33/image_06112025_19_33_07_2719.jpg', '/home/pi/Desktop/images/06112025/19/33/image_06112025_19_33_42_11734.jpg', '/home/pi/Desktop/images/06112025/19/33/image_06112025_19_33_54_10283.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_07_3013.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_17_3574.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_19_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/33/image_06112025_19_33_07_2719.jpg
/home/pi/Desktop/images/06112025/19/33/image_06112025_19_33_42_11734.jpg
/home/pi/Desktop/images/06112025/19/33/image_06112025_19_33_54_10283.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_07_3013.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_17_3574.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_19_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":["1402214863","1402214860","1402214874","1402214877","1402214870","1402214867"],"photo_ids_order":["1402214860","1402214863","1402214867","1402214870","1402214874","1402214877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d57d3ea4464e6eca418baf70561757f3.jpg","text":"TemporaryFile(/tmp/multipartBody502098146822739936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393013932,"filename":"image_06112025_19_33_42_11734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/892c68e6e0e364be78a383009c287d11.jpg","text":"TemporaryFile(/tmp/multipartBody3211658265280990884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393013932,"filename":"image_06112025_19_33_07_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/2/8032ec949b3230d8ca0cd9de1e68e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6862228994714039943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393013932,"filename":"image_06112025_19_35_17_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/2/e05f264c6956d0c0096e4e53bf1b4840.jpg","text":"TemporaryFile(/tmp/multipartBody7678754123356940875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393013932,"filename":"image_06112025_19_35_19_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/2/836c8504dc83ab72a60a07408ae6a14a.jpg","text":"TemporaryFile(/tmp/multipartBody9128673752757707028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393013932,"filename":"image_06112025_19_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/2/278988afaabc3280a765b17d03bedfb0.jpg","text":"TemporaryFile(/tmp/multipartBody8757090709953266257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393013932,"filename":"image_06112025_19_33_54_10283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214867","file1":"1402214863","file0":"1402214860","file4":"1402214874","file5":"1402214877","file3":"1402214870"},"map_files_photo_id_array":[{"photo_id":"1402214877","filename":"file5"},{"photo_id":"1402214867","filename":"file2"},{"photo_id":"1402214874","filename":"file4"},{"photo_id":"1402214863","filename":"file1"},{"photo_id":"1402214860","filename":"file0"},{"photo_id":"1402214870","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402214863":["hashtag1","hashtag2"]},{"1402214860":["hashtag1","hashtag2"]},{"1402214874":["hashtag1","hashtag2"]},{"1402214877":["hashtag1","hashtag2"]},{"1402214870":["hashtag1","hashtag2"]},{"1402214867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402214863, 1402214860, 1402214874, 1402214877, 1402214870, 1402214867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92129135131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:30:02.698124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_45_10807.jpg', '/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_54_9620.jpg', '/home/pi/Desktop/images/02012026/22/42/image_02012026_22_43_04_9731.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_15_10667.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_24_9608.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_35_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_45_10807.jpg
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_42_54_9620.jpg
/home/pi/Desktop/images/02012026/22/42/image_02012026_22_43_04_9731.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_15_10667.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_24_9608.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_35_10089.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":["1402214893","1402214899","1402214890","1402214898","1402214886","1402214895"],"photo_ids_order":["1402214886","1402214890","1402214893","1402214895","1402214898","1402214899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6f24d6360958f4902544960d38b57eb5.jpg","text":"TemporaryFile(/tmp/multipartBody869649754770038059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393089453,"filename":"image_02012026_22_43_04_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/2/f79049825045b7536763eb9fbd10df1a.jpg","text":"TemporaryFile(/tmp/multipartBody5386248494271771452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393089453,"filename":"image_02012026_22_43_35_10089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bc7fefd8d4078f52040275d3fc139b46.jpg","text":"TemporaryFile(/tmp/multipartBody4271821646936722836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393089453,"filename":"image_02012026_22_42_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/2/f2e453a42ea36391100ff6bf06434747.jpg","text":"TemporaryFile(/tmp/multipartBody4053943556070548817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393089453,"filename":"image_02012026_22_43_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/2/aa9bbbae2d4065ebd69ded9b8d927edf.jpg","text":"TemporaryFile(/tmp/multipartBody3925746260503817788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393089453,"filename":"image_02012026_22_42_45_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/2/cb07f4afb7f1fc8fcf99b3ea01beec76.jpg","text":"TemporaryFile(/tmp/multipartBody303629035845770341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393089453,"filename":"image_02012026_22_43_15_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402214893","file1":"1402214890","file0":"1402214886","file4":"1402214898","file5":"1402214899","file3":"1402214895"},"map_files_photo_id_array":[{"photo_id":"1402214899","filename":"file5"},{"photo_id":"1402214893","filename":"file2"},{"photo_id":"1402214898","filename":"file4"},{"photo_id":"1402214890","filename":"file1"},{"photo_id":"1402214886","filename":"file0"},{"photo_id":"1402214895","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402214893":["hashtag1","hashtag2"]},{"1402214899":["hashtag1","hashtag2"]},{"1402214890":["hashtag1","hashtag2"]},{"1402214898":["hashtag1","hashtag2"]},{"1402214886":["hashtag1","hashtag2"]},{"1402214895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402214893, 1402214899, 1402214890, 1402214898, 1402214886, 1402214895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.08577871322632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:31:12.441223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_31_2702.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_34_2958.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_38_3779.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_40_2742.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_43_2789.jpg', '/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_46_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_31_2702.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_34_2958.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_38_3779.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_40_2742.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_43_2789.jpg
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_46_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402215046","1402215007","1402215120","1402215194","1402215083","1402215155"],"photo_ids_order":["1402215007","1402215046","1402215083","1402215120","1402215155","1402215194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/bbfa0fb64444edd0fab7e32446822bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1680532485033786230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393134260,"filename":"image_06112025_19_35_34_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/be3903a8442bfdd5e32a68f4591e4181.jpg","text":"TemporaryFile(/tmp/multipartBody2468831848478564134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393134260,"filename":"image_06112025_19_35_31_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/2/c88c148336872dd4d90957824d39dc2f.jpg","text":"TemporaryFile(/tmp/multipartBody8228576799330401002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393134260,"filename":"image_06112025_19_35_40_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/2/df61c998ff013915e9b18b8d92c500d5.jpg","text":"TemporaryFile(/tmp/multipartBody62828799154942585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393134260,"filename":"image_06112025_19_35_46_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/2/ea579b895300880a63d5b87a35ee164c.jpg","text":"TemporaryFile(/tmp/multipartBody2662631551627733147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393134260,"filename":"image_06112025_19_35_38_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/65d087fec81ae0b5995f9f6fb5484269.jpg","text":"TemporaryFile(/tmp/multipartBody1233975206409894160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393134260,"filename":"image_06112025_19_35_43_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402215083","file1":"1402215046","file0":"1402215007","file4":"1402215155","file5":"1402215194","file3":"1402215120"},"map_files_photo_id_array":[{"photo_id":"1402215194","filename":"file5"},{"photo_id":"1402215083","filename":"file2"},{"photo_id":"1402215155","filename":"file4"},{"photo_id":"1402215046","filename":"file1"},{"photo_id":"1402215007","filename":"file0"},{"photo_id":"1402215120","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402215046":["hashtag1","hashtag2"]},{"1402215007":["hashtag1","hashtag2"]},{"1402215120":["hashtag1","hashtag2"]},{"1402215194":["hashtag1","hashtag2"]},{"1402215083":["hashtag1","hashtag2"]},{"1402215155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402215046, 1402215007, 1402215120, 1402215194, 1402215083, 1402215155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28829884529114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:32:03.212997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_45_9979.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_54_9751.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_44_04_9671.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_15_10725.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_24_9728.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_45_9979.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_54_9751.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_44_04_9671.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_15_10725.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_24_9728.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_34_9611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4860568046569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:32:12.779219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_50_3638.jpg', '/home/pi/Desktop/images/06112025/19/37/image_06112025_19_37_13_1654.jpg', '/home/pi/Desktop/images/06112025/19/37/image_06112025_19_37_34_1713.jpg', '/home/pi/Desktop/images/06112025/19/37/image_06112025_19_37_55_8743.jpg', '/home/pi/Desktop/images/06112025/19/40/image_06112025_19_40_28_1686.jpg', '/home/pi/Desktop/images/06112025/19/40/image_06112025_19_40_40_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/35/image_06112025_19_35_50_3638.jpg
/home/pi/Desktop/images/06112025/19/37/image_06112025_19_37_13_1654.jpg
/home/pi/Desktop/images/06112025/19/37/image_06112025_19_37_34_1713.jpg
/home/pi/Desktop/images/06112025/19/37/image_06112025_19_37_55_8743.jpg
/home/pi/Desktop/images/06112025/19/40/image_06112025_19_40_28_1686.jpg
/home/pi/Desktop/images/06112025/19/40/image_06112025_19_40_40_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":["1402216080","1402215901","1402216023","1402215942","1402216171","1402216132"],"photo_ids_order":["1402215901","1402215942","1402216023","1402216080","1402216132","1402216171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/55540c2927a1f14f6a65f88645f8da75.jpg","text":"TemporaryFile(/tmp/multipartBody5314613848536869081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393194629,"filename":"image_06112025_19_37_55_8743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6068b3b9750fb62c373e8b23bc3015c9.jpg","text":"TemporaryFile(/tmp/multipartBody8959885248925188599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393194629,"filename":"image_06112025_19_35_50_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/2/c8ce8c1e00f2f4906af4f7eae504c099.jpg","text":"TemporaryFile(/tmp/multipartBody2717224962315926951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393194629,"filename":"image_06112025_19_37_34_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/2/72fe9a39404f06b74e382256767d08d0.jpg","text":"TemporaryFile(/tmp/multipartBody2946343779549343478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393194629,"filename":"image_06112025_19_37_13_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/2/2d0e5c588ee321caf790d29d1b85346f.jpg","text":"TemporaryFile(/tmp/multipartBody5586795409419211303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393194629,"filename":"image_06112025_19_40_40_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/2/0cfe24d8a3baafe1cc9b55c8d9fddeb6.jpg","text":"TemporaryFile(/tmp/multipartBody302444151947549422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393194629,"filename":"image_06112025_19_40_28_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402216023","file1":"1402215942","file0":"1402215901","file4":"1402216132","file5":"1402216171","file3":"1402216080"},"map_files_photo_id_array":[{"photo_id":"1402216171","filename":"file5"},{"photo_id":"1402216023","filename":"file2"},{"photo_id":"1402216132","filename":"file4"},{"photo_id":"1402215942","filename":"file1"},{"photo_id":"1402215901","filename":"file0"},{"photo_id":"1402216080","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402216080":["hashtag1","hashtag2"]},{"1402215901":["hashtag1","hashtag2"]},{"1402216023":["hashtag1","hashtag2"]},{"1402215942":["hashtag1","hashtag2"]},{"1402216171":["hashtag1","hashtag2"]},{"1402216132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402216080, 1402215901, 1402216023, 1402215942, 1402216171, 1402216132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21386480331421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:33:02.560572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_45_9979.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_54_9751.jpg', '/home/pi/Desktop/images/02012026/22/43/image_02012026_22_44_04_9671.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_15_10725.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_24_9728.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_45_9979.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_43_54_9751.jpg
/home/pi/Desktop/images/02012026/22/43/image_02012026_22_44_04_9671.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_15_10725.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_24_9728.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_34_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402216299","1402216371","1402216554","1402216335","1402216416","1402216486"],"photo_ids_order":["1402216299","1402216335","1402216371","1402216416","1402216486","1402216554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7f4855471858f05fa4397198a6b32799.jpg","text":"TemporaryFile(/tmp/multipartBody7721215505847658528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393243200,"filename":"image_02012026_22_43_45_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/2/0c82c141f1d171bd7b6b79b689fc4700.jpg","text":"TemporaryFile(/tmp/multipartBody2956772856181297563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393243200,"filename":"image_02012026_22_44_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/2/09724a7c4e5ee75d2eb8896f990f7cdb.jpg","text":"TemporaryFile(/tmp/multipartBody1729121470982589266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393243200,"filename":"image_02012026_22_44_34_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/2/bcdf00f6b4095739198f4dfefd1e71f4.jpg","text":"TemporaryFile(/tmp/multipartBody3651596996901336282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393243200,"filename":"image_02012026_22_43_54_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/2/1a9a6bbd902c42a247a9ad4e1293f917.jpg","text":"TemporaryFile(/tmp/multipartBody1419118378452618539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393243200,"filename":"image_02012026_22_44_15_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/2/23467d377d3806f5ad649608acd84568.jpg","text":"TemporaryFile(/tmp/multipartBody3740622343452756142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393243200,"filename":"image_02012026_22_44_24_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402216371","file1":"1402216335","file0":"1402216299","file4":"1402216486","file5":"1402216554","file3":"1402216416"},"map_files_photo_id_array":[{"photo_id":"1402216554","filename":"file5"},{"photo_id":"1402216371","filename":"file2"},{"photo_id":"1402216486","filename":"file4"},{"photo_id":"1402216335","filename":"file1"},{"photo_id":"1402216299","filename":"file0"},{"photo_id":"1402216416","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402216299":["hashtag1","hashtag2"]},{"1402216371":["hashtag1","hashtag2"]},{"1402216554":["hashtag1","hashtag2"]},{"1402216335":["hashtag1","hashtag2"]},{"1402216416":["hashtag1","hashtag2"]},{"1402216486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402216299, 1402216371, 1402216554, 1402216335, 1402216416, 1402216486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.954564332962036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:33:41.940366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/40/image_06112025_19_40_49_2780.jpg', '/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_07_1731.jpg', '/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_42_5680.jpg', '/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_48_6180.jpg', '/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_50_1748.jpg', '/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_55_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/40/image_06112025_19_40_49_2780.jpg
/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_07_1731.jpg
/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_42_5680.jpg
/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_48_6180.jpg
/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_50_1748.jpg
/home/pi/Desktop/images/06112025/19/41/image_06112025_19_41_55_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":["1402216794","1402217046","1402216845","1402216898","1402216931","1402216996"],"photo_ids_order":["1402216794","1402216845","1402216898","1402216931","1402216996","1402217046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cb6aa3235ea9bc79f80bd3b670331a61.jpg","text":"TemporaryFile(/tmp/multipartBody5177150186142165637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393283882,"filename":"image_06112025_19_40_49_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/249e5925ade6c693d1ce35deb774ad51.jpg","text":"TemporaryFile(/tmp/multipartBody9160620435075067637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393283882,"filename":"image_06112025_19_41_55_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/2/92549cb13be5df4242b08756ae7ba4dd.jpg","text":"TemporaryFile(/tmp/multipartBody5903961198163213467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393283882,"filename":"image_06112025_19_41_07_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/2/1d436c50cf5a01e8d060af495ddd0d48.jpg","text":"TemporaryFile(/tmp/multipartBody2402015175917747746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393283882,"filename":"image_06112025_19_41_42_5680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7f9b017f561a8a2b8eefc60aa6a36c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4611880694451321239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393283882,"filename":"image_06112025_19_41_48_6180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/893e145da773cb9c8494e4ef23fd9806.jpg","text":"TemporaryFile(/tmp/multipartBody4702174156455360040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393283882,"filename":"image_06112025_19_41_50_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402216898","file1":"1402216845","file0":"1402216794","file4":"1402216996","file5":"1402217046","file3":"1402216931"},"map_files_photo_id_array":[{"photo_id":"1402217046","filename":"file5"},{"photo_id":"1402216898","filename":"file2"},{"photo_id":"1402216996","filename":"file4"},{"photo_id":"1402216845","filename":"file1"},{"photo_id":"1402216794","filename":"file0"},{"photo_id":"1402216931","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402216794":["hashtag1","hashtag2"]},{"1402217046":["hashtag1","hashtag2"]},{"1402216845":["hashtag1","hashtag2"]},{"1402216898":["hashtag1","hashtag2"]},{"1402216931":["hashtag1","hashtag2"]},{"1402216996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402216794, 1402217046, 1402216845, 1402216898, 1402216931, 1402216996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.767110109329224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:34:22.215563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_45_10637.jpg', '/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_54_9661.jpg', '/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_14_10055.jpg', '/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_24_10346.jpg', '/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_35_10580.jpg', '/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_44_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_45_10637.jpg
/home/pi/Desktop/images/02012026/22/44/image_02012026_22_44_54_9661.jpg
/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_14_10055.jpg
/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_24_10346.jpg
/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_35_10580.jpg
/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_44_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":["1402217133","1402217096","1402217214","1402217091","1402217172","1402217088"],"photo_ids_order":["1402217088","1402217091","1402217096","1402217133","1402217172","1402217214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fbec288927a4b98bf14109b7da9c0ef8.jpg","text":"TemporaryFile(/tmp/multipartBody5466847250091421283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393322793,"filename":"image_02012026_22_46_24_10346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/61f23e77bb89369ff692203e3b9d93f5.jpg","text":"TemporaryFile(/tmp/multipartBody4908781555580741406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393322793,"filename":"image_02012026_22_46_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/2/1ae6aa01dcfee83c195f26d4ea1ec282.jpg","text":"TemporaryFile(/tmp/multipartBody8518902611359193967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393322793,"filename":"image_02012026_22_46_44_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/2/bc41316de31e24a0352d140b8fa7cf55.jpg","text":"TemporaryFile(/tmp/multipartBody7706076146102468013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393322793,"filename":"image_02012026_22_44_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/2/b12dd20cc0d30af5429b18b29427432f.jpg","text":"TemporaryFile(/tmp/multipartBody6519855160054821852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393322793,"filename":"image_02012026_22_46_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/2/c14e95143b1cbeb38dad7e38cdd29b16.jpg","text":"TemporaryFile(/tmp/multipartBody7946859303765272346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393322793,"filename":"image_02012026_22_44_45_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402217096","file1":"1402217091","file0":"1402217088","file4":"1402217172","file5":"1402217214","file3":"1402217133"},"map_files_photo_id_array":[{"photo_id":"1402217214","filename":"file5"},{"photo_id":"1402217096","filename":"file2"},{"photo_id":"1402217172","filename":"file4"},{"photo_id":"1402217091","filename":"file1"},{"photo_id":"1402217088","filename":"file0"},{"photo_id":"1402217133","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402217133":["hashtag1","hashtag2"]},{"1402217096":["hashtag1","hashtag2"]},{"1402217214":["hashtag1","hashtag2"]},{"1402217091":["hashtag1","hashtag2"]},{"1402217172":["hashtag1","hashtag2"]},{"1402217088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402217133, 1402217096, 1402217214, 1402217091, 1402217172, 1402217088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68231010437012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:35:02.954670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_54_9613.jpg', '/home/pi/Desktop/images/02012026/22/46/image_02012026_22_47_05_10695.jpg', '/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_15_9828.jpg', '/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_24_9697.jpg', '/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_34_9641.jpg', '/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_44_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/46/image_02012026_22_46_54_9613.jpg
/home/pi/Desktop/images/02012026/22/46/image_02012026_22_47_05_10695.jpg
/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_15_9828.jpg
/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_24_9697.jpg
/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_34_9641.jpg
/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_44_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":["1402217309","1402217299","1402217296","1402217260","1402217383","1402217286"],"photo_ids_order":["1402217260","1402217286","1402217296","1402217299","1402217309","1402217383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c4582b1402f7380ff4e529023987a493.jpg","text":"TemporaryFile(/tmp/multipartBody2600899580992257618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393363746,"filename":"image_02012026_22_47_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/2/19dcdaa6a3edf097edacfe6081d0da42.jpg","text":"TemporaryFile(/tmp/multipartBody4987748249439495386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393363746,"filename":"image_02012026_22_47_24_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/2/9140a928d76fdc57cfe263128b1527eb.jpg","text":"TemporaryFile(/tmp/multipartBody2307303520240238915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393363746,"filename":"image_02012026_22_47_15_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/2/4c25e1e891e90d8b8d150b78fe576d20.jpg","text":"TemporaryFile(/tmp/multipartBody2155381361274583699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393363746,"filename":"image_02012026_22_46_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/2/7a11c549f44c5ada0b0b51e601c750b5.jpg","text":"TemporaryFile(/tmp/multipartBody2923171549303562396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393363746,"filename":"image_02012026_22_47_44_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/2/4d0ad78b147f5ec8cccad905b764af07.jpg","text":"TemporaryFile(/tmp/multipartBody8187731026733943414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393363746,"filename":"image_02012026_22_47_05_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402217296","file1":"1402217286","file0":"1402217260","file4":"1402217309","file5":"1402217383","file3":"1402217299"},"map_files_photo_id_array":[{"photo_id":"1402217383","filename":"file5"},{"photo_id":"1402217296","filename":"file2"},{"photo_id":"1402217309","filename":"file4"},{"photo_id":"1402217286","filename":"file1"},{"photo_id":"1402217260","filename":"file0"},{"photo_id":"1402217299","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402217309":["hashtag1","hashtag2"]},{"1402217299":["hashtag1","hashtag2"]},{"1402217296":["hashtag1","hashtag2"]},{"1402217260":["hashtag1","hashtag2"]},{"1402217383":["hashtag1","hashtag2"]},{"1402217286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402217309, 1402217299, 1402217296, 1402217260, 1402217383, 1402217286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.061432123184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:35:42.298169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/41/image_06112025_19_42_00_1739.jpg', '/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_14_12379.jpg', '/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_18_1677.jpg', '/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_24_1629.jpg', '/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_28_1715.jpg', '/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_31_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/41/image_06112025_19_42_00_1739.jpg
/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_14_12379.jpg
/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_18_1677.jpg
/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_24_1629.jpg
/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_28_1715.jpg
/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_31_1754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402217421","1402217424","1402217426","1402217485","1402217449","1402217425"],"photo_ids_order":["1402217421","1402217424","1402217425","1402217426","1402217449","1402217485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8acd48d2a198866d37d83c5ddafe9d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7469014078816681853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393404240,"filename":"image_06112025_19_42_00_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/2/898dbe31969e86919b28ba66279b1dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8569943221398279055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393404240,"filename":"image_06112025_19_42_14_12379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf4c3f1f45215a6f18909790e550f90c.jpg","text":"TemporaryFile(/tmp/multipartBody3579787843314726974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393404240,"filename":"image_06112025_19_42_24_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/2/1a08408f4e15ef21acc08b6f9ec8d391.jpg","text":"TemporaryFile(/tmp/multipartBody4824877025619676899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393404240,"filename":"image_06112025_19_42_31_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/2/3c263e787fe63398e24ccff57082e132.jpg","text":"TemporaryFile(/tmp/multipartBody2465403428358175393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393404240,"filename":"image_06112025_19_42_28_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/2/296a089791a7464707511693060e1a90.jpg","text":"TemporaryFile(/tmp/multipartBody7598226159934043345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393404240,"filename":"image_06112025_19_42_18_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402217425","file1":"1402217424","file0":"1402217421","file4":"1402217449","file5":"1402217485","file3":"1402217426"},"map_files_photo_id_array":[{"photo_id":"1402217485","filename":"file5"},{"photo_id":"1402217425","filename":"file2"},{"photo_id":"1402217449","filename":"file4"},{"photo_id":"1402217424","filename":"file1"},{"photo_id":"1402217421","filename":"file0"},{"photo_id":"1402217426","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402217421":["hashtag1","hashtag2"]},{"1402217424":["hashtag1","hashtag2"]},{"1402217426":["hashtag1","hashtag2"]},{"1402217485":["hashtag1","hashtag2"]},{"1402217449":["hashtag1","hashtag2"]},{"1402217425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402217421, 1402217424, 1402217426, 1402217485, 1402217449, 1402217425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59630274772644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:36:22.589413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_54_9572.jpg', '/home/pi/Desktop/images/02012026/22/47/image_02012026_22_48_04_9815.jpg', '/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_15_10739.jpg', '/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_24_9587.jpg', '/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_34_9734.jpg', '/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_45_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/47/image_02012026_22_47_54_9572.jpg
/home/pi/Desktop/images/02012026/22/47/image_02012026_22_48_04_9815.jpg
/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_15_10739.jpg
/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_24_9587.jpg
/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_34_9734.jpg
/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_45_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":["1402217619","1402217805","1402217768","1402217657","1402217732","1402217692"],"photo_ids_order":["1402217619","1402217657","1402217692","1402217732","1402217768","1402217805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e526ee840d994963cc82a5eee2477962.jpg","text":"TemporaryFile(/tmp/multipartBody5696783966176215823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393443172,"filename":"image_02012026_22_47_54_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/2/562d9a3036f29a100c38855a272ddfbc.jpg","text":"TemporaryFile(/tmp/multipartBody4096512378963359784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393443172,"filename":"image_02012026_22_48_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/2/7168ceaaaf1c4f0129ce6058fdbd8656.jpg","text":"TemporaryFile(/tmp/multipartBody2813170796812543925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393443172,"filename":"image_02012026_22_48_34_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/2/be2e184892ca25aa61c075ffaf2027a4.jpg","text":"TemporaryFile(/tmp/multipartBody4234229174973789162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393443172,"filename":"image_02012026_22_48_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/2/576e806f286676b4c1dd4d82eae3567d.jpg","text":"TemporaryFile(/tmp/multipartBody4616178687954679404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393443172,"filename":"image_02012026_22_48_24_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/2/ad57d7179092cdb721bbac14bcfc0b21.jpg","text":"TemporaryFile(/tmp/multipartBody8326252153641741248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393443172,"filename":"image_02012026_22_48_15_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402217692","file1":"1402217657","file0":"1402217619","file4":"1402217768","file5":"1402217805","file3":"1402217732"},"map_files_photo_id_array":[{"photo_id":"1402217805","filename":"file5"},{"photo_id":"1402217692","filename":"file2"},{"photo_id":"1402217768","filename":"file4"},{"photo_id":"1402217657","filename":"file1"},{"photo_id":"1402217619","filename":"file0"},{"photo_id":"1402217732","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402217619":["hashtag1","hashtag2"]},{"1402217805":["hashtag1","hashtag2"]},{"1402217768":["hashtag1","hashtag2"]},{"1402217657":["hashtag1","hashtag2"]},{"1402217732":["hashtag1","hashtag2"]},{"1402217692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402217619, 1402217805, 1402217768, 1402217657, 1402217732, 1402217692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.933300733566284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:37:03.255120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_54_9570.jpg', '/home/pi/Desktop/images/02012026/22/48/image_02012026_22_49_04_9705.jpg', '/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_15_10678.jpg', '/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_24_9543.jpg', '/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_35_10591.jpg', '/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_44_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/48/image_02012026_22_48_54_9570.jpg
/home/pi/Desktop/images/02012026/22/48/image_02012026_22_49_04_9705.jpg
/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_15_10678.jpg
/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_24_9543.jpg
/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_35_10591.jpg
/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_44_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":["1402217949","1402218050","1402218026","1402217992","1402218052","1402218048"],"photo_ids_order":["1402217949","1402217992","1402218026","1402218048","1402218050","1402218052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b0b6086c929aad586c6a42d16f59e1f4.jpg","text":"TemporaryFile(/tmp/multipartBody6731068681790843413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393483920,"filename":"image_02012026_22_48_54_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/2/991476bcb3cadddc07d9f591c189e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody2033474805514450731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393483920,"filename":"image_02012026_22_49_35_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/2/90a17e442a4b43a24ded3778b88e6bca.jpg","text":"TemporaryFile(/tmp/multipartBody8453164281416887466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393483920,"filename":"image_02012026_22_49_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/2/bae3688e5b50d4b6660b23ac2a29a407.jpg","text":"TemporaryFile(/tmp/multipartBody8419876031326060288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393483920,"filename":"image_02012026_22_49_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/2/411890a4ecc61d1ba1a8905337492a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5821713215536612504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393483920,"filename":"image_02012026_22_49_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/2/103893a20360ff4ee5290e3b584cd0af.jpg","text":"TemporaryFile(/tmp/multipartBody5019895970211258774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393483920,"filename":"image_02012026_22_49_24_9543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402218026","file1":"1402217992","file0":"1402217949","file4":"1402218050","file5":"1402218052","file3":"1402218048"},"map_files_photo_id_array":[{"photo_id":"1402218052","filename":"file5"},{"photo_id":"1402218026","filename":"file2"},{"photo_id":"1402218050","filename":"file4"},{"photo_id":"1402217992","filename":"file1"},{"photo_id":"1402217949","filename":"file0"},{"photo_id":"1402218048","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402217949":["hashtag1","hashtag2"]},{"1402218050":["hashtag1","hashtag2"]},{"1402218026":["hashtag1","hashtag2"]},{"1402217992":["hashtag1","hashtag2"]},{"1402218052":["hashtag1","hashtag2"]},{"1402218048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402217949, 1402218050, 1402218026, 1402217992, 1402218052, 1402218048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27623629570007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:37:42.676456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_35_1873.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_04_5508.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_36_31016.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_39_2966.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_41_1889.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_45_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/42/image_06112025_19_42_35_1873.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_04_5508.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_36_31016.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_39_2966.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_41_1889.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_45_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":["1402218123","1402218089","1402218224","1402218160","1402218058","1402218195"],"photo_ids_order":["1402218058","1402218089","1402218123","1402218160","1402218195","1402218224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/71546de7893dafa85c62f350829fe6e0.jpg","text":"TemporaryFile(/tmp/multipartBody9219197980596785918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393524637,"filename":"image_06112025_19_43_36_31016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ec8716de45e4310172e85814c100316d.jpg","text":"TemporaryFile(/tmp/multipartBody8795346816257327496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393524637,"filename":"image_06112025_19_43_04_5508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f9a4b29ea01b45cb3ee370d0e0ac610.jpg","text":"TemporaryFile(/tmp/multipartBody8269303859397470989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393524637,"filename":"image_06112025_19_43_45_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/2/c7c021c641ca1b0e0b1fb135997e130f.jpg","text":"TemporaryFile(/tmp/multipartBody1050356038048214008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393524637,"filename":"image_06112025_19_43_39_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/2/e19d60f8f8e2a169a9738325175d034f.jpg","text":"TemporaryFile(/tmp/multipartBody2086796179352745746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393524637,"filename":"image_06112025_19_42_35_1873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e05a879ca75cc83fcff896d5c0c3824e.jpg","text":"TemporaryFile(/tmp/multipartBody3684416751386854358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393524637,"filename":"image_06112025_19_43_41_1889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402218123","file1":"1402218089","file0":"1402218058","file4":"1402218195","file5":"1402218224","file3":"1402218160"},"map_files_photo_id_array":[{"photo_id":"1402218224","filename":"file5"},{"photo_id":"1402218123","filename":"file2"},{"photo_id":"1402218195","filename":"file4"},{"photo_id":"1402218089","filename":"file1"},{"photo_id":"1402218058","filename":"file0"},{"photo_id":"1402218160","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402218123":["hashtag1","hashtag2"]},{"1402218089":["hashtag1","hashtag2"]},{"1402218224":["hashtag1","hashtag2"]},{"1402218160":["hashtag1","hashtag2"]},{"1402218058":["hashtag1","hashtag2"]},{"1402218195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402218123, 1402218089, 1402218224, 1402218160, 1402218058, 1402218195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89816689491272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:38:21.900030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_54_9700.jpg', '/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_14_10056.jpg', '/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_25_10689.jpg', '/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_35_9808.jpg', '/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_44_9638.jpg', '/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_55_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/49/image_02012026_22_49_54_9700.jpg
/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_14_10056.jpg
/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_25_10689.jpg
/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_35_9808.jpg
/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_44_9638.jpg
/home/pi/Desktop/images/02012026/22/50/image_02012026_22_50_55_10785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402218269","1402218298","1402218322","1402218282","1402218330","1402218327"],"photo_ids_order":["1402218269","1402218282","1402218298","1402218322","1402218327","1402218330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4455c6f74016f1e4f11dbf9680dd767d.jpg","text":"TemporaryFile(/tmp/multipartBody3847648309138321037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393562477,"filename":"image_02012026_22_49_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/2/7e5b69297a9cc19b7a89a0cba26e7f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3173436761605498215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393562477,"filename":"image_02012026_22_50_25_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/2/764e7dce94f14d142dd7fdff8727df6a.jpg","text":"TemporaryFile(/tmp/multipartBody6199697557530140990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393562477,"filename":"image_02012026_22_50_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/2/a2050fff1076d1bdda034ebf32cd80e3.jpg","text":"TemporaryFile(/tmp/multipartBody752758084911655287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393562477,"filename":"image_02012026_22_50_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/2/7640c2adcd2ab313ae53921156b609bc.jpg","text":"TemporaryFile(/tmp/multipartBody7362438498507490379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393562477,"filename":"image_02012026_22_50_55_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/2/1cf1872ef151b8e84854c4eace72cff4.jpg","text":"TemporaryFile(/tmp/multipartBody5841281811815206260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393562477,"filename":"image_02012026_22_50_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402218298","file1":"1402218282","file0":"1402218269","file4":"1402218327","file5":"1402218330","file3":"1402218322"},"map_files_photo_id_array":[{"photo_id":"1402218330","filename":"file5"},{"photo_id":"1402218298","filename":"file2"},{"photo_id":"1402218327","filename":"file4"},{"photo_id":"1402218282","filename":"file1"},{"photo_id":"1402218269","filename":"file0"},{"photo_id":"1402218322","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402218269":["hashtag1","hashtag2"]},{"1402218298":["hashtag1","hashtag2"]},{"1402218322":["hashtag1","hashtag2"]},{"1402218282":["hashtag1","hashtag2"]},{"1402218330":["hashtag1","hashtag2"]},{"1402218327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402218269, 1402218298, 1402218322, 1402218282, 1402218330, 1402218327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83308458328247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:39:02.967832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/50/image_02012026_22_51_05_9635.jpg', '/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_25_10531.jpg', '/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_35_9645.jpg', '/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_44_9753.jpg', '/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_54_9773.jpg', '/home/pi/Desktop/images/02012026/22/51/image_02012026_22_52_05_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/50/image_02012026_22_51_05_9635.jpg
/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_25_10531.jpg
/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_35_9645.jpg
/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_44_9753.jpg
/home/pi/Desktop/images/02012026/22/51/image_02012026_22_51_54_9773.jpg
/home/pi/Desktop/images/02012026/22/51/image_02012026_22_52_05_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402218356","1402218346","1402218351","1402218345","1402218354","1402218348"],"photo_ids_order":["1402218345","1402218346","1402218348","1402218351","1402218354","1402218356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9f2ba728fea04b36205a6928a2beda43.jpg","text":"TemporaryFile(/tmp/multipartBody6560901808982112467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393603707,"filename":"image_02012026_22_52_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/2/31d3f0af07e16842b83f2b1a108cde24.jpg","text":"TemporaryFile(/tmp/multipartBody692642533088773030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393603707,"filename":"image_02012026_22_51_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/2/7d02df4b688fca2d443cc60d44bddef8.jpg","text":"TemporaryFile(/tmp/multipartBody3092123003852230087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393603707,"filename":"image_02012026_22_51_44_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/2/a8c4227709ca25cef385fab5da50ee8e.jpg","text":"TemporaryFile(/tmp/multipartBody3009492534101615290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393603707,"filename":"image_02012026_22_51_05_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/2/babc191f046f870ab34efbd49eece0c1.jpg","text":"TemporaryFile(/tmp/multipartBody5160438162486949044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393603707,"filename":"image_02012026_22_51_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/2/88dcab41a215dd1e419b155d52579b67.jpg","text":"TemporaryFile(/tmp/multipartBody1659353739058091812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393603707,"filename":"image_02012026_22_51_35_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402218348","file1":"1402218346","file0":"1402218345","file4":"1402218354","file5":"1402218356","file3":"1402218351"},"map_files_photo_id_array":[{"photo_id":"1402218356","filename":"file5"},{"photo_id":"1402218348","filename":"file2"},{"photo_id":"1402218354","filename":"file4"},{"photo_id":"1402218346","filename":"file1"},{"photo_id":"1402218345","filename":"file0"},{"photo_id":"1402218351","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402218356":["hashtag1","hashtag2"]},{"1402218346":["hashtag1","hashtag2"]},{"1402218351":["hashtag1","hashtag2"]},{"1402218345":["hashtag1","hashtag2"]},{"1402218354":["hashtag1","hashtag2"]},{"1402218348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402218356, 1402218346, 1402218351, 1402218345, 1402218354, 1402218348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31422972679138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:39:42.028085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_46_1871.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_50_1626.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_52_1708.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_54_1984.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_57_1697.jpg', '/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_59_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_46_1871.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_50_1626.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_52_1708.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_54_1984.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_57_1697.jpg
/home/pi/Desktop/images/06112025/19/43/image_06112025_19_43_59_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":["1402218371","1402218446","1402218484","1402218409","1402218523","1402218366"],"photo_ids_order":["1402218366","1402218371","1402218409","1402218446","1402218484","1402218523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8a4f5960b598ab6a12d0f1c5a6208018.jpg","text":"TemporaryFile(/tmp/multipartBody332869089676366710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393643947,"filename":"image_06112025_19_43_50_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/2/84a3987bf3ee0ce3ebf0868281503c86.jpg","text":"TemporaryFile(/tmp/multipartBody5323165712141656462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393643947,"filename":"image_06112025_19_43_54_1984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a9f338e68e66d7440da514617636c4e6.jpg","text":"TemporaryFile(/tmp/multipartBody3727924145814105917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393643947,"filename":"image_06112025_19_43_57_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/2/da910ea53b2beb3ae8dd9b1a16c67e62.jpg","text":"TemporaryFile(/tmp/multipartBody2024443188855861588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393643947,"filename":"image_06112025_19_43_52_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/2/daafb818d857a80a0ac9b12cee74f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5545102346431890500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393643947,"filename":"image_06112025_19_43_59_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/2/538b40b12fb23d54f6ca828e49910ec3.jpg","text":"TemporaryFile(/tmp/multipartBody5575541496466527937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393643947,"filename":"image_06112025_19_43_46_1871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402218409","file1":"1402218371","file0":"1402218366","file4":"1402218484","file5":"1402218523","file3":"1402218446"},"map_files_photo_id_array":[{"photo_id":"1402218523","filename":"file5"},{"photo_id":"1402218409","filename":"file2"},{"photo_id":"1402218484","filename":"file4"},{"photo_id":"1402218371","filename":"file1"},{"photo_id":"1402218366","filename":"file0"},{"photo_id":"1402218446","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402218371":["hashtag1","hashtag2"]},{"1402218446":["hashtag1","hashtag2"]},{"1402218484":["hashtag1","hashtag2"]},{"1402218409":["hashtag1","hashtag2"]},{"1402218523":["hashtag1","hashtag2"]},{"1402218366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402218371, 1402218446, 1402218484, 1402218409, 1402218523, 1402218366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39723587036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:40:22.205889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_15_9655.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_25_10335.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_35_9906.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_45_9886.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_54_9603.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_53_04_10148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_15_9655.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_25_10335.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_35_9906.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_45_9886.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_54_9603.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_53_04_10148.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4570181369781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:40:32.180263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_01_1831.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_02_1631.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_04_1560.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_07_1666.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_09_1864.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_11_1764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_01_1831.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_02_1631.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_04_1560.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_07_1666.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_09_1864.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_11_1764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402218743","1402218820","1402218891","1402218858","1402218780","1402218927"],"photo_ids_order":["1402218743","1402218780","1402218820","1402218858","1402218891","1402218927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57d962c6350344cd77c8f829efb1ac9c.jpg","text":"TemporaryFile(/tmp/multipartBody2117130772307301531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393694007,"filename":"image_06112025_19_44_01_1831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aafd3c643d077b9764c6a74d0790c710.jpg","text":"TemporaryFile(/tmp/multipartBody5642518660218342491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393694007,"filename":"image_06112025_19_44_04_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/2/005f2e63ac70219a93d7c2b5364edfe2.jpg","text":"TemporaryFile(/tmp/multipartBody9066460835561595046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393694007,"filename":"image_06112025_19_44_09_1864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/15895b3993ef8c7ef07eaf3ff4deec27.jpg","text":"TemporaryFile(/tmp/multipartBody8625464455219178265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393694007,"filename":"image_06112025_19_44_07_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/2/04a9cfbf9704710f58f2d9e371063d94.jpg","text":"TemporaryFile(/tmp/multipartBody469726158268862664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393694007,"filename":"image_06112025_19_44_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/2/ec0c10d5b77937f9ab92087b8a499fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3984483035901625311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393694007,"filename":"image_06112025_19_44_11_1764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402218820","file1":"1402218780","file0":"1402218743","file4":"1402218891","file5":"1402218927","file3":"1402218858"},"map_files_photo_id_array":[{"photo_id":"1402218927","filename":"file5"},{"photo_id":"1402218820","filename":"file2"},{"photo_id":"1402218891","filename":"file4"},{"photo_id":"1402218780","filename":"file1"},{"photo_id":"1402218743","filename":"file0"},{"photo_id":"1402218858","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402218743":["hashtag1","hashtag2"]},{"1402218820":["hashtag1","hashtag2"]},{"1402218891":["hashtag1","hashtag2"]},{"1402218858":["hashtag1","hashtag2"]},{"1402218780":["hashtag1","hashtag2"]},{"1402218927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402218743, 1402218820, 1402218891, 1402218858, 1402218780, 1402218927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70108485221863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:41:12.463353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_13_1827.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_14_1654.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_21_7309.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_23_1593.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_26_1766.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_28_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_13_1827.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_14_1654.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_21_7309.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_23_1593.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_26_1766.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_28_1799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402219189","1402219127","1402219183","1402219186","1402219165","1402219088"],"photo_ids_order":["1402219088","1402219127","1402219165","1402219183","1402219186","1402219189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a3c431b000e9f9f6226935558b3fa7e6.jpg","text":"TemporaryFile(/tmp/multipartBody2723038626315636180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393734263,"filename":"image_06112025_19_44_28_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/2/4697e44bc3a7d9a162ecf28d7d176106.jpg","text":"TemporaryFile(/tmp/multipartBody8161637883388199865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393734263,"filename":"image_06112025_19_44_14_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/2/30eb3e1fa633284329a3957528d62b33.jpg","text":"TemporaryFile(/tmp/multipartBody4252752935682082755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393734263,"filename":"image_06112025_19_44_23_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/2/98a0ebc53b4359bc0111b04502867002.jpg","text":"TemporaryFile(/tmp/multipartBody1681421146383227940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393734263,"filename":"image_06112025_19_44_26_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/2/63ecd9fbc443ea379f80563aff3c279e.jpg","text":"TemporaryFile(/tmp/multipartBody3939774724025879789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393734263,"filename":"image_06112025_19_44_21_7309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d65fa6952d0931778c221c9abc4a1bc5.jpg","text":"TemporaryFile(/tmp/multipartBody1025014449722537020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393734263,"filename":"image_06112025_19_44_13_1827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402219165","file1":"1402219127","file0":"1402219088","file4":"1402219186","file5":"1402219189","file3":"1402219183"},"map_files_photo_id_array":[{"photo_id":"1402219189","filename":"file5"},{"photo_id":"1402219165","filename":"file2"},{"photo_id":"1402219186","filename":"file4"},{"photo_id":"1402219127","filename":"file1"},{"photo_id":"1402219088","filename":"file0"},{"photo_id":"1402219183","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402219189":["hashtag1","hashtag2"]},{"1402219127":["hashtag1","hashtag2"]},{"1402219183":["hashtag1","hashtag2"]},{"1402219186":["hashtag1","hashtag2"]},{"1402219165":["hashtag1","hashtag2"]},{"1402219088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402219189, 1402219127, 1402219183, 1402219186, 1402219165, 1402219088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19425320625305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:42:04.430509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 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-02 23:42:12.674785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_30_1899.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_32_1698.jpg', '/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_49_11825.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_07_3011.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_11_3639.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_13_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_30_1899.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_32_1698.jpg
/home/pi/Desktop/images/06112025/19/44/image_06112025_19_44_49_11825.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_07_3011.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_11_3639.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_13_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402219897","1402219972","1402220041","1402219773","1402220154","1402220082"],"photo_ids_order":["1402219773","1402219897","1402219972","1402220041","1402220082","1402220154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1602f35656d527a9cb8bbb5c59f5da9e.jpg","text":"TemporaryFile(/tmp/multipartBody4239136506771106828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393794588,"filename":"image_06112025_19_44_32_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/2/a65f0456219d23c1003b0883f5c52ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7629275652392836718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393794588,"filename":"image_06112025_19_44_49_11825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/66147cfa88a96830576e3fc94bb871f6.jpg","text":"TemporaryFile(/tmp/multipartBody2001768208972286436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393794588,"filename":"image_06112025_19_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/2/ac03bf4dc1756ad149bc702281ffe5f6.jpg","text":"TemporaryFile(/tmp/multipartBody5123749575302040693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393794588,"filename":"image_06112025_19_44_30_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/2/efa4ae681292b54d729e08aacd483c69.jpg","text":"TemporaryFile(/tmp/multipartBody4111570325154386952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393794588,"filename":"image_06112025_19_46_13_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/2/007a88b7f5a5d5e6d5a884969f782ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2905241722084894617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393794588,"filename":"image_06112025_19_46_11_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402219972","file1":"1402219897","file0":"1402219773","file4":"1402220082","file5":"1402220154","file3":"1402220041"},"map_files_photo_id_array":[{"photo_id":"1402220154","filename":"file5"},{"photo_id":"1402219972","filename":"file2"},{"photo_id":"1402220082","filename":"file4"},{"photo_id":"1402219897","filename":"file1"},{"photo_id":"1402219773","filename":"file0"},{"photo_id":"1402220041","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402219897":["hashtag1","hashtag2"]},{"1402219972":["hashtag1","hashtag2"]},{"1402220041":["hashtag1","hashtag2"]},{"1402219773":["hashtag1","hashtag2"]},{"1402220154":["hashtag1","hashtag2"]},{"1402220082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402219897, 1402219972, 1402220041, 1402219773, 1402220154, 1402220082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.979846715927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:43:08.074895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_15_9655.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_25_10335.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_35_9906.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_45_9886.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_54_9603.jpg', '/home/pi/Desktop/images/02012026/22/52/image_02012026_22_53_04_10148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_15_9655.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_25_10335.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_35_9906.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_45_9886.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_52_54_9603.jpg
/home/pi/Desktop/images/02012026/22/52/image_02012026_22_53_04_10148.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":["1402220561","1402220570","1402220587","1402220539","1402220589","1402220583"],"photo_ids_order":["1402220539","1402220561","1402220570","1402220583","1402220587","1402220589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a8ea6d016ba24f1a1891eee8d3794558.jpg","text":"TemporaryFile(/tmp/multipartBody5117317693196495090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393848792,"filename":"image_02012026_22_52_25_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/2/babaddc47280ee4ae860ce6655fbc47c.jpg","text":"TemporaryFile(/tmp/multipartBody1396815206396934458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393848792,"filename":"image_02012026_22_52_35_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/2/f7f4088d715f80ebab438fcd4a6ff0be.jpg","text":"TemporaryFile(/tmp/multipartBody4657938944602532349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393848792,"filename":"image_02012026_22_52_54_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/2/1cb4071b350e812b9f32a20d8d6445c8.jpg","text":"TemporaryFile(/tmp/multipartBody613685999398069871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393848792,"filename":"image_02012026_22_52_15_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/2/cfa278d55871dedabfcad8e4b56dcd4e.jpg","text":"TemporaryFile(/tmp/multipartBody140135285175907365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393848792,"filename":"image_02012026_22_53_04_10148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a1dca5210d01dfab1ed28b84a29c8a4.jpg","text":"TemporaryFile(/tmp/multipartBody8260511320817224431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393848792,"filename":"image_02012026_22_52_45_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402220570","file1":"1402220561","file0":"1402220539","file4":"1402220587","file5":"1402220589","file3":"1402220583"},"map_files_photo_id_array":[{"photo_id":"1402220589","filename":"file5"},{"photo_id":"1402220570","filename":"file2"},{"photo_id":"1402220587","filename":"file4"},{"photo_id":"1402220561","filename":"file1"},{"photo_id":"1402220539","filename":"file0"},{"photo_id":"1402220583","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402220561":["hashtag1","hashtag2"]},{"1402220570":["hashtag1","hashtag2"]},{"1402220587":["hashtag1","hashtag2"]},{"1402220539":["hashtag1","hashtag2"]},{"1402220589":["hashtag1","hashtag2"]},{"1402220583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402220561, 1402220570, 1402220587, 1402220539, 1402220589, 1402220583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62652134895325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:44:03.193439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_15_10681.jpg', '/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_25_9623.jpg', '/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_35_10221.jpg', '/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_45_9765.jpg', '/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_54_9600.jpg', '/home/pi/Desktop/images/02012026/22/53/image_02012026_22_54_05_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_15_10681.jpg
/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_25_9623.jpg
/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_35_10221.jpg
/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_45_9765.jpg
/home/pi/Desktop/images/02012026/22/53/image_02012026_22_53_54_9600.jpg
/home/pi/Desktop/images/02012026/22/53/image_02012026_22_54_05_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":["1402220814","1402220795","1402220819","1402220776","1402220770","1402220733"],"photo_ids_order":["1402220733","1402220770","1402220776","1402220795","1402220814","1402220819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7ac56586ff10c47469f5183bca18a1a6.jpg","text":"TemporaryFile(/tmp/multipartBody5061992785667630315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393903820,"filename":"image_02012026_22_53_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/2/ff1765dc24bf70c2c26ac4cf8c2687a8.jpg","text":"TemporaryFile(/tmp/multipartBody5498272263350544304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393903820,"filename":"image_02012026_22_53_45_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/2/f29ee9a8ad3e66ea235e532639b2603f.jpg","text":"TemporaryFile(/tmp/multipartBody809513098065694895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393903820,"filename":"image_02012026_22_54_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/2/e7660577290fddde11a1cecd4eb7e8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6554178661384838210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393903820,"filename":"image_02012026_22_53_35_10221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/eff46564e1bcb22dd2c1ab71f070aff8.jpg","text":"TemporaryFile(/tmp/multipartBody4560158560056302913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393903820,"filename":"image_02012026_22_53_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/2/3d96a40c1832d7473189c58de1e2204d.jpg","text":"TemporaryFile(/tmp/multipartBody6250909844360694321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393903820,"filename":"image_02012026_22_53_15_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402220776","file1":"1402220770","file0":"1402220733","file4":"1402220814","file5":"1402220819","file3":"1402220795"},"map_files_photo_id_array":[{"photo_id":"1402220819","filename":"file5"},{"photo_id":"1402220776","filename":"file2"},{"photo_id":"1402220814","filename":"file4"},{"photo_id":"1402220770","filename":"file1"},{"photo_id":"1402220733","filename":"file0"},{"photo_id":"1402220795","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402220814":["hashtag1","hashtag2"]},{"1402220795":["hashtag1","hashtag2"]},{"1402220819":["hashtag1","hashtag2"]},{"1402220776":["hashtag1","hashtag2"]},{"1402220770":["hashtag1","hashtag2"]},{"1402220733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402220814, 1402220795, 1402220819, 1402220776, 1402220770, 1402220733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.715744733810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:44:42.506031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_23_9923.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_27_1733.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_31_4665.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_33_1722.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_37_1731.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_38_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_23_9923.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_27_1733.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_31_4665.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_33_1722.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_37_1731.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_38_1699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402220846","1402220858","1402220833","1402220853","1402220835","1402220847"],"photo_ids_order":["1402220833","1402220835","1402220846","1402220847","1402220853","1402220858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/635b47ed8ea19de9d1cf5b059e899606.jpg","text":"TemporaryFile(/tmp/multipartBody5403620150623327362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393944443,"filename":"image_06112025_19_46_31_4665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/aa662c3787f37927a951c852bc651a97.jpg","text":"TemporaryFile(/tmp/multipartBody5832130237182600789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393944443,"filename":"image_06112025_19_46_38_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/2/e965189177bb772d9f818737c9de90b9.jpg","text":"TemporaryFile(/tmp/multipartBody4926531460830614134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393944443,"filename":"image_06112025_19_46_23_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/2/ef44e2ff70bd29b4b03f2e86f81fc565.jpg","text":"TemporaryFile(/tmp/multipartBody2010292188428060622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393944443,"filename":"image_06112025_19_46_37_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/2/c2853a465810706c12f0f74851425f24.jpg","text":"TemporaryFile(/tmp/multipartBody5087167766930805240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393944443,"filename":"image_06112025_19_46_27_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/2/204855ef39461e07811927d502197fe0.jpg","text":"TemporaryFile(/tmp/multipartBody5146442571442635331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393944443,"filename":"image_06112025_19_46_33_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402220846","file1":"1402220835","file0":"1402220833","file4":"1402220853","file5":"1402220858","file3":"1402220847"},"map_files_photo_id_array":[{"photo_id":"1402220858","filename":"file5"},{"photo_id":"1402220846","filename":"file2"},{"photo_id":"1402220853","filename":"file4"},{"photo_id":"1402220835","filename":"file1"},{"photo_id":"1402220833","filename":"file0"},{"photo_id":"1402220847","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402220846":["hashtag1","hashtag2"]},{"1402220858":["hashtag1","hashtag2"]},{"1402220833":["hashtag1","hashtag2"]},{"1402220853":["hashtag1","hashtag2"]},{"1402220835":["hashtag1","hashtag2"]},{"1402220847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402220846, 1402220858, 1402220833, 1402220853, 1402220835, 1402220847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92262077331543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:45:32.742664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_40_1585.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_46_2586.jpg', '/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_53_2729.jpg', '/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_07_1580.jpg', '/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_09_1598.jpg', '/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_42_33783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_40_1585.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_46_2586.jpg
/home/pi/Desktop/images/06112025/19/46/image_06112025_19_46_53_2729.jpg
/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_07_1580.jpg
/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_09_1598.jpg
/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_42_33783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402220870","1402220873","1402220876","1402220875","1402220866","1402220868"],"photo_ids_order":["1402220866","1402220868","1402220870","1402220873","1402220875","1402220876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e297b9916b62fd974eb969fe8895ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody6588203433295393502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393994682,"filename":"image_06112025_19_46_53_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/2/268f268b861873562e0fa39bec5ef5c9.jpg","text":"TemporaryFile(/tmp/multipartBody3439241194196024526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393994682,"filename":"image_06112025_19_47_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/2/a31050935976bbe46c4254034e1270aa.jpg","text":"TemporaryFile(/tmp/multipartBody7283270670675982151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393994682,"filename":"image_06112025_19_47_42_33783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8cd5e137524ff61f188750ca3e7d131a.jpg","text":"TemporaryFile(/tmp/multipartBody4278818185834305437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393994682,"filename":"image_06112025_19_47_09_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/2/8a07eb6a8b55ae6c4a89709a0c9bbc51.jpg","text":"TemporaryFile(/tmp/multipartBody2280470821986529413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393994682,"filename":"image_06112025_19_46_40_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/2/62450209733dbc1f984c03dc04ba9315.jpg","text":"TemporaryFile(/tmp/multipartBody554129740228587470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767393994682,"filename":"image_06112025_19_46_46_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402220870","file1":"1402220868","file0":"1402220866","file4":"1402220875","file5":"1402220876","file3":"1402220873"},"map_files_photo_id_array":[{"photo_id":"1402220876","filename":"file5"},{"photo_id":"1402220870","filename":"file2"},{"photo_id":"1402220875","filename":"file4"},{"photo_id":"1402220868","filename":"file1"},{"photo_id":"1402220866","filename":"file0"},{"photo_id":"1402220873","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402220870":["hashtag1","hashtag2"]},{"1402220873":["hashtag1","hashtag2"]},{"1402220876":["hashtag1","hashtag2"]},{"1402220875":["hashtag1","hashtag2"]},{"1402220866":["hashtag1","hashtag2"]},{"1402220868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402220870, 1402220873, 1402220876, 1402220875, 1402220866, 1402220868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.982638120651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:46:12.794012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_58_1646.jpg', '/home/pi/Desktop/images/06112025/19/47/image_06112025_19_48_00_1535.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_02_1871.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_03_1676.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_05_1642.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_08_1706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/47/image_06112025_19_47_58_1646.jpg
/home/pi/Desktop/images/06112025/19/47/image_06112025_19_48_00_1535.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_02_1871.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_03_1676.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_05_1642.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_08_1706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402221088","1402221211","1402221468","1402221342","1402221051","1402221012"],"photo_ids_order":["1402221012","1402221051","1402221088","1402221211","1402221342","1402221468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4cbb95bdd158ada651df0a7350b68f68.jpg","text":"TemporaryFile(/tmp/multipartBody6575414855040509793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394034619,"filename":"image_06112025_19_48_02_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c51ad0a605a743b111e8fdf0d2071482.jpg","text":"TemporaryFile(/tmp/multipartBody6498951143993961910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394034619,"filename":"image_06112025_19_48_03_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/2/5eeebf65da2a006655c1bf8182e13a00.jpg","text":"TemporaryFile(/tmp/multipartBody2261314635339619650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394034619,"filename":"image_06112025_19_48_08_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/2/a7edcf56bbd1b73be832cbc249ebd11f.jpg","text":"TemporaryFile(/tmp/multipartBody8841614220583595514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394034619,"filename":"image_06112025_19_48_05_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/2/6b292a1e678156e8905b56f01e0da7e4.jpg","text":"TemporaryFile(/tmp/multipartBody3613658596670233133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394034619,"filename":"image_06112025_19_48_00_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/2/872cd8eaf85f433363219488c486e362.jpg","text":"TemporaryFile(/tmp/multipartBody4126006162692920105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394034619,"filename":"image_06112025_19_47_58_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402221088","file1":"1402221051","file0":"1402221012","file4":"1402221342","file5":"1402221468","file3":"1402221211"},"map_files_photo_id_array":[{"photo_id":"1402221468","filename":"file5"},{"photo_id":"1402221088","filename":"file2"},{"photo_id":"1402221342","filename":"file4"},{"photo_id":"1402221051","filename":"file1"},{"photo_id":"1402221012","filename":"file0"},{"photo_id":"1402221211","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402221088":["hashtag1","hashtag2"]},{"1402221211":["hashtag1","hashtag2"]},{"1402221468":["hashtag1","hashtag2"]},{"1402221342":["hashtag1","hashtag2"]},{"1402221051":["hashtag1","hashtag2"]},{"1402221012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402221088, 1402221211, 1402221468, 1402221342, 1402221051, 1402221012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04668307304382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:47:02.791528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_24_9668.jpg', '/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_35_10621.jpg', '/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_45_10073.jpg', '/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_55_9900.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_14_10048.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_24_10233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_24_9668.jpg
/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_35_10621.jpg
/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_45_10073.jpg
/home/pi/Desktop/images/02012026/22/54/image_02012026_22_54_55_9900.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_14_10048.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_24_10233.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402221865","1402221981","1402221777","1402221945","1402221903","1402221825"],"photo_ids_order":["1402221777","1402221825","1402221865","1402221903","1402221945","1402221981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/159c352dd9b00e02a029ae790925c788.jpg","text":"TemporaryFile(/tmp/multipartBody1767639204796983115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394083427,"filename":"image_02012026_22_54_45_10073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/4c8a8edb7bd83ae8ba9d6696167ed93d.jpg","text":"TemporaryFile(/tmp/multipartBody3176349718136204169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394083427,"filename":"image_02012026_22_55_24_10233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/28018742de0b0fd92534bb74ce663b33.jpg","text":"TemporaryFile(/tmp/multipartBody4530924613627285036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394083427,"filename":"image_02012026_22_54_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/2/32db82671d8cd9f2a95cef40532834ce.jpg","text":"TemporaryFile(/tmp/multipartBody3799941372213873163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394083427,"filename":"image_02012026_22_55_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f31dea75da1d17aef62c1a661802305a.jpg","text":"TemporaryFile(/tmp/multipartBody1516134263084409679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394083427,"filename":"image_02012026_22_54_55_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/2/a38b40fbf0102c6d7e40dfbce502a4eb.jpg","text":"TemporaryFile(/tmp/multipartBody3211852027123772572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394083427,"filename":"image_02012026_22_54_35_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402221865","file1":"1402221825","file0":"1402221777","file4":"1402221945","file5":"1402221981","file3":"1402221903"},"map_files_photo_id_array":[{"photo_id":"1402221981","filename":"file5"},{"photo_id":"1402221865","filename":"file2"},{"photo_id":"1402221945","filename":"file4"},{"photo_id":"1402221825","filename":"file1"},{"photo_id":"1402221777","filename":"file0"},{"photo_id":"1402221903","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402221865":["hashtag1","hashtag2"]},{"1402221981":["hashtag1","hashtag2"]},{"1402221777":["hashtag1","hashtag2"]},{"1402221945":["hashtag1","hashtag2"]},{"1402221903":["hashtag1","hashtag2"]},{"1402221825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402221865, 1402221981, 1402221777, 1402221945, 1402221903, 1402221825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27503705024719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:47:42.041163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_10_1757.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_12_1725.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_19_6913.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_22_1690.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_24_1743.jpg', '/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_27_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_10_1757.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_12_1725.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_19_6913.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_22_1690.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_24_1743.jpg
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_27_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402222072","1402222069","1402222071","1402222059","1402222055","1402222070"],"photo_ids_order":["1402222055","1402222059","1402222069","1402222070","1402222071","1402222072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/14b0a44773fb95a0dc6c89c01995fcf0.jpg","text":"TemporaryFile(/tmp/multipartBody4945321848327858605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394124022,"filename":"image_06112025_19_48_27_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/2/93c9b2a5e5e2ad0c838d947129722d61.jpg","text":"TemporaryFile(/tmp/multipartBody4126398423433713808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394124022,"filename":"image_06112025_19_48_19_6913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d1c05e3e6f5a978ba61da448051fe13f.jpg","text":"TemporaryFile(/tmp/multipartBody7983460906893089243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394124022,"filename":"image_06112025_19_48_24_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/2/e521f0085135e3ed5be2d1d9f9ac3fbf.jpg","text":"TemporaryFile(/tmp/multipartBody95156232337839188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394124022,"filename":"image_06112025_19_48_12_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/2/059947a23442284bf77d07254d55d70d.jpg","text":"TemporaryFile(/tmp/multipartBody7767104518115820786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394124022,"filename":"image_06112025_19_48_10_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/2/3bcbe6b8c00ab109aa28056920033eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7107251510471682239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394124022,"filename":"image_06112025_19_48_22_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222069","file1":"1402222059","file0":"1402222055","file4":"1402222071","file5":"1402222072","file3":"1402222070"},"map_files_photo_id_array":[{"photo_id":"1402222072","filename":"file5"},{"photo_id":"1402222069","filename":"file2"},{"photo_id":"1402222071","filename":"file4"},{"photo_id":"1402222059","filename":"file1"},{"photo_id":"1402222055","filename":"file0"},{"photo_id":"1402222070","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402222072":["hashtag1","hashtag2"]},{"1402222069":["hashtag1","hashtag2"]},{"1402222071":["hashtag1","hashtag2"]},{"1402222059":["hashtag1","hashtag2"]},{"1402222055":["hashtag1","hashtag2"]},{"1402222070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402222072, 1402222069, 1402222071, 1402222059, 1402222055, 1402222070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37103819847107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:48:22.198980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_34_9761.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_44_10097.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_54_10611.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_56_04_9279.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_14_10249.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_24_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_34_9761.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_44_10097.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_54_10611.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_56_04_9279.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_14_10249.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_24_10623.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.46735167503356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:48:32.230495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_31_1642.jpg', '/home/pi/Desktop/images/06112025/19/49/image_06112025_19_49_02_18835.jpg', '/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_07_3012.jpg', '/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_11_3654.jpg', '/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_25_1617.jpg', '/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_35_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/48/image_06112025_19_48_31_1642.jpg
/home/pi/Desktop/images/06112025/19/49/image_06112025_19_49_02_18835.jpg
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_07_3012.jpg
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_11_3654.jpg
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_25_1617.jpg
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_35_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":["1402222282","1402222327","1402222359","1402222245","1402222298","1402222358"],"photo_ids_order":["1402222245","1402222282","1402222298","1402222327","1402222358","1402222359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b9a50ec32d827b926801fe90470664a0.jpg","text":"TemporaryFile(/tmp/multipartBody7012858585454139253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394174218,"filename":"image_06112025_19_49_02_18835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0d00d0088487d3e65ce210d703f17aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5613991495757554351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394174218,"filename":"image_06112025_19_52_11_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/2/01e08085f353e12b623add5d1ce4fb66.jpg","text":"TemporaryFile(/tmp/multipartBody3846591053383548988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394174218,"filename":"image_06112025_19_52_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/2/61bffdc5ae432e7cd37ab8150af5c837.jpg","text":"TemporaryFile(/tmp/multipartBody783660992004589886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394174218,"filename":"image_06112025_19_48_31_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/2/5f2a51bbb45a827def6dd62047a31606.jpg","text":"TemporaryFile(/tmp/multipartBody5087715942553620236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394174218,"filename":"image_06112025_19_52_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/2/f37491c82a5406e23eb12cb7d8cc9b34.jpg","text":"TemporaryFile(/tmp/multipartBody423479064246809094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394174218,"filename":"image_06112025_19_52_25_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222298","file1":"1402222282","file0":"1402222245","file4":"1402222358","file5":"1402222359","file3":"1402222327"},"map_files_photo_id_array":[{"photo_id":"1402222359","filename":"file5"},{"photo_id":"1402222298","filename":"file2"},{"photo_id":"1402222358","filename":"file4"},{"photo_id":"1402222282","filename":"file1"},{"photo_id":"1402222245","filename":"file0"},{"photo_id":"1402222327","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402222282":["hashtag1","hashtag2"]},{"1402222327":["hashtag1","hashtag2"]},{"1402222359":["hashtag1","hashtag2"]},{"1402222245":["hashtag1","hashtag2"]},{"1402222298":["hashtag1","hashtag2"]},{"1402222358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402222282, 1402222327, 1402222359, 1402222245, 1402222298, 1402222358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.095693826675415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:49:22.367580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_34_9761.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_44_10097.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_54_10611.jpg', '/home/pi/Desktop/images/02012026/22/55/image_02012026_22_56_04_9279.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_14_10249.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_24_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_34_9761.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_44_10097.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_55_54_10611.jpg
/home/pi/Desktop/images/02012026/22/55/image_02012026_22_56_04_9279.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_14_10249.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_24_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":["1402222424","1402222418","1402222426","1402222429","1402222422","1402222419"],"photo_ids_order":["1402222418","1402222419","1402222422","1402222424","1402222426","1402222429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/199aaa6e820473af93de7f40ef9bf0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4382984892745765794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394222940,"filename":"image_02012026_22_56_04_9279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/10f74535b76724ff2c030a51fc4de711.jpg","text":"TemporaryFile(/tmp/multipartBody6471818190305520237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394222940,"filename":"image_02012026_22_55_34_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/2/0975647fe33b8a5aba3f93f7a57e5259.jpg","text":"TemporaryFile(/tmp/multipartBody2357681317901172800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394222940,"filename":"image_02012026_22_56_14_10249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/531daa1703a67105038a019c1ac7cbdf.jpg","text":"TemporaryFile(/tmp/multipartBody6782169622455091211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394222940,"filename":"image_02012026_22_56_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fdbf9dda06bc8fddb511c9fff6279c47.jpg","text":"TemporaryFile(/tmp/multipartBody2925680696119607478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394222940,"filename":"image_02012026_22_55_54_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/2/0f86d69b8b3c5ceb79be9a6474901b47.jpg","text":"TemporaryFile(/tmp/multipartBody2587444867768796569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394222940,"filename":"image_02012026_22_55_44_10097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222422","file1":"1402222419","file0":"1402222418","file4":"1402222426","file5":"1402222429","file3":"1402222424"},"map_files_photo_id_array":[{"photo_id":"1402222429","filename":"file5"},{"photo_id":"1402222422","filename":"file2"},{"photo_id":"1402222426","filename":"file4"},{"photo_id":"1402222419","filename":"file1"},{"photo_id":"1402222418","filename":"file0"},{"photo_id":"1402222424","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402222424":["hashtag1","hashtag2"]},{"1402222418":["hashtag1","hashtag2"]},{"1402222426":["hashtag1","hashtag2"]},{"1402222429":["hashtag1","hashtag2"]},{"1402222422":["hashtag1","hashtag2"]},{"1402222419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402222424, 1402222418, 1402222426, 1402222429, 1402222422, 1402222419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55902051925659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:50:02.890857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_34_9625.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_44_10021.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_54_9566.jpg', '/home/pi/Desktop/images/02012026/22/56/image_02012026_22_57_04_10727.jpg', '/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_14_9774.jpg', '/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_24_10277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_34_9625.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_44_10021.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_56_54_9566.jpg
/home/pi/Desktop/images/02012026/22/56/image_02012026_22_57_04_10727.jpg
/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_14_9774.jpg
/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_24_10277.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402222441","1402222435","1402222437","1402222431","1402222439","1402222433"],"photo_ids_order":["1402222431","1402222433","1402222435","1402222437","1402222439","1402222441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/20239fae4b599c102f25c11312097905.jpg","text":"TemporaryFile(/tmp/multipartBody5383584487192603698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394263495,"filename":"image_02012026_22_57_24_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/2/d26a7bcbaf77b8dbfceeaa9459044f94.jpg","text":"TemporaryFile(/tmp/multipartBody243977014936671326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394263495,"filename":"image_02012026_22_56_54_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/2/840fe83c55d5321c3c0d4b56204eb06f.jpg","text":"TemporaryFile(/tmp/multipartBody5423060395840437311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394263495,"filename":"image_02012026_22_57_04_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/2/1dab30cbed425958430fed75b9fadeef.jpg","text":"TemporaryFile(/tmp/multipartBody8055033111909139747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394263495,"filename":"image_02012026_22_56_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/2/191c6db7c1387e3d55461ce7878c5d14.jpg","text":"TemporaryFile(/tmp/multipartBody8132926867528746067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394263495,"filename":"image_02012026_22_57_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/2/f48a5c60e009759605bb09667b1ea1cd.jpg","text":"TemporaryFile(/tmp/multipartBody5643542976628315757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394263495,"filename":"image_02012026_22_56_44_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222435","file1":"1402222433","file0":"1402222431","file4":"1402222439","file5":"1402222441","file3":"1402222437"},"map_files_photo_id_array":[{"photo_id":"1402222441","filename":"file5"},{"photo_id":"1402222435","filename":"file2"},{"photo_id":"1402222439","filename":"file4"},{"photo_id":"1402222433","filename":"file1"},{"photo_id":"1402222431","filename":"file0"},{"photo_id":"1402222437","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402222441":["hashtag1","hashtag2"]},{"1402222435":["hashtag1","hashtag2"]},{"1402222437":["hashtag1","hashtag2"]},{"1402222431":["hashtag1","hashtag2"]},{"1402222439":["hashtag1","hashtag2"]},{"1402222433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402222441, 1402222435, 1402222437, 1402222431, 1402222439, 1402222433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07703518867493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:50:42.566679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_38_2604.jpg', '/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_40_2704.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_02_5655.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_03_1690.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_05_1613.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_22_16844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_38_2604.jpg
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_40_2704.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_02_5655.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_03_1690.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_05_1613.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_22_16844.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8622405529022217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:51:03.337127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_34_9589.jpg', '/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_44_9729.jpg', '/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_54_10685.jpg', '/home/pi/Desktop/images/02012026/22/57/image_02012026_22_58_04_9620.jpg', '/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_14_9856.jpg', '/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_24_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_34_9589.jpg
/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_44_9729.jpg
/home/pi/Desktop/images/02012026/22/57/image_02012026_22_57_54_10685.jpg
/home/pi/Desktop/images/02012026/22/57/image_02012026_22_58_04_9620.jpg
/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_14_9856.jpg
/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_24_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":["1402222468","1402222470","1402222464","1402222475","1402222472","1402222466"],"photo_ids_order":["1402222464","1402222466","1402222468","1402222470","1402222472","1402222475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/996b5789f723a6cd0ca6c9454fbccf85.jpg","text":"TemporaryFile(/tmp/multipartBody6941418379624999029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394323947,"filename":"image_02012026_22_57_54_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/2/aa22be0f9c8c419683e56815136db98c.jpg","text":"TemporaryFile(/tmp/multipartBody5025400599693355868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394323947,"filename":"image_02012026_22_58_04_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/2/0bd3f219e8b27bf09df2dbae4f429ea4.jpg","text":"TemporaryFile(/tmp/multipartBody6489884651881071309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394323947,"filename":"image_02012026_22_57_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/2/57bb765f92bf19c05e593cbde6d159ff.jpg","text":"TemporaryFile(/tmp/multipartBody5697678799818294375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394323947,"filename":"image_02012026_22_58_24_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/2/b88f6ff0b5dc84ea1cd42f85c3a11bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8212568553141593676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394323947,"filename":"image_02012026_22_58_14_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/2/9f164a93231b62cbd01e18d16379325e.jpg","text":"TemporaryFile(/tmp/multipartBody5958151621658795118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394323947,"filename":"image_02012026_22_57_44_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222468","file1":"1402222466","file0":"1402222464","file4":"1402222472","file5":"1402222475","file3":"1402222470"},"map_files_photo_id_array":[{"photo_id":"1402222475","filename":"file5"},{"photo_id":"1402222468","filename":"file2"},{"photo_id":"1402222472","filename":"file4"},{"photo_id":"1402222466","filename":"file1"},{"photo_id":"1402222464","filename":"file0"},{"photo_id":"1402222470","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402222468":["hashtag1","hashtag2"]},{"1402222470":["hashtag1","hashtag2"]},{"1402222464":["hashtag1","hashtag2"]},{"1402222475":["hashtag1","hashtag2"]},{"1402222472":["hashtag1","hashtag2"]},{"1402222466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402222468, 1402222470, 1402222464, 1402222475, 1402222472, 1402222466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856839418411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:51:42.692338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_38_2604.jpg', '/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_40_2704.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_02_5655.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_03_1690.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_05_1613.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_22_16844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_38_2604.jpg
/home/pi/Desktop/images/06112025/19/52/image_06112025_19_52_40_2704.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_02_5655.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_03_1690.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_05_1613.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_22_16844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402222703","1402222633","1402222743","1402222668","1402222557","1402222592"],"photo_ids_order":["1402222557","1402222592","1402222633","1402222668","1402222703","1402222743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3bd08988b0472a92c5baf161e5f9f5b3.jpg","text":"TemporaryFile(/tmp/multipartBody8470930421568867919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394364480,"filename":"image_06112025_19_53_05_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/2/ebebe32d0eae1a82d28ef28c804db3bc.jpg","text":"TemporaryFile(/tmp/multipartBody8711468772369091909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394364480,"filename":"image_06112025_19_53_02_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/2/73fb4a89eae2dab957344b3a96cf5c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8783804627942278193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394364480,"filename":"image_06112025_19_53_22_16844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/699ec6a21bbe8a904cd0210518b3fff7.jpg","text":"TemporaryFile(/tmp/multipartBody931151022397697941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394364480,"filename":"image_06112025_19_53_03_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/2/44e715901a4d5ddb74d887e9a136ef6d.jpg","text":"TemporaryFile(/tmp/multipartBody5200447370198932219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394364480,"filename":"image_06112025_19_52_38_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/2/89cc5d2b1e792af5055e4c612fd02c04.jpg","text":"TemporaryFile(/tmp/multipartBody5976336480813590485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394364480,"filename":"image_06112025_19_52_40_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222633","file1":"1402222592","file0":"1402222557","file4":"1402222703","file5":"1402222743","file3":"1402222668"},"map_files_photo_id_array":[{"photo_id":"1402222743","filename":"file5"},{"photo_id":"1402222633","filename":"file2"},{"photo_id":"1402222703","filename":"file4"},{"photo_id":"1402222592","filename":"file1"},{"photo_id":"1402222557","filename":"file0"},{"photo_id":"1402222668","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402222703":["hashtag1","hashtag2"]},{"1402222633":["hashtag1","hashtag2"]},{"1402222743":["hashtag1","hashtag2"]},{"1402222668":["hashtag1","hashtag2"]},{"1402222557":["hashtag1","hashtag2"]},{"1402222592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402222703, 1402222633, 1402222743, 1402222668, 1402222557, 1402222592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32063817977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:52:21.870087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_37_12132.jpg', '/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_44_7743.jpg', '/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_54_9260.jpg', '/home/pi/Desktop/images/02012026/22/58/image_02012026_22_59_04_10809.jpg', '/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_14_9692.jpg', '/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_24_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_37_12132.jpg
/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_44_7743.jpg
/home/pi/Desktop/images/02012026/22/58/image_02012026_22_58_54_9260.jpg
/home/pi/Desktop/images/02012026/22/58/image_02012026_22_59_04_10809.jpg
/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_14_9692.jpg
/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_24_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402222978","1402222939","1402222863","1402223013","1402223051","1402222898"],"photo_ids_order":["1402222863","1402222898","1402222939","1402222978","1402223013","1402223051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d8c2f3a229af1b4620fc6888ff141662.jpg","text":"TemporaryFile(/tmp/multipartBody4588835397424039535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394402477,"filename":"image_02012026_22_59_04_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/2/6e3176c5279141aefb8405ad58bfb97a.jpg","text":"TemporaryFile(/tmp/multipartBody7301279600289996556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394402477,"filename":"image_02012026_22_58_54_9260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/09c190bc784c170abf132c0ade4807ee.jpg","text":"TemporaryFile(/tmp/multipartBody477426417609226271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394402477,"filename":"image_02012026_22_58_37_12132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/437bfa3486e83c87b251912b49cf219f.jpg","text":"TemporaryFile(/tmp/multipartBody7334301510990519215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394402477,"filename":"image_02012026_22_59_14_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/2/55fcaaeea5d281042acc078e05975cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8338618993563946390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394402477,"filename":"image_02012026_22_59_24_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/2/e9256b21ce098bea4bdcab1976823b28.jpg","text":"TemporaryFile(/tmp/multipartBody5225593112765688624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394402477,"filename":"image_02012026_22_58_44_7743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402222939","file1":"1402222898","file0":"1402222863","file4":"1402223013","file5":"1402223051","file3":"1402222978"},"map_files_photo_id_array":[{"photo_id":"1402223051","filename":"file5"},{"photo_id":"1402222939","filename":"file2"},{"photo_id":"1402223013","filename":"file4"},{"photo_id":"1402222898","filename":"file1"},{"photo_id":"1402222863","filename":"file0"},{"photo_id":"1402222978","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402222978":["hashtag1","hashtag2"]},{"1402222939":["hashtag1","hashtag2"]},{"1402222863":["hashtag1","hashtag2"]},{"1402223013":["hashtag1","hashtag2"]},{"1402223051":["hashtag1","hashtag2"]},{"1402222898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402222978, 1402222939, 1402222863, 1402223013, 1402223051, 1402222898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10265636444092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-02 23:53:02.817015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_34_10622.jpg', '/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_44_9662.jpg', '/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_54_9736.jpg', '/home/pi/Desktop/images/02012026/22/59/image_02012026_23_00_04_9640.jpg', '/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_14_10672.jpg', '/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_24_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_34_10622.jpg
/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_44_9662.jpg
/home/pi/Desktop/images/02012026/22/59/image_02012026_22_59_54_9736.jpg
/home/pi/Desktop/images/02012026/22/59/image_02012026_23_00_04_9640.jpg
/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_14_10672.jpg
/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_24_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":["1402223728","1402223730","1402223721","1402223723","1402223726","1402223596"],"photo_ids_order":["1402223596","1402223721","1402223723","1402223726","1402223728","1402223730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/915e2eee8177c8ad2e63f7831ef32474.jpg","text":"TemporaryFile(/tmp/multipartBody7448804863264009379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394443439,"filename":"image_02012026_23_00_14_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/2/c11b1f910a2891ecdd797e4c5cdb8a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2577459722922978786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394443439,"filename":"image_02012026_23_00_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/2/298d3f8be63a92345ba3235c5e1522e1.jpg","text":"TemporaryFile(/tmp/multipartBody4067036636977873139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394443439,"filename":"image_02012026_22_59_44_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/2/2f94d54d6b11e9c5125477d1ff7e7e00.jpg","text":"TemporaryFile(/tmp/multipartBody2850245024830050889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394443439,"filename":"image_02012026_22_59_54_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/2/3da57501a1b90806e710e3444881518d.jpg","text":"TemporaryFile(/tmp/multipartBody8376600244220223227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394443439,"filename":"image_02012026_23_00_04_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/2/1b3edbe7ccd4550e7d4b63d267993909.jpg","text":"TemporaryFile(/tmp/multipartBody7439592863912262043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394443439,"filename":"image_02012026_22_59_34_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402223723","file1":"1402223721","file0":"1402223596","file4":"1402223728","file5":"1402223730","file3":"1402223726"},"map_files_photo_id_array":[{"photo_id":"1402223730","filename":"file5"},{"photo_id":"1402223723","filename":"file2"},{"photo_id":"1402223728","filename":"file4"},{"photo_id":"1402223721","filename":"file1"},{"photo_id":"1402223596","filename":"file0"},{"photo_id":"1402223726","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402223728":["hashtag1","hashtag2"]},{"1402223730":["hashtag1","hashtag2"]},{"1402223721":["hashtag1","hashtag2"]},{"1402223723":["hashtag1","hashtag2"]},{"1402223726":["hashtag1","hashtag2"]},{"1402223596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402223728, 1402223730, 1402223721, 1402223723, 1402223726, 1402223596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00177025794983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:53:42.080395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_23_1666.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_25_1642.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_28_1574.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_30_1824.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_33_1552.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_35_1924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_23_1666.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_25_1642.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_28_1574.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_30_1824.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_33_1552.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_35_1924.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":["1402224156","1402224137","1402224097","1402223921","1402223968","1402224004"],"photo_ids_order":["1402223921","1402223968","1402224004","1402224097","1402224137","1402224156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37a9736ef8c844bbb9dc231fe9b13c14.jpg","text":"TemporaryFile(/tmp/multipartBody2250034449173926394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394484016,"filename":"image_06112025_19_53_35_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/2/c24647c6657d7724222e800539a794fc.jpg","text":"TemporaryFile(/tmp/multipartBody5837039428485574933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394484016,"filename":"image_06112025_19_53_33_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/2/b875e1d6dfb736a365f4a0800b14ed37.jpg","text":"TemporaryFile(/tmp/multipartBody2445448212221793325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394484016,"filename":"image_06112025_19_53_30_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/2/78ac1938df496c48346cdfff5b7c9186.jpg","text":"TemporaryFile(/tmp/multipartBody6978665263134479986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394484016,"filename":"image_06112025_19_53_23_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/2/1fc6a62b22ec0fb3db5d2eeb96b9ea54.jpg","text":"TemporaryFile(/tmp/multipartBody2122950467246071910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394484016,"filename":"image_06112025_19_53_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/2/e690f379bc1488a1c2cf1a7ea520e56e.jpg","text":"TemporaryFile(/tmp/multipartBody3396500682282341764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394484016,"filename":"image_06112025_19_53_28_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402224004","file1":"1402223968","file0":"1402223921","file4":"1402224137","file5":"1402224156","file3":"1402224097"},"map_files_photo_id_array":[{"photo_id":"1402224156","filename":"file5"},{"photo_id":"1402224004","filename":"file2"},{"photo_id":"1402224137","filename":"file4"},{"photo_id":"1402223968","filename":"file1"},{"photo_id":"1402223921","filename":"file0"},{"photo_id":"1402224097","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402224156":["hashtag1","hashtag2"]},{"1402224137":["hashtag1","hashtag2"]},{"1402224097":["hashtag1","hashtag2"]},{"1402223921":["hashtag1","hashtag2"]},{"1402223968":["hashtag1","hashtag2"]},{"1402224004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402224156, 1402224137, 1402224097, 1402223921, 1402223968, 1402224004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.25386619567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:54:32.230700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_37_1669.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_40_1614.jpg', '/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_43_3000.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_01_2774.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_22_14790.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_41_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_37_1669.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_40_1614.jpg
/home/pi/Desktop/images/06112025/19/53/image_06112025_19_53_43_3000.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_01_2774.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_22_14790.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_41_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402224363","1402224362","1402224359","1402224314","1402224361","1402224349"],"photo_ids_order":["1402224314","1402224349","1402224359","1402224361","1402224362","1402224363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cfec16784aa69c1f0038d42de6ef56e3.jpg","text":"TemporaryFile(/tmp/multipartBody5214893618059189687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394534183,"filename":"image_06112025_19_54_41_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/2/5366b7dc657503fb1e7b9cdb072d0f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5991233624454169863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394534183,"filename":"image_06112025_19_54_22_14790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/537e133ea77ee48433bf4589b922c4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1181580728364679160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394534183,"filename":"image_06112025_19_53_43_3000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2f862fb71d0020306ba1d4f7b0631637.jpg","text":"TemporaryFile(/tmp/multipartBody4542707154230161333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394534183,"filename":"image_06112025_19_53_37_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/2/2ebc1e1e7c0f3cba4222549ea71e962a.jpg","text":"TemporaryFile(/tmp/multipartBody2991680722331888110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394534183,"filename":"image_06112025_19_54_01_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/2/65b4ef0388fc6d4ac0a896b7f755ee4a.jpg","text":"TemporaryFile(/tmp/multipartBody5867613175157305026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394534183,"filename":"image_06112025_19_53_40_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402224359","file1":"1402224349","file0":"1402224314","file4":"1402224362","file5":"1402224363","file3":"1402224361"},"map_files_photo_id_array":[{"photo_id":"1402224363","filename":"file5"},{"photo_id":"1402224359","filename":"file2"},{"photo_id":"1402224362","filename":"file4"},{"photo_id":"1402224349","filename":"file1"},{"photo_id":"1402224314","filename":"file0"},{"photo_id":"1402224361","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402224363":["hashtag1","hashtag2"]},{"1402224362":["hashtag1","hashtag2"]},{"1402224359":["hashtag1","hashtag2"]},{"1402224314":["hashtag1","hashtag2"]},{"1402224361":["hashtag1","hashtag2"]},{"1402224349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402224363, 1402224362, 1402224359, 1402224314, 1402224361, 1402224349)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.88169813156128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-02 23:55:22.324392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
  port_id : 29874590
  datou_current_id : 4300614
in upload_from_sqlite, uploading in 29874590
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_44_10710.jpg', '/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_54_9973.jpg', '/home/pi/Desktop/images/02012026/23/00/image_02012026_23_01_04_9680.jpg', '/home/pi/Desktop/images/02012026/23/01/image_02012026_23_01_14_9643.jpg', '/home/pi/Desktop/images/02012026/23/01/image_02012026_23_01_24_10701.jpg', '/home/pi/Desktop/images/02012026/23/01/image_02012026_23_01_34_9515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4300614&datou=0
/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_44_10710.jpg
/home/pi/Desktop/images/02012026/23/00/image_02012026_23_00_54_9973.jpg
/home/pi/Desktop/images/02012026/23/00/image_02012026_23_01_04_9680.jpg
/home/pi/Desktop/images/02012026/23/01/image_02012026_23_01_14_9643.jpg
/home/pi/Desktop/images/02012026/23/01/image_02012026_23_01_24_10701.jpg
/home/pi/Desktop/images/02012026/23/01/image_02012026_23_01_34_9515.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":["1402224618","1402224692","1402224731","1402224533","1402224656","1402224571"],"photo_ids_order":["1402224533","1402224571","1402224618","1402224656","1402224692","1402224731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/1133034f9e22ff4d730c2d564a939905.jpg","text":"TemporaryFile(/tmp/multipartBody3785531237427881658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394582873,"filename":"image_02012026_23_01_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/2/3da3af6404fa8a858f6bbcddfa34bd89.jpg","text":"TemporaryFile(/tmp/multipartBody4557354290999068420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394582873,"filename":"image_02012026_23_01_24_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/2/d96ac6dbbd94b52a1e42945289e67620.jpg","text":"TemporaryFile(/tmp/multipartBody6737134570762364205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394582873,"filename":"image_02012026_23_01_34_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/b4917f17e6c637bffa2387920be942e9.jpg","text":"TemporaryFile(/tmp/multipartBody5409439447221405569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394582873,"filename":"image_02012026_23_00_44_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/2/28bbbe7cd8a56af176f4b5d61bee6674.jpg","text":"TemporaryFile(/tmp/multipartBody8723548462407517147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394582873,"filename":"image_02012026_23_01_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/2/6013f58fd956cae8717a52694d0ad3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7694573037882936026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394582873,"filename":"image_02012026_23_00_54_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402224618","file1":"1402224571","file0":"1402224533","file4":"1402224692","file5":"1402224731","file3":"1402224656"},"map_files_photo_id_array":[{"photo_id":"1402224731","filename":"file5"},{"photo_id":"1402224618","filename":"file2"},{"photo_id":"1402224692","filename":"file4"},{"photo_id":"1402224571","filename":"file1"},{"photo_id":"1402224533","filename":"file0"},{"photo_id":"1402224656","filename":"file3"}],"portfolio_id":29874590,"hashtag_by_photo_ids":[{"1402224618":["hashtag1","hashtag2"]},{"1402224692":["hashtag1","hashtag2"]},{"1402224731":["hashtag1","hashtag2"]},{"1402224533":["hashtag1","hashtag2"]},{"1402224656":["hashtag1","hashtag2"]},{"1402224571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29874590 used, photo_id : ArrayBuffer(1402224618, 1402224692, 1402224731, 1402224533, 1402224656, 1402224571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.15476036071777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:56:15.443703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_43_1893.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_44_1745.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_46_1677.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_51_1661.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_53_1535.jpg', '/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_54_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_43_1893.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_44_1745.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_46_1677.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_51_1661.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_53_1535.jpg
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_54_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402225158","1402225031","1402225195","1402225072","1402224991","1402225114"],"photo_ids_order":["1402224991","1402225031","1402225072","1402225114","1402225158","1402225195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/85d53fc941b8d206cbcc6e1a1020a8af.jpg","text":"TemporaryFile(/tmp/multipartBody1413596527344869595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394640759,"filename":"image_06112025_19_54_53_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/2/0c8fc0b01ef227d0dc45a65f59f4bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody3470309585167173474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394640759,"filename":"image_06112025_19_54_44_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/2/537be7adfc633756a438d487069cd1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6049021189234886252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394640759,"filename":"image_06112025_19_54_54_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/2/4d0e93ad0d000474da7322593d8644ce.jpg","text":"TemporaryFile(/tmp/multipartBody1257559720785681622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394640759,"filename":"image_06112025_19_54_46_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/2/73583400daa020134808d890270eafce.jpg","text":"TemporaryFile(/tmp/multipartBody1604480829203034627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394640759,"filename":"image_06112025_19_54_43_1893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/db45814b55553ac0f97dab97bb7f7d41.jpg","text":"TemporaryFile(/tmp/multipartBody9040239878684909281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394640759,"filename":"image_06112025_19_54_51_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402225072","file1":"1402225031","file0":"1402224991","file4":"1402225158","file5":"1402225195","file3":"1402225114"},"map_files_photo_id_array":[{"photo_id":"1402225195","filename":"file5"},{"photo_id":"1402225072","filename":"file2"},{"photo_id":"1402225158","filename":"file4"},{"photo_id":"1402225031","filename":"file1"},{"photo_id":"1402224991","filename":"file0"},{"photo_id":"1402225114","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402225158":["hashtag1","hashtag2"]},{"1402225031":["hashtag1","hashtag2"]},{"1402225195":["hashtag1","hashtag2"]},{"1402225072":["hashtag1","hashtag2"]},{"1402224991":["hashtag1","hashtag2"]},{"1402225114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402225158, 1402225031, 1402225195, 1402225072, 1402224991, 1402225114)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.65331816673279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-02 23:57:12.565463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251106 ORDER BY id_local ASC LIMIT 6;
  port_id : 28235563
  datou_current_id : 4006570
in upload_from_sqlite, uploading in 28235563
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_58_1680.jpg', '/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_16_1852.jpg', '/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_27_1602.jpg', '/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_32_1717.jpg', '/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_36_1796.jpg', '/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_58_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4006570&datou=0
/home/pi/Desktop/images/06112025/19/54/image_06112025_19_54_58_1680.jpg
/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_16_1852.jpg
/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_27_1602.jpg
/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_32_1717.jpg
/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_36_1796.jpg
/home/pi/Desktop/images/06112025/19/55/image_06112025_19_55_58_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402225560","1402225265","1402225367","1402225268","1402225462","1402225272"],"photo_ids_order":["1402225265","1402225268","1402225272","1402225367","1402225462","1402225560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/cf59e0b444b5e855dcf317e8449d87b7.jpg","text":"TemporaryFile(/tmp/multipartBody8480238713329482327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394695027,"filename":"image_06112025_19_55_58_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/2/89edb8f0b409df5fb4c65d3db9123f8a.jpg","text":"TemporaryFile(/tmp/multipartBody1475011264391345932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394695027,"filename":"image_06112025_19_54_58_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/2/629c802f5293d4e2881a54ddadbf4871.jpg","text":"TemporaryFile(/tmp/multipartBody2344496397938152680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394695027,"filename":"image_06112025_19_55_32_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/2/80247f8b0583c4bb927fa0b3a3d30e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3227377063969455508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394695027,"filename":"image_06112025_19_55_16_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/2/d93a8f2d8d22fc314a0b775ad2817f62.jpg","text":"TemporaryFile(/tmp/multipartBody2086152240234862697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394695027,"filename":"image_06112025_19_55_36_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/2/4644f728ac3408b5afd0d83d679d5d48.jpg","text":"TemporaryFile(/tmp/multipartBody6563219897169677254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767394695027,"filename":"image_06112025_19_55_27_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402225272","file1":"1402225268","file0":"1402225265","file4":"1402225462","file5":"1402225560","file3":"1402225367"},"map_files_photo_id_array":[{"photo_id":"1402225560","filename":"file5"},{"photo_id":"1402225272","filename":"file2"},{"photo_id":"1402225462","filename":"file4"},{"photo_id":"1402225268","filename":"file1"},{"photo_id":"1402225265","filename":"file0"},{"photo_id":"1402225367","filename":"file3"}],"portfolio_id":28235563,"hashtag_by_photo_ids":[{"1402225560":["hashtag1","hashtag2"]},{"1402225265":["hashtag1","hashtag2"]},{"1402225367":["hashtag1","hashtag2"]},{"1402225268":["hashtag1","hashtag2"]},{"1402225462":["hashtag1","hashtag2"]},{"1402225272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28235563 used, photo_id : ArrayBuffer(1402225560, 1402225265, 1402225367, 1402225268, 1402225462, 1402225272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33613419532776 secondes ---
